/* =============================================================
   GFL16 — Apple-style home v2
   Pure white / pure black / single accent blue.
   Inter Tight as SF Pro Display substitute.
   ============================================================= */

:root {
  /* Brand palette — DARK THEME · extracted from gfl16.com */
  --ink:          #1C1515;          /* primary background — brand near-black */
  --ink-2:        #261C1B;          /* alternating section, slightly lighter */
  --ink-3:        #100B0B;          /* deepest contrast */
  --paper:        #F8F4EC;          /* light text on dark */
  --paper-2:      #EFE8D8;
  --hairline:     rgba(248, 244, 236, 0.10);
  --hairline-2:   rgba(248, 244, 236, 0.18);

  --text:         #F8F4EC;          /* primary text on dark */
  --text-2:       rgba(248, 244, 236, 0.70);
  --text-3:       rgba(248, 244, 236, 0.45);

  --red:          #B91E2C;          /* vibrant brand red (logo "16" + bar) */
  --red-h:        #D02838;
  --red-deep:     #8B1C1C;          /* deeper brand red, used in dark surfaces */
  --gold:         #BF9B5C;
  --gold-light:   #CCAF7D;

  /* Aliases for legacy rules */
  --white:        #ffffff;          /* keep real white for text on dark */
  --cream:        #261C1B;
  --cream-2:      #1C1515;
  --gray-1:       #261C1B;          /* legacy section gray → ink-2 */
  --gray-2:       rgba(248, 244, 236, 0.08);
  --gray-3:       rgba(248, 244, 236, 0.14);
  --black:        #100B0B;
  --blue:         #B91E2C;          /* legacy "blue" CTAs → vibrant red */
  --blue-hover:   #D02838;

  --radius-card:  22px;
  --radius-btn:   980px;             /* full pill */

  --w-prose:      692px;             /* Apple uses ~692 for sub copy */
  --w-section:    1024px;            /* Apple section width */
  --w-wide:       1280px;

  --pad-x:        max(22px, env(safe-area-inset-left));
  --section-y:    clamp(80px, 9vw, 130px);

  --ease-out:     cubic-bezier(.16, 1, .3, 1);
  --ease:         cubic-bezier(.4, 0, .2, 1);
}

/* ────── RESET ────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-feature-settings: "ss01", "cv11";
  font-size: 17px;
  line-height: 1.47;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea {
  font: inherit; color: inherit;
  background: none; border: 0; outline: none;
  font-family: inherit;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }


/* ============================================================
   TYPOGRAPHY · Apple's exact display scale
   ============================================================ */
.eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--text-2);
  margin: 0 0 18px;
  text-transform: none;
}

/* hero/section titles */
.hero__title,
.section-title,
.moment__title,
.founder__title,
.stat__big {
  font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1.05;
  color: var(--text);
  margin: 0;
}

.accent       { color: var(--text-3); }            /* the 'softer' clause */
.accent-light { color: rgba(255,255,255,.45); font-weight: 400; }


/* ============================================================
   BUTTONS · Apple pill
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.01em;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), opacity .2s var(--ease), transform .25s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
}
.btn--primary:hover { background: var(--blue-hover); }
.btn--secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn--secondary:hover { background: var(--text); color: var(--ink); }
.btn--full { width: 100%; }


/* ============================================================
   LINK BLUE · Apple's "Learn more ›"
   ============================================================ */
.link-blue {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -.01em;
  transition: color .2s var(--ease);
}
.link-blue:hover { color: var(--blue-hover); text-decoration: underline; }
.link-blue span { font-weight: 400; transition: transform .25s var(--ease); display: inline-block; }
.link-blue:hover span { transform: translateX(3px); }
.link-blue--light { color: var(--gold); }
.link-blue--light:hover { color: var(--gold-light); }


/* ============================================================
   NAV · Apple top bar
   ============================================================ */
