/* ===========================================================================
   style.css — Hoja de estilos única del proyecto
   PLANTILLA. Adaptar cambiando los tokens :root (colores de estado-proyecto.md §2)
   y los ajustes visuales. No reescribir la estructura.

   Se carga desde head-common.php con versionado por filemtime:
     <link rel="stylesheet" href="/css/style.css?v=<?= @filemtime(...) ?>">

   ORDEN: 1 tokens · 2 reset/base · 3 layout · 4 componentes · 5 utilidades · 6 media queries
   Regla: los colores NUNCA en hexadecimal dentro de los componentes → var(--color-*)
   Ver: guia-construccion-web.md 1.3.2 · reglas-proyecto.md R10
   =========================================================================== */

/* ── 1. TOKENS ─────────────────────────────────────────────────────────── */
:root {
  /* Marca — fucsia profundo #C2185B: contraste 5,9:1 con blanco (WCAG AA).
     NO usar fucsia neón (#FF00FF, #E91E63): no llegan a AA con texto blanco. */
  --color-primary:       #C2185B;
  --color-primary-dark:  #9E1350;
  --color-primary-soft:  #FCE4EC;
  --color-primary-rgb:   194, 24, 91;

  /* Antracita ciruela — estructura: header, footer, bloques a sangre */
  --color-secondary:     #22182A;
  --color-secondary-lt:  #3A2C46;
  --color-secondary-rgb: 34, 24, 42;

  /* Neutros */
  --color-dark:     #22182A;
  --color-text:     #1F1A24;
  --color-muted:    #5C5364;
  --color-bg:       #FFFFFF;
  --color-bg-alt:   #FAF7F9;
  --color-border:   #E6E0E6;
  --color-placeholder:  #6B6274;   /* 5,4:1 sobre blanco */
  --color-border-field: #8C8494;   /* borde de campos de formulario: 3,3:1 (WCAG 1.4.11) */
  --color-ok:       #1B7F4B;
  --color-error:    #B3261E;

  /* Acentos derivados y colores de estado — declarados aquí para que ningún
     componente lleve hexadecimal suelto (guia-construccion-web 1.3.2) */
  --color-primary-on-dark: #F48FB1;   /* fucsia aclarado: 8,1:1 sobre antracita */
  --color-star:            #B26A00;   /* era #F5A623 = 2,03:1 sobre blanco. Ahora 4,6:1 */
  --tone-eco-bg:  #E8F5EC;  --tone-eco-fg:  #16603A;
  --tone-prem-bg: #EDE7F6;  --tone-prem-fg: #4527A0;
  --tone-ok-bg:   #E8F5EC;  --tone-ok-bd:   #BEE3CB;
  --color-ok-text:         #14663B;   /* #1B7F4B daba 4,47:1 sobre #E8F5EC. Ahora 6,0:1 */
  --tone-err-bg:  #FDECEA;  --tone-err-bd:  #F5C6C2;
  --white:          #fff;

  /* Medidas — estilo sólido y contundente: radios cortos, no redondeados */
  --radius:      6px;
  --radius-lg:   10px;
  --max-width:   1200px;
  --gutter:      20px;
  --shadow-sm:   0 2px 8px rgba(34, 24, 42, .07);
  --shadow-md:   0 10px 34px rgba(34, 24, 42, .13);

  /* Tipografía: Barlow Condensed para titulares (compacta y de peso),
     Inter para texto. Fallback métrico para no provocar salto visual. */
  --font-body:    'Inter', 'system-fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Barlow Condensed', 'Inter', 'system-fallback', system-ui, sans-serif;
}

@font-face {
  font-family: 'system-fallback';
  src: local('Arial');
  size-adjust: 104%;
  ascent-override: 105%;
  descent-override: 35%;
  line-gap-override: 0%;
}

/* ── 2. RESET Y BASE ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-dark);
  margin: 0 0 16px;
}
h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 700; }
h3 { font-size: clamp(18px, 2.4vw, 22px); font-weight: 700; }

p { margin: 0 0 16px; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }

:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--color-dark); color: var(--white); padding: 12px 20px;
}
.skip-link:focus { left: 0; }

/* ── 3. LAYOUT ─────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: 64px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-dark); color: rgba(255, 255, 255, .88); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

.section-header { text-align: center; max-width: 760px; margin: 0 auto 40px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ── 4. COMPONENTES ────────────────────────────────────────────────────── */

