/* ============================================
   TEMPLATE 4 — DIRECTO
   Urgente, alto contraste, conversión
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #dc2626;
  --primary-dark: #b91c1c;
  --primary-light: #fee2e2;
  --secondary: #1e293b;
  --accent: #16a34a;
  --accent-dark: #15803d;
  --white: #ffffff;
  --bg-light: #fafafa;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --text: #1e293b;
  --text-light: #64748b;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --transition: 0.2s ease;
  --container: 1200px;
}

html { scroll-behavior: smooth; }

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Focus visible --- */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* --- Section separator --- */
.section-sep {
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border: none;
  margin: 0;
}

/* --- Section base --- */
section {
  padding: 4rem 0;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* ============================================
   URGENCY BAR (fixed top)
   ============================================ */
.urgency-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.urgency-bar a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 36px; /* height of urgency bar */
  z-index: 999;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  white-space: nowrap;
}

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

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: color var(--transition);
  padding: 0.25rem 0;
}

.nav-desktop a:hover {
  color: var(--primary);
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

.header-phone svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--secondary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* padding-top for urgency bar + header */
.page-offset {
  padding-top: 36px;
}

@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .header-phone { display: flex; }
  .hamburger { display: none; }
}

/* ============================================
   MOBILE FULLSCREEN MENU
   ============================================ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__close svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
}

.mobile-menu__phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.mobile-menu__phone svg {
  width: 28px;
  height: 28px;
}

.mobile-menu a {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
}

.mobile-menu a:hover {
  color: var(--primary-light);
}

.mobile-menu__cta {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
}

.mobile-menu__cta a {
  display: block;
  text-align: center;
  background: var(--accent);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem;
  border-radius: var(--radius);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 5rem 0 4rem;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); }
}

.hero-badge svg {
  width: 18px;
  height: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 700px;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid var(--primary);
  transition: background var(--transition), border-color var(--transition);
  min-height: 48px;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  transition: background var(--transition), border-color var(--transition);
  min-height: 52px;
}

.btn-call:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-call svg {
  width: 20px;
  height: 20px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--white);
  transition: background var(--transition), border-color var(--transition);
  min-height: 52px;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gray-300);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
}

.trust-badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================
   SERVICIOS (SV) — Cards con nivel
   ============================================ */
.servicios { background: var(--bg-light); }

.servicios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.servicio-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition);
}

.servicio-card:hover {
  border-color: var(--primary);
}

.servicio-card__icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.servicio-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.servicio-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.servicio-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.servicio-level {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 1rem;
  border-radius: 50px;
}

.level-economico {
  background: #dbeafe;
  color: #1d4ed8;
}

.level-estandar {
  background: #fef3c7;
  color: #b45309;
}

.level-premium {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* ============================================
   PROBLEMAS (PB)
   ============================================ */
.problemas { background: var(--white); }

.problemas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .problemas-grid { grid-template-columns: repeat(2, 1fr); }
}

.problema-card {
  background: var(--bg-light);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition);
}

.problema-card:hover {
  border-color: var(--primary);
}

.problema-card__question {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.problema-card__question svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.problema-card__question h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.problema-card__answer {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-left: 0;
}

.problema-card__answer svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.problema-card__answer p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
}

.problema-card__answer strong {
  color: var(--accent-dark);
  font-weight: 700;
}

/* ============================================
   STATS (ST)
   ============================================ */
.stats {
  background: var(--secondary);
  color: var(--white);
  padding: 3.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 700px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item__number {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-item__label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

/* ============================================
   TESTIMONIOS (TE) — Carousel scroll-snap
   ============================================ */
.testimonios { background: var(--bg-light); }

.testimonios-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0 1.5rem;
  scrollbar-width: none;
}

.testimonios-track::-webkit-scrollbar {
  display: none;
}

.testimonio-card {
  flex: 0 0 85%;
  max-width: 400px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  scroll-snap-align: center;
  transition: border-color var(--transition);
}

.testimonio-card:hover {
  border-color: var(--primary);
}

@media (min-width: 700px) {
  .testimonio-card { flex: 0 0 45%; }
}

@media (min-width: 1000px) {
  .testimonio-card { flex: 0 0 30%; }
}

.testimonio-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}

.testimonio-stars svg {
  width: 18px;
  height: 18px;
  color: #f59e0b;
  fill: #f59e0b;
}

.testimonio-card blockquote {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonio-author {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.testimonio-location {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.testimonios-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.testimonios-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition);
}

.testimonios-dot.active {
  background: var(--primary);
}

/* ============================================
   ZONAS (ZN)
   ============================================ */
.zonas { background: var(--white); }

.zonas-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 700px) {
  .zonas-wrap { grid-template-columns: 1fr 1fr; align-items: start; }
}

.zonas-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.zona-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: border-color var(--transition);
}

.zona-badge:hover {
  border-color: var(--primary);
}

.zona-badge svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.zonas-map {
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ============================================
   FAQ (FQ) — Accordion corto
   ============================================ */
.faq { background: var(--bg-light); }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  min-height: 52px;
  gap: 1rem;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--gray-400);
}

.faq-item.is-open .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   CTA URGENTE
   ============================================ */
.cta-urgente {
  background: var(--secondary);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.cta-urgente h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-urgente__phone {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--accent);
  display: block;
  margin-bottom: 1.5rem;
}

