/* --- CONFIGURACIÓN BASE (DARK LUXURY) --- */
:root {
    --bg-dark: #0b0f19;      /* Negro azulado profundo */
    --bg-card: #151a25;      /* Gris oscuro para tarjetas */
    --text-main: #e2e8f0;    /* Blanco roto (mejor lectura) */
    --text-muted: #94a3b8;   /* Gris azulado */
    --gold: #d4af37;         /* Dorado metálico clásico */
    --gold-hover: #b5952f;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Manrope', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Evita scroll horizontal */
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    color: white;
}

a { text-decoration: none; transition: 0.3s; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

/* --- NAV --- */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 15px 0;
}

.nav-content {
    max-width: 1300px; margin: 0 auto; padding: 0 25px;
    display: flex; justify-content: space-between; align-items: center;
}

.logo {
    font-family: var(--font-body); font-weight: 800; letter-spacing: 1px;
    font-size: 1rem; text-transform: uppercase; color: white;
}
.logo .dot { color: var(--gold); }

.menu { display: flex; align-items: center; }

.menu a:not(.cta-nav) {
    color: var(--text-muted); font-size: 0.9rem; font-weight: 500; margin-left: 30px;
}
.menu a:not(.cta-nav):hover { color: white; }

.cta-nav {
    border: 1px solid var(--gold); color: var(--gold) !important;
    padding: 8px 18px; border-radius: 2px; text-transform: uppercase; font-size: 0.75rem !important; letter-spacing: 1px; margin-left: 20px; white-space: nowrap;
}
.cta-nav:hover { background: var(--gold); color: var(--bg-dark) !important; }

/* --- HERO (PANTALLA DIVIDIDA) --- */
.hero {
    display: flex; height: 100vh; min-height: 700px;
    padding-top: 80px; 
}

.hero-split { flex: 1; display: flex; flex-direction: column; justify-content: center; }

.text-side {
    background: var(--bg-dark);
    padding: 0 5vw;
}

.hero-inner { max-width: 600px; margin-left: auto; margin-right: 50px; }

.category {
    color: var(--gold); font-size: 0.8rem; letter-spacing: 3px; font-weight: 700;
    text-transform: uppercase; display: block; margin-bottom: 20px;
}

.hero h1 {
    font-size: 4rem; margin-bottom: 30px;
}
.hero h1 .gold-text { color: var(--gold); font-style: italic; font-weight: 400; }

.hero p {
    font-size: 1.15rem; color: var(--text-muted); margin-bottom: 40px; max-width: 480px;
}

.img-side {
    position: relative; overflow: hidden;
}
.img-side img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center top; 
}
.overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, var(--bg-dark) 0%, transparent 50%);
}

/* BOTONES */
.btn-group { display: flex; gap: 20px; flex-wrap: wrap; }

.btn-gold {
    background: var(--gold); color: var(--bg-dark);
    padding: 15px 35px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    font-size: 0.9rem; text-align: center;
}
.btn-gold:hover { background: white; }

/* Botón secundario corregido (con fondo para contraste) */
.btn-line {
    border: 1px solid var(--text-muted);
    background: rgba(0, 0, 0, 0.5); /* Fondo oscuro semitransparente */
    color: white;
    padding: 15px 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    text-align: center;
}
.btn-line:hover { 
    border-color: var(--gold); 
    color: var(--gold); 
    background: rgba(0, 0, 0, 0.8);
}

/* --- CREDENTIALS --- */
.credentials-bar {
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 30px 0;
    background: #0f131f;
}
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; }
.cred-item { display: flex; flex-direction: column; }
.center { align-items: center; border-left: 1px solid rgba(255,255,255,0.1); border-right: 1px solid rgba(255,255,255,0.1); }
.right { align-items: flex-end; }
.number { font-family: var(--font-heading); font-size: 2.5rem; color: white; line-height: 1; }
.icon { font-size: 1.5rem; color: var(--gold); margin-bottom: 5px; }
.label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); }

/* --- VISION SECTION --- */
.vision-section { padding: 120px 0; }
.content-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: center; }

.image-clean { position: relative; }
.image-clean img {
    width: 100%; display: block; filter: grayscale(20%);
    border: 1px solid var(--gold);
}

.gold-subtitle { color: var(--gold); font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 3px; margin-bottom: 15px; }
.text-content h2 { font-size: 3rem; margin-bottom: 30px; }
.lead { font-size: 1.2rem; color: white; margin-bottom: 20px; font-weight: 300; font-style: italic; }
.text-content p { color: var(--text-muted); margin-bottom: 20px; font-size: 1rem; }