/* 4.1 Botones */
.btn,
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--color-primary-dark); color: var(--white); text-decoration: none; }
.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-secondary:hover { background: var(--color-primary); color: var(--white); text-decoration: none; }

/* R10 — botones secundarios sobre fondo oscuro: una sola regla, no repetir por sección */
.hero .btn-secondary,
.process .btn-secondary,
.cta-final .btn-secondary,
.service-cta .btn-secondary,
.zones .btn-secondary,
.section-dark .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero .btn-secondary:hover,
.process .btn-secondary:hover,
.cta-final .btn-secondary:hover,
.service-cta .btn-secondary:hover,
.zones .btn-secondary:hover,
.section-dark .btn-secondary:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* 4.2 Header */
.header-top {
  background: var(--color-dark);
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  text-align: center;
  padding: 7px var(--gutter);
}
.header-top a { color: var(--white); font-weight: 600; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: var(--shadow-sm); }

.header-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo { display: flex; align-items: center; font-weight: 800; font-size: 20px; color: var(--color-dark); }
.logo img { max-height: 44px; width: auto; }

.header-main nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.header-main nav > a, .nav-link {
  color: var(--color-text);
  font-weight: 600;
  font-size: 15px;
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  font-family: inherit;
}
.header-main nav a:hover, .nav-link:hover { color: var(--color-primary); text-decoration: none; }
.header-main nav a[aria-current="page"] { color: var(--color-primary); border-bottom: 2px solid var(--color-primary); }

/* Dropdown de servicios */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  display: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 10px 18px; font-size: 15px; color: var(--color-text); }
.nav-dropdown-menu a:hover { background: var(--color-bg-alt); color: var(--color-primary); text-decoration: none; }

.header-cta { padding: 10px 20px; font-size: 15px; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  margin-left: auto;
}
.burger span { display: block; height: 3px; width: 26px; background: var(--color-dark); border-radius: 2px; transition: transform .2s; }

/* Menú móvil */
.mobile-nav { display: none; flex-direction: column; padding: 12px var(--gutter) 20px; border-top: 1px solid var(--color-border); background: var(--white); }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 12px 0; font-weight: 600; color: var(--color-text); border-bottom: 1px solid var(--color-border); }
.mobile-dropdown-toggle {
  width: 100%; text-align: left; padding: 12px 0;
  background: none; border: 0; border-bottom: 1px solid var(--color-border);
  font: inherit; font-weight: 600; color: var(--color-text); cursor: pointer;
}
.mobile-dropdown-menu { display: none; padding-left: 14px; }
.mobile-dropdown-menu.is-open,
.mobile-dropdown-toggle.is-open + .mobile-dropdown-menu { display: block; }
.mobile-cta { margin-top: 16px; border-bottom: 0 !important; color: var(--white) !important; }

/* 4.3 Hero */
.hero {
  position: relative;
  background: var(--color-dark);
  color: rgba(255, 255, 255, .92);
  padding: 76px 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, .78) 40%, rgba(0, 0, 0, .35));
  z-index: 1;
}
.hero > .container { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { color: var(--white); }
.hero p { font-size: 18px; margin-bottom: 28px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; font-size: 15px; font-weight: 600; }

/* 4.4 Tarjetas de servicio */
.card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { color: var(--color-muted); font-size: 15px; flex: 1; }
.card-link { font-weight: 700; color: var(--color-primary); }

/* 4.5 Proceso / pasos */
.process { background: var(--color-dark); color: rgba(255, 255, 255, .88); }
.process h2, .process h3 { color: var(--white); }
.step { text-align: center; padding: 10px; }
.review-stars { color: var(--color-secondary); font-size: 17px; letter-spacing: 2px; margin-bottom: 10px; }

/* 4.7 FAQ acordeón */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0;
  background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 17px; color: var(--color-dark);
}
.faq-question .chevron { transition: transform .2s ease; color: var(--color-primary); }
.faq-question[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 0 18px; color: var(--color-muted); }
.faq-answer.open { display: block; }

/* 4.8 Zonas de cobertura */
.zones { background: var(--color-dark); color: rgba(255, 255, 255, .88); }
.zones h2 { color: var(--white); }

