/* ============================================================================
   GLANS REINIGING — sistema visual
   Calcado de alpinemaids.com (tipografía Open Sans, títulos azul marino,
   botones píldora, separador corto de color, pilares de 4 columnas).
   Único cambio deliberado: el acento naranja #F1592A pasa a cobre #C2552F,
   que es la marca de Adam y además sí cumple contraste AA con texto blanco
   (4,50:1 frente al 3,38:1 del naranja del referente).
   ========================================================================== */

/* --- Tipografía propia ---------------------------------------------------
   Open Sans servido desde este dominio, no desde Google. Así no se envía la IP
   del visitante a un tercero (riesgo AVG) y se ahorra una conexión externa.  */
@font-face {
  font-family: "Open Sans"; font-style: normal; font-weight: 400 800;
  font-stretch: 100%; font-display: swap;
  src: url("fonts/open-sans.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: "Open Sans"; font-style: normal; font-weight: 400 800;
  font-stretch: 100%; font-display: swap;
  src: url("fonts/open-sans-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  --navy:        #15244F;
  --navy-700:    #1D3268;
  --navy-900:    #0E1836;
  --ink:         #131516;
  --ink-soft:    #4A5160;

  --copper:      #C2552F;
  --copper-dark: #A8441F;
  --copper-soft: #FBEFE9;
  --gold:        #B8903F;

  --band:        #F4F6F9;
  --band-warm:   #FBF8F4;
  --line:        #E3E7ED;
  --white:       #FFFFFF;

  --ok:          #1F7A5C;
  --ok-soft:     #E8F4EF;

  --radius:      14px;
  --radius-lg:   22px;
  --pill:        999px;

  --shadow-sm:   0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-md:   0 4px 10px rgba(16, 24, 40, .06), 0 12px 28px rgba(16, 24, 40, .08);
  --shadow-lg:   0 10px 24px rgba(16, 24, 40, .08), 0 28px 60px rgba(16, 24, 40, .12);

  --wrap:        1180px;
  --gutter:      20px;

  --font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 28px;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--copper); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper-dark); }

/* --- Tipografía (escala del referente) ----------------------------------- */
h1, h2, h3, h4 { color: var(--navy); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(27px, 3.4vw, 36px); line-height: 1.12; }
h3 { font-size: clamp(20px, 2.1vw, 24px); line-height: 1.33; }
h4 { font-size: 19px; line-height: 1.4; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.6; color: var(--ink-soft); }
.tiny { font-size: 14px; line-height: 22px; color: var(--ink-soft); }
strong, b { font-weight: 700; }

