/* =========================================================================
   ProFlight Academy — Landing reversion
   Built on the official ProFlight design system (colors_and_type.css):
   Deep Blue / Blue austere palette · Inter · editorial numerals · sober motion.
   No Light Blue, no gold, no glassmorphism, no hover-scale.
   ========================================================================= */

:root {
  /* local layout aliases (palette comes from colors_and_type.css) */
  --deep:   var(--color-deep-blue);   /* #061F31 */
  --blue:   var(--color-blue);        /* #05385C */
  --ink:    var(--color-black);       /* #1D1D1B */
  --gray:   var(--color-gray);        /* #5C5B5C */
  --cloud:  var(--color-gray-cloud);  /* #DCE2E2 */
  --mist:   var(--color-light-gray);  /* #EEEEEE */

  --line-on-dark: rgba(255, 255, 255, 0.14);
  --line-on-dark-soft: rgba(255, 255, 255, 0.08);

  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1240px;

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
img, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--blue); color: #fff; }

/* ---- primitives -------------------------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--text-secondary);
  display: inline-flex; align-items: center; gap: 0.8em;
}
.eyebrow.on-dark { color: rgba(255,255,255,0.66); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.55; }

.display { letter-spacing: -0.025em; line-height: 1.02; font-weight: 700; text-wrap: balance; }

/* editorial numbered section head */
.section-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 52px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.ghost-num { font-size: clamp(3.4rem, 9vw, 6.5rem); font-weight: 700; line-height: 0.82; letter-spacing: -0.04em; color: var(--blue); }
.section-head h2 { margin: 0; font-size: clamp(1.9rem, 4.6vw, 2.85rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.section-head .eyebrow { margin-bottom: 0.6rem; }
.section-head .head-cta { grid-column: 2; justify-self: start; }

/* reveal-on-scroll (hidden only before .in, gated on .js so text never vanishes) */
.reveal { transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
.reveal[data-d="1"] { transition-delay: 0.06s; }
.reveal[data-d="2"] { transition-delay: 0.12s; }
.reveal[data-d="3"] { transition-delay: 0.18s; }
.reveal[data-d="4"] { transition-delay: 0.24s; }
html[data-motion="off"] .reveal { opacity: 1 !important; transform: none !important; transition: none; }

/* buttons — DS spec: radius 8, 200ms, color-shift hover (no scale) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-weight: 600; font-size: 14px; line-height: 1;
  height: 48px; padding: 0 20px; border-radius: 8px; border: 1px solid transparent;
  transition: background var(--dur-base, 200ms) var(--ease), color var(--dur-base, 200ms) var(--ease), border-color var(--dur-base, 200ms) var(--ease);
  white-space: nowrap;
}
.btn .arr { transition: transform var(--dur-base, 200ms) var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--deep); }
.btn-on-dark { background: #fff; color: var(--deep); }
.btn-on-dark:hover { background: var(--mist); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--cloud); }
.btn-outline:hover { background: var(--mist); }
.btn-sm { height: 40px; padding: 0 15px; font-size: 13px; }

/* =========================================================================
   NAV — solid Deep Blue, no blur (institutional chrome)
   ========================================================================= */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0%; background: var(--color-blue, #05385C); z-index: 120; }
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 110;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  background: transparent;
  transition: background var(--dur-slow, 320ms) var(--ease), padding var(--dur-slow, 320ms) var(--ease), border-color var(--dur-slow, 320ms) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.solid { background: var(--deep); padding-block: 13px; border-bottom-color: var(--line-on-dark-soft); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.brand-mark { height: 26px; width: auto; flex: none; }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-links { display: flex; gap: 26px; margin-right: 6px; }
.nav-links a { font-size: 14px; color: rgba(255,255,255,0.74); font-weight: 500; padding: 4px 0; transition: color var(--dur-base,200ms) var(--ease); }
.nav-links a:hover { color: #fff; }
@media (max-width: 880px) { .nav-links { display: none; } }
@media (max-width: 560px) { .nav .btn span.lbl { display: none; } .nav .btn { width: 44px; padding: 0; } }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  background: var(--deep);
  display: flex; flex-direction: column;
  min-height: clamp(600px, 92vh, 880px);
  padding-top: clamp(116px, 16vh, 188px);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(98deg, rgba(6,31,49,0.94) 0%, rgba(6,31,49,0.74) 32%, rgba(6,31,49,0.34) 62%, rgba(6,31,49,0.52) 100%),
    linear-gradient(180deg, rgba(6,31,49,0.55) 0%, rgba(6,31,49,0) 26%, rgba(6,31,49,0) 60%, rgba(6,31,49,0.94) 100%);
}
.hero-inner {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(28px, 5vw, 56px);
}
.hero-copy { max-width: none; width: 100%; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: clamp(24px, 5vw, 64px); margin-top: clamp(26px, 4vw, 48px); flex-wrap: wrap; }
.hero-eyebrow { color: rgba(255,255,255,0.66); margin-bottom: 24px; }
.hero h1 { margin: 0; font-size: clamp(2.6rem, 7.4vw, 6.1rem); font-weight: 700; letter-spacing: -0.03em; line-height: 0.98; }
.hero h1 .l1 { display: block; }
.hero h1 .l2 { color: rgba(255,255,255,0.6); text-align: right; }
.hero-sub { max-width: 44ch; font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: rgba(255,255,255,0.82); line-height: 1.55; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; flex: none; }

/* headline lines — static & always visible (restrained, on-brand) */
.line-mask { display: block; }
.line-mask > span { display: block; }

/* vertical editorial label */
.hero-vlabel {
  position: absolute; right: max(14px, calc((100vw - var(--maxw)) / 2 - 8px)); top: 46%;
  transform: translateY(-50%) rotate(90deg); transform-origin: center;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.42em;
  color: rgba(255,255,255,0.38);
}
@media (max-width: 1180px) { .hero-vlabel { display: none; } }

/* hero visual */
.hero-visual { position: relative; }
.hero-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-on-dark); aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.hero-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border-radius: var(--radius-sm);
  background: rgba(6,31,49,0.72); border: 1px solid var(--line-on-dark);
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; }

/* flags marquee */
.marquee { position: relative; margin-top: clamp(20px, 4vw, 34px); border-top: 1px solid var(--line-on-dark); border-bottom: 1px solid var(--line-on-dark); padding-block: 15px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 38px; width: max-content; animation: scrollx 40s linear infinite; }
html[data-motion="off"] .marquee-track { animation: none; }
.flagchip { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.flag { width: 28px; height: 20px; border-radius: 2px; flex: none; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); background: rgba(255,255,255,0.04); display: block; }
.flagchip span { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.66); }
@keyframes scrollx { to { transform: translateX(-50%); } }
html[data-flags="off"] .marquee { display: none; }

/* =========================================================================
   STATS (01) — Deep Blue band
   ========================================================================= */
.stats { background: var(--deep); color: #fff; padding-block: clamp(64px, 10vw, 124px); position: relative; }
.stats .ghost-num { color: #fff; opacity: 0.9; }
.stats .section-head h2 { color: #fff; }
.stats .eyebrow { color: rgba(255,255,255,0.66); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-on-dark); border-left: 1px solid var(--line-on-dark); }
.stat { padding: clamp(22px, 2.8vw, 36px); border-right: 1px solid var(--line-on-dark); border-bottom: 1px solid var(--line-on-dark); position: relative; transition: background var(--dur-slow,320ms) var(--ease); }
.stat:hover { background: rgba(255,255,255,0.03); }
.stat.feature { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.stat.feature .stat-top { display: flex; align-items: center; justify-content: space-between; }
.stat-num { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 0.9; color: #fff; display: inline-block; }
.stat.feature .stat-num { font-size: clamp(3.2rem, 8vw, 6rem); }
.stat-label { font-weight: 600; font-size: 1.02rem; margin-top: 12px; letter-spacing: -0.01em; }
.stat-desc { color: rgba(255,255,255,0.56); font-size: 0.9rem; margin-top: 3px; }
.stat-k { display: block; text-align: right; margin-bottom: 18px; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.34); }
.stat.feature .stat-k { text-align: left; margin-bottom: 0; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat.feature { grid-column: span 2; grid-row: auto; }
}

/* =========================================================================
   TESTIMONIOS (02) — three layouts via [data-stories-layout]
   ========================================================================= */
.stories { padding-block: clamp(64px, 10vw, 124px); background: var(--bg-primary); }

.story {
  text-align: left; background: #fff; border: 1px solid var(--cloud); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color var(--dur-base,200ms) var(--ease), box-shadow var(--dur-base,200ms) var(--ease);
}
.story:hover { border-color: var(--gray); box-shadow: var(--shadow-md); }
.story-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--deep); }
.story-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6,31,49,0) 38%, rgba(6,31,49,0.72) 100%); }
.story-idx, .story-cap { display: none; }
.play { position: absolute; inset: 0; margin: auto; z-index: 4; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--deep); display: grid; place-content: center; box-shadow: var(--shadow-md); transition: background var(--dur-base,200ms) var(--ease); }
.story:hover .play { background: var(--mist); }
.play svg { margin-left: 2px; }
.story-body { display: flex; flex-direction: column; gap: 14px; }
.story-foot { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; gap: 12px; }
.story-foot .who { font-weight: 600; letter-spacing: -0.01em; }
.story-foot .tag { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-secondary); }
/* list-only info block (hidden by default) */
.story-info { display: none; }

