/* AiMi Global Travel — public site styles (teal brand, same house fonts as the test app) */
:root {
  --teal: #0A4E50;
  --teal-2: #0E5C5E;
  --teal-mid: #146E70;
  --teal-bright: #1A8A86;
  --teal-soft: #D8EDEC;
  --wash: #EAF4F2;
  --mist: #C5E0DC;
  --paper: #F7F4EF;
  --cream: #F3EEE6;
  --sand: #E4DCD1;
  --line: #D5CCC0;
  --ink: #1B2C2D;
  --muted: #4F5F60;
  --muted-2: #6A7879;
  --amber: #C9843A;
  --amber-dark: #9A6328;
  --amber-soft: #F4E6CF;
  --aimi-purple: #6E4578;
  --white: #ffffff;
  --danger: #8B3A2A;
  --shadow: 0 10px 28px rgba(10, 78, 80, 0.10);
  --shadow-sm: 0 4px 14px rgba(10, 78, 80, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font: "Atkinson Hyperlegible", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 430px;
  --pad: 20px;
  --header-h: 58px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1200px 480px at 50% -80px, #cfe8e5 0%, var(--wash) 48%, #e4ece8 100%);
  min-height: 100vh;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-mid); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--teal);
  margin: 0 0 0.45em;
}
h1 { font-size: 2.05rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 var(--pad);
}

.ribbon {
  background: var(--teal);
  color: #D8EDEC;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 12px;
  font-weight: 700;
}
.ribbon strong { color: #F7F4EF; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand);
}
.header-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 12px 0 16px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--teal);
  min-width: 0;
}
.logo-mark { width: 34px; height: 34px; flex: 0 0 34px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.logo-text span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-top: 2px;
}
.menu-btn {
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--teal);
}
.menu-btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.menu-btn svg { width: 22px; height: 22px; }

.nav-drawer {
  display: none;
  background: var(--paper);
  border-bottom: 1px solid var(--sand);
}
.nav-drawer.open { display: block; }
.nav-drawer nav {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 6px 12px 16px;
  display: grid;
  gap: 2px;
}
.nav-drawer a {
  display: block;
  text-decoration: none;
  color: var(--teal);
  font-weight: 700;
  padding: 12px 10px;
  border-radius: 10px;
}
.nav-drawer a:hover,
.nav-drawer a[aria-current="page"] { background: var(--teal-soft); color: var(--teal); }
.nav-drawer a.nav-cta {
  background: var(--teal);
  color: var(--paper);
  text-align: center;
  margin-top: 8px;
}
.nav-drawer a.nav-cta:hover { background: var(--teal-2); color: var(--paper); }

.hero {
  padding: 28px 0 10px;
}
.eyebrow, .kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin: 0 0 8px;
}
.lead, .tagline-lead {
  font-size: 1.05rem;
  color: var(--muted);
}
.hero .lead { margin-bottom: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 2px solid transparent;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  width: 100%;
}
.btn-primary {
  background: var(--teal);
  color: var(--paper);
  border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-2); color: var(--paper); }
.btn-secondary {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-secondary:hover { background: var(--teal-soft); color: var(--teal); }
.btn-row {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.btn-row.two { grid-template-columns: 1fr 1fr; }
.btn[disabled], .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.section { padding: 28px 0 40px; }
.section.tight { padding: 8px 0 56px; }

.card {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px 18px 16px;
}
.card + .card { margin-top: 12px; }

.badge-example {
  display: inline-block;
  background: var(--amber-soft);
  color: var(--amber-dark);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.notice {
  background: var(--teal-soft);
  border: 1px solid var(--mist);
  color: var(--teal);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.98rem;
  margin: 0 0 16px;
}
.notice strong { color: var(--teal); }
.notice.amber {
  background: var(--amber-soft);
  border-color: #e6d0a8;
  color: #5c3d16;
}

.ask-list { display: grid; gap: 12px; margin-top: 16px; }
.ask-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 14px 14px 14px 12px;
  box-shadow: var(--shadow-sm);
}
.ask-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}
.ask-item h3 { margin-bottom: 4px; font-size: 1.08rem; }
.ask-item p { color: var(--muted); font-size: 0.98rem; }

.tile-grid { display: grid; gap: 12px; margin-top: 16px; }
.tile {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  display: block;
}
.tile:hover { border-color: var(--mist); }
.tile h3 { margin-bottom: 6px; }
.tile p { color: var(--muted); }

.hero-art {
  margin: 22px 0 8px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--sand);
  background: var(--teal);
  box-shadow: var(--shadow);
}
.hero-art svg { width: 100%; height: auto; display: block; }
.hero-art-caption {
  background: var(--teal-2);
  color: #dceeed;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px 10px;
}

/* Forms */
.form-card { padding: 18px; }
.form-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field .label {
  font-weight: 700;
  color: var(--teal);
}
.hint { font-size: 0.92rem; color: var(--muted); }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--white);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--teal-mid);
  box-shadow: 0 0 0 3px rgba(26, 138, 134, 0.18);
  outline: none;
}

