/* ==========================================================================
   Transport PAM — style.css
   Mobile-first · No framework · Light / Dark themes
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Utilities & shared components (container, buttons, badges, cards)
   4.  Header / Navbar / Language switcher / Theme switch / Mobile menu
   5.  Hero
   6.  Sections (head, services, why us, pricing, testimonials, about, contact)
   7.  Form
   8.  Footer
   9.  Floating actions (WhatsApp, back to top)
   10. Animations & reveal
   11. Reduced motion
   ========================================================================== */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  /* Brand palette */
  --blue: #0057D9;
  --blue-dark: #0A2E6E;
  --blue-light: #1E88FF;
  --orange: #FF7A00;
  --gold: #FFB800;
  --white: #FFFFFF;
  --gray-light: #F4F6F9;
  --gray-text: #4B5563;
  --black: #111827;
  --wa: #25D366;
  --danger: #DC2626;

  /* Semantic (light) */
  --bg: #FFFFFF;
  --bg-alt: var(--gray-light);
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --text: var(--black);
  --text-muted: var(--gray-text);
  --heading: var(--blue-dark);
  --accent-text: var(--blue);
  --border: rgba(10, 46, 110, .08);
  --border-strong: rgba(10, 46, 110, .16);
  --nav-bg: rgba(255, 255, 255, .8);
  --tint-blue: rgba(0, 87, 217, .08);
  --tint-orange: rgba(255, 122, 0, .12);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10, 46, 110, .05), 0 2px 6px rgba(10, 46, 110, .05);
  --shadow-md: 0 10px 30px -12px rgba(10, 46, 110, .18);
  --shadow-lg: 0 30px 60px -24px rgba(10, 46, 110, .28);
  --shadow-glow: 0 12px 30px -10px rgba(255, 122, 0, .55);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  --grad-accent: linear-gradient(135deg, var(--orange) 0%, var(--gold) 100%);
  --grad-text: linear-gradient(100deg, var(--blue) 0%, var(--blue-light) 45%, var(--orange) 100%);
  --grad-navy: linear-gradient(160deg, #0A2E6E 0%, #061A42 100%);

  /* Shape & type */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;
  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 76px;
  --nav-h-scrolled: 64px;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .35s;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0B1220;
  --bg-alt: #0E1729;
  --surface: #121C31;
  --surface-2: #18243D;
  --text: #E5E7EB;
  --text-muted: #A3ADBD;
  --heading: #F9FAFB;
  --accent-text: #5AA9FF;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);
  --nav-bg: rgba(11, 18, 32, .78);
  --tint-blue: rgba(30, 136, 255, .12);
  --tint-orange: rgba(255, 122, 0, .14);
  --danger: #F87171;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 6px rgba(0, 0, 0, .25);
  --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, .55);
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .7);

  color-scheme: dark;
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

body.no-scroll { overflow: hidden; }

img, svg, iframe, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 700;
}

section[id], main { scroll-margin-top: calc(var(--nav-h-scrolled) + 8px); }
main:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection { background: var(--blue); color: #fff; }

/* Hidden SVG sprite (not display:none so gradients still resolve) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Icons */
.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-fill { fill: currentColor; stroke: none; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: .7rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: none; }

/* ==========================================================================
   3. Utilities & shared components
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .8rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .975rem;
  line-height: 1.2;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

/* Shine sweep on hover */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.icon-arrow { transition: transform .3s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }

.btn--accent {
  background: var(--grad-accent);
  color: var(--blue-dark);
  box-shadow: var(--shadow-glow);
}
.btn--accent:hover { box-shadow: 0 18px 40px -12px rgba(255, 122, 0, .65); }

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(0, 87, 217, .6);
}
.btn--primary:hover { box-shadow: 0 18px 40px -12px rgba(0, 87, 217, .7); }

.btn--ghost {
  background: var(--surface);
  color: var(--heading);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--accent-text); }

.btn--wa {
  background: linear-gradient(135deg, #0C8050 0%, #075E54 100%);
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(7, 94, 84, .7);
}
.btn--wa:hover { box-shadow: 0 18px 40px -12px rgba(7, 94, 84, .8); }

.btn--sm { min-height: 42px; padding: .6rem 1.1rem; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: 1rem 1.9rem; font-size: 1.03rem; }
.btn--block { width: 100%; }

/* ---------- Badge / eyebrow ---------- */
.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem 1rem;
  border-radius: var(--radius-full);
  background: var(--tint-blue);
  border: 1px solid rgba(0, 87, 217, .14);
  color: var(--accent-text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
}

.eyebrow {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before,
.badge__dot {
  content: '';
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, .2);
}
.badge__dot { animation: pulse-dot 2.2s ease-in-out infinite; }

.eyebrow--light {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .14);
  color: #BFD8FF;
}

