/* ============================================================
   INTELECTA ABOGADAS — Design System (fiel al original)
   Tema editorial claro: marfil + azul lavanda suave + tinta navy + dorado
   Tipografía: Cormorant Garamond (display) + Inter (texto)
   ============================================================ */

:root {
  --ivory: oklch(98.5% .005 80);
  --ink: oklch(18% .035 252);
  --navy: oklch(22% .04 252);
  --navy-deep: oklch(13% .03 252);
  --muted: oklch(45% .015 252);
  --line: oklch(88% .01 80);
  --line-soft: oklch(92% .008 80);
  --card: oklch(100% 0 0);
  --gold: oklch(74% .12 80);
  --gold-deep: oklch(64% .11 72);
  --gold-soft: oklch(74% .12 80 / .14);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(.85rem, .82rem + .15vw, .95rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.06rem);
  --step-1:  clamp(1.15rem, 1.05rem + .45vw, 1.4rem);
  --step-2:  clamp(1.55rem, 1.35rem + .8vw, 1.9rem);   /* ~30px form/nombres */
  --step-3:  clamp(1.9rem, 1.4rem + 2.2vw, 3rem);      /* 48px section h2 */
  --h-page:  clamp(2.4rem, 1.7rem + 3.2vw, 4.5rem);    /* 72px subpage h1 */
  --h-cta:   clamp(2.1rem, 1.5rem + 2.8vw, 3.75rem);   /* 60px home cta band */
  --step-4:  clamp(3rem, 1.8rem + 5vw, 6rem);          /* 96px hero h1 */

  --radius: 0px;
  --radius-lg: 0px;
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);

  --shadow-soft: 0 12px 40px -20px oklch(30% .04 252 / .25);
  --shadow-luxe: 0 40px 90px -40px oklch(30% .04 252 / .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: -.02em; }
em { font-style: italic; }
/* El original resalta en dorado SOLO el hero del home y el CTA del home, sin itálica */
.hero h1 em, .cta-band h2 em { color: var(--gold); font-style: normal; }
/* Todos los demás títulos: uniformes, sin dorado ni itálica (fiel al original) */
.page-hero h1 em, .sec-head h2 em, .split .stxt h2 em, .cta-box h2 em, .reason h3 em { color: inherit; font-style: normal; }

