/* ==========================================================================
   SERVICIO TÉCNICO WHIRLPOOL BARCELONA - ESTILOS PREMIUM & OPTIMIZADOS
   ========================================================================== */

:root {
  --primary: #f59e0b;          /* Amarillo/Ámbar cálido premium */
  --primary-hover: #d97706;
  --primary-light: #fef3c7;
  --primary-dark: #b45309;
  --secondary: #1e3a8a;        /* Azul corporativo de confianza */
  --secondary-hover: #1e40af;
  --dark: #0f172a;             /* Slate 900 */
  --dark-light: #1e293b;
  --text-main: #334155;        /* Slate 700 */
  --text-muted: #64748b;
  --bg-page: #f8fafc;          /* Slate 50 */
  --bg-card: #ffffff;
  --bg-footer: #0f172a;
  --footer-text: #94a3b8;
  --border: #e2e8f0;
  --success: #16a34a;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px -2px rgba(15,23,42,0.08), 0 2px 6px -1px rgba(15,23,42,0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15,23,42,0.1), 0 4px 8px -2px rgba(15,23,42,0.06);
  --shadow-glow: 0 0 20px rgba(245,158,11,0.35);
  --container-max: 1160px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

ul {
  list-style: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}

h1 {
  font-size: 2.35rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.85rem;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 1.25rem 0;
}

h3 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem 0;
}

p {
  margin-bottom: 1.3rem;
  font-size: 1.05rem;
}

.text-center {
  text-align: center;
}

/* Títulos de sección con barra de acento moderna */
.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2,
.section-title h3,
.section-title .h2like {
  position: relative;
  display: inline-block;
}

.section-title h2::after,
.section-title .h2like::after,
.section-title h3::after,
h2.text-center::after,
h3.text-center::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #fbbf24);
  margin: 12px auto 0 auto;
  border-radius: 4px;
}

/* --- TOP ANNOUNCEMENT BAR --- */
.top-bar {
  background: var(--dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
}

.top-bar-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-badges {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-badge-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.top-badge-item svg {
  width: 14px;
  height: 14px;
  fill: var(--primary);
}

.top-bar-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
  font-weight: 600;
}

.top-bar-phone:hover {
  color: var(--primary);
}

.top-bar-phone svg {
  width: 14px;
  height: 14px;
  fill: var(--primary);
}

/* --- HEADER & NAVIGATION --- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.nav-container {
  display: flex;
  align-items: center;
}

.header-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.menu-item {
  position: relative;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
}

.menu-item > a {
  color: var(--dark);
  padding: 0.5rem 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.menu-item > a:hover {
  color: var(--primary-hover);
}

/* Dropdown Arrow */
.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s ease, border-color 0.2s;
}

.menu-item-has-children:hover > a::after {
  transform: rotate(225deg);
  border-color: var(--primary);
}

/* Submenu Dropdown */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
  border: 1px solid var(--border);
}

.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li a {
  display: flex;
  align-items: center;
  padding: 0.7rem 1.4rem;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.sub-menu li:last-child a {
  border-bottom: none;
}

.sub-menu li a:hover {
  background-color: var(--primary-light);
  color: var(--dark);
  padding-left: 1.7rem;
}

/* Botón Llamar Header */
.btn-asistencia-header a {
  background: linear-gradient(135deg, var(--primary), #fbbf24) !important;
  color: #0f172a !important;
  padding: 0.65rem 1.4rem !important;
  border-radius: var(--radius-full);
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-asistencia-header a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #fbbf24, var(--primary)) !important;
}

/* Hamburguesa */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1020;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- HERO SECTION DE ALTO IMPACTO --- */
.asap-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../img/bcn-compress.webp') center center / cover no-repeat;
  padding: 4rem 1.5rem;
  overflow: hidden;
}

.asap-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.78) 10%, rgba(15, 23, 42, 0.94) 100%);
  z-index: 1;
}

.asap-hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  color: #ffffff;
}

/* Trust Pill */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-family: var(--font-heading);
  margin-bottom: 1.25rem;
}

.hero-stars {
  color: #facc15;
  letter-spacing: 1px;
}

