/* ==========================================================================
   1. RESET Y TOKENS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

:root {
  /* Color */
  --primary: #2468a8;
  --primary-dark: #194e80;
  --accent: #FFCC00;
  --accent-soft: #ffe066;
  --whatsapp: #25D366;

  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --text-main: #333333;
  --text-muted: #666666;
  --border-color: #E2E8F0;

  /* Tipografia */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Espaciado fluido */
  --space-1: clamp(0.5rem, 0.45rem + 0.3vw, 0.75rem);
  --space-2: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
  --space-3: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
  --space-4: clamp(2rem, 1.7rem + 1.5vw, 3.25rem);
  --space-5: clamp(3rem, 2.4rem + 3vw, 5rem);
  --space-6: clamp(4rem, 3rem + 5vw, 7.5rem);

  --radius-sm: 8px;
  --radius-md: 16px;
  --container: 1200px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--primary);
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.1rem, 1.7rem + 2.2vw, 3.4rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.6rem, 1.4rem + 1.2vw, 2.3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  font-weight: 600;
}

p {
  max-width: 100%;
}

.container {
  width: min(100% - 2 * var(--space-2), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-4);
}

.section--tight {
  padding-block: var(--space-3);
}

.section--dark {
  background: var(--primary);
  color: var(--bg-white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--bg-white);
}

.section--card {
  background: var(--bg-white);
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--space-1);
}

.section-head {
  max-width: 100%;
  margin-bottom: var(--space-4);
}

.section-head p {
  margin-top: var(--space-1);
  color: var(--text-muted);
  font-size: 1.05rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Marcador de lista "diamante" - referencia visual al diamantado de suelos */
.check-list li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: var(--space-1);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* Foco visible accesible en toda la web */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==========================================================================
   2. BOTONES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.9em 1.6em;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--accent);
  color: var(--text-main);
  border-color: var(--accent);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
  background: var(--accent-soft);
}

.btn--secondary {
  background: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--bg-white);
  border-color: var(--whatsapp);
}

.btn--whatsapp:hover,
.btn--whatsapp:focus-visible {
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--bg-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--block {
  width: 100%;
  justify-content: center;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

/* ==========================================================================
   3. HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-1);
  gap: var(--space-2);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

.primary-nav {
  display: none;
}

.primary-nav ul {
  display: flex;
  gap: var(--space-3);
}

.primary-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding-block: 4px;
  color: var(--primary);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.header-actions .btn {
  padding: 0.65em 1.1em;
  font-size: 0.9rem;
  display: none;
}

.header-actions .btn--whatsapp {
  background: var(--whatsapp);
  color: var(--bg-white);
  border-color: var(--whatsapp);
}

.nav-toggle {
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--primary);
  color: var(--bg-white);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  padding: var(--space-3) var(--space-2);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav__top {
  display: flex;
  justify-content: flex-end;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-family: var(--font-display);
}

.mobile-nav a {
  text-decoration: none;
  color: var(--bg-white);
  font-size: 1.5rem;
  font-weight: 700;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: var(--accent);
}

.mobile-nav__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-nav__close {
  background: none;
  border: none;
  color: var(--bg-white);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav__close svg {
  width: 26px;
  height: 26px;
}

@media (min-width: 900px) {
  .primary-nav {
    display: block;
  }

  .header-actions .btn {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none;
  }
}

/* ==========================================================================
   4. HERO
   ========================================================================== */
.hero {
  padding-block: var(--space-4) var(--space-4);
  overflow: hidden;
  background-color: var(--primary);
  color: var(--bg-white);
}

.hero h1,
.hero h2 {
  color: var(--bg-white);
}

.hero h2 {
  font-size: 25px;
  font-style: italic;
}

.hero .container {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}

.hero__lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: var(--space-2);
}

.hero__text p {
  margin-top: var(--space-2);
  color: rgba(255, 255, 255, 0.9);
}

.hero__caption {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Comparador antes/despues */
.compare {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  --pos: 50%;
  border: 4px solid var(--bg-white);
}

.compare__layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.compare__before {
  background-image: url('img/despues-pulido.webp');
  background-color: #555;
}

.compare__after {
  background-image: url('img/antes-pulido.webp');
  background-color: #aaa;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.compare__label {
  position: absolute;
  top: var(--space-1);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35em 0.7em;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--bg-white);
}

.compare__label--before {
  left: var(--space-1);
}

.compare__label--after {
  right: var(--space-1);
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 0;
  pointer-events: none;
}

.compare__handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -2px;
  width: 4px;
  background: var(--accent);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.compare__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.5);
}