.wrap { width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.eyebrow {
  font-family: var(--sans); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; display: inline-flex; align-items: center; gap: .8rem;
}
.eyebrow svg { color: var(--gold-deep); }

/* Fondos: crema y azul lavanda suave (fiel al original) */
.bg-ivory {
  background:
    radial-gradient(1200px 600px at 10% -10%, oklch(96% .02 80 / .9), transparent 60%),
    radial-gradient(900px 500px at 100% 110%, oklch(92% .03 250 / .35), transparent 60%),
    var(--ivory);
}
.bg-soft {
  background:
    radial-gradient(900px 500px at 90% 0%, #d2e7ff80, transparent 60%),
    radial-gradient(700px 400px at 0% 100%, #e3cead59, transparent 60%),
    #ecf3fa;
}
.bg-ink { background: linear-gradient(180deg, var(--ink), var(--navy-deep)); color: var(--ivory); }
.noise { position: relative; }
.noise::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(oklch(30% .04 252 / .05) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(transparent, #000 18% 82%, transparent);
  mask-image: linear-gradient(transparent, #000 18% 82%, transparent);
}
.noise > * { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.6rem; font-size: var(--step--1); font-weight: 500; letter-spacing: .02em;
  border-radius: var(--radius);
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.btn .ar { transition: transform .4s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: var(--ivory); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-luxe); }
.btn-gold { background: var(--gold); color: oklch(22% .03 70); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-pill { border-radius: 100px; padding-inline: 2rem; }

.link-gold {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; font-size: var(--step--1);
  letter-spacing: .02em; color: var(--ink); transition: gap .35s var(--ease);
}
.link-gold span { border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
.link-gold:hover { gap: 1rem; color: var(--gold-deep); }

/* ============================================================ NAV (fiel al original: barra 80px, 3 bloques, links centrados) */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.nav-inner {
  width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto;
  height: 80px; display: flex; align-items: center; justify-content: space-between;
  transition: height .4s var(--ease);
}
.nav.scrolled {
  background: oklch(98.5% .005 80 / .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav.scrolled .nav-inner { height: 64px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand b { font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: -.6px; line-height: 1; color: var(--ink); }
.brand .pipe { width: 1px; height: 20px; background: var(--gold); opacity: .6; display: inline-block; flex: none; }
.brand span { font-size: 11.2px; letter-spacing: 3.36px; text-transform: uppercase; color: var(--muted); font-weight: 500; line-height: 1; }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { font-size: 14px; letter-spacing: 0; position: relative; padding: 4px 0; color: oklch(18% .035 252 / .8); transition: color .3s var(--ease); }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--gold); transition: width .35s var(--ease); }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold-deep); }

.nav-cta { padding: 10px 20px; background: transparent; color: var(--ink) !important; border: 1px solid oklch(18% .035 252 / .2); border-radius: 0; font-size: 14px; line-height: 1.4; transition: border-color .35s var(--ease), background .35s var(--ease); }
.nav-cta:hover { border-color: var(--ink); background: oklch(18% .035 252 / .04); }
.nav-cta::after { display: none; }

.burger { display: none; flex-direction: column; gap: 5px; width: 30px; padding: 6px 0; z-index: 90; }
.burger span { height: 1.6px; width: 100%; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 105; background: var(--ivory);
  display: flex; flex-direction: column; justify-content: center; gap: .35rem; padding: var(--gutter);
  visibility: hidden; pointer-events: none; transform: translateY(-100%);
  transition: transform .6s var(--ease), visibility 0s linear .6s;
}
.mobile-menu.open { visibility: visible; pointer-events: auto; transform: translateY(0); transition: transform .6s var(--ease), visibility 0s; }
@media (min-width: 901px) { .mobile-menu { display: none; } }
.mobile-menu .mm-top { position: absolute; top: 0; left: 0; right: 0; height: 80px; display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter); }
.mobile-menu .mm-brand b { font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: -.6px; color: var(--ink); }
.mm-close { width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); border: 1px solid var(--line); background: transparent; transition: border-color .3s var(--ease), background .3s var(--ease); }
.mm-close:hover { border-color: var(--ink); background: oklch(18% .035 252 / .04); }
.mobile-menu a:not(.mm-close) { font-family: var(--serif); font-size: clamp(2rem, 9vw, 3.2rem); padding: .3rem 0; color: var(--ink); }
.mobile-menu a .num { font-family: var(--sans); font-size: .7rem; color: var(--gold-deep); letter-spacing: .2em; vertical-align: super; margin-right: .6rem; }
.mobile-menu .mm-foot { margin-top: 2.5rem; font-size: var(--step--1); color: var(--muted); line-height: 2; }

@media (max-width: 600px) { .brand .pipe, .brand span { display: none; } }

/* ============================================================ HERO (home, claro) */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, oklch(98.5% .005 80 / .95) 0%, oklch(98.5% .005 80 / .8) 50%, oklch(98.5% .005 80 / .4) 100%),
    linear-gradient(to bottom, transparent 0%, transparent 50%, oklch(98.5% .005 80) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 8rem; padding-bottom: 5rem; }
.hero h1 { font-size: var(--step-4); max-width: 14ch; margin-top: 1.5rem; color: var(--ink); line-height: .95; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p.lead { max-width: 50ch; margin-top: 1.6rem; font-size: var(--step-1); color: var(--muted); line-height: 1.55; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero-badge {
  position: absolute; right: var(--gutter); bottom: clamp(2.5rem, 8vh, 6rem); z-index: 2;
  background: oklch(100% 0 0 / .82); backdrop-filter: blur(10px); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1rem 1.3rem; box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: .9rem;
}
.hero-badge .hb-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep); display: grid; place-items: center; flex: none; }
.hero-badge .hb-k { font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero-badge .hb-v { font-family: var(--serif); font-size: 1.2rem; line-height: 1; margin-top: .2rem; }
@media (max-width: 760px) { .hero-badge { display: none; } }

/* Page hero (subpáginas, crema) */
.page-hero { position: relative; padding-top: clamp(8rem, 16vh, 11rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { font-size: var(--h-page); margin-top: 1.3rem; max-width: 18ch; line-height: .98; }
.page-hero p { max-width: 58ch; margin-top: 1.3rem; color: var(--muted); font-size: var(--step-1); font-weight: 300; line-height: 1.6; }
.page-hero .badges, .page-hero .hero-actions { margin-top: 1.8rem; }
.badges { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; font-size: var(--step--1); color: var(--navy);
  background: oklch(100% 0 0 / .6); border: 1px solid var(--line); padding: .5rem 1rem; border-radius: 100px;
}
.chip .ico { color: var(--gold-deep); display: inline-flex; }

/* ============================================================ SECTION HEADERS */
.sec-head { max-width: 62ch; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: var(--step-3); margin-top: 1rem; }
.sec-head h2 em { color: inherit; font-style: normal; }
.sec-head p { margin-top: 1.1rem; color: var(--muted); font-size: var(--step-1); font-weight: 300; }

/* ============================================================ ENFOQUE (pilares) */
.sec-head h2 { line-height: 1.04; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(3.5rem, 7vw, 6rem); }
.pillar { padding-inline: clamp(1.4rem, 3.5vw, 3.5rem); }
.pillar:first-child { padding-left: 0; }
.pillar:last-child { padding-right: 0; }
.pillar:not(:last-child) { border-right: 1px solid var(--line); }
.pillar .pico { color: var(--gold-deep); margin-bottom: 1.6rem; display: inline-flex; }
.pillar h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.7rem); font-weight: 400; }
.pillar p { margin-top: .9rem; color: var(--muted); font-size: var(--step-0); }
@media (max-width: 900px) {
  .pillar { padding-inline: 0; padding-top: 1.6rem; border-right: none !important; border-top: 1px solid var(--line); }
  .pillar:first-child { border-top: none; padding-top: 0; }
}

/* ============================================================ SPLIT (about) */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.text-right { grid-template-columns: 1.05fr 1fr; }
.split .media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-luxe); }
.split .media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; transition: transform 1.4s var(--ease); }
.split .media:hover img { transform: scale(1.04); }
.split .media .tag {
  position: absolute; left: 1.1rem; bottom: 1.1rem; z-index: 2; background: oklch(98.5% .005 80 / .92);
  backdrop-filter: blur(6px); padding: .7rem 1.05rem; border-radius: var(--radius); font-size: var(--step--1);
  display: flex; flex-direction: column; line-height: 1.3;
}
.split .media .tag b { font-family: var(--serif); font-size: 1.05rem; }
.split .media .tag span { color: var(--gold-deep); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.split .stxt h2 { font-size: var(--step-3); margin-top: 1rem; }
.split .stxt h2 em { color: inherit; font-style: normal; }
.split .stxt p { margin-top: 1.2rem; color: var(--muted); }
.split .stxt p.big { font-size: var(--step-1); font-weight: 300; color: var(--ink); }

/* ============================================================ CARDS (servicios) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 3rem; }
.card {
  background: oklch(100% 0 0 / .55); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-luxe); background: #fff; }
.card .ctop { display: flex; align-items: flex-start; justify-content: space-between; }
.card .cico { color: var(--gold-deep); display: inline-flex; }
.card .num { font-family: var(--serif); font-size: 1.05rem; color: var(--gold-deep); letter-spacing: .05em; }
.card h3 { font-size: var(--step-1); margin-top: 1.4rem; }
.card p { margin-top: .7rem; color: var(--muted); font-size: var(--step-0); }

/* ============================================================ CTA BANDS (navy) */
.cta-band { position: relative; overflow: hidden; }
.cta-band .bgimg { position: absolute; inset: 0; z-index: 0; }
.cta-band .bgimg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .bgimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, oklch(15% .03 252 / .94), oklch(15% .03 252 / .8)); }
.cta-band .inner { position: relative; z-index: 2; text-align: center; color: var(--ivory); max-width: 48ch; margin-inline: auto; }
.cta-band .inner .eyebrow { color: var(--gold); }
.cta-band h2 { font-size: var(--h-cta); color: #fff; margin-top: 1rem; }
.cta-band h2 em { color: var(--gold); }
.cta-band p { margin-top: 1.1rem; color: oklch(95% .01 80 / .82); font-size: var(--step-1); font-weight: 300; }
.cta-band .btn { margin-top: 2rem; }

/* CTA contenida (rounded, dentro de sección clara) */
.cta-box {
  background: linear-gradient(120deg, var(--ink), var(--navy-deep)); color: var(--ivory);
  border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.8rem);
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
}
.cta-box h2 { font-size: var(--step-3); color: #fff; }
.cta-box h2 em { color: inherit; font-style: normal; }
.cta-box p { margin-top: .9rem; color: oklch(95% .01 80 / .78); max-width: 52ch; }
@media (max-width: 720px) { .cta-box { grid-template-columns: 1fr; } }

/* ============================================================ CURSO */
.course-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 3rem; }
.module {
  background: oklch(100% 0 0 / .6); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem 1.6rem;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
}
.module:hover { border-color: var(--gold); box-shadow: var(--shadow-soft); background: #fff; }
.module .mhead { display: flex; align-items: center; justify-content: space-between; }
.module .mlabel { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.module .mico { color: var(--gold-deep); }
.module h3 { font-size: var(--step-1); margin-top: .9rem; }
.module ul { margin-top: 1rem; display: grid; gap: .5rem; }
.module li { position: relative; padding-left: 1.3rem; color: var(--muted); font-size: var(--step--1); }
.module li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border: 1px solid var(--gold-deep); transform: rotate(45deg); }

.includes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2.6rem; }
.include { background: oklch(100% 0 0 / .55); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem 1.5rem; }
.include .iico { color: var(--gold-deep); margin-bottom: 1rem; display: inline-flex; }
.include h3 { font-size: var(--step-1); }
@media (max-width: 880px) { .includes { grid-template-columns: 1fr 1fr; } }

