/* ==========================================================================
   Variables CSS - Paleta de Colores SURTIFARMAX
   ========================================================================== */
:root {
    /* Colors */
    --primary-color: #0317B2; /* Azul principal de Droguería */
    --primary-hover: #020C8A;
    --secondary-color: #88CE4D; /* Verde secundario de SURTIFARMAX */
    --secondary-hover: #75B53E;
    
    --bg-color: #F8FAF9; /* Blanco apenas cálido/verdoso */
    --bg-light: #FFFFFF;
    --text-main: #334155;
    --text-muted: #64748B;
    
    --whatsapp-color: #25D366;
    --whatsapp-hover: #1EBE5D;
    --instagram-color: #E1306C;
    --facebook-color: #1877F2;

    /* Fonts */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Shadows & Border Radius */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ==========================================================================
   Resets & Globals
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.text-center { text-align: center; }
.pb-0 { padding-bottom: 0 !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.lead { font-size: 1.125rem; color: var(--text-muted); max-width: 800px; margin: 0 auto; }
.bg-light { background-color: var(--bg-light); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-align: center;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-block { width: 100%; }

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: var(--shadow-sm);
    font-weight: 700;
}
.btn-primary:hover {
    background-color: #7BC043;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid #E2E8F0;
}
.btn-outline:hover {
    background-color: #F1F5F9;
    border-color: #CBD5E1;
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
}
.btn-white:hover {
    background-color: #F8FAFC;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height var(--transition-normal);
}

.header.scrolled .header-container {
    height: 60px;
}

.logo {
    display: block;
    max-width: 200px;
    transition: max-width var(--transition-normal);
}

.header.scrolled .logo {
    max-width: 160px;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-list {
    display: flex;
    gap: 1.5rem;
}

.nav-list a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section — Split Layout
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(160deg, #F8FAF9 0%, #EEF6F0 40%, #F0F4FF 100%);
}

/* Decorative dot pattern */
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(3,23,178,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: 0;
    pointer-events: none;
}

/* Floating gradient orbs */
.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.1s linear;
}

.hero-orb-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(136,206,77,0.18) 0%, transparent 70%);
    top: -80px;
    left: -120px;
}

.hero-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(3,23,178,0.10) 0%, transparent 70%);
    bottom: -60px;
    right: 5%;
}

.hero-orb-3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(136,206,77,0.12) 0%, transparent 70%);
    top: 35%;
    right: 30%;
}

/* Split Grid */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 80px);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Left: Content */
.hero-content {
    max-width: 580px;
    will-change: transform;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(3,23,178,0.06);
    color: var(--primary-color);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(3,23,178,0.1);
}

.hero-badge i {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.hero-logo-heading {
    margin-bottom: 0.75rem;
}

.hero-logo-img {
    max-width: 420px;
    width: 100%;
    height: auto;
    display: block;
}

.hero h2 {
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
    line-height: 1.7;
}

/* --- WhatsApp CTA Button (star element) --- */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-whatsapp-hero {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.1rem 2.4rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(37,211,102,0.35), 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    text-decoration: none;
}

.btn-whatsapp-hero:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 36px rgba(37,211,102,0.45), 0 4px 12px rgba(0,0,0,0.1);
    color: #fff;
}

.btn-whatsapp-hero:active {
    transform: translateY(-1px) scale(1.01);
}

.btn-whatsapp-hero i {
    font-size: 1.35rem;
}

/* Pulse ring */
.btn-whatsapp-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    border: 2px solid rgba(37,211,102,0.4);
    animation: whatsappPulse 2.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes whatsappPulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

/* Shimmer sweep */
.btn-whatsapp-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    animation: shimmerSweep 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmerSweep {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

/* Location button */
.btn-location-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.05rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    background: transparent;
    border: 2px solid rgba(3,23,178,0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-location-hero:hover {
    background: rgba(3,23,178,0.06);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    color: var(--primary-color);
}

/* Trust Indicators */
.hero-trust-indicators {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.trust-item i {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* --- Right: Photo Card --- */
.hero-photo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    will-change: transform;
}

.hero-photo-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(3,23,178,0.12),
        0 8px 24px rgba(0,0,0,0.06);
    border: 3px solid rgba(255,255,255,0.8);
    transition: transform 0.5s cubic-bezier(0.22,0.61,0.36,1);
}

.hero-photo-card:hover {
    transform: scale(1.015) translateY(-4px);
}

.hero-photo-card img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(3,23,178,0.15) 0%,
        rgba(136,206,77,0.10) 40%,
        transparent 70%
    );
    pointer-events: none;
}

/* Floating badge on photo */
.hero-photo-badge {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--primary-color);
    padding: 0.7rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    white-space: nowrap;
    z-index: 2;
}

