        :root {
            /* Paleta basada en el flyer (dorado + crema + carbón) */
            --primary-color: #B38050;      /* Dorado principal */
            --primary-dark: #8B5A2B;       /* Dorado profundo */
            --accent-color: #D9B58E;       /* Champagne / acento */
            --accent-dark: #C49A70;        /* Champagne oscuro */

            --dark-color: #1F1B18;         /* Carbón cálido */
            --dark-secondary: #3A2F28;     /* Carbón secundario */

            --light-gray: #F7F2EC;         /* Fondo cálido */
            --text-color: #2B2420;         /* Texto principal */
            --text-secondary: #6B5E55;     /* Texto secundario */
            --white-color: #FFFFFF;
            --border-color: #E6D8CC;

            /* RGB helpers para transparencias */
            --primary-rgb: 179, 128, 80;
            --accent-rgb: 217, 181, 142;

            --gradient-1: linear-gradient(135deg, #B38050 0%, #D9B58E 100%);
            --gradient-2: linear-gradient(135deg, #3A2F28 0%, #B38050 100%);

            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
            --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
            --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.16);
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background-color: var(--light-gray);
            color: var(--text-color);
            line-height: 1.7;
            overflow-x: hidden;
        }

        .container {
            width: 90%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Moderno con Glassmorphism */
        header {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid rgba(226, 232, 240, 0.5);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        header.scrolled {
            box-shadow: var(--shadow-md);
            background: rgba(255, 255, 255, 0.95);
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 18px 0;
        }

        .logo a {
            font-family: 'Sora', sans-serif;
            font-size: 1.5rem;
            font-weight: 800;
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-decoration: none;
            letter-spacing: -0.5px;
        }

        .nav-links {
            display: flex;
            list-style: none;
            align-items: center;
            gap: 8px;
        }

        .nav-links a {
            color: var(--text-color);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            padding: 10px 16px;
            border-radius: 8px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }

        .nav-links a:hover {
            color: var(--primary-color);
            background: rgba(var(--primary-rgb), 0.06);
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--gradient-1);
            color: var(--white-color);
            padding: 12px 28px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.3);
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.4);
        }

        .btn-secondary {
            background: var(--white-color);
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
            box-shadow: none;
        }

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

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

        /* Hero Section Ultra Moderno */
        .hero {
    padding: 180px 0 120px;
    background: var(--dark-color); /* Fondo base */
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    z-index: 1; /* Crea un contexto de apilamiento */
}

/* Tu animación de luces actual (se queda igual) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(8, 62, 2, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 217, 163, 0.15) 0%, transparent 50%);
    animation: gradientShift 8s ease infinite;
    z-index: -1; /* Detrás del texto */
}