.signature-block { margin-top: 40px; border-left: 3px solid var(--gold); padding-left: 20px; }
.signature-block p { font-family: var(--font-heading); font-size: 1.5rem; color: white; margin: 0; font-style: italic; }
.signature-block span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }

/* --- EXPERTISE (CARDS) --- */
.expertise-section { padding: 100px 0; background: #0e121d; }
.section-head { text-align: center; margin-bottom: 70px; }
.section-head h2 { font-size: 2.5rem; margin-bottom: 20px; }
.line-divider { width: 60px; height: 3px; background: var(--gold); margin: 0 auto; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* Tarjetas unificadas */
.service-card {
    background: var(--bg-card); padding: 50px 40px;
    border: 1px solid rgba(255,255,255,0.05); /* Borde sutil base */
    transition: 0.4s;
    position: relative; overflow: hidden;
}

.service-card:hover { 
    transform: translateY(-10px); 
    background: #1a202e;
    border-color: var(--gold); /* Borde dorado solo al pasar mouse */
}

.card-number {
    font-family: var(--font-heading); font-size: 3rem; color: rgba(255,255,255,0.05);
    position: absolute; top: 20px; right: 20px;
}

.service-card h3 { font-size: 1.5rem; margin-bottom: 20px; color: white; }
.service-card p { color: var(--text-muted); margin-bottom: 30px; font-size: 0.95rem; }
.card-link { color: var(--gold); font-size: 0.85rem; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }

/* --- FOOTER --- */
.footer-dark { padding: 100px 0 30px; background: black; text-align: center; }
.cta-content h2 { font-size: 3rem; margin-bottom: 10px; }
.cta-content p { color: var(--text-muted); margin-bottom: 60px; font-size: 1.1rem; }

.contact-methods { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 80px; }

.contact-box {
    background: #111; border: 1px solid #333; padding: 30px 50px; min-width: 280px;
    display: flex; flex-direction: column; align-items: center; transition: 0.3s;
}
.contact-box:hover { border-color: var(--gold); transform: translateY(-5px); }
.contact-box i { font-size: 2rem; color: var(--gold); margin-bottom: 15px; }
.contact-box span { color: white; font-weight: 700; margin-bottom: 5px; }
.contact-box small { color: var(--text-muted); font-size: 0.8rem; }
.copyright { border-top: 1px solid #222; padding-top: 30px; font-size: 0.8rem; color: #555; }

/* =========================================
   --- RESPONSIVE (MÓVIL DEFINITIVO) ---
========================================= */
@media (max-width: 900px) {
    /* NAV MÓVIL */
    .nav-content { padding: 0 20px; }
    .menu a:not(.cta-nav) { display: none; }
    .cta-nav { margin-left: 0; padding: 6px 12px; font-size: 0.7rem !important; }

    /* HERO MÓVIL */
    .hero {
        flex-direction: column; 
        height: auto; 
        padding-top: 60px;
    }
    .hero-split { width: 100%; }
    
    /* IMAGEN HERO MÓVIL */
    .img-side {
        order: 1; 
        height: 40vh; 
        min-height: 300px;
    }
    .overlay {
        background: linear-gradient(to top, var(--bg-dark) 5%, transparent 70%);
    }

    /* TEXTO HERO MÓVIL */
    .text-side {
        order: 2; 
        padding: 40px 25px 60px; 
        text-align: left;
    }
    .hero-inner { margin: 0; }
    
    .category { margin-bottom: 15px; letter-spacing: 2px; }
    .hero h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; } 
    .hero p { font-size: 1rem; margin-bottom: 30px; }
    
    .btn-group { flex-direction: column; gap: 15px; }
    .btn-gold, .btn-line { width: 100%; text-align: center; }

    /* CREDENCIALES MÓVIL */
    .credentials-bar { padding: 40px 0; }
    .grid-3 { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .center { border: none; padding: 40px 0; border-top: 1px solid #222; border-bottom: 1px solid #222; }
    .right { align-items: center; }
    .number { font-size: 3rem; }

    /* GENERALES MÓVIL */
    .vision-section, .expertise-section, .footer-dark { padding: 60px 0; }
    .content-grid { grid-template-columns: 1fr; gap: 40px; }
    .image-clean { max-width: 100%; }
    .text-content h2, .section-head h2 { font-size: 2.2rem; }
    .cta-content h2 { font-size: 2.2rem; }
    
    .service-card { padding: 40px 25px; }
    .card-number { font-size: 2.5rem; top: 15px; right: 15px; }
}