/* SAT VISTA — servicio técnico de electrodomésticos, climatización y calefacción en Mallorca
   Layout: cabecera fija + secciones a ancho completo; el "buscador de avería" es la pieza central.
   Tema claro deliberado (web comercial); todos los colores definidos como tokens. */
:root {
  --navy: #0c2450;
  --navy-2: #13386c;
  --blue: #0877c2;
  --sky: #2bb5e6;
  --orange: #f37a14;
  --orange-ink: #b9560a;
  --wa: #128c55;
  --ink: #15233a;
  --muted: #55657a;
  --line: #d9e3ee;
  --paper: #ffffff;
  --mist: #f1f6fb;
  --sand: #fff6ee;
  --on-dark: #ffffff;
  --on-dark-muted: #c7d8ea;
  --shadow: 0 18px 50px rgba(12, 36, 80, .12);
  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-stretch: 112%; color: var(--navy); line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.eyebrow { font-family: var(--f-mono); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.stack { display: grid; gap: 14px; }

/* barra superior */
.topline { background: var(--navy); color: var(--on-dark-muted); font-size: .88rem; }
.topline .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; flex-wrap: wrap; }
.topline a { color: var(--on-dark); font-weight: 700; text-decoration: none; }
.topline b { color: var(--on-dark); }

/* cabecera */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 11px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--mist); color: var(--blue); }
.header-cta { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 9px 13px; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 12px 20px; border-radius: 12px; border: 0; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; background: var(--orange); color: var(--on-dark); box-shadow: 0 8px 20px rgba(243,122,20,.22); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(243,122,20,.3); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.wa { background: var(--wa); box-shadow: 0 8px 20px rgba(18,140,85,.22); }
.btn.navy { background: var(--navy); box-shadow: 0 8px 20px rgba(12,36,80,.18); }
.btn.ghost { background: var(--paper); color: var(--navy); border: 1px solid var(--line); box-shadow: none; }
.btn.small { min-height: 42px; padding: 8px 14px; font-size: .93rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* hero */
.hero { background: linear-gradient(160deg, var(--mist) 0%, var(--paper) 55%, var(--sand) 100%); padding-block: 48px 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 span { color: var(--blue); }
.hero .lead { margin-top: 18px; }
.hero .btn-row { margin-top: 26px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; padding: 0; list-style: none; font-weight: 600; color: var(--navy); font-size: .95rem; }
.ticks li { display: flex; gap: 8px; align-items: center; }
.ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--wa) 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 12 5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; flex: none; }
.hero-media { position: relative; }
.hero-media .photo { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/11; background: var(--mist); }
.hero-media .photo img { width: 100%; height: 100%; object-fit: cover; }

/* buscador */
.finder { position: relative; margin-top: -70px; margin-inline: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 20px; display: grid; gap: 12px; }
.finder h2 { font-size: 1.15rem; }
.finder .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.finder .row > * { min-width: 0; }
.finder .btn-row .btn { flex: 1 1 180px; }
label { display: block; font-weight: 700; font-size: .88rem; color: var(--navy); margin-bottom: 5px; }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #c5d3e2; border-radius: 10px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); }
textarea { min-height: 100px; resize: vertical; }
.hint { font-size: .84rem; color: var(--muted); }

/* franja de confianza */
.trust { border-block: 1px solid var(--line); background: var(--paper); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { padding: 18px 16px; display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--navy); font-size: .95rem; border-left: 1px solid var(--line); }
.trust li:first-child { border-left: 0; }
.trust svg { width: 28px; height: 28px; color: var(--orange); flex: none; }

/* secciones */
.section { padding-block: 76px; }
.section.mist { background: var(--mist); }
.section.navy { background: var(--navy); color: var(--on-dark-muted); }
.section.navy h2, .section.navy h3 { color: var(--on-dark); }
.section-head { display: grid; gap: 12px; max-width: 760px; margin-bottom: 36px; }
.section-head.center { text-align: center; margin-inline: auto; justify-items: center; }

/* tarjetas de aparatos */
.appliances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.appliance { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.appliance:hover { border-color: #9fcbe8; box-shadow: var(--shadow); transform: translateY(-2px); }
.appliance .ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--mist); color: var(--blue); }
.appliance .ico svg { width: 32px; height: 32px; }
.appliance ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; color: var(--muted); font-size: .95rem; }
.appliance ul li::before { content: "— "; color: var(--orange); }
.appliance .more { font-weight: 700; color: var(--blue); font-size: .95rem; }
.appliance.feature { background: var(--navy); border-color: var(--navy); color: var(--on-dark-muted); }
.appliance.feature h3, .appliance.feature .more { color: var(--on-dark); }
.appliance.feature .ico { background: rgba(255,255,255,.1); color: var(--sky); }
.appliance.feature ul { color: var(--on-dark-muted); }

