/*
Theme Name: Aura Animal
Theme URI: https://somosauraanimal.com
Author: Daniel Garcia
Description: Tema a medida para Aura Animal, petshop y veterinaria en La Pradera, Dosquebradas. Optimizado para SEO local, conversion por WhatsApp y rendimiento. Compatible con RankMath y WPForms.
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aura-animal
Tags: veterinaria, petshop, local-business, seo, custom-theme
*/

/* ============================================================
   AURA ANIMAL — Petshop & Veterinaria · Dosquebradas
   Tema: azul petróleo + terracota + crema · tipografía redondeada
   ============================================================ */

/* ============================================================
   Tipografias autoalojadas (subconjunto latin).
   Evitan dos conexiones externas y el bloqueo de renderizado
   que provocaba cargarlas desde Google Fonts.
   ============================================================ */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/fredoka-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/fredoka-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/nunito-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/nunito-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/nunito-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --petrol: #5A7883;
  --petrol-dark: #46606B;
  --petrol-deep: #374D57;
  --terra: #C68C6D;
  --terra-dark: #A96F51;
  --cream: #F6F1E4;
  --cream-soft: #FBF8F0;
  --ink: #2E3E45;
  --cta: #A65530;
  --cta-dark: #8F4526;
  --radius: 22px;

  /* Escala de espaciado. Toda separacion del sitio sale de aqui. */
  --space-3xs: .35rem;   /* titulo -> texto dentro de una tarjeta */
  --space-2xs: .6rem;
  --space-xs: 1rem;
  --space-sm: 1.5rem;
  --space-md: 2.4rem;    /* separacion entre elementos de un bloque */
  --space-lg: 3.4rem;    /* cabecera de seccion -> contenido */
  --section-y: clamp(4rem, 8vw, 6.5rem);        /* entre secciones distintas */
  --section-y-tight: clamp(2.6rem, 5vw, 4rem);  /* continuacion del mismo bloque */
  --shadow: 0 10px 30px -12px rgba(55, 77, 87, .25);
  --font-display: 'Fredoka', 'Trebuchet MS', sans-serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(90, 120, 131, .05) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
}

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

a { color: var(--petrol-dark); }

.container { width: min(1120px, 92%); margin-inline: auto; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--petrol-deep);
}

h1, h2, h3, .display { text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 20ch; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); max-width: 24ch; }
h3 { font-size: 1.25rem; max-width: 26ch; }

/* Evita palabras sueltas al final de los parrafos */
p, .lead, li, blockquote { text-wrap: pretty; }

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terra-dark);
  background: rgba(198, 140, 109, .14);
  border: 1px solid rgba(198, 140, 109, .35);
  border-radius: 999px;
  padding: .3rem 1rem;
  margin-bottom: 1rem;
}

.section { padding: var(--section-y) 0; }
/* Bloque que continua al anterior: respira menos por arriba */
.section.tight { padding-top: var(--section-y-tight); }
/* Primera seccion despues del hero de pagina */
.section.first { padding-top: var(--space-lg); }

/* Lo que sigue a un hero o a la banda de sellos arranca siempre igual,
   sin depender de que la plantilla lleve la clase correcta. */
.page-hero + .section,
.sellos-wrap + .section,
.ticker + .section { padding-top: var(--space-lg); }
.section-head { max-width: 640px; margin-bottom: var(--space-lg); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center h1,
.section-head.center h2,
.section-head.center h3,
.section-head.center p { margin-inline: auto; }
.section-head p { margin-top: .8rem; color: #55676F; max-width: 58ch; }
.lead { max-width: 60ch; }
.card p, .step p, .quote p { max-width: 42ch; }
.card p, .step p { line-height: 1.58; }
.section-head.center .card p { margin-inline: auto; }

/* ---------- Accesibilidad: enlace de salto ----------
   Oculto visualmente, visible solo al navegar con teclado (Tab).
   ---------------------------------------------------- */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus,
.skip-link:focus {
  position: fixed !important;
  top: 12px;
  left: 12px;
  z-index: 100000;
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  background: var(--cta);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(166, 85, 48, .6);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  text-decoration: none;
  border-radius: 999px;
  padding: .85rem 1.7rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
  border: none;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-wa {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(166, 85, 48, .6);
}
.btn-wa:hover { background: var(--cta-dark); }

.btn-petrol { background: var(--petrol-deep); color: var(--cream); box-shadow: var(--shadow); }
.btn-petrol:hover { background: var(--petrol-dark); }

.btn-ghost {
  background: transparent;
  color: var(--petrol-deep);
  border: 2px solid var(--petrol);
}
.btn-ghost:hover { background: rgba(90, 120, 131, .1); }

.btn-light { background: var(--cream); color: var(--petrol-deep); }
.btn-light:hover { background: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 228, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(90, 120, 131, .18);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}
.brand-mark { width: 56px; height: 56px; border-radius: 50%; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--petrol-deep);
  line-height: 1;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terra-dark);
  margin-top: .25rem;
}
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav-links a {
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
  color: var(--petrol-dark);
  padding: .3rem 0;
  border-bottom: 2.5px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--terra-dark);
  border-color: var(--terra);
}
.nav-cta { display: flex; align-items: center; gap: .7rem; }

