/* ==========================================================================
   CardWallet para Tiendas — design tokens (mirrors apps/web/src/app/globals.css)
   ========================================================================== */
:root {
  --color-navy-950: #1e262c;
  --color-navy-900: #252e34;
  --color-navy-800: #303a40;
  --color-navy-700: #465057;

  --color-teal-50: #f7faef;
  --color-teal-100: #eef5dc;
  --color-teal-200: #dcebb6;
  --color-teal-300: #bddc70;
  --color-teal-400: #95c11f;
  --color-teal-500: #86ae1c;
  --color-teal-600: #719217;
  --color-teal-700: #5a7412;

  --color-ink: #1e262c;
  --color-muted: #706f6f;
  --color-bg: #f0f4fa;
  --color-surface: #ffffff;
  --color-line: #d9d9d9;
  --color-success: #1f9d63;

  /* Emil Kowalski design-engineering easing tokens */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(30, 38, 44, 0.06), 0 1px 1px rgba(30, 38, 44, 0.04);
  --shadow-md: 0 8px 24px rgba(30, 38, 44, 0.10);
  --shadow-lg: 0 24px 60px rgba(30, 38, 44, 0.18);
  color-scheme: light;
}

/* ==========================================================================
   Reset + mobile-native baseline
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: 'Lato', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

button, a, [role="button"] {
  touch-action: manipulation;
}

/* Same container as apps/web (mx-auto max-w-[1600px] px-4 sm:px-6 lg:px-8) so this page
   reads at the same width/margins as the rest of the platform, not narrower. */
.wrap {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }
.wrap--narrow { max-width: 760px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-navy-950);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 160ms var(--ease-out), background 160ms var(--ease-out), box-shadow 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--color-teal-400);
  color: var(--color-navy-950);
  box-shadow: var(--shadow-sm);
}
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--color-teal-300); box-shadow: var(--shadow-md); }
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--color-navy-950);
  color: var(--color-navy-950);
}
@media (hover: hover) and (pointer: fine) {
  .btn--outline:hover { background: var(--color-navy-950); color: #fff; }
}

.btn--ghost {
  background: transparent;
  color: var(--color-navy-950);
}
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover { background: rgba(30, 38, 44, 0.06); }
}

.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--sm { padding: 9px 18px; font-size: 14px; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 244, 250, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 19px;
  margin-right: auto;
}
.nav__mark { border-radius: 8px; }
.nav__word b { color: var(--color-teal-600); font-weight: 900; }

.nav__links {
  display: flex;
  gap: 28px;
  font-weight: 700;
  font-size: 14.5px;
}
.nav__links a { position: relative; padding: 4px 0; color: var(--color-navy-800); transition: color 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--color-teal-600); }
}

.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__burger span {
  width: 22px;
  height: 2px;
  background: var(--color-navy-950);
  border-radius: 2px;
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 20px 18px;
  border-top: 1px solid var(--color-line);
}
.nav__mobile a {
  padding: 12px 4px;
  font-weight: 700;
  border-bottom: 1px solid var(--color-line);
}
.nav__mobile .btn { margin-top: 12px; width: 100%; }
.nav__mobile[data-open="true"] { display: flex; }

@media (max-width: 860px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }
}

/* ==========================================================================
   Shared eyebrow / section head
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
}
.eyebrow--dark {
  color: var(--color-teal-700);
  border-color: var(--color-teal-200);
  background: var(--color-teal-50);
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-teal-400);
  box-shadow: 0 0 0 3px rgba(149, 193, 31, 0.25);
}

.section { padding: 64px 0; }
.section__head {
  max-width: 620px;
  margin: 0 auto 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.section__head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.01em;
}
.section__head p { color: var(--color-muted); font-size: 17px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-navy-950);
  color: #fff;
  padding: 44px 0 56px;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.hero__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}
.hero__orb--a { width: 420px; height: 420px; background: var(--color-teal-400); top: -120px; right: -100px; }
.hero__orb--b { width: 320px; height: 320px; background: #3b6ea5; bottom: -140px; left: -80px; opacity: 0.25; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__copy { opacity: 0; animation: fadeUp 700ms var(--ease-out) 80ms forwards; }
.hero__title {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 20px 0 22px;
}
.hero__title-accent { color: var(--color-teal-300); }
.hero__sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 46ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .btn--outline { border-color: rgba(255,255,255,0.35); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .hero .btn--outline:hover { background: rgba(255,255,255,0.12); }
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.hero__proof li { display: flex; align-items: center; gap: 7px; }
.hero__proof svg { width: 16px; height: 16px; color: var(--color-teal-300); flex-shrink: 0; }

.hero__visual {
  position: relative;
  opacity: 0;
  animation: fadeUp 700ms var(--ease-out) 220ms forwards;
  perspective: 1200px;
}

/* Photo carousel, same spirit as the real apps/web HomeSlider (fixed height,
   not a tall aspect-ratio — the user asked for this after the first photo
   read as too tall). Tilts gently toward the cursor (JS sets --tiltX/
   --tiltY); the transition smooths it into something spring-like without
   pulling in an animation library. Decorative only — never gates an
   interaction, so it stays on the acceptable side of the skill's "should
   this animate at all" test. */
