/* ===========================
   AURELIUS PRIVATE WEALTH
   Estilos personalizados
   =========================== */

/* ---- Base ---- */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #0C0C0E;
    font-family: 'Inter', 'DM Sans', sans-serif;
}

/* ---- Glass Panel ---- */
.glass-panel {
    background: rgba(17, 19, 24, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(200, 169, 110, 0.12);
    transition: all 0.4s ease;
}

.glass-panel:hover {
    border-color: rgba(200, 169, 110, 0.3);
}

/* ---- Gold Glow ---- */
.gold-glow {
    box-shadow: 0 0 30px rgba(200, 169, 110, 0.12);
}

.hover-lift {
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(200, 169, 110, 0.10);
    border-color: rgba(200, 169, 110, 0.35);
}

/* ---- Financial Grids ---- */
.financial-grid-animated {
    background-image:
        linear-gradient(rgba(200, 169, 110, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 169, 110, 0.025) 1px, transparent 1px);
    background-size: 28px 28px;
    animation: grid-pulse 8s ease-in-out infinite;
}

.financial-grid-static {
    background-image:
        linear-gradient(rgba(200, 169, 110, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 169, 110, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

@keyframes grid-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ---- Diagonal Cut (Hero) ---- */
.diag-cut {
    clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%);
}

@media (max-width: 768px) {
    .diag-cut {
        clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
    }
}

/* ---- Signature Line ---- */
.signature-line {
    background: linear-gradient(90deg, #C8A96E 0%, transparent 100%);
    height: 1px;
    width: 100%;
}

/* ---- Glass Inputs ---- */
.glass-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-input:focus {
    border-color: #C8A96E !important;
    box-shadow: 0 0 14px rgba(200, 169, 110, 0.10) !important;
    outline: none;
}

.glass-input::placeholder {
    color: rgba(140, 140, 142, 0.4);
}

/* ---- Sector Pills ---- */
.sector-pill {
    transition: all 0.35s ease;
}

.sector-pill:hover {
    border-color: #C8A96E;
    background: rgba(200, 169, 110, 0.08);
    color: #F0EDE8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ---- Service Card ---- */
.service-card {
    transition: all 0.4s ease;
}

.service-card .material-symbols-outlined {
    transition: transform 0.4s ease;
}

.service-card:hover .material-symbols-outlined {
    transform: scale(1.1);
}

/* ---- Testimonial Carousel ---- */
.testimonial-slide {
    display: none;
    animation: fadeSlideIn 0.5s ease forwards;
}

.testimonial-slide.active {
    display: block;
}

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

/* ---- Nav scroll effect ---- */
#main-nav.scrolled {
    background: rgba(12, 12, 14, 0.9);
    box-shadow: 0 0 30px rgba(200, 169, 110, 0.12);
}

/* ---- Nav Links ---- */
.nav-link {
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C8A96E;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ---- Lang Buttons ---- */
.lang-btn {
    transition: all 0.3s ease;
    cursor: pointer;
}

.lang-btn.active {
    background: rgba(200, 169, 110, 0.2);
    color: #C8A96E;
}

/* ---- Float WhatsApp ---- */
#whatsapp-float {
    animation: float-pulse 3s ease-in-out infinite;
}

@keyframes float-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 0 40px rgba(37, 211, 102, 0.55); }
}

/* ---- Modal ---- */
#consultation-modal {
    transition: opacity 0.3s ease;
}

#consultation-modal:not(.hidden) {
    display: flex;
    animation: modalIn 0.3s ease forwards;
}

@keyframes modalIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ---- Partículas ---- */
.particle {
    position: absolute;
    background: rgba(200, 169, 110, 0.25);
    border-radius: 50%;
    pointer-events: none;
    animation: particle-float linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0;
    }
}

/* ---- Scroll Reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .font-display {
        font-size: 90%;
    }
    #main-nav {
        width: 95%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}