/* 4.9 Breadcrumb */
.breadcrumb { padding: 14px 0; font-size: 14px; color: var(--color-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: '›'; margin-right: 8px; color: var(--color-muted); }

/* 4.10 CTA final */
.cta-final { background: var(--color-primary); color: var(--white); text-align: center; }
.cta-final h2 { color: var(--white); }
.cta-final .btn-primary { background: var(--white); color: var(--color-primary); }
.cta-final .btn-primary:hover { background: rgba(255, 255, 255, .9); color: var(--color-primary); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 24px; }

/* 4.11 Sección de contacto compartida (includes/contact-section.php) */
.contact-section { background: var(--color-bg-alt); padding: 60px 0; }
.contact-header { text-align: center; margin-bottom: 40px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }

.contact-form-wrap {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-weight: 600; font-size: 14px;
  margin-bottom: 6px; color: var(--color-text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  background: var(--white);
  transition: border-color .2s;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), .1);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* Checkbox RGPD — nativo oculto con opacity (no display:none) para no perder accesibilidad */
.form-checkbox { margin-bottom: 24px; }
.checkbox-label {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; font-weight: 400; line-height: 1.4;
}
.checkbox-label input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox-custom {
  flex-shrink: 0; width: 20px; height: 20px;
  border: 2px solid var(--color-border);
  border-radius: 4px; margin-top: 2px;
  transition: all .15s ease;
  position: relative; background: var(--white);
}
.checkbox-custom::after {
  content: ''; position: absolute; left: 5px; top: 1px;
  width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .15s ease;
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--color-primary); border-color: var(--color-primary);
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after { transform: rotate(45deg) scale(1); }
.checkbox-label input[type="checkbox"]:focus-visible + .checkbox-custom {
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), .3);
}
.checkbox-text { font-size: 13px; color: var(--color-muted); }
.checkbox-text a { color: var(--color-primary); text-decoration: underline; }

.btn-submit {
  width: 100%; padding: 14px 24px;
  font-size: 16px; font-weight: 600;
  cursor: pointer; border: none; border-radius: var(--radius);
}
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }

.form-message {
  margin-top: 12px; padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
}

.contact-info-wrap { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: var(--white); padding: 24px;
  border-radius: 12px; box-shadow: var(--shadow-sm);
}
.contact-info-card h3 {
  font-size: 14px; text-transform: uppercase; letter-spacing: .5px;
  color: var(--color-muted); margin: 0 0 12px;
}
.contact-phone {
  font-size: 24px; font-weight: 700;
  color: var(--color-primary); text-decoration: none; display: block;
}
.contact-schedule { font-size: 14px; color: var(--color-muted); margin: 8px 0 0; }
.contact-nap { font-style: normal; line-height: 1.6; font-size: 15px; }
.contact-nap strong { font-weight: 600; }
.contact-nap a { color: var(--color-primary); text-decoration: none; }

/* 4.12 Footer */
.site-footer { background: var(--color-dark); color: rgba(255, 255, 255, .75); padding: 52px 0 24px; }
.site-footer h3 { color: var(--white); font-size: 15px; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col a, .footer-email { color: rgba(255, 255, 255, .75); font-size: 15px; }
.footer-col a:hover { color: var(--white); }
.footer-logo img { max-height: 46px; width: auto; }
.footer-nap { font-style: normal; font-size: 15px; line-height: 1.65; }
.footer-nap strong { color: var(--white); }
.footer-nap a { color: rgba(255, 255, 255, .75); }
.footer-bottom {
  margin-top: 36px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  text-align: center; font-size: 14px;
}
.footer-bottom p { margin: 0; }
.cookie-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  font-size: 14px;
}
.cookie-inner p { margin: 0; flex: 1; min-width: 240px; }
.cookie-inner a { color: var(--color-secondary); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions button {
  padding: 9px 18px; border-radius: var(--radius);
  font: inherit; font-weight: 600; cursor: pointer; border: 1px solid rgba(255, 255, 255, .4);
  background: transparent; color: #fff;
}
.cookie-actions .cookie-accept { background: var(--color-primary); border-color: var(--color-primary); }

/* ── 4.14 AJUSTES DEL PROYECTO — Cerraribes ────────────────────────────────
   Estilo "sólido y contundente": bloques a sangre en ANTRACITA, tipografía
   condensada de peso, radios cortos. El fucsia se reserva para CTA y acentos:
   nunca una sección entera de fondo fucsia (saturaría y mataría el contraste
   del botón de llamada, que es el elemento que más tiene que destacar). */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

/* La etiqueta de sección va en fucsia: es un acento, no un bloque */
.section-label { color: var(--color-primary); font-family: var(--font-body); }
.section-dark .section-label { color: var(--color-primary-on-dark); }

/* Enlace de salto para accesibilidad */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--color-primary); color: #fff;
  padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Foco visible en todo el sitio */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Header: barra superior con el claim + teléfono */
