/* ═══════════════════════════════════════════════════════════════════
   Limpiezas Flor · Girona
   Tipografía: Manrope. Paleta: azul marino, verde azulado de marca,
   neutros fríos y el rosa de la flor como acento del logotipo.
   ═══════════════════════════════════════════════════════════════════ */

/* Manrope, alojada en la propia web (src/assets/fonts, licencia SIL OFL): sin conexiones a Google */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/manrope-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0b1a2e;
  --ink-2: #33415a;
  --muted: #5f6c82;
  --line: #e4e9f0;
  --line-2: #d4dce6;
  --paper: #ffffff;
  --soft: #f4f7fa;
  --navy: #0b1a2e;
  --navy-2: #13294a;
  --brand: #0b7a6f;
  --brand-600: #08655c;
  --brand-50: #e8f4f2;
  --brand-100: #cde9e4;
  --brand-bright: #3cd6c0;
  --flor: #e8457c;
  --wa: #25d366;

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: clamp(1240px, 78vw, 1560px);
  --header-h: 80px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 46, 0.06), 0 6px 16px -8px rgba(11, 26, 46, 0.12);
  --shadow: 0 2px 6px rgba(11, 26, 46, 0.05), 0 22px 44px -22px rgba(11, 26, 46, 0.3);
  --shadow-lg: 0 4px 12px rgba(11, 26, 46, 0.06), 0 40px 80px -36px rgba(11, 26, 46, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

/* ── base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
  font-feature-settings: 'ss01' on;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--brand-100); color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.ico { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico--fill { fill: currentColor; stroke: none; }

/* ── botones ─────────────────────────────────────────────────────── */
.btn {
  --bg: linear-gradient(135deg, #0b7a6f 0%, #0f9486 100%); --bg-h: linear-gradient(135deg, #08655c 0%, #0b7a6f 100%); --fg: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px; border: 0; border-radius: 12px;
  background: var(--bg); color: var(--fg); font: 700 0.98rem/1 var(--font); letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 10px 22px -14px rgba(11, 122, 111, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn:hover { background: var(--bg-h); transform: translateY(-2px); box-shadow: 0 18px 30px -14px rgba(11, 122, 111, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -2px 0 rgba(0, 0, 0, 0.12); }
.btn::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -80%; z-index: -1; width: 50%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent); transform: skewX(-20deg);
  transition: left 0.75s var(--ease);
}
.btn:hover::after { left: 135%; }
.btn .ico-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 1.1em; height: 1.1em; stroke-width: 2.2; }
.btn .ico--fill { stroke: none; }
.btn--sm { height: 42px; padding: 0 16px; font-size: 0.92rem; border-radius: 10px; }
.btn--lg { height: 56px; padding: 0 26px; font-size: 1.02rem; }
.btn--dark { --bg: var(--navy); --bg-h: var(--navy-2); box-shadow: 0 12px 24px -14px rgba(11, 26, 46, 0.8); }
.btn--light { --bg: #fff; --bg-h: var(--soft); --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(11, 26, 46, 0.06); }
.btn--light:hover { box-shadow: inset 0 0 0 1px var(--ink), 0 8px 18px -12px rgba(11, 26, 46, 0.4); }
.btn--light .wa { color: #1aa153; }
.btn--white { --bg: #fff; --bg-h: #fff; --fg: var(--ink); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.5); }
.btn--wa { --bg: var(--wa); --bg-h: #1fbe5a; --fg: #052e16; box-shadow: 0 12px 24px -14px rgba(18, 140, 74, 0.8); }
.btn--outline-light { --bg: transparent; --bg-h: rgba(255, 255, 255, 0.1); --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); }
.btn--outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 4px; border: 0; background: none; font-weight: 700; color: var(--ink-2); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.btn-link:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ── tipografía de secciones ─────────────────────────────────────── */
.section { position: relative; padding-block: clamp(72px, 9vw, 120px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--soft { background: var(--soft); }
.section--navy {
  isolation: isolate; color: #fff;
  background:
    radial-gradient(720px 460px at 0% 0%, rgba(11, 122, 111, 0.4), transparent 62%),
    radial-gradient(620px 420px at 100% 100%, rgba(60, 214, 192, 0.14), transparent 60%),
    var(--navy);
}
.section--navy::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.3px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%); mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 0.76rem; line-height: 1.2; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, currentColor, var(--brand-bright)); transform-origin: left; transition: transform 0.9s 0.2s var(--ease); }
.js-ready [data-reveal]:not(.is-in) .eyebrow::before { transform: scaleX(0); }
.eyebrow--light { color: var(--brand-bright); }
.h2 { font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.1; letter-spacing: -0.032em; margin-top: 16px; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 20px 64px; align-items: end; }
.section-head--split > p:not(.eyebrow) { margin: 0 0 6px; max-width: 34em; }

/* ── cabecera ────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.8) blur(16px); backdrop-filter: saturate(1.8) blur(16px);
  border-bottom: 1px solid rgba(228, 233, 240, 0.9); transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -24px rgba(11, 26, 46, 0.5); }
.header-inner { position: relative; display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand-mark { width: 42px; height: 42px; transition: transform 0.6s var(--ease), rotate 0.45s var(--ease); }
/* el logo cuenta toques seguidos (entrada al panel): sin zoom por doble toque ni selección de texto */
[data-logo] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.brand:hover .brand-mark { transform: rotate(72deg); }
.brand-text { display: grid; }
.brand-name { font-weight: 800; font-size: 1.62rem; line-height: 0.9; letter-spacing: -0.045em; }
.brand-tag { font-weight: 700; font-size: 0.76rem; letter-spacing: 0.01em; color: var(--muted); margin-top: 4px; }
.js .site-header .brand-mark { animation: bloom 1.1s 0.1s var(--ease) both; }
@keyframes bloom { from { opacity: 0; transform: rotate(-90deg) scale(0.6); } }
.brand--light .brand-name { color: #fff; }
.brand--light .brand-tag { color: #8d9bb3; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; white-space: nowrap; border: 0; border-radius: 10px; background: none; font-weight: 600; font-size: 0.96rem; color: var(--ink-2); text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.nav-link:hover, .nav-link[aria-expanded='true'] { background: var(--soft); color: var(--ink); }
.nav-link .chev { width: 16px; height: 16px; stroke-width: 2.2; transition: transform 0.25s var(--ease); }
.nav-link[aria-expanded='true'] .chev { transform: rotate(180deg); }
a.nav-link { position: relative; }
a.nav-link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transition: transform 0.3s var(--ease); }
a.nav-link:hover { background: transparent; }
a.nav-link:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: 12px; }
.header-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.hp-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-50); color: var(--brand); }
.hp-ico .ico { width: 18px; height: 18px; }
.hp-txt { display: grid; line-height: 1.2; }
.hp-txt small { font-size: 0.74rem; color: var(--muted); font-weight: 600; }
.hp-txt strong { font-size: 0.95rem; font-weight: 800; letter-spacing: -0.01em; }
/* selector de idioma (castellano / català) */
.lang { display: flex; align-items: center; gap: 2px; flex: none; margin-left: 6px; padding: 3px; border-radius: 10px; background: var(--soft); }
.lang a { display: grid; place-items: center; min-width: 34px; height: 30px; padding: 0 6px; border-radius: 8px; font-weight: 800; font-size: 0.74rem; letter-spacing: 0.06em; color: var(--muted); text-decoration: none; transition: background-color 0.15s, color 0.15s, box-shadow 0.15s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(11, 26, 46, 0.08), 0 2px 8px -4px rgba(11, 26, 46, 0.3); }
.mobile-lang { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; color: var(--muted); }
.mobile-lang a { font-weight: 800; color: var(--ink-2); text-underline-offset: 4px; }
.mobile-lang a[aria-current] { color: var(--brand); text-decoration: none; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--soft); cursor: pointer; place-items: center; }
.menu-toggle .ico { width: 24px; height: 24px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded='true'] .i-open { display: none; }
.menu-toggle[aria-expanded='true'] .i-close { display: block; }

.mega {
  position: absolute; top: calc(100% + 1px); left: 0; right: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 0.95fr); gap: 8px 24px;
  padding: 24px; border-radius: 0 0 22px 22px; background: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  animation: drop 0.22s var(--ease);
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-title { font-weight: 800; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 4px 10px 10px; }
.mega-link, .mobile-link { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; transition: background-color 0.15s; }
.mega-link:hover { background: var(--soft); }
.ml-ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--brand-50); color: var(--brand); transition: background-color 0.15s, color 0.15s; }
.mega-link:hover .ml-ico { background: var(--brand); color: #fff; }
.ml-txt { display: grid; line-height: 1.3; }
.ml-txt strong { font-weight: 700; font-size: 0.95rem; }
.ml-txt small { color: var(--muted); font-size: 0.82rem; }
.mega-promo {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate;
  background: radial-gradient(120% 80% at 80% 0%, rgba(60, 214, 192, 0.45), transparent 60%), linear-gradient(160deg, #0f8f82 0%, #0b5c55 55%, #0b1a2e 100%);
}
.mega-promo-ilus { display: block; padding: 14px 18px 0; transition: transform 0.6s var(--ease); }
.mega-promo:hover .mega-promo-ilus { transform: translateY(-4px) scale(1.03); }
.mega-promo-txt { display: grid; gap: 6px; padding: 18px; }
.mega-promo-txt strong { font-weight: 800; font-size: 1.1rem; line-height: 1.25; letter-spacing: -0.02em; }
.mega-promo-txt span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; color: #cfe9e4; font-weight: 600; }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; overflow-y: auto; overscroll-behavior: contain; background: #fff; padding-block: 12px 120px; border-top: 1px solid var(--line); }
.mobile-menu-label { font-weight: 800; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 18px 0 6px; }
.mobile-group { display: grid; gap: 2px; }
.mobile-link:active { background: var(--soft); }
.mobile-more { list-style: none; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; }
.mobile-more a { display: block; padding: 12px 10px; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.mobile-ctas { display: grid; gap: 10px; margin-top: 18px; }
body.menu-open { overflow: hidden; }

/* ── hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative; z-index: 2; isolation: isolate; overflow-x: clip;
  padding-block: clamp(44px, 6vw, 88px) clamp(56px, 7vw, 100px);
  background:
    radial-gradient(900px 500px at 88% 10%, rgba(11, 122, 111, 0.09), transparent 65%),
    linear-gradient(180deg, #f6f9fa 0%, #ffffff 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.55; pointer-events: none;
  background-image: radial-gradient(rgba(11, 26, 46, 0.09) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 90%); mask-image: linear-gradient(90deg, transparent 40%, #000 90%);
}
.hero::after {
  content: ''; position: absolute; z-index: -2; top: -60px; right: -160px; width: 640px; height: 640px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(60, 214, 192, 0.2), rgba(11, 122, 111, 0.06) 45%, transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-90px, 60px) scale(1.12); } }
.js .hero-copy > * { animation: rise 0.9s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.js .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.js .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.js .hero-copy > :nth-child(5) { animation-delay: 0.32s; }
.js .zona-mapa, .js .page-photo { animation: photo-in 1s 0.15s var(--ease) both; }
.js .hero-visual .float-card { animation: rise 0.9s 0.6s var(--ease) both, bob 6s 1.5s ease-in-out infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes photo-in { from { opacity: 0; transform: translateY(26px) scale(0.96); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero h1 { font-weight: 800; font-size: clamp(2.3rem, 4.4vw, 3.75rem); line-height: 1.04; letter-spacing: -0.04em; }
.hero h1 .accent {
  background: linear-gradient(90deg, #0b7a6f 0%, #0fa192 45%, #0b7a6f 90%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: shimmer 9s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.18rem); color: var(--ink-2); max-width: 36em; margin-top: 22px; }

/* z-index: las animaciones de entrada dan capa propia a las notas y a las fotos; sin esto taparían los desplegables */
.hero-quote {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 6px; margin-top: 30px; max-width: 640px;
  padding: 6px; border-radius: 16px; background: #fff; box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}
.hq-field { position: relative; display: flex; align-items: center; }
.hero-quote > .btn { grid-column: 1 / -1; }
.hq-field > .ico { position: absolute; left: 14px; color: var(--brand); pointer-events: none; }
.hq-field select, .hq-field input {
  width: 100%; height: 56px; padding: 0 14px 0 42px; border: 0; border-radius: 11px; background: var(--soft);
  font-weight: 600; font-size: 0.97rem; color: var(--ink); appearance: none; transition: box-shadow 0.15s, background-color 0.15s;
}
.hq-field select { cursor: pointer; padding-right: 36px; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230B1A2E' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.hq-field input::placeholder { color: #7b879a; }
.hq-field select:focus, .hq-field input:focus { outline: none; background-color: #fff; box-shadow: inset 0 0 0 2px var(--brand); }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; list-style: none; font-size: 0.92rem; font-weight: 600; color: var(--ink-2); }
.hero-note li { display: inline-flex; align-items: center; gap: 7px; }
.hero-note .ico { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--brand-50); color: var(--brand); stroke-width: 3; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* textos y botones que solo salen en pantallas anchas o solo en el móvil */
.solo-movil, .hero-contacto { display: none; }

/* desplegable de servicios */
.hq-select.is-enhanced > .ico, .hq-select.is-enhanced .hq-native { display: none; }
.hq-trigger {
  display: flex; align-items: center; gap: 10px; width: 100%; height: 56px; padding: 0 14px 0 9px; border: 0; border-radius: 11px;
  background: var(--soft); font: 600 0.97rem/1.2 var(--font); color: var(--ink); text-align: left; cursor: pointer;
  transition: background-color 0.15s, box-shadow 0.15s;
}
.hq-trigger:hover { background: #edf1f6; }
.hq-trigger:focus-visible, .hq-select.is-open .hq-trigger { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--brand); }
.hq-trigger-ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--brand); box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.2s, color 0.2s; }
.hq-trigger-ico .ico { width: 19px; height: 19px; }
.hq-select.has-value .hq-trigger-ico { background: var(--brand); color: #fff; box-shadow: none; }
.hq-trigger-txt { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hq-select:not(.has-value) .hq-trigger-txt { color: #5f6c82; }
.hq-chev { width: 18px; height: 18px; color: var(--ink-2); stroke-width: 2.4; transition: transform 0.25s var(--ease); }
.hq-select.is-open .hq-chev { transform: rotate(180deg); }
.hq-panel {
  position: absolute; top: calc(100% + 12px); left: -6px; z-index: 45; width: min(620px, calc(100vw - 2 * var(--gutter)));
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; padding: 12px;
  border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); outline: none;
  animation: drop 0.2s var(--ease);
}
.hq-group { display: grid; gap: 2px; align-content: start; }
.hq-group-title { margin: 4px 10px 6px; font-weight: 800; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hq-option { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 13px; cursor: pointer; transition: background-color 0.12s; }
.hq-option.is-active { background: var(--soft); }
.hq-opt-ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-50); color: var(--brand); transition: background-color 0.15s, color 0.15s, transform 0.2s var(--ease); }
.hq-option.is-active .hq-opt-ico { transform: scale(1.05); }
.hq-option.is-active .hq-opt-ico, .hq-option[aria-selected='true'] .hq-opt-ico { background: var(--brand); color: #fff; }
.hq-opt-txt { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.hq-opt-txt strong { font-weight: 700; font-size: 0.94rem; }
.hq-opt-txt small { font-size: 0.8rem; color: var(--muted); }
.hq-opt-check { width: 18px; height: 18px; color: var(--brand); stroke-width: 2.8; opacity: 0; transition: opacity 0.15s; }
.hq-option[aria-selected='true'] .hq-opt-check { opacity: 1; }

/* sugerencias de municipios */
.has-town-panel { position: relative; }
.town-panel {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 46; min-width: 260px; padding: 6px;
  border-radius: 16px; background: #fff; color: var(--ink); text-align: left;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); animation: drop 0.18s var(--ease);
}
.town-option { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 11px; cursor: pointer; }
.town-option .ico { display: grid; flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--brand-50); color: var(--brand); }
.town-option span { display: grid; line-height: 1.3; }
.town-option strong { font-weight: 700; font-size: 0.95rem; }
.town-option small { font-size: 0.78rem; color: var(--muted); }
.town-option:hover, .town-option.is-active { background: var(--soft); }
.town-option.is-active .ico { background: var(--brand); color: #fff; }

.hero-visual { position: relative; }
/* mapa de la zona de servicio (lo pinta mapa-girona.js; sin JavaScript no se muestra) */
html:not(.js) .zona-mapa { display: none; }
.zm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; }
.zm-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.zm-chip .ico { width: 15px; height: 15px; stroke-width: 2.2; }
.zm-count { font-weight: 600; font-size: 0.88rem; color: var(--muted); }
.zm-count strong { font-weight: 800; color: var(--ink); }
.zm-stage { position: relative; }
/* con el dedo: sin acercar, la página se desliza; acercado, el dedo mueve el mapa */
.zm-map { position: relative; border-radius: 12px; touch-action: pan-y; -webkit-tap-highlight-color: transparent; user-select: none; }
.is-zoomed .zm-map { cursor: grab; touch-action: none; }
.is-dragging .zm-map, .is-dragging .zm-m { cursor: grabbing; }
.zm-svg { width: 100%; height: auto; aspect-ratio: 135240 / 97579; overflow: hidden; }
/* lo que va encima del mapa (nombres, chincheta y punto azul) no se sale de él */
.zm-capa { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
/* sin marco: al acercar, el mapa y lo que lleva encima se desvanecen en los bordes en vez de cortarse en seco */
.zm-svg, .zm-capa {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3.5%, #000 96.5%, transparent), linear-gradient(180deg, transparent, #000 4.8%, #000 95.2%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 3.5%, #000 96.5%, transparent), linear-gradient(180deg, transparent, #000 4.8%, #000 95.2%, transparent);
  mask-composite: intersect;
}
.zm-m { cursor: pointer; transition: fill 0.15s; }
.zm-t0 { fill: #e4f4f1; }
.zm-t1 { fill: #d0ece7; }
.zm-t2 { fill: #bce3dc; }
.zm-t3 { fill: #b0dcd4; }
@media (hover: hover) { .zm-m:hover { fill: #0e9b8d; } }
.zm-m.is-sel { fill: var(--brand); }
.zm-mesh { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.zm-mesh-m { stroke: #fff; stroke-width: 0.8; stroke-opacity: 0.95; }
.zm-mesh-c { stroke: #fff; stroke-width: 2.2; }
.zm-mesh-p { stroke: var(--brand); stroke-width: 1.5; }
.zm-selpath { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.zm-labels { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.zm-lab { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(11, 26, 46, 0.62); text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 6px rgba(255, 255, 255, 0.9); }
.zm-lab.is-m { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: rgba(11, 26, 46, 0.8); }
.zm-lab.is-sel { font-size: 14px; font-weight: 800; color: var(--ink); }
.zm-pin { position: absolute; left: 0; top: 0; width: 32px; height: 40px; pointer-events: none; filter: drop-shadow(0 4px 6px rgba(11, 26, 46, 0.28)); }
.zm-pin svg { width: 32px; height: 40px; }
.zm-pin path { fill: var(--flor); stroke: #fff; stroke-width: 2; }
.zm-pin.is-new svg { animation: pin-drop 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.2); }
@keyframes pin-drop { from { transform: translateY(-14px); opacity: 0; } }
.zm-tip { position: absolute; left: 0; top: 0; z-index: 3; padding: 8px 11px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 0.8rem; line-height: 1.3; white-space: nowrap; pointer-events: none; box-shadow: 0 8px 20px rgba(11, 26, 46, 0.25); }
.zm-tip b { display: block; font-weight: 700; }
.zm-tip span { color: rgba(255, 255, 255, 0.72); }
.zm-me { position: absolute; left: 0; top: 0; width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: #2563eb; box-shadow: 0 1px 5px rgba(11, 26, 46, 0.4); pointer-events: none; }
.zm-me::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; background: rgba(37, 99, 235, 0.25); animation: zm-pulse 2s ease-out infinite; }
@keyframes zm-pulse { from { transform: scale(0.3); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
/* controles: «Ver toda la provincia» arriba, el zoom abajo a la derecha (sobre el mar) y la ubicación abajo a la izquierda */
.zm-reset, .zm-zoom, .zm-locate { position: absolute; z-index: 2; box-shadow: 0 1px 2px rgba(11, 26, 46, 0.08), 0 6px 16px rgba(11, 26, 46, 0.14); }
.zm-reset, .zm-locate {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px 0 12px; border: 0; border-radius: 999px;
  background: #fff; font-weight: 700; font-size: 0.84rem; cursor: pointer; transition: color 0.15s;
}
.zm-reset { top: 0; right: 0; }
.zm-locate { left: 0; bottom: 0; }
.zm-reset:hover, .zm-locate:hover { color: var(--brand); }
.zm-reset .ico, .zm-locate .ico { width: 17px; height: 17px; stroke-width: 2.2; }
.zm-locate .ico { color: var(--brand); }
.zm-locate.is-busy .ico { animation: zm-spin 1s linear infinite; }
@keyframes zm-spin { to { transform: rotate(360deg); } }
.zm-zoom { right: 0; bottom: 0; display: grid; overflow: hidden; border-radius: 12px; background: #fff; }
.zm-zoom button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; background: none; color: var(--ink); cursor: pointer; transition: color 0.15s, background-color 0.15s; }
.zm-zoom button + button { border-top: 1px solid var(--line); }
.zm-zoom button:hover { color: var(--brand); background: var(--soft); }
.zm-zoom button[aria-disabled='true'] { color: #b8c2cf; background: none; cursor: default; }
.zm-zoom .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.zm-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 12px; }
.zm-status { font-weight: 700; font-size: 0.95rem; line-height: 1.35; }
.zm-status > span { display: inline-flex; align-items: center; gap: 10px; }
.zm-status .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--brand-50); color: var(--brand); stroke-width: 2.2; }
.zm-picked .ico { background: var(--brand); color: #fff; stroke-width: 3; }
.zm-picked small { font-weight: 600; font-size: 0.86rem; color: var(--muted); }
.zm-picked small::before { content: '· '; }
.zm-credit { font-size: 0.74rem; color: var(--muted); }
.zm-credit a { color: inherit; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 16px; background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11, 26, 46, 0.05);
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-weight: 800; font-size: 0.95rem; letter-spacing: -0.01em; line-height: 1.3; }
.float-card small { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.float-card--a { left: -34px; bottom: 34px; }
.fc-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), #0f9486); color: #fff; box-shadow: 0 8px 16px -8px rgba(11, 122, 111, 0.8); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.page-photo { position: relative; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; }
.page-photo img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-bottom: 20px; font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line-2); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }
.hero--page h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.06; }

/* ── garantías ───────────────────────────────────────────────────── */
.assurances { border-block: 1px solid var(--line); background: #fff; }
.assurances ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.assurances li { display: flex; align-items: flex-start; gap: 14px; padding: 28px 24px; }
.assurances li + li { border-left: 1px solid var(--line); }
.as-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--brand-50), #d8f1ec); color: var(--brand); transition: background 0.3s, color 0.3s, transform 0.3s var(--ease); }
.assurances li:hover .as-ico { background: linear-gradient(135deg, var(--brand), #0f9486); color: #fff; transform: translateY(-2px); }
.as-ico .ico { width: 22px; height: 22px; }
.assurances strong { display: block; font-weight: 800; font-size: 1rem; letter-spacing: -0.01em; }
.assurances li > span:last-child > span { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.5; margin-top: 3px; }

/* ── servicios ───────────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.services-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1.5px rgba(11, 122, 111, 0.35), var(--shadow-lg); }
.svc-card::after, .b2b-grid li::after, .type-card::after {
  content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(60, 214, 192, 0.13), transparent 45%);
}
.svc-card:hover::after, .b2b-grid li:hover::after, .type-card:hover::after { opacity: 1; }
.svc-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 26px 26px 0; }
.svc-ico {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px;
  background: linear-gradient(135deg, var(--brand-50), #d8f1ec); color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(11, 122, 111, 0.1);
  transition: background 0.35s, color 0.35s, transform 0.45s var(--ease), box-shadow 0.35s;
}
.svc-ico .ico { width: 28px; height: 28px; stroke-width: 1.7; }
.svc-card:hover .svc-ico { background: linear-gradient(135deg, var(--brand), #0f9486); color: #fff; transform: rotate(-6deg) scale(1.06); box-shadow: 0 14px 26px -14px rgba(11, 122, 111, 0.9); }
.svc-tag { padding: 5px 10px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); font-weight: 800; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.svc-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 26px 26px; }
.svc-watermark { position: absolute; right: -26px; bottom: -30px; color: var(--brand); opacity: 0.05; pointer-events: none; transition: transform 0.6s var(--ease), opacity 0.4s; }
.svc-watermark .ico { width: 150px; height: 150px; stroke-width: 1.2; }
.svc-card:hover .svc-watermark { opacity: 0.1; transform: rotate(-8deg) scale(1.06); }
.svc-body h3 { font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; }
.svc-body p { color: var(--muted); font-size: 0.94rem; line-height: 1.55; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 0.93rem; color: var(--brand); }
.svc-more .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--brand-50); stroke-width: 2.2; transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s; }
.svc-card:hover .svc-more .ico { transform: translateX(4px); background: var(--brand); color: #fff; }

/* ── bloques con foto ────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split-lead { font-size: 1.08rem; color: var(--ink-2); margin-top: 18px; max-width: 34em; }
.section--navy .split-lead { color: #b9c4d6; }
.split-media { position: relative; }

/* escenas ilustradas (src/ilustraciones.mjs) en lugar de fotos: panel azul marino con puntos */
.escena {
  position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; padding: 6% 4% 2%; border-radius: 24px;
  background:
    radial-gradient(60% 55% at 74% 26%, rgba(60, 214, 192, 0.32), transparent 70%),
    radial-gradient(50% 50% at 16% 88%, rgba(11, 122, 111, 0.5), transparent 70%),
    linear-gradient(160deg, #173259 0%, #0f2442 55%, #0b1a2e 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.escena::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.3px); background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.escena--43 { aspect-ratio: 4 / 3; }
.page-ilus { aspect-ratio: 4 / 3.1; padding: 5% 4% 3%; margin: 0; }
.ilus { width: 100%; height: auto; overflow: visible; }
.ilus-bote { animation: ilus-bote 5s ease-in-out infinite; }
.ilus .pompa { animation: ilus-pompa var(--t, 6s) ease-in-out var(--d, 0s) infinite; }
.ilus .destello { transform-box: fill-box; transform-origin: center; animation: ilus-destello 2.8s ease-in-out var(--d, 0s) infinite; }
@keyframes ilus-bote { 50% { transform: translateY(-4px); } }
@keyframes ilus-pompa { 50% { transform: translateY(-12px); } }
@keyframes ilus-destello { 0%, 100% { opacity: 0.15; } 50% { opacity: 1; } }
.veh-dato {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.96); color: var(--ink); box-shadow: var(--shadow); line-height: 1.25;
  animation: bob 6s ease-in-out infinite;
}
.veh-dato .ico { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--brand-50); color: var(--brand); }
.veh-dato strong { display: block; font-weight: 800; font-size: 0.92rem; }
.veh-dato small { display: block; color: var(--muted); font-size: 0.8rem; }
.veh-dato--a { left: 20px; top: 20px; }
.veh-dato--b { right: -18px; top: 70px; animation-delay: -2s; }
.veh-dato--c { left: 30px; bottom: -20px; animation-delay: -4s; }
.checklist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 26px; margin-top: 28px; }
.checklist--single { grid-template-columns: minmax(0, 1fr); }
.checklist li { display: flex; align-items: flex-start; gap: 11px; font-weight: 600; line-height: 1.45; }
.checklist .ico { width: 22px; height: 22px; padding: 4px; margin-top: -1px; border-radius: 50%; background: var(--brand-bright); color: var(--navy); stroke-width: 3; box-shadow: 0 0 0 4px rgba(60, 214, 192, 0.14); }
.checklist--light .ico { background: var(--brand-50); color: var(--brand); }
.split-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.include-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.include-grid li {
  display: flex; align-items: flex-start; gap: 12px; padding: 20px; border-radius: 16px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; line-height: 1.45;
  transition: box-shadow 0.3s, transform 0.3s var(--ease);
}
.include-grid li:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px rgba(11, 122, 111, 0.3), var(--shadow-sm); }
.include-grid .ico { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--brand-50); color: var(--brand); stroke-width: 3; }

/* ── empresas ───────────────────────────────────────────────────── */
.b2b { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.b2b-links { display: grid; gap: 8px; margin: 28px 0 30px; max-width: 420px; }
.b2b-links a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; text-decoration: none; transition: box-shadow 0.2s, transform 0.2s var(--ease); }
.b2b-links a::after { content: '→'; margin-left: auto; color: var(--brand); font-weight: 800; }
.b2b-links a:hover { box-shadow: inset 0 0 0 1.5px var(--brand); transform: translateX(3px); }
.b2b-links .ico { color: var(--brand); }
.b2b-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.b2b-grid li { position: relative; overflow: hidden; padding: 28px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.b2b-grid li:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px rgba(11, 122, 111, 0.3), var(--shadow); }
.b2b-grid li:nth-child(2), .b2b-grid li:nth-child(3) { background: radial-gradient(280px circle at 100% 0%, rgba(60, 214, 192, 0.2), transparent 60%), var(--navy); color: #fff; box-shadow: var(--shadow); }
.b2b-grid li:nth-child(2) p, .b2b-grid li:nth-child(3) p { color: #b9c4d6; }
.b2b-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.b2b-grid li:nth-child(2) .b2b-ico, .b2b-grid li:nth-child(3) .b2b-ico { background: rgba(60, 214, 192, 0.15); color: var(--brand-bright); }
.b2b-grid h3 { font-weight: 800; font-size: 1.1rem; margin-top: 18px; }
.b2b-grid p { color: var(--muted); font-size: 0.95rem; margin-top: 8px; }

/* ── pasos ───────────────────────────────────────────────────────── */
.steps { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; }
.steps::before { content: ''; position: absolute; z-index: -1; top: 32px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--brand-100) 0 8px, transparent 8px 16px); transform-origin: left; transition: transform 1.6s 0.2s var(--ease); }
.js-ready .steps:not(:has(.is-in))::before { transform: scaleX(0); }
.step { padding: 0 8px; text-align: center; }
.step-num { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: #fff; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand-100), 0 0 0 8px #fff; transition: background 0.35s, color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s; }
.step:hover .step-num { background: linear-gradient(135deg, var(--brand), #0f9486); color: #fff; transform: translateY(-3px); box-shadow: 0 0 0 8px #fff, 0 16px 28px -14px rgba(11, 122, 111, 0.9); }
.step-num .ico { width: 26px; height: 26px; }
.step-num span { position: absolute; top: -6px; right: -8px; display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; font-size: 0.72rem; letter-spacing: 0.02em; }
.step h3 { font-weight: 800; font-size: 1.1rem; margin-top: 22px; }
.step p { color: var(--muted); font-size: 0.95rem; margin-top: 8px; }

/* ── demostración ───────────────────────────────────────────────── */
.demo-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.cleaner { position: relative; padding: 12px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11, 26, 46, 0.04); }
.cleaner-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 2px 2px 12px; }
.cleaner-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--soft); }
.cleaner-tabs button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; font-weight: 700; font-size: 0.9rem; color: var(--ink-2); cursor: pointer; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; }
.cleaner-tabs button[aria-pressed='true'] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.cleaner-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-right: 4px; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: rgba(11, 122, 111, 0.35); animation: live 2s ease-out infinite; }
@keyframes live { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.cleaner-stage { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 16 / 10; background: var(--soft); }
.cleaner-art { position: absolute; inset: 0; }
.cleaner-art img, .cleaner-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cleaner-art img { object-fit: cover; }
/* con dibujos: el dibujo y la suciedad ocupan lo mismo (encajados, con aire alrededor) */
.cleaner-art.is-ilus { inset: 7% 6% 9%; }
.cleaner-dibujo { position: absolute; inset: 0; }
.cleaner-dibujo svg { width: 100%; height: 100%; overflow: visible; }
.cleaner-stage:has(.is-ilus) { background: radial-gradient(70% 55% at 50% 92%, rgba(11, 26, 46, 0.12), transparent 70%), linear-gradient(180deg, #eef4f7 0%, #e3ecf1 100%); }
.cleaner-art canvas {
  touch-action: none; transition: opacity 0.8s ease;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Ccircle cx='22' cy='22' r='18' fill='rgba(255,255,255,0.25)' stroke='white' stroke-width='2'/%3E%3Ccircle cx='22' cy='22' r='3' fill='white'/%3E%3C/svg%3E") 22 22, pointer;
}
.cleaner.is-clean .cleaner-art canvas { opacity: 0; pointer-events: none; }
.cleaner-hand {
  position: absolute; left: 22%; top: 42%; width: 64px; height: 64px; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.18); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.12);
  animation: sweep 3s ease-in-out infinite;
}
.cleaner.is-touched .cleaner-hand, .cleaner.is-clean .cleaner-hand { opacity: 0; animation: none; transition: opacity 0.3s; }
@keyframes sweep { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(180%, -30%); } 60% { transform: translate(340%, 10%); } 80% { transform: translate(160%, 30%); } }
.cleaner-done {
  position: absolute; left: 50%; top: 16px; transform: translate(-50%, -150%);
  display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 12px;
  background: #fff; color: var(--ink); white-space: nowrap; box-shadow: var(--shadow-lg); font-size: 0.92rem;
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.25);
}
.cleaner-done .ico { width: 28px; height: 28px; padding: 5px; border-radius: 8px; background: var(--brand); color: #fff; stroke-width: 3; }
.cleaner-done strong { font-weight: 800; }
.cleaner.is-clean .cleaner-done { transform: translate(-50%, 0); }
.cleaner-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 14px 6px 4px; }
.cleaner-hint { display: flex; align-items: center; gap: 8px; flex: 1 1 240px; font-weight: 600; font-size: 0.9rem; color: var(--ink-2); }
.cleaner-hint .ico { color: var(--brand); }
.only-touch { display: none; }
@media (hover: none) { .only-hover { display: none; } .only-touch { display: inline; } }
.cleaner-meter { display: flex; align-items: center; gap: 10px; flex: 1 1 140px; }
.cleaner-progress { flex: 1; height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.cleaner-progress i { display: block; height: 100%; width: var(--p, 0%); border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--brand-bright)); transition: width 0.25s ease; }
.cleaner-pct { min-width: 3.4em; text-align: right; font-weight: 800; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.cleaner-btn { height: 38px; padding: 0 14px; border-radius: 10px; border: 0; background: var(--soft); font-weight: 700; font-size: 0.88rem; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.15s, box-shadow 0.15s; }
.cleaner-btn:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.wipe-bubble {
  position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95) 0 14%, rgba(255, 255, 255, 0.3) 32%, rgba(60, 214, 192, 0.18) 70%, rgba(255, 255, 255, 0.4) 100%);
  box-shadow: inset 0 0 0 1.2px rgba(255, 255, 255, 0.9); animation: pop var(--dur, 1.2s) ease-out forwards;
}
@keyframes pop { 0% { transform: translate(0, 0) scale(0.3); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(var(--dx, 0), -70px) scale(1.1); opacity: 0; } }
.sparkle { position: absolute; width: var(--s, 22px); height: var(--s, 22px); pointer-events: none; fill: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)); opacity: 0; animation: sparkle 1.3s ease-out forwards; animation-delay: var(--delay, 0s); }
@keyframes sparkle { 0% { transform: scale(0) rotate(0); opacity: 0; } 30% { transform: scale(1.1) rotate(40deg); opacity: 1; } 100% { transform: scale(0.2) rotate(120deg); opacity: 0; } }

/* ── presupuesto ─────────────────────────────────────────────────── */
.quote { background: linear-gradient(180deg, var(--soft) 0%, #fff 60%); }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 28px; align-items: start; }
.quote-form { padding: clamp(22px, 3.2vw, 40px); border-radius: 24px; background: #fff; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); transition: box-shadow 0.35s; }
.quote-form:focus-within { box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(11, 122, 111, 0.3); }
.q-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.q-step + .q-step { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.q-step > legend { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 0; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.015em; }
.q-step legend .n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--brand-50); color: var(--brand); font-size: 0.9rem; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; }
.tile input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.tile label { display: flex; align-items: center; gap: 11px; height: 100%; padding: 13px 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 700; font-size: 0.92rem; line-height: 1.3; cursor: pointer; transition: box-shadow 0.15s, background-color 0.15s; }
.tile label .ico { width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: var(--soft); color: var(--ink-2); transition: background-color 0.15s, color 0.15s; }
.tile label:hover { box-shadow: inset 0 0 0 1px var(--ink-2); }
.tile input:checked + label { background: var(--brand-50); box-shadow: inset 0 0 0 2px var(--brand); }
.tile input:checked + label .ico { background: var(--brand); color: #fff; }
.tile input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 2px; }
.q-error { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: #fdecec; color: #9b1c1c; font-weight: 600; font-size: 0.93rem; }
.q-empty { padding: 14px 16px; border-radius: 12px; background: var(--soft); color: var(--muted); font-size: 0.95rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.fields + .fields { margin-top: 14px; }
.field { display: grid; gap: 7px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--wide, .chips-field { grid-column: 1 / -1; }
.field label, .field legend { padding: 0; font-weight: 700; font-size: 0.9rem; }
.field small { font-weight: 500; color: var(--muted); }
.field input:not([type='range']):not([type='checkbox']), .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 11px; border: 0; background: #fff; font-size: 0.98rem; font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 56px; }
.field select { appearance: none; padding-right: 40px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230B1A2E' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 4px var(--brand-50); }
.range-field label { display: flex; justify-content: space-between; align-items: baseline; }
.range-field output { font-weight: 800; color: var(--brand); }
input[type='range'] { width: 100%; height: 30px; accent-color: var(--brand); cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip label { display: inline-flex; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.15s; }
.chip input:checked + label { background: var(--navy); color: #fff; box-shadow: none; }
.chip input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 2px; }
.quote-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
/* campo trampa para robots: fuera de la vista y del teclado */
.campo-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.q-error[data-error='contacto'], .q-error[data-error='envio'] { margin-top: 18px; }
.btn.is-sending { color: transparent !important; pointer-events: none; }
.btn.is-sending::before { content: ''; position: absolute; left: calc(50% - 11px); top: calc(50% - 11px); width: 22px; height: 22px; border: 2.5px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; animation: zm-spin 0.7s linear infinite; }
.quote-ok { display: flex; align-items: flex-start; gap: 14px; margin-top: 22px; padding: 18px; border-radius: 16px; background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100); outline: none; animation: aparece 0.35s var(--ease); }
.quote-ok-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; }
.quote-ok-ico .ico { stroke-width: 3; }
.quote-ok-t { font-weight: 800; font-size: 1.08rem; color: var(--brand-600); }
.quote-ok p:not(.quote-ok-t) { margin-top: 2px; color: var(--ink-2); }
.msg--ok { animation: aparece 0.35s var(--ease); }
@keyframes aparece { from { opacity: 0; transform: translateY(8px); } }
.quote-note { margin-top: 14px; color: var(--muted); font-size: 0.87rem; }
.quote-note a { color: var(--ink-2); }
.chat { position: sticky; top: calc(var(--header-h) + 20px); overflow: hidden; border-radius: 24px; background: #efe9e1; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #0b5c4e; color: #fff; }
.chat-head span:last-child { display: grid; line-height: 1.3; }
.chat-head strong { font-weight: 800; }
.chat-head small { color: #bfe3da; font-size: 0.78rem; }
.chat-avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); }
.chat-mark { width: 30px; height: 30px; }
.chat-body { display: grid; align-content: start; gap: 10px; min-height: 330px; padding: 18px 14px; background-image: radial-gradient(rgba(11, 26, 46, 0.06) 1px, transparent 1.4px); background-size: 18px 18px; }
.msg { position: relative; max-width: 92%; padding: 10px 12px 20px; border-radius: 14px; font-size: 0.92rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 1px 1px rgba(11, 26, 46, 0.12); }
.msg--in { background: #fff; border-top-left-radius: 4px; }
.msg--out { justify-self: end; background: #d9fdd3; border-top-right-radius: 4px; }
.msg-time { position: absolute; right: 10px; bottom: 4px; font-size: 0.68rem; color: #6b7a86; }
.chat-tip { display: flex; gap: 8px; padding: 14px 18px; background: #fff; font-size: 0.86rem; color: var(--ink-2); }
.chat-tip .ico { color: var(--brand); margin-top: 2px; }

/* ── zonas ───────────────────────────────────────────────────────── */
.zones-banner { position: relative; z-index: 2; isolation: isolate; display: flex; align-items: center; min-height: clamp(420px, 42vw, 540px); border-radius: var(--r-xl); color: #fff; box-shadow: var(--shadow-lg); }
.zones-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; border-radius: inherit; }
.zones-bg img { width: 100%; height: 100%; object-fit: cover; transform-origin: 70% 40%; animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.1); } }
.zones-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(90deg, rgba(11, 26, 46, 0.92) 0%, rgba(11, 26, 46, 0.7) 42%, rgba(11, 26, 46, 0.05) 78%); }
.zones-banner-content { max-width: 600px; padding: clamp(28px, 5vw, 60px); }
.zones-banner-content > p:not(.eyebrow) { color: #cdd6e3; font-size: 1.08rem; margin-top: 16px; }
.finder { margin-top: 28px; }
.finder-row { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.finder-row .ico { color: var(--brand); }
.finder-row input { flex: 1; min-width: 0; height: 50px; padding: 0 6px; border: 0; background: transparent; font-size: 1rem; font-weight: 600; }
.finder-row input:focus { outline: none; }
.finder-row:focus-within { box-shadow: 0 0 0 3px var(--brand-bright); }
.finder-result { min-height: 3em; margin-top: 12px; color: #cdd6e3; font-size: 0.95rem; }
.finder-result strong { color: var(--brand-bright); font-weight: 800; }
.finder-result a { color: #fff; font-weight: 700; }
.comarcas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.comarca { padding: 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.comarca h3 { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.98rem; }
.comarca h3 .ico { color: var(--brand); width: 17px; height: 17px; }
.comarca ul { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; margin-top: 10px; font-size: 0.86rem; color: var(--muted); }
.comarca li { position: relative; }
.comarca li.is-match { color: var(--brand); font-weight: 800; }

/* ── preguntas ───────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-intro { color: var(--muted); font-size: 1.05rem; margin-top: 16px; }
.contact-card { display: grid; gap: 4px; margin-top: 28px; padding: 22px; border-radius: 20px; background: radial-gradient(320px circle at 100% 0%, rgba(60, 214, 192, 0.18), transparent 60%), var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.cc-title { font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; }
.contact-card a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; transition: background-color 0.15s; }
.contact-card a:hover { background: rgba(255, 255, 255, 0.06); }
.contact-card a .ico { width: 40px; height: 40px; padding: 10px; border-radius: 11px; background: rgba(60, 214, 192, 0.14); color: var(--brand-bright); }
.contact-card a span { display: grid; line-height: 1.35; font-weight: 700; }
.contact-card small { color: #8d9bb3; font-size: 0.76rem; font-weight: 600; }
.cc-hours { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 12px 10px 2px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #b9c4d6; font-size: 0.88rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 2px; font-weight: 700; font-size: 1.06rem; line-height: 1.4; cursor: pointer; list-style: none; transition: color 0.15s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.pm { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color 0.2s, transform 0.25s var(--ease); }
.pm::before, .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.25s var(--ease); }
.faq details[open] .pm { background: var(--brand); color: #fff; box-shadow: none; }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { max-width: 62ch; padding: 0 2px 24px; color: var(--ink-2); }

/* ── llamada final ───────────────────────────────────────────────── */
.cta-band { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: clamp(36px, 6vw, 76px); border-radius: var(--r-xl); color: #fff; box-shadow: var(--shadow-lg); }
.cta-band::after { content: ''; position: absolute; inset: -40%; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent 44%, rgba(255, 255, 255, 0.08) 50%, transparent 56%); animation: sheen 8s ease-in-out infinite; }
@keyframes sheen { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.cta-band { background: radial-gradient(560px 340px at 100% 0%, rgba(60, 214, 192, 0.28), transparent 65%), radial-gradient(480px 300px at 0% 100%, rgba(60, 214, 192, 0.12), transparent 70%), linear-gradient(100deg, #08655c 0%, #0b2a3a 55%, #0b1a2e 100%); }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 80%); mask-image: linear-gradient(90deg, transparent 20%, #000 80%); }
.cta-band h2 { font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.05; letter-spacing: -0.035em; margin-top: 14px; }
.cta-band p:not(.eyebrow) { max-width: 34em; margin-top: 14px; font-size: 1.1rem; color: #d3e3e3; }
.cta-actions { display: grid; gap: 12px; }

/* ── páginas de servicio ─────────────────────────────────────────── */
.types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.type-card { position: relative; overflow: hidden; padding: 30px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: calc(var(--header-h) + 24px); transition: box-shadow 0.35s, transform 0.35s var(--ease); }
.type-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px rgba(11, 122, 111, 0.3), var(--shadow); }
.type-card:target { box-shadow: inset 0 0 0 2px var(--brand), var(--shadow); }
.type-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.type-card h3 { font-weight: 800; font-size: 1.2rem; margin-top: 18px; }
.type-card p { color: var(--ink-2); margin-top: 8px; }
.prose-wrap { display: grid; grid-template-columns: minmax(0, 780px) 360px; justify-content: space-between; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose-wrap--single { grid-template-columns: minmax(0, 780px); justify-content: center; }
.prose { max-width: 68ch; font-size: 1.06rem; }
.prose p { margin-top: 1.1em; color: var(--ink-2); }
.prose h2:not(.h2) { font-weight: 800; font-size: 1.3rem; margin-top: 1.8em; }
.prose ul { display: grid; gap: 6px; margin-top: 1em; padding-left: 1.2em; color: var(--ink-2); }
.prose a { color: var(--brand); font-weight: 700; text-underline-offset: 3px; }
.side-cta { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 12px; padding: 28px; border-radius: 22px; background: radial-gradient(320px circle at 100% 0%, rgba(60, 214, 192, 0.18), transparent 60%), var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.side-cta-title { font-weight: 800; font-size: 1.45rem; letter-spacing: -0.03em; }
.side-cta p:not(.side-cta-title) { color: #b9c4d6; margin-bottom: 6px; }
.legal-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: #fff7e0; font-weight: 600; font-size: 0.93rem; }
.legal .prose h2 { margin-top: 1.8em; }

/* ── 404 ─────────────────────────────────────────────────────────── */
.hero--404 { display: grid; place-items: center; min-height: 64vh; text-align: center; }
.error-box { display: grid; justify-items: center; }
.error-code { font-weight: 800; font-size: clamp(5.5rem, 18vw, 11rem); line-height: 0.9; letter-spacing: -0.07em; color: var(--brand); }
.hero--404 h1 { font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: -0.03em; margin-top: 10px; }
.hero--404 .hero-ctas { justify-content: center; }
.error-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; list-style: none; }
.error-links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.error-links a:hover { box-shadow: inset 0 0 0 1px var(--brand); color: var(--brand); }
.error-links .ico { color: var(--brand); }

/* ── pie ─────────────────────────────────────────────────────────── */
.site-footer { margin-top: clamp(48px, 7vw, 96px); color: #b9c4d6; }
.skyline { display: block; width: 100%; height: clamp(56px, 8vw, 110px); object-fit: cover; object-position: bottom; margin-bottom: -1px; }
.footer-body { position: relative; background: var(--navy); padding-bottom: 22px; }
.footer-body::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(60, 214, 192, 0.55), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 56px 44px; }
.footer-brand p { max-width: 30em; margin-top: 18px; font-size: 0.95rem; }
.site-footer h2 { margin-bottom: 18px; font-weight: 800; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.site-footer ul { display: grid; gap: 10px; list-style: none; font-size: 0.95rem; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: var(--brand-bright); }
.footer-towns { font-size: 0.93rem; line-height: 1.8; }
.footer-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--brand-bright) !important; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .ico { color: var(--brand-bright); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, 0.07); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.88rem; }
.footer-bottom ul { display: flex; gap: 20px; }

/* ── botones flotantes ───────────────────────────────────────────── */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 14px 30px -12px rgba(18, 140, 74, 0.75); transition: transform 0.2s var(--ease); }
.wa-float .ico { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); }
.mobile-bar { display: none; }

/* ── llamadas fuera de horario ───────────────────────────────────── */
a[href^='tel:'][aria-disabled='true'] { opacity: 0.45; cursor: not-allowed; }
.aviso-llamada {
  position: fixed; left: 50%; bottom: 24px; z-index: 70; display: flex; align-items: flex-start; gap: 14px;
  width: min(440px, calc(100vw - 2 * var(--gutter))); padding: 16px; border-radius: 18px; background: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); transform: translateX(-50%); animation: aviso-in 0.3s var(--ease);
}
@keyframes aviso-in { from { opacity: 0; transform: translate(-50%, 12px); } }
.al-ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.al-txt { display: grid; gap: 4px; flex: 1; min-width: 0; }
.al-t { font-weight: 800; line-height: 1.3; }
.al-txt p:not(.al-t) { font-size: 0.93rem; line-height: 1.5; color: var(--ink-2); }
.al-txt .btn { justify-self: start; margin-top: 8px; }
.al-close { display: grid; place-items: center; flex: none; width: 32px; height: 32px; margin: -6px -6px 0 0; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.al-close:hover { background: var(--soft); color: var(--ink); }

/* ── aparición al hacer scroll ───────────────────────────────────── */
.js-ready [data-reveal] { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js-ready [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js-ready .svc-card[data-reveal].is-in, .js-ready .type-card[data-reveal].is-in, .js-ready .b2b-grid li[data-reveal].is-in { transition: opacity 0.8s var(--ease), filter 0.8s var(--ease), transform 0.45s var(--ease), box-shadow 0.35s; }

/* ── pompas de jabón (como las de la flor del logo): suben despacio y estallan al tocarlas ──
   Las crea main.js dentro de lo que lleve data-pompas (cabeceras y llamada final). Se llaman «burbuja»
   para no mezclarse con las pompas dibujadas dentro de las ilustraciones (.ilus .pompa). */
.burbujas { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; animation: burbujas-entra 1.4s 0.35s ease both; }
@keyframes burbujas-entra { from { opacity: 0; } }
.burbuja {
  position: absolute; left: var(--l); bottom: calc(var(--s) * -1 - 12px); width: var(--s); height: var(--s); margin-left: calc(var(--s) / -2);
  opacity: 0; animation: burbuja-sube var(--dur) linear var(--delay) infinite;
}
.burbuja i, .burbuja-aro {
  display: block; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, #fff 0 4.5%, rgba(255, 255, 255, 0) 15%),
    radial-gradient(circle at 68% 74%, rgba(232, 69, 124, 0.2), rgba(232, 69, 124, 0) 50%),
    radial-gradient(circle at 30% 30%, rgba(60, 214, 192, 0.2), rgba(60, 214, 192, 0) 58%),
    radial-gradient(circle, rgba(255, 255, 255, 0.5) 0 52%, rgba(60, 214, 192, 0.16) 80%, rgba(11, 122, 111, 0.34) 100%);
  box-shadow: inset 0 0 0 1.2px rgba(11, 122, 111, 0.4), inset -2px -3px 7px rgba(232, 69, 124, 0.16), 0 5px 12px -6px rgba(11, 122, 111, 0.45);
}
.burbuja i { position: relative; width: 100%; height: 100%; animation: burbuja-vaiven var(--sw) ease-in-out infinite alternate; }
/* el reflejo: un arco verde agua arriba a la izquierda y otro rosa abajo a la derecha */
.burbuja i::after {
  content: ''; position: absolute; inset: 13%; border-radius: 50%; border: 1.5px solid transparent;
  border-top-color: rgba(60, 214, 192, 0.75); border-bottom-color: rgba(232, 69, 124, 0.4); transform: rotate(-38deg);
}
@keyframes burbuja-sube {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  9% { opacity: var(--o, 1); }
  80% { opacity: var(--o, 1); }
  100% { transform: translate3d(0, calc(-1 * (var(--alto, 700px) + var(--s) + 24px)), 0); opacity: 0; }
}
@keyframes burbuja-vaiven { from { transform: translateX(calc(var(--v) * -1)) scale(0.96); } to { transform: translateX(var(--v)) scale(1.04); } }
.burbujas.is-pausa .burbuja, .burbujas.is-pausa .burbuja i { animation-play-state: paused; }
/* al estallar: el aro se abre y saltan unas gotas */
.burbuja-aro { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); animation: burbuja-pop 0.3s ease-out forwards; }
@keyframes burbuja-pop { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.5); opacity: 0; } }
.burbuja-gota { position: absolute; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--brand-bright); animation: burbuja-gota 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
.burbuja-gota:nth-child(3n) { background: var(--flor); }
@keyframes burbuja-gota {
  from { transform: rotate(var(--a)) translateX(calc(var(--r) * 0.55)); opacity: 1; }
  to { transform: rotate(var(--a)) translateX(calc(var(--r) * 1.55)) scale(0.2); opacity: 0; }
}
/* sobre fondos oscuros (llamada final) */
.burbujas--clara .burbuja i, .burbujas--clara .burbuja-aro {
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.95) 0 4.5%, rgba(255, 255, 255, 0) 15%),
    radial-gradient(circle at 68% 74%, rgba(232, 69, 124, 0.24), rgba(232, 69, 124, 0) 50%),
    radial-gradient(circle, rgba(255, 255, 255, 0.03) 50%, rgba(60, 214, 192, 0.16) 80%, rgba(255, 255, 255, 0.32) 100%);
  box-shadow: inset 0 0 0 1.2px rgba(255, 255, 255, 0.34);
}
.burbujas--clara .burbuja i::after { border-top-color: rgba(255, 255, 255, 0.7); border-bottom-color: rgba(232, 69, 124, 0.5); }
/* al enviar una solicitud: unas cuantas suben desde el aviso de «recibido» */
.burbujas--fiesta { position: fixed; z-index: 80; animation: none; }
.burbujas--fiesta .burbuja { bottom: auto; top: var(--t); animation: burbuja-sube var(--dur) cubic-bezier(0.2, 0.6, 0.3, 1) var(--delay) 1 both; }

/* ── la furgoneta recorre la página: avanza por el borde de la cabecera según se baja ── */
.ruta { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; opacity: 0; transition: opacity 0.4s; }
.is-scrolled .ruta { opacity: 1; }
.ruta-linea { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, rgba(60, 214, 192, 0.25), var(--brand) 45%, var(--brand-bright)); }
.ruta-furgo { position: absolute; left: 0; bottom: 1px; width: 32px; transform: translate3d(var(--x, 0px), 0, 0); }
.ruta-furgo svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 2px 2px rgba(11, 26, 46, 0.2)); transition: transform 0.3s var(--ease); }
.ruta.is-vuelta .ruta-furgo svg { transform: scaleX(-1); }
/* mientras rueda, deja un par de pompas detrás */
.ruta-furgo::before, .ruta-furgo::after {
  content: ''; position: absolute; bottom: 5px; right: 100%; width: 6px; height: 6px; margin-right: 2px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.2px var(--brand-bright); opacity: 0; transition: opacity 0.3s;
}
.ruta-furgo::after { bottom: 11px; width: 4px; height: 4px; margin-right: 8px; }
.ruta.is-vuelta .ruta-furgo::before, .ruta.is-vuelta .ruta-furgo::after { right: auto; left: 100%; margin: 0 0 0 2px; }
.ruta.is-vuelta .ruta-furgo::after { margin-left: 8px; }
.ruta.is-rodando .ruta-furgo::before, .ruta.is-rodando .ruta-furgo::after { opacity: 1; animation: ruta-pompa 0.7s ease-in-out infinite alternate; }
.ruta.is-rodando .ruta-furgo::after { animation-delay: -0.35s; }
@keyframes ruta-pompa { to { transform: translateY(-3px) scale(1.2); } }

/* ── destellos al final del título de la portada ── */
.nw { white-space: nowrap; }
.h1-brillo { position: relative; display: inline-block; width: 0; height: 0; vertical-align: top; }
.h1-brillo svg { position: absolute; left: 0.08em; top: 0; width: 0.46em; height: 0.46em; max-width: none; fill: var(--flor); animation: brillo 3.4s ease-in-out infinite; }
.h1-brillo svg + svg { left: 0.5em; top: 0.42em; width: 0.22em; height: 0.22em; fill: var(--brand-bright); animation-delay: -1.5s; }
@keyframes brillo { 0%, 100% { transform: scale(0.6) rotate(0deg); opacity: 0.45; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }
.zm-count strong { font-variant-numeric: tabular-nums; }

/* ── de una página a otra sin parpadeo (Chrome, Edge y Safari recientes; en el resto, carga normal) ── */
@view-transition { navigation: auto; }
.site-header { view-transition-name: cabecera; }
.lang a[aria-current] { view-transition-name: idioma; }
.wa-float { view-transition-name: whatsapp; }
::view-transition-old(root) { animation: vt-sale 0.2s ease both; }
::view-transition-new(root) { animation: vt-entra 0.45s var(--ease) both; }
@keyframes vt-sale { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-entra { from { opacity: 0; transform: translateY(16px); } }
/* cambio de idioma (ES · CA): la página no se mueve de sitio; solo se funde el texto y la pastilla se desliza de un idioma al otro */
.cambio-idioma::view-transition-old(root) { animation: vt-funde-sale 0.34s ease both; }
.cambio-idioma::view-transition-new(root) { animation: vt-funde-entra 0.34s ease both; }
@keyframes vt-funde-sale { to { opacity: 0; } }
@keyframes vt-funde-entra { from { opacity: 0; } }
::view-transition-group(idioma) { animation-duration: 0.5s; animation-timing-function: cubic-bezier(0.3, 1.35, 0.5, 1); }
.lang a { transition: background-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s var(--ease); }
.lang a:active { transform: scale(0.94); }
/* al llegar de cambiar de idioma no se repiten las animaciones de entrada: todo está ya en su sitio */
.cambio-idioma .site-header .brand-mark, .cambio-idioma .hero-copy > *, .cambio-idioma .zona-mapa, .cambio-idioma .page-photo, .cambio-idioma .burbujas { animation: none; }
.cambio-idioma .hero-visual .float-card { animation: bob 6s 1.5s ease-in-out infinite; }
.cambio-idioma .ruta { transition: none; }

/* barra de desplazamiento discreta */
html { scrollbar-color: #b9c5d3 transparent; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-thumb { border: 3px solid #fff; border-radius: 10px; background: #c3cdd9; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ── responsive ──────────────────────────────────────────────────── */
@media (min-width: 1700px) {
  .hero h1 { font-size: 4rem; }
  .hero--page h1 { font-size: 3.8rem; }
  .h2 { font-size: 3.05rem; }
  .hero-quote { max-width: 700px; }
  .page-photo { max-height: 600px; }
}
@media (min-width: 1900px) {
  /* texto de las páginas de servicio en dos columnas para no dejar un hueco en medio */
  .prose-wrap:not(.prose-wrap--single) { grid-template-columns: minmax(0, 1fr) 380px; }
  .prose-wrap:not(.prose-wrap--single) .prose { max-width: none; columns: 2; column-gap: 64px; }
  .prose-wrap:not(.prose-wrap--single) .prose > :not(p) { column-span: all; }
  .prose-wrap:not(.prose-wrap--single) .prose p { break-inside: avoid; }
}
/* cabecera: primero se quita el número de teléfono (queda el icono) y, si no cabe el menú, pasa a la hamburguesa */
@media (max-width: 1320px) {
  .hp-txt { display: none; }
  .header-actions { gap: 10px; }
}
@media (max-width: 1180px) {
  .main-nav, .header-actions { display: none; }
  .menu-toggle { display: grid; margin-left: 8px; }
  .lang { margin-left: auto; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .comarcas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .float-card--a { left: -12px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .ruta-furgo { width: 24px; }
  .ruta-furgo::before, .ruta-furgo::after { display: none; }
  .hero-grid, .split, .quote-grid, .faq-grid, .prose-wrap, .demo-grid, .b2b, .section-head--split { grid-template-columns: minmax(0, 1fr); }
  /* título de la portada en móvil y tablet: en el móvil, cuatro líneas que llenan el ancho («Limpieza profesional / en Girona para / …») */
  .page-home .hero h1 { font-size: clamp(1.9rem, 9.4vw, 2.75rem); line-height: 1.06; }
  .hero-visual { max-width: 680px; }
  .split-media { max-width: 640px; }
  .assurances ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assurances li:nth-child(3) { border-left: 0; }
  .assurances li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .steps::before { display: none; }
  .chat, .faq-aside, .side-cta { position: static; }
  .services-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .include-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-actions { grid-auto-flow: column; justify-content: start; }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 64px 64px minmax(0, 1fr); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: saturate(1.8) blur(16px); backdrop-filter: saturate(1.8) blur(16px);
    border-top: 1px solid rgba(228, 233, 240, 0.9); box-shadow: 0 -10px 30px -20px rgba(11, 26, 46, 0.4);
    transition: transform 0.35s var(--ease), visibility 0.35s;
  }
  /* arriba del todo no se ve (la cabecera ya tiene su formulario); sube al deslizar hacia abajo */
  .js-ready .mobile-bar:not(.is-visible) { transform: translateY(calc(100% + 12px)); visibility: hidden; }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 54px; border-radius: 14px;
    background: var(--soft); font-weight: 700; font-size: 0.72rem; color: var(--ink-2); text-decoration: none; transition: transform 0.15s var(--ease);
  }
  .mobile-bar a:active { transform: scale(0.96); }
  .mobile-bar .ico { width: 22px; height: 22px; }
  .mobile-bar a:nth-child(2) .ico { color: #1aa153; }
  .mobile-bar .mobile-bar-cta {
    flex-direction: row; gap: 8px; font-size: 1rem; color: #fff; background: linear-gradient(135deg, #0b7a6f 0%, #0f9486 100%);
    box-shadow: 0 10px 22px -14px rgba(11, 122, 111, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  }
  .mobile-bar-cta .ico { width: 18px; height: 18px; stroke-width: 2.2; }
  .aviso-llamada { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .veh-dato--b { right: 12px; }
  /* mientras se escribe, la barra solo quita sitio al teclado y a las sugerencias */
  body:has(:is(input:not([type='checkbox'], [type='radio'], [type='range']), textarea):focus) .mobile-bar { display: none; }
  .hero { padding-block: 22px 40px; }
  .hero-grid { gap: 30px; }
  /* portada en el móvil: título y texto más cortos para que el formulario y los botones quepan en la primera pantalla */
  .page-home .hero h1 { font-size: clamp(1.72rem, 8.1vw, 2.3rem); line-height: 1.08; letter-spacing: -0.035em; }
  .page-home .lead { font-size: 1rem; line-height: 1.55; margin-top: 12px; }
  .solo-ancho { display: none; }
  .solo-movil { display: inline; }
  .hero-quote { grid-template-columns: minmax(0, 1fr); margin-top: 20px; padding: 5px; gap: 5px; border-radius: 18px; }
  .page-home .hero-quote .hq-field select, .page-home .hero-quote .hq-field input, .page-home .hero-quote .hq-trigger { height: 52px; border-radius: 13px; }
  .page-home .hero-quote > .btn { height: 52px; border-radius: 13px; }
  .hero-contacto { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
  .hero-contacto .btn { height: 46px; padding: 0 12px; font-size: 0.95rem; }
  .hero-contacto .btn .wa { color: #1aa153; }
  .hero-contacto .btn .ico-phone { color: var(--brand); }
  /* las tres garantías en una fila de tres, con el check encima */
  .page-home .hero-note { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
  .page-home .hero-note li { flex-direction: column; justify-content: flex-start; gap: 5px; padding: 10px 4px 9px; border-radius: 12px; background: rgba(255, 255, 255, 0.75); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.76rem; font-weight: 700; line-height: 1.25; text-align: center; text-wrap: balance; }
  .page-home .hero-note .ico { width: 20px; height: 20px; padding: 4px; }
  /* en columna, el icono del municipio va en caja como el del servicio para que los dos textos queden alineados */
  .hq-field > .ico { left: 9px; width: 38px; height: 38px; padding: 9.5px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.2s, color 0.2s; }
  .hq-field:has(input:not(:placeholder-shown)) > .ico { background: var(--brand); color: #fff; box-shadow: none; }
  .hq-field select, .hq-field input { padding-left: 57px; }
  .hq-panel { left: 0; width: 100%; grid-template-columns: minmax(0, 1fr); max-height: min(62vh, 540px); overflow-y: auto; overscroll-behavior: contain; }
  .float-card--a { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields, .checklist { grid-template-columns: minmax(0, 1fr); }
  .types { grid-template-columns: minmax(0, 1fr); }
  .services-grid--3 { grid-template-columns: minmax(0, 1fr); }
  /* portada en el móvil: los 8 servicios en dos columnas, solo con icono y nombre (cada tarjeta lleva a su página) */
  .services-grid:not(.services-grid--3) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .services-grid:not(.services-grid--3) .svc-top { padding: 18px 18px 0; }
  .services-grid:not(.services-grid--3) .svc-ico { width: 48px; height: 48px; border-radius: 14px; }
  .services-grid:not(.services-grid--3) .svc-ico .ico { width: 24px; height: 24px; }
  .services-grid:not(.services-grid--3) .svc-tag, .services-grid:not(.services-grid--3) .svc-body p { display: none; }
  .services-grid:not(.services-grid--3) .svc-body { gap: 10px; padding: 14px 18px 18px; }
  .services-grid:not(.services-grid--3) .svc-body h3 { font-size: 1rem; line-height: 1.25; }
  .services-grid:not(.services-grid--3) .svc-more { font-size: 0.86rem; }
  .services-grid:not(.services-grid--3) .svc-watermark .ico { width: 110px; height: 110px; }
  .b2b-grid { grid-template-columns: minmax(0, 1fr); }
  .assurances ul { grid-template-columns: minmax(0, 1fr); }
  .assurances li { border-left: 0 !important; padding: 18px 4px; }
  .assurances li + li { border-top: 1px solid var(--line); }
  .zones-banner { align-items: flex-end; }
  .zones-banner::before { background: linear-gradient(180deg, rgba(11, 26, 46, 0.25) 0%, rgba(11, 26, 46, 0.92) 55%); }
  .comarcas { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .hero--page h1 { font-size: clamp(1.9rem, 8.4vw, 2.3rem); line-height: 1.06; }
  .lead { font-size: 1rem; line-height: 1.6; margin-top: 14px; }
  .hero-note { gap: 6px 16px; margin-top: 14px; font-size: 0.86rem; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .include-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-ctas .btn, .split-ctas .btn { flex: 1 1 100%; }
  .cta-actions { grid-auto-flow: row; }
  .cta-actions .btn, .quote-actions .btn { width: 100%; }
  .zm-reset, .zm-locate { height: 34px; padding: 0 12px 0 10px; font-size: 0.78rem; }
  .veh-dato { gap: 8px; padding: 8px 12px 8px 8px; }
  .veh-dato .ico { width: 30px; height: 30px; padding: 7px; }
  .veh-dato strong { font-size: 0.84rem; }
  .veh-dato small { font-size: 0.74rem; }
  .veh-dato--a { left: 12px; top: 12px; }
  .veh-dato--b { display: none; }
  .veh-dato--c { left: 16px; bottom: -16px; }
  .zm-zoom button { width: 34px; height: 34px; }
  .zm-status { font-size: 0.9rem; }
  .cleaner-tabs button { padding: 0 10px; font-size: 0.84rem; }
  .cleaner-live { display: none; }
}
@media (max-width: 359px) {
  .mobile-bar .mobile-bar-cta { font-size: 0.94rem; }
  .mobile-bar-cta .ico { display: none; }
}

/* ── menos movimiento ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js-ready [data-reveal] { opacity: 1; transform: none; filter: none; }
  .cleaner-hand { display: none; }
  @view-transition { navigation: none; }
  .ruta-furgo { display: none; }
}
