/* ==========================================================================
   Babbu Tour & Travel — Design tokens & shared styles
   Edit tokens in :root to change the whole site's look from one place.
   ========================================================================== */

/* Self-hosted — no request ever leaves this domain for typography.
   Both are variable fonts; one file per subset covers the full weight range used on the site. */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url('../fonts/spacegrotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url('../fonts/spacegrotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand colors */
  --blue: #021F94;         /* Imperial Blue — accent + dark section backgrounds */
  --blue-soft: #12309E;    /* lighter tonal variant — card surfaces on blue sections, hover */
  --blue-deep: #010F4A;    /* darker tonal variant — footer, chrome overlays */
  --white-c: #F5F2F3;      /* White Convolvulus — primary background + text/symbols on blue */
  --black: #000000;        /* main text on White Convolvulus */

  /* Semantic */
  --bg-dark: var(--blue);
  --bg-dark-card: var(--blue-soft);
  --bg-light: var(--white-c);
  --bg-light-card: #FFFFFF;
  --text-on-dark: var(--white-c);
  --text-on-dark-muted: rgba(245, 242, 243, 0.70);
  --text-on-light: var(--black);
  --text-on-light-muted: rgba(0, 0, 0, 0.62);
  --line-on-dark: rgba(245, 242, 243, 0.14);
  --line-on-light: rgba(0, 0, 0, 0.10);
  --accent: var(--blue);
  --accent-contrast: var(--white-c);
  --brand: var(--blue);

  /* Type */
  --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing (8pt rhythm) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  /* Radii / shadow / motion */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 12px 32px rgba(1,15,74,0.14);
  --shadow-card-dark: 0 16px 40px rgba(1,15,74,0.45);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med: 320ms;

  --container: 1240px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  font-family: var(--font-body);
  background: var(--bg-light);
  color: var(--text-on-light);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible, .mobile-menu :focus-visible,
.site-footer :focus-visible, .mobile-call-bar :focus-visible { outline-color: var(--white-c); }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--space-3); }
@media (min-width: 768px) { .container { padding-inline: var(--space-5); } }
.section { padding-block: var(--space-7); }
@media (max-width: 767px) { .section { padding-block: var(--space-6); } }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section--light { background: var(--bg-light); color: var(--text-on-light); }
.section--tint { background: rgba(2,31,148,0.09); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--space-2);
}
.section--dark .eyebrow { color: var(--white-c); }
.eyebrow::before { content: ''; width: 20px; height: 2px; background: currentColor; display: inline-block; }