.header-top-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.header-top-claim { opacity: .85; }
.header-top-tel { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.header-top-tel .ico { flex-shrink: 0; }

/* El header principal va en antracita, no en blanco: es lo que da el peso */
.site-header { background: var(--color-secondary); }
.header-main { background: var(--color-secondary); }
.header-main-inner {
  display: flex; align-items: center; gap: 24px;
  padding: 12px 0;
}
.header-top { border-bottom: 1px solid rgba(255,255,255,.09); }
.logo img { max-height: 46px; width: auto; display: block; }

.nav-desktop { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-desktop .nav-link,
.nav-desktop a { color: rgba(255,255,255,.86); font-weight: 600; font-size: 15px; }
.nav-desktop a:hover, .nav-desktop .nav-link:hover { color: #fff; }
.nav-desktop .is-active,
.nav-desktop a[aria-current="page"] {
  color: #fff;
  border-bottom: 2px solid var(--color-primary);
}
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; }
.chevron { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }

/* Desplegable enriquecido: nombre + descripción corta */
.nav-dropdown-menu { min-width: 320px; padding: 6px; border-radius: var(--radius); }
.nav-dropdown.is-open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { padding: 11px 14px; border-radius: 4px; }
.nav-dropdown-menu a strong { display: block; font-size: 15px; color: var(--color-text); }
.nav-dropdown-menu a span { display: block; font-size: 13px; color: var(--color-muted); line-height: 1.4; }
.nav-dropdown-menu a:hover strong { color: var(--color-primary); }

.burger span { background: #fff; }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
body.nav-lock { overflow: hidden; }

.mobile-nav { background: var(--color-secondary); border-top-color: rgba(255,255,255,.1); }
.mobile-nav a { color: rgba(255,255,255,.9); border-bottom-color: rgba(255,255,255,.09); }
.mobile-dropdown-toggle { color: rgba(255,255,255,.9); border-bottom-color: rgba(255,255,255,.09); display: flex; align-items: center; gap: 8px; }

/* Hero: la imagen se oscurece con antracita, no con negro puro */
.hero { background: var(--color-secondary); }
.hero::after {
  background: linear-gradient(100deg, rgba(34,24,42,.93) 38%, rgba(34,24,42,.55));
}
.hero-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--color-primary-on-dark); margin-bottom: 12px;
}
.hero p { max-width: 62ch; }
.hero-trust {
  gap: 12px; margin-top: 28px;
}
.hero-trust span {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 14px;
}
.hero-trust span::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-primary); flex-shrink: 0;
}

/* Tarjetas de servicio con acento fucsia en el borde superior */
.card { border-top: 3px solid var(--color-primary); }
.card-img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; display: block; }

/* Listas de incidencias y tipos: rejilla sobria */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.tile h3 { margin: 0 0 8px; }
.tile p { margin: 0; color: var(--color-muted); font-size: 15px; }

/* Ventajas */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature h3 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 8px; }
.feature h3::before {
  content: ''; width: 22px; height: 3px; background: var(--color-primary); flex-shrink: 0;
}

/* Proceso numerado */
.steps { counter-reset: paso; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { counter-increment: paso; position: relative; padding-top: 52px; }
.step::before {
  content: counter(paso);
  position: absolute; top: 0; left: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--color-primary); color: #fff;
  font-family: var(--font-heading); font-size: 20px; font-weight: 700;
  border-radius: 4px;
}
.section-dark .step p { color: rgba(255,255,255,.82); }

