/* =====================================================
   Cerrajero A Coruña 24 Horas — styles.css
   Paleta: #1a3a5c | #f5a623 | #ffffff | #f4f4f4 | #333333
   ===================================================== */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #333333;
  background: #ffffff;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

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

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* TIPOGRAFÍA */
h1 { font-size: 2.8rem; font-weight: 700; color: #1a3a5c; line-height: 1.15; }
h2 { font-size: 2rem; font-weight: 700; color: #1a3a5c; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; font-weight: 600; color: #1a3a5c; margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; font-weight: 700; color: #ffffff; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }
address { font-style: normal; }

/* BOTONES */
.btn-primary {
  display: inline-block;
  background: #f5a623;
  color: #1a3a5c;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: #e0941a; text-decoration: none; transform: translateY(-1px); }

.btn-large { font-size: 1.15rem; padding: 1rem 2.2rem; }

.btn-whatsapp {
  display: inline-block;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s;
}
.btn-whatsapp:hover { background: #1da851; text-decoration: none; }

.btn-card {
  display: inline-block;
  background: #f5a623;
  color: #1a3a5c;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  margin-top: 0.75rem;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-card:hover { background: #e0941a; text-decoration: none; }

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1a3a5c;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  gap: 1rem;
}

.logo {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.logo:hover { text-decoration: none; color: #f5a623; }

.nav-list {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.nav-list a {
  color: #ffffff;
  font-size: 0.9rem;
  padding: 0.4rem 0.65rem;
  border-radius: 3px;
  transition: background 0.15s;
}
.nav-list a:hover { background: rgba(255,255,255,0.12); text-decoration: none; }
.nav-list a[aria-current="page"] { background: rgba(245,166,35,0.2); color: #f5a623; }

.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a3a5c;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  min-width: 160px;
  z-index: 200;
  padding: 0.4rem 0;
}
.dropdown-menu a { display: block; padding: 0.5rem 1rem; }
.dropdown:hover .dropdown-menu { display: block; }

.header-phone {
  color: #f5a623;
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid #f5a623;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.header-phone:hover { background: #f5a623; color: #1a3a5c; text-decoration: none; }

/* HERO */
.hero {
  background: linear-gradient(135deg, #1a3a5c 0%, #0d2540 100%);
  color: #ffffff;
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.hero-inner { position: relative; }

.badge-urgencia {
  display: inline-block;
  background: #f5a623;
  color: #1a3a5c;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.25rem 0.9rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.hero h1 { color: #ffffff; margin-bottom: 1rem; font-size: 3rem; }

.hero-sub {
  font-size: 1.2rem;
  max-width: 680px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 2rem; font-weight: 700; color: #f5a623; }
.stat span { font-size: 0.9rem; color: rgba(255,255,255,0.8); }

/* BREADCRUMB */
.breadcrumb {
  background: #f4f4f4;
  padding: 0.7rem 0;
  font-size: 0.9rem;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.3rem; list-style: none; }
.breadcrumb li + li::before { content: "›"; margin-right: 0.3rem; color: #888; }
.breadcrumb a { color: #1a3a5c; }
.breadcrumb [aria-current="page"] { color: #555; }

/* SECCIONES */
.section-white { padding: 4rem 0; background: #ffffff; }
.section-alt { padding: 4rem 0; background: #f4f4f4; }
.section-intro { font-size: 1.1rem; max-width: 750px; margin: 0 0 2rem; color: #555; }

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-top: 4px solid #f5a623;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.card p { flex: 1; }

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.feature { text-align: center; padding: 1.5rem; }
.feature-icon { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; margin: 0 auto 0.75rem; }
.feature h3 { margin-bottom: 0.5rem; }

/* PRECIOS */
.prices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.price-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
}
.price-card--highlight { border-color: #f5a623; border-width: 2px; }
.price { font-size: 1.8rem; font-weight: 700; color: #f5a623; margin: 0.5rem 0; }
.price-note { font-size: 0.95rem; color: #555; margin-top: 1.5rem; }
.price-note a { color: #1a3a5c; font-weight: 700; }

/* BARRIOS */
.barrios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
  max-width: 500px;
}
.barrios-grid ul { padding-left: 1.2rem; list-style: disc; }
.barrios-grid li { margin-bottom: 0.4rem; }

/* FAQ */
.faq-section { }
.faq-accordion { max-width: 800px; margin: 2rem auto 0; }
.faq-item { border-bottom: 1px solid #ddd; }
.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1a3a5c;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
}
.faq-btn::after { content: "+"; font-size: 1.5rem; color: #f5a623; flex-shrink: 0; }
.faq-btn[aria-expanded="true"]::after { content: "−"; }
.faq-btn:hover { color: #f5a623; }
.faq-answer { padding: 0 1rem 1.2rem; color: #444; }
.faq-answer p:last-child { margin-bottom: 0; }

/* CTA FINAL */
.cta-final {
  background: linear-gradient(135deg, #1a3a5c, #0d2540);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}
.cta-final h2 { color: #fff; margin-bottom: 1rem; }
.cta-final p { font-size: 1.1rem; margin-bottom: 2rem; color: rgba(255,255,255,0.9); }

/* TABLA PRECIOS */
.price-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.price-table th, .price-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid #e0e0e0; }
.price-table th { background: #1a3a5c; color: #fff; }
.price-table tr:nth-child(even) { background: #f9f9f9; }
.price-table td:last-child { font-weight: 700; color: #1a3a5c; }

/* QUÉ HACER */
.steps-list { counter-reset: steps; margin: 1.5rem 0; }
.step { display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start; }
.step-num {
  background: #f5a623;
  color: #1a3a5c;
  font-weight: 700;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

/* INFO BOX */
.info-box {
  background: #fff8ed;
  border-left: 4px solid #f5a623;
  padding: 1.2rem 1.5rem;
  border-radius: 0 4px 4px 0;
  margin: 1.5rem 0;
}
.info-box p:last-child { margin-bottom: 0; }

/* MARCAS */
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}
.brand-badge {
  background: #1a3a5c;
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* FOOTER */
.footer {
  background: #1a3a5c;
  color: #ffffff;
  padding: 3rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-col a {
  color: #f5a623;
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-col p { color: rgba(255,255,255,0.8); font-size: 0.9rem; line-height: 1.7; }
.footer-brand { font-size: 1.15rem; }
.nap { font-size: 0.9rem; line-height: 1.8; color: rgba(255,255,255,0.85); margin-top: 0.75rem; }
.nap a { color: #f5a623 !important; font-weight: 700; display: inline !important; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* PÁGINA INTERIOR HERO */
.hero-interior {
  background: linear-gradient(135deg, #1a3a5c 0%, #0d2540 100%);
  color: #fff;
  padding: 2.5rem 0 2rem;
  text-align: center;
}
.hero-interior h1 { color: #fff; font-size: 2.5rem; margin-bottom: 0.75rem; }
.hero-interior p { font-size: 1.15rem; max-width: 680px; margin: 0 auto 1.5rem; color: rgba(255,255,255,0.9); }

/* QUIENES SOMOS */
.team-section { padding: 4rem 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.value-card {
  background: #f4f4f4;
  border-radius: 6px;
  padding: 1.5rem;
  border-top: 4px solid #f5a623;
  text-align: center;
}
.value-icon { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; margin: 0 auto 0.75rem; }

/* LEGAL */
.legal-content { max-width: 800px; margin: 0 auto; padding: 3rem 1.25rem; }
.legal-content h1 { font-size: 2rem; margin-bottom: 1.5rem; }
.legal-content h2 { font-size: 1.3rem; margin: 2rem 0 0.75rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.4rem; }

/* IMAGE PLACEHOLDER */
.img-placeholder {
  width: 100%;
  background: linear-gradient(135deg, #e0e8f0 0%, #c8d8e8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #1a3a5c;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 0.5rem;
  overflow: hidden;
  position: relative;
}
.img-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 10px,
    rgba(26,58,92,0.04) 10px, rgba(26,58,92,0.04) 20px
  );
}
.img-placeholder svg { opacity: 0.4; z-index: 1; }
.img-placeholder span { z-index: 1; }

/* GRACIAS */
.gracias-page { text-align: center; padding: 6rem 1.25rem; max-width: 600px; margin: 0 auto; }
.gracias-icon { font-size: 4rem; margin-bottom: 1rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero-interior h1 { font-size: 1.9rem; }
  .header-inner { flex-wrap: wrap; gap: 0.5rem; }
  .nav-list { gap: 0.1rem; font-size: 0.82rem; }
  .hero-stats { gap: 1.5rem; }
  .barrios-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .nav { display: none; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   MENÚ HAMBURGUESA + SIDEBAR MÓVIL
   ===================================================== */

/* Botón hamburguesa — solo visible en móvil */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: background 0.2s;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.hamburger-btn:hover { background: rgba(255,255,255,0.1); }
.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
/* Animación X al abrir */
.hamburger-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Overlay oscuro detrás del sidebar */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sidebar-overlay.is-active {
  display: block;
  opacity: 1;
}

/* Sidebar panel */
.sidebar-mobile {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  height: 100dvh;
  background: #1a3a5c;
  z-index: 999;
  display: flex;
  flex-direction: column;
  transition: right 0.32s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -4px 0 24px rgba(0,0,0,0.35);
}
.sidebar-mobile.is-active {
  right: 0;
}

/* Header del sidebar */
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.sidebar-logo {
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.3;
}
.sidebar-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.sidebar-close:hover { background: rgba(255,255,255,0.1); }

/* CTAs de llamada y WhatsApp en sidebar */
.sidebar-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.sidebar-cta-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #f5a623;
  color: #1a3a5c;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.sidebar-cta-tel:hover { background: #e0941a; text-decoration: none; }
.sidebar-cta-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25D366;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.sidebar-cta-wa:hover { background: #1da851; text-decoration: none; }

/* Navegación del sidebar */
.sidebar-nav {
  flex: 1;
  padding: 0.5rem 0;
}
.sidebar-nav a,
.sidebar-nav button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  text-align: left;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 1.25rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  font-family: 'Inter', sans-serif;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}
.sidebar-nav a:hover,
.sidebar-nav button:hover {
  background: rgba(255,255,255,0.08);
  color: #f5a623;
  text-decoration: none;
}
.sidebar-nav a.sidebar-active {
  color: #f5a623;
  background: rgba(245,166,35,0.1);
}

/* Acordeón de submenús (Servicios y Zonas) */
.sidebar-accordion-btn {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}
.sidebar-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.sidebar-accordion-btn .accordion-arrow {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: auto;
}
.sidebar-accordion-btn.is-open .accordion-arrow {
  transform: rotate(180deg);
}
.sidebar-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0,0,0,0.18);
}
.sidebar-submenu.is-open {
  max-height: 400px;
}
.sidebar-submenu a {
  padding-left: 2.25rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sidebar-submenu a:hover {
  color: #f5a623;
  background: rgba(255,255,255,0.06);
}

/* Footer del sidebar */
.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.sidebar-footer p {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  text-align: center;
  margin: 0;
}

/* Floating call button — solo móvil */
.floating-call-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 997;
  background: #f5a623;
  color: #1a3a5c;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(245,166,35,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: 'Inter', sans-serif;
  -webkit-tap-highlight-color: transparent;
}
.floating-call-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(245,166,35,0.6);
  text-decoration: none;
  color: #1a3a5c;
}

/* RESPONSIVE — activar hamburguesa */
@media (max-width: 768px) {
  .hamburger-btn { display: flex; }
  .nav { display: none; } /* ocultar nav escritorio */
  .floating-call-btn { display: flex; }
  /* Ajustes header móvil */
  .header-inner {
    flex-wrap: nowrap;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }
  /* Ocultar tel del header en móvil pequeño si existe */
  .header-tel { display: none; }
  .header-phone { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-interior h1 { font-size: 1.7rem; }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-ctas a {
    text-align: center;
    justify-content: center;
  }
}

/* Prevenir scroll del body cuando sidebar abierto */
body.sidebar-open {
  overflow: hidden;
}


/* =====================================================
   FASE6 — Bloques de contenido destacado + enlaces internos visibles
   ===================================================== */

/* FASE6: Lead destacado (parrafo lead con borde lateral) */
.lead-destacado {
  border-left: 4px solid #f5a623;
  padding: 1.25rem 1.5rem;
  background: #f8f9fa;
  margin: 2rem 0;
  border-radius: 0 6px 6px 0;
  color: #333;
  line-height: 1.7;
}

/* FASE6: Bloque "Sigue leyendo" */
.sigue-leyendo {
  background: #eef2f7;
  border-left: 4px solid #1a3a5c;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 6px 6px 0;
}
.sigue-leyendo strong {
  color: #1a3a5c;
  font-weight: 700;
}
.sigue-leyendo a {
  color: #1a3a5c;
  font-weight: 600;
  text-decoration: underline;
}
.sigue-leyendo a:hover {
  color: #f5a623;
}

/* FASE6: Cobertura de barrios (wrapper destacado, scoped para no romper barrios-grid existente) */
.cobertura-barrios {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.cobertura-barrios h2,
.cobertura-barrios h3 {
  color: #1a3a5c;
  border-bottom: 3px solid #f5a623;
  padding-bottom: 0.5rem;
  display: inline-block;
  margin-bottom: 1.25rem;
}
/* Listas en columnas SOLO si no estan dentro de barrios-grid (Opcion 2) */
.cobertura-barrios > ul,
.cobertura-barrios > div:not(.barrios-grid) > ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.3rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.cobertura-barrios > ul li,
.cobertura-barrios > div:not(.barrios-grid) > ul li {
  padding: 0.3rem 0;
  color: #333;
  font-size: 0.95rem;
}
.cobertura-barrios > ul li::before,
.cobertura-barrios > div:not(.barrios-grid) > ul li::before {
  content: "\2022";
  color: #f5a623;
  font-weight: 700;
  margin-right: 0.5rem;
}
/* FASE6: Enlaces internos contextuales visibles */
.section-white a:not(.btn-primary):not(.btn-whatsapp):not(.btn-card):not([class*="btn"]):not(.logo):not(.nav-list a),
.section-alt a:not(.btn-primary):not(.btn-whatsapp):not(.btn-card):not([class*="btn"]):not(.logo),
main a:not(.btn-primary):not(.btn-whatsapp):not(.btn-card):not([class*="btn"]):not(.logo),
article a:not([class*="btn"]),
.faq-answer a:not([class*="btn"]),
.lead-destacado a,
.sigue-leyendo a {
  color: #1a3a5c;
  text-decoration: underline;
  text-decoration-color: rgba(26, 58, 92, 0.3);
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.section-white a:not([class*="btn"]):not(.logo):hover,
.section-alt a:not([class*="btn"]):not(.logo):hover,
main a:not([class*="btn"]):not(.logo):hover,
article a:not([class*="btn"]):hover,
.faq-answer a:not([class*="btn"]):hover {
  color: #f5a623;
  text-decoration-color: #f5a623;
}

/* FASE6: tel/mailto/whatsapp - heredan color del padre, sin underline forzado */
a[href^="tel:"]:not([class*="btn"]),
a[href^="mailto:"]:not([class*="btn"]),
a[href^="whatsapp:"]:not([class*="btn"]) {
  color: inherit;
  text-decoration: none;
}


/* =====================================================
   FASE7 — Mapas Google Maps embed
   ===================================================== */
.mapa-cobertura { margin: 3rem 0 2rem; }
.mapa-cobertura h3 {
  color: #1a3a5c;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #f5a623;
  display: inline-block;
}
.mapa-wrapper {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #e0e0e0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.mapa-wrapper iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}
@media (max-width: 768px) {
  .mapa-wrapper iframe { height: 280px; }
}


/* FASE8: Cap altura visual imágenes de contenido (evita imágenes gigantes en pantallas anchas) */
section img,
main img {
  max-height: 320px;
  object-fit: cover;
}
/* Hero permite alturas mayores */
.hero img,
.hero-interior img,
section.hero img,
section.hero-interior img {
  max-height: 500px;
}
