﻿@import url('https://images.pexels.com/photos/6838610/pexels-photo-6838610.jpeg?auto=compress&cs=tinysrgb&w=1920');

/* ========================================
   GERIÁTRICO SANTA MÓNICA - Landing Page
   Moderno 2026
   ======================================== */

/* ========================================
   PREMIUM PAGE ENTRY ANIMATION (2026)
   ======================================== */
body::before, body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    transform-origin: bottom;
    pointer-events: none;
}

body::before {
    background: #1A1A1A;
    animation: premiumSwipeUp 1.2s cubic-bezier(0.77, 0, 0.175, 1) 0.1s forwards;
}

body::after {
    background: var(--color-navy);
    animation: premiumSwipeUp 1.2s cubic-bezier(0.77, 0, 0.175, 1) 0.3s forwards;
}

@keyframes premiumSwipeUp {
    0% { transform: scaleY(1); }
    100% { transform: scaleY(0); }
}

/* Hero Content Delay */
.hero-content {
    animation: heroFadesIn 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s forwards !important;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes heroFadesIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Ripple Effect */
@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(20);
        opacity: 0;
    }
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Glow Pulse */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(212,168,83,0.3); }
    50% { box-shadow: 0 0 40px rgba(212,168,83,0.6); }
}

/* CSS Variables */
:root {
    /* Colors - Paleta moderna */
    --color-navy: #1E3A5F;
    --color-navy-light: #2A4A73;
    --color-sky: #4A90A4;
    --color-sky-light: #5BA3B7;
    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #128C7E;
    --color-cream: #F8F6F0;
    --color-white: #FFFFFF;
    --color-gold: #D4A853;
    --color-gold-light: #E8C87A;
    --color-text: #2D3436;
    --color-text-light: #636E72;
    --color-text-muted: #95A5A6;
    --color-bg-light: #F8F9FA;
    --color-bg-cream: #FFF9F0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-navy) 0%, var(--color-sky) 100%);
    --gradient-hero: linear-gradient(135deg, #1a2f4a 0%, #2d5a6e 50%, #3d7a8e 100%);
    --gradient-card: linear-gradient(145deg, var(--color-white) 0%, #f8f9fa 100%);
    --gradient-gold: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    --gradient-whatsapp: linear-gradient(135deg, #25D366 0%, #20B358 100%);

    /* Typography */
    --font-title: 'DM Serif Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', Arial, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Shadows - Modernas */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(37, 211, 102, 0.3);
    --shadow-card: 0 4px 24px -4px rgba(30, 58, 95, 0.15);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 50%;

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

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

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

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

ul {
    list-style: none;
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-navy);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: var(--transition-normal);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-whatsapp);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-white);
}

.btn-whatsapp {
    background: var(--gradient-whatsapp);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    border-radius: var(--radius-xl);
}

/* Section Styles */
section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    max-width: 640px;
    margin: var(--spacing-md) auto 0;
    line-height: 1.7;
}

/* Hero Line */
.hero-line {
    background: rgba(255,255,255,0.95);
    padding: 8px 20px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 15px;
}
.hero-line span {
    color: #1E3A5F;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Guardia de Emergencia */
.guardia-emergencia {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 40px 0;
    text-align: center;
}
.guardia-emergencia .guardia-content i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.guardia-emergencia h3 {
    margin-bottom: 10px;
    color: white;
}

/* Profesionales */
.profesionales {
    padding: 60px 0;
    background: #f8f9fa;
}
.profesionales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.profesional-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.profesional-item:hover {
    transform: translateY(-5px);
}
.profesional-item i {
    font-size: 1.8rem;
    color: #1E3A5F;
    margin-bottom: 10px;
    display: block;
}
.profesional-item span {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   HEADER - Premium 2026
   ======================================== */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0turn;
    inherits: false;
}

@keyframes rotateBorder {
    to { --border-angle: 1turn; }
}

.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 100px;
    z-index: 1000;
    padding: 0.75rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    top: 10px;
    padding: 0.5rem 1.5rem;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-lg);
    height: 72px;
    max-width: 1400px;
    margin: 0 auto;
    transition: height var(--transition-normal);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-navy);
    letter-spacing: -0.02em;
}