/* ---------- Megamenú Servicios ---------- */
.has-mega { position: relative; }
.has-mega > a { display: inline-flex; align-items: center; gap: .35rem; }
.has-mega .chev { width: 13px; height: 13px; transition: transform .2s ease; flex: none; }
.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(660px, 92vw);
  background: var(--cream-soft);
  border: 1.5px solid rgba(90, 120, 131, .22);
  border-radius: 20px;
  box-shadow: 0 26px 50px -20px rgba(55, 77, 87, .35);
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .35rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
.mega::before { /* puente para no perder el hover */
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-mega.open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.has-mega:hover .chev, .has-mega.open .chev { transform: rotate(180deg); }
.nav-links .mega a {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .8rem .85rem;
  border-radius: 14px;
  border-bottom: none;
  font-weight: 400;
}
.nav-links .mega a:hover { background: rgba(198, 140, 109, .13); }
.mega-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--petrol), var(--petrol-deep));
  color: var(--cream);
}
.mega a:nth-child(even) .mega-ic { background: linear-gradient(140deg, var(--terra), var(--terra-dark)); }
.mega-ic svg { width: 22px; height: 22px; }
.mega strong { font-family: var(--font-display); font-weight: 500; font-size: .98rem; color: var(--petrol-deep); display: block; }
.mega small { font-size: .84rem; color: #5C6E76; line-height: 1.45; display: block; margin-top: .1rem; }
.nav-links .mega a.mega-all {
  grid-column: 1 / -1;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--terra-dark);
  background: rgba(198, 140, 109, .12);
  padding: .65rem;
}
.nav-links .mega a.mega-all:hover { background: rgba(198, 140, 109, .22); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--petrol-deep);
  margin: 5px 0;
  transition: transform .2s, opacity .2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
}
.hero p.lead { font-size: 1.18rem; color: #4E626B; margin: 1.4rem 0 2.4rem; max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.4rem;
  font-size: .92rem;
  font-weight: 700;
  color: var(--petrol-dark);
}
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--terra-dark); }

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  isolation: isolate;
}

/* Halo circular: acompana la forma del logo en vez de deformarla */
.hero-blob {
  position: absolute;
  width: min(420px, 96%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(198, 140, 109, .22) 0 46%, transparent 47%),
    radial-gradient(circle at 50% 50%, rgba(90, 120, 131, .16) 0 62%, transparent 63%);
  animation: haloPulse 7s ease-in-out infinite;
}
/* Anillo discontinuo que gira despacio, como un collar alrededor del logo */
.hero-blob::before,
.hero-blob::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.hero-blob::before {
  border: 2px dashed rgba(198, 140, 109, .5);
  animation: ringSpin 32s linear infinite;
  will-change: transform;
}
.hero-blob::after {
  inset: 9%;
  border: 1.5px solid rgba(90, 120, 131, .3);
  animation: ringSpin 24s linear infinite reverse;
  will-change: transform;
}
@keyframes haloPulse {
  0%, 100% { transform: scale(1); opacity: .95; }
  50%      { transform: scale(1.045); opacity: 1; }
}
@keyframes ringSpin {
  to { transform: rotate(360deg); }
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(330px, 72%);
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 18px 38px rgba(55, 77, 87, .3));
  animation: heroIn .8s cubic-bezier(.16, 1, .3, 1) both,
             heroBreathe 8s ease-in-out 1s infinite;
}
@keyframes heroBreathe {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
@keyframes heroIn {
  from { opacity: 0; transform: scale(.9) translateY(14px); }
  to { opacity: 1; transform: none; }
}

.paw-float {
  position: absolute;
  width: 34px; height: 34px;
  color: var(--terra);
  opacity: .55;
  animation: floaty 6s ease-in-out infinite;
  will-change: transform;
}
.paw-float.p1 { top: 6%;  left: 14%;  animation-delay: 0s;   transform: rotate(-14deg); }
.paw-float.p2 { bottom: 8%; right: 16%; animation-delay: 1.6s; transform: rotate(24deg); }
.paw-float.p3 { top: 46%;  right: 2%;   animation-delay: 3s; width: 24px; transform: rotate(-32deg); }
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* ---------- Marquee de servicios ---------- */
.ticker {
  background: var(--petrol-deep);
  color: var(--cream);
  overflow: hidden;
  padding: .8rem 0;
  border-block: 3px solid var(--terra);
}
.ticker-track {
  display: flex;
  gap: 2.8rem;
  width: max-content;
  animation: ticker 30s linear infinite;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .92rem;
  white-space: nowrap;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 2.8rem; }
.ticker-track em { font-style: normal; color: var(--terra); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Cards de servicios ---------- */
/* auto-fit reparte el ancho sobrante: con 4 u 8 tarjetas da 4 columnas,
   con 3 las estira. Nunca quedan celdas vacias. */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 1.5rem;
}
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card {
  position: relative;
  background: var(--cream-soft);
  border: 1.5px solid rgba(90, 120, 131, .18);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: 0 6px 16px -12px rgba(55, 77, 87, .2);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--terra);
  box-shadow: 0 20px 34px -18px rgba(55, 77, 87, .32);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--petrol), var(--petrol-deep));
  color: var(--cream);
  margin-bottom: .4rem;
}
.card-icon.terra { background: linear-gradient(140deg, var(--terra), var(--terra-dark)); }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: var(--space-3xs); }
.card p { font-size: .97rem; color: #55676F; flex: 1; margin-bottom: var(--space-xs); }
.card-link {
  font-family: var(--font-display);
  font-weight: 500;
  text-decoration: none;
  color: var(--terra-dark);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.card-link:hover { text-decoration: underline; }

/* ---------- Franja domicilios ---------- */
.strip::after {
  content: '';
  position: absolute;
  width: 150px; height: 150px;
  right: -26px; bottom: -40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%23C68C6D' fill-opacity='.16'%3E%3Cellipse cx='32' cy='42' rx='14' ry='12'/%3E%3Cellipse cx='14' cy='26' rx='6.5' ry='8.5' transform='rotate(-22 14 26)'/%3E%3Cellipse cx='26' cy='15' rx='6' ry='8' transform='rotate(-8 26 15)'/%3E%3Cellipse cx='40' cy='15' rx='6' ry='8' transform='rotate(8 40 15)'/%3E%3Cellipse cx='51' cy='26' rx='6.5' ry='8.5' transform='rotate(22 51 26)'/%3E%3C/g%3E%3C/svg%3E") no-repeat center/contain;
  transform: rotate(18deg);
  pointer-events: none;
}
.strip {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--terra), var(--terra-dark));
  border-radius: calc(var(--radius) + 8px);
  color: #fff;
  padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.6rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  box-shadow: 0 18px 40px -18px rgba(169, 111, 81, .6);
}
.strip > div { display: grid; gap: .9rem; }
.strip h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.25; }
.strip p { opacity: .93; max-width: 34rem; line-height: 1.6; }