/* NUEVO: La imagen de fondo traslúcida */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* --- PON AQUÍ LA URL DE TU IMAGEN --- */
    background-image: url('/img/header.jpg'); 
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* CLAVE: Opacidad baja para que sea sutil */
    opacity: 0.1; /* Juega con este valor: 0.05 (muy sutil) a 0.2 (más visible) */
    
    /* Asegura que esté detrás de todo */
    z-index: -2; 
    
    /* Opcional: Escala de grises para que no choque con tus colores */
    filter: grayscale(100%);
}

        @keyframes gradientShift {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.8; }
        }

        .hero-grid {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
            background-size: 50px 50px;
            opacity: 0.5;
        }

        .hero-content {
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 8px 20px;
            border-radius: 100px;
            color: var(--accent-color);
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 24px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            animation: fadeInDown 0.6s ease;
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero h1 {
            font-family: 'Sora', sans-serif;
            font-size: 4rem;
            font-weight: 800;
            color: var(--white-color);
            margin-bottom: 20px;
            line-height: 1.1;
            letter-spacing: -2px;
            animation: fadeInUp 0.8s ease 0.2s both;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero h1 .gradient-text {
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: 1.5rem;
            color: var(--accent-color);
            font-weight: 600;
            margin-bottom: 16px;
            min-height: 40px;
            animation: fadeInUp 0.8s ease 0.4s both;
        }

        .hero p {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 40px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.8;
            animation: fadeInUp 0.8s ease 0.6s both;
        }

        .hero-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
            animation: fadeInUp 0.8s ease 0.8s both;
        }

        .hero-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin-top: 80px;
            animation: fadeInUp 0.8s ease 1s both;
        }

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

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--white-color);
            font-family: 'Sora', sans-serif;
        }

        .stat-label {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.95rem;
            margin-top: 8px;
        }

        /* Sections */
        section {
            padding: 100px 0;
            position: relative;
        }

        .section-title {
            text-align: center;
            margin-bottom: 70px;
        }

        .section-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(var(--primary-rgb), 0.1);
            color: var(--primary-color);
            padding: 8px 20px;
            border-radius: 100px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 16px;
        }

        .section-title h2 {
            font-family: 'Sora', sans-serif;
            font-size: 3rem;
            margin-bottom: 20px;
            color: var(--dark-color);
            font-weight: 800;
            letter-spacing: -1px;
        }

        .section-title p {
            color: var(--text-secondary);
            font-size: 1.15rem;
            max-width: 650px;
            margin: 0 auto;
        }

        /* About Section */
        #about {
            background: var(--white-color);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .about-text h3 {
            font-family: 'Sora', sans-serif;
            font-size: 1.8rem;
            color: var(--dark-color);
            margin-bottom: 20px;
            font-weight: 700;
        }

        .about-text .lead {
            font-size: 1.15rem;
            color: var(--text-secondary);
            margin-bottom: 40px;
            line-height: 1.8;
        }

        .commitments-list {
            list-style: none;
            padding: 0;
        }

        .commitments-list li {
            display: flex;
            gap: 20px;
            margin-bottom: 28px;
            padding: 24px;
            background: var(--light-gray);
            border-radius: 16px;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }

        .commitments-list li:hover {
            transform: translateX(8px);
            border-color: var(--accent-color);
            box-shadow: var(--shadow-md);
        }

        .commitments-list .icon {
            font-size: 1.8rem;
            color: var(--accent-color);
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--white-color);
            border-radius: 12px;
            flex-shrink: 0;
        }

        .commitments-list strong {
            color: var(--dark-color);
            display: block;
            margin-bottom: 4px;
            font-weight: 700;
        }

        .profile-img-container {
            position: relative;
        }

        .profile-img-placeholder {
            width: 100%;
            max-width: 450px;
            height: 450px;
            border-radius: 24px;
            background: var(--gradient-1);
            padding: 8px;
            box-shadow: var(--shadow-xl);
            margin: 0 auto;
            position: relative;
            overflow: hidden;
        }

        .profile-img-placeholder::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
            animation: shimmer 3s infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
            100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
        }

        .profile-img-inner {
            width: 100%;
            height: 100%;
            border-radius: 18px;
            background: var(--light-gray);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        /* Services Grid Moderno */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
            gap: 32px;
        }

        .service-card {
            padding: 40px 32px;
            background: var(--white-color);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-1);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }

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

        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl);
            border-color: transparent;
        }

        .service-icon {
            width: 72px;
            height: 72px;
            background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--accent-rgb), 0.1));
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
            font-size: 2rem;
            color: var(--primary-color);
            transition: all 0.4s ease;
        }

        .service-card:hover .service-icon {
            transform: rotateY(360deg) scale(1.1);
            background: var(--gradient-1);
            color: var(--white-color);
        }

        .service-card h3 {
            font-family: 'Sora', sans-serif;
            margin-bottom: 16px;
            color: var(--dark-color);
            font-size: 1.3rem;
            font-weight: 700;
        }

        .service-card p {
            color: var(--text-secondary);
            line-height: 1.7;
        }

        /* Why Choose Section */
        #ventajas {
            background: var(--dark-color);
            color: var(--white-color);
        }

        #ventajas .section-title h2,
        #ventajas .section-title p {
            color: var(--white-color);
        }

        #ventajas.section-badge {
            background: rgba(var(--accent-rgb), 0.2);
            color: var(--accent-color);
        }

        .ventajas-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 32px;
        }

        .reason-card {
            padding: 40px 32px;
            text-align: center;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            transition: all 0.4s ease;
        }

        .reason-card:hover {
            transform: translateY(-8px);
            background: rgba(255, 255, 255, 0.08);
            border-color: var(--accent-color);
        }

        .reason-icon {
            width: 80px;
            height: 80px;
            background: var(--gradient-1);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
            font-size: 2rem;
            color: var(--white-color);
            transition: all 0.4s ease;
        }

        .reason-card:hover .reason-icon {
            transform: scale(1.1) rotate(5deg);
        }

        .reason-card h3 {
            font-family: 'Sora', sans-serif;
            margin-bottom: 16px;
            font-size: 1.3rem;
            font-weight: 700;
        }

        .reason-card p {
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.7;
        }

     
        .faq-container {
            max-width: 900px;
            margin: 0 auto;
        }

        .faq-item {
            margin-bottom: 20px;
            border: 1px solid var(--border-color);
            border-radius: 16px;
            background: var(--white-color);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            box-shadow: var(--shadow-md);
        }

        .faq-question {
            padding: 28px 32px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .faq-question:hover {
            background: var(--light-gray);
        }

        .faq-question h3 {
            font-size: 1.1rem;
            margin: 0;
            color: var(--dark-color);
            font-weight: 600;
        }

        .faq-question i {
            color: var(--primary-color);
            font-size: 1.2rem;
            transition: transform 0.3s ease;
        }

        .faq-answer {
            padding: 0 32px;
            max-height: 0;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .faq-answer.active {
            padding: 0 32px 28px;
            max-height: 500px;
        }

        .faq-question.active {
            background: var(--light-gray);
        }

        .faq-question.active i {
            transform: rotate(180deg);
        }

        .faq-answer p {
            color: var(--text-secondary);
            line-height: 1.8;
        }

        /* Contact Section */
        #contact {
            background: var(--white-color);
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 48px;
        }

        .contact-info {
            padding: 40px;
            background: var(--light-gray);
            border-radius: 20px;
            height: fit-content;
        }

        .contact-info h3 {
            font-family: 'Sora', sans-serif;
            font-size: 1.5rem;
            margin-bottom: 32px;
            color: var(--dark-color);
            font-weight: 700;
        }

        .contact-item {
            display: flex;
            gap: 20px;
            margin-bottom: 32px;
        }

        .contact-item:last-child {
            margin-bottom: 0;
        }

        .contact-icon {
            width: 56px;
            height: 56px;
            background: var(--gradient-1);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            color: var(--white-color);
            flex-shrink: 0;
        }

        .contact-item h4 {
            color: var(--dark-color);
            margin-bottom: 6px;
            font-weight: 600;
        }

        .contact-item p {
            color: var(--text-secondary);
            line-height: 1.6;
        }

        .contact-form {
            padding: 40px;
            background: var(--white-color);
            border: 1px solid var(--border-color);
            border-radius: 20px;
        }

        .contact-form h3 {
            font-family: 'Sora', sans-serif;
            font-size: 1.5rem;
            margin-bottom: 32px;
            color: var(--dark-color);
            font-weight: 700;
        }

        .form-group {
            margin-bottom: 24px;
        }

        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: var(--dark-color);
        }

        .form-control {
            width: 100%;
            padding: 14px 18px;
            border: 2px solid var(--border-color);
            border-radius: 12px;
            font-size: 1rem;
            font-family: 'Inter', sans-serif;
            transition: all 0.3s ease;
            background: var(--light-gray);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary-color);
            background: var(--white-color);
            box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
        }

        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }

        /* Footer Moderno */
        footer {
            background: var(--dark-color);
            color: var(--white-color);
            padding: 60px 0 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
        }

        .footer-logo {
            font-family: 'Sora', sans-serif;
            font-size: 1.8rem;
            font-weight: 800;
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .social-links {
            display: flex;
            gap: 16px;
        }

        .social-links a {
            width: 48px;
            height: 48px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white-color);
            font-size: 1.3rem;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

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

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-bottom p {
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 8px;
        }

        .footer-bottom a {
            color: var(--accent-color);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

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

        /* Floating Buttons */
        .floating-buttons {
            position: fixed;
            bottom: 32px;
            right: 32px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            z-index: 1000;
        }

        .whatsapp-btn,
        .scroll-top {
            width: 60px;
            height: 60px;
            border-radius: 16px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--white-color);
            font-size: 1.6rem;
            box-shadow: var(--shadow-lg);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            border: none;
            cursor: pointer;
        }

        .whatsapp-btn {
            background: linear-gradient(135deg, #25D366, #128C7E);
        }

        .scroll-top {
            background: var(--gradient-1);
        }

        .whatsapp-btn:hover,
        .scroll-top:hover {
            transform: translateY(-6px) scale(1.05);
            box-shadow: var(--shadow-xl);
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .hero h1 {
                font-size: 3rem;
            }

            .section-title h2 {
                font-size: 2.5rem;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 60px;
            }

            .profile-img-placeholder {
                max-width: 400px;
                height: 400px;
            }
        }

        @media (max-width: 768px) {
            .menu-toggle {
                display: block; /* Muestra el icono de la hamburguesa */
            }

            .nav-links {
                /* Estilos base para el menú oculto en móvil */
                display: none; /* OCULTAR por defecto */
                flex-direction: column;
                position: absolute;
                top: 100%; /* Justo debajo del header */
                left: 0;
                width: 100%;
                background: var(--white-color);
                border-top: 1px solid var(--border-color);
                padding: 10px 0;
                box-shadow: var(--shadow-md);
            }

            .nav-links.active {
                display: flex; /* MOSTRAR cuando esté activo */
            }

            .nav-links li {
                width: 100%;
                text-align: center;
            }

            .nav-links a {
                width: 100%;
                padding: 16px;
            }

            .hero {
                padding: 140px 0 80px;
                min-height: auto;
            }

            .hero h1 {
                font-size: 2.2rem;
            }

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

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

            .hero-stats {
                grid-template-columns: 1fr;
                gap: 32px;
            }

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

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

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

            section {
                padding: 60px 0;
            }

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

            .contact-content {
                grid-template-columns: 1fr;
            }

            .footer-content {
                flex-direction: column;
                gap: 32px;
                text-align: center;
            }

            .floating-buttons {
                bottom: 20px;
                right: 20px;
            }

            .whatsapp-btn,
            .scroll-top {
                width: 56px;
                height: 56px;
            }
        }

        @media (max-width: 480px) {
            .profile-img-placeholder {
                max-width: 300px;
                height: 300px;
            }

            .hero h1 {
                font-size: 1.8rem;
            }

            .commitments-list li {
                flex-direction: column;
                text-align: center;
            }
        }


        /* =======================================
        ESTILOS ESPECÍFICOS PARA 404 Y GRACIAS
        ======================================= */

        /* Estilos de la sección de error (404) */
        .error-section {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            text-align: center;
            background-color: var(--dark-color);
            color: var(--white-color);
            padding-top: 50px; /* Espacio para que no lo tape el header */
        }

        .error-content h1 {
            font-family: 'Sora', sans-serif;
            font-size: 8rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
            line-height: 1;
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .error-content h2 {
            font-family: 'Sora', sans-serif;
            font-size: 2rem;
            font-weight: 700;
            color: var(--white-color);
            margin-bottom: 1.5rem;
        }

        .error-content p {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 2rem;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Estilos de la sección de agradecimiento (Gracias) */
        .success-section {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            text-align: center;
            background-color: var(--white-color);
        }

        .success-icon {
            font-size: 5rem;
            color: var(--accent-color);
            margin-bottom: 1.5rem;
            animation: bounce 1s ease-in-out infinite alternate;
        }

        /* Animación de rebote para el ícono de éxito */
        @keyframes bounce {
            from { transform: translateY(0); }
            to { transform: translateY(-10px); }
        }

        .success-content h1 {
            font-family: 'Sora', sans-serif;
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        .success-content p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Ajuste Responsive para 404 */
        @media (max-width: 768px) {
            .error-content h1 {
                font-size: 6rem;
            }
            .error-content h2 {
                font-size: 1.5rem;
            }
        }

        /* =========================================
   NUEVO DISEÑO DE IMAGEN DE PERFIL (MODERNO)
   ========================================= */

/* 1. Contenedor principal: Define el espacio y centra */
.profile-img-container {
    position: relative;
    width: 100%;
    max-width: 420px; /* Ancho controlado y elegante */
    margin: 30px auto;
    z-index: 1; /* Asegura que la foto esté sobre la decoración */
}

/* 2. Marco decorativo trasero (El toque "Dorado/Bronce") 
   Crea el efecto de profundidad elegante. */
.profile-img-container::before {
    content: '';
    position: absolute;
    top: 25px;       /* Desplazado hacia abajo */
    right: -25px;    /* Desplazado a la derecha */
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color); /* Usa tu color dorado/bronce */
    border-radius: 24px;
    z-index: -1;     /* Se va detrás de la foto */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 3. Mancha de color sutil (Fondo verde suave)
   Da volumen sin ser invasivo. */
.profile-img-container::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 70%;
    height: 70%;
    background: var(--gradient-1); /* Tu gradiente verde principal */
    border-radius: 24px;
    z-index: -2;
    opacity: 0.1; /* Muy sutil, solo para dar atmósfera */
}

/* 4. La caja de la foto ("El Lienzo") */
.profile-img-placeholder {
    width: 100%;
    height: 500px; /* Altura vertical estilizada tipo retrato */
    border-radius: 20px;
    background: var(--white-color);
    box-shadow: var(--shadow-xl); /* Sombra profunda y suave */
    padding: 0; /* Eliminamos el padding para que la foto llene todo */
    overflow: hidden; /* Corta la imagen si se sale */
    position: relative;
    transition: all 0.4s ease;
}

/* 5. Estilo interno y corrección de la imagen */
.profile-img-inner {
    width: 100%;
    height: 100%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMPORTANTE: Estilo directo a la etiqueta IMG para que se vea perfecta */
.profile-img-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* IMPORTANTE: Evita que la foto se estire/aplaste */
    object-position: center top; /* Enfoca la cara (parte superior) */
    transition: transform 0.6s ease;
    display: block;
}

/* --- INTERACCIONES (Hover) --- */

/* Al pasar el mouse, el marco dorado se mueve ligeramente */
.profile-img-container:hover::before {
    transform: translate(-10px, -10px);
}

/* Al pasar el mouse, la foto hace un zoom muy suave (Efecto "Premium") */
.profile-img-container:hover .profile-img-inner img {
    transform: scale(1.05);
}

/* --- RESPONSIVE (Móvil) --- */
@media (max-width: 768px) {
    .profile-img-container {
        max-width: 320px; /* Más pequeño en celular */
        margin-bottom: 50px; /* Espacio extra para el marco desplazado */
    }
    
    .profile-img-placeholder {
        height: 400px; /* Altura proporcional en móvil */
    }

    .profile-img-container::before {
        top: 15px;
        right: -15px;
    }
}

/* =========================================
   BOTONES FLOTANTES (WhatsApp y Scroll)
   ========================================= */

.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* --- Botón WhatsApp Premium --- */
.whatsapp-btn {
    width: 65px;
    height: 65px;
    /* Usamos el gradiente de la marca en lugar del verde chillón */
    background: var(--gradient-1); 
    /* Borde dorado sutil para elegancia */
    border: 2px solid var(--accent-color); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 32px;
    text-decoration: none;
    
    /* Sombra profunda para que "flote" */
    box-shadow: 0 8px 25px rgba(22, 66, 60, 0.4); 
    
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Efecto al pasar el mouse */
.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--primary-color); /* Color sólido al tocar */
    color: var(--accent-color); /* El icono se vuelve dorado */
    box-shadow: 0 15px 35px rgba(22, 66, 60, 0.6);
}

/* Animación de "Pulso" (Onda expansiva dorada) */
.whatsapp-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--accent-color);
    animation: pulse-gold 2s infinite;
    z-index: -1;
}

@keyframes pulse-gold {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Asegurar que el icono esté centrado y nítido */
.whatsapp-btn i {
    margin-top: 2px; /* Ajuste óptico */
    transition: color 0.3s ease;
}

/* --- Ajuste Opcional para el botón de subir (Scroll Top) --- */
/* Para que no desentone con el nuevo botón de WhatsApp */
.scroll-top {
    width: 50px;
    height: 50px;
    background: var(--white-color);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: none; /* Se activa con JS al bajar */
    align-items: center;
    justify-content: center;
}

.scroll-top:hover {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.scroll-top.active {
    display: flex; /* Clase que añade el JS cuando haces scroll */
}

/* =========================================
   BOTÓN PREMIUM "AGENDAR ASESORÍA"
   ========================================= */

/* =========================================
   CORRECCIÓN: BOTÓN AGENDAR (Visible y Premium)
   ========================================= */

/* 1. Estado Normal: Fondo verde degradado y texto blanco */
.nav-links .btn {
    background: var(--gradient-1) !important; /* Fuerza el fondo verde */
    color: var(--white-color) !important;     /* Fuerza el texto blanco */
    border: 1px solid var(--accent-color) !important; /* Borde dorado */
    box-shadow: 0 4px 15px rgba(22, 66, 60, 0.3);
}

/* 2. Estado Hover (Al pasar el mouse): MANTENER FONDO OSCURO */
.nav-links .btn:hover {
    /* IMPORTANTE: Esto evita que se ponga blanco */
    background: var(--primary-color) !important; 
    
    color: var(--white-color) !important; /* Texto sigue blanco */
    border-color: var(--white-color) !important; /* El borde brilla en blanco */
    box-shadow: 0 0 20px var(--accent-color) !important; /* Resplandor dorado */
    transform: translateY(-3px);
}

/* 3. Asegurar que el icono también sea blanco */
.nav-links .btn i {
    color: var(--white-color) !important;
}

/* --- Efecto Hover (Al pasar el mouse) --- */
.btn:hover {
    transform: translateY(-3px); /* Se eleva ligeramente */
    box-shadow: 0 8px 25px rgba(196, 164, 132, 0.4); /* El brillo cambia a dorado */
    border-color: var(--white-color); /* El borde se vuelve blanco para brillar */
}

/* Efecto de "Luz que pasa" (Sheen Effect) */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transition: none;
    z-index: -1;
}

.btn:hover::before {
    animation: shine 0.75s; /* La luz cruza el botón rápido */
}

/* Animación del Icono al hacer hover */
.btn:hover i {
    animation: ring 1.5s ease infinite; /* El calendario se mueve un poco */
}

/* --- Keyframes para las animaciones --- */
@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes ring {
    0% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(10deg); }
    20%, 40% { transform: rotate(-10deg); }
    50% { transform: rotate(0deg); }
}

/* --- Ajuste específico para móvil (opcional) --- */
@media (max-width: 768px) {
    .btn {
        width: 100%; /* Botón ancho completo en menú móvil */
        justify-content: center;
        margin: 10px 0 !important;
    }
}