/* ============================================================ NOSOTRAS */
.team-panel { background: oklch(100% 0 0 / .6); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); margin-top: 3rem; display: grid; grid-template-columns: 1fr 1fr; }
.team-panel .tp { aspect-ratio: 1/1; overflow: hidden; background: var(--line-soft); }
.team-panel .tp img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.3s var(--ease); }
.team-panel .tp:hover img { transform: scale(1.04); }
.team-panel .tn { padding: clamp(1.5rem, 2.5vw, 2.2rem); border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.team-panel .tn2 { border-left: 1px solid var(--line); }
.team-panel h3 { font-size: var(--step-2); }
.team-panel .role { color: var(--gold-deep); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; margin-top: .4rem; }
.team-panel .link-gold { margin-top: 1.4rem; align-self: flex-start; }
@media (max-width: 640px) {
  .team-panel { grid-template-columns: 1fr; }
  .team-panel .tp1 { order: 1; } .team-panel .tn1 { order: 2; }
  .team-panel .tp2 { order: 3; } .team-panel .tn2 { order: 4; border-left: none; }
}

/* EN ACCIÓN — collage escalonado */
.collage { margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; align-items: start; }
.collage .c { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 3/4; }
.collage .c img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.collage .c:hover img { transform: scale(1.05); }
.collage .c:nth-child(1) { transform: translateY(1.8rem); }
.collage .c:nth-child(3) { transform: translateY(2.6rem); }
.collage .c:nth-child(4) { transform: translateY(.8rem); }
@media (max-width: 760px) {
  .collage { grid-template-columns: 1fr 1fr; }
  .collage .c { transform: none !important; aspect-ratio: 4/5; }
}

/* ============================================================ REASONS */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 3rem; border-top: 1px solid var(--line); }
.reason { display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: start; padding: clamp(2rem, 3.5vw, 3.2rem); border-bottom: 1px solid var(--line); transition: background .4s var(--ease); }
.reason:nth-child(odd) { border-right: 1px solid var(--line); }
.reason:hover { background: oklch(100% 0 0 / .45); }
.reason .rnum { font-family: var(--serif); font-size: 2.6rem; color: var(--gold-deep); line-height: 1; font-weight: 400; }
.reason h3 { font-size: var(--step-2); font-weight: 400; }
.reason p { color: var(--muted); margin-top: .8rem; font-size: var(--step-0); }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; } .reason:nth-child(odd) { border-right: none; } }

