/* Propuesta B · Maison
   Oscura y cinematográfica: ink dominante, mayúsculas espaciadas, bloques claros como pausa. */

:root {
  --bg: #F0EFEB;
  --ink: #121212;
  --ink-2: #1B1A18;          /* superficie sobre ink */
  --gold: #B78F49;
  --gold-dark: #926917;
  --gold-deep: #7A5710;
  --accent-light: #FEFFB7;
  --bone-soft: rgba(240, 239, 235, .78);
  --hair-dark: rgba(183, 143, 73, .4);
  --hair-light: rgba(18, 18, 18, .18);

  --display: "Didact Gothic", "Century Gothic", system-ui, sans-serif;
  --body: "Montserrat", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 5vw, 80px);
  --section: clamp(80px, 11vw, 160px);
  --max: 1320px;
  --pad: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--ink); -webkit-text-size-adjust: 100%; scrollbar-color: var(--gold) var(--ink); }
body { margin: 0; background: var(--ink); color: var(--bone-soft); font: 400 1rem/1.75 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-transform: uppercase; letter-spacing: .08em; line-height: 1.18; text-wrap: balance; color: var(--bg); }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--gold); text-underline-offset: .25em; }
ul, ol { list-style: none; margin: 0; padding: 0; }
dl, dd { margin: 0; }
address { font-style: normal; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { top: 12px; }

::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold); border: 2px solid var(--ink); border-radius: 10px; }
input, select { caret-color: var(--gold); }

.ph { color: var(--gold); outline: 1px dashed var(--gold); outline-offset: 2px; padding: .05em .45em; font-size: .86em; font-weight: 500; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.relaunch .ph, .why .ph, .steps .ph, .voices .ph, .aid .ph { background: var(--accent-light); color: var(--ink); outline-color: var(--gold-dark); }
.final .ph { color: var(--accent-light); outline-color: rgba(254, 255, 183, .7); }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; font: 600 .75rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 1.3em 2.1em; border: 1px solid transparent; cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.btn-sm { padding: 1.05em 1.5em; font-size: .6875rem; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--bg); }
.btn-ghost { border-color: rgba(240, 239, 235, .55); color: var(--bg); }
.btn-ghost:hover { background: var(--bg); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--bg); color: var(--ink); }

/* barra superior centrada */
.bar { position: absolute; inset: 0 0 auto 0; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 16px var(--gutter); }
.bar-nav { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.bar-nav a { color: var(--bg); text-decoration: none; font: 500 .75rem var(--body); letter-spacing: .2em; text-transform: uppercase; padding-block: 8px; border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.bar-nav a:hover { border-color: var(--gold); }
.bar-right { display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 2.2vw, 32px); }
.bar-logo img { width: 76px; height: 76px; }
.lang { display: flex; gap: 14px; }
.lang a { color: var(--bone-soft); text-decoration: none; font: 500 .75rem var(--body); letter-spacing: .16em; }
.lang a[aria-current] { color: var(--gold); }
.menu-toggle, .drawer { display: none; }

/* hero */
.hero { position: relative; min-height: clamp(640px, 100svh, 900px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0 0 0 auto; width: min(64%, 960px); z-index: -1; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 45%); mask-image: linear-gradient(to right, transparent 0, #000 45%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: brightness(.7) contrast(1.08); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 42%; background: linear-gradient(to top, var(--ink), transparent); z-index: -1; }
.hero-copy { padding: 140px var(--pad) clamp(72px, 9vw, 120px); max-width: calc(46rem + var(--pad)); }
.signature { font: 500 .6875rem var(--body); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin: 3.4em 0 0; display: flex; align-items: center; gap: 16px; }
.signature::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.hero h1 { font-size: clamp(2rem, 4.8vw, 4.4rem); letter-spacing: .05em; line-height: 1.12; margin-bottom: .7em; }
.lead { font-size: clamp(1rem, 1.3vw, 1.125rem); max-width: 32em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.4em; }
.hero-foot { position: absolute; right: var(--gutter); bottom: 32px; margin: 0; font: 500 .6875rem var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--bone-soft); }

@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: dawn 2.2s var(--ease) both; }
  .hero-copy > * { animation: settle 1.2s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .12s; }
  .hero-copy > :nth-child(3) { animation-delay: .22s; }
  .hero-copy > :nth-child(4) { animation-delay: .32s; }
}
@keyframes dawn { from { opacity: 0; transform: scale(1.06); } }
@keyframes settle { from { opacity: 0; transform: translateY(20px); letter-spacing: .12em; } }