/* ---------- Check dot ---------- */
.check-dot {
  width: 22px;
  height: 22px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tint-blue);
  color: var(--accent-text);
}
.check-dot .icon { width: 13px; height: 13px; stroke-width: 3; }

/* ---------- Card ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease),
              border-color .45s var(--ease), background-color .45s var(--ease);
}

/* Gradient border that fades in on hover */
.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--blue-light), var(--orange));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s var(--ease);
}

@media (hover: hover) {
  .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .card:hover::before { opacity: 1; }
}

/* ==========================================================================
   4. Header / Navbar
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}

.header.is-scrolled,
.header.menu-open {
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--border), 0 10px 30px -18px rgba(10, 46, 110, .25);
}
.header.menu-open { background: var(--surface); }

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: height .35s var(--ease);
}
.header.is-scrolled .nav { height: var(--nav-h-scrolled); }

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  flex: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -.02em;
  color: var(--heading);
}
.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 4px 10px rgba(0, 87, 217, .35));
  transition: transform .5s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand--light { color: #fff; }

/* Desktop links */
.nav__links { display: none; }

.nav__link {
  position: relative;
  display: block;
  padding: .5rem .8rem;
  border-radius: var(--radius-full);
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color .25s, background-color .25s;
}
.nav__link:hover { color: var(--heading); background: var(--bg-alt); }
.nav__link.is-active { color: var(--accent-text); }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateX(-50%);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav__cta { display: none; }

/* ---------- Language switcher ---------- */
.lang { position: relative; }

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  height: 42px;
  padding: 0 .7rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--heading);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  transition: border-color .25s, background-color .25s;
}
.lang__btn:hover { border-color: var(--blue); }
.lang__btn .icon { width: 18px; height: 18px; }
.lang__btn .lang__chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }

.lang__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10;
  min-width: 190px;
  padding: .4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.98);
  transform-origin: top right;
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.lang__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.lang__option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem .8rem;
  border-radius: var(--radius-sm);
  font-size: .93rem;
  color: var(--text);
  text-align: left;
  transition: background-color .2s, color .2s;
}
.lang__option:hover,
.lang__option:focus-visible { background: var(--bg-alt); outline: none; }
.lang__option small {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-muted);
}
.lang__option[aria-checked="true"] { color: var(--accent-text); font-weight: 600; }
.lang__option[aria-checked="true"] small { color: var(--orange); }

/* ---------- Theme switch ---------- */
.theme-switch {
  position: relative;
  width: 56px;
  height: 32px;
  flex: none;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  transition: background-color .35s var(--ease), border-color .35s;
}
.theme-switch:hover { border-color: var(--blue); }
.theme-switch__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(10, 46, 110, .25);
  display: grid;
  place-items: center;
  transition: transform .45s var(--ease), background-color .35s;
}
.theme-switch__knob .icon {
  position: absolute;
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
  transition: opacity .3s, transform .45s var(--ease);
}
.icon-sun { color: var(--orange); }
.icon-moon { color: var(--gold); opacity: 0; transform: rotate(-90deg) scale(.6); }

[data-theme="dark"] .theme-switch { background: var(--surface-2); }
[data-theme="dark"] .theme-switch__knob { transform: translateX(24px); background: var(--blue-dark); }
[data-theme="dark"] .icon-sun { opacity: 0; transform: rotate(90deg) scale(.6); }
[data-theme="dark"] .icon-moon { opacity: 1; transform: none; }

/* On very small screens the bar switch moves into the mobile menu */
.theme-switch--bar { display: none; }

/* ---------- Hamburger ---------- */
.nav__toggle {
  width: 44px;
  height: 44px;
  flex: none;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  transition: border-color .25s;
}
.nav__toggle:hover { border-color: var(--blue); }

.hamburger { position: relative; width: 20px; height: 14px; }
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--heading);
  transition: transform .4s var(--ease), opacity .25s, top .4s var(--ease), width .3s var(--ease);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 6px; width: 70%; }