/* ============================================================ CONTACTO */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); margin-top: 1rem; }
.contact-methods { display: grid; gap: .4rem; align-content: start; }
.cmethod { display: flex; align-items: flex-start; gap: 1.1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); transition: padding-left .4s var(--ease); }
.cmethod:hover { padding-left: .5rem; }
.cmethod .cmico { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold-deep); transition: border-color .4s var(--ease), color .4s var(--ease); }
.cmethod:hover .cmico { border-color: var(--gold); }
.cmethod .cmlabel { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cmethod .cmval { font-size: var(--step-1); font-family: var(--serif); margin-top: .2rem; }

/* Form: panel claro con inputs subrayados y botón oscuro (fiel al original) */
.form { background: oklch(96% .006 80 / .45); border: 1px solid var(--line); border-radius: 0; padding: clamp(2rem, 4vw, 3rem); }
.form h3 { font-size: var(--step-2); color: var(--ink); position: relative; padding-bottom: 1rem; margin-bottom: 1.6rem; }
.form h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 1px; background: var(--gold); }
.field { margin-bottom: 1.8rem; }
.field label { display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .7rem; color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: var(--step-0); color: var(--ink);
  background: transparent; border: none; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: .6rem 0; transition: border-color .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: oklch(58% .01 252 / .45); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field textarea { resize: vertical; min-height: 110px; }
.form .btn { width: 100%; justify-content: center; margin-top: .6rem; background: var(--ink); color: var(--ivory); }
.form .btn:hover { background: var(--navy); transform: translateY(-2px); }
.form-note { font-size: var(--step--1); color: var(--muted); margin-top: 1.1rem; text-align: center; }
.form-ok { display: none; text-align: center; padding: .8rem 0; color: var(--gold-deep); font-weight: 500; }
.form.sent .form-ok { display: block; }

/* ============================================================ FOOTER */
.footer { background: linear-gradient(180deg, var(--ink), var(--navy-deep)); color: oklch(95% .01 80 / .72); padding-block: clamp(3.5rem, 7vw, 5rem) 2.2rem; }
.footer .ftop { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.footer .fbrand-name { display: flex; align-items: center; gap: 12px; }
.footer .fbrand-name b { font-family: var(--serif); color: #fff; font-size: 24px; font-weight: 400; letter-spacing: -.6px; line-height: 1; }
.footer .fbrand-name .pipe { width: 1px; height: 20px; background: var(--gold); opacity: .6; display: inline-block; flex: none; }
.footer .fbrand-name span { font-size: 11.2px; letter-spacing: 3.36px; text-transform: uppercase; color: oklch(95% .01 80 / .55); font-weight: 500; }
.footer .fbrand p { margin-top: 1.4rem; max-width: 42ch; font-size: var(--step-0); line-height: 1.7; }
.footer .fsocial-icons { display: flex; gap: .7rem; margin-top: 1.8rem; }
.footer .ficon { width: 42px; height: 42px; border: 1px solid oklch(100% 0 0 / .15); display: grid; place-items: center; color: oklch(95% .01 80 / .65); transition: border-color .35s var(--ease), color .35s var(--ease); }
.footer .ficon:hover { border-color: var(--gold); color: var(--gold); }
.footer h4 { font-family: var(--sans); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; font-weight: 600; }
.footer ul { display: grid; gap: .85rem; }
.footer ul a { font-size: var(--step-0); transition: color .3s var(--ease); display: inline-flex; align-items: center; gap: .65rem; }
.footer ul a:hover { color: #fff; }
.footer ul a svg { color: var(--gold); flex: none; }
.footer .fbot { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.7rem; border-top: 1px solid oklch(100% 0 0 / .12); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: var(--step--1); }
.footer .fserv { color: oklch(95% .01 80 / .55); }

/* ============================================================ REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .4s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ============================================================ RESPONSIVE */
@media (max-width: 1000px) {
  .footer .ftop { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer .fbrand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .burger { display: flex; }
  .pillars { grid-template-columns: 1fr; gap: 1.4rem; }
  .cards { grid-template-columns: 1fr 1fr; }
  .modules { grid-template-columns: 1fr 1fr; }
  .split, .split.text-right { grid-template-columns: 1fr; }
  .split .media { order: -1; }
  .split .media img { aspect-ratio: 16/10; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards, .modules { grid-template-columns: 1fr; }
  .hero-actions, .course-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn, .course-actions .btn { width: 100%; justify-content: center; }
  .reason { grid-template-columns: 1fr; gap: .5rem; padding-inline: 0; }
  .footer .fbot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}