.hero__photo-frame {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateX(var(--tiltY, 0deg)) rotateY(var(--tiltX, 0deg));
  transition: transform 400ms var(--ease-out);
  will-change: transform;
}
@media (min-width: 640px) { .hero__photo-frame { height: 400px; } }
@media (min-width: 1024px) { .hero__photo-frame { height: 460px; } }

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 700ms var(--ease-in-out);
}
.hero__slide.is-active {
  opacity: 1;
  /* Ken Burns: a slow, continuous zoom for as long as the slide is shown —
     restarted from JS each time (forced reflow) so it always plays in full. */
  animation: heroKenBurns 6500ms var(--ease-out) forwards;
}
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero__photo-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,38,44,0) 55%, rgba(30,38,44,0.55) 100%),
    linear-gradient(90deg, rgba(30,38,44,0.25) 0%, transparent 25%);
  pointer-events: none;
}

.hero__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  backdrop-filter: blur(4px);
  transform: translateY(-50%);
  transition: background 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.hero__nav svg { width: 18px; height: 18px; }
.hero__nav:active { transform: translateY(-50%) scale(0.92); }
@media (hover: hover) and (pointer: fine) {
  .hero__nav:hover { background: rgba(255,255,255,0.32); }
}
.hero__nav--prev { left: 12px; }
.hero__nav--next { right: 12px; }

.hero__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}
.hero__dot {
  height: 6px;
  width: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
  transition: width 220ms var(--ease-out), background 220ms var(--ease-out);
}
.hero__dot.is-active { width: 22px; background: var(--color-teal-400); }

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--color-ink);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  font-size: 12.5px;
  animation: floatY 5s ease-in-out infinite;
}
.float-chip b { display: block; font-size: 13px; }
.float-chip small { color: var(--color-muted); }
.float-chip__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex-shrink: 0;
}
.float-chip__icon svg { width: 17px; height: 17px; }
.float-chip__icon--credit { background: var(--color-teal-100); color: var(--color-teal-700); }
.float-chip__icon--gift { background: #ffe8b8; color: #a8641a; }
.float-chip--top { top: -6%; left: -8%; animation-delay: 0s; }
.float-chip--bottom { bottom: -4%; right: -6%; animation-delay: 1.4s; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  /* width:100% is required here, not just max-width: a grid item with
     margin-inline:auto switches from "stretch" to "fit-content" sizing,
     and .hero__photo-frame's own width:100% has nothing to resolve
     against once every one of its children is position:absolute — the
     frame silently collapsed to 0 width without this. */
  .hero__visual { width: 100%; max-width: 420px; margin: 0 auto; }
  .float-chip { display: none; }
}

/* ==========================================================================
   Marquee — supported games, constant linear motion (per the animate skill:
   linear easing is correct for continuous motion, never ease/ease-out).
   ========================================================================== */
.marquee {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
  padding: 22px 0;
  overflow: hidden;
}
.marquee__label {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 16px;
}
.marquee__viewport {
  display: flex;
  justify-content: center;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  /* 4 repeats of the 5 logos in the markup: keeps the track wider than any
     realistic viewport so it never reads as "stuck on the left" before the
     loop catches up — translateX(-25%) is exactly one of those 4 sets. */
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; height: 30px; flex-shrink: 0; }
.marquee__item img { height: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.55; transition: filter 200ms var(--ease-out), opacity 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .marquee__item:hover img { filter: grayscale(0); opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ==========================================================================
   Services grid
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-grid { grid-template-columns: 1fr; } }

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-teal-200);
  }
}
.service-card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--color-teal-50);
  color: var(--color-teal-700);
  margin: 0 0 16px;
  transition: background 220ms var(--ease-out), color 220ms var(--ease-out);
}
.service-card__icon svg { width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-card__icon { background: var(--color-teal-400); color: var(--color-navy-950); }
}
.service-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.service-card p { color: var(--color-muted); font-size: 14.5px; line-height: 1.55; }

/* ==========================================================================
   Cinematic photo break — marketing-only scroll reveal + parallax, per the
   animate skill: fine here, never on daily-use UI.
   ========================================================================== */
.cine {
  position: relative;
  height: 62vh;
  min-height: 420px;
  max-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
}
.cine__media {
  position: absolute;
  inset: -10% 0;
  will-change: transform;
}
.cine__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.cine__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,18,21,0.88) 0%, rgba(14,18,21,0.55) 48%, rgba(14,18,21,0.25) 100%);
}
.cine__content {
  position: relative;
  max-width: 560px;
}
.cine__content h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 16px 0 14px;
}
.cine__content p { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.8); }

@media (max-width: 700px) {
  .cine { height: auto; min-height: 460px; padding: 64px 0; }
}

/* ==========================================================================
   Split sections (vitrina / crédito)
   ========================================================================== */