.hero-photo-badge i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Social links floating on photo wrapper */
.hero-social-float {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    z-index: 2;
}

.hero-social-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    color: var(--text-main);
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.hero-social-float a:hover {
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.hero-social-float a[aria-label="Instagram"]:hover { background-color: var(--instagram-color); }
.hero-social-float a[aria-label="Facebook"]:hover { background-color: var(--facebook-color); }

/* ==========================================================================
   Decorative X Graphic — Background Element
   ========================================================================== */
.deco-x {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.25;
    will-change: transform;
    transition: transform 0.1s linear;
    user-select: none;
    -webkit-user-drag: none;
    filter: blur(3px);
}

/* Hero: large X top-right, smaller rotated X bottom-left */
.deco-x-hero-1 {
    width: 700px;
    top: 20px;
    right: -100px;
    transform: rotate(-15deg);
    opacity: 0.30;
}

.deco-x-hero-2 {
    width: 450px;
    bottom: 20px;
    left: -80px;
    transform: rotate(25deg) scaleX(-1);
    opacity: 0.20;
}

/* Atención: bottom-left, tilted */
.deco-x-atencion {
    width: 600px;
    bottom: -80px;
    left: -120px;
    transform: rotate(20deg);
    opacity: 0.25;
}

/* Nosotros: top-right */
.deco-x-nosotros {
    width: 550px;
    top: -50px;
    right: -100px;
    transform: rotate(-30deg) scaleX(-1);
    opacity: 0.25;
}

/* Banner formula: center-right, large */
.deco-x-banner {
    width: 700px;
    top: 50%;
    right: -140px;
    transform: translateY(-50%) rotate(10deg);
    opacity: 0.35;
    filter: blur(2px) brightness(10);
}

/* Ubicación: bottom-left */
.deco-x-ubicacion {
    width: 500px;
    bottom: -60px;
    left: -80px;
    transform: rotate(35deg);
    opacity: 0.25;
}

/* Responsive: scale down decorative X on mobile */
@media (max-width: 768px) {
    .deco-x { opacity: 0.15; }
    .deco-x-hero-1 { width: 400px; right: -80px; opacity: 0.20; }
    .deco-x-hero-2 { width: 280px; }
    .deco-x-atencion { width: 350px; }
    .deco-x-nosotros { width: 320px; }
    .deco-x-banner { width: 400px; }
    .deco-x-ubicacion { width: 300px; }
}

/* ==========================================================================
   Grids & Cards
   ========================================================================== */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.align-start { align-items: start; }

.card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: rgba(46, 139, 87, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all var(--transition-normal);
}

.card:hover .icon-wrapper {
    background-color: var(--primary-color);
    color: white;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

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

/* ==========================================================================
   Info Card & Canales
   ========================================================================== */
.info-card-wrapper {
    position: sticky;
    top: 100px;
}

.info-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--primary-color);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.info-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list strong {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.info-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #E2E8F0;
}

.canales-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.canales-wrapper h2 {
    color: var(--primary-color);
    font-size: 2rem;
}

.canal-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.05);
}

.canal-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.canal-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.bg-whatsapp { background-color: var(--whatsapp-color); }
.bg-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.bg-facebook { background-color: var(--facebook-color); }
.bg-maps { background-color: #EA4335; }

.canal-content {
    flex-grow: 1;
}

.canal-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.canal-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   Banner Formula
   ========================================================================== */
.banner-formula {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.banner-formula::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0iTTAgMGgyMHYyMEgwem0xMCAxMGE1IDUgMCAxIDAgMC0xMCA1IDUgMCAwIDAgMCAxMHoiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSIvPjwvc3ZnPg==');
    opacity: 0.5;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.banner-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    opacity: 0.9;
}

.banner-formula h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.banner-formula p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ==========================================================================
   Galeria Grid
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 1;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

/* Map Section */
.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
}

.map-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-maps-google {
    background: #1a73e8;
    color: white;
}
.btn-maps-google:hover {
    background: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.35);
}

.btn-maps-waze {
    background: #33ccff;
    color: #1a1a2e;
}
.btn-maps-waze:hover {
    background: #00b8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 204, 255, 0.35);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-light);
    color: var(--text-main);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
}

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