/* marcas */
.brand-groups { display: grid; gap: 22px; }
.brand-group h3 { margin-bottom: 10px; font-size: 1rem; font-family: var(--f-mono); font-stretch: 100%; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--navy); font-weight: 700; text-decoration: none; font-size: .95rem; }
a.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.plain { font-weight: 600; color: var(--muted); }
.disclaimer { margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px dashed #b8cde0; font-size: .92rem; color: var(--muted); }

/* etiqueta del modelo */
.label-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.label-card { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.label-card svg { width: 34px; height: 34px; color: var(--blue); }
.label-card p { font-size: .95rem; color: var(--muted); }
.tag-sample { font-family: var(--f-mono); font-size: .82rem; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: grid; gap: 3px; max-width: 360px; color: var(--ink); box-shadow: var(--shadow); }
.tag-sample b { color: var(--orange-ink); }
.tag-sample .hl { background: #fff1c2; padding: 0 3px; border-radius: 3px; }

/* proceso */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: s; padding: 22px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(s); font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--on-dark); }
.steps p { color: var(--muted); font-size: .96rem; }
.section.navy .steps li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section.navy .steps p { color: var(--on-dark-muted); }

/* bloque dividido */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split > * { min-width: 0; }
.panel { padding: 30px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list-check li { display: flex; gap: 10px; align-items: flex-start; }
.list-check li::before { content: ""; margin-top: 4px; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--blue) 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 12 5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }

/* zonas */
.zones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.zone { padding: 18px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.zone h3 { font-size: 1rem; margin-bottom: 8px; }
.zone p { font-size: .93rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq > * { min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 16px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--orange); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* contacto */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; }
.contact > * { min-width: 0; }
.contact-card { background: var(--navy); color: var(--on-dark-muted); border-radius: 18px; padding: 32px; display: grid; gap: 18px; align-content: start; }
.contact-card h2 { color: var(--on-dark); }
.contact-line { display: flex; gap: 14px; align-items: center; }
.contact-line .i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--sky); flex: none; }
.contact-line .i svg { width: 22px; height: 22px; }
.contact-line small { display: block; color: var(--on-dark-muted); font-size: .82rem; }
.contact-line a, .contact-line strong { color: var(--on-dark); font-weight: 700; text-decoration: none; font-size: 1.08rem; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .row > * { min-width: 0; }

/* página interior */
.page-hero { background: linear-gradient(160deg, var(--mist), var(--paper)); padding-block: 34px 56px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.page-hero-grid > * { min-width: 0; }
.page-hero .lead { margin-top: 16px; }
.page-hero .btn-row { margin-top: 24px; }
.hero-card { background: var(--navy); border-radius: 20px; padding: 26px; color: var(--on-dark-muted); display: grid; gap: 14px; box-shadow: var(--shadow); }
.hero-card .big-ico { width: 84px; height: 84px; color: var(--sky); }
.hero-card h2 { color: var(--on-dark); font-size: 1.15rem; }
.hero-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.hero-card li { display: flex; gap: 8px; }
.hero-card li::before { content: "→"; color: var(--orange); }
.indep { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; padding: 6px 12px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); font-size: .85rem; color: var(--muted); font-weight: 600; }

.symptoms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.symptom { padding: 18px 20px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 6px; }
.symptom h3 { font-size: 1.05rem; }
.symptom p { color: var(--muted); font-size: .96rem; }
.parts { display: flex; flex-wrap: wrap; gap: 8px; }
.parts span { padding: 7px 12px; border-radius: 99px; background: var(--mist); color: var(--navy); font-weight: 600; font-size: .92rem; }

.codes { width: 100%; border-collapse: collapse; font-size: .96rem; }
.codes-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.codes th, .codes td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.codes tr:last-child td { border-bottom: 0; }
.codes th { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--f-mono); font-weight: 600; background: var(--mist); }
.codes code { font-family: var(--f-mono); font-weight: 600; color: var(--orange-ink); background: var(--sand); padding: 3px 8px; border-radius: 6px; white-space: nowrap; }