.choice-row { display: grid; gap: 8px; }
.choice-row.two { grid-template-columns: 1fr 1fr; }
.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 12px 12px;
  min-height: 52px;
  cursor: pointer;
  font-weight: 700;
  color: var(--teal);
}
.choice:has(input:checked) {
  border-color: var(--teal);
  background: var(--wash);
  box-shadow: 0 0 0 3px rgba(10, 78, 80, 0.08);
}
.choice input { width: 20px; height: 20px; accent-color: var(--teal); flex: 0 0 20px; }
.choice span { flex: 1; }

/* Planner steps */
.progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
}
.progress-bar {
  flex: 1;
  height: 8px;
  background: var(--sand);
  border-radius: 99px;
  overflow: hidden;
}
.progress-bar > span {
  display: block;
  height: 100%;
  background: var(--teal-mid);
  border-radius: 99px;
  width: 25%;
}
.progress-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
}
.step-panel[hidden] { display: none !important; }
.step-error {
  color: var(--danger);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 10px;
}

/* Itinerary ticket / timeline */
.ticket {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 0 0 16px;
}
.ticket-head {
  background: var(--teal);
  color: var(--paper);
  padding: 16px 18px 14px;
}
.ticket-head h2, .ticket-head h3 { color: var(--paper); margin: 0 0 4px; }
.ticket-head p { color: #d5ecea; }
.ticket-route {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}
.ticket-route .city {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}
.ticket-route .via {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9e4e1;
  text-align: center;
  flex: 1;
}
.ticket-body { padding: 16px 18px 18px; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--mist);
  border-radius: 99px;
}
.timeline li {
  position: relative;
  padding: 0 0 20px 44px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline .dot {
  position: absolute;
  left: 7px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--teal);
}
.timeline .dot.amber {
  background: var(--amber);
  box-shadow: 0 0 0 2px var(--amber);
}
.timeline h3 { margin-bottom: 4px; }
.timeline p { color: var(--muted); }
.meta {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal-mid);
  margin-bottom: 4px;
}

.dl-recap {
  display: grid;
  gap: 8px;
  margin: 0;
}
.dl-recap div {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--sand);
}
.dl-recap div:last-child { border-bottom: 0; }
.dl-recap dt { color: var(--muted); font-weight: 700; font-size: 0.92rem; }
.dl-recap dd { margin: 0; }

/* Agent cards */
.agent-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
}
.agent-mark { width: 64px; height: 64px; }
.search-bar { margin: 0 0 16px; }
.empty-state {
  text-align: left;
  padding: 16px;
  background: var(--wash);
  border-radius: 14px;
  color: var(--teal);
}

/* Updates timeline after booking */
.update {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 14px 16px;
  margin: 0 0 10px;
}
.update .when { font-size: 0.88rem; font-weight: 700; color: var(--teal-mid); margin-bottom: 4px; }
.update h3 { font-size: 1.05rem; margin-bottom: 4px; }

.advice-list { display: grid; gap: 10px; margin: 16px 0 0; }
.advice-list article {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 14px;
  padding: 14px 16px;
}
.advice-list h3 { font-size: 1.05rem; }

.cta-band {
  background: var(--teal);
  color: #dceeed;
  padding: 32px 0;
  margin-top: 8px;
}
.cta-band h2 { color: var(--paper); }
.cta-band .kicker { color: #E8C99A; }
.cta-band p { color: #d5ecea; }
.cta-band .btn-primary {
  background: var(--paper);
  color: var(--teal);
  border-color: var(--paper);
  margin-top: 8px;
}
.cta-band .btn-primary:hover { background: var(--amber-soft); color: var(--teal); border-color: var(--amber-soft); }

.site-footer {
  background: #083c3e;
  color: #c9dedc;
  padding: 32px 0 40px;
}
.site-footer .wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 4px;
}
.footer-tagline { color: #b9d4d2; margin-bottom: 12px; }
.company {
  /* Soft AiMi purple — the only family-colour touch, kept small in the footer */
  color: #c9b0d0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.site-footer nav {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}
.site-footer nav a { color: #dceeed; text-decoration: none; font-weight: 700; }
.site-footer nav a:hover { color: var(--amber-soft); }
.fineprint {
  font-size: 0.85rem;
  color: #9bb8b6;
  line-height: 1.5;
}

.steps { display: grid; gap: 12px; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber-dark);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.install-help {
  background: var(--paper);
  border-bottom: 1px solid var(--sand);
  padding: 12px 16px 16px;
}
.install-help p { margin: 0 0 10px; font-size: 1rem; color: var(--ink); }
.install-steps {
  margin: 0 0 10px;
  padding: 0 0 0 1.25em;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}
.install-steps li { margin: 0 0 6px; }
.install-steps li:last-child { margin-bottom: 0; }
.install-help.show-steps .install-steps {
  outline: 2px solid var(--teal);
  outline-offset: 6px;
  border-radius: 8px;
}
.install-help-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.install-help .btn { min-height: 48px; padding: 0 18px; font-size: 1rem; width: auto; min-width: 8.5em; }


.badge-soon {
  display: inline-block;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.install-help .install-lead {
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 8px;
}