/* relanzamiento */
.relaunch { background: var(--bg); color: var(--ink); text-align: center; padding: clamp(48px, 6vw, 88px) var(--gutter); }
.relaunch p { margin: 0; font: 400 clamp(1.1rem, 2.2vw, 1.75rem)/1.4 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.relaunch strong { font-weight: 400; color: var(--gold-deep); }
.relaunch .sub { margin-top: 1.1em; font: 400 .9375rem var(--body); letter-spacing: .02em; text-transform: none; color: #3A3731; }

/* programas: carril horizontal */
.programs { padding: var(--section) 0; background: var(--ink); }
.programs-head { display: grid; grid-template-columns: auto 1fr auto; gap: 24px clamp(32px, 6vw, 96px); align-items: end; padding: 0 var(--pad) 56px; }
.programs-head h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.programs-head p { margin: 0; max-width: 28em; }
.arrows { display: flex; gap: 10px; }
.arrows button { width: 52px; height: 52px; background: none; border: 1px solid var(--hair-dark); color: var(--gold); cursor: pointer; display: grid; place-items: center; transition: background-color .3s var(--ease), color .3s var(--ease); }
.arrows button:hover { background: var(--gold); color: var(--ink); }
.arrows svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.rail { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--pad) 28px; scroll-padding-inline: var(--pad); scrollbar-width: thin; scrollbar-color: var(--gold) var(--ink-2); }
.panel { flex: 0 0 min(340px, 82vw); scroll-snap-align: start; min-height: 500px; display: flex; flex-direction: column; padding: 36px 32px; background: var(--ink-2); border: 1px solid var(--hair-dark); transition: border-color .35s var(--ease), background-color .35s var(--ease); }
.panel:hover { border-color: var(--gold); }
.panel-main { flex-basis: min(520px, 86vw); border-color: var(--gold); background: linear-gradient(var(--ink-2), var(--ink-2)); }
.panel h3 { font-size: 1.5rem; letter-spacing: .06em; margin-bottom: .9em; }
.panel-main h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--gold); }
.panel p { font-size: .9375rem; }
.panel dl { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--hair-dark); display: grid; gap: 16px 24px; grid-template-columns: 1fr 1fr; }
.panel dt { font: 500 .6875rem var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.panel dd { color: var(--bg); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.panel dl > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.panel-link { margin-top: 28px; font: 600 .6875rem var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--bg); text-decoration: none; border-bottom: 1px solid var(--gold); align-self: flex-start; padding-bottom: 6px; }
.panel-link:hover { color: var(--gold); }
.outcomes { padding: 24px var(--pad) 0; margin: 0; font-size: .875rem; max-width: calc(52em + var(--pad)); }

/* por qué (claro) */
.why { background: var(--bg); color: #3A3731; padding: var(--section) var(--pad); }
.why h2 { color: var(--ink); text-align: center; font-size: clamp(1.8rem, 3.6vw, 3rem); margin-bottom: clamp(48px, 6vw, 80px); }
.why h3 { color: var(--ink); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--hair-light); }
.why-grid article { padding: 40px 28px; border-left: 1px solid var(--hair-light); }
.why-grid article:first-child { border-left: 0; padding-left: 0; }
.why-grid h3 { font-size: 1.0625rem; letter-spacing: .1em; margin-bottom: 1em; }
.why-grid p { font-size: .9375rem; margin: 0; }
.aid { margin-top: 40px; background: var(--ink); color: var(--bone-soft); display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center; padding: clamp(28px, 4vw, 48px); border-top: 3px solid var(--gold); }
.aid h3 { color: var(--gold); font-size: clamp(1.2rem, 2vw, 1.6rem); margin-bottom: .6em; }
.aid p { margin: 0; max-width: 40em; }
.aid .btn-ink { background: var(--gold); color: var(--ink); }
.aid .btn-ink:hover { background: var(--bg); }
.aid .ph { outline-color: var(--gold); }

/* gabriel */
.gabriel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--ink); }
.gabriel figure { margin: 0; position: relative; min-height: 640px; }
.gabriel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.gabriel-copy { padding: var(--section) var(--pad) var(--section) clamp(32px, 6vw, 96px); align-self: center; max-width: 44rem; }
.role { font: 500 .6875rem var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 2em; }
.gabriel h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); margin-bottom: .8em; }
.gabriel blockquote { margin: 2.4em 0 0; padding-top: 2em; border-top: 1px solid var(--hair-dark); font: 400 clamp(1.2rem, 1.8vw, 1.5rem)/1.5 var(--display); letter-spacing: .04em; }
.gabriel blockquote p { margin: 0; }