.nav {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 48px;
  background: rgba(28, 21, 21, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner {
  max-width: 1024px;
  height: 100%;
  margin: 0 auto;
  padding-inline: var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
}

.nav__logo {
  display: inline-flex; align-items: center;
  height: 100%;
}
.nav__logo img {
  height: 26px;
  width: auto;
  display: block;
}

.nav__menu {
  display: flex; align-items: center; gap: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--text);
}
.nav__menu a {
  padding: 0 10px;
  opacity: .8;
  transition: opacity .2s var(--ease);
}
.nav__menu a:hover { opacity: 1; }

.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__lang {
  font-size: 12px;
  color: var(--text);
  opacity: .8;
  cursor: pointer;
  letter-spacing: .04em;
}
.nav__lang:hover { opacity: 1; }
.nav__cta {
  font-size: 12px;
  font-weight: 500;
  color: var(--red);
  padding: 4px 10px;
  border-radius: 999px;
  transition: color .2s var(--ease);
}
.nav__cta:hover { color: var(--red-h); }
.nav__cta--demo {
  color: var(--gold);
  border: 1px solid rgba(191,155,92,.4);
  padding: 4px 12px;
}
.nav__cta--demo:hover { color: var(--gold-light); border-color: var(--gold); }

.nav__burger { display: none; width: 28px; height: 28px; position: relative; }
.nav__burger span {
  position: absolute; left: 6px; right: 6px;
  height: 1.4px; background: var(--text);
  transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s var(--ease);
}
.nav__burger span:nth-child(1) { top: 10px; }
.nav__burger span:nth-child(2) { top: 14px; }
.nav__burger span:nth-child(3) { top: 18px; }
.nav__burger.is-open span:nth-child(1) { top: 14px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { top: 14px; transform: rotate(-45deg); }

@media (max-width: 800px) {
  /* Menú móvil · drawer que baja desde el nav */
  .nav__menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 48px; left: 0; right: 0;
    gap: 0;
    padding: 22px var(--pad-x);
    background: rgba(28, 21, 21, 0.96);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--hairline);
    transform: translateY(-110%);
    transition: transform .35s var(--ease);
    z-index: 90;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__menu a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--hairline);
    opacity: 1;
  }
  .nav__menu a::after { display: none; }
  .nav__menu a:last-child { border-bottom: none; }
  .nav__burger { display: block; }
  /* CTA "Ver aula virtual" se reduce en mobile */
  .nav__cta--demo { padding: 4px 8px; font-size: 11px; }
}
@media (max-width: 480px) {
  .nav__cta--demo { display: none; }
}


/* ============================================================
   01 · HERO  (white, centered, huge type)
   ============================================================ */
.hero {
  background: var(--ink);
  padding: clamp(70px, 11vw, 130px) var(--pad-x) clamp(60px, 10vw, 110px);
  text-align: center;
}
.hero__content {
  max-width: 980px;
  margin: 0 auto;
}
.hero__title {
  font-size: clamp(40px, 7.6vw, 96px);
  margin-bottom: 22px;
}
.hero__sub {
  font-size: clamp(19px, 1.5vw, 24px);
  line-height: 1.4;
  font-weight: 400;
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto 32px;
  letter-spacing: -.01em;
}
.hero__cta {
  display: inline-flex; align-items: center;
  gap: 24px; flex-wrap: wrap;
  justify-content: center;
}


/* ============================================================
   02 · BIG STAT MOMENT (black band)
   ============================================================ */
.stat {
  background: var(--black);
  color: var(--white);
  padding: clamp(120px, 16vw, 220px) var(--pad-x);
  text-align: center;
}
.stat__inner { max-width: 1024px; margin: 0 auto; }
.stat__big {
  color: var(--white);
  font-size: clamp(40px, 6.4vw, 80px);
  letter-spacing: -.022em;
  line-height: 1.05;
  font-weight: 600;
  margin: 0 0 28px;
}
.stat__big .accent { color: var(--gold); opacity: .92; font-weight: 600; }
.stat__sub {
  max-width: 600px;
  margin: 0 auto;
  font-size: 19px;
  color: rgba(255,255,255,.7);
  line-height: 1.45;
  letter-spacing: -.01em;
}


/* ============================================================
   03 · MOMENT  (full-bleed text section)
   ============================================================ */
.moment {
  padding: var(--section-y) var(--pad-x);
  text-align: center;
}
.moment--light { background: var(--gray-1); }
.moment__inner {
  max-width: 900px;
  margin: 0 auto;
}
.moment__title {
  font-size: clamp(34px, 5.4vw, 64px);
  margin-bottom: 22px;
}
.moment__sub {
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.5;
  color: var(--text-2);
  max-width: 700px;
  margin: 0 auto 28px;
}


