/* ============================================================
   AZ Transport — Design System v2
   ============================================================ */

:root {
  /* Brand */
  --brand-900: #061a33;
  --brand-800: #092a50;
  --brand-700: #0d3a6b;
  --brand-600: #15528f;
  --brand-500: #1e6bb8;
  --brand-100: #e6eef7;
  --brand-50: #f4f8fc;

  /* Accent albastru */
  --accent-600: #036985;
  --accent-500: #0ea5e9;
  --accent-400: #7dd3fc;
  --accent-100: #dff5ff;

  /* Neutrals */
  --ink-900: #0b1220;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-300: #cbd5e1;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50: #f8fafc;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--white);
  --bg-soft: var(--brand-50);
  --surface: var(--white);
  --border: var(--ink-200);
  --text: var(--ink-900);
  --text-soft: var(--ink-700);
  --text-mute: var(--ink-500);
  --ring: rgba(30, 107, 184, 0.35);

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm:
    0 1px 2px rgba(11, 18, 32, 0.06), 0 1px 3px rgba(11, 18, 32, 0.08);
  --shadow-md:
    0 4px 12px rgba(11, 18, 32, 0.08), 0 2px 4px rgba(11, 18, 32, 0.04);
  --shadow-lg:
    0 12px 32px rgba(11, 18, 32, 0.12), 0 4px 8px rgba(11, 18, 32, 0.06);
  --shadow-xl: 0 24px 64px rgba(11, 18, 32, 0.16);

  /* Layout */
  --container: 1160px;
  --header-h: 72px;

  /* Typography */
  --font-sans:
    "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --fs-h1: clamp(2rem, 1.2rem + 3.2vw, 3.5rem);
  --fs-h2: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --fs-sm: 0.875rem;
  --fs-xs: 0.78rem;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;
}

/* Paleta permanentă a site-ului */
:root {
  --bg: #0a1220;
  --bg-soft: #0e1a2c;
  --surface: #0f1c30;
  --border: #1e2e45;
  --text: #eaf1fb;
  --text-soft: #c3d0e2;
  --text-mute: #8ea0b8;
  --ring: rgba(14, 165, 233, 0.35);
  --brand-50: #0d1a2c;
  --brand-100: #12253d;
}

/* ============================================================
   Reset & base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--link, var(--brand-600));
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a:hover {
  color: var(--accent-600);
}
button {
  font: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-4);
}
h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
}
h2 {
  font-size: var(--fs-h2);
  font-weight: 750;
}
h3 {
  font-size: var(--fs-h3);
  font-weight: 650;
}
p {
  margin: 0 0 var(--s-4);
}
hr {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: var(--s-5) 0;
}

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* ============================================================
   Layout
   ============================================================ */
.section {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(var(--s-6), 5vw, var(--s-9)) clamp(var(--s-4), 4vw, var(--s-6));
}
.section + .section {
  padding-top: 0;
}
.kicker {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: var(--s-3);
}

/* ============================================================
   Header
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  height: var(--header-h);
  padding: 0 clamp(var(--s-4), 4vw, var(--s-6));
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* Nav */
#main-nav {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-left: auto;
}
#main-nav > a,
#main-nav summary {
  position: relative;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-pill);
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
#main-nav > a:hover,
#main-nav summary:hover {
  background: var(--brand-50);
  color: var(--text);
}
#main-nav > a[aria-current="page"],
#main-nav summary[aria-current="page"] {
  color: var(--link, var(--brand-700));
  background: var(--brand-100);
}
#main-nav summary::-webkit-details-marker {
  display: none;
}