.section--split { padding: 44px 0; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.section--reverse .split { grid-template-columns: 1fr 1fr; }
.section--reverse .split__copy { order: 2; }
.section--reverse .split__visual { order: 1; }

.split__visual { position: relative; }
.split__photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  /* Ken Burns: starts slightly zoomed, settles to 1 as the section reveals
     — tied to the same .reveal[data-visible] flag as the clip-path, so it
     plays once, the moment the photo actually enters view. */
  transform: scale(1.12);
  transition: transform 900ms var(--ease-in-out);
}
.reveal[data-visible] .split__image { transform: scale(1); }
.split__badge {
  position: absolute;
  bottom: -18px;
  left: 20px;
  right: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13.5px;
}
.split__badge svg { width: 18px; height: 18px; color: var(--color-success); flex-shrink: 0; }

.split__copy h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 16px 0 16px;
}
.split__copy p { color: var(--color-muted); font-size: 16px; line-height: 1.65; }

.check-list { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--color-navy-800);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--color-teal-100);
  background-image: linear-gradient(135deg, var(--color-teal-300), var(--color-teal-400));
}
.check-list li::after {
  content: '';
  position: absolute;
  left: 5px; top: 7px;
  width: 8px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

@media (max-width: 860px) {
  .split, .section--reverse .split { grid-template-columns: 1fr; }
  .section--reverse .split__copy, .section--reverse .split__visual { order: initial; }
}

/* ==========================================================================
   Pricing card
   ========================================================================== */
.pricing-card {
  max-width: 440px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #1d4ed8, var(--color-navy-950) 75%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  box-shadow: var(--shadow-lg);
}
.pricing-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 999px;
  background: rgba(149, 193, 31, 0.18);
  filter: blur(30px);
}
.pricing-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 196, 0, 0.18);
  color: #ffd666;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.pricing-card__price { display: flex; align-items: flex-end; gap: 6px; position: relative; }
.pricing-card__amount { font-size: 46px; font-weight: 900; letter-spacing: -0.02em; }
.pricing-card__period { color: rgba(255,255,255,0.7); padding-bottom: 6px; }
.pricing-card__list { margin-top: 26px; display: flex; flex-direction: column; gap: 13px; position: relative; }
.pricing-card__list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.9);
}
.pricing-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 16px; height: 16px;
  border-radius: 999px;
  background: rgba(149, 193, 31, 0.22);
}
.pricing-card__list li::after {
  content: '';
  position: absolute;
  left: 4.5px; top: 6.5px;
  width: 7px; height: 3.5px;
  border-left: 2px solid var(--color-teal-300);
  border-bottom: 2px solid var(--color-teal-300);
  transform: rotate(-45deg);
}
.pricing-card__note {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 6px 22px;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-weight: 800;
  font-size: 15.5px;
  position: relative;
  touch-action: manipulation;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-teal-600);
  transition: transform 220ms var(--ease-out);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p {
  padding-bottom: 18px;
  color: var(--color-muted);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 62ch;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta-final {
  position: relative;
  overflow: hidden;
  background: var(--color-navy-950);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.cta-final__media { position: absolute; inset: 0; }
.cta-final__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: saturate(0.7);
}
.cta-final__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-navy-950) 0%, rgba(30,38,44,0.75) 40%, var(--color-navy-950) 100%);
}
.cta-final__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-final h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 900; }
.cta-final p { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 10px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--color-navy-950); color: rgba(255,255,255,0.7); padding: 32px 0; }
.footer__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
}
.footer__wordmark { height: 20px; width: auto; }
.footer__links { display: flex; gap: 22px; font-size: 13.5px; font-weight: 700; flex-wrap: wrap; }
@media (hover: hover) and (pointer: fine) {
  .footer__links a:hover { color: #fff; }
}
.footer__copy { font-size: 12.5px; color: rgba(255,255,255,0.45); }

/* ==========================================================================
   Scroll reveal + motion
   ========================================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.reveal {
  opacity: 0;
  clip-path: inset(0 0 18% 0);
  transform: translateY(16px);
  transition: opacity 560ms var(--ease-in-out), clip-path 560ms var(--ease-in-out), transform 560ms var(--ease-in-out);
}
.reveal[data-visible] {
  opacity: 1;
  clip-path: inset(0 0 0% 0);
  transform: translateY(0);
}

/* Stagger the service cards as the grid reveals */
#servicesGrid .service-card { transition-delay: 0ms; }
#servicesGrid.reveal[data-visible] .service-card:nth-child(1) { transition-delay: 0ms; }
#servicesGrid.reveal[data-visible] .service-card:nth-child(2) { transition-delay: 60ms; }
#servicesGrid.reveal[data-visible] .service-card:nth-child(3) { transition-delay: 120ms; }
#servicesGrid.reveal[data-visible] .service-card:nth-child(4) { transition-delay: 180ms; }
#servicesGrid.reveal[data-visible] .service-card:nth-child(5) { transition-delay: 240ms; }
#servicesGrid.reveal[data-visible] .service-card:nth-child(6) { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  .hero__copy, .hero__visual { animation: none; opacity: 1; }
  .float-chip { animation: none; }
  .reveal { transition: opacity 300ms ease; clip-path: none; transform: none; opacity: 1; }
}