.hamburger span:nth-child(3) { top: 12px; }
.nav__toggle:hover .hamburger span:nth-child(2) { width: 100%; }
.nav__toggle[aria-expanded="true"] .hamburger span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle[aria-expanded="true"] .hamburger span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--nav-h-scrolled));
  max-height: calc(100dvh - var(--nav-h-scrolled));
  overflow-y: auto;
  padding: .5rem var(--gutter) 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.mobile-menu__list > li,
.mobile-menu__row,
.mobile-menu__cta {
  opacity: 0;
  translate: 0 8px;
  transition: opacity .4s var(--ease), translate .4s var(--ease);
}
.mobile-menu.is-open .mobile-menu__list > li,
.mobile-menu.is-open .mobile-menu__row,
.mobile-menu.is-open .mobile-menu__cta {
  opacity: 1;
  translate: 0 0;
  transition-delay: calc(var(--i, 0) * 40ms + 60ms);
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .95rem .25rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--heading);
  transition: color .2s, padding .3s var(--ease);
}
.mobile-menu__link .icon { width: 18px; height: 18px; color: var(--text-muted); }
.mobile-menu__link:hover,
.mobile-menu__link.is-active { color: var(--accent-text); padding-left: .6rem; }

.mobile-menu__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem .25rem;
  font-weight: 500;
  color: var(--text-muted);
}
.mobile-menu__cta { margin-top: .75rem; }

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 12, 26, .45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.menu-backdrop.is-visible { opacity: 1; visibility: visible; transition-delay: 0s; }

@media (min-width: 420px) {
  .theme-switch--bar { display: inline-block; }
  .mobile-menu__row { display: none; }
}
@media (min-width: 768px) {
  .nav__cta { display: inline-flex; }
  .nav__actions { gap: .65rem; }
}
@media (min-width: 1200px) {
  .nav__links { display: flex; gap: .15rem; }
  .nav__toggle,
  .mobile-menu,
  .menu-backdrop { display: none; }
}

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(28px, 6vw, 72px)) 0 clamp(72px, 9vw, 120px);
  background:
    radial-gradient(1100px 560px at 90% -10%, rgba(30, 136, 255, .14), transparent 60%),
    radial-gradient(800px 480px at -10% 40%, rgba(255, 122, 0, .10), transparent 60%),
    var(--bg);
}

/* Subtle grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 75%);
}

.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: blob 20s ease-in-out infinite;
}
.hero__blob--1 { width: 460px; height: 460px; top: -160px; right: -140px; background: var(--blue-light); opacity: .22; }
.hero__blob--2 { width: 380px; height: 380px; bottom: -160px; left: -140px; background: var(--orange); opacity: .16; animation-delay: -7s; }
.hero__blob--3 { width: 260px; height: 260px; top: 40%; left: 45%; background: var(--gold); opacity: .1; animation-delay: -13s; }

.hero__grid {
  display: grid;
  gap: clamp(48px, 7vw, 72px);
  align-items: center;
}

.hero__content { max-width: 640px; }

.hero__title {
  margin: 1.25rem 0 1.25rem;
  font-size: clamp(2.3rem, 6.2vw, 4.1rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.04em;
}

.hero__subtitle {
  max-width: 36rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.25rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  margin-top: 2rem;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .93rem;
  font-weight: 500;
}

/* Visual */
.hero__visual { position: relative; }

.hero__ring {
  position: absolute;
  inset: 6% -3% -4% 6%;
  z-index: -1;
  border-radius: var(--radius-xl);
  background: var(--grad-brand);
  opacity: .9;
  transform: rotate(3deg);
}

.hero__frame {
  position: relative;
  padding: clamp(8px, 1.4vw, 14px);
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero__frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 10px);
}

/* Speed lines (echo of the logo) */
.hero__speed {
  position: absolute;
  top: 18%;
  left: -56px;
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}
.hero__speed span {
  display: block;
  height: 6px;
  border-radius: 6px;
  background: var(--grad-accent);
  animation: speed 2.6s var(--ease) infinite;
}
.hero__speed span:nth-child(1) { width: 64px; }
.hero__speed span:nth-child(2) { width: 42px; margin-left: 18px; background: var(--grad-brand); animation-delay: .2s; }
.hero__speed span:nth-child(3) { width: 28px; margin-left: 30px; animation-delay: .4s; }