.routes-menu {
  position: relative;
}
.routes-panel {
  position: absolute;
  top: calc(100% + var(--s-2));
  left: 0;
  min-width: 260px;
  padding: var(--s-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 2px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.routes-menu[open] .routes-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.routes-panel a {
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  color: var(--text-soft);
  font-size: 0.92rem;
}
.routes-panel a:hover {
  background: var(--brand-50);
  color: var(--link, var(--brand-700));
}

.phone-links {
  display: none;
} /* only in mobile drawer */

/* CTA */
.navcta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 var(--s-5);
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  color: #fff !important;
  font-weight: 650;
  font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease);
}
.navcta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform var(--dur) var(--ease),
    opacity var(--dur) var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(var(--s-7), 7vw, var(--s-10))
    clamp(var(--s-4), 4vw, var(--s-6)) clamp(var(--s-7), 6vw, var(--s-9));
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(var(--s-5), 5vw, var(--s-8));
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto auto;
  width: 60%;
  height: 80%;
  background: radial-gradient(
    circle at 70% 30%,
    color-mix(in srgb, var(--accent-400) 22%, transparent) 0%,
    transparent 60%
  );
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.hero .intro h1 {
  margin-bottom: var(--s-5);
}
.hero .intro h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent-500), var(--accent-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .intro > p {
  color: var(--text-soft);
  max-width: 52ch;
}

.fare {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--s-3) var(--s-4);
  margin: var(--s-4) 0 var(--s-5) !important;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-lg);
}
.fare strong {
  font-size: 1.5rem;
  color: var(--text);
}
.fare span {
  font-size: var(--fs-sm);
  color: var(--text-mute);
}

/* Ticket card */
.ticket {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-0.5deg);
  transition: transform var(--dur) var(--ease);
}
.ticket:hover {
  transform: rotate(0) translateY(-4px);
}
.tickethead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-3) var(--s-4);
  background: linear-gradient(135deg, var(--brand-800), var(--brand-700));
  color: #fff;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.tickethead strong {
  color: var(--accent-400);
}
.ticketroute {
  padding: var(--s-4);
  display: grid;
  gap: var(--s-2);
}
.ticketroute > div {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-md);
  transition: background var(--dur) var(--ease);
}
.ticketroute > div:hover {
  background: var(--brand-50);
}
.ticketroute span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  background: var(--brand-100);
  color: var(--link, var(--brand-700));
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.ticketroute strong {
  font-weight: 600;
}
.ticketfoot {
  padding: var(--s-3) var(--s-4);
  background: var(--brand-50);
  border-top: 1px dashed var(--border);
  font-size: var(--fs-sm);
  color: var(--text-soft);
  display: flex;
  justify-content: space-between;
}
.ticketfoot b {
  color: var(--accent-600);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 0 var(--s-6);
  border: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  color: #fff !important;
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
}
.btn:active {
  transform: translateY(0);
}

.route-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 600;
  color: var(--link, var(--brand-600));
  font-size: 0.95rem;
}
.route-link::after {
  content: "→";
  transition: transform var(--dur) var(--ease);
}
.route-link:hover::after {
  transform: translateX(3px);
}

/* ============================================================
   Route intro / cards
   ============================================================ */
.route-intro {
  text-align: center;
  padding-block: clamp(var(--s-7), 6vw, var(--s-9));
}
.route-intro p {
  max-width: 60ch;
  margin-inline: auto;
  color: var(--text-soft);
}
.route-intro .btn {
  margin-top: var(--s-4);
}

.stops {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-6);
}
.stops article {
  position: relative;
  padding: var(--s-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.stops article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-100);
}
.stops article h3 {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
  color: var(--text);
}
.stops article h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-500);
  box-shadow: 0 0 0 4px var(--accent-100);
}
.stops p {
  color: var(--text-soft);
}
.stops .route-link {
  margin-top: var(--s-3);
  margin-right: var(--s-3);
}

/* City buttons (inline) */
.city {
  background: none;
  border: 0;
  padding: 0;
  color: var(--link, var(--brand-600));
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--brand-600) 30%, transparent);
  text-underline-offset: 3px;
  transition:
    color var(--dur) var(--ease),
    text-decoration-color var(--dur) var(--ease);
}
.city:hover {
  color: var(--accent-600);
  text-decoration-color: var(--accent-500);
}
.city.county {
  font-weight: 700;
}