/* Hero eyebrow: liquid-glass floating badge */
.hero .eyebrow {
  padding: 11px 20px 11px 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(2,31,148,0.06));
  border: 1px solid rgba(2,31,148,0.16);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 10px 28px rgba(1,15,74,0.10), inset 0 1px 0 rgba(255,255,255,0.65);
}
.hero .eyebrow::before { display: none; }
.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: var(--space-2); text-wrap: balance; }
.section-lede { font-size: clamp(16px, 2vw, 18px); max-width: 62ch; color: var(--text-on-light-muted); text-wrap: pretty; }
.section--dark .section-lede { color: var(--text-on-dark-muted); }
.section-head { margin-bottom: var(--space-5); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--blue); color: var(--white-c); padding: 12px 20px;
  border-radius: var(--radius-sm); font-weight: 600; transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  border: 2px solid transparent; appearance: none; background: none; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  min-height: 48px;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-spinner { display: none; width: 18px; height: 18px; animation: btn-spin 0.7s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading .btn-label,
.btn.is-loading svg:not(.btn-spinner) { display: none; }
.btn.is-loading .btn-spinner { display: inline-block; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn-spinner { animation-duration: 1.4s; } }
.btn-primary { background: var(--blue); color: var(--white-c); }
.btn-primary:hover { background: var(--blue-soft); box-shadow: 0 8px 24px rgba(2,31,148,0.35); }
.btn-call {
  background: var(--white-c); color: var(--blue); border-color: var(--white-c);
}
.btn-call:hover { background: rgba(245,242,243,0.85); border-color: rgba(245,242,243,0.85); }
/* Primary buttons sitting on Imperial Blue chrome/cards need the inverse (white-filled) treatment */
.mobile-menu .btn-primary, .mobile-call-bar .btn-primary, .price-card--cta .btn-primary {
  background: var(--white-c); color: var(--blue);
}
.mobile-menu .btn-primary:hover, .mobile-call-bar .btn-primary:hover, .price-card--cta .btn-primary:hover {
  background: rgba(245,242,243,0.85); box-shadow: 0 8px 24px rgba(1,15,74,0.35);
}
.btn-ghost-dark { background: transparent; border-color: rgba(245,242,243,0.35); color: var(--white-c); }
.btn-ghost-dark:hover { border-color: var(--white-c); background: rgba(245,242,243,0.08); }
.btn-ghost-light { border-color: rgba(2,31,148,0.3); color: var(--blue); }
.btn-ghost-light:hover { border-color: var(--blue); background: rgba(2,31,148,0.05); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(2,31,148,0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-on-dark);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: var(--space-3);
}
.nav-brand { display: flex; align-items: center; height: 100%; flex-shrink: 0; }
.nav-brand img { height: 42px; width: auto; }
.nav-links { display: none; align-items: center; gap: var(--space-4); }
.nav-links a {
  font-family: var(--font-head); font-size: 15px; font-weight: 500;
  color: var(--text-on-dark-muted); position: relative; padding-block: 4px;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white-c); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--white-c); transition: right var(--dur-med) var(--ease-out);
}
.nav-links a:hover::after { right: 0; }
.nav-right { display: flex; align-items: center; gap: var(--space-2); }
.lang-switch {
  display: flex; align-items: center; gap: 2px; background: rgba(245,242,243,0.08);
  border: 1px solid var(--line-on-dark); border-radius: var(--radius-pill); padding: 4px;
}
.lang-switch a {
  font-family: var(--font-head); font-size: 13px; font-weight: 600; padding: 6px 11px;
  border-radius: var(--radius-pill); color: var(--text-on-dark-muted);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.lang-switch a[aria-current="true"] { background: var(--white-c); color: var(--blue); }
.lang-switch a:not([aria-current="true"]):hover { color: var(--white-c); }
.nav-call { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid var(--line-on-dark); color: var(--white-c);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  position: fixed; inset: 76px 0 0 0; z-index: 99;
  background: var(--blue); overflow-y: auto;
  transform: translateX(100%); transition: transform var(--dur-med) var(--ease-out);
  padding: var(--space-4) var(--space-3) var(--space-6);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a:not(.btn) {
  display: block; font-family: var(--font-head); font-size: 22px; font-weight: 600;
  color: var(--white-c); padding: 16px 4px; border-bottom: 1px solid var(--line-on-dark);
}
.mobile-menu .btn { margin-top: var(--space-4); }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-call { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--white-c); color: var(--black);
  padding-top: var(--space-7); padding-bottom: var(--space-6);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(2,31,148,0.07), transparent 70%),
    radial-gradient(45% 40% at 5% 100%, rgba(2,31,148,0.05), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; gap: var(--space-6); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
@media (max-width: 899px) { .hero-visual { max-width: 300px; } }
.hero-copy { position: relative; z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: hero-rise 0.7s var(--ease-out) both; }
  .hero-copy > *:nth-child(1) { animation-delay: 0.02s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.10s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.18s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.26s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.34s; }
  .hero-visual { animation: hero-rise 0.9s var(--ease-out) 0.15s both; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero-title { font-size: clamp(34px, 6vw, 60px); margin-bottom: var(--space-3); text-wrap: balance; }
.hero-title .accent { color: var(--blue); }
.hero-sub { font-size: clamp(17px, 2.4vw, 20px); color: var(--text-on-light-muted); max-width: 56ch; margin-bottom: var(--space-4); text-wrap: pretty; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: var(--space-5); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(2,31,148,0.05); border: 1px solid var(--line-on-light);
  padding: 9px 16px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 500;
  color: var(--text-on-light-muted);
}
.trust-pill svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; }

/* Hero visual: rotating seal + luggage-tag motif */
.hero-visual {
  position: relative; z-index: 1; aspect-ratio: 1 / 1; max-width: 420px; margin-inline: auto;
  display: flex; align-items: center; justify-content: center;
}
.hero-dotgrid {
  position: absolute; inset: 0; border-radius: var(--radius-lg);
  background-image: radial-gradient(rgba(2,31,148,0.14) 1px, transparent 1px);
  background-size: 26px 26px;
}

.seal-ring { width: 68%; aspect-ratio: 1 / 1; border-radius: 50%; position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
.seal-ticks { position: absolute; inset: 0; border-radius: 50%; animation: spin-seal 9s linear infinite; }
.seal-ticks::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(rgba(2,31,148,0.55) 0deg 2deg, transparent 2deg 12deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
}
@keyframes spin-seal { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal-ticks { animation: none; } }

.seal-inner {
  width: 78%; aspect-ratio: 1 / 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--blue-soft), var(--blue) 70%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 26px rgba(1,15,74,0.32), inset 0 0 0 3px rgba(245,242,243,0.25);
}
.seal-inner img { width: 44%; height: auto; }

.tag-mini { position: absolute; z-index: 2; width: 30%; top: 6%; right: -4%; transform: rotate(-11deg); }
.tag-mini-string { display: block; width: 100%; height: 14px; overflow: visible; }
.tag-mini-card {
  position: relative; background: linear-gradient(160deg, var(--white-c), #E4E2E8);
  border-radius: 8px; padding: 22% 12% 12%; color: var(--blue);
  box-shadow: 0 12px 22px rgba(1,15,74,0.28);
}
.tag-mini-hole {
  position: absolute; top: 9%; left: 10%; width: 12%; height: 12%; border-radius: 50%;
  background: var(--white-c); box-shadow: inset 0 0 0 2px rgba(2,31,148,0.6);
}
.tag-mini-route { font-family: var(--font-head); font-size: clamp(11px, 2.6vw, 15px); font-weight: 700; margin: 0 0 4%; text-align: center; }
.tag-mini-dash { border-top: 1px dashed rgba(2,31,148,0.25); margin: 6% 0 5%; }
.tag-mini-sub { font-size: clamp(6.5px, 1.4vw, 8px); font-weight: 600; opacity: 0.6; letter-spacing: 0.04em; text-transform: uppercase; text-align: center; }

/* ---------- Coverage / route strip ---------- */
.coverage {
  background: rgba(2,31,148,0.09); color: var(--black);
  padding-block: var(--space-4);
  border-top: 1px solid var(--line-on-light); border-bottom: 1px solid var(--line-on-light);
}
.coverage-label { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-on-light-muted); margin-bottom: var(--space-3); text-align: center; }
.coverage-track { position: relative; overflow-x: auto; padding-bottom: 4px; }
.coverage-line { position: relative; display: flex; align-items: center; width: max-content; min-width: max-content; margin-inline: auto; gap: 0; padding-inline: var(--space-2); }
.coverage-line::before {
  content: ''; position: absolute; left: 24px; right: 24px; top: 50%; height: 2px;
  background: linear-gradient(90deg, rgba(2,31,148,0.2), var(--blue) 50%, rgba(2,31,148,0.2));
  transform: translateY(-50%); transform-origin: left center;
  scale: 0 1; transition: scale 1.4s var(--ease-out);
}
.coverage-line.is-drawn::before { scale: 1 1; }
.coverage-stop { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-inline: 28px; position: relative; z-index: 1; opacity: 0; transform: translateY(8px); transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out); }
.coverage-stop.is-in { opacity: 1; transform: translateY(0); }
.coverage-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 3px solid var(--white-c); box-shadow: 0 0 0 2px var(--blue); }
.coverage-stop--home .coverage-dot { width: 14px; height: 14px; }
.coverage-city { font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--blue); }