.asap-hero-content h1 {
  color: #ffffff;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--primary), #fbbf24);
  color: #0f172a;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.45);
  transition: all 0.25s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}

.btn-hero-primary svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

/* --- TRUST HIGHLIGHT BAR (BAJO EL HERO) --- */
.trust-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.5rem;
}

.trust-bar-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-bar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-bar-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.trust-bar-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: var(--dark);
  line-height: 1.2;
}

.trust-bar-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- MAIN CONTAINER --- */
.main-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem 1.5rem;
}

.the-content {
  font-size: 1.08rem;
  line-height: 1.85;
}

.the-content strong {
  color: var(--dark);
}

/* Tarjeta Destacada de Llamada Central */
.cta-card-central {
  background: linear-gradient(135deg, #ffffff, #fefce8);
  border: 2px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.5rem auto;
  max-width: 650px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.cta-card-central::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #fbbf24);
}

.cta-card-central img.logo-cta {
  height: 40px;
  width: auto;
  margin: 0 auto 1rem auto;
}

.cta-card-central h3,
.cta-card-central .cta-title {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5rem 0;
  font-size: 1.35rem;
  color: var(--dark);
}

.cta-card-central p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.cta-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--primary), #fbbf24);
  color: #0f172a;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  transition: all 0.25s ease;
}

.cta-phone-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.55);
}

.cta-phone-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* --- CLUSTERS / GRID DE PRODUCTOS & LOCALIDADES --- */
.content-cluster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.cluster-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.cluster-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #fde68a;
}

.cluster-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cluster-card .card-image {
  overflow: hidden;
  height: 150px;
  position: relative;
  background-color: #f1f5f9;
}

.cluster-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cluster-card:hover .card-image img {
  transform: scale(1.08);
}

.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: #fde68a;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.cluster-card .card-title {
  padding: 1.1rem 0.9rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin: 0;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-action-link {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
  padding-bottom: 0.9rem;
  font-family: var(--font-heading);
}

/* --- BLOQUE DE PROCESO DE TRABAJO (4 PASOS) --- */
.steps-section {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  margin: 3.5rem 0;
  box-shadow: var(--shadow-sm);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.step-card {
  text-align: center;
  position: relative;
  padding: 1rem;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #0f172a;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem auto;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.step-card h4,
.step-card .step-title {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* --- GRID DE VENTAJAS / ¿POR QUÉ ELEGIRNOS? --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin: 2.5rem 0;
}

.feature-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #fde68a;
}

.feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.feature-info h3 {
  margin-top: 0;
  line-height: 1.25;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.feature-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* --- LISTAS DE SERVICIOS (CHECKLIST) --- */
.listado-servicios {
  margin: 2rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.listado-servicios li {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem 1rem 3rem;
  position: relative;
  font-size: 0.98rem;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}

.listado-servicios li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316a34a'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.listado-servicios li strong {
  color: var(--dark);
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.02rem;
}

/* --- SECCIÓN DE AVERÍAS FRECUENTES (SEO BOOST) --- */
.averias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.averia-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.averia-item h3 {
  margin-top: 0;
  line-height: 1.25;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.averia-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* --- MIGAS DE PAN --- */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem 0;
}

.breadcrumb a {
  color: var(--secondary);
  text-decoration: underline;
}

/* --- FAQ (acordeón <details>, estilos en <style id="faq-css">) --- */
.faq-section {
  margin: 3.5rem 0;
}

.faq-section .faq > h2 {
  text-align: center;
}

/* Títulos tipo H2 de bloques fijos (no son encabezados) */
.h2like {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  font-size: 1.85rem;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 1.25rem 0;
}

/* --- BANNER CTA INFERIOR --- */
.bottom-cta-banner {
  background: linear-gradient(135deg, var(--dark), var(--dark-light));
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin: 3.5rem 0 1rem 0;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.bottom-cta-banner h3,
.bottom-cta-banner .cta-title {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
}

.bottom-cta-banner p {
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 1.75rem auto;
  font-size: 1.1rem;
}

.bottom-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--primary), #fbbf24);
  color: #0f172a;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
  transition: all 0.25s ease;
}

.bottom-cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.65);
}