/* pasos (claro) */
.steps { background: var(--bg); color: #3A3731; padding: var(--section) var(--pad); }
.steps h2 { color: var(--ink); font-size: clamp(1.8rem, 3.6vw, 3rem); text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.steps ol { max-width: 980px; margin: 0 auto; counter-reset: s; }
.steps li { display: grid; grid-template-columns: clamp(72px, 12vw, 160px) 1fr; gap: 24px; align-items: start; padding: 36px 0; border-top: 1px solid var(--hair-light); }
.steps li:last-child { border-bottom: 1px solid var(--hair-light); }
.steps .n { font: 400 clamp(3.4rem, 8vw, 6.5rem)/.9 var(--display); color: var(--gold-deep); }
.steps h3 { color: var(--ink); font-size: clamp(1.15rem, 2vw, 1.6rem); margin: .35em 0 .6em; }
.steps p { margin: 0; max-width: 36em; }

/* salón */
.salon { background: var(--ink); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 8vw, 128px); padding: var(--section) var(--pad); align-items: start; }
.salon h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); margin-bottom: .8em; }
.salon h3 { font: 500 .6875rem var(--body); letter-spacing: .24em; color: var(--gold); margin: 2.6em 0 1em; }
.salon .btn { margin-top: 12px; }
.prices { border-top: 1px solid var(--hair-dark); }
.prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--hair-dark); font: 400 clamp(1.05rem, 1.8vw, 1.4rem)/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--bg); }
.prices b { font: 400 clamp(1.6rem, 3vw, 2.6rem)/1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.prices b::before { content: "desde "; font: 500 .6875rem var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--bone-soft); margin-right: .8em; vertical-align: .35em; }

/* testimonios (claro) */
.voices { background: var(--bg); color: var(--ink); padding: var(--section) var(--pad); text-align: center; }
.voices h2 { color: var(--ink); font-size: clamp(1.8rem, 3.6vw, 3rem); }
.provisional { margin: 20px 0 clamp(40px, 6vw, 72px); }
.voice-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.voice-row figure { margin: 0; padding: 0 clamp(20px, 3.5vw, 56px); border-left: 1px solid var(--hair-light); }
.voice-row figure:first-child { border-left: 0; }
.voice-row blockquote { margin: 0 0 28px; font: 400 clamp(1.1rem, 1.7vw, 1.4rem)/1.55 var(--display); letter-spacing: .02em; }
.voice-row blockquote p { margin: 0; }
.voice-row figcaption { font: 600 .6875rem var(--body); letter-spacing: .2em; text-transform: uppercase; }
.voice-row figcaption span { display: block; margin-top: 6px; font-weight: 400; color: var(--gold-deep); }

/* campus */
.campus { position: relative; background: var(--ink); min-height: 560px; display: grid; }
.campus iframe { grid-area: 1 / 1; width: 100%; height: 100%; min-height: 560px; border: 0; filter: grayscale(1) invert(.92) contrast(.85) brightness(.9); }
.campus-card { grid-area: 1 / 1; align-self: center; justify-self: start; margin-left: var(--pad); background: var(--ink); border: 1px solid var(--gold); padding: clamp(28px, 4vw, 48px); max-width: 420px; position: relative; z-index: 1; }
.campus-card h2 { font-size: 1.6rem; margin-bottom: 1em; }
.campus-card address { font: 400 1.25rem/1.5 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--bg); margin-bottom: 1.4em; }
.campus-card .btn { margin-top: 8px; }