/* ============================================================
   SECTION HEAD shared
   ============================================================ */
.section-head {
  text-align: center;
  max-width: var(--w-prose);
  margin: 0 auto clamp(40px, 6vw, 70px);
  padding: 0 var(--pad-x);
}
.section-title {
  font-size: clamp(34px, 5.2vw, 56px);
}
.section-sub {
  margin: 18px auto 0;
  max-width: 640px;
  font-size: clamp(17px, 1.2vw, 21px);
  color: var(--text-2);
  line-height: 1.45;
  letter-spacing: -.01em;
}


/* ============================================================
   04 · PATHS (3 big cards)
   ============================================================ */
.paths {
  background: var(--gray-1);
  padding: var(--section-y) var(--pad-x);
}
.paths__grid {
  max-width: var(--w-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
@media (max-width: 900px) {
  .paths__grid { grid-template-columns: 1fr; }
}

.path {
  background: var(--ink-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 44px 36px 40px;
  display: flex; flex-direction: column;
  min-height: 380px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.path:hover { transform: translateY(-3px); border-color: var(--gold); }
.path--dark {
  background: var(--red-deep);
  border-color: transparent;
  color: var(--paper);
}
.path--dark:hover { background: #A12222; border-color: var(--gold); }
.path--dark .path__copy { color: rgba(248, 244, 236, 0.78); }

.path__eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  margin: 0 0 18px;
  letter-spacing: -.005em;
}
.path--dark .path__eyebrow { color: rgba(255,255,255,.5); }

.path__title {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 0 0 16px;
  color: inherit;
}
.path__copy {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-2);
  margin: 0 0 auto;
  padding-bottom: 28px;
  max-width: 32ch;
}


/* ============================================================
   05 · FOUNDER CARD
   ============================================================ */
.founder {
  background: var(--ink);
  padding: var(--section-y) var(--pad-x);
}
.founder__card {
  max-width: var(--w-wide);
  margin: 0 auto;
  background: var(--gray-1);
  border-radius: 28px;
  padding: clamp(36px, 5vw, 72px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .founder__card { grid-template-columns: 1fr; } }

.founder__visual { position: relative; }
.founder__tag {
  position: absolute; top: 18px; left: 18px; z-index: 3;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}
.founder__placeholder {
  background: var(--black);
  border-radius: 20px;
  aspect-ratio: 4 / 5;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 24px;
}
.founder__placeholder p {
  font-family: "Inter Tight", sans-serif;
  font-size: 32px; font-weight: 600;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.founder__placeholder small {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  letter-spacing: -.005em;
}

.founder__copy { padding: 8px 0; }
.founder__copy .eyebrow { color: var(--text-3); }
.founder__title {
  font-size: clamp(30px, 4.4vw, 48px);
  margin: 0 0 22px;
}
.founder__copy > p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 26px;
  max-width: 56ch;
}
.founder__list {
  display: flex; flex-direction: column;
  gap: 10px;
  margin: 0 0 28px;
}
.founder__list li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text);
}
.founder__list li::before {
  content: ""; position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 1.5px;
  background: var(--blue);
  border-radius: 2px;
}


/* ============================================================
   06 · SERVICES
   ============================================================ */
.services {
  background: var(--gray-1);
  padding: var(--section-y) var(--pad-x);
}
.services__list {
  max-width: var(--w-section);
  margin: 0 auto;
  border-top: 1px solid var(--gray-3);
}
.service {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 44px 0;
  border-bottom: 1px solid var(--gray-3);
}
@media (max-width: 700px) {
  .service { grid-template-columns: 1fr; gap: 12px; padding: 36px 0; }
}
.service__num {
  font-family: "Inter Tight", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
  padding-top: 8px;
  letter-spacing: -.005em;
}
.service__body h3 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.service__body p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 18px;
  max-width: 64ch;
}


/* ============================================================
   07 · WHY US — feature grid
   ============================================================ */
.why {
  background: var(--ink);
  padding: var(--section-y) var(--pad-x);
}
.why__grid {
  max-width: var(--w-section);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 980px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why__grid { grid-template-columns: 1fr; } }

.feature {
  padding: 32px 28px;
  border-right: 1px solid var(--gray-2);
}
.feature:last-child { border-right: 0; }
@media (max-width: 980px) {
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(3),
  .feature:nth-child(4) { border-top: 1px solid var(--gray-2); }
}
@media (max-width: 560px) {
  .feature { border-right: 0; padding: 28px 0; }
  .feature + .feature { border-top: 1px solid var(--gray-2); }
}

.feature h3 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -.018em;
  line-height: 1.2;
  margin: 0 0 10px;
}
.feature p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
  margin: 0;
}