/* --- Utilidades ---------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; margin-inline: auto; }
.center { text-align: center; }
.section { padding: clamp(52px, 7vw, 88px) 0; }
.section--band { background: var(--band); }
.section--warm { background: var(--band-warm); }
.section--navy { background: var(--navy); color: #D8DEEC; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding-block: clamp(36px, 4.5vw, 56px); }

/* separador corto de color bajo la intro — firma del referente */
.rule { width: 100px; height: 4px; background: var(--copper); border: 0; border-radius: 2px; margin: 26px auto 0; }
.rule--left { margin-inline: 0; }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--copper); margin-bottom: 14px;
}
.section--navy .eyebrow { color: #E7B08A; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 12px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; border-radius: 4px; }

/* --- Botones ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px/1 var(--font); border-radius: var(--pill); border: 2px solid transparent;
  padding: 15px 28px; cursor: pointer; text-decoration: none; transition: .16s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--copper); color: #fff; }
.btn--primary:hover { background: var(--copper-dark); color: #fff; transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: #F2F4F8; color: var(--navy); }
.btn--wa { background: #25D366; color: #0B2E18; }
.btn--wa:hover { background: #1FBA59; color: #0B2E18; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* --- Barra superior ------------------------------------------------------ */
.topbar { background: var(--navy-900); color: #C6CEE2; font-size: 14px; }
.topbar .wrap { display: flex; gap: 20px; align-items: center; justify-content: space-between; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__usps { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__usps span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__usps svg { width: 14px; height: 14px; color: #7FD6A8; flex: none; }
@media (max-width: 760px) { .topbar__usps span:nth-child(n+2) { display: none; } }

/* selector de idioma */
.langsw { display: inline-flex; gap: 2px; background: rgba(255,255,255,.1); border-radius: var(--pill); padding: 3px; }
.langsw a {
  display: inline-block; padding: 3px 11px; border-radius: var(--pill); font-size: 12px;
  font-weight: 700; letter-spacing: .06em; color: #B9C4DB; text-decoration: none; line-height: 18px;
}
.langsw a:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,.12); }
.langsw a[aria-current="true"] { background: #fff; color: var(--navy-900); }

/* --- Cabecera ------------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand svg { height: 38px; width: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; font-size: 19px; color: var(--navy); letter-spacing: -.012em; }
.brand__tag { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--copper); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--navy); font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 9px 13px; border-radius: 8px;
}
.nav a:hover { background: var(--band); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--copper); }
.nav__group { position: relative; }
.nav__btn {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer;
  color: var(--navy); font: 600 15px/1 var(--font); padding: 9px 13px; border-radius: 8px;
}
.nav__btn:hover { background: var(--band); }
.nav__btn svg { width: 11px; height: 11px; transition: transform .16s; }
.nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 268px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 8px; display: none;
}
.nav__menu[data-open="true"] { display: block; }
.nav__menu a { display: block; padding: 10px 12px; font-size: 15px; }
.nav__menu a small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-soft); }

.header__cta { display: flex; align-items: center; gap: 10px; }
.header__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; font-size: 15px; }
.header__tel svg { width: 16px; height: 16px; color: var(--copper); }

.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px; cursor: pointer; }
.burger svg { width: 22px; height: 22px; color: var(--navy); }

@media (max-width: 1040px) {
  .nav, .header__tel { display: none; }
  .burger { display: inline-flex; }
  .nav[data-open="true"] {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px;
    box-shadow: var(--shadow-md); max-height: 78vh; overflow-y: auto;
  }
  .nav[data-open="true"] a { padding: 12px 10px; border-radius: 10px; }
  .nav__group { position: static; }
  .nav__menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 10px; }
  .nav__btn { width: 100%; justify-content: space-between; padding: 12px 10px; }
}
@media (max-width: 560px) {
  .header .wrap { gap: 10px; min-height: 64px; }
  .brand { gap: 8px; }
  .brand svg { height: 32px; }
  .brand__tag { display: none; }          /* evita que el lema parta en dos líneas */
  .brand__name { font-size: 17px; }
  .header__cta { gap: 7px; }
  .header__cta .btn--sm { padding: 9px 13px; font-size: 13px; }
  .burger { padding: 7px; }
}
@media (max-width: 380px) {
  .header__cta .btn--sm { padding: 8px 11px; font-size: 12px; }
}

/* --- Héroe (calco: texto izquierda, foto derecha redondeada) -------------- */
.hero { padding: clamp(36px, 5vw, 70px) 0 clamp(40px, 5vw, 74px); }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero__promise {
  border-left: 4px solid var(--copper); padding: 2px 0 2px 18px; margin: 0 0 26px;
  font-size: clamp(17px, 2vw, 19px); line-height: 1.62; color: var(--ink-soft);
}
.hero__media { position: relative; }
.hero__media img, .hero__media .ph { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero__stamp {
  position: absolute; left: -14px; bottom: -14px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 13px 17px; display: flex; align-items: center; gap: 11px;
  max-width: 260px;
}
.hero__stamp svg { width: 30px; height: 30px; color: var(--copper); flex: none; }
.hero__stamp b { display: block; color: var(--navy); font-size: 15px; line-height: 1.25; }
.hero__stamp span { font-size: 13px; color: var(--ink-soft); line-height: 1.3; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__stamp { left: 10px; bottom: -18px; }
}

/* --- Tira de confianza --------------------------------------------------- */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust__row { display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 44px); justify-content: center; align-items: center; padding: 20px 0; }
.trust__item { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--navy); }
.trust__item svg { width: 21px; height: 21px; color: var(--copper); flex: none; }
.trust__item small { font-weight: 400; color: var(--ink-soft); }

/* --- Pilares (4 columnas con icono, calco del referente) ------------------ */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 36px); margin-top: 48px; }
.pillar { text-align: center; }
.pillar__ico {
  width: 62px; height: 62px; margin: 0 auto 16px; color: var(--copper);
  display: grid; place-items: center;
}
.pillar__ico svg { width: 100%; height: 100%; }
.pillar h3 { font-size: 20px; margin-bottom: 10px; }
.pillar p { font-size: 16px; line-height: 26px; color: var(--ink-soft); }
@media (max-width: 920px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* --- Rejillas y tarjetas ------------------------------------------------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow-sm); transition: .18s ease;
  display: flex; flex-direction: column;
}
.card--link:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #D2D9E4; }
.card__ico { width: 46px; height: 46px; color: var(--copper); margin-bottom: 16px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 16px; line-height: 26px; color: var(--ink-soft); }
.card__more { margin-top: auto; padding-top: 18px; font-weight: 700; font-size: 15px; color: var(--copper); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.card__more svg { width: 15px; height: 15px; transition: transform .16s; }
.card--link:hover .card__more svg { transform: translateX(4px); }
.card__price { margin-top: 14px; font-size: 15px; color: var(--navy); font-weight: 700; }
.card__price span { font-weight: 400; color: var(--ink-soft); }

/* lista de comprobación */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 31px; font-size: 16px; line-height: 26px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F7A5C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.checks--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) { .checks--2 { grid-template-columns: 1fr; } }

