@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/schibsted-grotesk-latin.woff2) format('woff2'); }
@font-face { font-family: 'Schibsted Grotesk'; font-style: italic; font-weight: 400 500; font-display: swap; src: url(../fonts/schibsted-grotesk-latin-italic.woff2) format('woff2'); }
/* Página de producto: misma identidad que la portada; columna central con bandas alternas, precio y preguntas como piezas clave */
:root {
  --bg: #1e2326; --band: #252b2f; --fg: #e6e2da; --strong: #f6f2ea; --muted: #9ba5aa;
  --accent: #8dc63f; --line: #343c41; --on-accent: #142008; --ph: #3d464b;
  --logo-data: #ffffff; --logo-after: #ffffff;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 12'%3E%3Cpath d='M4.5 0H8L3.5 12H0zM10.5 0H14L9.5 12H6z'/%3E%3C/svg%3E");
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --bg: #f3f5f6; --band: #e6ebee; --fg: #2a3236; --strong: #12171a; --muted: #5a666d; --accent: #007a3a; --line: #d0d8dc; --on-accent: #ffffff; --ph: #c3ccd1; --logo-data: url(#lg-data); --logo-after: url(#lg-after); color-scheme: light; }
}
:root[data-theme="light"] { --bg: #f3f5f6; --band: #e6ebee; --fg: #2a3236; --strong: #12171a; --muted: #5a666d; --accent: #007a3a; --line: #d0d8dc; --on-accent: #ffffff; --ph: #c3ccd1; --logo-data: url(#lg-data); --logo-after: url(#lg-after); color-scheme: light; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 18px; line-height: 1.65; }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; margin: 0; color: var(--strong); font-weight: 600; letter-spacing: -.02em; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.gutter { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.col { max-width: 680px; margin: 0 auto; }
.wide { max-width: 980px; margin: 0 auto; }
.band { background: var(--band); }
section { padding-block: 80px; }
.label { font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.label::before { content: ""; display: inline-block; width: 14px; height: 12px; margin-right: 10px; vertical-align: -1px; background: currentColor; -webkit-mask: var(--mk) no-repeat center / contain; mask: var(--mk) no-repeat center / contain; }
.sec-head { display: grid; gap: 12px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; }
.sec-head p { color: var(--muted); }
.btn { display: inline-block; font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 13px 28px; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }
.textlink { font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }

/* Cabecera */
.site-head { padding-block: 20px; }
.site-head .wide { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.brand { display: inline-flex; }
.brand svg { width: 30px; height: 30px; fill: var(--strong); }
.right { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.menu { display: flex; gap: 6px 20px; flex-wrap: wrap; font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.menu a { text-decoration: none; }
.menu a:hover, .menu a[aria-current] { text-decoration: underline; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang a { display: inline-block; text-decoration: none; font: inherit; font-weight: 600; font-size: 12px; letter-spacing: .1em; background: none; border: 0; color: var(--muted); padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.lang a[aria-current="true"] { background: var(--accent); color: var(--on-accent); }


/* Página de curso */
.hero { padding-block: 40px 64px; }
.hero .wide { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 56px; align-items: center; }
.hero .copy { display: grid; gap: 20px; justify-items: start; }
.hero h1 { font-size: clamp(34px, 5.4vw, 52px); line-height: 1.08; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .sub { color: var(--muted); font-size: 20px; max-width: 48ch; }
.hero .ico { width: 168px; height: 168px; }
.hero .ico svg { display: block; width: 100%; height: 100%; }
.actions { display: flex; gap: 14px 24px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
@media (max-width: 700px) { .hero .wide { grid-template-columns: 1fr; } .hero .ico { width: 96px; height: 96px; grid-row: 1; } }

.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 26px; }
.facts dl { margin: 0 auto; max-width: 980px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 24px; }
.facts div { display: grid; gap: 2px; align-content: start; }
.facts dt { font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--strong); font-weight: 600; font-size: 18px; line-height: 1.35; }
.facts dd small { display: block; color: var(--muted); font-weight: 400; font-size: 15px; }
@media (max-width: 760px) { .facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.req { list-style: none; margin: 0; padding: 0; display: grid; }
.req li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding-block: 14px; border-top: 1px solid var(--line); }
.req li:last-child { border-bottom: 1px solid var(--line); }
.req svg { width: 22px; height: 22px; margin-top: 3px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prose { display: grid; gap: 18px; }

.modules { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: m; }
.modules > li { counter-increment: m; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; padding-block: 20px; border-top: 1px solid var(--line); }
.modules > li:last-child { border-bottom: 1px solid var(--line); }
.modules > li::before { content: counter(m, decimal-leading-zero); grid-row: 1 / span 2; font-weight: 600; font-size: 15px; color: var(--accent); font-variant-numeric: tabular-nums; padding-top: 3px; }
.modules h3 { font-size: 21px; line-height: 1.3; }
.modules p { color: var(--muted); font-size: 17px; }
.modules ul { margin: 2px 0 0; padding-left: 1.1em; color: var(--muted); font-size: 17px; display: grid; gap: 2px; }

.gift { margin-top: 32px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; padding: 22px 24px; border: 1px solid var(--accent); border-radius: 8px; background: var(--bg); }
.gift svg { width: 40px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gift p { color: var(--strong); font-weight: 500; font-size: 19px; line-height: 1.45; }
.closing { text-align: center; }
.closing .col { display: grid; gap: 18px; justify-items: center; }
.closing h2 { font-size: clamp(30px, 5vw, 42px); line-height: 1.12; }
.closing p { color: var(--muted); max-width: 46ch; }
/* Pie */
.site-foot { padding-block: 48px 40px; border-top: 1px solid var(--line); font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h4 { margin: 0 0 10px; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid a { color: var(--fg); text-decoration: none; }
.foot-grid a:hover { color: var(--accent); }
.foot-grid p { color: var(--muted); }
.logo { width: 170px; height: auto; display: block; margin-bottom: 12px; }
.logo .data { fill: var(--logo-data); }
.logo .after { fill: var(--logo-after); }
.brand .head-logo { width: 132px; height: auto; margin: 0; fill: none; }
.legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14px; }
.legal a { color: var(--muted); }
.tm { margin-top: 10px; font-size: 13px; color: var(--muted); }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--fg); }
.social a:hover { color: var(--accent); border-color: var(--accent); }
.partner { margin-top: 22px; display: inline-block; color: var(--strong); }
.cp-logo { display: block; width: 190px; height: auto; }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .foot-grid { grid-template-columns: 1fr; } section { padding-block: 60px; } }
.mock-note { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-align: center; color: var(--muted); padding: 10px; border-bottom: 1px dashed var(--line); }
