/* VARIABLES GLOBALES: Dark Elegant Theme */
:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-light-dark: #141414;
    --text-light: #f5f5f5;
    --text-muted: #b3b3b3;
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #aa7c11;
    --gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition-speed: 0.3s;
}

/* RESET GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* TIPOGRAFÍA */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--text-light);
    transition: color var(--transition-speed) ease;
}

.gold-text {
    color: var(--gold-primary);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* NAVBAR (STICKY) */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: transparent;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
}

.logo span {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--gold-primary);
    letter-spacing: 3px;
    font-weight: 500;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gold-gradient);
    transition: width var(--transition-speed) ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold-light);
}

/* HERO SECTION */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px; 
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #050505 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 4px 15px rgba(0,0,0,0.5);
    animation: fadeInDown 1s ease-out;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

/* Botones y CTAs */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.primary-gold {
    background: var(--gold-gradient);
    color: var(--bg-darker);
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.primary-gold i {
    font-size: 1.3rem;
}

.primary-gold:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
    color: #000;
}

/* ÁREAS DE PRÁCTICA (SPLIT SCREEN) */
.areas-practica {
    display: flex;
    flex-direction: row;
    min-height: 90vh;
}

.area {
    flex: 1;
    padding: 80px 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: flex 0.5s ease;
}

.area:hover {
    flex: 1.1;
}

.area::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
    transition: opacity 0.5s ease;
}

.area:hover::before {
    opacity: 0.2;
}

.laboral::before {
    background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCI+PHBhdGggZD0iTTE1IDBMMCAxNWgxNVYweiIgZmlsbD0iIzIyMiIvPjwvc3ZnPg==');
}

.civil {
    background-color: var(--bg-light-dark);
    border-left: 1px solid rgba(212, 175, 55, 0.1);
}

.area-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
}

.icon-wrapper {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 25px;
    display: inline-block;
}

.gold-glow {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.area h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.focus-badge {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid var(--gold-primary);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    background: rgba(212, 175, 55, 0.08);
}

.area p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.keywords-list {
    list-style: none;
}

.keywords-list li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.keywords-list i {
    color: var(--gold-primary);
    font-size: 1rem;
}

/* SECCIÓN CONFIANZA */
.trust-section {
    padding: 120px 0;
    background: #000;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.divider-gold {
    width: 80px;
    height: 4px;
    background: var(--gold-gradient);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.trust-intro {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 70px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.trust-card {
    background: var(--bg-light-dark);
    padding: 50px 35px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.trust-card:hover {
    transform: translateY(-12px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.trust-card i {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.trust-card h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: var(--text-light);
}

.trust-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* FOOTER */
.main-footer {
    background: #050505;
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: var(--gold-primary);
    margin-bottom: 5px;
}

.uba-badge {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.85rem;
    padding: 6px 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    color: var(--text-muted);
    background: rgba(212, 175, 55, 0.05);
}

.footer-contact h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-contact p {
    margin-bottom: 18px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.footer-contact a {
    color: var(--text-muted);
}

.footer-contact a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 35px;
    color: #666;
    font-size: 0.95rem;
}

/* STICKY WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 38px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: #fff;
}

.wpp-tooltip {
    position: absolute;
    right: 85px;
    background: #fff;
    color: #333;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, right 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.wpp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

.whatsapp-float:hover .wpp-tooltip {
    opacity: 1;
    right: 80px;
}

/* ANIMACIONES */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* MOBILE FIRST MEDIA QUERIES */
@media (max-width: 900px) {
    .areas-practica {
        flex-direction: column;
    }
    
    .area {
        padding: 70px 25px;
        min-height: 50vh;
    }
    
    .civil {
        border-left: none;
        border-top: 1px solid rgba(212, 175, 55, 0.1);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
        background: rgba(5, 5, 5, 0.95);
    }
    
    .logo a {
        font-size: 1.4rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .whatsapp-float {
        bottom: 25px;
        right: 25px;
        width: 55px;
        height: 55px;
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .logo a {
        font-size: 1.2rem;
    }
    
    .cta-btn {
        padding: 14px 25px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .trust-card {
        padding: 40px 20px;
    }
    
    .footer-brand h2 {
        font-size: 1.8rem;
    }
}