/* --- Mosaico de servicios (calco: foto + barra azul + flecha) ------------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; border-radius: var(--radius-lg); overflow: hidden; }
.tile { position: relative; display: block; text-decoration: none; aspect-ratio: 4/3; overflow: hidden; background: var(--navy-900); }
.tile img, .tile .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile:hover img, .tile:hover .ph { transform: scale(1.05); }
.tile__bar {
  position: absolute; inset: auto 0 0 0; background: rgba(21,36,79,.93); color: #fff;
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 700; font-size: 16px;
}
.tile__bar svg:first-child { width: 22px; height: 22px; flex: none; color: #fff; }
.tile__arrow { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); display: grid; place-items: center; flex: none; }
.tile__arrow svg { width: 13px; height: 13px; }
@media (max-width: 620px) { .tiles { grid-template-columns: 1fr; } }

/* --- Banda de formulario (calco: gris, form izquierda, mosaico derecha) --- */
.formband { background: var(--band); }
.formband__grid { display: grid; grid-template-columns: minmax(0, 480px) 1fr; gap: clamp(26px, 3.4vw, 48px); align-items: start; }
@media (max-width: 940px) { .formband__grid { grid-template-columns: 1fr; } }

.quote { background: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 2.8vw, 32px); box-shadow: var(--shadow-md); }
.quote h2 { font-size: clamp(24px, 2.8vw, 30px); margin-bottom: 6px; }
.quote__sub { font-weight: 700; font-size: 15px; color: var(--copper); margin-bottom: 22px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field .req { color: var(--copper); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink); background: #fff;
  border: 1px solid #CFD6E1; border-radius: 10px; padding: 13px 14px; transition: .14s;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--copper); box-shadow: 0 0 0 3px var(--copper-soft); outline: 0; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #C0392B; }
.field__err { display: none; font-size: 13px; color: #C0392B; margin-top: 5px; font-weight: 600; }
.field input[aria-invalid="true"] ~ .field__err,
.field select[aria-invalid="true"] ~ .field__err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.consent { display: flex; gap: 11px; align-items: flex-start; margin: 16px 0 6px; }
.consent input { width: 19px; height: 19px; margin: 3px 0 0; accent-color: var(--copper); flex: none; }
.consent label { font-size: 13px; line-height: 20px; color: var(--ink-soft); font-weight: 400; }

.formnote { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); margin-top: 14px; line-height: 20px; }
.formnote svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--ink-soft); }
/* Iconos sueltos dentro de texto corrido: sin esto ocupan todo el ancho. */
.tiny svg, .prose svg, p > svg:first-child { width: 1.05em; height: 1.05em; vertical-align: -.16em; flex: none; }
.formmsg { display: none; border-radius: 12px; padding: 15px 17px; margin-bottom: 18px; font-size: 15px; line-height: 23px; }
.formmsg[data-show="ok"]   { display: block; background: var(--ok-soft); color: #14543F; border: 1px solid #BFE3D4; }
.formmsg[data-show="err"]  { display: block; background: #FDECEA; color: #8E2A1E; border: 1px solid #F5C6C0; }
.formmsg[data-show="warn"] { display: block; background: #FFF6E5; color: #7A5312; border: 1px solid #F2DCAE; }

/* --- Precios ------------------------------------------------------------- */
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.price--hl { border-color: var(--copper); box-shadow: var(--shadow-md); position: relative; }
.price__flag { position: absolute; top: -13px; left: 50%; translate: -50% 0; background: var(--copper); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--pill); white-space: nowrap; }
.price h3 { margin-bottom: 4px; }
.price__for { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.price__amt { display: flex; align-items: baseline; gap: 7px; margin-bottom: 4px; }
.price__amt b { font-size: clamp(32px, 4vw, 42px); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.02em; }
.price__amt span { font-size: 16px; color: var(--ink-soft); font-weight: 600; }
.price__btw { font-size: 13px; color: var(--ink-soft); margin-bottom: 20px; }
.price .checks { margin-bottom: 24px; }
.price .btn { margin-top: auto; }

.pricetable { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 16px; }
.pricetable th, .pricetable td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.pricetable th { background: var(--band); color: var(--navy); font-size: 14px; letter-spacing: .02em; }
.pricetable tr:last-child td { border-bottom: 0; }
.pricetable td:last-child, .pricetable th:last-child { text-align: right; font-weight: 700; color: var(--navy); white-space: nowrap; }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --- Antes / después ----------------------------------------------------- */
.ba { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; background: var(--band); user-select: none; touch-action: pan-y; }
.ba img, .ba .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.14); translate: -1.5px 0; }
.ba__knob {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 46px; height: 46px;
  border-radius: 50%; background: #fff; box-shadow: var(--shadow-md); display: grid; place-items: center; cursor: ew-resize;
}
.ba__knob svg { width: 21px; height: 21px; color: var(--navy); }
.ba__tag { position: absolute; top: 13px; background: rgba(21,36,79,.9); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding: 6px 11px; border-radius: var(--pill); }
.ba__tag--l { left: 13px; }
.ba__tag--r { right: 13px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__range:focus-visible ~ .ba__handle .ba__knob { outline: 3px solid var(--copper); outline-offset: 3px; }
.ba__cap { margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--navy); }

/* --- Reseñas ------------------------------------------------------------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.stars { display: inline-flex; gap: 2px; margin-bottom: 13px; }
.stars svg { width: 17px; height: 17px; color: #E8A33D; }
.review p { font-size: 16px; line-height: 27px; }
.review__who { margin-top: auto; padding-top: 16px; font-size: 14px; color: var(--ink-soft); }
.review__who b { display: block; color: var(--navy); font-size: 15px; }

.emptystate {
  border: 2px dashed #CFD6E1; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 46px);
  text-align: center; background: var(--band);
}
.emptystate svg { width: 44px; height: 44px; color: var(--ink-soft); margin: 0 auto 16px; }
.emptystate h3 { margin-bottom: 8px; }
.emptystate p { color: var(--ink-soft); max-width: 560px; margin-inline: auto; font-size: 16px; }

/* --- Pasos --------------------------------------------------------------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 34px); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 14px; }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--copper); color: #fff; font-weight: 800; font-size: 19px; margin-bottom: 16px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 16px; line-height: 26px; color: var(--ink-soft); }

/* --- FAQ ----------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 21px 44px 21px 0; position: relative;
  font-weight: 700; font-size: clamp(17px, 2vw, 19px); color: var(--navy); line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; translate: 0 -50%; width: 15px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315244F' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .18s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--copper); }
.faq__a { padding: 0 44px 23px 0; color: var(--ink-soft); font-size: 17px; line-height: 28px; }

/* --- Banda CTA final ----------------------------------------------------- */
.cta { background: var(--navy); color: #D8DEEC; text-align: center; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { max-width: 640px; margin: 0 auto 28px; font-size: 18px; line-height: 29px; }
.cta .btn-row { justify-content: center; }

/* --- Ciudades ------------------------------------------------------------ */
.citycard { display: flex; flex-direction: column; gap: 6px; }
.citycard__meta { font-size: 14px; color: var(--ink-soft); }
.wijken { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; padding: 0; list-style: none; }
.wijken li { font-size: 13px; background: var(--band); border: 1px solid var(--line); color: var(--ink-soft); border-radius: var(--pill); padding: 5px 11px; }

/* --- Migas --------------------------------------------------------------- */
.crumbs { font-size: 14px; color: var(--ink-soft); padding: 16px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li::after { content: "›"; margin-left: 8px; color: #A9B2C2; }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--copper); text-decoration: underline; }

/* --- Prosa (páginas legales) --------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 44px; font-size: clamp(23px, 2.6vw, 28px); }
.prose h3 { margin-top: 30px; font-size: 20px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 9px; }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 16px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; vertical-align: top; }
.prose th { background: var(--band); color: var(--navy); }

/* --- Pie ----------------------------------------------------------------- */
.footer { background: var(--navy-900); color: #A9B6D1; padding: clamp(46px, 5vw, 66px) 0 0; font-size: 15px; line-height: 25px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(22px, 3vw, 40px); }
@media (max-width: 940px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 15px; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { color: #D4DCEC; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__brand svg { height: 40px; width: auto; margin-bottom: 16px; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding: 20px 0 26px; font-size: 13px; color: #8E9BB8; }
.footer__legal .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; align-items: center; }
.footer__kvk { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* --- WhatsApp flotante --------------------------------------------------- */
.wafab {
  position: fixed; right: 18px; bottom: 18px; z-index: 80; display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #0B2E18; font: 700 15px/1 var(--font); text-decoration: none;
  padding: 14px 20px 14px 16px; border-radius: var(--pill); box-shadow: var(--shadow-lg);
  transition: .16s ease;
}
.wafab:hover { background: #1FBA59; color: #0B2E18; transform: translateY(-2px); }
.wafab svg { width: 23px; height: 23px; flex: none; }
@media (max-width: 560px) { .wafab { padding: 14px; right: 14px; bottom: 14px; } .wafab span { display: none; } }
@media print { .wafab, .header, .topbar { display: none !important; } }

/* --- Marcadores de posición de imagen ------------------------------------ */
.ph {
  display: grid; place-items: center; gap: 8px; text-align: center;
  background:
    repeating-linear-gradient(45deg, #EEF1F6 0 12px, #E6EAF1 12px 24px);
  color: #8792A8; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 18px; min-height: 180px;
}
.ph svg { width: 34px; height: 34px; opacity: .6; }
.ph small { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 12px; max-width: 240px; line-height: 1.4; }

/* --- Aviso de montaje (solo mientras haya marcadores) --------------------- */
.todo {
  background: #FFF6E5; border: 1px solid #F2DCAE; border-left: 5px solid #E8A33D;
  border-radius: 12px; padding: 16px 20px; margin: 0 0 26px; font-size: 15px; line-height: 24px; color: #6B4A10;
}
.todo b { color: #4A3208; }
.todo code { background: #fff; border: 1px solid #EBD9AE; border-radius: 5px; padding: 1px 6px; font-size: 13px; }

/* --- Páginas de pueblo --------------------------------------------------- */
/* El hero de un pueblo es más bajo que el de una ciudad: la página es
   satélite y no debe competir visualmente con su ciudad madre.             */
.hero--compact { padding: clamp(28px, 3.6vw, 52px) 0 clamp(30px, 3.6vw, 56px); }
.hero--compact h1 { font-size: clamp(30px, 4.4vw, 46px); }

/* Enlaces entre pueblos vecinos y su ciudad. */
.plaatslinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px;
               margin: 24px 0 0; padding: 0; list-style: none; }
.plaatslinks a { display: inline-block; font-size: 14px; font-weight: 600;
                 color: var(--navy); text-decoration: none; background: #fff;
                 border: 1px solid var(--line); border-radius: var(--pill);
                 padding: 8px 16px; transition: border-color .15s, color .15s; }
.plaatslinks a:hover { border-color: var(--copper); color: var(--copper-dark); }

/* La lista de pueblos en el pie, debajo de las tres ciudades. */
.footer__plaatsen { margin-top: 10px; font-size: 13.5px; line-height: 1.9; }
.footer__plaatsen a { color: #AEBBD4; text-decoration: none; }
.footer__plaatsen a:hover { color: #fff; text-decoration: underline; }

/* --- La furgoneta rotulada en la portada --------------------------------- */
/* El SVG viene del archivo del rotulista, a 4400 × 1800 mm. Aquí solo manda
   el viewBox: se escala al ancho disponible y guarda su proporción. */
.busje { margin-top: 30px; }
.busje__svg { display: block; width: 100%; height: auto; max-width: 100%; }

/* En móvil la furgoneta entera queda diminuta, así que se recorta al bloque
   rotulado —que es lo que interesa— y se deja desplazar a lo ancho. */
@media (max-width: 720px) {
  .busje { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .busje__svg { min-width: 560px; }
}

/* --- Antes / después automático en la portada ---------------------------- */
/* Varios pares apilados; solo uno visible, y se funden al cambiar. El
   divisor (--pos) lo comparten todos, así que la animación es una sola. */
.ba__pair { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; }
.ba__pair.is-active { opacity: 1; }
.ba__pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba--auto { cursor: ew-resize; }
.hero__media .ba { box-shadow: var(--shadow-lg); }

/* Puntos para ver cuántos pares hay y cuál se está viendo. */
.ba__dots { position: absolute; bottom: 12px; left: 50%; translate: -50% 0;
            display: flex; gap: 7px; z-index: 2; }
.ba__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55);
           box-shadow: 0 0 0 1px rgba(16,24,40,.18); transition: background .3s, width .3s; }
.ba__dot.is-active { background: #fff; width: 20px; border-radius: var(--pill); }

/* El sello de "en 24 horas" se iría encima de los puntos. */
.hero__media .ba__dots { bottom: 16px; }

@media (prefers-reduced-motion: reduce) {
  .ba__pair { transition: none; }
  .ba__dot { transition: none; }
}

/* Aviso sobre el par de demostración: que nadie lo confunda con trabajo real. */
.ba__demo {
  /* Arriba y centrado, entre las pastillas VOOR y NA: abajo chocaba con el
     sello de «en 24 horas», sobre todo en móvil. */
  position: absolute; left: 50%; translate: -50% 0; top: 13px; z-index: 3;
  background: rgba(194,85,47,.94); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .04em; padding: 6px 13px; border-radius: var(--pill);
  box-shadow: 0 2px 8px rgba(16,24,40,.22); white-space: nowrap;
}
/* En pantallas estrechas no caben VOOR + aviso + NA en la misma línea,
   así que el aviso baja a su propia fila. */
@media (max-width: 620px) {
  .ba__demo { top: 56px; font-size: 11px; padding: 5px 10px; }
}

/* El vaivén del divisor, en CSS. @property hace que --pos sea interpolable;
   donde el navegador no lo soporte, el comparador se queda quieto al 50 % y
   se sigue pudiendo arrastrar. */
@property --pos {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 50%;
}
@keyframes ba-vaiven {
  0%, 100% { --pos: 18%; }
  50%      { --pos: 82%; }
}
.ba--auto { animation: ba-vaiven 5.2s ease-in-out infinite; }
.ba--auto:hover,
.ba--auto.is-manual { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .ba--auto { animation: none; }
}