/* Floating cards */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .7rem;
  max-width: 250px;
  padding: .7rem .95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.float-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: .86rem;
  line-height: 1.25;
  color: var(--heading);
}
.float-card small { display: block; font-size: .74rem; line-height: 1.35; color: var(--text-muted); }
.float-card--1 { left: -6px; bottom: -26px; }
.float-card--2 { right: -6px; top: -24px; animation-delay: -3s; }

.float-card__icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad-brand);
  color: #fff;
}
.float-card__icon .icon { width: 20px; height: 20px; }
.float-card__icon--wa { background: var(--wa); }

@media (max-width: 479px) {
  .hero__actions .btn { width: 100%; }
  .float-card { padding: .55rem .75rem; max-width: 210px; }
  .float-card small { display: none; }
}

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; }
  .hero__speed { display: flex; }
  .float-card--1 { left: -32px; }
  .float-card--2 { right: -20px; }
}

/* ==========================================================================
   6. Sections
   ========================================================================== */
.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 128px);
}
.section--alt { background: var(--bg-alt); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.section-title {
  margin: 1rem 0 .9rem;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  letter-spacing: -.03em;
}
.section-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--text-muted);
}

/* ---------- Services ---------- */
.services-grid {
  --gap: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}
.service-card { flex: 1 1 100%; }

.service-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  border-radius: 18px;
  background: var(--tint-blue);
  color: var(--accent-text);
  transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .4s;
}
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.service-card p { font-size: .94rem; color: var(--text-muted); }

@media (hover: hover) {
  .service-card:hover .service-card__icon {
    background: var(--grad-brand);
    color: #fff;
    transform: rotate(-8deg) scale(1.06);
    box-shadow: 0 12px 24px -10px rgba(0, 87, 217, .6);
  }
}

@media (min-width: 600px) {
  .service-card { flex: 0 1 calc((100% - var(--gap)) / 2); }
}
@media (min-width: 900px) {
  .service-card { flex-basis: calc((100% - var(--gap) * 2) / 3); }
}

/* ---------- Why us (always dark) ---------- */
.section--dark {
  overflow: hidden;
  isolation: isolate;
  background: var(--grad-navy);
  color: #C9D6EC;
}
.section--dark .section-title { color: #fff; }
.section--dark .section-subtitle { color: #AFC0DD; }

.section__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(30, 136, 255, .35), transparent 70%),
    radial-gradient(500px 300px at 90% 100%, rgba(255, 122, 0, .22), transparent 70%);
}

.why-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-card {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease);
}
.why-card h3 { color: #fff; font-size: 1.08rem; margin-bottom: .55rem; padding-right: 2.5rem; }
.why-card p { font-size: .93rem; color: #AFC0DD; }

.why-card__num {
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .22);
  transition: -webkit-text-stroke-color .45s;
}
.why-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 1.35rem;
  border-radius: 16px;
  background: var(--grad-accent);
  color: var(--blue-dark);
  box-shadow: var(--shadow-glow);
  transition: transform .5s var(--ease);
}
.why-card__icon .icon { stroke-width: 2; }

@media (hover: hover) {
  .why-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 184, 0, .4);
  }
  .why-card:hover .why-card__icon { transform: rotate(-8deg) scale(1.06); }
  .why-card:hover .why-card__num { -webkit-text-stroke-color: var(--gold); }
}

/* ---------- Price calculator ---------- */
.calc-wrap {
  display: grid;
  gap: 1.5rem;
  max-width: 1080px;
  margin-inline: auto;
}
@media (min-width: 900px) {
  .calc-wrap { grid-template-columns: 1fr 1fr; }
}

.calc-form {
  display: grid;
  align-content: start;
  grid-template-columns: 1fr;
  gap: 1.1rem 1rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
@media (min-width: 480px) {
  .calc-form { grid-template-columns: 1fr 1fr; }
}
.field--full { grid-column: 1 / -1; }

.calc-fieldset {
  grid-column: 1 / -1;
  display: grid;
  gap: 1.1rem 1rem;
  grid-template-columns: 1fr;
  padding: 1.1rem 1rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}
@media (min-width: 480px) {
  .calc-fieldset { grid-template-columns: 1fr 1fr; }
}
.calc-fieldset legend {
  grid-column: 1 / -1;
  padding: 0 .3rem;
  margin-left: -.3rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .98rem;
  color: var(--accent-text);
}
.calc-floor-note { margin-top: .5rem; font-size: .82rem; color: var(--text-muted); }

.calc-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.calc-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 220px;
  text-align: center;
  color: var(--text-muted);
}
/* The [hidden] attribute must win over the class's own `display: flex` above. */
.calc-placeholder[hidden] { display: none; }
.calc-placeholder__icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tint-blue);
  color: var(--accent-text);
}
.calc-placeholder__icon .icon { width: 28px; height: 28px; }