/* ---------- Bloques alternados (servicios detalle) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: 2.4rem;
}
.feature:nth-of-type(even) .feature-art { order: 2; }
.feature-art {
  background: var(--cream-soft);
  border: 1.5px solid rgba(90, 120, 131, .2);
  border-radius: calc(var(--radius) + 10px);
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.feature-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 15%, rgba(198,140,109,.18), transparent 55%),
              radial-gradient(circle at 85% 85%, rgba(90,120,131,.18), transparent 55%);
}
.feature-art svg { width: 42%; max-width: 180px; color: var(--petrol); position: relative; }
.feature h3 { font-size: 1.55rem; margin-bottom: var(--space-2xs); }
.feature ul { list-style: none; margin: 1rem 0 1.4rem; display: grid; gap: .7rem; }
.feature ul li {
  position: relative;
  padding-left: 1.75rem;
  color: #4E626B;
  line-height: 1.6;
  max-width: none;
}
.feature ul li strong { color: var(--petrol-deep); }
.feature ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .38em;
  width: 15px;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C68C6D'%3E%3Cellipse cx='12' cy='16.4' rx='5.4' ry='4.6'/%3E%3Cellipse cx='6.3' cy='9.6' rx='2.5' ry='3.2' transform='rotate(-20 6.3 9.6)'/%3E%3Cellipse cx='12' cy='6.9' rx='2.6' ry='3.4'/%3E%3Cellipse cx='17.7' cy='9.6' rx='2.5' ry='3.2' transform='rotate(20 17.7 9.6)'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- Petshop categorías ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.pill {
  font-size: .88rem;
  font-weight: 700;
  color: var(--petrol-deep);
  background: rgba(90, 120, 131, .12);
  border: 1px solid rgba(90, 120, 131, .25);
  padding: .28rem .9rem;
  border-radius: 999px;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; counter-reset: step; }
.step {
  background: var(--cream-soft);
  border-radius: var(--radius);
  border: 1.5px solid rgba(90, 120, 131, .18);
  padding: var(--space-md) 1.8rem;
  position: relative;
  counter-increment: step;
  box-shadow: 0 6px 16px -12px rgba(55, 77, 87, .2);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--terra);
  display: block;
  line-height: 1;
  margin-bottom: var(--space-sm);
}
.step h3 { margin-bottom: var(--space-3xs); }
.step p { font-size: .97rem; color: #55676F; }

/* ---------- Testimonios ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; }
.quote {
  background: var(--cream-soft);
  color: #4E626B;
  border: 1.5px solid rgba(90, 120, 131, .18);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  position: relative;
  box-shadow: 0 6px 16px -12px rgba(55, 77, 87, .2);
}
.quote::before {
  content: '“';
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 1;
  color: var(--terra);
  display: block;
  margin-bottom: -0.6rem;
}
.quote footer { margin-top: 1.1rem; font-weight: 800; color: var(--terra-dark); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: .9rem; }
.faq details {
  background: var(--cream-soft);
  border: 1.5px solid rgba(90, 120, 131, .2);
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
}
.faq summary {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--petrol-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--terra-dark);
  transition: transform .2s;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-top: .8rem; color: #55676F; }

/* ---------- Info / contacto ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }

/* Contacto: columna izquierda (datos + mapa) contra el formulario */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 2rem;
  align-items: stretch;
}
.contact-col { display: flex; flex-direction: column; gap: 2rem; min-width: 0; }
.contact-col .map-embed { flex: 1 1 auto; aspect-ratio: auto; min-height: 240px; }
.contact-grid .form-card { display: flex; flex-direction: column; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-col .map-embed { aspect-ratio: 16/9; min-height: 0; }
}
.info-card {
  background: var(--cream-soft);
  border: 1.5px solid rgba(90, 120, 131, .2);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.1rem;
}
.info-line { display: flex; gap: .9rem; align-items: flex-start; }
.info-line svg { width: 22px; height: 22px; flex: none; color: var(--terra-dark); margin-top: .2rem; }
.info-line strong { display: block; font-family: var(--font-display); font-weight: 500; color: var(--petrol-deep); margin-bottom: var(--space-3xs); }
.info-line a { color: var(--petrol-dark); font-weight: 700; }
/* CTA de la tarjeta: ocupa el ancho pero con el contenido centrado */
.info-card > .btn {
  justify-content: center;
  margin-top: var(--space-2xs);
}