/* ============================================================
   Story / content
   ============================================================ */
.story {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 2fr;
  gap: clamp(var(--s-5), 5vw, var(--s-8));
  align-items: start;
  padding-block: clamp(var(--s-6), 5vw, var(--s-8));
}
.story > h2 {
  margin: 0;
  position: sticky;
  top: calc(var(--header-h) + var(--s-4));
}
.story > div {
  display: grid;
  gap: var(--s-5);
}
.story h3 {
  color: var(--text);
  margin-bottom: var(--s-2);
}
.story p {
  color: var(--text-soft);
}

/* ============================================================
   Pickup CTA
   ============================================================ */
.pickup-wrap {
  padding-block: var(--s-6);
}
.pickup-cta {
  padding: clamp(var(--s-5), 4vw, var(--s-7));
  background:
    radial-gradient(
      circle at 100% 0%,
      color-mix(in srgb, var(--accent-400) 20%, transparent),
      transparent 50%
    ),
    linear-gradient(135deg, var(--brand-800), var(--brand-700));
  border-radius: var(--r-xl);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.pickup-cta h3 {
  color: #fff;
}
.pickup-cta p {
  color: color-mix(in srgb, #fff 82%, transparent);
  max-width: 60ch;
}
.pickup-cta .btn {
  background: var(--accent-500);
  color: var(--brand-900) !important;
  margin-top: var(--s-3);
}
.pickup-cta .btn:hover {
  background: var(--accent-400);
}

/* ============================================================
   FAQ
   ============================================================ */
.questions {
  padding-block: clamp(var(--s-6), 5vw, var(--s-8));
}
.questions details {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  margin-bottom: var(--s-3);
  overflow: hidden;
  transition:
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.questions details[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-100);
}
.questions summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-4) var(--s-5);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
}
.questions summary::-webkit-details-marker {
  display: none;
}
.questions summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--link, var(--brand-600));
  transition: transform var(--dur) var(--ease);
}
.questions details[open] summary::after {
  transform: rotate(45deg);
}
.questions details p {
  padding: 0 var(--s-5) var(--s-5);
  margin: 0;
  color: var(--text-soft);
}

/* ============================================================
   Booking form
   ============================================================ */
.booking {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(var(--s-5), 5vw, var(--s-8));
  align-items: start;
  padding-block: clamp(var(--s-7), 6vw, var(--s-9));
}
.booking > div h2 {
  margin-bottom: var(--s-3);
}
.booking > div p {
  color: var(--text-soft);
}

.booking form {
  display: grid;
  gap: var(--s-4);
  padding: clamp(var(--s-5), 4vw, var(--s-6));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}
.booking label {
  display: grid;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-soft);
}
.booking input,
.booking select,
.booking textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 var(--s-4);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease);
}
.booking textarea {
  padding: var(--s-3) var(--s-4);
  resize: vertical;
  min-height: 80px;
}
.booking input:focus,
.booking select:focus,
.booking textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--ring);
}
.booking input:user-invalid {
  border-color: #ef4444;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

.booking .btn {
  width: 100%;
}

.note {
  font-size: var(--fs-xs);
  color: var(--text-mute);
  margin: 0;
}
.privacy-link {
  color: var(--link, var(--brand-600));
  text-decoration: underline;
}

/* ============================================================
   Journey / route body
   ============================================================ */
.journey {
  padding-block: var(--s-6);
}
.journey ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0 0;
}
.journey ol a {
  display: inline-flex;
  align-items: center;
  padding: var(--s-2) var(--s-4);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.92rem;
}
.journey ol a:hover {
  background: var(--brand-100);
}

.route-body details {
  margin-bottom: var(--s-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
}
.route-body summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-3) var(--s-4);
  font-weight: 600;
  background: var(--brand-50);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.route-body summary::-webkit-details-marker {
  display: none;
}
.route-body summary::after {
  content: "▾";
  color: var(--link, var(--brand-600));
  transition: transform var(--dur);
}
.route-body details[open] summary::after {
  transform: rotate(180deg);
}
.cities {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  padding: var(--s-4);
}
.cities .city {
  padding: var(--s-2) var(--s-3);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--link, var(--brand-700));
}
.cities .city:hover {
  background: var(--brand-100);
  color: var(--text);
}