/* ---------- Services ---------- */
.services-grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: var(--bg-light-card); border: 1px solid var(--line-on-light);
  border-radius: var(--radius-lg); padding: var(--space-4);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
  display: flex; flex-direction: column; gap: 14px;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--blue); box-shadow: 0 20px 40px rgba(2,31,148,0.16); }
.service-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--blue); color: var(--white-c);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 19px; margin-bottom: 2px; }
.service-card p { color: var(--text-on-light-muted); font-size: 15px; }
.service-card--feature { background: var(--blue); color: var(--white-c); border-color: var(--blue); }
.service-card--feature .service-icon { background: var(--white-c); color: var(--blue); }
.service-card--feature p { color: rgba(245,242,243,0.82); }
.service-card--feature:hover { border-color: var(--white-c); box-shadow: 0 20px 40px rgba(2,31,148,0.28); }
.service-card--wide { grid-column: 1 / -1; }
@media (min-width: 1024px) { .service-card--wide { display: flex; flex-direction: row; align-items: center; gap: var(--space-4); } .service-card--wide .service-icon { margin-bottom: 0; } }

/* ---------- Pricing ---------- */
.pricing-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(2,31,148,0.06); border: 1px solid rgba(2,31,148,0.2);
  border-radius: var(--radius-md); padding: var(--space-3); margin-bottom: var(--space-5);
  color: var(--text-on-light);
}
.pricing-note svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.pricing-note strong { color: var(--blue); }
.pricing-grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }
.price-card {
  background: #FFFFFF; border: 1px solid var(--line-on-light);
  border-radius: var(--radius-lg); padding: var(--space-4);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: var(--space-2);
  transition: transform var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
.price-card:hover { transform: translateY(-6px); border-color: var(--blue); }
.price-tag {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; background: rgba(2,31,148,0.08); color: var(--blue);
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.price-card h3 { font-size: 18px; color: var(--black); }
.price-value { font-family: var(--font-head); font-size: 32px; font-weight: 700; color: var(--black); }
.price-value span { font-size: 14px; font-weight: 500; color: var(--text-on-light-muted); }
.price-card p { font-size: 14px; color: var(--text-on-light-muted); flex-grow: 1; }
.price-card--cta { background: var(--blue); border-color: var(--blue); justify-content: center; align-items: flex-start; }
.price-card--cta h3 { color: var(--white-c); }
.price-card--cta p { color: rgba(245,242,243,0.85); }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-3) 0; border-top: 3px solid var(--blue); }
.why-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); background: rgba(2,31,148,0.08); color: var(--blue); }
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 18px; }
.why-card p { font-size: 15px; color: var(--text-on-light-muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }
.contact-info-list { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-4); }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: rgba(2,31,148,0.08); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-item h3 { font-size: 15px; color: var(--black); margin-bottom: 2px; }
.contact-info-item p, .contact-info-item a { font-size: 15px; color: var(--text-on-light-muted); }
.contact-info-item a:hover { color: var(--blue); }
.placeholder-tag { font-size: 11px; font-weight: 700; color: var(--blue); background: rgba(2,31,148,0.08); padding: 2px 8px; border-radius: var(--radius-pill); margin-left: 6px; vertical-align: middle; letter-spacing: 0.04em; }