/* Formulario (placeholder WPForms) */
.form-card {
  position: relative;
  background: var(--cream-soft);
  border: 1.5px solid rgba(90, 120, 131, .2);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.2vw, 2.4rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}
/* Filete de color en el borde superior */
.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--terra), var(--cta), var(--petrol));
}
.form-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .86rem;
  letter-spacing: .04em;
  color: var(--terra-dark);
  background: rgba(198, 140, 109, .15);
  border: 1px solid rgba(198, 140, 109, .34);
  border-radius: 999px;
  padding: .3rem .9rem;
  margin-bottom: 1rem;
}
.form-badge svg { width: 15px; height: 15px; }
.form-card h2 { font-size: 1.6rem; margin-bottom: .5rem; max-width: 18ch; }
.form-intro { color: #55676F; font-size: .98rem; margin-bottom: 1.5rem; max-width: 44ch; }
.form-legal {
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(90, 120, 131, .16);
  font-size: .78rem;
  color: #5C6E76;
  line-height: 1.45;
  max-width: none;
  text-align: center;
}
.form-legal a { color: var(--terra-dark); font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 800; font-size: .9rem; color: var(--petrol-deep); display: block; margin-bottom: .3rem; }
input, select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(90, 120, 131, .35);
  border-radius: 12px;
  padding: .75rem .9rem;
}
input:focus, select:focus, textarea:focus {
  outline: 2.5px solid var(--terra);
  outline-offset: 1px;
  border-color: transparent;
}
textarea { min-height: 120px; resize: vertical; }

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(150deg, var(--petrol), var(--petrol-deep));
  border-radius: calc(var(--radius) + 10px);
  color: var(--cream);
  text-align: center;
  padding: clamp(2.6rem, 6vw, 4.2rem) clamp(1.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
/* Huellas decorativas en vez de circulos */
.cta-final::before, .cta-final::after {
  content: '';
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%23C68C6D' fill-opacity='.16'%3E%3Cellipse cx='32' cy='42' rx='14' ry='12'/%3E%3Cellipse cx='14' cy='26' rx='6.5' ry='8.5' transform='rotate(-22 14 26)'/%3E%3Cellipse cx='26' cy='15' rx='6' ry='8' transform='rotate(-8 26 15)'/%3E%3Cellipse cx='40' cy='15' rx='6' ry='8' transform='rotate(8 40 15)'/%3E%3Cellipse cx='51' cy='26' rx='6.5' ry='8.5' transform='rotate(22 51 26)'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-final::before {
  width: 190px; height: 190px;
  top: -34px; left: -30px;
  transform: rotate(-24deg);
}
.cta-final::after {
  width: 240px; height: 240px;
  bottom: -58px; right: -40px;
  transform: rotate(16deg);
}
/* El titulo del CTA siempre centrado: anula el max-width global de h2 */
.cta-final h2 {
  color: var(--cream);
  margin: 0 auto 1.1rem;
  line-height: 1.25;
  max-width: 22ch;
  position: relative;
}
.cta-final p {
  max-width: 46ch;
  margin: 0 auto 2.2rem;
  opacity: .92;
  line-height: 1.65;
  position: relative;
}
.cta-final .hero-ctas { justify-content: center; position: relative; }

/* Cualquier bloque centrado del sitio ignora el max-width de titulo */
.center h1, .center h2, .center h3,
[style*="text-align:center"] h1,
[style*="text-align:center"] h2,
[style*="text-align:center"] h3 { margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--petrol-deep);
  color: rgba(246, 241, 228, .82);
  margin-top: var(--section-y);
  padding: var(--section-y-tight) 0 1.6rem;
  border-top: 4px solid var(--terra);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: 2.6rem;
  margin-bottom: 2.6rem;
}
.site-footer h3 {
  color: var(--cream);
  font-size: 1.02rem;
  margin-bottom: var(--space-xs);
  letter-spacing: .01em;
}
.site-footer ul { list-style: none; display: grid; gap: .7rem; }
.site-footer li { max-width: none; }
.site-footer a { color: rgba(246, 241, 228, .82); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--terra); }