.county-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
  margin-bottom: var(--s-3);
}
.county-row .county {
  padding: var(--s-2) var(--s-4);
  background: var(--brand-800);
  color: #fff;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}
.county-row .county:hover {
  background: var(--brand-700);
  color: #fff;
}

/* Directions nav */
.directions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
  margin-top: var(--s-5);
}

/* Contact status */
.contact-status {
  padding: var(--s-4) var(--s-5);
  background: var(--accent-100);
  border-left: 4px solid var(--accent-500);
  border-radius: var(--r-md);
  color: var(--ink-900);
  font-weight: 500;
}

/* ============================================================
   Legal copy
   ============================================================ */
.legal-copy {
  max-width: 72ch;
}
.legal-copy h2 {
  margin-top: var(--s-6);
}
.legal-copy p {
  color: var(--text-soft);
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  margin-top: var(--s-8);
  padding: var(--s-7) clamp(var(--s-4), 4vw, var(--s-6)) var(--s-6);
  background: var(--brand-900);
  color: color-mix(in srgb, #fff 82%, transparent);
  display: grid;
  gap: var(--s-5);
  max-width: 100%;
}
footer > strong {
  display: block;
  max-width: var(--container);
  margin-inline: auto;
  color: #fff;
  font-size: 1.1rem;
  width: 100%;
}
footer nav,
footer .policy-links {
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
}
footer a {
  color: color-mix(in srgb, #fff 78%, transparent);
  font-size: 0.92rem;
  padding: var(--s-1) 0;
}
footer a:hover {
  color: var(--accent-400);
}
footer a[aria-current="page"] {
  color: #fff;
  font-weight: 600;
}
footer .policy-links {
  padding-top: var(--s-4);
  border-top: 1px solid color-mix(in srgb, #fff 12%, transparent);
  font-size: var(--fs-xs);
}

/* ============================================================
   Quick contact (floating)
   ============================================================ */
.quick-contact {
  position: fixed;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  z-index: 40;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}
.quick-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px clamp(8px, 2vw, 16px);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-md);
  font-weight: 600;
  font-size: 0.88rem;
  pointer-events: auto;
}
.quick-contact a svg {
  width: 18px;
  height: 18px;
}
.quick-contact a[data-channel="call"]:hover {
  background: var(--brand-600);
  color: #fff;
}
.quick-contact a[data-channel="whatsapp"]:hover {
  background: #25d366;
  color: #fff;
}

/* ============================================================
   Dialog
   ============================================================ */
dialog#city-contact {
  border: 0;
  border-radius: var(--r-xl);
  padding: var(--s-6);
  max-width: 420px;
  width: calc(100% - var(--s-6));
  box-shadow: var(--shadow-xl);
  background: var(--surface);
  color: var(--text);
}
dialog#city-contact::backdrop {
  background: rgba(6, 26, 51, 0.55);
  backdrop-filter: blur(4px);
}
dialog#city-contact .dismiss {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--brand-50);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-soft);
}
dialog#city-contact .actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2);
  margin: var(--s-4) 0;
}
dialog#city-contact .actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 44px;
  border-radius: var(--r-md);
  font-weight: 600;
  background: var(--brand-50);
  color: var(--link, var(--brand-700));
}
dialog#city-contact .actions a[data-channel="whatsapp"] {
  background: #dcf8ec;
  color: #128c4a;
}
dialog#city-contact .actions svg {
  width: 18px;
  height: 18px;
}
dialog#city-contact small {
  color: var(--text-mute);
  font-size: var(--fs-xs);
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal-pending {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 600ms var(--ease),
    transform 600ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .story {
    grid-template-columns: 1fr;
  }
  .story > h2 {
    position: static;
  }
  .booking {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }
  .navcta {
    display: inline-flex;
  }

  #main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    margin: 0;
    padding: var(--s-5) var(--s-4) var(--s-8);
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-1);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 280ms var(--ease);
    z-index: 45;
  }
  #main-nav.is-open {
    transform: none;
  }
  #main-nav > a,
  #main-nav summary {
    padding: var(--s-3) var(--s-4);
    font-size: 1rem;
    border-radius: var(--r-md);
  }
  .routes-panel {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 var(--s-4);
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .phone-links {
    display: grid;
    gap: var(--s-1);
    margin-top: var(--s-4);
    padding-top: var(--s-4);
    border-top: 1px solid var(--border);
  }
  .phone-links strong {
    font-size: var(--fs-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-mute);
    padding: var(--s-2) var(--s-4);
  }
  .phone-links a {
    padding: var(--s-2) var(--s-4);
    border-radius: var(--r-md);
    color: var(--text-soft);
    font-size: 0.95rem;
  }
  .phone-links a[aria-current="page"] {
    background: var(--brand-100);
    color: var(--link, var(--brand-700));
  }
}