.logo-img {
    height: 55px !important;
    max-height: 55px !important;
    width: auto !important;
    display: block;
    object-fit: contain !important;
    transition: height var(--transition-normal), max-height var(--transition-normal);
}

.header.scrolled .logo-img {
    height: 40px !important;
    max-height: 40px !important;
}

.footer-logo-img {
    height: 60px !important;
    width: auto !important;
    max-width: 100% !important;
    opacity: 0.9;
    object-fit: contain !important;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #25D366 0%, #20B358 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.logo-icon i {
    font-size: 1.125rem;
    color: white;
}

.logo span {
    position: relative;
}

.logo span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.5;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    border-radius: 50px;
    transition: all 0.25s ease;
    margin: 0 2px;
}

.nav-link:hover {
    color: var(--color-navy);
    background: rgba(30, 58, 95, 0.04);
}

.nav-link.active {
    color: var(--color-navy);
    background: rgba(30, 58, 95, 0.06);
}

.nav-link::after {
    display: none;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #25D366 0%, #20B358 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(37, 211, 102, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.header-cta i {
    font-size: 1rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.25s ease;
    background: transparent;
}

.menu-toggle:hover {
    background: rgba(30, 58, 95, 0.04);
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-navy);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ========================================
   HERO - Premium
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 31, 48, 0.5) 0%, rgba(26, 58, 79, 0.45) 50%, rgba(35, 69, 86, 0.5) 100%),
                url('https://images.unsplash.com/photo-1551076805-e1869033e561?w=1920../images/hero1.jpgq=80') center/cover no-repeat;
    padding-top: 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(37, 211, 102, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(212, 168, 83, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 40% 60% at 50% 50%, rgba(74, 144, 164, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--color-white), transparent);
    pointer-events: none;
}

/* Decorative elements */
.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-decoration::before,
.hero-decoration::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-decoration::before {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
}

.hero-decoration::after {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    padding: var(--spacing-lg);
    z-index: 1;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(10px);
}

.hero-badge-pill i {
    color: #25D366;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, #D4A853 0%, #E8C87A 50%, #D4A853 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
    line-height: 1.75;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.85);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.hero-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 0.625rem 1.125rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-badges .badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-badges .badge i {
    color: #D4A853;
    font-size: 0.875rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.hero .btn-primary {
    background: linear-gradient(135deg, #25D366 0%, #20B358 100%);
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
    padding: 1rem 2rem;
    border-radius: 14px;
}

.hero .btn-primary:hover {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
    transform: translateY(-3px);
}

.hero .btn-outline {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 14px;
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   SERVICIOS
   ======================================== */
.servicios {
    background: var(--color-bg-cream);
    position: relative;
}

.servicios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--color-white), transparent);
}

.servicios-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
}

.servicios-intro p {
    font-style: italic;
    color: var(--color-navy);
    font-family: var(--font-title);
    font-size: var(--font-size-xl);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.servicio-card {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.servicio-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.servicio-card:hover::before {
    transform: scaleX(1);
}

.servicio-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.servicio-card:hover .servicio-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-whatsapp);
}

.servicio-icon i {
    font-size: 2rem;
    color: var(--color-white);
}

.servicio-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-navy);
    font-family: var(--font-title);
}

.servicio-description {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.7;
}

/* ========================================
   INSTALACIONES
   ======================================== */