.calc-output h3 { font-size: 1.3rem; margin-bottom: 1rem; }

/* "You saved X" celebration banner, shown for long-distance trips */
.calc-savings {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
  padding: .8rem 1rem;
  border-radius: var(--radius);
  background: rgba(37, 211, 102, .12);
  border: 1px solid rgba(37, 211, 102, .3);
  color: #0C8050;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  animation: fade-scale .5s var(--ease);
}
[data-theme="dark"] .calc-savings { color: #4ADE80; }
.calc-savings[hidden] { display: none; }
.calc-savings .icon { width: 20px; height: 20px; flex: none; color: var(--gold); }

.calc-result__list { display: grid; gap: .85rem; margin-bottom: 1.5rem; }
.calc-result__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--border);
}
/* The [hidden] attribute must win over the class's own `display: flex` above. */
.calc-result__row[hidden] { display: none; }
.calc-result__row dt { font-size: .92rem; color: var(--text-muted); }
.calc-result__row dd { font-family: var(--font-head); font-weight: 600; color: var(--heading); text-align: right; }
.calc-result__row--total { border-bottom: none; padding-top: .15rem; }
.calc-result__row--total dt { font-weight: 600; color: var(--heading); }
.calc-result__row--total dd { font-size: 1.55rem; font-weight: 800; color: var(--accent-text); }
.calc-result__row--uf dd { color: var(--orange); font-size: 1.05rem; }

.calc-result__strike {
  margin-right: .4rem;
  font-weight: 500;
  font-size: .85em;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--danger);
  text-decoration-thickness: 1.5px;
}
.calc-result__strike[hidden] { display: none; }
.calc-result__row--discount dd { color: #0C8050; }
[data-theme="dark"] .calc-result__row--discount dd { color: #4ADE80; }

.calc-disclaimer { margin-top: 1rem; font-size: .8rem; line-height: 1.5; color: var(--text-muted); }

/* Inline loading spinner shown inside the submit button while calculating */
.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
}
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn-spinner { display: inline-block; animation: spin .7s linear infinite; }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 980px;
  margin-inline: auto;
}
@media (min-width: 700px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

.testimonial {
  position: relative;
  height: 100%;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.testimonial__mark {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  color: var(--blue);
  opacity: .08;
}
[data-theme="dark"] .testimonial__mark { color: var(--blue-light); opacity: .16; }

.stars { display: flex; gap: 4px; margin-bottom: 1.1rem; color: var(--gold); }
.stars .icon-fill { width: 18px; height: 18px; }

.testimonial blockquote p {
  margin: 0 0 1.5rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  letter-spacing: -.01em;
  color: var(--heading);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.testimonial__author strong { display: block; font-family: var(--font-head); color: var(--heading); font-size: .95rem; }
.testimonial__author small { display: block; color: var(--text-muted); font-size: .82rem; }

.avatar {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 0 0 4px var(--tint-blue);
}
.avatar .icon { width: 20px; height: 20px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(5, 1fr); } }

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 12, 26, .82) 0%, rgba(6, 12, 26, .15) 45%, transparent 70%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.gallery-item__caption {
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .8rem;
  z-index: 1;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  line-height: 1.3;
  text-align: left;
  opacity: 0;
  translate: 0 8px;
  transition: opacity .35s var(--ease), translate .35s var(--ease);
}
.gallery-item__zoom {
  position: absolute;
  top: .7rem;
  right: .7rem;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--blue-dark);
  opacity: 0;
  transform: scale(.7);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gallery-item__zoom .icon { width: 16px; height: 16px; }

@media (hover: hover) {
  .gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .gallery-item:hover img { transform: scale(1.08); }
  .gallery-item:hover::after,
  .gallery-item:hover .gallery-item__caption,
  .gallery-item:hover .gallery-item__zoom { opacity: 1; translate: 0 0; transform: none; }
}
/* Always show the caption on touch devices, since there is no hover state */
@media (hover: none) {
  .gallery-item::after { opacity: .75; }
  .gallery-item__caption { opacity: 1; translate: 0 0; }
}
.gallery-item:focus-visible::after,
.gallery-item:focus-visible .gallery-item__caption { opacity: 1; translate: 0 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
}
.lightbox[hidden] { display: none; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 20, .9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: fade-in .3s var(--ease);
}

.lightbox__body {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  animation: lightbox-in .35s var(--ease);
}

.lightbox__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
}
.lightbox__figure img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #000;
}
.lightbox__figure figcaption {
  padding: .9rem 1.2rem;
  background: var(--surface);
  color: var(--heading);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--heading);
  box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease), background-color .25s;
}
.lightbox__close:hover { transform: scale(1.08); background: var(--blue); color: #fff; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transform: translateY(-50%);
  transition: background-color .25s, transform .25s var(--ease);
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox__nav--prev { left: clamp(-8px, -4vw, 8px); }
.lightbox__nav--next { right: clamp(-8px, -4vw, 8px); }

@media (max-width: 560px) {
  .lightbox__close { top: -10px; right: 0; }
  .lightbox__nav--prev { left: -4px; }
  .lightbox__nav--next { right: -4px; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes lightbox-in {
  from { opacity: 0; transform: scale(.94) translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1.05fr 1fr; } }

.about__text .section-title { margin-bottom: 1.25rem; }
.about__text p { margin-bottom: 1rem; font-size: 1.05rem; color: var(--text-muted); }

.about__values-title { margin: 2rem 0 1rem; font-size: 1.05rem; }
.values { display: flex; flex-wrap: wrap; gap: .65rem; }
.value-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.05rem;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: .93rem;
  font-weight: 500;
  transition: transform .3s var(--ease), border-color .3s;
}
.value-pill .icon { width: 18px; height: 18px; color: var(--orange); }
.value-pill:hover { transform: translateY(-2px); border-color: var(--blue); }

.about__cards { display: grid; gap: 1.25rem; }
@media (min-width: 600px) { .about__cards { grid-template-columns: 1fr 1fr; } }

.mv-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.mv-card p { color: var(--text-muted); }
.mv-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: 16px;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(0, 87, 217, .7);
}
.mv-card__icon--accent { background: var(--grad-accent); color: var(--blue-dark); box-shadow: var(--shadow-glow); }

.cta-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--grad-navy);
  color: #BFD0EE;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(300px 160px at 100% 0%, rgba(255, 184, 0, .3), transparent 70%),
    radial-gradient(300px 200px at 0% 100%, rgba(30, 136, 255, .35), transparent 70%);
}
.cta-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: .35rem; }
@media (min-width: 600px) {
  .cta-card { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-card .btn { flex: none; }
}

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  gap: 1.5rem;
  max-width: 980px;
  margin-inline: auto;
}

