/* ═══════════════════════════════════════════
   STYLE.CSS — limpiezapostincendio.es
   CSS externo único para todas las páginas
   Industrial-Clínico / Precisión Técnica
═══════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --steel:     #1B3A5C;
  --steel-mid: #2A5280;
  --steel-lt:  #4A7EAD;
  --amber:     #E8820C;
  --amber-dk:  #C46A00;
  --cream:     #F5F2EE;
  --white:     #FDFCFB;
  --slate:     #2C3440;
  --slate-mid: #4A5568;
  --slate-lt:  #718096;
  --ash:       #E8E4DF;
  --ash-dk:    #D4CFC9;
  --green-ok:  #1A7F5A;
  --red-alert: #C0392B;
  --shadow-sm: 0 2px 8px rgba(27,58,92,.08);
  --shadow-md: 0 8px 32px rgba(27,58,92,.12);
  --shadow-lg: 0 20px 60px rgba(27,58,92,.16);
  --radius:    4px;
  --radius-md: 8px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Instrument Sans', sans-serif;
  background: var(--cream);
  color: var(--slate);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: 'Syne', sans-serif; line-height: 1.15; color: var(--slate); }

/* ══════════════════════════════════════════
   TOPBAR — barra urgente naranja
   FIX: siempre 1 línea, sin salto
══════════════════════════════════════════ */
.topbar {
  background: var(--amber);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-family: 'Syne', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  overflow: hidden;
}
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pulse {
  display: inline-block;
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.4); }
}

/* ══════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════ */
header {
  background: var(--white);
  border-bottom: 1px solid var(--ash);
  position: sticky;
  top: 41px;
  z-index: 999;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--steel);
  flex-shrink: 0;
}
.logo em { font-style: normal; color: var(--amber); }
.logo-nav-img { width: 40px; height: 36px; object-fit: contain; flex-shrink: 0; }
.logo-nav-text { white-space: nowrap; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .88rem;
  font-weight: 500;
}
.nav-links a { color: var(--slate-mid); transition: color .2s; }
.nav-links a:hover { color: var(--steel); }
.nav-cta {
  background: var(--amber) !important;
  color: #fff !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .05em;
  transition: background .2s;
}
.nav-cta:hover { background: var(--amber-dk) !important; }

/* ══════════════════════════════════════════
   MENÚ HAMBURGUESA — MOBILE
══════════════════════════════════════════ */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--slate);
  border-radius: 2px;
  transition: all .25s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--steel);
  z-index: 9998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  transition: opacity .3s;
}
.mobile-menu.open { display: flex; opacity: 1; }
.mobile-menu a {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
}
.mobile-menu a:hover { color: var(--amber); }
.mobile-menu .m-cta {
  background: var(--amber);
  padding: 14px 36px;
  border-radius: var(--radius);
  font-size: 1.1rem;
}
.mobile-menu .m-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Syne', sans-serif;
  line-height: 1;
}

/* ══════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════ */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--ash);
  padding: 11px 24px;
  font-size: .78rem;
  color: var(--slate-lt);
}
.bc-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.bc-inner a { color: var(--steel-lt); transition: color .2s; }
.bc-inner a:hover { color: var(--steel); }
.bc-inner span { color: var(--ash-dk); }

/* ══════════════════════════════════════════
   SECCIONES GENÉRICAS
══════════════════════════════════════════ */
section { padding: 64px 24px; }
.si { max-width: 1200px; margin: 0 auto; }
.stag {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.sh2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem,3vw,2.2rem);
  font-weight: 800;
  color: var(--slate);
  margin-bottom: 14px;
  letter-spacing: -.02em;
}
.ssub {
  font-size: .97rem;
  color: var(--slate-mid);
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 36px;
}
.bg-w { background: var(--white); }
.bg-s { background: var(--cream); }

