/* Layout: instrument-panel landing — copy left, live manómetro right; sections alternate between
   cool "agua" paper and white; navy ink + Rowa red used sparingly for action. */
:root {
  --paper: #EDF2F7;
  --surface: #FFFFFF;
  --surface-2: #F6F9FC;
  --ink: #0E2340;
  --ink-soft: #4A5D78;
  --line: #D5DEE9;
  --red: #E0261C;
  --red-ink: #B81B12;
  --wa: #1FAF5A;
  --wa-ink: #FFFFFF;
  --ok: #2E9C8F;
  --low: #8CA0B8;
  --gauge-face: #FBFCFE;
  --gauge-bezel: #C9D3DF;
  --on-ink: #FFFFFF;
  --shadow: 0 1px 2px rgb(14 35 64 / .06), 0 12px 32px -12px rgb(14 35 64 / .18);

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --s-1: .5rem; --s-2: .75rem; --s-3: 1rem; --s-4: 1.5rem; --s-5: 2rem; --s-6: 3rem; --s-7: 4.5rem;
  --r: 14px;
  --maxw: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0A1626; --surface: #0F2034; --surface-2: #132840; --ink: #E7EEF7; --ink-soft: #9DB0C7;
    --line: #22395A; --red: #FF4B3E; --red-ink: #FF6A5F; --wa: #25C266; --wa-ink: #04170B; --ok: #3FBFAF;
    --low: #5E7594; --gauge-face: #0C1A2C; --gauge-bezel: #2A4365; --on-ink: #0A1626;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px -12px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0A1626; --surface: #0F2034; --surface-2: #132840; --ink: #E7EEF7; --ink-soft: #9DB0C7;
  --line: #22395A; --red: #FF4B3E; --red-ink: #FF6A5F; --wa: #25C266; --wa-ink: #04170B; --ok: #3FBFAF;
  --low: #5E7594; --gauge-face: #0C1A2C; --gauge-bezel: #2A4365; --on-ink: #0A1626;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px -12px rgb(0 0 0 / .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

.wrap {
  max-width: var(--maxw); margin-inline: 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)); }
}

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 16px; }