.contact-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
}

.info-card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
}
.info-card small { display: block; font-size: .8rem; font-weight: 500; color: var(--text-muted); }
.info-card strong { display: block; font-family: var(--font-head); font-size: 1.08rem; color: var(--heading); }
.info-card__icon {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--tint-blue);
  color: var(--accent-text);
}
.info-card--wa .info-card__icon { background: rgba(37, 211, 102, .14); color: #12A150; }
.info-card__cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--accent-text);
}
.info-card__cta .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.info-card--wa:hover .info-card__cta .icon { transform: translateX(4px); }

.map {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
}
.map iframe { width: 100%; height: 100%; border: 0; }
[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.8) brightness(.95); }
@media (min-width: 640px) { .map { aspect-ratio: 21 / 8; } }

/* ==========================================================================
   7. Form fields (shared by the price calculator)
   ========================================================================== */
.field label {
  display: block;
  margin-bottom: .45rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--heading);
}
.req { color: var(--orange); }

.input {
  width: 100%;
  min-height: 50px;
  padding: .8rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  font-size: 1rem; /* 16px: prevents iOS zoom on focus */
  line-height: 1.4;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.input::placeholder { color: var(--text-muted); opacity: .75; }
.input:hover { border-color: rgba(0, 87, 217, .4); }
.input:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(0, 87, 217, .15);
}
select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  cursor: pointer;
}
textarea.input { min-height: 130px; resize: vertical; }
input[type="date"].input { cursor: pointer; }

.field.has-error .input {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, .12);
}
.field__error {
  display: none;
  align-items: center;
  gap: .35rem;
  margin-top: .45rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--danger);
}
.field__error .icon { width: 16px; height: 16px; }
.field.has-error .field__error { display: flex; animation: shake .4s var(--ease); }