/* ══════════════════════════════════════════
   HERO (HOMEPAGE)
══════════════════════════════════════════ */
.hero {
  background: var(--steel);
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 80% 50%, rgba(42,82,128,.5) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem,4.5vw,3.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-desc {
  color: rgba(253,252,251,.8);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,130,12,.15);
  color: var(--amber);
  font-family: 'Syne', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero-badge span { color: var(--green-ok); font-size: .6rem; }

/* ══════════════════════════════════════════
   PAGE HERO (LANDINGS CIUDAD)
══════════════════════════════════════════ */
.page-hero {
  background: var(--steel);
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 80% 50%, rgba(42,82,128,.5) 0%, transparent 70%);
  pointer-events: none;
}
.ph-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem,4vw,2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.page-hero h1 em { font-style: normal; color: var(--amber); }
.page-hero .lead {
  color: rgba(253,252,251,.8);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.08);
  color: rgba(253,252,251,.75);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.08);
}

/* ══════════════════════════════════════════
   FORMULARIO
══════════════════════════════════════════ */
.form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.form-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--steel);
  margin-bottom: 4px;
}
.form-card .fsub {
  font-size: .82rem;
  color: var(--slate-lt);
  margin-bottom: 18px;
}
.fg { margin-bottom: 12px; }
.fg label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--slate-mid);
  margin-bottom: 5px;
}
.fg input, .fg textarea, .fg select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--ash);
  border-radius: var(--radius);
  font-size: .92rem;
  font-family: 'Instrument Sans', sans-serif;
  color: var(--slate);
  background: var(--cream);
  transition: border-color .2s;
}
.fg input:focus, .fg textarea:focus, .fg select:focus {
  outline: none;
  border-color: var(--steel-lt);
}
.form-submit {
  width: 100%;
  padding: 13px;
  background: var(--amber);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background .2s;
  margin-top: 4px;
}
.form-submit:hover { background: var(--amber-dk); }
.fsuccess {
  display: none;
  text-align: center;
  padding: 28px 20px;
}
.fsuccess h4 { color: var(--green-ok); font-size: 1.1rem; margin-bottom: 8px; }
.fsuccess p { color: var(--slate-mid); font-size: .92rem; }

/* ══════════════════════════════════════════
   CARDS SERVICIO
══════════════════════════════════════════ */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.servicio-card {
  background: var(--white);
  border: 1px solid var(--ash);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: box-shadow .25s, transform .25s;
}
.servicio-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.servicio-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.servicio-card p { font-size: .9rem; color: var(--slate-mid); line-height: 1.6; }

/* ══════════════════════════════════════════
   GRID LAYOUTS
══════════════════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ══════════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════════ */
.faq-item {
  border: 1px solid var(--ash);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  background: var(--white);
  overflow: hidden;
}
.faq-q {
  padding: 16px 20px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.faq-q::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform .25s;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: 0 20px 18px;
  font-size: .9rem;
  color: var(--slate-mid);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   PROVINCIAS GRID
══════════════════════════════════════════ */
.provincias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}
.provincia-card {
  background: var(--white);
  border: 1px solid var(--ash);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
  font-size: .88rem;
  font-weight: 600;
  color: var(--steel);
  transition: border-color .2s, box-shadow .2s;
}
.provincia-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-sm);
}

/* ══════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════ */
.cta-band {
  background: var(--steel);
  padding: 56px 24px;
  text-align: center;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.4rem,3vw,2rem);
  margin-bottom: 12px;
}
.cta-band p { color: rgba(253,252,251,.7); margin-bottom: 24px; }
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--amber);
  color: #fff;
  border-radius: var(--radius);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  transition: background .2s;
}
.btn-a:hover { background: var(--amber-dk); }
.btn-s {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  transition: border-color .2s;
}
.btn-s:hover { border-color: rgba(255,255,255,.5); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--slate);
  color: rgba(253,252,251,.7);
  padding: 56px 24px 0;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}