.cta-urgente .btn-call {
  font-size: 1.2rem;
  padding: 1.1rem 2.5rem;
}

/* ============================================
   CONTACTO (CT) — Form + phone
   ============================================ */
.contacto { background: var(--white); }

.contacto-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 700px) {
  .contacto-wrap { grid-template-columns: 1fr 1fr; align-items: start; }
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
  min-height: 48px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  font-family: var(--font);
  min-height: 52px;
}

.btn-submit:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.contacto-phone-side {
  background: var(--bg-light);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
}

.contacto-phone-side svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contacto-phone-side h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contacto-phone-side__number {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 900;
  color: var(--primary);
  display: block;
  margin-bottom: 0.75rem;
}

.contacto-phone-side p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.8);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-nap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nap__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-nap__item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
}

.footer-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-zone-badge {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--white);
}

/* ============================================
   MOBILE FIXED BAR
   ============================================ */
.mobile-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--gray-200);
}

.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  min-height: 52px;
}

.mobile-bar a svg {
  width: 20px;
  height: 20px;
}

.mobile-bar__call {
  background: var(--accent);
  color: var(--white);
}

.mobile-bar__presupuesto {
  background: var(--primary);
  color: var(--white);
}

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

/* Bottom padding for mobile bar */
@media (max-width: 899px) {
  .footer { padding-bottom: 5rem; }
}

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

/* ============================================
   SERVICE PAGE SECTIONS
   ============================================ */

/* --- Editorial blocks --- */
.descripcion-editorial { background: var(--white); }

.editorial-blocks {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.editorial-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 700px) {
  .editorial-block { grid-template-columns: 1fr 1fr; }
  .editorial-block.reverse .editorial-text { order: 2; }
  .editorial-block.reverse .editorial-image { order: 1; }
}

.editorial-block--solo {
  display: block;
}

.editorial-text p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.editorial-text p.lead {
  font-size: 1.1rem;
  color: var(--text);
}

.editorial-text a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.editorial-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.editorial-image img {
  border-radius: var(--radius);
}

/* --- Ventajas --- */
.ventajas { background: var(--bg-light); }

.ventajas-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ventaja-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition);
}

.ventaja-item:hover {
  border-color: var(--primary);
}

.ventaja-check {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.ventaja-check svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

.ventaja-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ventaja-item p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Banner urgencias --- */
.banner-urgencias {
  background: var(--secondary);
  color: var(--white);
  padding: 2.5rem 0;
}

.banner-urgencias-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.banner-urgencias-label {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

.banner-urgencias-text p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
}

.btn-urgencia {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  transition: background var(--transition);
  min-height: 48px;
}

.btn-urgencia:hover {
  background: var(--accent-dark);
}

/* --- Proceso --- */
.proceso { background: var(--bg-light); }

.proceso-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .proceso-steps { grid-template-columns: repeat(2, 1fr); }
}

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

.proceso-step {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: border-color var(--transition);
}

.proceso-step:hover {
  border-color: var(--primary);
}

.proceso-step-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.proceso-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.proceso-step p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- Troubleshooting --- */
.troubleshooting { background: var(--white); }

.troubleshooting-list {
  max-width: 800px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  counter-reset: step;
}

.troubleshooting-list li {
  background: var(--bg-light);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.troubleshooting-list h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.troubleshooting-list p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Comparativa --- */
.comparativa { background: var(--bg-light); }

.comparativa-table {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.comparativa-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

.comparativa-table th,
.comparativa-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.comparativa-table thead th {
  background: var(--secondary);
  color: var(--white);
  font-weight: 700;
}

.comparativa-table tbody th {
  font-weight: 700;
  color: var(--text);
}

.comparativa-table tbody td {
  color: var(--text-light);
}

.comparativa-conclusion {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 1rem;
}

.comparativa-conclusion a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Cobertura --- */
.cobertura { background: var(--bg-light); }

.cobertura-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .cobertura-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.cobertura-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition);
}

.cobertura-card:hover {
  border-color: var(--primary);
}

.cobertura-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cobertura-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- Galeria --- */
.galeria { background: var(--white); }

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

.galeria-item {
  border-radius: var(--radius);
  overflow: hidden;
}

.galeria-item img {
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}

.galeria-item:hover img {
  transform: scale(1.03);
}

/* --- Marcas --- */
.marcas { background: var(--bg-light); }

.marcas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

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

.marca-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition);
}

.marca-card:hover {
  border-color: var(--primary);
}

/* --- Card link --- */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color var(--transition);
}

.card-link:hover {
  color: var(--primary-dark);
}

/* --- Legal pages --- */
.legal-content {
  padding: 3rem 0;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-content ul,
.legal-content ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- 404 page --- */
.page-404 {
  text-align: center;
  padding: 6rem 1.25rem;
}

.page-404 h1 {
  font-size: 5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 1rem;
}

.page-404 p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* --- Cookie banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--secondary);
  color: var(--white);
  padding: 1rem;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
}

.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner-accept {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
}

.cookie-banner-accept:hover {
  background: var(--accent-dark);
}

/* --- Form status --- */
.form-status {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status.success {
  display: block;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-status.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* --- Honeypot --- */
.honeypot {
  display: none !important;
}

/* --- Section header --- */
.section-header {
  margin-bottom: 2rem;
}

/* --- Nav desktop overrides --- */
.nav-desktop ul {
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .nav-desktop ul {
    gap: 1.5rem;
  }
}