.compare__grip {
  position: absolute;
  top: 50%;
  left: var(--pos);
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  z-index: 2;
  pointer-events: none;
}

.compare__grip svg {
  color: var(--primary);
  width: 24px;
  height: 24px;
}

.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
}

.compare__range::-webkit-slider-thumb {
  appearance: none;
  width: 44px;
  height: 44px;
  background: transparent;
}

.compare__range::-moz-range-thumb {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
}

.compare__range::-moz-range-track {
  background: transparent;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

/* ==========================================================================
   5. LISTAS DE PROBLEMAS / GRID GENERAL
   ========================================================================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-2);
  margin-block: var(--space-3);
}

.problem-grid .check-list li {
  background: var(--bg-light);
  padding: var(--space-2);
  padding-left: calc(var(--space-2) + 1.2rem);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--primary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.problem-grid .check-list li::before {
  left: var(--space-2);
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

/* ==========================================================================
   6. SERVICIOS - GRID ASIMETRICO "LOSAS DE TERRAZO"
   ========================================================================== */
.services-grid {
  display: grid;
  gap: 4px;
  background: var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-card {
  background: var(--bg-white);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.service-card__index {
  font-family: var(--font-display);
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

.service-card p {
  color: var(--text-muted);
}

.service-card .btn {
  margin-top: var(--space-1);
  align-self: flex-start;
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(160px, auto);
  }

  .services-grid .service-card:nth-child(1) {
    grid-column: span 4;
    grid-row: span 2;
  }

  .services-grid .service-card:nth-child(2) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .services-grid .service-card:nth-child(3) {
    grid-column: span 3;
  }

  .services-grid .service-card:nth-child(4) {
    grid-column: span 3;
  }
}

/* ==========================================================================
   7. MATERIALES
   ========================================================================== */
.materials-grid {
  display: grid;
  gap: var(--space-2);
}

.material-card {
  background: var(--bg-white);
  border-left: 4px solid var(--primary);
  padding: var(--space-3);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.material-card:nth-child(2n) {
  border-left-color: var(--accent);
}

.material-card:nth-child(3n) {
  border-left-color: var(--whatsapp);
}

.material-card p {
  color: var(--text-muted);
  margin-top: var(--space-1);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
}

.tag-list span {
  background: var(--bg-light);
  color: var(--primary);
  padding: 0.35em 0.75em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.material-card__note {
  margin-top: var(--space-2);
  font-weight: 600;
  color: var(--primary);
}

@media (min-width: 780px) {
  .materials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   8. DEFINICIONES (pulido/diamantado/abrillantado/cristalizado/vitrificado)
   ========================================================================== */
.definitions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-2);
}

.definition-card {
  padding: var(--space-2);
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  border-top: 3px solid var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.definition-card h3 {
  font-size: 1.05rem;
}

.definition-card p {
  margin-top: 0.4em;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   9. PROCESO
   ========================================================================== */
.process-list {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
  counter-reset: none;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2);
  position: relative;
  padding-bottom: var(--space-3);
  border-left: 2px solid var(--border-color);
  padding-left: var(--space-3);
  margin-left: 1.4rem;
}

.process-step:last-child {
  border-color: transparent;
  padding-bottom: 0;
}

.process-step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--bg-white);
  position: absolute;
  left: calc(var(--space-3) * -1 - 1.4rem);
  background: var(--primary);
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.process-step p {
  color: var(--text-muted);
  margin-top: 0.3em;
}

@media (min-width: 900px) {
  .process-list {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-2);
  }

  .process-step {
    grid-template-columns: 1fr;
    border-left: none;
    border-top: 2px solid var(--border-color);
    padding-left: 0;
    padding-top: var(--space-3);
    margin-left: 0;
  }

  .process-step:last-child {
    border-color: var(--border-color);
  }

  .process-step__num {
    position: static;
    margin-bottom: var(--space-1);
    width: 2.8rem;
    height: 2.8rem;
  }
}

/* ==========================================================================
   10. AUDIENCIAS
   ========================================================================== */
.audience-grid {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.audience-card {
  background: var(--bg-white);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.audience-card p {
  color: var(--text-muted);
}

.audience-card .check-list {
  margin-top: var(--space-2);
}

@media (min-width: 900px) {
  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   11. GALERIA ANTES/DESPUES (estatica)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.gallery-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.gallery-card__visual {
  aspect-ratio: 4/3;
  display: flex;
  position: relative;
}

.gallery-card__before,
.gallery-card__after {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 0.6em;
  background-size: cover;
  background-position: center;
}

.gallery-card__before {
  background-image: url('assets/img/suelo-antes.webp');
  background-color: #555;
}

.gallery-card__after {
  background-image: url('assets/img/suelo-despues.webp');
  background-color: #aaa;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  margin-left: -8%;
}

.gallery-card__before span,
.gallery-card__after span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.68rem;
  color: var(--bg-white);
  background: var(--primary);
  padding: 0.3em 0.65em;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.gallery-card__body {
  padding: var(--space-2);
}

.gallery-card__body h3 {
  font-size: 1.05rem;
}

/* ==========================================================================
   SPLIT LAYOUT (IMAGEN + TEXTO)
   ========================================================================== */
.split-layout {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}

.split-layout img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

@media (min-width: 900px) {
  .split-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* ==========================================================================
   12. ZONAS
   ========================================================================== */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.zone-card {
  background: var(--bg-white);
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  text-align: left;
  border: 1px solid var(--border-color);
}

.zone-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.4em;
}

/* ==========================================================================
   13. CONSEJOS
   ========================================================================== */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.tip-card {
  padding: var(--space-2) 0;
  border-top: 1px solid var(--border-color);
}

.tip-card p {
  color: var(--text-muted);
  margin-top: 0.3em;
  font-size: 0.95rem;
}

/* ==========================================================================
   14. FAQ
   ========================================================================== */
.faq-list {
  margin-top: var(--space-3);
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-item summary {
  padding: var(--space-2) 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  color: var(--primary);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding-bottom: var(--space-2);
  color: var(--text-muted);
  max-width: 100%;
}

.faq-item .btn {
  margin-top: var(--space-1);
  margin-bottom: var(--space-2);
}

/* ==========================================================================
   15. CTA FINAL + FORMULARIO
   ========================================================================== */
.final-cta .container {
  display: grid;
  gap: var(--space-4);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.8);
}

.final-cta .cta-row {
  margin-top: var(--space-3);
}

@media (min-width: 900px) {
  .final-cta .container {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* ==========================================================================
   16. CIERRE + FOOTER
   ========================================================================== */
.closing p {
  color: var(--text-muted);
}

.closing .cta-row {
  margin-top: var(--space-2);
}

.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-block: var(--space-4) var(--space-4);
}

.footer-grid {
  display: grid;
  gap: var(--space-3);
}

.footer-grid h3 {
  color: var(--bg-white);
  font-size: 1.1rem;
  margin-bottom: var(--space-1);
}

.footer-grid a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s var(--ease);
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--accent);
}

.footer-nav li {
  margin-bottom: 0.5em;
}

.footer-brand p {
  margin-top: var(--space-1);
  max-width: 100%;
}

.container.footer-bottom a {
  text-decoration: none;
}

.footer-bottom {
  margin-top: var(--space-4);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: space-between;
}

@media (min-width: 780px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ==========================================================================
   17. BARRA STICKY MOVIL
   ========================================================================== */
.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-white);
  box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.15);
}

.mobile-cta-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95em;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.mobile-cta-bar a:first-child {
  border-right: 1px solid var(--border-color);
}

.mobile-cta-bar a:last-child {
  background: var(--whatsapp);
  color: var(--bg-white);
}

.mobile-cta-bar svg {
  width: 18px;
  height: 18px;
}

body {
  padding-bottom: 64px;
}

@media (min-width: 900px) {
  .mobile-cta-bar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

/* ==========================================================================
   18. ACCESIBILIDAD / MOVIMIENTO
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Estilos de zonas/index.html */
.area-section {
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}

.area-section:first-of-type {
  margin-top: 0;
}

.area-header {
  margin-bottom: var(--space-4);
}

.area-header h2 {
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.area-header p {
  color: var(--text-muted);
  max-width: 100%;
}

.locality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-2);
}

.locality-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  transition: all 0.3s ease;
}

.locality-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
  background: var(--bg-light);
}

.locality-icon {
  color: var(--primary);
  flex-shrink: 0;
  background: rgba(239, 184, 16, 0.1);
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
}

.locality-card h4 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--text-main);
  font-weight: 500;
}

.locality-card svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   BLOQUE CTA FULL-WIDTH INTERMEDIO (REUTILIZABLE)
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--bg-white);
  padding-block: var(--space-5);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.1) 0%, rgba(255, 204, 0, 0) 70%);
  pointer-events: none;
}

.cta-banner__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 850px;
  margin-inline: auto;
}

.cta-banner h2 {
  color: var(--bg-white);
  font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  margin-bottom: var(--space-1);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 65ch;
  margin-bottom: var(--space-3);
}

.cta-banner .cta-row {
  margin-top: 0;
  justify-content: center;
}

.cta-banner__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-3);
  font-size: 0.9rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.cta-banner__badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.cta-banner__badges svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}