.footer h4 {
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: .05em;
}
.footer a { color: rgba(253,252,251,.6); font-size: .85rem; transition: color .2s; }
.footer a:hover { color: var(--amber); }
.footer p { font-size: .85rem; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(253,252,251,.5); }

/* ══════════════════════════════════════════
   BOTONES FLOTANTES (ESCRITORIO)
══════════════════════════════════════════ */
.float-btns {
  position: fixed;
  bottom: 28px; right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 990;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  color: #fff;
}
.float-btn:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.float-call { background: var(--amber); }
.float-wa   { background: #25D366; }

/* ══════════════════════════════════════════
   BARRA MÓVIL CTA (INFERIOR)
══════════════════════════════════════════ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 56px;
  grid-template-columns: 1fr 1fr;
  z-index: 990;
}
.mobile-cta-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
}
.mcta-call { background: var(--amber); }
.mcta-wa   { background: #25D366; }

/* ══════════════════════════════════════════
   COOKIE BANNER
══════════════════════════════════════════ */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 58px; left: 0; right: 0;
  z-index: 980;
  background: var(--slate);
  color: rgba(253,252,251,.85);
  padding: 14px 24px;
  font-size: .82rem;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.cookie-banner a { color: var(--amber); }
.cookie-ok {
  background: var(--amber);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  cursor: pointer;
  letter-spacing: .05em;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   ESTADÍSTICAS / TRUST BAND
══════════════════════════════════════════ */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 28px;
  padding: 40px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--steel);
}
.stat-label { font-size: .82rem; color: var(--slate-lt); margin-top: 4px; }

/* ══════════════════════════════════════════
   E-E-A-T GRID
══════════════════════════════════════════ */
.eeat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.eeat-card {
  background: var(--white);
  border: 1px solid var(--ash);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}
.eeat-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--steel);
}
.eeat-card p { font-size: .88rem; color: var(--slate-mid); line-height: 1.6; }

/* ══════════════════════════════════════════
   TESTIMONIOS
══════════════════════════════════════════ */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.testimonio-card {
  background: var(--white);
  border: 1px solid var(--ash);
  border-radius: var(--radius-md);
  padding: 24px;
}
.testimonio-card blockquote {
  font-size: .92rem;
  color: var(--slate-mid);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 12px;
}
.testimonio-card cite {
  font-size: .82rem;
  font-style: normal;
  color: var(--slate-lt);
  font-weight: 600;
}

/* ══════════════════════════════════════════
   PROCESO / PASOS
══════════════════════════════════════════ */
.proceso-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: paso;
}
.paso-card {
  background: var(--white);
  border: 1px solid var(--ash);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  counter-increment: paso;
  position: relative;
}
.paso-card::before {
  content: counter(paso);
  position: absolute;
  top: -12px; left: 20px;
  width: 28px; height: 28px;
  background: var(--amber);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: .82rem;
  font-weight: 700;
}
.paso-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 6px;
}
.paso-card p { font-size: .88rem; color: var(--slate-mid); line-height: 1.6; }

/* ══════════════════════════════════════════
   ALERTA 72H
══════════════════════════════════════════ */
.alerta-section {
  background: linear-gradient(135deg, #8B3A0F 0%, #6B2808 100%);
  padding: 48px 24px;
}
.alerta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.alerta-section h2 { color: #fff; font-size: clamp(1.4rem,3vw,2rem); margin-bottom: 14px; }
.alerta-section p { color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.7; }
.alerta-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.alerta-stat {
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  flex: 1;
  min-width: 120px;
}
.alerta-stat .num {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}
.alerta-stat .label { font-size: .78rem; color: rgba(255,255,255,.7); margin-top: 4px; }

/* ══════════════════════════════════════════
   CONTENT SECTIONS (LANDING CONSOLIDADA)
══════════════════════════════════════════ */
.content-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.3rem,2.5vw,1.8rem);
  font-weight: 800;
  color: var(--slate);
  margin-bottom: 16px;
}
.content-section h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--steel);
  margin-bottom: 10px;
  margin-top: 24px;
}
.content-section p {
  font-size: .95rem;
  color: var(--slate-mid);
  line-height: 1.75;
  margin-bottom: 14px;
}
.content-section ul {
  margin-bottom: 14px;
  padding-left: 20px;
}
.content-section ul li {
  font-size: .93rem;
  color: var(--slate-mid);
  line-height: 1.65;
  margin-bottom: 6px;
  list-style: disc;
}

