/* Color Palette & Variables */
:root {
    --color-navy: #0A1128;
    --color-navy-dark: #040814;
    --color-gold: #D4AF37;
    --color-gold-light: #F3E5AB;
    --color-gold-dark: #997A15;
    --color-white: #FFFFFF;
    --color-text: #E0E4F0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-weight: 400;
}

/* Grain Overlay Atmosférico */
.grain-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.045; /* Muy sutil, le quita el brillo digital artificial */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

a {
    text-decoration: none;
    color: inherit;
}

/* Screen Readers / SEO Optimization Focus */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-navy-dark);
}

.btn-primary:hover {
    background-color: var(--color-gold-light);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    z-index: 100;
    background: rgba(4, 8, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-gold);
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

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

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
}

/* Mobile Menu Toggle button (Hidden on Desktop) */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001; /* Over the nav menu */
    position: relative;
    padding: 10px;
}

.hamburger-line {
    width: 30px;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100svh; /* svh is better for mobile browsers with dynamic search bars */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: #000;
}

/* Difuminado elegante para unir el video con la página */
.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to top, rgba(6, 11, 24, 1), transparent);
    z-index: 2;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    transform: scale(1.02);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-inline: auto;
}

.scarcity-text {
    color: var(--color-gold);
    font-size: 0.9rem;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    animation: pulseText 3s infinite;
}

@keyframes pulseText {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Hero Separator Line */
.hero-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
    z-index: 5;
}

/* Elite Status Plaque */
.status-section {
    background: var(--color-navy-dark);
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

/* Reusing .trust-plaque architecture from HTML */

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #ff3b3b;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #ff3b3b;
    animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 59, 59, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.scroll-indicator span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.scroll-arrow {
    width: 32px;
    height: 32px;
    color: var(--color-gold);
    animation: bounceArrow 2s infinite;
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-12px);
    }
    60% {
        transform: translateY(-6px);
    }
}

/* Sections General */
.section-heading {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.section-paragraph {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.75);
}

/* Problem Section - Composición Asimétrica */
.problem-section {
    padding: 10rem 2rem 6rem; /* Mas espacio alto para respirar despues de estatus */
}

.problem-section .grid-2-col {
    position: relative;
    display: flex;
    align-items: center;
}

.problem-text {
    width: 65%;
    position: relative;
    z-index: 2;
    padding-right: 5rem;
}

.problem-image {
    width: 55%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.problem-image .glass-card {
    padding: 5rem 3rem 5rem 8rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(10, 17, 40, 0.8));
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: -20px 20px 50px rgba(0,0,0,0.6);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-gold);
    line-height: 1.4;
}

/* Confidentiality Section Redesign (Trust Plaque) */
.confidentiality-banner {
    padding: 2rem 0 6rem 0;
    position: relative;
    z-index: 5;
}

.trust-plaque {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 3rem;
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: linear-gradient(145deg, rgba(10, 17, 40, 0.8), rgba(4, 8, 20, 0.95));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(212, 175, 55, 0.05);
    border-radius: 4px;
    backdrop-filter: blur(15px);
}

.plaque-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

.plaque-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0px 0px 10px rgba(212, 175, 55, 0.4));
}

.nda-badge {
    color: var(--color-gold);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
}

.plaque-heading {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    font-family: var(--font-heading);
}

.plaque-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.plaque-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.gold-line {
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.signature-text {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-gold);
    font-size: 1rem;
}

/* Services */
.services-section {
    padding: 8rem 0;
    background-color: #060B18;
}

.section-header {
    margin-bottom: 5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.glass-panel {
    background: rgba(10, 17, 40, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 3rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.12), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
    pointer-events: none;
}

.glass-panel:hover::before {
    opacity: 1;
}

.glass-panel > * {
    position: relative;
    z-index: 1;
}

.glass-panel:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.15);
}

.service-icon {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.service-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Testimonials Carousel (Infinite Scroll) */
.testimonials-section {
    padding: 8rem 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(to bottom, #060B18, #040814);
}

.carousel-container {
    width: 100%;
    margin-top: 4rem;
    position: relative;
}

/* Gradient Fade for edges */
.carousel-container::before,
.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, #040814 0%, transparent 100%);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, #040814 0%, transparent 100%);
}

.carousel-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollCarousel 50s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    width: 400px;
    flex-shrink: 0;
    padding: 2.5rem;
}

.testimonial-card p.quote-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    line-height: 1.7;
}

.testimonial-card .client-title {
    color: var(--color-gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-400px * 9 - 2rem * 9)); } /* Move exactly width of original set */
}

/* FAQ Accordion Section */
.faq-section {
    padding: 6rem 2rem 8rem;
    max-width: 800px;
}

.faq-accordion {
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 1.25rem;
    font-family: var(--font-heading);
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--color-gold);
}

.faq-icon {
    color: var(--color-gold);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

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

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

.faq-answer p {
    padding-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 8rem 2rem;
}

.subtitle-badge {
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.image-wrapper {
    position: relative;
    padding: 1rem;
}

.gold-border {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 0;
    transform: translate(-15px, 15px);
}

.profile-placeholder {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* Call to action */
.cta-section {
    padding: 10rem 2rem;
    background: linear-gradient(to bottom, #060B18, #040814);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-heading {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.cta-paragraph {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    padding: 3rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #040814;
}

.footer-logo {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    color: var(--color-gold);
    border-color: rgba(212, 175, 55, 0.3);
    background-color: rgba(212, 175, 55, 0.05);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Sticky WhatsApp */
.sticky-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.sticky-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

/* Animations */
.reveal-text, .fade-in, .slide-up, .fade-in-delayed {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-delayed {
    transition-delay: 0.3s;
}

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

/* Responsive */
@media (max-width: 900px) {
    .grid-2-col { grid-template-columns: 1fr; gap: 3rem; }
    .services-grid { grid-template-columns: 1fr; }
    
    /* Responsive Asimetria Fixes */
    .problem-section .grid-2-col { flex-direction: column; }
    .problem-text { width: 100%; padding-right: 0; }
    .problem-image { width: 100%; position: relative; transform: none; top: auto; margin-top: 1rem; }
    .problem-image .glass-card { padding: 3rem; }
    
    .header { padding: 1.5rem 2rem; }
    
    /* Nav Menu Mobile */
    .mobile-menu-toggle { display: flex; }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(4, 8, 20, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.4s ease;
        z-index: 1000;
    }
    
    .nav.nav-open {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }

    /* Nav open animations for hamburger */
    .mobile-menu-toggle.open .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.open .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.open .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero Fixes for Mobile (prevent overlap) */
    .hero { min-height: auto; padding-top: 8rem; padding-bottom: 2rem; }
    .hero-content { padding-bottom: 120px; } /* Push text up so scroll indicator doesn't touch it */
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.05rem; }
    
    .trust-plaque { padding: 3rem 2rem; }
    .plaque-heading { font-size: 2rem; }
    
    .cta-heading { font-size: 2.8rem; }
    .section-heading { font-size: 2.4rem; }
    
    .confidentiality-content { flex-direction: column; text-align: center; }
    .confidentiality-content p { text-align: center; }
    
    .carousel-container::before, .carousel-container::after { width: 50px; }
}