/* Type */
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; font-stretch: 112%; line-height: .98; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 800; font-stretch: 108%; line-height: 1.05; }
h3 { font-size: 1.2rem; font-weight: 700; font-stretch: 100%; line-height: 1.2; }
p { margin: 0; }
.eyebrow {
  font-family: var(--f-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--red-ink); margin-bottom: var(--s-2); font-weight: 500;
}
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 34em; }
.section-sub { color: var(--ink-soft); max-width: 38em; margin-top: var(--s-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: 600 1rem/1 var(--f-body); padding: .95rem 1.35rem; border-radius: 999px;
  border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 1.25rem; height: 1.25rem; }
.btn:active { transform: translateY(1px); }
.btn-wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 8px 20px -10px var(--wa); }
.btn-wa:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--on-ink); }
.btn-dark:hover { background: var(--red); color: #fff; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-block: .7rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; min-width: 0; }
.brand-mark { width: 30px; height: 38px; flex: none; }
.brand-text { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-text em { color: var(--red); font-style: italic; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { white-space: nowrap; color: var(--on-ink); background: var(--ink); padding: .55rem 1rem; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--red); color: #fff; }
@media (max-width: 860px) { .nav a:not(.nav-cta) { display: none; } }
@media (max-width: 380px) { .brand-text { font-size: 1rem; } .nav .nav-cta { padding: .5rem .8rem; font-size: .88rem; } }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: auto -10% -1px -10%; height: 46%;
  background:
    radial-gradient(60% 100% at 70% 100%, color-mix(in srgb, var(--ok) 14%, transparent), transparent 70%);
  pointer-events: none; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { display: grid; gap: var(--s-4); min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.hero-facts { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); margin: var(--s-2) 0 0; padding-top: var(--s-3); border-top: 1px solid var(--line); }
.hero-facts dt { font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.hero-facts dd { margin: .15rem 0 0; font-weight: 600; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .gauge-card { max-width: 420px; justify-self: center; width: 100%; } }

/* Gauge */
.gauge-card {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  padding: var(--s-4) var(--s-4) var(--s-4); box-shadow: var(--shadow); display: grid; gap: var(--s-2);
}
.gauge { width: 100%; height: auto; display: block; }
.g-bezel { fill: var(--gauge-bezel); }
.g-face { fill: var(--gauge-face); }
.g-zone { fill: none; stroke-width: 10; }
.g-zone-low { stroke: var(--low); }
.g-zone-ok { stroke: var(--ok); }
.g-zone-high { stroke: var(--red); }
.g-tick { stroke: var(--ink); stroke-linecap: round; }
.g-num { fill: var(--ink); font: 500 13px var(--f-mono); text-anchor: middle; dominant-baseline: middle; }
.g-unit { fill: var(--ink-soft); font: 500 12px var(--f-mono); text-anchor: middle; letter-spacing: .1em; }
.g-needle { fill: var(--red); transform-origin: 150px 150px; transition: transform .9s cubic-bezier(.3, 1.4, .5, 1); }
.g-hub { fill: var(--ink); }
.g-hub-dot { fill: var(--red); }
.gauge-readout { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: .4rem; padding-inline: var(--s-2); }
.readout-value { font-size: 2.4rem; font-weight: 500; line-height: 1; }
.readout-unit { color: var(--ink-soft); }
.readout-label { grid-column: 1 / -1; color: var(--ink-soft); font-size: .95rem; margin-top: .35rem; }
@media (prefers-reduced-motion: reduce) { .g-needle { transition: none; } }

/* Brand strip */
.brand-strip { background: var(--ink); color: var(--paper); }
.strip-inner { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-3) var(--s-5); padding-block: var(--s-4); }
.rowa-plate { background: #fff; border-radius: 12px; padding: .4rem .8rem; flex: none; }
.rowa-plate img { width: 128px; height: auto; }
.strip-inner p { flex: 1 1 260px; min-width: 0; }
.models { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; font-size: .85rem; }
.models li { border: 1px solid color-mix(in srgb, var(--paper) 30%, transparent); padding: .3rem .7rem; border-radius: 999px; }

/* Sections */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { margin-bottom: var(--s-5); }
.section-head.row { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: var(--s-3); }

/* Diagnóstico */
.diag { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s-4); align-items: start; }
.symptoms { display: grid; gap: .6rem; }
.symptom {
  display: flex; align-items: center; gap: .9rem; text-align: left; width: 100%;
  font: 500 1rem/1.3 var(--f-body); color: var(--ink); cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r); padding: .9rem 1rem;
  transition: border-color .15s, background-color .15s;
}
.symptom:hover { border-color: var(--ink-soft); }
.symptom[aria-checked="true"] { border-color: var(--ink); background: var(--surface-2); box-shadow: inset 4px 0 0 var(--red); }
.symptom .sym-bar { flex: none; width: 46px; height: 6px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.symptom .sym-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; }
.diag-result {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.25rem, 3vw, 2rem);
  display: grid; gap: var(--s-3); box-shadow: var(--shadow); position: sticky; top: 90px;
}
.diag-tag { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.diag-result h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-stretch: 106%; }
.diag-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.diag-cols h4 { margin: 0 0 .4rem; font: 600 .82rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.diag-cols ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; }
.diag-warn { background: color-mix(in srgb, var(--red) 10%, transparent); color: var(--ink); border-radius: 10px; padding: .75rem 1rem; font-size: .95rem; }
.diag-warn strong { color: var(--red-ink); }
.diag-result .btn { justify-self: start; }
@media (max-width: 860px) { .diag { grid-template-columns: 1fr; } .diag-result { position: static; } }
@media (max-width: 520px) { .diag-cols { grid-template-columns: 1fr; } }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.service { display: grid; align-content: start; gap: .6rem; padding: var(--s-4); border-radius: var(--r); background: var(--paper); }
.service svg { width: 36px; height: 36px; fill: var(--red); }
.service p { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); counter-reset: none; position: relative; }
.steps li { display: flex; gap: .85rem; align-items: start; position: relative; }
.step-n {
  flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--ink); font-weight: 500; background: var(--surface);
}
.steps h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.steps p { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-4); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Galería */
.filters, .zone-tabs { display: inline-flex; flex-wrap: wrap; gap: .35rem; padding: .3rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.filter, .zone-tabs button {
  font: 500 .92rem/1 var(--f-body); color: var(--ink-soft); background: transparent; border: 0;
  padding: .6rem 1rem; border-radius: 999px; cursor: pointer;
}
.filter.is-active, .zone-tabs button.is-active { background: var(--ink); color: var(--on-ink); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 220px; gap: var(--s-3); }
.g-item {
  position: relative; border: 0; padding: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in;
  background: var(--surface-2); text-align: left; color: #fff;
}
.g-item.tall { grid-row: span 2; }
.g-item[data-type="video"] { cursor: pointer; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.04); }
.g-item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(6 16 30 / .78)); pointer-events: none; }
.g-cap { position: absolute; left: .9rem; right: .9rem; bottom: .8rem; z-index: 1; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.g-cap .mono { font-weight: 400; opacity: .8; font-size: .82rem; margin-left: .3rem; }
.g-play {
  position: absolute; top: .8rem; right: .8rem; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgb(0 0 0 / .5);
}
.g-play svg { width: 20px; height: 20px; fill: #fff; margin-left: 2px; }
.g-item.is-hidden { display: none; }
.gallery-more { margin-top: var(--s-4); color: var(--ink-soft); }
.gallery-more a { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; } .g-item.tall { grid-row: span 2; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgb(5 12 22 / .92);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-2);
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.lb-stage { margin: 0; display: grid; gap: .8rem; justify-items: center; min-width: 0; }
.lb-media img, .lb-media video { max-width: 100%; max-height: 78vh; border-radius: 12px; display: block; }
.lightbox figcaption { color: #E7EEF7; text-align: center; max-width: 40em; }
.lb-close, .lb-nav { background: rgb(255 255 255 / .1); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.lb-close:hover, .lb-nav:hover { background: rgb(255 255 255 / .2); }
.lb-close { position: absolute; top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); font-size: 1.1rem; }
@media (max-width: 560px) { .lb-nav { width: 38px; height: 38px; } }

/* Cobertura */
.cover-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.zone-list { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.zone-list li { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: .4rem .75rem; font-size: .95rem; }
.zone-map { width: 100%; max-width: 420px; justify-self: center; height: auto; }
.zone { fill: var(--paper); stroke: var(--surface); stroke-width: 4; cursor: pointer; transition: fill .2s; }
.zone:hover { fill: color-mix(in srgb, var(--red) 25%, var(--paper)); }
.zone.is-active { fill: var(--red); }
.zone-label { fill: var(--ink); font: 700 14px var(--f-display); text-anchor: middle; pointer-events: none; letter-spacing: .02em; }
.zone-label.is-active { fill: #fff; }
.river { fill: color-mix(in srgb, var(--ok) 18%, var(--surface)); }
.wave-line { stroke: color-mix(in srgb, var(--ok) 55%, transparent); stroke-width: 1; }
.river-label { fill: var(--ink-soft); font: 500 11px var(--f-mono); text-anchor: middle; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 860px) { .cover-grid { grid-template-columns: 1fr; } .zone-map { max-width: 340px; } }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { display: grid; gap: var(--s-3); }
.contact-info .eyebrow { margin-bottom: 0; }
.contact-card { margin-top: var(--s-3); background: var(--ink); color: var(--paper); border-radius: 20px; padding: var(--s-4); display: grid; gap: var(--s-3); }
.contact-card .label { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.phone-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; }
.phone { font-size: clamp(1.25rem, 2.6vw, 1.55rem); user-select: all; }
.copy-btn { font: 500 .85rem/1 var(--f-body); background: transparent; color: var(--paper); border: 1px solid color-mix(in srgb, var(--paper) 40%, transparent); padding: .5rem .9rem; border-radius: 999px; cursor: pointer; }
.copy-btn:hover { background: color-mix(in srgb, var(--paper) 12%, transparent); }
.fb-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--paper); font-size: .95rem; text-decoration: none; overflow-wrap: anywhere; }
.fb-link svg { width: 20px; height: 20px; flex: none; }
.fb-link:hover { text-decoration: underline; }
.label { font-family: var(--f-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }

.wa-form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: var(--s-3); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; padding: 0; }
.field legend { margin-bottom: .4rem; }
.opt { font-weight: 400; color: var(--ink-soft); }
input[type="text"], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--ink); background: var(--surface-2);
  border: 1.5px solid var(--line); border-radius: 10px; padding: .75rem .85rem; transition: border-color .15s;
}
textarea { resize: vertical; min-height: 6.5rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.err { display: none; color: var(--red-ink); font-size: .85rem; }
.field.has-error .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .55rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; font-size: .95rem; background: var(--surface-2); }
.chip input:checked + span { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.preview { background: var(--paper); border-radius: 12px; padding: .9rem 1rem; display: grid; gap: .4rem; }
.preview pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .85rem; line-height: 1.5; color: var(--ink); }
.form-note { font-size: .92rem; color: var(--ink-soft); text-align: center; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--paper); border-radius: var(--r); padding: 0 1.2rem; }
.faq summary { cursor: pointer; font-weight: 600; padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--red); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 1.1rem; color: var(--ink-soft); max-width: 60ch; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding-block: var(--s-6) calc(var(--s-6) + 40px); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: var(--s-4); align-items: start; }
.footer-brand { display: grid; gap: .6rem; }
.footer-brand .brand-text em { color: var(--red); }
.footer-brand p { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.footer-links { display: grid; gap: .5rem; justify-items: end; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { grid-column: 1 / -1; font-size: .8rem; color: color-mix(in srgb, var(--paper) 55%, transparent); border-top: 1px solid color-mix(in srgb, var(--paper) 15%, transparent); padding-top: var(--s-3); }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } .footer-links { justify-items: start; } }

/* WhatsApp flotante */
.wa-float {
  position: fixed; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgb(0 0 0 / .45);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: ring 2.4s ease-out infinite;
}
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; display: none; } }
