/* ==========================================================================
   SISTEMA DE DISEÑO Y CONFIGURACIÓN GENERAL (RM Equimed)
   ========================================================================== */

:root {
    /* Paleta de Colores Curada (Azules del Logo RM Equimed) */
    --color-primary: #003087;        /* Azul Oscuro "RM" del Logo */
    --color-primary-light: #0040a6;  /* Azul Medio */
    --color-secondary: #0084ff;      /* Azul Claro "equimed" del Logo */
    --color-secondary-hover: #006bdf;/* Azul Claro Oscurecido */
    --color-accent: #ffd000;         /* Amarillo Premium Call-to-Action */
    --color-accent-hover: #e6bc00;   /* Amarillo Oscurecido */
    --color-accent-light: #fffbeb;    /* Fondo destacado suave */
    
    /* Colores Neutros */
    --color-bg-light: #f8fafc;       /* Fondo de página principal */
    --color-bg-white: #ffffff;       /* Tarjetas y contenedores */
    --color-bg-soft: #f1f5f9;        /* Fondos alternos */
    --color-text-dark: #0f172a;      /* Texto principal */
    --color-text-muted: #64748b;     /* Subtítulos y descripciones */
    --color-border: #e2e8f0;         /* Bordes divisorios */
    
    /* Fuentes */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout y Efectos */
    --max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Reset y Estilos de Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 115px; /* Offset para el header fijo con topbar */
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* ==========================================================================
   COMPONENTES REUTILIZABLES (Botones, Contenedores, Cabeceras)
   ========================================================================== */

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

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.8rem 1.6rem;
    border-radius: var(--border-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255, 208, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.btn-outline:hover {
    background-color: var(--color-secondary);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    border-color: white;
    color: white;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #25d366; /* Color WhatsApp oficial */
    color: white;
}

.btn-secondary:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--border-radius-md);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Badges e Identificadores */
.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: var(--color-accent-light);
    color: var(--color-accent-hover);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.badge-accent {
    background-color: rgba(0, 132, 255, 0.1);
    color: var(--color-secondary);
}

/* Cabeceras de Sección */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-subtitle {
    display: block;
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* ==========================================================================
   DISEÑO DE LA CABECERA (HEADER & NAV)
   ========================================================================== */

/* Topbar superior para WhatsApp visible */
.topbar {
    background-color: var(--color-primary);
    color: white;
    font-size: 0.8rem;
    padding: 0.4rem 0;
    font-family: var(--font-heading);
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-text {
    font-weight: 500;
}

.topbar-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #ffd000; /* Color amarillo premium para resaltar el CTA */
    font-weight: 700;
}

.topbar-icon {
    width: 0.95rem;
    height: 0.95rem;
    fill: currentColor;
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.logo-img {
    height: 40px; /* Reducido para dar más margen y respiro en la cabecera */
    width: auto;
    object-fit: contain;
}

.logo-accent {
    color: var(--color-secondary);
    margin-right: 0.2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-primary-light);
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius-sm);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-secondary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

/* Ajustes responsivos intermedios para evitar saltos de línea en cabecera */
@media (max-width: 1150px) and (min-width: 769px) {
    .nav-menu {
        gap: 0.75rem;
    }
    .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.5rem;
    }
    .nav-actions {
        gap: 0.5rem;
    }
    .nav-actions .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

.nav-phone:hover {
    color: var(--color-secondary);
}

.icon-phone {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-secondary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-cta-mobile {
    display: none;
}

/* ==========================================================================
   SECCIÓN HERO (SECCIÓN PRINCIPAL DE IMPACTO)
   ========================================================================== */

.hero {
    position: relative;
    padding: 190px 0 100px 0; /* Espacio para el header fijo con topbar */
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 60px 0;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.icon-arrow {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
    transition: var(--transition-smooth);
}

.btn:hover .icon-arrow {
    transform: translateX(4px);
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary-light);
}

.hero-feat-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-secondary);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    z-index: 2;
}

.glow-effect {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(6, 211, 140, 0.15) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-img {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.floating-badge {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 4s ease-in-out infinite;
}

.badge-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--color-secondary);
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-top: 0.2rem;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   SECCIÓN PRODUCTOS Y AUDÍFONOS
   ========================================================================== */

.products {
    padding: 100px 0;
    background-color: var(--color-bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.product-card {
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 211, 140, 0.3);
}

.product-image-container {
    position: relative;
    height: 260px;
    background-color: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1.5rem; /* Reducido para dar más espacio a la imagen */
}

.product-img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    transform: scale(1.1);
    transition: var(--transition-smooth);
}

.product-card:hover .product-img {
    transform: scale(1.2);
}

.premium-visual {
    position: relative;
    z-index: 2;
}

.premium-img {
    width: 100%;
    transform: scale(1.1);
    transition: var(--transition-smooth);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-primary);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
}

.product-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.product-specs {
    margin-top: auto;
    margin-bottom: 2rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1.25rem;
    list-style: none;
}

.product-specs li {
    font-size: 0.9rem;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 0.5rem;
}

.product-specs li strong {
    color: var(--color-primary);
    font-weight: 600;
}

.product-specs li span {
    text-align: right;
    max-width: 60%;
    color: var(--color-text-muted);
}

.product-footer {
    margin-top: 0;
}

/* BANNER DE PRODUCTO RECARGABLE PREMIUM */
.featured-product-banner {
    background: linear-gradient(135deg, #1e40af 0%, #172554 100%);
    border-radius: var(--border-radius-lg);
    padding: 3.5rem;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.banner-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.banner-image {
    position: relative;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 0 15px rgba(255,255,255,0.1);
    background-color: #ffffff;
    animation: float 6s ease-in-out infinite;
}

.slider-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: transform 0.5s ease;
}

.banner-image:hover .banner-img {
    transform: scale(1.1) rotate(-2deg);
}

/* Controles del Slider */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    color: var(--color-primary);
    transition: var(--transition-smooth);
    z-index: 10;
}

.slider-btn:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn svg {
    width: 1.2rem;
    height: 1.2rem;
}

.prev-btn {
    left: 1rem;
}

.next-btn {
    right: 1rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

.banner-content h3 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.banner-content .badge-accent {
    background-color: var(--color-accent);
    color: var(--color-text-dark);
    box-shadow: 0 4px 10px rgba(255, 208, 0, 0.3);
}

.banner-content > p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

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

.b-feat {
    display: flex;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.b-feat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.b-feat-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 208, 0, 0.15);
    border: 1px solid rgba(255, 208, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
}

.b-feat-icon svg {
    width: 2rem;
    height: 2rem;
}

.b-feat-text h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
}

.b-feat-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* ==========================================================================
   SECCIÓN SERVICIOS
   ========================================================================== */

.services {
    padding: 100px 0;
    background-color: var(--color-bg-soft);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--color-bg-white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(6, 211, 140, 0.25);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(6, 211, 140, 0.1);
    color: var(--color-secondary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-icon svg,
.service-icon img {
    width: 2.25rem;
    height: 2.25rem;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

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

.service-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-secondary);
    display: inline-flex;
    align-items: center;
}

.service-link:hover {
    color: var(--color-secondary-hover);
}

/* ==========================================================================
   SECCIÓN NOSOTROS (SOBRE NOSOTROS / HISTORIA)
   ========================================================================== */

.about {
    padding: 100px 0;
    background-color: var(--color-bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    height: 480px;
    object-fit: cover;
    width: 100%;
}

.experience-badge {
    position: absolute;
    top: 2rem;
    right: -1.5rem;
    background-color: var(--color-accent);
    color: var(--color-primary);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.exp-years {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.25rem;
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.about-content > p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.about-feat-item {
    display: flex;
    gap: 1rem;
}

.about-feat-icon {
    width: 1.75rem;
    height: 1.75rem;
    background-color: rgba(0, 132, 255, 0.1);
    color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.about-feat-item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.about-feat-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   SECCIÓN TESTIMONIOS (PRUEBA SOCIAL)
   ========================================================================== */

.testimonials {
    padding: 100px 0;
    background-color: var(--color-bg-soft);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--color-bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.test-text {
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.test-user {
    display: flex;
    flex-direction: column;
}

.test-user strong {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1rem;
}

.test-user span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   SECCIÓN SEDES DE ATENCIÓN (MAPA Y CONTACTO)
   ========================================================================== */

.locations {
    padding: 100px 0;
    background-color: var(--color-bg-white);
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.location-card {
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.location-header {
    background-color: var(--color-primary);
    color: white;
    padding: 1.5rem 2rem;
}

.location-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.location-body {
    padding: 2rem;
}

.location-body .address, .location-body .phone {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.location-body .address svg, .location-body .phone svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-secondary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.location-references {
    border-top: 1px solid var(--color-border);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    margin-bottom: 2rem;
}

.location-references h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.location-references ul {
    list-style: none;
}

.location-references li {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
}

.location-references li::before {
    content: "•";
    color: var(--color-secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.location-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-waze {
    gap: 0.5rem;
}

.waze-icon-img {
    width: 1.25rem;
    height: 1.25rem;
}

/* ==========================================================================
   SECCIÓN BLOG / ARTÍCULOS
   ========================================================================== */

.blog-section {
    padding: 100px 0;
    background-color: var(--color-bg-soft);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.blog-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(6, 211, 140, 0.25);
}

.blog-image {
    height: 200px;
    background-color: #cbd5e1;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.blog-body h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.blog-body p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.blog-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-primary-light);
    margin-top: auto;
    display: inline-flex;
}

.blog-link:hover {
    color: var(--color-secondary);
}

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

/* ==========================================================================
   SECCIÓN PREGUNTAS FRECUENTES (FAQ - ACORDEÓN)
   ========================================================================== */

.faq-section {
    padding: 100px 0;
    background-color: var(--color-bg-white);
}

.faq-container-inner {
    max-width: 800px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    background-color: var(--color-bg-light);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active {
    border-color: rgba(6, 211, 140, 0.35);
    box-shadow: var(--shadow-soft);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-align: left;
    color: var(--color-primary);
    cursor: pointer;
    outline: none;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-secondary);
    transition: var(--transition-smooth);
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   SECCIÓN CTA BANNER FINAL
   ========================================================================== */

.cta-banner {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: white;
    text-align: center;
}

.cta-banner-inner {
    max-width: 800px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-banner p {
    color: #94a3b8;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.cta-banner-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   PIE DE PÁGINA (FOOTER)
   ========================================================================== */

.footer {
    background-color: #0b0f19;
    color: #94a3b8;
    padding: 5rem 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand-section .logo {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-brand-section p {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    padding: 0.6rem 1rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.social-links a.facebook-link {
    background-color: rgba(24, 119, 242, 0.1);
    border-color: rgba(24, 119, 242, 0.25);
}

.social-links a.facebook-link svg {
    color: #1877f2;
}

.social-links a.facebook-link:hover {
    background-color: #1877f2;
    border-color: #1877f2;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.social-links a.facebook-link:hover svg {
    color: white;
}

.social-links a.instagram-link {
    background-color: rgba(225, 48, 108, 0.1);
    border-color: rgba(225, 48, 108, 0.25);
}

.social-links a.instagram-link svg {
    color: #e1306c;
}

.social-links a.instagram-link:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.4);
}

.social-links a.instagram-link:hover svg {
    color: white;
}

.social-links svg {
    width: 1.1rem;
    height: 1.1rem;
    transition: var(--transition-smooth);
}

.footer-links-section h4, .footer-contact-section h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links-section ul li {
    margin-bottom: 0.75rem;
}

.footer-links-section ul a {
    font-size: 0.9rem;
}

.footer-links-section ul a:hover {
    color: white;
    padding-left: 4px;
}

.footer-contact-section ul li {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.footer-contact-section ul li strong {
    color: white;
    display: block;
    margin-bottom: 0.25rem;
}

.footer-contact-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
}

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

/* ==========================================================================
   BOTÓN WHATSAPP FLOTANTE
   ========================================================================== */

.whatsapp-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}

.whatsapp-floating:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   MEDIA QUERIES (DISEÑO TOTALMENTE RESPONSIVO)
   ========================================================================== */

@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-grid {
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .banner-image {
        height: 300px;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--color-bg-white);
        flex-direction: column;
        align-items: center;
        padding: 3rem 1.5rem;
        gap: 2rem;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-actions .btn {
        display: none; /* Oculta botón de escritorio */
    }
    
    .nav-cta-mobile {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 2rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1; /* Muestra la imagen arriba en móviles */
    }
    
    .floating-badge {
        left: 1rem;
        bottom: 1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-visual {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    
    .about-img {
        height: 320px;
    }
    
    .banner-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-product-banner {
        padding: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .product-image-container {
        height: 200px;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
}