/* final */
.final { background: var(--gold-dark); color: #fff; padding: var(--section) var(--pad); text-align: center; }
.final h2 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3.6rem); max-width: 16em; margin: 0 auto .7em; }
.final > p { max-width: 36em; margin: 0 auto 3em; }
.form { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; text-align: left; }
.field { grid-column: span 2; display: flex; flex-direction: column; gap: 8px; }
.field:nth-child(4), .field:nth-child(5) { grid-column: span 3; }
.field label { font: 500 .6875rem var(--body); letter-spacing: .24em; text-transform: uppercase; color: #fff; }
.field input, .field select { appearance: none; background: rgba(18, 18, 18, .22); color: #fff; font: 400 1rem var(--body); padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 0; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px; }
.field select option { color: var(--ink); }
.field input:hover, .field select:hover { border-color: #fff; }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; background-color: rgba(18, 18, 18, .4); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--accent-light); }
.form .btn { grid-column: 1 / -1; justify-self: center; margin-top: 12px; }
.form-status { grid-column: 1 / -1; text-align: center; margin: 0; min-height: 1.7em; }

/* footer */
.foot { background: var(--ink); padding: 72px var(--pad) 40px; text-align: center; }
.foot img { margin: 0 auto; }
.foot-tag { margin: 20px 0 56px; font: 500 .6875rem var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: left; border-top: 1px solid var(--hair-dark); padding-top: 48px; font-size: .9375rem; }
.foot h3 { font: 600 .6875rem var(--body); letter-spacing: .22em; color: var(--gold); margin-bottom: 1.3em; }
.foot a { color: var(--bg); }
.foot-cols p { margin: 0 0 .6em; }
.legal { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid rgba(240, 239, 235, .12); font-size: .8125rem; }

/* responsive */
@media (max-width: 1100px) {
  .bar-nav a { font-size: .6875rem; letter-spacing: .14em; }
  .bar-right .bar-nav { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-grid article:nth-child(odd) { border-left: 0; padding-left: 0; }
  .why-grid article:nth-child(n+3) { border-top: 1px solid var(--hair-light); }
}
@media (max-width: 900px) {
  .bar { grid-template-columns: 1fr auto 1fr; padding-block: 12px; background: linear-gradient(var(--ink), transparent); }
  .bar-left, .bar-right { display: none; }
  .bar-logo { grid-column: 2; }
  .bar-logo img { width: 60px; height: 60px; }
  .menu-toggle { display: grid; place-content: center; width: 44px; height: 44px; background: none; border: 1px solid var(--hair-dark); grid-column: 3; justify-self: end; cursor: pointer; }
  .menu-toggle i { display: block; width: 18px; height: 1.5px; background: var(--bg); margin: 3px 0; transition: transform .3s var(--ease); }
  .menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4.5px) rotate(-45deg); }
  .drawer:not([hidden]) { display: flex; flex-direction: column; gap: 4px; position: fixed; inset: 0; z-index: 35; background: var(--ink); padding: 110px var(--gutter) 32px; overflow-y: auto; }
  .drawer a:not(.btn):not([lang]) { font: 400 1.6rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--bg); text-decoration: none; padding: 18px 0; border-bottom: 1px solid var(--hair-dark); }
  .drawer .lang { margin: 20px 0; }
  .hero-photo { inset: 0 0 auto 0; width: 100%; height: 72%; -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); }
  .hero-photo img { object-position: 50% 10%; filter: brightness(.6) contrast(1.08); }
  .hero { align-items: flex-end; }
  .hero-copy { padding-top: 62vh; }
  .hero-foot { display: none; }
  .programs-head { grid-template-columns: minmax(0, 1fr) auto; }
  .programs-head p { grid-column: 1 / -1; order: 3; }
  .gabriel, .salon { grid-template-columns: 1fr; }
  .gabriel figure { min-height: 520px; }
  .gabriel-copy { padding: 56px var(--gutter) 72px; }
  .voice-row { grid-template-columns: 1fr; gap: 40px; }
  .voice-row figure { border-left: 0; border-top: 1px solid var(--hair-light); padding: 32px 0 0; }
  .voice-row figure:first-child { border-top: 0; padding-top: 0; }
  .campus { min-height: 0; }
  .campus iframe { min-height: 320px; height: 320px; grid-area: 1 / 1; }
  .campus { grid-template-rows: 320px auto; }
  .campus-card { grid-area: 2 / 1; margin: 0; max-width: none; border-width: 1px 0 0; }
  .foot-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .arrows { display: none; }
  .programs-head h2 { font-size: 2rem; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid article { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--hair-light); }
  .why-grid article:first-child { border-top: 0; }
  .field, .field:nth-child(4), .field:nth-child(5) { grid-column: 1 / -1; }
  .steps li { grid-template-columns: 64px 1fr; gap: 16px; }
  .actions .btn { flex: 1 1 100%; }
}