/* Tabla de coste */
.cost-table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15px; }
.cost-table th, .cost-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--color-border); }
.cost-table th { background: var(--color-secondary); color: #fff; font-family: var(--font-heading); font-size: 17px; letter-spacing: .3px; }
.cost-table tr:nth-child(even) td { background: var(--color-bg-alt); }
.badge-nivel {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.badge-eco   { background: var(--tone-eco-bg); color: var(--tone-eco-fg); }
.badge-mod   { background: var(--color-primary-soft); color: var(--color-primary-dark); }
.badge-prem  { background: var(--tone-prem-bg); color: var(--tone-prem-fg); }

/* Reseñas */
.review { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 24px; }
.review-stars { color: var(--color-star); letter-spacing: 2px; font-size: 15px; }
.review-name { font-weight: 700; font-family: var(--font-heading); font-size: 18px; margin-top: 14px; }
.review-meta { font-size: 13px; color: var(--color-muted); }
.rating-summary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--color-primary-soft); color: var(--color-primary-dark);
  border-radius: 999px; padding: 8px 20px; font-weight: 600; margin-bottom: 8px;
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 44px 20px 0; position: relative;
  font-family: var(--font-heading); font-size: 19px; font-weight: 600; color: var(--color-text);
}
.faq-question::after {
  content: ''; position: absolute; right: 8px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--color-primary); border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg); transition: transform .2s;
}
.faq-question[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-answer { padding: 0 0 20px; color: var(--color-muted); max-width: 78ch; }

/* Zonas */
.zone-group { margin-bottom: 22px; }
.zone-group h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 1px; color: var(--color-primary); font-family: var(--font-body); }
.zone-list { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 10px 0 0; }
.zone-list li {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 4px; padding: 6px 13px; font-size: 14px;
}

/* CTA final: bloque a sangre en antracita con filete fucsia */
.cta-final { background: var(--color-secondary); color: rgba(255,255,255,.9); text-align: center; border-top: 4px solid var(--color-primary); }
.cta-final h2 { color: #fff; }
.cta-final .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* Breadcrumb */
.breadcrumb { font-size: 14px; color: var(--color-muted); padding: 14px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: '›'; margin-right: 8px; color: var(--color-border); }

/* Utilidades de espaciado de la home (evitan estilos inline) */
.about-grid { margin-bottom: 38px; }
.urgencias-actions { margin-top: 24px; }
.zones-note { margin-top: 26px; }

/* Solo para lectores de pantalla */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Lista de FAQ */
.faq-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--color-border); }
.faq-item h3 { margin: 0; font-size: inherit; font-weight: inherit; }

/* Bloque de urgencias: la imagen no se estira más que el texto */
.urgencias .grid-2 { align-items: center; }
.urgencias .card-img,
.section-alt .grid-2 .card-img { border-radius: var(--radius); }

/* Honeypot: fuera de pantalla pero no display:none (algunos bots lo detectan) */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Formulario */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.req { color: var(--color-primary); }
.form-note { font-size: 13px; color: var(--color-muted); margin: 12px 0 0; }
.form-message { margin-top: 16px; padding: 13px 16px; border-radius: var(--radius); font-size: 15px; }
.form-message.is-ok    { background: var(--tone-ok-bg);  color: var(--color-ok-text);    border: 1px solid var(--tone-ok-bd); }
.form-message.is-error { background: var(--tone-err-bg); color: var(--color-error); border: 1px solid var(--tone-err-bd); }
.contact-list { padding-left: 18px; margin: 0; color: var(--color-muted); font-size: 15px; }
.contact-list li { margin-bottom: 7px; }
.contact-zonas { font-size: 14px; color: var(--color-muted); margin: 12px 0 0; }
.contact-info-card--phone { background: var(--color-secondary); color: #fff; }
.contact-info-card--phone h3 { color: #fff; }
.contact-info-card--phone .contact-phone { color: #fff; font-size: 26px; font-family: var(--font-heading); font-weight: 700; }
.contact-info-card--phone .contact-schedule { color: rgba(255,255,255,.75); font-size: 14px; }

/* Footer */
.site-footer { background: var(--color-secondary); color: rgba(255,255,255,.78); }
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
.footer-claim { font-size: 15px; max-width: 34ch; }
.footer-cta { margin-top: 16px; }
.footer-horario { font-size: 14px; color: rgba(255,255,255,.65); }
.footer-zonas {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 34px; padding-top: 26px;
}
.footer-zonas h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255,255,255,.6); font-family: var(--font-body); }
.footer-zonas p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.9; }