/* ============================================================
   08 · TESTIMONIALS — clean grid
   ============================================================ */
.quotes {
  background: var(--gray-1);
  padding: var(--section-y) var(--pad-x);
}
.quotes__grid {
  max-width: var(--w-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .quotes__grid { grid-template-columns: 1fr; } }

.q {
  margin: 0;
  background: var(--ink);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}
.q blockquote {
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -.015em;
  line-height: 1.4;
  color: var(--text);
}
.q figcaption {
  font-size: 14px;
  color: var(--text-2);
}
.q figcaption strong {
  color: var(--text);
  font-weight: 500;
}


/* ============================================================
   09 · PRICING
   ============================================================ */
.pricing {
  background: var(--ink);
  padding: var(--section-y) var(--pad-x);
}
.plans {
  max-width: var(--w-section);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

.plan {
  background: var(--ink-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 36px 30px 32px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.plan:hover { transform: translateY(-3px); border-color: var(--gold); }
.plan--featured {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px -30px rgba(191, 155, 92, 0.25);
}
.plan__ribbon {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px; font-weight: 700;
  background: var(--red); color: var(--paper);
  padding: 6px 14px; border-radius: 999px;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px -6px rgba(185, 30, 44, 0.45);
}

.plan header { margin-bottom: 22px; }
.plan__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
  margin: 0 0 12px;
  letter-spacing: -.005em;
}
.plan--featured .plan__name { color: rgba(28, 21, 21, .55); }

.plan__price { margin: 0 0 6px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan__old {
  font-size: 17px;
  color: var(--text-3);
  text-decoration: line-through;
}
.plan--featured .plan__old { color: rgba(28, 21, 21, .35); }
.plan__now {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: clamp(34px, 4vw, 44px);
  letter-spacing: -.022em;
  line-height: 1;
}
.plan__from {
  font-size: 13px;
  color: var(--text-2);
  margin: 8px 0 0;
}
.plan--featured .plan__from { color: rgba(28, 21, 21, .55); }

.plan ul {
  display: flex; flex-direction: column; gap: 12px;
  margin: 0 0 28px;
  flex: 1;
  border-top: 1px solid var(--gray-3);
  padding-top: 22px;
}
.plan--featured ul { border-top-color: rgba(28, 21, 21, .15); }
.plan ul li {
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  position: relative;
  padding-left: 24px;
}
.plan--featured ul li { color: var(--ink); }
.plan ul li::before {
  content: ""; position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 7px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}

.plan--featured .btn--primary { background: var(--blue); }
.plan--featured .btn--primary:hover { background: var(--blue-hover); }

.pricing__note {
  margin: 36px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  max-width: 540px;
}


/* ============================================================
   10 · FAQ — clean accordion
   ============================================================ */
.faq {
  background: var(--gray-1);
  padding: var(--section-y) var(--pad-x);
}
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--gray-3);
}
.qa { border-bottom: 1px solid var(--gray-3); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  list-style: none;
  cursor: pointer;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 500;
  letter-spacing: -.018em;
  line-height: 1.3;
  transition: color .2s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--text);
  position: relative;
  transition: transform .3s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.qa summary i::before, .qa summary i::after {
  content: ""; position: absolute;
  background: currentColor;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.qa summary i::before { width: 9px; height: 1.5px; }
.qa summary i::after  { width: 1.5px; height: 9px; transition: transform .3s var(--ease); }
.qa[open] summary i { background: var(--blue); border-color: var(--blue); color: var(--white); transform: rotate(180deg); }
.qa[open] summary i::after { transform: translate(-50%,-50%) scaleY(0); }

.qa__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s var(--ease);
}
.qa[open] .qa__body { max-height: 600px; }
.qa__body p {
  margin: -8px 0 28px;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.55;
  max-width: 60ch;
}


/* ============================================================
   11 · CONTACT
   ============================================================ */
.contact {
  background: var(--ink);
  padding: var(--section-y) var(--pad-x);
}
.contact__form {
  max-width: 620px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 14px;
}
.contact__form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) { .contact__form .row { grid-template-columns: 1fr; } }

.contact__form label { display: flex; flex-direction: column; gap: 6px; }
.contact__form label span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: -.005em;
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  background: var(--ink-2);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  border: 1px solid var(--hairline);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: var(--text-3); }
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  border-color: var(--red);
  background: var(--ink-3);
}
.contact__form select option { background: var(--ink); color: var(--text); }