.instalaciones {
    background: var(--color-white);
    padding: var(--spacing-2xl) 0;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.galeria-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    aspect-ratio: 1;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.galeria-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 58, 95, 0.95) 0%, rgba(30, 58, 95, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: var(--spacing-lg);
    opacity: 0;
    transition: var(--transition-normal);
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-overlay i {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 0.75rem;
    transform: translateY(10px);
    transition: var(--transition-normal);
}

.galeria-item:hover .galeria-overlay i {
    transform: translateY(0);
}

.galeria-overlay span {
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.125rem;
}

/* ========================================
   TESTIMONIOS
   ======================================== */
.testimonios {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.testimonios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(212, 168, 83, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(37, 211, 102, 0.15) 0%, transparent 40%);
}

.testimonios .section-title {
    color: var(--color-white);
    position: relative;
}

.testimonios .section-title::after {
    background: var(--color-gold-light);
}

.testimonios .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
    position: relative;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    position: relative;
}

.testimonio-card {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: var(--transition-normal);
}

.testimonio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.testimonio-quote {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    font-size: 4rem;
    color: var(--color-gold);
    opacity: 0.2;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonio-text {
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.testimonio-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.testimonio-avatar {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.testimonio-avatar i {
    color: var(--color-white);
    font-size: 1.375rem;
}

.testimonio-info h4 {
    font-family: var(--font-title);
    font-size: 1.0625rem;
    color: var(--color-navy);
    margin: 0;
    font-weight: 400;
}

.testimonio-info span {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* ========================================
   SOBRE NOSOTROS
   ======================================== */
.sobre-nosotros {
    background: var(--color-white);
}

.sobre-nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.sobre-nosotros-text {
    padding-right: var(--spacing-lg);
}

.sobre-nosotros-description {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: var(--spacing-lg);
    font-size: 1.125rem;
    background: var(--color-bg-cream);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    display: inline-flex;
}

.rating-display i {
    color: var(--color-gold);
    font-size: 1rem;
}

.rating-display span {
    color: var(--color-text);
    font-weight: 600;
}

.sobre-nosotros-features {
    display: grid;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: var(--spacing-sm);
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.feature:hover {
    background: var(--color-bg-cream);
    transform: translateX(8px);
}

.feature i {
    color: var(--color-whatsapp);
    font-size: 1rem;
    width: 24px;
    text-align: center;
}

.feature span {
    font-weight: 500;
    color: var(--color-text);
}

.sobre-nosotros-image {
    position: relative;
}

.sobre-nosotros-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--color-gold);
    opacity: 0.2;
    border-radius: var(--radius-xl);
    z-index: 0;
}

.sobre-nosotros-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

/* ========================================
   FAQ
   ======================================== */
.faq {
    background: var(--color-bg-cream);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--color-navy);
    text-align: left;
    transition: var(--transition-normal);
    background: transparent;
}

.faq-question:hover {
    background: rgba(30, 58, 95, 0.03);
}

.faq-question i {
    font-size: 1rem;
    transition: var(--transition-normal);
    color: var(--color-gold);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-cream);
    border-radius: var(--radius-full);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    background: var(--color-whatsapp);
    color: var(--color-white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.faq-answer p {
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.8;
    font-size: 1rem;
}

/* ========================================
   CONTACTO
   ======================================== */
.contacto {
    background: var(--color-white);
    position: relative;
}

.contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: var(--gradient-primary);
    opacity: 0.05;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contacto-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.04);
}

.contacto-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.contacto-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contacto-icon i {
    color: var(--color-white);
    font-size: 1.375rem;
}

.contacto-details h4 {
    font-family: var(--font-title);
    font-size: 1rem;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.contacto-details p,
.contacto-details a {
    color: var(--color-text-light);
    margin: 0;
    font-size: 0.9375rem;
    display: block;
}

.contacto-details a {
    color: var(--color-whatsapp);
    font-weight: 600;
}

.contacto-details a:hover {
    color: var(--color-whatsapp-dark);
    text-decoration: underline;
}

.contacto-mapa {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.04);
}

.contacto-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
    position: relative;
}