@media (max-width: 560px) {
  .pair {
    grid-template-columns: 1fr;
  }
}
html {
  scroll-padding-top: calc(var(--header-h) + 12px);
}
.hero {
  isolation: isolate;
  overflow: clip;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.benefits span {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 12px;
}
:root {
  color-scheme: dark;
  --link: #97d9ff;
  --accent-600: #73d0f9;
}
:root .hero h1 em {
  background-image: linear-gradient(120deg, #9ce5ff, #53beef);
}
header summary,
.stops h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}
footer {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}
body.navigation-open {
  overflow: hidden;
}
@media (max-width: 960px) {
  #main-nav {
    height: calc(100dvh - var(--header-h));
    visibility: hidden;
  }
  #main-nav.is-open {
    visibility: visible;
  }
  #main-nav > a,
  #main-nav > details {
    display: none;
  }
  header {
    gap: 8px;
  }
  header .navcta {
    padding-inline: 12px;
    white-space: nowrap;
  }
  .phone-links {
    margin: 0;
    padding: 0;
    border: 0;
  }
}
@media (max-width: 560px) {
  header {
    padding-inline: 8px;
  }
  .logo {
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.booking,
.booking form,
.booking label,
.pair {
  min-width: 0;
}
.booking input,
.booking select,
.booking textarea {
  min-width: 0;
  max-width: 100%;
  font-size: 16px;
}
.booking input,
.booking select {
  height: 48px;
}
.booking input[type="date"] {
  display: block;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  text-align: left;
}
.booking input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
  margin: 0;
}
@media (min-width: 561px) {
  .pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.contact-status {
  display: grid;
  gap: 8px;
  background: var(--surface);
  color: var(--text);
  overflow-wrap: anywhere;
}
.contact-status a {
  justify-self: start;
}
.quick-contact a {
  width: 52px;
  height: 52px;
  min-height: 52px;
  flex: 0 0 52px;
  padding: 0;
  border-radius: 50%;
  color: white;
  border: 1px solid #ffffff50;
}
.quick-contact a[data-channel="call"] {
  background: #13609b;
}
.quick-contact a[data-channel="whatsapp"],
.quick-contact a[data-channel="whatsapp"]:hover {
  background: #087346;
}
.quick-contact a svg {
  width: 24px;
  height: 24px;
}
@keyframes contact-arrive {
  from {
    opacity: 0.7;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .quick-contact a {
    animation: contact-arrive 0.4s ease-out;
    transition: transform 0.18s ease;
  }
  .quick-contact a:is(:hover, :focus-visible) {
    transform: translateY(-2px);
  }
}

header .logo {
  min-width: 0;
  flex: 0 1 auto;
  height: calc(var(--header-h) - 4px);
}
header .logo img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
@media (max-width: 560px) {
  header .navcta,
  header .menu-toggle {
    flex-shrink: 0;
  }
}