.contact__feedback {
  margin: 8px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid var(--hairline);
  background: var(--ink-2);
}
.contact__feedback.is-ok  { border-color: rgba(111,191,139,.45); color: #B8E5C7; background: rgba(111,191,139,.08); }
.contact__feedback.is-err { border-color: var(--red); color: #FFB4BB; background: rgba(185,30,44,.10); }


/* ============================================================
   COOKIE BANNER · GDPR
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 22px; right: 22px; bottom: 22px;
  z-index: 9500;
  max-width: 560px;
  background: var(--ink-2);
  border: 1px solid var(--hairline-2);
  border-radius: 14px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  transform: translateY(20px);
  opacity: 0;
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out);
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner.is-hidden { display: none; }
@media (max-width: 600px) {
  .cookie-banner { grid-template-columns: 1fr; left: 14px; right: 14px; bottom: 14px; padding: 16px 18px; }
}
.cookie-banner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
}
.cookie-banner p strong { color: var(--paper); font-weight: 600; }
.cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(191,155,92,.4);
}
.cookie-banner a:hover { text-decoration-color: var(--gold); }
.cookie-banner__btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper);
  color: var(--ink);
  border: none;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s var(--ease);
  white-space: nowrap;
}
.cookie-banner__btn:hover { background: var(--gold); }
.contact__form textarea { resize: vertical; min-height: 100px; }
.contact__form .btn { margin-top: 12px; height: 50px; }

.contact__alt {
  text-align: center;
  margin-top: 28px;
  font-size: 15px;
  color: var(--text-2);
}


/* ============================================================
   FOOTER · Apple bottom
   ============================================================ */
.foot {
  background: var(--gray-1);
  border-top: 1px solid var(--gray-2);
  font-size: 12px;
  color: var(--text-2);
}
.foot__inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 40px var(--pad-x) 24px;
}
.foot__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-2);
}
@media (max-width: 700px) { .foot__cols { grid-template-columns: repeat(2, 1fr); } }

.foot__cols h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
  letter-spacing: -.005em;
}
.foot__cols ul { display: flex; flex-direction: column; gap: 7px; }
.foot__cols a {
  color: var(--text-2);
  font-size: 12px;
  transition: color .2s var(--ease);
}
.foot__cols a:hover { color: var(--text); text-decoration: underline; }

.foot__bar {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between;
  padding-top: 18px;
  font-size: 12px;
  color: var(--text-2);
}
.foot__bar p { margin: 0; }


/* ============================================================
   INTRO · logo animation overlay
   ============================================================ */
body.is-locked { overflow: hidden; }

.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: grid; place-items: center;
  pointer-events: none;
  overflow: hidden;
}
.intro::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(191,155,92,.08), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(185,30,44,.06), transparent 60%);
}
.intro__stage {
  position: relative;
  width: clamp(220px, 38vw, 460px);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}

.intro__bar {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s var(--ease-out);
  box-shadow: 0 0 24px rgba(185, 30, 44, 0.55);
}