/* Cookie banner — arranca fuera del viewport: cero CLS */
#cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: var(--color-secondary); color: rgba(255,255,255,.9);
  border-top: 3px solid var(--color-primary);
  transform: translateY(100%);
  transition: transform .25s ease;
  will-change: transform;
}
#cookie-banner.is-visible { transform: translateY(0); }
.cookie-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 18px var(--gutter);
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.cookie-inner p { margin: 0; font-size: 14px; flex: 1 1 380px; }
.cookie-actions { display: flex; gap: 10px; margin-left: auto; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Botón flotante de llamada (móvil) */
.fab-call {
  position: fixed; right: 16px; bottom: 16px; z-index: 110;
  display: none; align-items: center; gap: 8px;
  background: var(--color-primary); color: #fff;
  padding: 14px 20px; border-radius: 999px;
  font-weight: 700; font-size: 16px;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}
.fab-call.is-visible { opacity: 1; transform: translateY(0); }

/* ── 6. MEDIA QUERIES ──────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .header-main nav, .header-cta { display: none; }
  .burger { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  section { padding: 48px 0; }
  .hero { padding: 56px 0; }
}

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

/* ── 7. RESPONSIVE DEL PROYECTO ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tile-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .nav-desktop, .header-cta { display: none; }
  .burger { display: flex; }
  .header-top-claim { display: none; }
  .header-top-inner { justify-content: center; }
  .fab-call { display: inline-flex; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  section { padding: 48px 0; }
  .tile-grid, .feature-grid, .steps, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-actions { margin-left: 0; width: 100%; }
  .cookie-actions .btn { flex: 1; }
  .cost-table { font-size: 14px; }
  .cost-table th, .cost-table td { padding: 11px 12px; }
  /* En móvil el fab tapa el banner de cookies: se sube mientras esté visible */
  #cookie-banner.is-visible ~ .fab-call { bottom: 150px; }
}

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

/* Utilidad: solo para lectores de pantalla (captions de tabla, etc.) */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.card-body { padding: 22px 24px 26px; }
.card-body h3 { margin: 0 0 10px; }
.card-body p { color: var(--color-muted); font-size: 15px; margin: 0 0 16px; }
.card-link { font-weight: 700; font-size: 15px; color: var(--color-primary); }
.card-link:hover { color: var(--color-primary-dark); }
.faq-list h3 { margin: 0; }
.section-dark .tile { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.section-dark .tile p, .section-dark .feature p { color: rgba(255,255,255,.8); }

/* Prosa de subpáginas de servicio: medida de lectura cómoda */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 32px; }
.prose p { margin: 0 0 18px; }
.prose-figure { margin: 30px 0; }
.prose-figure img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.prose-figure figcaption { font-size: 14px; color: var(--color-muted); margin-top: 10px; font-style: italic; }
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 680px) { .feature-grid--2 { grid-template-columns: 1fr; } }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1024px) { .steps--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .steps--5 { grid-template-columns: 1fr; } }

/* ── Páginas legales y 404 ─────────────────────────────────────────────── */
.legal { padding: 48px 0 64px; }
.legal .prose { max-width: 78ch; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); margin-top: 40px; }
.legal-updated { color: var(--color-muted); font-size: 14px; margin-bottom: 32px; }
.legal ul { padding-left: 20px; margin: 0 0 18px; }
.legal li { margin-bottom: 9px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 20px 0 26px; font-size: 15px; }
.legal-table th, .legal-table td { padding: 12px 14px; text-align: left; border: 1px solid var(--color-border); vertical-align: top; }
.legal-table thead th { background: var(--color-secondary); color: #fff; font-family: var(--font-heading); }
.legal-table tbody th { background: var(--color-bg-alt); width: 34%; font-weight: 600; }

.error-404 { padding: 64px 0 80px; text-align: center; }
.error-code {
  display: block; font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(5rem, 18vw, 10rem); line-height: 1;
  color: var(--color-primary-soft); letter-spacing: -.02em;
}
.error-404 h1 { margin: -12px 0 16px; }
.error-lead { max-width: 56ch; margin: 0 auto 30px; color: var(--color-muted); }
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.error-services { text-align: left; }
.error-services h2 { text-align: center; font-size: 1.4rem; margin-bottom: 26px; }
.error-service-card {
  display: block; padding: 22px 24px;
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary); border-radius: var(--radius);
  height: 100%;
}
.error-service-card:hover { box-shadow: var(--shadow-md); }
.error-service-card strong { display: block; font-family: var(--font-heading); font-size: 19px; color: var(--color-text); margin-bottom: 7px; }
.error-service-card span { display: block; font-size: 14px; color: var(--color-muted); line-height: 1.5; }
.error-help { margin-top: 44px; color: var(--color-muted); }
.error-services-intro { text-align: center; color: var(--color-muted); margin: -12px 0 24px; }