/* Bloque de marca del footer */
.footer-brand { display: grid; gap: .9rem; }
.footer-logo { width: 94px; height: 94px; border-radius: 50%; }
.footer-brand .fb-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--cream);
  line-height: 1.1;
}
.footer-brand .fb-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-top: .35rem;
}
.footer-brand p { font-size: .93rem; max-width: 26rem; }

/* Enlaces con icono */
.site-footer ul li > svg { width: 18px; height: 18px; flex: none; color: var(--terra); margin-top: .22rem; }
.site-footer ul li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }

/* Redes sociales */
.social-row { display: flex; gap: .6rem; margin-top: 1.1rem; }
.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(246, 241, 228, .1);
  border: 1px solid rgba(246, 241, 228, .18);
  transition: background .18s ease, transform .18s ease, border-color .18s;
}
.social-row a:hover { background: var(--terra); border-color: var(--terra); transform: translateY(-3px); }
.social-row svg { width: 20px; height: 20px; color: var(--cream); }

/* Zonas de servicio, línea discreta sobre el copyright */
.footer-zonas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  font-size: .87rem;
  color: rgba(246, 241, 228, .6);
  padding-bottom: 1.2rem;
}
.footer-zonas span { color: rgba(246, 241, 228, .5); }
.footer-zonas a { color: rgba(246, 241, 228, .78); text-decoration: none; }
.footer-zonas a:hover { color: var(--terra); }
.footer-zonas em { font-style: normal; color: rgba(246, 241, 228, .35); }