.contact-form {
  background: var(--bg-light-card); border-radius: var(--radius-lg);
  padding: var(--space-4); box-shadow: var(--shadow-card-dark);
}
.form-row { display: grid; gap: var(--space-3); grid-template-columns: 1fr; margin-bottom: var(--space-3); }
@media (min-width: 560px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text-on-light); }
.field .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid rgba(0,0,0,0.15); border-radius: var(--radius-sm);
  padding: 13px 14px; font-size: 15px; color: var(--text-on-light); background: #FFFFFF;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(2,31,148,0.12);
}
.field small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--text-on-light-muted); }
.form-consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: var(--space-3); font-size: 13.5px; color: var(--text-on-light-muted); }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.contact-form button[type="submit"] { margin-bottom: var(--space-3); }
.form-status { display: none; align-items: center; gap: 10px; margin-top: var(--space-3); padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; }
.form-status.is-visible { display: flex; }
.form-status.is-success { background: rgba(2,31,148,0.08); color: var(--blue); border: 1px solid rgba(2,31,148,0.25); }
.form-status svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Fleet showcase (liquid glass frame) ---------- */
.fleet-frame { margin-top: var(--space-4); }
.fleet-frame-glass {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16/11;
  background: linear-gradient(160deg, rgba(2,31,148,0.08), rgba(2,31,148,0.03));
  border: 1px solid rgba(2,31,148,0.14);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 20px 40px rgba(1,15,74,0.16);
  padding: var(--space-2);
  display: flex; align-items: center; justify-content: center;
}
.fleet-frame-glass::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 70% at 15% -10%, rgba(255,255,255,0.55), transparent 60%);
}
.fleet-frame-glass img {
  position: relative; z-index: 1; max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; filter: drop-shadow(0 14px 18px rgba(1,15,74,0.25));
  opacity: 1; transition: opacity 0.5s var(--ease-out);
}
.fleet-frame-glass.is-loading img { opacity: 0; }
.fleet-frame-glass.is-loading::after {
  content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit;
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,0.5) 50%, transparent 65%);
  background-size: 200% 100%; background-position: 150% 0;
  animation: shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer { to { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .fleet-frame-glass.is-loading::after { animation-duration: 2.5s; } }
.fleet-caption { margin-top: 12px; font-size: 13px; text-align: center; color: var(--text-on-light-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: var(--text-on-dark-muted); padding-block: var(--space-6) var(--space-4); }
.footer-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; margin-bottom: var(--space-5); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand img { height: 40px; margin-bottom: var(--space-2); }
.footer-brand p { font-size: 14px; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-head); font-size: 14px; color: var(--white-c); margin-bottom: var(--space-2); letter-spacing: 0.03em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; transition: color var(--dur-fast) var(--ease-out); }
.footer-col a:hover { color: var(--white-c); }
.footer-social { display: flex; gap: 10px; margin-top: var(--space-2); }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-on-dark); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { border-color: var(--white-c); color: var(--white-c); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line-on-dark); padding-top: var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: space-between; font-size: 13px; }
.footer-bottom-links { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: 10px; padding: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(1,15,74,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-on-dark);
  transform: translateY(100%); transition: transform var(--dur-med) var(--ease-out);
}
.mobile-call-bar.is-visible { transform: translateY(0); }
.mobile-call-bar .btn { flex: 1; }
@media (min-width: 1024px) { .mobile-call-bar { display: none; } }
body.has-mobile-bar { padding-bottom: 76px; }
@media (min-width: 1024px) { body.has-mobile-bar { padding-bottom: 0; } }