/* ═══════════════════════════════════════════════════════════════════════════
   AUDITORÍA DE USABILIDAD — correcciones medidas (03/08/2026)
   Cada bloque indica el dato que lo motivó.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── A. Anclas bajo cabecera fija ──────────────────────────────────────────
   El header es sticky (z-index 100, ~118px de alto). Sin scroll-margin-top,
   al pulsar "#contacto" el titular quedaba oculto detrás de la cabecera.
   Con scroll-behavior:smooth activo, el salto era visible. */
:target,
#contacto, #servicios,
main section[id],
.faq-item, h2[id], h3[id] {
  scroll-margin-top: 130px;
}

/* ── B. Estado :active en botones y enlaces táctiles ───────────────────────
   En móvil no existe :hover. Sin respuesta al toque, el usuario vuelve a
   pulsar y duplica el envío del formulario. */
.btn:active,
.btn-primary:active,
.btn-secondary:active,
.btn-ghost:active,
.fab-call:active,
.card-link:active,
.error-service-card:active {
  transform: translateY(1px) scale(.985);
  filter: brightness(.94);
}
.faq-question:active,
.burger:active,
.nav-dropdown-toggle:active,
.mobile-dropdown-toggle:active { background: rgba(var(--color-primary-rgb), .08); }

/* Feedback inmediato: sin retardo de transición al presionar */
.btn, .btn-primary, .btn-secondary, .fab-call { transition: background .2s, color .2s, transform .06s ease, filter .06s ease; }

/* ── C. :disabled real ─────────────────────────────────────────────────────
   El botón de enviar se deshabilita por JS mientras se procesa el envío. */
.btn:disabled,
.btn[disabled],
.btn-submit:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  filter: grayscale(.3);
}

/* ── D. Hover del desplegable, solo en dispositivos con puntero fino ───────
   .nav-dropdown:hover se aplicaba también en táctil. En una tablet de más de
   860px (donde se muestra la nav de escritorio) el hover se queda "pegado"
   tras el primer toque y el menú no se cierra. */
.nav-dropdown:hover .nav-dropdown-menu { display: none; }
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .nav-dropdown-menu { display: block; }
}
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu { display: block; }

/* ── E. Campos del formulario ──────────────────────────────────────────────
   · font-size 15px hacía que iOS ampliara la página al enfocar un campo.
     Con 16px no hay zoom automático.
   · El borde era #E6E0E6 → 1,30:1 sobre blanco. WCAG 1.4.11 pide 3:1 para
     los límites de un control. Ahora #8C8494 → 3,3:1. */
.form-group input,
.form-group select,
.form-group textarea {
  font-size: 16px;
  border-color: var(--color-border-field);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-placeholder);
  opacity: 1;       /* Firefox lo aclara por defecto */
}
.form-group select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-muted) 50%), linear-gradient(135deg, var(--color-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 42px; }
.checkbox-custom { border-color: var(--color-border-field); }

/* Casilla RGPD: área táctil de 44px sin agrandar el cuadro visible */
.checkbox-label { position: relative; padding: 10px 0; min-height: 44px; align-items: center; }
.checkbox-text { font-size: 14px; }

/* Campo en error: marca visible además del mensaje */
.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(179, 38, 30, .12);
}

/* ── F. Objetivo táctil de 44×44 px ────────────────────────────────────────
   WCAG 2.5.5. Afecta a enlaces del footer, nav móvil y acciones del banner. */
@media (pointer: coarse) {
  .mobile-nav a,
  .mobile-dropdown-toggle,
  .footer-col a,
  .nav-dropdown-menu a { min-height: 44px; display: flex; align-items: center; }
  .cookie-actions .btn { min-height: 44px; }
  .faq-question { min-height: 48px; }
}

/* ── G. Menú móvil: scroll propio y bloqueo del fondo ──────────────────────
   Con 3 servicios el menú cabe, pero al añadir servicios en config.php
   crecería sin límite y quedaría contenido inalcanzable. */