.form-status {
  margin-bottom: 1rem;
  padding: .8rem 1rem;
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 500;
}
.form-status.is-error { background: rgba(220, 38, 38, .1); color: var(--danger); }
.form-status.is-success { background: rgba(37, 211, 102, .12); color: #0C8050; }
[data-theme="dark"] .form-status.is-success { color: #4ADE80; }

/* ==========================================================================
   8. Footer
   ========================================================================== */
.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 88px) 0 2rem;
  background: var(--grad-navy);
  color: #AFC0DD;
}
/* Keep the last footer line clear of the floating buttons on phones */
@media (max-width: 767px) {
  .footer { padding-bottom: 6.5rem; }
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-light), var(--orange), var(--gold));
}

.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

.footer__slogan { max-width: 24rem; margin: 1.1rem 0 1.5rem; font-size: .95rem; }
.footer h4 { margin-bottom: 1.1rem; font-size: 1rem; color: #fff; }

.footer__links { display: grid; gap: .6rem; }
.footer__links a {
  font-size: .94rem;
  transition: color .25s, padding .3s var(--ease);
}
.footer__links a:hover { color: var(--gold); padding-left: 4px; }

.footer__contact { display: grid; gap: .85rem; font-size: .94rem; }
.footer__contact li { display: flex; align-items: center; gap: .6rem; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--gold); }
.footer__contact a:hover { color: #fff; }

.footer__keywords {
  margin-top: 3rem;
  font-size: .8rem;
  color: #7F93B8;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .875rem;
}
.footer__top { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; transition: color .25s; }
.footer__top .icon { width: 16px; height: 16px; }
.footer__top:hover { color: #fff; }

/* ==========================================================================
   9. Floating actions
   ========================================================================== */
.wa-float {
  --size: 60px;
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  bottom: max(clamp(16px, 3vw, 28px), env(safe-area-inset-bottom));
  z-index: 80;
  width: var(--size);
  height: var(--size);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .65);
  transition: transform .35s var(--ease);
  animation: wa-in .8s var(--ease) 1s backwards;
}
.wa-float > .icon { width: 32px; height: 32px; position: relative; z-index: 1; }
.wa-float::before,
.wa-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa);
  animation: wa-pulse 2.6s ease-out infinite;
}
.wa-float::after { animation-delay: 1.3s; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }

.wa-float__label {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  z-index: 1;
  padding: .5rem .95rem;
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--heading);
  font-family: var(--font-head);
  font-size: .86rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
@media (hover: hover) {
  .wa-float:hover .wa-float__label { opacity: 1; transform: translate(0, -50%); }
}

.back-to-top {
  position: fixed;
  right: calc(clamp(16px, 3vw, 28px) + 6px);
  bottom: calc(clamp(16px, 3vw, 28px) + 74px);
  z-index: 80;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--heading);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  translate: 0 12px;
  transition: opacity .35s var(--ease), translate .35s var(--ease), visibility 0s linear .35s,
              background-color .25s, color .25s, border-color .25s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
.back-to-top:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.back-to-top .icon { width: 20px; height: 20px; }

/* ==========================================================================
   10. Animations & reveal
   ========================================================================== */

/* Hero entrance (CSS only — keeps the LCP image independent from JS) */
.anim-in { animation: fade-up .9s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
.anim-in--scale { animation-name: fade-scale; }

/* Scroll reveal (JS adds .is-visible via IntersectionObserver).
   Uses the independent `translate` property so it never conflicts with `transform`
   (hover lifts, featured plan scale). */
.js .reveal {
  opacity: 0;
  translate: 0 32px;
  transition-property: opacity, translate, transform, box-shadow, border-color, background-color;
  transition-duration: .9s, .9s, .45s, .45s, .45s, .45s;
  transition-timing-function: var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), 0s, 0s, 0s, 0s;
}
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-scale {
  from { opacity: 0; transform: translateY(24px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-25px, 25px) scale(.95); }
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@keyframes speed {
  0% { opacity: 0; transform: translateX(24px); }
  30%, 70% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateX(-24px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 122, 0, .2); }
  50% { box-shadow: 0 0 0 7px rgba(255, 122, 0, .08); }
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.75); opacity: 0; }
}
@keyframes wa-in {
  from { opacity: 0; transform: scale(.4) translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes shake {
  0%, 100% { transform: none; }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* ==========================================================================
   11. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; translate: none; }
}