/* ---------- Mobile: hero-only home, sections open as full-screen panels ---------- */
@media (max-width: 1023px) {
  .panel-section { display: none; }
  .panel-section:target {
    display: block; position: fixed; inset: 0; z-index: 85;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding-top: 76px; padding-bottom: 96px;
    background: var(--bg-light);
  }
  .site-footer { display: none; }
  body:has(.panel-section:target) .hero,
  body:has(.panel-section:target) .coverage {
    display: none;
  }
  .panel-back { display: none; }
  .panel-section:target .panel-back {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-head); font-weight: 600; font-size: 14px;
    color: var(--blue); margin-bottom: var(--space-3);
  }
  .panel-back svg { width: 16px; height: 16px; }
  .panel-legal { display: flex; gap: 14px; font-size: 12px; color: var(--text-on-light-muted); }
  .panel-legal a { color: var(--blue); text-decoration: underline; }
}
@media (min-width: 1024px) {
  .panel-back, .panel-legal { display: none; }
}

/* ---------- Reveal-on-scroll base state ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); }
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- Legal pages ---------- */
.notice-box { display: flex; gap: 12px; background: rgba(2,31,148,0.06); border: 1px solid rgba(2,31,148,0.2); border-radius: var(--radius-md); padding: var(--space-3); margin-bottom: var(--space-5); }
.notice-box svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.legal-body { max-width: 72ch; }
.legal-body h2 { font-size: 20px; margin-top: var(--space-5); margin-bottom: var(--space-2); }
.legal-body p, .legal-body li { color: var(--text-on-light-muted); margin-bottom: var(--space-2); }
.legal-body ul { padding-left: 20px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--blue); margin-bottom: var(--space-4); }
.back-link svg { width: 18px; height: 18px; }

/* ---------- Icon sprite defaults ---------- */
.icon { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Misc ---------- */
.tel-link { white-space: nowrap; }

/* ---------- 404 error page ----------
   html carries a default data-lang="it" (works with no JS); an early head
   script may switch it to en/de based on browser language before paint. */
html[data-lang="it"] [data-lang-block]:not([data-lang-block="it"]),
html[data-lang="en"] [data-lang-block]:not([data-lang-block="en"]),
html[data-lang="de"] [data-lang-block]:not([data-lang-block="de"]) { display: none !important; }
.error-main {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: var(--space-7) var(--space-3);
}
.error-content { position: relative; z-index: 1; max-width: 560px; text-align: center; margin-inline: auto; }
.error-route { width: 220px; height: 90px; margin: 0 auto var(--space-4); }
.error-route path { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 7 10; opacity: 0.5; }
.error-route circle.start { fill: var(--blue); }
.error-route circle.mark { fill: none; stroke: var(--blue); stroke-width: 2.5; }
.error-route text { font-family: var(--font-head); font-weight: 700; font-size: 15px; fill: var(--blue); }
.error-content .section-title { text-align: center; }
.error-content .section-lede { margin-inline: auto; text-align: center; }
.error-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: var(--space-4) 0; }
.error-quick-links { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; font-size: 13.5px; }
.error-quick-links a { color: var(--text-on-light-muted); text-decoration: underline; }
.error-lang-switch { display: flex; align-items: center; gap: 2px; background: rgba(245,242,243,0.08); border: 1px solid var(--line-on-dark); border-radius: var(--radius-pill); padding: 4px; }
.error-lang-switch button { font-family: var(--font-head); font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: var(--radius-pill); color: var(--text-on-dark-muted); background: transparent; border: 0; cursor: pointer; }
.error-lang-switch button[aria-current="true"] { background: var(--white-c); color: var(--blue); }
.error-lang-switch button:not([aria-current="true"]):hover { color: var(--white-c); }