.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 30px 34px; border-radius: 18px; background: linear-gradient(110deg, var(--navy), var(--navy-2)); color: var(--on-dark-muted); }
.cta-band h2 { color: var(--on-dark); font-size: 1.6rem; }
.cta-band p { margin-top: 6px; }

.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.related a { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--navy); font-weight: 700; }
.related a:hover { border-color: var(--blue); }
.related svg { width: 26px; height: 26px; color: var(--blue); flex: none; }

.prose { max-width: 74ch; display: grid; gap: 14px; }
.prose h2 { font-size: 1.5rem; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.pending { background: #fff1c2; padding: 0 4px; border-radius: 4px; }

/* pie */
.site-footer { background: #081a37; color: #b7c9dd; padding-block: 52px 96px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid > * { min-width: 0; }
.footer-grid h3 { color: var(--on-dark); font-size: .95rem; margin-bottom: 12px; font-family: var(--f-mono); font-stretch: 100%; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-grid a { color: #dbe7f4; text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-logo { background: var(--paper); border-radius: 12px; padding: 10px 14px; width: 170px; margin-bottom: 14px; }
.legal-row { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: #9fb4cb; }
.legal-row a { color: #c9d8e8; }

/* WhatsApp flotante y barra móvil */
.wa-float-old { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 9px; min-height: 54px; padding: 0 18px; border-radius: 99px; background: var(--wa); color: var(--on-dark); font-weight: 800; text-decoration: none; box-shadow: 0 12px 30px rgba(10,70,40,.3); border: 2px solid var(--paper); }
.wa-float svg { width: 24px; height: 24px; }
.mobile-bar { display: none; }

/* cookies */
.consent { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 50; max-width: 560px; margin-inline: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 18px; display: grid; gap: 12px; font-size: .93rem; }

@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; box-shadow: 0 16px 24px rgba(12,36,80,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .menu-btn { display: inline-flex; }
  .header-cta .btn { display: none; }
  .hero-grid, .page-hero-grid, .split, .faq, .contact { grid-template-columns: 1fr; }
  .appliances, .label-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .zones, .related { grid-template-columns: repeat(2, 1fr); }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .topline .hide-sm { display: none; }
  .topline .wrap { justify-content: space-between; flex-wrap: nowrap; font-size: .82rem; }
  .brand img { width: 124px; }
  .site-header .wrap { min-height: 64px; }
  .section { padding-block: 56px; }
  .hero { padding-block: 30px 44px; }
  .finder { margin-inline: 0; margin-top: -40px; padding: 16px; }
  .finder .row, .form .row { grid-template-columns: 1fr; }
  .appliances, .label-grid, .steps, .zones, .related, .symptoms { grid-template-columns: 1fr; }
  .trust li { padding: 14px 10px; font-size: .88rem; }
  .cta-band { grid-template-columns: 1fr; padding: 24px; }
  .btn-row .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
  .mobile-bar .btn { min-height: 48px; }
  .consent { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* fotos en páginas de servicio */
.page-hero-grid.with-photo { grid-template-columns: 1fr 1fr; }
.page-photo { position: relative; }
.page-photo .ph img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.hero-card.mini { position: relative; margin: -56px 18px 0; padding: 18px 20px; gap: 10px; }
.hero-card.mini h2 { font-size: 1rem; }
.appliance .thumb img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 10px; }
@media (max-width: 980px) { .page-hero-grid.with-photo { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .hero-card.mini { margin: -36px 10px 0; } }
.gallery { display: grid; gap: 16px; margin-top: 30px; }
.gallery.g2 { grid-template-columns: 1fr 1fr; }
.gfig { margin: 0; display: grid; gap: 8px; }
.gfig img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--r); }
.gallery.g1 .gfig { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 22px; }
.gfig figcaption { color: var(--muted); font-size: .95rem; font-weight: 600; }
@media (max-width: 640px) { .gallery.g2, .gallery.g1 .gfig { grid-template-columns: 1fr; } }
.appliance ul { align-content: start; }
.gfig figcaption { display: grid; gap: 2px; }
.gfig figcaption b { color: var(--navy); font-family: var(--f-display); font-size: 1.15rem; }
.gfig figcaption span { font-weight: 500; }
.gallery.g1 .gfig figcaption { padding: 24px; border-left: 4px solid var(--orange); background: var(--mist); border-radius: 0 var(--r) var(--r) 0; }
.gallery.g1 .gfig figcaption b { font-size: 1.4rem; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trio-item { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); display: grid; gap: 10px; align-content: start; }
.trio-item:nth-child(-n+2) { border-top: 4px solid var(--blue); }
.trio-item:nth-child(3) { border-top: 4px solid var(--orange); }
.tnum { font-family: var(--f-mono); font-weight: 600; font-size: .8rem; color: var(--muted); letter-spacing: .1em; }
.trio-item p { color: var(--muted); }
.trio-item .list-check { font-size: .96rem; color: var(--ink); }
.mri-sec { background: var(--mist); }
.trio-sec { padding-block-end: 0; }
@media (max-width: 980px) { .trio { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2rem, 3.7vw, 3rem); }
.side-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.symptom h3 { display: flex; gap: 10px; align-items: center; }
.symptom h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.visit-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; padding: 22px 26px; border-radius: var(--r); background: var(--sand); border: 1px solid #f6d7b8; }
.visit-cta > div:first-child { flex: 1 1 320px; min-width: 0; }
.visit-cta p { color: var(--muted); }

/* ---------- asistente de citas ---------- */
.as-launch { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 9px; min-height: 54px; padding: 0 20px; border-radius: 99px; background: var(--orange); color: var(--on-dark); font: inherit; font-weight: 800; border: 2px solid var(--paper); box-shadow: 0 12px 30px rgba(150,70,0,.3); cursor: pointer; }
.as-launch svg { width: 22px; height: 22px; }
.as-open .as-launch { display: none; }
.as-panel { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100vh - 36px)); display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(12,36,80,.28); overflow: hidden; }
.as-panel[hidden] { display: none; }
.as-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--navy); color: var(--on-dark); }
.as-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--on-dark); font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; flex: none; }
.as-avatar.big { width: 56px; height: 56px; font-size: 1.5rem; }
.as-who { display: grid; line-height: 1.25; flex: 1; min-width: 0; }
.as-who small { color: var(--on-dark-muted); font-size: .8rem; }
.as-close { background: transparent; border: 0; color: var(--on-dark); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 2px 8px; }
.as-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--mist); }
.as-msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: .95rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.as-msg.bot { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.as-msg.bot.note { background: var(--sand); border-color: #f3cfa9; }
.as-msg.bot.wide { max-width: 100%; }
.as-msg.me { align-self: flex-end; background: var(--blue); color: var(--on-dark); border-bottom-right-radius: 4px; }
.as-foot { padding: 12px; border-top: 1px solid var(--line); display: grid; gap: 8px; background: var(--paper); max-height: 48%; overflow-y: auto; }
.as-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.as-chip { font: inherit; font-size: .9rem; font-weight: 700; padding: 8px 12px; border-radius: 99px; border: 1px solid #a9cbe6; background: var(--paper); color: var(--navy); cursor: pointer; }
.as-chip:hover { background: var(--mist); border-color: var(--blue); }
.as-input { display: flex; gap: 6px; align-items: flex-end; }
.as-input input, .as-input textarea, .as-input select { min-height: 44px; font-size: 1rem; }
.as-input textarea { min-height: 64px; }
.as-send { font: inherit; font-weight: 800; padding: 0 14px; min-height: 44px; border: 0; border-radius: 10px; background: var(--blue); color: var(--on-dark); cursor: pointer; flex: none; }
.as-skip { font: inherit; font-size: .88rem; background: none; border: 0; color: var(--blue); text-decoration: underline; cursor: pointer; justify-self: start; padding: 2px 0; }
.as-err { color: #b42318; font-size: .86rem; margin: 0; }
.as-summary strong, .as-price strong { display: block; color: var(--navy); margin-bottom: 6px; }
.as-summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; font-size: .88rem; }
.as-summary dt { color: var(--muted); }
.as-summary dd { margin: 0; }
.as-price { display: grid; gap: 6px; }
.as-price p { font-size: .88rem; color: var(--muted); }
.as-msg.bot.wide .as-price strong { color: var(--orange-ink); font-size: 1.05rem; }
.as-confirm { display: grid; gap: 8px; }
.as-check { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; font-size: .92rem; color: var(--ink); margin: 0; }
.as-check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; }
.as-submit, .as-wa { width: 100%; }
.as-submit:disabled { opacity: .7; }
.visit-start { align-content: start; }
@media (max-width: 640px) {
  .as-panel { right: 0; left: 0; bottom: 0; width: 100%; height: 100%; border-radius: 0; border: 0; padding-top: env(safe-area-inset-top, 0px); }
  .as-launch { display: none; }
}