.intro__logo {
  width: 100%;
  opacity: 0;
  transform: scale(.92);
  filter: blur(6px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
}
.intro__logo img { width: 100%; height: auto; display: block; }

.intro__tag {
  margin: 0;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(248,244,236,.55);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .8s var(--ease-out) .15s, transform .8s var(--ease-out) .15s;
}

/* states added by JS */
.intro.s1 .intro__bar { transform: scaleX(1); }
.intro.s2 .intro__bar {
  transform-origin: right center;
  transform: scaleX(0);
  transition: transform .55s var(--ease-out);
}
.intro.s2 .intro__logo { opacity: 1; transform: scale(1); filter: blur(0); }
.intro.s2 .intro__tag  { opacity: 1; transform: translateY(0); }
.intro.s3 {
  opacity: 0;
  transition: opacity .9s var(--ease);
}


/* ============================================================
   HERO · red bar accent (logo nod)
   ============================================================ */
.hero__bar {
  display: block;
  width: 0;
  height: 4px;
  background: var(--red);
  margin: 0 auto 28px;
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(185, 30, 44, 0.4);
  transition: width 1.1s var(--ease-out);
}
.hero__bar.is-in { width: 80px; }


/* ============================================================
   ASSET-SPECIFIC RULES (real images)
   ============================================================ */

/* — paths · trophy icons — */
.path__media {
  width: 72px; height: 72px;
  margin-bottom: 22px;
  display: flex; align-items: center; justify-content: flex-start;
}
.path__media img {
  height: 100%; width: auto;
  object-fit: contain;
  transition: transform .5s var(--ease-out);
}
.path:hover .path__media img { transform: scale(1.08) rotate(-2deg); }
.path--dark .path__media img {
  /* lighten the gold a touch on dark bg */
  filter: brightness(1.05);
}

/* — why-us · icon over feature — */
.feature__icon {
  width: 44px; height: 44px;
  margin-bottom: 18px;
  display: block;
}
.feature__icon img { width: 100%; height: 100%; object-fit: contain; }

/* — founder · real photo + signature — */
.founder__photo {
  position: relative;
  background: var(--ink);
  border-radius: 20px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.founder__photo::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(191,155,92,.20), transparent 55%),
    linear-gradient(180deg, transparent 40%, rgba(28,21,21,.55) 100%);
  z-index: 1;
}
.founder__photo img.founder__face {
  position: relative;
  z-index: 1;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
}
.founder__signature {
  position: absolute; bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 60%;
  max-width: 220px;
  opacity: .95;
  pointer-events: none;
}

/* — services · optional icon strip — */
.service__icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
}
.service__icon img { width: 100%; height: 100%; object-fit: contain; }