/* ══════════════════════════════════════════
   TABLA COMPARATIVA PARA IA
══════════════════════════════════════════ */
.tabla-servicios {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: .88rem;
}
.tabla-servicios th {
  background: var(--steel);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
}
.tabla-servicios td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--ash);
  color: var(--slate-mid);
}
.tabla-servicios tr:nth-child(even) { background: var(--cream); }
.tabla-servicios tr:hover { background: var(--ash); }

/* ══════════════════════════════════════════
   BLOG
══════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--ash);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .25s;
}
.blog-card:hover { box-shadow: var(--shadow-md); }
.blog-card-body { padding: 20px; }
.blog-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.blog-card p { font-size: .88rem; color: var(--slate-mid); line-height: 1.6; }

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-inner .form-card { order: -1; }
  .ph-inner { grid-template-columns: 1fr; gap: 28px; }
  .two-col { grid-template-columns: 1fr !important; gap: 28px !important; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .four-col { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .alerta-inner { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MÓVIL
   FIX: topbar siempre 1 línea
   FIX: menú hamburguesa visible y funcional
   FIX: barra inferior sin desplazamiento horizontal
   FIX: padding-bottom para la barra
══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* TOPBAR: compacto, 1 sola línea */
  .topbar {
    font-size: .68rem;
    padding: 8px 12px;
    gap: 6px;
    letter-spacing: .03em;
  }
  .topbar-text { display: none; }
  
  /* Header pegado justo debajo */
  header { top: 33px; }

  /* Menú: ocultar links, mostrar hamburguesa */
  .nav-links { display: none !important; }
  .menu-toggle { display: flex; }

  /* Hero */
  .hero { padding: 48px 16px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-inner { gap: 28px; }
  .page-hero { padding: 36px 16px; }
  .page-hero h1 { font-size: 1.6rem; }

  /* Secciones */
  section { padding: 44px 16px; }

  /* Grids */
  .servicios-grid { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr !important; }
  .four-col { grid-template-columns: 1fr 1fr; }
  .proceso-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .provincias-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 24px 16px; }

  /* CTA band */
  .cta-btns { flex-direction: column; align-items: center; }
  .btn-a, .btn-s { width: 100%; max-width: 340px; justify-content: center; }

  /* Flotantes: ocultar en móvil, mostrar barra */
  .float-btns { display: none; }
  .mobile-cta-bar { display: grid; }
  body { padding-bottom: 58px; }

  /* Cookie banner encima de barra */
  .cookie-banner { bottom: 58px; }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
  .topbar { font-size: .62rem; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .provincias-grid { grid-template-columns: 1fr 1fr; }
  .proceso-grid { grid-template-columns: 1fr; }
  .four-col { grid-template-columns: 1fr; }
  .alerta-stats { flex-direction: column; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 1.5rem; }
}

