/* Montura — Óptica de autor. Editorial suizo cálido: papel, tinta y carey. */
:root {
  --bg: #f5f1ea; --paper: #fffdf9; --ink: #15130f; --muted: #6b645a; --line: rgba(21,19,15,.12);
  --accent: #a4542b; --accent-2: #e9b48a; --green: #1f3d36;
  --serif: "Instrument Serif", Georgia, serif; --sans: "Inter Tight", system-ui, sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.16,1,.3,1); --r: 18px; --gut: clamp(18px, 4vw, 56px);
}
body { background: var(--bg); color: var(--ink); font-family: var(--sans); }
::selection { background: var(--accent); color: #fff; }
.wrap { width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--gut); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.label { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.h2 { font: 400 clamp(40px, 6vw, 88px)/.98 var(--serif); letter-spacing: -.02em; }
.h2 em { color: var(--accent); }
.lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); max-width: 52ch; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(32px, 5vw, 64px); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1; transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), border-color .4s; white-space: nowrap; }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--accent); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--ink); }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: var(--accent-2); }
.btn-line { border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.btn-line-light { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }

/* Navegación */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .5s var(--ease), box-shadow .5s, color .5s; color: #fff; }
.nav.is-scrolled { background: rgba(245,241,234,.86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 76px; width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 400 30px/1 var(--serif); letter-spacing: -.01em; }
.logo svg { width: 46px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; }
.menu { display: none; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 500; }
.menu a { position: relative; padding: 6px 0; opacity: .85; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.menu a:hover { opacity: 1; }
.menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; padding: 12px 18px; font-size: 14px; }
.nav:not(.is-scrolled) .nav-cta { background: #fff; color: var(--ink); }
.burger { margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-open .nav { background: var(--bg); color: var(--ink); }
.menu-open .menu { display: flex; flex-direction: column; position: fixed; inset: 76px 0 0 0; background: var(--bg); padding: 32px var(--gut); gap: 8px; font: 400 40px/1.2 var(--serif); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: #2a1c14; }
.hero-media { position: absolute; inset: 0; --mx: 62%; --my: 40%; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hm-blur { filter: blur(9px) saturate(.85) brightness(.92); transform: scale(1.06); }
.hm-sharp { clip-path: circle(clamp(90px, 13vw, 190px) at var(--mx) var(--my)); }
.hm-ring { position: absolute; left: var(--mx); top: var(--my); width: clamp(180px, 26vw, 380px); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); border: 1.5px solid rgba(255,255,255,.75); box-shadow: 0 0 0 10px rgba(255,255,255,.08), inset 0 0 40px rgba(255,255,255,.12); pointer-events: none; }
.hm-ring span { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font: 500 11px/1 var(--mono); letter-spacing: .1em; padding: 6px 10px; border-radius: 99px; background: #fff; color: var(--ink); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,12,8,.82) 0%, rgba(20,12,8,.45) 42%, rgba(20,12,8,0) 70%), linear-gradient(0deg, rgba(20,12,8,.75) 0%, rgba(20,12,8,0) 45%); pointer-events: none; }
.hero-in { position: relative; z-index: 2; width: min(1320px, 100%); margin-inline: auto; padding: 140px var(--gut) 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 10px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; backdrop-filter: blur(6px); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(233,180,138,.25); }
.hero-title { font: 400 clamp(64px, 11vw, 172px)/.88 var(--serif); letter-spacing: -.035em; margin: 26px 0 26px; }
.hero-title em { color: var(--accent-2); }
.hero-lead { max-width: 46ch; font-size: clamp(16px, 1.4vw, 20px); color: rgba(255,255,255,.86); }
.hero-lead b { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-hint { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 13px; color: rgba(255,255,255,.7); }
.hint-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 100% { box-shadow: 0 0 0 14px rgba(255,255,255,0); } }
.hero-facts { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(255,255,255,.2); width: min(1320px, 100%); margin-inline: auto; padding: 0 var(--gut); }
.hero-facts li { padding: 18px 0; display: flex; gap: 12px; align-items: baseline; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; color: rgba(255,255,255,.75); }
.hero-facts b { font: 400 24px/1 var(--serif); color: #fff; }

/* Marquee */
.marquee { overflow: hidden; background: var(--ink); color: var(--bg); padding: 18px 0; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: mq 40s linear infinite; font: 400 26px/1 var(--serif); white-space: nowrap; }
.marquee-track i { color: var(--accent-2); font-style: normal; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Manifiesto */
.manifesto { padding: clamp(80px, 12vw, 170px) 0; }
.big { font: 400 clamp(30px, 4.2vw, 62px)/1.1 var(--serif); letter-spacing: -.015em; max-width: 24ch; }
.big em { color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(48px, 7vw, 96px); }
.stats > div { background: var(--bg); padding: 28px 22px; }
.stats b { display: block; font: 400 clamp(46px, 5.5vw, 80px)/1 var(--serif); letter-spacing: -.02em; }
.stats span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }

/* Colecciones */
.collections { padding: clamp(60px, 9vw, 130px) 0; background: var(--paper); border-block: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 11px 18px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: all .35s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.grid-products { display: grid; grid-template-columns: 1fr; gap: clamp(18px, 2vw, 28px); }
.prod { display: flex; flex-direction: column; }
.prod.is-hidden { display: none; }
.prod-img { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r); background: #ece6dc; transition: transform .6s var(--ease); }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.prod:hover .prod-img img { transform: scale(1.06); }
.tag { position: absolute; top: 14px; left: 14px; padding: 7px 11px; border-radius: 99px; background: var(--ink); color: var(--bg); font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.tag-soft { background: rgba(255,255,255,.9); color: var(--ink); }
.prod-info { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 18px 2px 6px; }
.prod-info h3 { font: 400 28px/1.05 var(--serif); }
.prod-info p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.prod-info b { font-weight: 600; font-variant-numeric: tabular-nums; }
.prod-cta { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--accent); padding: 4px 2px; border-bottom: 1px solid transparent; transition: border-color .3s; cursor: pointer; }
.prod-cta:hover { border-color: currentColor; }
.prod-feature { background: var(--ink); color: var(--bg); border-radius: var(--r); overflow: hidden; }
.prod-feature .prod-img { border-radius: 0; aspect-ratio: 16/9; }
.pf-body { padding: 26px; display: grid; gap: 14px; justify-items: start; }
.pf-body .label { color: var(--accent-2); margin: 0; }
.pf-body h3 { font: 400 32px/1.05 var(--serif); }
.prod-feature .btn-ink { background: var(--bg); color: var(--ink); }
.prod-feature .btn-ink:hover { background: var(--accent-2); }

/* Rostro */
.face { padding: clamp(80px, 11vw, 160px) 0; }
.face-grid { display: grid; gap: 48px; align-items: center; }
.face .lead { margin: 22px 0 32px; }
.faces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 560px; }
.faces button { display: grid; justify-items: center; gap: 10px; padding: 18px 6px 14px; border: 1px solid var(--line); border-radius: 16px; font-size: 13px; font-weight: 600; transition: all .35s var(--ease); background: var(--paper); }
.faces svg { width: 40px; height: 52px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.faces button:hover { border-color: var(--ink); transform: translateY(-3px); }
.faces button[aria-checked="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.face-card { position: relative; padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: var(--green); color: #f1ece2; min-height: 380px; display: grid; align-content: start; gap: 16px; overflow: hidden; }
.face-card::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); box-shadow: 0 0 0 40px rgba(255,255,255,.03), 0 0 0 80px rgba(255,255,255,.02); }
.fc-k { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.fc-t { font: 400 clamp(32px, 3.4vw, 48px)/1.02 var(--serif); }
.fc-d { color: rgba(241,236,226,.8); max-width: 44ch; }
.fc-l { display: grid; gap: 8px; }
.fc-l li { display: flex; gap: 10px; align-items: center; }
.fc-l li::before { content: ""; width: 18px; height: 1px; background: var(--accent-2); }
.fc-m { margin-top: 8px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); font-size: 14px; }
.face-card.swap > * { animation: swapIn .6s var(--ease) both; }
@keyframes swapIn { from { opacity: 0; transform: translateY(12px); } }

/* Configurador */
.config { padding: clamp(80px, 11vw, 150px) 0; background: #ebe4d8; }
.cfg { display: grid; gap: 28px; align-items: start; }
.cfg-steps { display: grid; gap: 22px; }
fieldset { border: 0; padding: 0; display: grid; gap: 10px; }
legend { display: flex; align-items: center; gap: 12px; font: 400 30px/1 var(--serif); margin-bottom: 14px; }
legend span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font: 500 13px/1 var(--mono); }
.opt { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--paper); border: 1px solid transparent; cursor: pointer; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.opt:hover { transform: translateX(4px); }
.opt input { appearance: none; width: 22px; height: 22px; flex: none; border: 1.5px solid var(--muted); border-radius: 50%; display: grid; place-items: center; transition: all .25s; }
.opt input[type="checkbox"] { border-radius: 7px; }
.opt input:checked { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 4px var(--paper); }
.opt input[type="checkbox"]:checked { box-shadow: none; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; }
.opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 10px 30px -18px rgba(164,84,43,.6); }
.opt span { display: grid; gap: 2px; flex: 1; }
.opt small { color: var(--muted); font-size: 13px; }
.opt em { font: 600 14px/1 var(--sans); font-style: normal; font-variant-numeric: tabular-nums; }
.cfg-sum { position: sticky; top: 100px; padding: 30px; border-radius: 24px; background: var(--ink); color: var(--bg); display: grid; gap: 16px; }
.cfg-sum .label { color: var(--accent-2); margin: 0; }
.cfg-lines { display: grid; gap: 10px; font-size: 14px; }
.cfg-lines li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed rgba(255,255,255,.14); }
.cfg-lines b { font-weight: 500; font-variant-numeric: tabular-nums; }
.cfg-total { display: flex; justify-content: space-between; align-items: baseline; }
.cfg-total b { font: 400 54px/1 var(--serif); font-variant-numeric: tabular-nums; }
.cfg-quota { color: var(--accent-2); font-size: 14px; }
.cfg-note { font-size: 12px; color: rgba(245,241,234,.55); }

/* Examen */
.exam { padding: clamp(80px, 11vw, 160px) 0; }
.exam-grid { display: grid; gap: 48px; align-items: start; }
.exam-img { border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; }
.exam-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.steps { display: grid; margin: 34px 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps b { font: 500 13px/1.6 var(--mono); color: var(--accent); }
.steps h3 { font: 600 17px/1.3 var(--sans); }
.steps p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.form { display: grid; gap: 14px; padding: 26px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.f2 { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.form input, .form select { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-size: 15px; transition: border-color .3s, box-shadow .3s; }
.form input:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(164,84,43,.14); }
.form-ok { color: var(--green); font-weight: 600; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }

/* Laboratorio */
.lab { position: relative; padding: clamp(100px, 14vw, 200px) 0; color: #fff; overflow: hidden; }
.lab-bg { position: absolute; inset: 0; }
.lab-bg img { position: absolute; left: 0; top: -15%; height: 130%; }
.lab::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(21,19,15,.78), rgba(21,19,15,.9)); }
.lab-in { position: relative; z-index: 2; }
.lab .label { color: var(--accent-2); }
.lab .h2 em { color: var(--accent-2); }
.timeline { display: grid; gap: 1px; margin-top: 56px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; overflow: hidden; }
.timeline > div { padding: 28px; background: rgba(21,19,15,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.timeline span { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.timeline b { display: block; font: 400 34px/1.1 var(--serif); margin: 14px 0 8px; }
.timeline p { color: rgba(255,255,255,.72); font-size: 15px; }

/* Testimonios */
.quotes { padding: clamp(80px, 11vw, 150px) 0; }
.q-grid { display: grid; gap: 20px; }
.q { padding: 32px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 26px; align-content: space-between; }
.q p { font: 400 26px/1.22 var(--serif); }
.q footer { display: grid; gap: 2px; font-size: 14px; }
.q footer span { color: var(--muted); }

/* FAQ */
.faq { padding: clamp(60px, 9vw, 130px) 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; gap: 48px; }
.perks { display: grid; gap: 12px; margin-top: 30px; }
.perks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.perks li::before { content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; flex: none; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font: 400 24px/1.2 var(--serif); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 28px/1 var(--sans); transition: transform .4s var(--ease); }
.acc details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc details p { padding: 0 0 24px; color: var(--muted); max-width: 60ch; }

/* Tiendas */
.stores { padding: clamp(80px, 11vw, 150px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.store-grid { display: grid; gap: 18px; margin-top: 48px; }
.store { padding: 30px; border-radius: 24px; border: 1px solid var(--line); background: var(--bg); display: grid; gap: 10px; align-content: start; justify-items: start; }
.store h3 { font: 400 34px/1.05 var(--serif); }
.store p { color: var(--muted); }
.store .btn { margin-top: 10px; }
.st-state { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border-radius: 99px; background: rgba(21,19,15,.06); color: var(--ink) !important; }
.st-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b9b2a6; }
.st-state.is-open::before { background: #2fa36b; box-shadow: 0 0 0 4px rgba(47,163,107,.18); }
.st-h { font-size: 14px; }
.store-cta { background: var(--accent); color: #fff; border-color: var(--accent); }
.store-cta p { color: rgba(255,255,255,.85); }
.store-cta .btn-accent { background: #fff; color: var(--ink); }

/* Footer */
.foot { background: var(--ink); color: rgba(245,241,234,.75); padding-top: 72px; }
.foot-in { display: grid; gap: 34px; padding-bottom: 48px; }
.foot .logo { color: var(--bg); }
.foot-brand p { margin-top: 14px; max-width: 36ch; }
.foot h4 { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px; }
.foot a { cursor: pointer; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

/* Responsive */
@media (max-width: 719px) {
  .hm-ring, .hero-hint { display: none; }
  .hm-sharp { clip-path: circle(110px at 70% 26%); }
  .hero-media img { object-position: 64% 30%; }
}
@media (min-width: 540px) {
  .grid-products { grid-template-columns: repeat(2, 1fr); }
  .f2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .hero-facts { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .hero-facts li { border-bottom: 0; flex-direction: column; gap: 6px; }
  .q-grid, .store-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 960px) {
  .menu, .nav-cta { display: flex; }
  .burger { display: none; }
  .menu { margin-left: auto; }
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .face-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .cfg { grid-template-columns: 1.4fr 1fr; gap: 48px; }
  .exam-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .exam-img { position: sticky; top: 100px; }
  .faq-grid { grid-template-columns: 1fr 1.3fr; gap: 80px; }
  .foot-in { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 160s; }
  .hint-dot { animation: none; }
}