.footer-logo {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-logo img {
    mix-blend-mode: multiply;
}

.footer-disclaimer {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-weight: 600;
}

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

.footer ul a {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-legal a {
    color: var(--text-muted);
}
.footer-legal a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ==========================================================================
   FAB WhatsApp
   ========================================================================== */
.fab-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-whatsapp:hover {
    transform: scale(1.1);
    background-color: var(--whatsapp-hover);
    color: white;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-content { max-width: 100%; text-align: center; margin: 0 auto; }
    .hero-badge { margin-left: auto; margin-right: auto; }
    .hero-logo-heading { display: flex; justify-content: center; }
    .hero-logo-img { max-width: 350px; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-trust-indicators { justify-content: center; }
    .hero-photo-wrapper { order: -1; }
    .hero-photo-card img { height: auto; }
    .hero-social-float { right: 8px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        justify-content: center;
        transition: left 0.3s ease;
        padding: 2rem;
    }

    .nav.active { left: 0; }
    
    .header.scrolled .nav { top: 60px; height: calc(100vh - 60px); }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        font-size: 1.25rem;
    }

    .nav-btn { width: 100%; margin-top: 2rem; }

    .hero-logo-img { max-width: 280px; }
    .hero h2 { font-size: 1.35rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn-whatsapp-hero { width: 100%; padding: 1.1rem 1.5rem; }
    .btn-location-hero { width: 100%; }
    .hero-social-float { display: none; }
    .hero-photo-card img { height: auto; }
    .hero-photo-badge { font-size: 0.78rem; padding: 0.6rem 1.2rem; }
    .hero-trust-indicators { gap: 1rem; }
    .trust-item { font-size: 0.8rem; }

    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    
    .info-card-wrapper { position: relative; top: 0; margin-bottom: 2rem; }
    
    .canal-card { flex-direction: column; text-align: center; }
    
    .gallery-grid { grid-template-columns: 1fr; gap: 1rem; }
    
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    
    .fab-whatsapp { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.5rem; }
}

/* ==========================================================================
   Carousel Reseñas
   ========================================================================== */
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none; /* Firefox */
}

.carousel-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.review-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
    .review-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-info strong {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.2;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.google-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 0;
    top: 0;
}

.review-stars {
    color: #fbbc05;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 2px;
}

.review-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.5;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #E2E8F0;
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

/* ==========================================================================
   Estilos de Rediseño Visual Moderno y Efectos Premium
   ========================================================================== */

/* Animación de Flotación y Rotación de X */
@keyframes floatAndRotate {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.deco-x {
    animation: floatAndRotate 9s ease-in-out infinite !important;
    filter: drop-shadow(0 0 25px rgba(136, 206, 77, 0.5)) !important;
    opacity: 0.38 !important;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.deco-x:hover {
    filter: drop-shadow(0 0 35px rgba(3, 23, 178, 0.75)) !important;
    opacity: 0.75 !important;
    transform: scale(1.1) rotate(12deg) !important;
}

/* Glassmorphism Header */
.header {
    background-color: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5) !important;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.88) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(3, 23, 178, 0.05) !important;
}

/* Orbes de Resplandor Ambiental (Ambient Glow Orbs) */
.glow-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(140px);
    opacity: 0.14;
    will-change: transform;
}
.glow-orb-primary {
    background: radial-gradient(circle, var(--primary-color) 0%, rgba(3, 23, 178, 0) 70%);
}
.glow-orb-secondary {
    background: radial-gradient(circle, var(--secondary-color) 0%, rgba(136, 206, 77, 0) 70%);
}

/* Rediseño de Tarjetas a Vidrio Esmerilado */
.card {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05) !important;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal) !important;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px -15px rgba(3, 23, 178, 0.12), 0 0 30px -5px rgba(136, 206, 77, 0.06) !important;
    border-color: rgba(136, 206, 77, 0.45) !important;
}

.canal-card {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.03) !important;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal) !important;
}

.canal-card:hover {
    transform: translateX(8px) !important;
}

.canal-card:has(.bg-whatsapp):hover {
    border-color: rgba(37, 211, 102, 0.45) !important;
    box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.25) !important;
}

.canal-card:has(.bg-instagram):hover {
    border-color: rgba(225, 48, 108, 0.45) !important;
    box-shadow: 0 10px 30px -10px rgba(225, 48, 108, 0.25) !important;
}

.canal-card:has(.bg-facebook):hover {
    border-color: rgba(24, 119, 242, 0.45) !important;
    box-shadow: 0 10px 30px -10px rgba(24, 119, 242, 0.25) !important;
}

.canal-card:has(.bg-maps):hover {
    border-color: rgba(3, 23, 178, 0.45) !important;
    box-shadow: 0 10px 30px -10px rgba(3, 23, 178, 0.25) !important;
}

/* Botones Premium */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all var(--transition-normal) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3aed 100%) !important;
    border: none !important;
    box-shadow: 0 4px 15px -3px rgba(3, 23, 178, 0.3) !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -3px rgba(3, 23, 178, 0.45), 0 0 15px rgba(136, 206, 77, 0.2) !important;
}

.btn-outline:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 8px 20px -3px rgba(3, 23, 178, 0.3) !important;
    transform: translateY(-2px);
}