.footer-bottom {
  border-top: 1px solid rgba(246, 241, 228, .18);
  padding-top: 1.5rem;
  font-size: .85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ---------- Breadcrumbs ---------- */
.breadcrumb {
  font-size: .88rem;
  color: #6D7F86;
  padding: 1.4rem 0 0;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.breadcrumb a { color: var(--petrol-dark); text-decoration: none; font-weight: 700; }
.breadcrumb a:hover { color: var(--terra-dark); text-decoration: underline; }
.breadcrumb li + li::before { content: '›'; margin-right: .45rem; color: var(--terra); }

/* ---------- Barra CTA móvil ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 65;
    background: var(--cream-soft);
    border-top: 1.5px solid rgba(90, 120, 131, .22);
    box-shadow: 0 -8px 22px -14px rgba(55, 77, 87, .5);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    display: grid;
    place-items: center;
    gap: .18rem;
    padding: .6rem .3rem .7rem;
    text-decoration: none;
    font-size: .72rem;
    font-weight: 800;
    color: var(--petrol-deep);
    border-right: 1px solid rgba(90, 120, 131, .16);
  }
  .mobile-bar a:last-child { border-right: none; }
  .mobile-bar a.primary { background: var(--cta); color: #fff; }
  .mobile-bar svg { width: 21px; height: 21px; }
  body { padding-bottom: 62px; }
  .wa-float { bottom: 76px; right: 14px; width: 52px; height: 52px; }
  .wa-float svg { width: 28px; height: 28px; }
}

/* ---------- Banner de cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 130%);
  z-index: 90;
  width: min(720px, calc(100% - 28px));
  background: var(--cream-soft);
  border: 1.5px solid rgba(90, 120, 131, .25);
  border-radius: 20px;
  box-shadow: 0 24px 50px -18px rgba(55, 77, 87, .45);
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.cookie-banner.show { transform: translate(-50%, 0); }
.cookie-copy { flex: 1 1 300px; }
.cookie-copy strong {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--petrol-deep);
  margin-bottom: .3rem;
}
.cookie-copy strong svg { width: 20px; height: 20px; color: var(--terra-dark); }
.cookie-copy p { font-size: .91rem; color: #55676F; line-height: 1.55; }
.cookie-copy a { color: var(--terra-dark); font-weight: 700; }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-actions .btn { padding: .7rem 1.3rem; font-size: .95rem; }
@media (max-width: 760px) {
  .cookie-banner { bottom: 70px; padding: 1.2rem; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* ---------- Páginas legales ---------- */
.legal { max-width: 780px; margin-inline: auto; }
.legal h2 { font-size: 1.4rem; margin: 2.4rem 0 .8rem; }
.legal h3 { font-size: 1.1rem; margin: 1.6rem 0 .5rem; }
.legal p, .legal li { color: #4E626B; }
.legal ul, .legal ol { margin: .8rem 0 .8rem 1.3rem; display: grid; gap: .45rem; }
.legal .updated {
  display: inline-block;
  font-size: .87rem;
  font-weight: 700;
  color: var(--terra-dark);
  background: rgba(198, 140, 109, .14);
  border-radius: 999px;
  padding: .3rem 1rem;
}
.legal-box {
  background: var(--cream-soft);
  border: 1.5px solid rgba(90, 120, 131, .2);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  margin-top: 1.4rem;
}

/* ---------- Páginas de servicio / locales ---------- */
.page-hero {
  background: linear-gradient(160deg, rgba(90,120,131,.14), rgba(198,140,109,.12));
  border-bottom: 1px solid rgba(90, 120, 131, .16);
  padding: 0 0 clamp(2.8rem, 6vw, 4rem);
}
/* Breadcrumb integrado dentro del hero */
.page-hero .breadcrumb {
  padding: 1.3rem 0 1.9rem;
  color: #5C6E76;
}
.page-hero .breadcrumb a { color: var(--petrol-dark); }
.page-hero .breadcrumb li + li::before { color: var(--terra-dark); }
.page-hero .lead { font-size: 1.15rem; color: #4E626B; margin: 1.3rem 0 2.2rem; max-width: 40rem; }
.page-hero .hero-ctas { flex-wrap: wrap; }

/* Lista de beneficios con check */
.checks { list-style: none; display: grid; gap: .95rem; margin: 1.4rem 0 2rem; }
.checks li {
  position: relative;
  padding-left: 2.4rem;
  color: #4E626B;
  max-width: none;
}
.checks li strong { color: var(--petrol-deep); }
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .1rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--terra) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cellipse cx='12' cy='16.4' rx='5.4' ry='4.6'/%3E%3Cellipse cx='6.3' cy='9.6' rx='2.5' ry='3.2' transform='rotate(-20 6.3 9.6)'/%3E%3Cellipse cx='12' cy='6.9' rx='2.6' ry='3.4'/%3E%3Cellipse cx='17.7' cy='9.6' rx='2.5' ry='3.2' transform='rotate(20 17.7 9.6)'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Tabla de precios / info */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--cream-soft);
  border: 1.5px solid rgba(90, 120, 131, .2);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1.4rem;
}
.info-table th, .info-table td { padding: .95rem 1.2rem; text-align: left; font-size: .97rem; }
.info-table th { background: rgba(90, 120, 131, .12); font-family: var(--font-display); font-weight: 500; color: var(--petrol-deep); }
.info-table tr + tr td { border-top: 1px solid rgba(90, 120, 131, .14); }
.info-table td:last-child { color: var(--terra-dark); font-weight: 700; }

/* Grid de enlaces relacionados */
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.link-card {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: var(--cream-soft);
  border: 1.5px solid rgba(90, 120, 131, .18);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}
.link-card:hover { transform: translateY(-4px); border-color: var(--terra); }
.link-card .mega-ic { width: 40px; height: 40px; }
.link-card strong {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--petrol-deep);
  display: block;
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: var(--space-3xs);
}
.link-card small { font-size: .85rem; color: #5C6E76; line-height: 1.45; display: block; }

/* Bloque de contenido largo */
.prose { max-width: 760px; }
.prose h2 { margin: 2.4rem 0 .9rem; }
.prose h3 { margin: 1.8rem 0 .5rem; }
.prose p { margin-bottom: 1rem; color: #4E626B; }
.prose ul { margin: 0 0 1.2rem 1.3rem; display: grid; gap: .5rem; color: #4E626B; }

/* ============================================================
   WPForms — que herede el diseño del tema
   ============================================================ */

/* WPForms mete campos anti-spam sin etiqueta: no deben ocupar celda del grid */

/* El desplegable y el ultimo campo suelto ocupan la fila completa */

/* Etiquetas */

/* Campos */

/* Checkbox de autorización */

/* Botón enviar */
/* Mismo boton pildora que el resto del sitio */

/* Errores y confirmación */

/* ============================================================
   Barra superior: estado abierto/cerrado
   ============================================================ */
.topbar {
  background: var(--petrol-deep);
  color: rgba(246, 241, 228, .9);
  font-size: .86rem;
}
.topbar-in {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: .5rem 0;
  flex-wrap: wrap;
}
.topbar a { color: rgba(246, 241, 228, .9); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--terra); }
.topbar svg { width: 15px; height: 15px; }
.topbar-estado { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; }
.topbar-estado .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #9BE29B;
  box-shadow: 0 0 0 3px rgba(155, 226, 155, .25);
}
.topbar-estado.cerrado .dot { background: #E2A79B; box-shadow: 0 0 0 3px rgba(226, 167, 155, .25); }
.topbar-sep { opacity: .35; }
.topbar-maps { margin-left: auto; }
@media (max-width: 760px) {
  .topbar-in { gap: .8rem; font-size: .8rem; justify-content: center; }
  .topbar-sep, .topbar-maps { display: none; }
}

/* ============================================================
   Sellos de confianza
   ============================================================ */
.sellos-wrap {
  background: var(--cream-soft);
  border-bottom: 1px solid rgba(90, 120, 131, .14);
  padding: clamp(2.2rem, 5vw, 3.2rem) 0;
}
.sellos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.sello {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0 1.6rem;
  border-right: 1px solid rgba(90, 120, 131, .16);
}
.sello:first-child { padding-left: 0; }
.sello:last-child { border-right: none; padding-right: 0; }
.sello-ic {
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(198, 140, 109, .16);
  border: 1px solid rgba(198, 140, 109, .3);
  color: var(--terra-dark);
}
.sello-ic svg { width: 21px; height: 21px; }
.sello strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--petrol-deep);
  line-height: 1.25;
  margin-bottom: var(--space-3xs);
}
.sello small { font-size: .88rem; color: #5C6E76; line-height: 1.5; display: block; }

@media (max-width: 1000px) {
  .sellos { grid-template-columns: 1fr 1fr; gap: 1.8rem 0; }
  .sello:nth-child(2n) { border-right: none; padding-right: 0; }
  .sello:nth-child(2n+1) { padding-left: 0; }
}
@media (max-width: 620px) {
  .sellos { grid-template-columns: 1fr; gap: 1.4rem; }
  .sello { border-right: none; padding: 0; }
}

/* ============================================================
   Marcas
   ============================================================ */
.marcas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
  max-width: 880px;
  margin-inline: auto;
}
.marca {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--petrol-deep);
  background: var(--cream-soft);
  border: 1.5px solid rgba(90, 120, 131, .2);
  border-radius: 14px;
  padding: .7rem 1.4rem;
  transition: transform .18s ease, border-color .18s ease;
}
.marca:hover { transform: translateY(-3px); border-color: var(--terra); }

