/* ==========================================================
   DENSELL WHITE – estilos v3 (más concreta, mobile primero)
   Sistema tonal: negro -> escala de grises neutros -> blanco.
   El naranja #f15922 queda reservado para la acción de compra.
   Texto sobre naranja: blanco (ver --orange-text-shadow para
   agregar contorno negro si en algún lugar no se lee bien).
   ========================================================== */
:root {
  --black: #000;
  --g900: #141414;
  --g850: #1b1b1b;
  --g800: #262626;
  --g700: #363636;
  --g600: #525252;
  --g500: #737373;
  --g400: #a3a3a3;
  --g300: #cdcdcd;
  --g200: #e3e3e3;
  --g100: #efefef;
  --white: #fff;

  --orange: #f15922;
  --orange-dk: #d94a15;
  --wa: #128c4a;
  --wa-dk: #0e7a3f;
  --wa-ico: #34d178;
  --focus: #fff;
  /* Contorno del texto blanco sobre naranja. Por defecto: sin contorno.
     Para activarlo, reemplazá "none" por:
     -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000 */
  --orange-text-shadow: none;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1200px;
  --pad: clamp(16px, 5vw, 56px);
  --studio: radial-gradient(120% 100% at 50% 28%, #f5f5f5 0%, #e0e0e0 72%, #d2d2d2 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--black); color: var(--white); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.1; letter-spacing: -.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 4px; background: var(--orange); color: #fff; font-weight: 700; text-shadow: var(--orange-text-shadow); }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--pad), var(--maxw)); margin-inline: auto; }
.wa-ico { flex: none; width: 1.3em; height: 1.3em; color: var(--wa-ico); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: .9rem 1.6rem; border: 1.5px solid transparent; border-radius: 4px; font: 600 .95rem/1.15 var(--font); letter-spacing: .01em; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-sm { padding: .65rem 1.1rem; font-size: .85rem; }
.btn-lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { flex: none; width: 46px; padding: 0; }
.btn-primary { background: var(--orange); color: #fff; text-shadow: var(--orange-text-shadow); }
.btn-primary:hover { background: var(--orange-dk); }
.btn-wa { border-color: var(--g600); background: transparent; color: #fff; }
.btn-wa:hover { border-color: #fff; }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: var(--g200); }
.btn-white .wa-ico { color: var(--wa); }
.btn-dark { background: #000; color: #fff; }
.btn-dark:hover { background: var(--g800); }
.btn-line-white { border-color: #fff; background: transparent; color: #fff; text-shadow: var(--orange-text-shadow); }
.btn-line-white:hover { background: #fff; color: #000; text-shadow: none; }
.btn-line-white .wa-ico { color: #fff; }
.btn-line-white:hover .wa-ico { color: var(--wa); }

/* ---------- Barra superior (opcional) ---------- */
.topbar { padding: 10px var(--pad); border-bottom: 1px solid var(--g800); background: var(--g850); color: var(--g300); font-size: .8rem; font-weight: 500; text-align: center; }
.topbar a { margin-left: 10px; color: #fff; font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- Header (blanco) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--g200); color: #000; --focus: #000; }
.header-in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 16px; margin-right: auto; color: #000; text-decoration: none; }
.brand-logo { height: 34px; width: auto; max-width: 190px; object-fit: contain; }
.brand-fallback { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.brand-name { padding-left: 16px; border-left: 1px solid var(--g300); color: var(--g600); font-size: .82rem; font-weight: 500; }
.nav ul { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--g700); font-size: .9rem; font-weight: 500; text-decoration: none; transition: color .2s; }
.nav a:not(.btn):hover { color: #000; }
.nav-cta { display: none; }
.header-cta { flex: none; }
.menu-toggle { display: none; align-items: center; padding: .65rem 1.1rem; border: 1.5px solid #000; border-radius: 4px; background: #fff; color: #000; font: 600 .85rem/1 var(--font); cursor: pointer; }
.menu-toggle::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(28px, 6vw, 88px) clamp(40px, 8vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.9vw, 4.3rem); line-height: 1.05; letter-spacing: -.032em; }
.hero-lead { max-width: 44ch; margin-top: 20px; color: var(--g300); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-media { position: relative; aspect-ratio: 1 / 1.02; background: var(--studio); overflow: hidden; }
.hero-media::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; width: 88px; height: 6px; background: var(--orange); }
.hero-media img { position: absolute; top: 8%; left: 8%; width: 84%; height: 84%; object-fit: contain; object-position: center; mix-blend-mode: multiply; }
.hero-tag { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; font-size: .95rem; font-weight: 600; line-height: 1.3; }

@media (prefers-reduced-motion: no-preference) {
  .hero [data-in] { opacity: 0; animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i, 0) * 110ms); }
  body:not(.ready) .hero [data-in] { animation-play-state: paused; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ---------- Beneficios / ¿Por qué elegir? ---------- */
.benefits { padding-block: clamp(40px, 6vw, 80px); border-block: 1px solid var(--g800); background: var(--g900); }
.benefits-title { margin-bottom: clamp(22px, 3.4vw, 40px); font-size: clamp(1.35rem, 2.6vw, 2rem); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--g800); background: var(--g800); }
.benefit { padding: 28px 24px 30px; background: var(--g900); }
.benefit-ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border: 1px solid var(--g600); color: #fff; }
.benefit-ico svg { width: 22px; height: 22px; }
.benefit-ico--ar svg { width: 32px; height: 32px; }
.benefit h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.benefit p { margin-top: 8px; color: var(--g400); font-size: .88rem; line-height: 1.5; }
@media (max-width: 900px) { .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .benefit { padding: 18px 14px 20px; }
  .benefit-ico { width: 38px; height: 38px; margin-bottom: 14px; }
  .benefit-ico svg { width: 19px; height: 19px; }
  .benefit-ico--ar svg { width: 28px; height: 28px; }
  .benefit h3 { font-size: .95rem; }
  .benefit p { font-size: .8rem; line-height: 1.45; }
}

/* ---------- Secciones ---------- */
.section { padding-block: clamp(44px, 8vw, 112px); }
.section--line { border-top: 1px solid var(--g800); }
.section--paper { background: var(--g100); color: #000; --focus: #000; }
.section--orange { background: var(--orange); color: #fff; --focus: #fff; }
.sec-head { max-width: 760px; margin-bottom: clamp(20px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(1.6rem, 3.3vw, 2.6rem); }
.sec-head p { margin-top: 12px; color: var(--g400); font-size: 1rem; }
.section-cta { display: flex; justify-content: flex-start; margin-top: clamp(28px, 4vw, 48px); }

/* ---------- Selector por tratamiento (opcional) ---------- */
.paths { border-top: 1px solid var(--g800); }
.path { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; align-items: center; gap: 8px 40px; width: 100%; padding: 32px 8px 32px 0; border: 0; border-bottom: 1px solid var(--g800); background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color .25s, padding .25s; }
.path::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--orange); transform: scaleY(0); transform-origin: top; transition: transform .25s; }
.path:hover { padding-left: 28px; background: var(--g900); }
.path:hover::before { transform: scaleY(1); }
.path h3 { font-size: clamp(1.3rem, 2.3vw, 1.8rem); font-weight: 600; }
.path p { max-width: 46ch; color: var(--g400); font-size: .95rem; }
.path-count { padding-bottom: 3px; border-bottom: 1px solid var(--g600); color: var(--g300); font-size: .88rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 760px) { .path { grid-template-columns: 1fr auto; padding: 24px 0; } .path p { grid-column: 1 / -1; order: 3; } .path:hover { padding-left: 18px; } }

/* ---------- Destacado (opcional) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.feature-media { position: relative; aspect-ratio: 1 / 1; background: radial-gradient(120% 100% at 50% 28%, #fff 0%, #f1f1f1 70%, #e4e4e4 100%); overflow: hidden; }
.feature-media::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; width: 88px; height: 6px; background: var(--orange); }
.feature-media img { position: absolute; top: 8%; left: 8%; width: 84%; height: 84%; object-fit: contain; object-position: center; mix-blend-mode: multiply; }
.badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: .82rem; font-weight: 700; }
.badge::before { content: ""; width: 8px; height: 8px; background: var(--orange); }
.feature h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); }
.feature .lead { max-width: 52ch; margin-top: 16px; color: #2b2b2b; font-size: 1.02rem; }
.incl-title { margin: 28px 0 6px; font-size: .95rem; font-weight: 700; letter-spacing: 0; }
.feature .specs--table { gap: 0; color: #111; font-size: .96rem; line-height: 1.45; }
.feature .specs--table li { padding: 13px 0; border-bottom: 1px solid rgba(0, 0, 0, .15); }
.feature .specs--table li:first-child { border-top: 1px solid rgba(0, 0, 0, .15); }
.feature .specs--table li::before { display: none; }
.feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.feature .chips { margin-top: 22px; }
.section--paper .btn-wa { border-color: #000; color: #000; }
.section--paper .btn-wa:hover { background: #000; color: #fff; }
.section--paper .btn-wa .wa-ico { color: var(--wa); }
.section--paper .btn-wa:hover .wa-ico { color: var(--wa-ico); }
.section--paper .chip { border-color: rgba(0, 0, 0, .3); color: #222; }
.section--paper .chip--mode { border-color: #000; background: #000; color: #fff; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature-media { max-width: 480px; } }

/* ---------- Filtros ---------- */
.filters { display: flex; gap: 28px; margin-bottom: 28px; overflow-x: auto; border-bottom: 1px solid var(--g800); scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; padding: 14px 0; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: var(--g400); font: 600 .95rem/1 var(--font); cursor: pointer; transition: color .2s, border-color .2s; }
.filter:hover { color: #fff; }
.filter[aria-pressed="true"] { border-bottom-color: var(--orange); color: #fff; }
.filter .count { margin-left: 6px; color: var(--g500); font-weight: 500; }

/* ---------- Tarjetas compactas ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--g800); border-radius: 2px; background: var(--g900); transition: border-color .2s; }
.card:hover { border-color: var(--g600); }
/* Foto centrada de forma fija: no depende de alturas en % ni de grid */
.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--studio); overflow: hidden; cursor: pointer; }
.card-media img { position: absolute; top: 9%; left: 9%; width: 82%; height: 82%; object-fit: contain; object-position: center; mix-blend-mode: multiply; }
.card-media.is-empty::after { content: "Imagen no disponible"; position: absolute; inset: 0; display: grid; place-items: center; color: #666; font-size: .8rem; }
.card-badge { position: absolute; z-index: 1; top: 0; left: 0; padding: .4rem .8rem; background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700; text-shadow: var(--orange-text-shadow); }
.card-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 16px 16px; }
.card-mode { color: var(--g400); font-size: .74rem; font-weight: 600; }
.card h3 { font-size: 1rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.card-foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: auto; padding-top: 14px; }
.card-buy { display: flex; gap: 8px; }
.card-buy .btn-block { flex: 1; width: auto; min-width: 0; padding-inline: .6rem; }
.card-buy .btn { padding-block: .8rem; font-size: .9rem; }
.card-buy .btn-icon { padding: 0; }
.card-price { margin-top: 2px; font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.card-price s, .hero-price s, .quick-price s { margin-right: 8px; color: var(--g500); font-size: .8em; font-weight: 500; }
.hero-tag-info { display: grid; gap: 2px; }
.hero-price { color: var(--g300); font-size: .9rem; font-weight: 700; }
.quick-price { font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; }
.quick-note { color: var(--g500); font-size: .74rem; line-height: 1.45; }
.card-more { justify-self: start; padding: 2px 0; border: 0; background: none; color: var(--g400); font: 600 .8rem/1.2 var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.card-more:hover { color: #fff; }
.cards.is-changing .card { animation: cardIn .35s ease both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; padding: .3rem .65rem; border: 1px solid var(--g700); border-radius: 2px; color: var(--g300); font-size: .72rem; font-weight: 600; letter-spacing: .01em; }
.chip--mode { border-color: var(--g200); background: var(--g200); color: #000; }
.specs { display: grid; gap: 7px; color: var(--g400); font-size: .86rem; line-height: 1.45; }
.specs li { position: relative; padding-left: 16px; }
.specs li::before { content: ""; position: absolute; top: .58em; left: 0; width: 6px; height: 6px; background: var(--g600); }

.note { max-width: 760px; margin-top: 32px; padding: 18px 20px; border-left: 3px solid var(--orange); background: var(--g900); color: var(--g300); font-size: .92rem; }
.note--review { margin: 0 0 28px; border: 1px dashed var(--orange); border-left-width: 3px; }

/* ---------- Detalle rápido (ventana) ---------- */
.quick { width: min(100% - 32px, 880px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--g700); border-radius: 2px; background: var(--g900); color: #fff; overflow: auto; }
.quick:focus { outline: none; }
.quick::backdrop { background: rgba(0, 0, 0, .8); }
.quick-close { position: absolute; z-index: 2; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .7); color: #fff; font: 400 1.7rem/1 var(--font); cursor: pointer; }
.quick-close:hover { background: #000; }
.quick-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.quick-media { position: relative; min-height: 360px; background: var(--studio); }
.quick-media img { position: absolute; top: 8%; left: 8%; width: 84%; height: 84%; object-fit: contain; object-position: center; mix-blend-mode: multiply; }
.quick-info { display: flex; flex-direction: column; gap: 14px; padding: 32px 28px 28px; }
.quick-info h2 { font-size: 1.5rem; line-height: 1.2; }
.quick-sum { color: var(--g300); font-size: .95rem; }
.specs--quick { padding-block: 4px; }
.quick-actions { display: grid; gap: 10px; margin-top: 8px; }
.quick-sku { color: var(--g500); font-size: .75rem; }
@media (max-width: 700px) {
  .quick { width: 100%; max-width: none; max-height: 90vh; max-height: 90dvh; margin: auto 0 0; border-width: 1px 0 0; animation: sheet .28s ease; }
  .quick-body { grid-template-columns: 1fr; }
  .quick-media { min-height: 0; aspect-ratio: 16 / 10; }
  .quick-info { padding: 22px 18px 24px; }
  .quick-info h2 { font-size: 1.25rem; }
  @keyframes sheet { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ---------- Banda WhatsApp (opcional) ---------- */
.band { padding-block: clamp(40px, 6vw, 72px); border-block: 1px solid var(--g800); background: var(--g900); }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band h2 { font-size: clamp(1.4rem, 2.8vw, 2.2rem); }
.band p { max-width: 52ch; margin-top: 10px; color: var(--g300); font-size: 1rem; }

/* ---------- Proceso (opcional) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { padding-top: 24px; border-top: 1px solid var(--g700); }
.step-n { margin-bottom: 20px; color: var(--g500); font-size: 3.4rem; font-weight: 200; line-height: 1; letter-spacing: -.02em; }
.step h3 { font-size: 1.2rem; font-weight: 600; }
.step p:not(.step-n) { margin-top: 12px; color: var(--g400); font-size: .93rem; line-height: 1.6; }
.link { display: inline-block; margin-top: 18px; color: #fff; font-size: .9rem; font-weight: 600; text-underline-offset: 4px; }
.link:hover { color: var(--orange); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Casos clínicos ---------- */
.cases { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 24px; max-width: calc(var(--n, 3) * 420px + (var(--n, 3) - 1) * 24px); }
.cases--single { grid-template-columns: 1fr; max-width: 940px; }
.cases--single .case { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: stretch; }
.cases--single .ba, .cases--single .case-single { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; min-height: 340px; }
.cases--single .case-data { grid-column: 2; grid-row: 1; align-content: center; padding: 28px; }
.cases--single .case-foot { grid-column: 2; grid-row: 2; padding: 0 28px 28px; }
@media (max-width: 820px) {
  .cases, .cases--single { grid-template-columns: 1fr; max-width: 520px; }
  .cases--single .case { display: block; }
  .cases--single .ba, .cases--single .case-single { aspect-ratio: 4 / 3; min-height: 0; }
  .cases--single .case-data { padding: 20px; }
  .cases--single .case-foot { padding: 0 20px 20px; }
}
.case { overflow: hidden; border: 1px solid var(--g800); border-radius: 2px; background: var(--g900); }
.ba { position: relative; --pos: 50%; aspect-ratio: 4 / 3; background: var(--g800); overflow: hidden; user-select: none; -webkit-user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba-line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 2px solid #fff; border-radius: 50%; background: rgba(0, 0, 0, .55); box-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.ba-tag { position: absolute; bottom: 10px; padding: 5px 10px; background: rgba(0, 0, 0, .78); color: #fff; font-size: .74rem; font-weight: 600; pointer-events: none; }
.ba-tag--b { left: 10px; }
.ba-tag--a { right: 10px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba:focus-within { outline: 3px solid #fff; outline-offset: -3px; }
.case-single { position: relative; aspect-ratio: 4 / 3; background: var(--g800); }
.case-single img { width: 100%; height: 100%; object-fit: cover; }
.case-empty { display: grid; place-items: center; height: 100%; color: var(--g500); font-size: .85rem; }
.case-data { display: grid; gap: 12px; margin: 0; padding: 20px; }
.case-data dt { color: var(--g500); font-size: .76rem; }
.case-data dd { margin: 2px 0 0; font-weight: 600; }
.case-foot { padding: 0 20px 20px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--g800); }
.faq details:first-child { border-top: 1px solid var(--g800); }
.faq summary { position: relative; padding: 20px 40px 20px 0; font-size: 1rem; font-weight: 600; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 50%; right: 4px; color: var(--g500); font-size: 1.6rem; font-weight: 300; transform: translateY(-50%); transition: color .2s; }
.faq summary:hover::after { color: var(--orange); }
.faq details[open] summary::after { content: "\2212"; color: var(--orange); }
.faq-a { max-width: 70ch; padding: 0 40px 22px 0; color: var(--g300); font-size: .95rem; }

/* ---------- CTA final ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px 64px; }
.cta h2 { max-width: 18ch; font-size: clamp(1.9rem, 4.4vw, 3.4rem); text-shadow: var(--orange-text-shadow); }
.cta p { max-width: 46ch; margin-top: 14px; font-size: 1.05rem; font-weight: 600; text-shadow: var(--orange-text-shadow); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Footer (todo el ancho, centrado) ---------- */
.site-footer { width: 100%; border-top: 1px solid var(--g800); background: var(--g900); color: var(--g400); text-align: center; }
.footer-main { display: flex; flex-direction: column; align-items: center; padding-block: 60px 52px; }
.footer-main::before { content: ""; width: 40px; height: 3px; margin-bottom: 30px; background: var(--orange); }
.footer-logo { width: auto; max-width: 200px; height: 36px; margin-bottom: 22px; object-fit: contain; filter: brightness(0) invert(1); }
.site-footer h3 { color: #fff; font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.site-footer address { margin-top: 8px; color: var(--g300); font-size: 1rem; }
.footer-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.btn-soft { border-color: var(--g600); background: transparent; color: #fff; }
.btn-soft:hover { border-color: #fff; background: #fff; color: #000; }
.btn-soft .wa-ico { color: var(--wa-ico); }
.btn-soft:hover .wa-ico { color: var(--wa); }
.ico { flex: none; width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-legal { width: 100%; padding: 24px var(--pad); border-top: 1px solid var(--g800); background: #000; }
.legal { max-width: 70ch; margin-inline: auto; font-size: .78rem; line-height: 1.6; }
.copy { margin-top: 10px; color: var(--g500); font-size: .75rem; }

/* ---------- WhatsApp flotante (solo ícono) ---------- */
.wa-float { position: fixed; z-index: 60; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .55); transition: background-color .2s, transform .2s; --focus: #fff; }
.wa-float:hover { background: var(--wa-dk); transform: scale(1.06); }
.wa-float .wa-ico { width: 33px; height: 33px; color: #fff; }
body.modal-open .wa-float { display: none; }

/* ---------- Tablet / mobile ---------- */
@media (max-width: 900px) {
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 4px var(--pad) 22px; border-bottom: 1px solid var(--g200); background: #fff; box-shadow: 0 18px 30px rgba(0, 0, 0, .35); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li a:not(.btn) { display: block; padding: 16px 0; border-bottom: 1px solid var(--g200); color: #000; font-size: 1rem; }
  .nav-cta { display: block; }
  .nav-cta .btn { width: 100%; margin-top: 18px; padding-block: 1rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
}
@media (max-width: 700px) {
  .brand-name { display: none; }
  .header-in { min-height: 60px; gap: 16px; }
  .brand-logo { height: 30px; }
  .hero-actions { display: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 12px; }
  .card h3 { font-size: .9rem; }
  .card-price { font-size: .98rem; }
  .card-more { font-size: .76rem; }
  .card-buy { gap: 6px; }
  .card-buy .btn { font-size: .85rem; }
  .card-buy .btn-icon { width: 42px; }
  .footer-main { padding-bottom: 84px; }
  .hero-media { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .topbar { font-size: .76rem; }
  .cta-actions .btn, .band-in > .btn, .feature-actions .btn, .section-cta .btn { width: 100%; }
  .footer-actions .btn { flex: 1 1 100%; }
  .filters { gap: 22px; }
  .wa-float { width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