.bottom-cta-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* --- FOOTER MODERNO Y ELEGANTE --- */
footer {
  background-color: var(--bg-footer);
  color: var(--footer-text);
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.content-footer {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4rem 1.5rem 2.5rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
}

.footer-col h5,
.footer-col .widget-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
  color: #ffffff;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h5::after,
.footer-col .widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-logo {
  margin-bottom: 1.25rem;
  max-width: 180px;
  filter: brightness(0) invert(1);
}

.nap-info {
  font-size: 0.92rem;
  line-height: 1.7;
}

.nap-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
}

.nap-phone:hover {
  color: #fbbf24;
}

.nap-phone svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-menu li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.94rem;
}

.footer-menu li a {
  color: var(--footer-text);
}

.footer-menu li a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-menu .icon-check svg {
  width: 14px;
  height: 14px;
  fill: var(--primary);
  flex-shrink: 0;
}

.footer-menu .icon-doc svg {
  width: 14px;
  height: 14px;
  fill: #94a3b8;
  flex-shrink: 0;
}

.footer-payments img {
  max-width: 220px;
  margin-bottom: 1.25rem;
  border-radius: 4px;
}

.footer-disclaimer {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #64748b;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* --- BARRA FLOTANTE INFERIOR PARA MÓVILES --- */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), #fbbf24);
  color: #0f172a;
  z-index: 9999;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.mobile-call-bar svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media screen and (max-width: 1024px) {
  .content-cluster {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .trust-bar-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media screen and (max-width: 768px) {
  body {
    padding-bottom: 56px;
  }

  .top-bar {
    display: none;
  }

  .mobile-call-bar {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .header-menu {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 0.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .header-menu.is-open {
    transform: translateX(0);
  }

  .menu-item {
    width: 100%;
  }

  .menu-item > a {
    padding: 0.85rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
    width: 100%;
    justify-content: space-between;
  }

  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    margin: 0.5rem 0;
    display: none;
  }

  .menu-item-has-children.active-mobile .sub-menu {
    display: block;
  }

  .btn-asistencia-header {
    margin-top: 1.25rem;
    width: 100%;
  }

  .btn-asistencia-header a {
    width: 100%;
    justify-content: center;
    padding: 0.85rem !important;
  }

  .asap-hero {
    min-height: 340px;
    padding: 2.5rem 1rem;
  }

  .asap-hero-content h1 {
    font-size: 1.95rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .trust-bar-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .content-cluster {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .listado-servicios {
    grid-template-columns: 1fr;
  }

  .averias-grid {
    grid-template-columns: 1fr;
  }

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

@media screen and (max-width: 480px) {
  .asap-hero-content h1 {
    font-size: 1.7rem;
  }

  .content-cluster {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .cluster-card .card-image {
    height: 115px;
  }

  .cluster-card .card-title {
    font-size: 0.85rem;
    padding: 0.75rem 0.5rem;
  }

  .card-action-link {
    display: none;
  }
}

/* fix-diseno: el menú móvil fuera de pantalla (translateX) desbordaba la página en horizontal */
@media screen and (max-width: 768px) {
  .header-menu {
    /* la cabecera (backdrop-filter) es su bloque contenedor: bottom:0 no llega al final de la pantalla */
    bottom: auto;
    height: calc(100vh - 121px);
    height: calc(100dvh - 121px);
    transform: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .header-menu.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
}

/* fix-diseno: el título del banner final no cabía a 320 px */
@media screen and (max-width: 480px) {
  .bottom-cta-banner {
    padding: 2rem 1.25rem;
  }

  .bottom-cta-banner .cta-title,
  .h2like,
  h2 {
    font-size: 1.4rem;
  }

  h1, h2, h3, .cta-title, .h2like {
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

/* fix-contraste: aviso de marcas y copyright del pie (antes 3,75:1) */
.footer-disclaimer,
.footer-bottom-bar,
.footer-bottom-bar p {
  color: #94a3b8;
}