/* ══════════════════════════════════════════
   TABLA RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 600px) {
  .tabla-servicios { font-size: .8rem; }
  .tabla-servicios th, .tabla-servicios td { padding: 8px 10px; }
}

/* ══════════════════════════════════════════
   ANIMACIÓN SCROLL REVEAL
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   COMPAT: clases del blog original
══════════════════════════════════════════ */
.article-wrap { max-width: 800px; margin: 0 auto; padding: 40px 24px; }
.bg-cream { background: var(--cream); }
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--amber); color: #fff; border-radius: var(--radius); font-family: 'Syne',sans-serif; font-weight: 700; font-size: .88rem; transition: background .2s; text-decoration: none; }
.btn-primary:hover { background: var(--amber-dk); }
.btn-steel { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--steel); color: #fff; border-radius: var(--radius); font-family: 'Syne',sans-serif; font-weight: 700; font-size: .88rem; text-decoration: none; }
.card { background: var(--white); border: 1px solid var(--ash); border-radius: var(--radius-md); padding: 24px; }
.check-list { padding-left: 0; }
.check-list li { list-style: none; padding-left: 24px; position: relative; margin-bottom: 8px; font-size: .93rem; color: var(--slate-mid); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green-ok); font-weight: 700; }
.footer-brand { font-family: 'Syne',sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--white); margin-bottom: 12px; }
.footer-brand em { font-style: normal; color: var(--amber); }
.footer-col h4 { color: var(--white); font-size: .85rem; font-weight: 700; margin-bottom: 14px; }
.footer-col a { color: rgba(253,252,251,.6); font-size: .85rem; display: block; margin-bottom: 6px; transition: color .2s; }
.footer-col a:hover { color: var(--amber); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
.logo-icon-img { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { width: 40px; height: 36px; object-fit: contain; }
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title { font-family: 'Syne',sans-serif; font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 800; margin-bottom: 14px; }
.section-sub { font-size: .97rem; color: var(--slate-mid); max-width: 620px; line-height: 1.75; margin-bottom: 36px; }
.hero-img-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 100% at 80% 50%,rgba(42,82,128,.5) 0%,transparent 70%); pointer-events: none; }
.hero-form-card { background: var(--white); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-md); }
.hero-bullets { list-style: none; padding: 0; margin: 16px 0; }
.hero-bullets li { font-size: .92rem; color: rgba(253,252,251,.85); margin-bottom: 8px; padding-left: 20px; position: relative; }
.hero-bullets li::before { content: '✓'; position: absolute; left: 0; color: var(--amber); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: .78rem; font-weight: 600; color: var(--slate-mid); margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--ash); border-radius: var(--radius); font-size: .92rem; background: var(--cream); color: var(--slate); }
.form-note { font-size: .75rem; color: var(--slate-lt); margin-top: 8px; }
.form-success { display: none; text-align: center; padding: 28px; }
.galeria-bg { background: var(--slate); padding: 64px 24px; }
.collage { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; max-width: 1200px; margin: 0 auto; }
@media (max-width: 768px) { .collage { grid-template-columns: 1fr 1fr; } }
.col-item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.col-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.col-item:hover img { transform: scale(1.05); }
.col-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 16px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; font-size: .82rem; }
.provincias-bg { background: var(--cream); padding: 64px 24px; }
.provincia-card-body { display: flex; justify-content: space-between; align-items: center; }
.arr { color: var(--amber); font-weight: 700; }
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lb-close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none; }
.lb-nav { position: absolute; top: 50%; color: #fff; font-size: 2rem; cursor: pointer; background: rgba(255,255,255,.1); border: none; padding: 12px 16px; border-radius: var(--radius); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-caption { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: .88rem; text-align: center; }
.alerta-72 { background: linear-gradient(135deg, #8B3A0F 0%, #6B2808 100%); padding: 48px 24px; }
.cta-final { background: var(--steel); padding: 56px 24px; text-align: center; }
.eeat-grid-home { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 1024px) { .eeat-grid-home { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .eeat-grid-home { grid-template-columns: 1fr; } }
.stats-band .stat-item, .eeat-grid-home .card { text-align: center; }
.autor-avatar { width: 48px; height: 48px; border-radius: 50%; }
.autor-info { font-size: .82rem; color: var(--slate-lt); }
.icon { font-size: 1.4rem; margin-bottom: 8px; }
.lbl { font-size: .78rem; color: var(--slate-lt); margin-top: 4px; }