/* ========================================
   FOOTER - Premium
   ======================================== */
.footer {
    background: linear-gradient(180deg, #0f1f30 0%, #1a3a4f 100%);
    color: var(--color-white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 0% 0%, rgba(37, 211, 102, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(212, 168, 83, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.3), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.footer-brand .logo-icon {
    background: linear-gradient(135deg, #25D366, #20B358);
}

.footer-brand .logo span::after {
    display: none;
}

.footer-brand p {
    opacity: 0.8;
    margin: 0;
    line-height: 1.75;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-cta {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-cta p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25D366, #20B358);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.footer h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #25D366, #D4A853);
    border-radius: 1px;
}

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

.footer-links a {
    opacity: 0.8;
    transition: var(--transition-normal);
    font-size: 0.9375rem;
    display: block;
    padding: 0.25rem 0;
    color: #ffffff !important;
    text-decoration: none !important;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-gold-light) !important;
    padding-left: 8px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-contact li, .footer-contact a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    opacity: 0.85;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.9375rem;
}

.footer-contact a:hover {
    opacity: 1;
    color: var(--color-gold-light);
}

.footer-contact i {
    color: var(--color-gold);
    width: 18px;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
    background: var(--color-whatsapp);
    transform: translateY(-4px);
    border-color: var(--color-whatsapp);
}

.social-links i {
    color: var(--color-white);
    font-size: 1.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.875rem;
    margin: 0.25rem 0;
}

/* ========================================
   FLOATING WHATSAPP
   ======================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
    background: var(--gradient-whatsapp);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse-modern 2.5s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp i {
    color: var(--color-white);
    font-size: 1.875rem;
}

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

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Large Desktop */
@media (max-width: 1400px) {
    .hero-title {
        font-size: var(--font-size-4xl);
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }

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

    .galeria-item:first-child {
        grid-column: span 2;
    }

    .sobre-nosotros-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .sobre-nosotros-text {
        padding-right: 0;
        order: 2;
    }

    .sobre-nosotros-image {
        order: 1;
    }

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

/* Mobile */
@media (max-width: 768px) {
    section {
        padding: var(--spacing-xl) 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .header-container {
        padding: var(--spacing-sm);
    }

    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        padding: var(--spacing-md);
        gap: 0;
    }

    .nav-link {
        padding: var(--spacing-sm) 0;
        width: 100%;
        display: block;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 120px var(--spacing-sm) var(--spacing-xl);
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .hero-badges .badge {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

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

    .galeria-item:first-child {
        grid-column: span 1;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links,
    .footer-contact {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .floating-whatsapp {
        width: 56px;
        height: 56px;
        bottom: 24px;
        right: 24px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .servicio-card {
        padding: var(--spacing-lg);
    }

    .faq-question {
        font-size: 0.9375rem;
    }

    .contacto-item {
        padding: var(--spacing-md);
    }

    .btn {
        padding: 0.875rem 1.5rem;
    }
}
/* ========================================
   NUEVO CONTACTO WHATSAPP FORM
   ======================================== */
.contacto-header-new {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.contacto-badge {
    color: #6c7a89;
    font-size: 1.1rem;
    font-weight: 600;
}

.contacto-badge::before {
    content: "•";
    color: #8cc63f;
    margin-right: 8px;
    font-size: 1.5rem;
    vertical-align: middle;
}

.contacto-title-new {
    font-family: var(--font-body);
    font-size: 2.5rem;
    color: var(--color-navy);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 10px;
}

.contacto-title-new em {
    font-family: var(--font-title);
    font-style: italic;
    font-weight: 400;
    color: #2F4D6B;
}

.contacto-split {
    display: flex;
    gap: 3rem;
    align-items: stretch;
    margin-top: var(--spacing-lg);
}

.contacto-image {
    flex: 0 1 45%;
    max-width: 45%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contacto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contacto-form-wrapper {
    flex: 1;
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.whatsapp-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}

.form-header {
    text-align: center;
    color: var(--color-navy);
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.whatsapp-form .form-group input,
.whatsapp-form .form-group textarea {
    width: 100%;
    padding: 16px;
    background-color: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    transition: var(--transition-fast);
}

.whatsapp-form .form-group input:focus,
.whatsapp-form .form-group textarea:focus {
    outline: none;
    border-color: #8cc63f;
    box-shadow: 0 0 0 3px rgba(140, 198, 63, 0.2);
}

.btn-whatsapp-submit {
    background-color: #8cc63f;
    color: white;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-whatsapp-submit:hover {
    background-color: #7ab332;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(122, 179, 50, 0.4);
}

@media (max-width: 900px) {
    .contacto-split {
        flex-direction: column;
    }

    .contacto-image {
        max-width: 100%;
        min-height: 300px;
    }
}

.footer .nav-link { color: rgba(255, 255, 255, 0.8) !important; }
.footer .nav-link:hover { color: var(--color-white) !important; }

/* ========================================
   MOBILE BOTTOM NAVIGATION BAR
   ======================================== */
.mobile-bottom-nav {
        transform: translate3d(0, 0, 0);
        will-change: transform;
    display: none;
}

@media (max-width: 768px) {
    /* Floating pill bottom nav */
    .mobile-bottom-nav {
        transform: translate3d(0, 0, 0);
        will-change: transform;
        display: flex;
        position: fixed;
        bottom: 12px;
        left: 12px;
        right: 12px;
        z-index: 9999;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
        padding: 8px 4px 12px;
        justify-content: space-around;
        align-items: center;
        border-radius: 100px;
        height: 60px;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1px;
        padding: 4px 0;
        color: #888;
        font-size: 0.6rem;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s ease;
        flex: 1;
        letter-spacing: 0.02em;
    }

    .mobile-nav-item i {
        font-size: 1.05rem;
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .mobile-nav-item:active {
        color: var(--color-navy, #1E3A5F);
    }

    .mobile-nav-item:active i {
        transform: scale(1.15);
    }

    /* WhatsApp center bubble - overflows above */
    .mobile-nav-whatsapp {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: -30px;
        color: #25D366;
    }

    .whatsapp-bubble {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        flex-shrink: 0;
    }

    .whatsapp-bubble i {
        font-size: 1.4rem;
        color: white !important;
    }

    .mobile-nav-whatsapp:active .whatsapp-bubble {
        transform: scale(1.1);
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
    }

    .mobile-nav-whatsapp span {
        color: #128C7E;
        font-weight: 700;
        font-size: 0.55rem;
        margin-top: 1px;
    }

    /* Hide floating WhatsApp on mobile */
    .floating-whatsapp {
        display: none !important;
    }

    /* Hide header CTA and hamburger on mobile */
    .header-cta,
    .menu-toggle,
    .nav {
        display: none !important;
    }

    /* Center logo on mobile */
    .header-container {
        justify-content: center !important;
    }

    /* Non-sticky transparent header with glowing logo */
    .header {
        position: absolute !important;
        width: auto !important;
        max-width: none !important;
        padding: 0.5rem 1rem !important;
        background: transparent !important;
        background-image: none !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .header.scrolled {
        position: absolute !important;
        background: transparent !important;
        background-image: none !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    .header .logo-img {
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8))
               drop-shadow(0 0 24px rgba(255, 255, 255, 0.4))
               drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
        transition: filter 0.3s ease;
    }

    .header.scrolled .logo-img {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9))
               drop-shadow(0 0 20px rgba(255, 255, 255, 0.5))
               drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
    }

    .header.scrolled .header-container,
    .header-container {
        height: auto !important;
    }

    /* Body/footer padding for bottom nav */
    body {
        padding-bottom: 90px;
    }

    .footer {
        padding-bottom: 90px;
    }
}
