@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
/* Layout: columna izquierda alineada, héroe en dos columnas (promesa + teléfono de ejemplo), secciones en bandas con un ancho máximo de 1120px. */
:root {
  --bg: #F5F7F5;
  --surface: #FFFFFF;
  --ink: #13211F;
  --muted: #4A5B58;
  --line: #D5DEDB;
  --brand: #0F4C4A;
  --brand-soft: #E1EEEC;
  --accent: #F7B955;
  --accent-ink: #1B1405;
  --wa: #1F8F4E;
  --on-brand: #FFFFFF;
  --focus: #0F4C4A;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius-s: 8px;
  --radius-l: 20px;
  --maxw: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1514; --surface: #13201E; --ink: #E7EFED; --muted: #A3B5B1; --line: #26403C;
    --brand: #6FC2B7; --brand-soft: #16302D; --accent: #F9C672; --accent-ink: #1B1405; --wa: #3CC07A;
    --on-brand: #0C1514; --focus: #F9C672;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C1514; --surface: #13201E; --ink: #E7EFED; --muted: #A3B5B1; --line: #26403C;
  --brand: #6FC2B7; --brand-soft: #16302D; --accent: #F9C672; --accent-ink: #1B1405; --wa: #3CC07A;
  --on-brand: #0C1514; --focus: #F9C672;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 6.4vw, 68px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 700; }
p { margin: 0; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: var(--maxw); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
.band { padding-block: clamp(56px, 9vw, 104px); }
.lead { font-size: 19px; color: var(--muted); max-width: 58ch; }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 680px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 17px/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Encabezado */
.top { padding-block: 20px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--ink); text-decoration: none; letter-spacing: -0.03em; }
.logo span { color: var(--brand); }
.top nav { display: flex; gap: 24px; align-items: center; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.top nav a:hover { color: var(--ink); }
.top nav a.btn-primary { color: var(--accent-ink); }
@media (max-width: 719px) { .top nav .navlink { display: none; } }

/* Héroe */
.hero .wrap { display: grid; gap: 48px; align-items: center; padding-block: 24px 72px; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr 0.85fr; } }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero-copy h1 em { font-style: normal; color: var(--brand); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 15px; padding: 0; margin: 0; list-style: none; }
.hero-facts li { display: flex; gap: 8px; align-items: center; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* Imagen del héroe: cuadro con el estilo del video (claro y oscuro) */
.hero-art { margin: 0; min-width: 0; justify-self: center; width: 100%; max-width: 520px; }
.hero-art img { display: block; width: 100%; height: auto; border-radius: var(--radius-l); box-shadow: 0 30px 70px -36px rgba(8, 30, 28, .45); }

/* Video de presentación (MP4 con voz y música) */
.reel-band { padding-block: clamp(24px, 4vw, 48px) clamp(56px, 9vw, 104px); }
.reel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.reel-head p { color: var(--muted); }
.reel { position: relative; overflow: hidden; aspect-ratio: 16 / 9; width: 100%; background: #F2F5F1; border-radius: var(--radius-l); }
/* La caja toma la forma del archivo que se está mostrando (lo decide el script), así el video nunca se recorta */
.reel.is-vertical { aspect-ratio: 4 / 5; }
.reel video { display: block; width: 100%; height: 100%; object-fit: contain; }
.reel-sound { display: inline-flex; align-items: center; gap: 8px; }
.reel-sound svg { width: 18px; height: 18px; }
.reel-sound[hidden] { display: none; }

/* Controles */
.reel-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.reel-cta { margin-left: auto; }
.reel-toggle { min-height: 44px; padding: 0 18px; font-size: 15px; flex: none; }
.reel-progress { height: 4px; margin-top: 12px; border-radius: 2px; background: var(--line); overflow: hidden; }
.reel-progress i { display: block; height: 100%; width: 0; background: var(--brand); }
.reel-script { margin-top: 14px; color: var(--muted); }
.reel-script summary { cursor: pointer; font-weight: 600; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.reel-script p { margin-top: 8px; max-width: 70ch; }

/* Servicios */
.services { display: grid; border-top: 1px solid var(--line); }
.service { display: grid; gap: 8px 32px; padding-block: 28px; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .service { grid-template-columns: 0.8fr 1.4fr 1fr; align-items: baseline; } }
.service h3 { font-size: 26px; }
.service p { color: var(--muted); }
.service .fit { font-size: 15px; color: var(--ink); }
.service .fit b { font-weight: 600; }

/* Esta página como muestra */
.showcase { background: var(--surface); border-block: 1px solid var(--line); }
.showcase .wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .showcase .wrap { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.showcase-copy { display: grid; gap: 20px; min-width: 0; }
.showcase-copy .hero-actions { margin-top: 4px; }
.proof { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.proof li { display: grid; grid-template-columns: 28px 1fr; gap: 4px 14px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.proof svg { width: 22px; height: 22px; color: var(--brand); grid-row: span 2; margin-top: 2px; }
.proof strong { font-size: 18px; }
.proof span { color: var(--muted); font-size: 16px; }

/* Problema / solución */
.pains { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pain { display: grid; gap: 8px 32px; padding-block: 24px; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .pain { grid-template-columns: 1fr 1fr; } }
.pain p:first-child { font-family: var(--font-display); font-size: 21px; font-weight: 500; }
.pain p:last-child { color: var(--muted); }

/* Paquetes */
.plans { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1.12fr 1fr; align-items: center; } }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 28px; display: grid; gap: 18px; min-width: 0;
}
.plan.featured { background: var(--brand); color: var(--on-brand); border-color: var(--brand); padding-block: 40px; }
.plan .badge { justify-self: start; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.plan-for { font-size: 15px; opacity: .8; }
.price { font-family: var(--font-display); font-size: 40px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--font-body); font-size: 15px; font-weight: 500; letter-spacing: 0; opacity: .8; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 16px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.plan li svg { width: 20px; height: 20px; margin-top: 2px; color: var(--brand); }
.plan.featured li svg { color: currentColor; }
.plan .btn { width: 100%; }
.plan.featured .btn-ghost { color: inherit; border-color: currentColor; }
.plans-note { margin-top: 24px; color: var(--muted); font-size: 15px; }
.launch { justify-self: start; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 15px; padding: 8px 16px; border-radius: 999px; }
.was { font-size: 15px; opacity: .8; margin-bottom: -12px; }
.was s { font-weight: 600; }
.price-extra { font-size: 15px; font-weight: 600; }

/* Proceso */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 3px solid var(--brand); min-width: 0; }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--brand); line-height: 1; }
.steps p { color: var(--muted); font-size: 16px; }
.steps .time { font-size: 14px; font-weight: 600; color: var(--ink); }

/* Garantía */
.promise { background: var(--brand-soft); }
.promise .wrap { display: grid; gap: 24px; }
@media (min-width: 860px) { .promise .wrap { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; } }
.promise-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.promise-list li { display: grid; gap: 4px; }
.promise-list strong { font-size: 18px; }
.promise-list span { color: var(--muted); }

/* Proyectos de muestra */
.works { display: grid; gap: 24px; }
@media (min-width: 900px) { .works { grid-template-columns: repeat(3, 1fr); } }
.work { display: grid; gap: 14px; align-content: start; min-width: 0; }
.work-shot { aspect-ratio: 4 / 3; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; padding: 20px; }
.work-tag { justify-self: start; font-size: 13px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.work h3 { font-size: 22px; }
.work p { color: var(--muted); font-size: 16px; }
.works-note { margin-top: 20px; color: var(--muted); font-size: 15px; max-width: 70ch; }
/* Maquetas: son "capturas" de diseños de muestra, por eso usan su propia paleta fija */
.mk { width: 100%; max-width: 320px; border-radius: 10px; overflow: hidden; box-shadow: 0 16px 30px -18px rgba(0,0,0,.5); font-family: var(--font-body); }
.mk-bar { display: flex; gap: 5px; padding: 7px 9px; background: #EEF1F4; }
.mk-bar i { width: 7px; height: 7px; border-radius: 50%; background: #C9D0D8; }
.mk-in { padding: 14px; display: grid; gap: 10px; }
.mk-h { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.1; }
.mk-b { justify-self: start; font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.mk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mk-grid i { aspect-ratio: 3 / 4; border-radius: 6px; }
.shot-dental { background: #E6F0FA; }
.shot-dental .mk { background: #FFFFFF; color: #12355F; }
.shot-dental .mk-hero { background: #1E5AA8; color: #FFFFFF; border-radius: 8px; padding: 14px; display: grid; gap: 8px; }
.shot-dental .mk-b { background: #8FE0C9; color: #0D3B30; }
.shot-dental .mk-row { display: flex; gap: 6px; font-size: 11px; font-weight: 600; }
.shot-dental .mk-row span { flex: 1; background: #E6F0FA; border-radius: 6px; padding: 7px; text-align: center; }
.shot-boutique { background: #F3E3DC; }
.shot-boutique .mk { background: #FFFBF8; color: #2B1B17; }
.shot-boutique .mk-grid i:nth-child(1) { background: #D9B8A8; } .shot-boutique .mk-grid i:nth-child(2) { background: #B98E7D; } .shot-boutique .mk-grid i:nth-child(3) { background: #E8CFC4; }
.shot-boutique .mk-b { background: #2B1B17; color: #FFFBF8; }
.shot-boutique .mk-price { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; }
.shot-taller { background: #2A2D31; }
.mk-phone { width: 46%; min-width: 130px; aspect-ratio: 9 / 16; background: #1D1F22; color: #F4F4F2; border: 6px solid #0E0F10; border-radius: 22px; padding: 12px 10px; display: grid; align-content: start; gap: 8px; box-shadow: 0 16px 30px -18px rgba(0,0,0,.7); }
.mk-phone .mk-h { font-size: 15px; }
.mk-slot { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; background: #2E3136; border-radius: 8px; padding: 8px; }
.mk-slot b { background: #F2C230; color: #1D1F22; border-radius: 999px; padding: 2px 8px; font-size: 10px; }
.mk-slot.off { background: #26292D; color: #B7BBC0; }

/* Testimonios */
.voices { margin-top: 48px; border: 2px dashed var(--line); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; }
@media (min-width: 860px) { .voices { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; } }
.voices h3 { font-size: 26px; }
.voices p { color: var(--muted); }

/* Aviso de privacidad */
.privacy { padding-block: 0 24px; }
.privacy details { border-top: 1px solid var(--line); }
.privacy summary { cursor: pointer; padding-block: 20px; font-weight: 600; color: var(--muted); }
.privacy-body { display: grid; gap: 14px; padding-bottom: 32px; max-width: 72ch; font-size: 15px; color: var(--muted); }
.privacy-body h3 { font-family: var(--font-body); font-size: 16px; color: var(--ink); letter-spacing: 0; }
.privacy-body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--font-display); font-size: 20px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; color: var(--brand); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 64ch; }

/* Cierre */
.closing { background: var(--ink); color: var(--bg); --focus: var(--accent); }
.closing .wrap { display: grid; gap: 28px; }
.closing h2 { max-width: 16ch; }
.closing .lead { color: inherit; opacity: .8; }
.closing .btn-ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 40%, transparent); }
.mail-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mail-addr { font-size: 18px; font-weight: 600; user-select: all; color: inherit; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.copy-note { font-size: 14px; opacity: .75; min-height: 1.4em; }

footer { padding-block: 32px 96px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 0 24px; justify-content: space-between; align-items: center; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; }
@media (min-width: 720px) { footer { padding-bottom: 32px; } }

/* WhatsApp flotante (solo celular) */
.wa-float {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); z-index: 20;
}
.wa-float svg { width: 26px; height: 26px; }
@media (min-width: 720px) { .wa-float { display: none; } }
.sprite { position: absolute; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.band-tight { padding-top: 0; }
.price-was { font-weight: 500; opacity: .8; }
.section-head-flush { margin: 0; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