/* ============================================================
   Blog
   ============================================================ */
.post-head .kicker { text-decoration: none; transition: background .15s; }
.post-head .kicker:hover { background: rgba(198, 140, 109, .26); }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
  margin-top: 1.2rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--petrol-dark);
}
.post-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.post-meta svg { width: 16px; height: 16px; color: var(--terra-dark); }

.post-thumb {
  margin-top: -2.5rem;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: 0 20px 40px -22px rgba(55, 77, 87, .4);
  border: 1.5px solid rgba(90, 120, 131, .18);
}
.post-thumb img { width: 100%; height: auto; display: block; }

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3rem;
  align-items: start;
}
.post-content { max-width: none; }
.post-content h2 { font-size: 1.65rem; margin: 2.6rem 0 .9rem; }
.post-content h3 { font-size: 1.25rem; margin: 2rem 0 .5rem; }
.post-content p { margin-bottom: 1.1rem; color: #4E626B; line-height: 1.75; }
.post-content ul, .post-content ol { margin: 0 0 1.3rem 1.4rem; display: grid; gap: .55rem; color: #4E626B; }
.post-content li { line-height: 1.65; }
.post-content strong { color: var(--petrol-deep); }
.post-content a { color: var(--terra-dark); font-weight: 700; }
.post-content img { border-radius: var(--radius); margin: 1.6rem 0; }
.post-content blockquote {
  border-left: 4px solid var(--terra);
  background: var(--cream-soft);
  border-radius: 0 16px 16px 0;
  padding: 1.2rem 1.5rem;
  margin: 1.8rem 0;
  color: var(--petrol-deep);
  font-weight: 700;
}
.post-content blockquote p:last-child { margin-bottom: 0; }
.post-content table {
  width: 100%;
  border-collapse: collapse;
  background: var(--cream-soft);
  border: 1.5px solid rgba(90, 120, 131, .2);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.4rem 0;
}
.post-content th, .post-content td { padding: .9rem 1.1rem; text-align: left; font-size: .96rem; }
.post-content th { background: rgba(90, 120, 131, .12); font-family: var(--font-display); font-weight: 500; color: var(--petrol-deep); }
.post-content tr + tr td { border-top: 1px solid rgba(90, 120, 131, .14); }

/* Aside */
.post-aside { position: sticky; top: 100px; display: grid; gap: 1.2rem; }
.aside-card {
  background: var(--cream-soft);
  border: 1.5px solid rgba(90, 120, 131, .18);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 6px 16px -12px rgba(55, 77, 87, .2);
}
.aside-card h3 { font-size: 1.12rem; margin-bottom: .7rem; }
.aside-card p { font-size: .93rem; color: #55676F; margin-bottom: 1.1rem; }
.aside-datos { display: grid; gap: .55rem; margin-top: 1.1rem; font-size: .85rem; color: #5C6E76; }
.aside-datos span { display: flex; gap: .5rem; align-items: flex-start; }
.aside-datos svg { width: 15px; height: 15px; flex: none; color: var(--terra-dark); margin-top: .18rem; }
.aside-links { list-style: none; display: grid; gap: .2rem; }
.aside-links a {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem .7rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--petrol-dark);
  font-weight: 700;
  font-size: .93rem;
  transition: background .15s;
}
.aside-links a:hover { background: rgba(198, 140, 109, .13); color: var(--terra-dark); }
.aside-links svg { width: 18px; height: 18px; color: var(--terra-dark); flex: none; }

/* Grid de articulos */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.6rem;
}
.post-card {
  background: var(--cream-soft);
  border: 1.5px solid rgba(90, 120, 131, .18);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 16px -12px rgba(55, 77, 87, .2);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--terra);
  box-shadow: 0 20px 34px -18px rgba(55, 77, 87, .32);
}
.post-card-link { display: block; text-decoration: none; color: inherit; }
.post-card-media {
  aspect-ratio: 16/9;
  background: linear-gradient(140deg, rgba(90,120,131,.18), rgba(198,140,109,.18));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-ph svg { width: 54px; height: 54px; color: rgba(90, 120, 131, .4); }
.post-card-body { padding: 1.4rem 1.5rem 1.6rem; }
.post-card-cat {
  display: inline-block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terra-dark);
  margin-bottom: .6rem;
}
.post-card h3 { font-size: 1.18rem; line-height: 1.3; margin-bottom: .55rem; }
.post-card p { font-size: .93rem; color: #5C6E76; line-height: 1.6; margin-bottom: .9rem; }
.post-card-meta { font-size: .82rem; color: #8A989E; font-weight: 700; }

/* Paginacion */
.aura-pagination, .navigation.pagination { margin-top: 3rem; }
.aura-pagination .nav-links, .navigation.pagination .nav-links {
  display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap;
}
.aura-pagination .page-numbers, .navigation.pagination .page-numbers {
  display: grid; place-items: center;
  min-width: 42px; height: 42px;
  padding: 0 .8rem;
  border-radius: 999px;
  background: var(--cream-soft);
  border: 1.5px solid rgba(90, 120, 131, .2);
  color: var(--petrol-dark);
  text-decoration: none;
  font-weight: 700;
}
.aura-pagination .page-numbers.current, .navigation.pagination .page-numbers.current {
  background: var(--cta); color: #fff; border-color: var(--cta);
}
.aura-pagination .page-numbers:hover, .navigation.pagination .page-numbers:hover {
  border-color: var(--terra); color: var(--terra-dark);
}

@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; gap: 2.2rem; }
  .post-aside { position: static; }
  .post-thumb { margin-top: 0; }
}

/* ---------- Mapa ---------- */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid rgba(90, 120, 131, .2);
  box-shadow: var(--shadow);
  aspect-ratio: 16/7;
  background: var(--cream-soft);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--cta);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px -8px rgba(166, 85, 48, .6);
  transition: transform .18s ease, background .18s ease;
}
.wa-float:hover { transform: scale(1.08); background: var(--cta-dark); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }
.wa-float::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(166, 85, 48, .45);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  from { transform: scale(.85); opacity: 1; }
  to { transform: scale(1.25); opacity: 0; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .info-grid, .feature { grid-template-columns: 1fr; }
  .feature:nth-of-type(even) .feature-art { order: 0; }
  .feature-art { max-width: 440px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream-soft);
    border-bottom: 1px solid rgba(90, 120, 131, .2);
    padding: .6rem 4%;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: .8rem 0; border-bottom: none; }
  .nav-toggle { display: block; }
  /* Megamenú en móvil: lista plana bajo "Servicios" */
  .mega {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 .4rem .5rem;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .mega::before { display: none; }
  .nav-links .mega a { padding: .55rem .5rem; }
  .mega-ic { width: 36px; height: 36px; }
  .mega small { display: none; }
  .has-mega .chev { display: none; }
  .nav-cta .btn span { display: none; }
  .nav-cta .btn { padding: .7rem .8rem; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .strip { text-align: left; }
}

/* Respeta la preferencia de sistema de reducir animaciones */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}


/* Un boton estirado por su contenedor no debe dejar el texto a la izquierda */
.btn { justify-content: center; }