/* ============================================================
   CURSOR · magnetic
   ============================================================ */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9000;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  transition: opacity .3s ease, width .3s var(--ease), height .3s var(--ease), background .3s var(--ease);
  will-change: transform;
}
.cursor {
  width: 38px; height: 38px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
@media (hover: hover) and (pointer: fine) {
  /* El cursor custom solo se activa en la web pública (body sin .aula).
     En el aula y otras vistas tipo dashboard usamos cursor nativo. */
  body:not(.aula):not(.no-cursor) .cursor,
  body:not(.aula):not(.no-cursor) .cursor-dot { opacity: 1; }
  body:not(.aula):not(.no-cursor) { cursor: none; }
  body:not(.aula):not(.no-cursor) a,
  body:not(.aula):not(.no-cursor) button,
  body:not(.aula):not(.no-cursor) summary,
  body:not(.aula):not(.no-cursor) label,
  body:not(.aula):not(.no-cursor) input,
  body:not(.aula):not(.no-cursor) select,
  body:not(.aula):not(.no-cursor) textarea,
  body:not(.aula):not(.no-cursor) [data-tilt],
  body:not(.aula):not(.no-cursor) [data-magnet] { cursor: none; }
  .cursor.is-hover {
    width: 80px; height: 80px;
    background: rgba(191, 155, 92, 0.10);
    border-color: var(--gold);
  }
  .cursor.is-cta {
    width: 100px; height: 100px;
    background: rgba(185, 30, 44, 0.16);
    border-color: var(--red);
    mix-blend-mode: normal;
  }
}


/* ============================================================
   ORB · gradient blob that follows mouse
   ============================================================ */
.orb {
  position: fixed;
  top: 0; left: 0;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 30, 44, 0.20), rgba(191, 155, 92, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate3d(-50%, -50%, 0);
  filter: blur(48px);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .8s ease;
  will-change: transform;
}
.orb.is-on { opacity: 1; }


/* ============================================================
   HERO 3D · canvas + scrolling text mods
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  display: flex; align-items: center;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero__noise {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero__content { position: relative; z-index: 2; }

/* split title — letters/words slide up on entrance */
.hero__title {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: clamp(48px, 9.5vw, 132px);
  line-height: 0.95;
  letter-spacing: -.025em;
  margin: 22px 0 28px;
  text-align: center;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: .04em;
}
.hero__title em {
  display: inline-block;
  font-style: normal;
  transform: translateY(110%);
  will-change: transform;
}
.hero__title .serif-i {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
}
.hero__title .accent em { color: var(--gold); }

/* hero meta · animated counters */
.hero__meta {
  margin: clamp(48px, 6vw, 80px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(16px, 3vw, 36px);
  border-top: 1px solid var(--hairline);
  padding-top: 28px;
  max-width: 720px;
  text-align: left;
  padding-inline: 8px;
}
@media (max-width: 560px) {
  .hero__meta {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
    padding-top: 22px;
    max-width: 320px;
  }
  .hero__meta li { padding-bottom: 14px; border-bottom: 1px solid var(--hairline); }
  .hero__meta li:last-child { border-bottom: none; }
}
.hero__meta li { display: flex; flex-direction: column; gap: 6px; }
.hero__meta strong {
  font-family: "Inter Tight", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.022em;
  color: var(--gold);
}
.hero__meta span {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-3);
  letter-spacing: .02em;
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--text-3);
}
.hero__scroll svg {
  width: 12px; height: 22px;
  animation: heroScroll 2.4s var(--ease) infinite;
}
@keyframes heroScroll {
  0%, 100% { transform: translateY(0); opacity: .4; }
  50%      { transform: translateY(6px); opacity: 1; }
}


/* ============================================================
   MARQUEES · scrolling text bands between sections
   ============================================================ */
.marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--ink);
  padding: 22px 0;
  position: relative;
  z-index: 2;
}
.marquee__track {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: 38px;
  animation: marqueeRoll 40s linear infinite;
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 4vw, 56px);
  letter-spacing: -.02em;
  color: var(--paper);
}
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 36s; }
.marquee__track i {
  font-style: normal;
  color: var(--gold);
  font-size: .55em;
}
.marquee__track span:nth-child(2n+1) { color: var(--paper); }
.marquee__track span:nth-child(4n+3) { color: var(--text-3); font-style: italic; font-family: "Instrument Serif", serif; font-weight: 400; }
@keyframes marqueeRoll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}


/* ============================================================
   3D TILT · cards
   ============================================================ */
[data-tilt] {
  transform-style: preserve-3d;
  perspective: 1200px;
  transition: transform .35s var(--ease-out);
  will-change: transform;
}
[data-tilt] > * { transform-style: preserve-3d; transition: transform .35s var(--ease-out); }

/* tilt children — use CSS variable set by JS */
[data-tilt].is-tilting {
  transition: none;
  transform:
    perspective(1200px)
    rotateX(var(--tx, 0deg))
    rotateY(var(--ty, 0deg));
}
[data-tilt].is-tilting [data-tilt-z] {
  transform: translateZ(var(--tz, 24px));
}


/* ============================================================
   FLOATING · subtle Y oscillation on featured card
   ============================================================ */
@keyframes floaty {
  0%, 100% { transform: translateY(-8px); }
  50%      { transform: translateY(-22px); }
}
[data-floating] {
  animation: floaty 6s ease-in-out infinite;
}


/* ============================================================
   COUNTER text style (already inherits but ensure tabular nums)
   ============================================================ */
[data-counter] { font-variant-numeric: tabular-nums; }


/* ============================================================
   PARALLAX img inside founder
   ============================================================ */
[data-parallax] {
  will-change: transform;
  transition: transform .1s linear;
}


/* ============================================================
   ANIMATIONS — fade-up baseline (subtle, Apple-like)
   ============================================================ */
[data-fade] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--fade-delay, 0s);
}
[data-fade].is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-fade] { opacity: 1; transform: none; }
}