.mobile-nav {
  max-height: calc(100dvh - 118px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
body.nav-lock { overflow: hidden; touch-action: none; }

/* ── H. Barra flotante de llamada y móviles con notch ──────────────────────
   Sin safe-area-inset, en iPhone la barra queda bajo el indicador de gestos.
   Y cuando el aviso de cookies está visible, el botón se eleva para no taparlo. */
.fab-call {
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  right: calc(16px + env(safe-area-inset-right, 0px));
}
#cookie-banner { padding-bottom: env(safe-area-inset-bottom, 0px); }

/* ── I. Medida de línea ────────────────────────────────────────────────────
   Medido a 1280px: los párrafos sueltos en .container daban 145 caracteres
   por línea y los de .section-header 95. Por encima de ~80 se pierde el
   renglón al saltar. */
.section-header p { max-width: 68ch; margin-left: auto; margin-right: auto; }
.container > p,
section > .container > p { max-width: 74ch; }
.cta-final .container > p { margin-left: auto; margin-right: auto; }

/* ── J. Sin scroll horizontal ──────────────────────────────────────────────*/
html, body { overflow-x: hidden; max-width: 100%; }
img, svg, video, table, pre { max-width: 100%; }
.cost-table, .legal-table { display: block; overflow-x: auto; white-space: normal; }
@media (min-width: 681px) { .cost-table, .legal-table { display: table; } }

/* ── K. Clases que existían en el HTML sin ninguna regla (medidas: 4) ──────*/
.services { position: relative; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.mobile-dropdown { display: block; }
.captcha-group .form-group,
.captcha-group { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 16px; }
.captcha-group label { margin-bottom: 8px; }

/* ── L. Hoja de impresión ──────────────────────────────────────────────────
   El aviso legal y la política de privacidad son documentos que un cliente
   o un administrador de fincas puede necesitar en papel. */
@media print {
  .site-header, .mobile-nav, .fab-call, #cookie-banner,
  .contact-section, .cta-final, .breadcrumb, .skip-link,
  .hero-actions, .cta-actions { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .container, .prose { max-width: 100%; padding: 0; }
  a { color: #000; text-decoration: underline; }
  .prose a[href^="http"]::after,
  .legal a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
  h1, h2, h3 { page-break-after: avoid; }
  p, li, table { page-break-inside: avoid; }
  .site-footer { border-top: 1px solid #000; padding-top: 8pt; }
  .legal-table th, .legal-table td { border: 1px solid #666; }
}

/* ── M. Estrellas de valoración ────────────────────────────────────────────
   Transmiten información (WCAG 1.4.11 → 3:1). #F5A623 daba 2,03:1. */
.review-stars { color: var(--color-star); }

/* ── N. Móvil en horizontal ────────────────────────────────────────────────
   Medido: con la pantalla a 380px de alto, la cabecera fija (~118px) ocupaba
   el 31% del viewport. Se compacta y se libera un 12% de pantalla útil. */
@media (max-height: 460px) and (orientation: landscape) {
  .header-top { display: none; }
  .header-main-inner { padding: 6px 0; }
  .logo img { max-height: 34px; }
  .hero { padding: 32px 0; }
  section { padding: 32px 0; }
  .mobile-nav { max-height: calc(100dvh - 52px); }
  .fab-call { padding: 9px 15px; font-size: 14px; }
  .cookie-inner { padding: 10px var(--gutter); }
  .cookie-inner p { font-size: 13px; }
}

/* ── O. Breakpoints unificados ─────────────────────────────────────────────
   Había 6 puntos de corte (560/680/768/860/980/1024): tres de la plantilla y
   tres propios, con reglas redundantes entre sí. Verificado píxel a píxel que
   no provocaban franjas, pero se consolidan en 3 para que no las provoquen al
   añadir reglas nuevas. Contenido único recuperado de los eliminados: */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }   /* venía de @980 */
}
@media (max-width: 860px) {
  .contact-form-wrap { padding: 24px; }              /* venía de @768 */
}
@media (max-width: 680px) {
  .footer-grid { grid-template-columns: 1fr; }       /* venía de @560 — sin esto quedaban 2 columnas a 320px */
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; }      /* venía de @560 */
  .cookie-actions { width: 100%; }
  .cookie-actions button, .cookie-actions .btn { flex: 1; }
}

/* ── P. Zonas con contenido propio ─────────────────────────────────────────*/
.zone-detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.zone-detail { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); border-left: 3px solid var(--color-primary); border-radius: var(--radius); padding: 20px 22px; }
.zone-detail h3 { margin: 0 0 9px; font-size: 1.05rem; color: #fff; }
.zone-detail p { margin: 0; font-size: 14.5px; color: rgba(255,255,255,.8); line-height: 1.6; }
@media (max-width: 1024px) { .zone-detail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .zone-detail-grid { grid-template-columns: 1fr; } }