/* ---- MOSAICO (default): editorial grid w/ tall feature ---- */
[data-stories-layout="mosaico"] .stories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.2vw, 28px); }
[data-stories-layout="mosaico"] .story.tall { grid-row: span 2; }
[data-stories-layout="mosaico"] .story.tall .story-media { aspect-ratio: 4 / 5; }
@media (max-width: 720px) {
  [data-stories-layout="mosaico"] .stories-grid { grid-template-columns: 1fr; }
  [data-stories-layout="mosaico"] .story.tall { grid-row: auto; }
  [data-stories-layout="mosaico"] .story.tall .story-media { aspect-ratio: 16 / 10; }
}

/* ---- CARRUSEL: landscape (16:9) video cards in a horizontal snap rail ---- */
[data-stories-layout="carrusel"] .stories-grid { display: flex; gap: clamp(16px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
[data-stories-layout="carrusel"] .stories-grid::-webkit-scrollbar { display: none; }
[data-stories-layout="carrusel"] .story { flex: 0 0 clamp(320px, 38vw, 520px); scroll-snap-align: center; }
[data-stories-layout="carrusel"] .story .story-media,
[data-stories-layout="carrusel"] .story.tall .story-media { aspect-ratio: 16 / 9; }
[data-stories-layout="carrusel"] .carousel-nav { display: flex; }
@media (max-width: 560px) { [data-stories-layout="carrusel"] .story { flex-basis: 84vw; } }

/* ---- LISTA: full-width editorial rows with big numerals ---- */
[data-stories-layout="lista"] .stories-grid { display: flex; flex-direction: column; }
[data-stories-layout="lista"] .story { flex-direction: row; align-items: stretch; border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; gap: 0; padding: clamp(20px, 2.4vw, 32px) 0; }
[data-stories-layout="lista"] .story:first-child { border-top: 0; }
[data-stories-layout="lista"] .story:hover { box-shadow: none; background: var(--mist); }
[data-stories-layout="lista"] .story-media { flex: 0 0 clamp(180px, 26vw, 320px); aspect-ratio: 16 / 10; border-radius: var(--radius-md); margin: 0 clamp(20px, 2.4vw, 36px); align-self: center; }
[data-stories-layout="lista"] .story-cap { display: none; }
[data-stories-layout="lista"] .story-body { flex: 1; justify-content: center; padding-right: clamp(8px, 2vw, 28px); }
[data-stories-layout="lista"] .story-info { display: grid; grid-template-columns: auto 1fr; gap: 4px clamp(18px, 2.4vw, 30px); align-items: baseline; }
[data-stories-layout="lista"] .story-num { grid-row: span 2; font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.04em; color: var(--blue); line-height: 0.8; }
[data-stories-layout="lista"] .story-title { margin: 0; font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
[data-stories-layout="lista"] .story-desc { margin: 6px 0 0; color: var(--text-secondary); font-size: 0.96rem; line-height: 1.5; max-width: 52ch; }
[data-stories-layout="lista"] .story-foot { padding: 14px 0 0; max-width: none; }
[data-stories-layout="lista"] .story-foot .who { display: none; }
@media (max-width: 680px) {
  [data-stories-layout="lista"] .story { flex-direction: column; padding: 22px 0; }
  [data-stories-layout="lista"] .story-media { margin: 0 0 16px; flex-basis: auto; width: 100%; }
  [data-stories-layout="lista"] .story-body { padding-right: 0; }
  [data-stories-layout="lista"] .story-num { grid-row: auto; }
}

/* carousel nav (shown only in carrusel) */
.carousel-nav { display: none; justify-content: flex-end; gap: 10px; margin-top: -8px; margin-bottom: clamp(18px, 2.4vw, 26px); }
.cnav { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--cloud); color: var(--ink); display: grid; place-content: center; background: #fff; transition: background var(--dur-base,200ms) var(--ease), border-color var(--dur-base,200ms) var(--ease); }
.cnav:hover { background: var(--mist); border-color: var(--gray); }

/* Lightbox — Deep Blue solid card on Deep Blue scrim, no blur */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 22px; background: rgba(6,31,49,0.6); opacity: 0; visibility: hidden; transition: opacity var(--dur-slow,320ms) var(--ease), visibility var(--dur-slow,320ms); }
.lightbox.open { opacity: 1; visibility: visible; }
.lb-card { width: min(900px, 100%); background: var(--deep); border: 1px solid var(--line-on-dark); border-radius: var(--radius-lg); overflow: hidden; transform: translateY(14px); transition: transform var(--dur-slow,320ms) var(--ease); box-shadow: var(--shadow-lg); }
.lightbox.open .lb-card { transform: none; }
.lb-stage { position: relative; aspect-ratio: 16 / 9; background: #04111c; overflow: hidden; }
.lb-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lb-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,17,28,0.1), rgba(4,17,28,0.55)); }
.lb-bigplay { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; background: #fff; color: var(--deep); display: grid; place-content: center; transition: background var(--dur-base,200ms) var(--ease); z-index: 3; }
.lb-bigplay:hover { background: var(--mist); }
.lb-bigplay.hidden { opacity: 0; pointer-events: none; }
.lb-controls { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 14px 16px; display: flex; align-items: center; gap: 13px; color: #fff; }
.lb-bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.24); overflow: hidden; cursor: pointer; }
.lb-bar > i { display: block; height: 100%; width: 0%; background: #fff; }
.lb-time { font-size: 12px; font-variant-numeric: tabular-nums; color: rgba(255,255,255,0.82); }
.lb-ctrlbtn { color: #fff; width: 32px; height: 32px; display: grid; place-content: center; border-radius: 50%; transition: background var(--dur-base,200ms) var(--ease); }
.lb-ctrlbtn:hover { background: rgba(255,255,255,0.12); }
.lb-meta { padding: 18px 20px; color: #fff; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.lb-meta h3 { margin: 0 0 6px; font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.lb-meta p { margin: 0; color: rgba(255,255,255,0.62); font-size: 0.92rem; }
.lb-meta .tag { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); flex: none; }
.lb-close { position: absolute; top: 13px; right: 13px; z-index: 6; width: 38px; height: 38px; border-radius: 50%; background: rgba(6,31,49,0.6); border: 1px solid var(--line-on-dark); color: #fff; display: grid; place-content: center; transition: background var(--dur-base,200ms) var(--ease); }
.lb-close:hover { background: rgba(6,31,49,0.92); }

/* =========================================================================
   ACCESOS (03)
   ========================================================================= */
.contact { padding-block: clamp(64px, 10vw, 124px); background: var(--bg-subtle); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(16px, 2.2vw, 26px); align-items: stretch; }
.contact-col { display: grid; gap: clamp(14px, 1.6vw, 18px); align-content: start; }
.ccard { display: flex; align-items: center; gap: 18px; padding: clamp(20px, 2.4vw, 28px); background: #fff; border: 1px solid var(--cloud); border-radius: var(--radius-lg); transition: border-color var(--dur-base,200ms) var(--ease), box-shadow var(--dur-base,200ms) var(--ease); position: relative; }
.ccard:hover { border-color: var(--gray); box-shadow: var(--shadow-sm); }
.ccard .ic { width: 50px; height: 50px; border-radius: var(--radius-md); flex: none; display: grid; place-content: center; background: var(--mist); color: var(--blue); }
.ccard .cbody { flex: 1; min-width: 0; }
.ccard .ctitle { font-weight: 700; font-size: 1.16rem; letter-spacing: -0.015em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ccard .cdesc { color: var(--text-secondary); font-size: 0.92rem; margin-top: 3px; }
.ccard .arr { flex: none; color: var(--blue); transition: transform var(--dur-base,200ms) var(--ease); }
.ccard:hover .arr { transform: translateX(4px); }
.badge { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--radius-sm); background: var(--mist); color: var(--blue); }

.ccard.feature { flex-direction: column; align-items: flex-start; justify-content: space-between; background: var(--gradient-hero); color: #fff; border-color: transparent; height: 100%; min-height: 320px; gap: 26px; }
.ccard.feature:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.ccard.feature .ic { background: rgba(255,255,255,0.1); color: #fff; width: 56px; height: 56px; }
.ccard.feature .ctitle { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.ccard.feature .cdesc { color: rgba(255,255,255,0.72); font-size: 1rem; line-height: 1.55; }
.ccard.feature .feat-top { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.ccard.feature .feat-mid { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.ccard.feature .feat-eyebrow { color: rgba(255,255,255,0.66); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: #000; color: rgba(255,255,255,0.7); padding-top: clamp(64px, 9vw, 112px); }
.footer-cta { text-align: center; padding-bottom: clamp(52px, 8vw, 92px); border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-cta .eyebrow { color: rgba(255,255,255,0.6); justify-content: center; margin-bottom: 20px; }
.footer-cta h2 { font-weight: 700; font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1.0; letter-spacing: -0.03em; margin: 0 0 28px; color: #fff; }
.footer-cta h2 em { font-style: normal; color: rgba(255,255,255,0.55); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-block: clamp(44px, 6vw, 72px); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.55); max-width: 34ch; line-height: 1.6; margin: 0; font-size: 14px; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin: 0 0 16px; font-weight: 600; }
.footer-col a { display: block; color: rgba(255,255,255,0.58); margin-bottom: 10px; transition: color var(--dur-base,200ms) var(--ease); font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 12px; color: rgba(255,255,255,0.45); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }

/* =========================================================================
   responsive hero collapse
   ========================================================================= */
@media (max-width: 900px) {
  .hero-sub { max-width: 48ch; }
  .hero h1 .l2 { text-align: left; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .section-head { grid-template-columns: 1fr; gap: 8px; align-items: start; }
}

/* tweaks root host */
#tweaks-root { position: fixed; z-index: 300; }
