/* =========================================
   VARIABLES DE MARCA (MANUAL)
   ========================================= */
   :root {
    --wine: #4A0E1A;      /* Wine Legal */
    --magenta: #C2185B;   /* Magenta Action */
    --black: #0F0F0F;     /* Black Depth */
    --white: #FFFFFF;     /* White Pure */
    --silver: #C8C8C8;    /* Silver Law */
    
    --font-title: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

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

/* CUERPO: Fondo con Vignette */
body {
    background: radial-gradient(circle at center, #2a080f 0%, var(--black) 100%);
    color: var(--silver);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ESTRUCTURA */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TIPOGRAFÍA */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: 1px;
}
p { font-weight: 300; }
a { text-decoration: none; transition: 0.3s; }

/* HEADER */
.header {
    background: rgba(15, 15, 15, 0.95);
    height: 80px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(194, 24, 91, 0.2);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand { display: flex; align-items: center; gap: 15px; }

/* =========================================
   ESTILOS PARA LOGO + TEXTO
   ========================================= */

/* 1. Ajustes del Contenedor del Header */
.brand { 
    display: flex; 
    align-items: center; 
    gap: 15px; /* Espacio entre imagen y texto */
    text-decoration: none;
}

/* 2. Estilo de la Imagen en el Header */
.brand-logo {
    height: 50px; /* Tamaño controlado para la barra */
    width: auto;
    object-fit: contain;
}

/* 3. Ajustes del Texto (Se mantiene igual, solo aseguramos alineación) */
.brand-text { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
}

/* 4. Estilo de la Imagen en el Footer */
.footer-logo {
    height: 80px; /* Un poco más grande en el pie */
    width: auto;
    margin-bottom: 15px; /* Espacio entre el logo y el título */
    display: inline-block; /* Para que respete el centrado */
}

/* NOTA: Borra la clase .brand-symbol vieja si aún la tienes en tu CSS para mantenerlo limpio */

.brand-text { display: flex; flex-direction: column; }
.name { font-family: var(--font-title); font-weight: 700; color: var(--white); font-size: 1.2rem; line-height: 1; }
.sub { font-size: 0.65rem; letter-spacing: 2px; color: var(--silver); text-transform: uppercase; margin-top: 2px; }

.nav-menu ul { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav-menu a { color: var(--silver); font-size: 0.85rem; font-weight: 500; text-transform: uppercase; }
.nav-menu a:hover { color: var(--magenta); }

.btn-contact {
    border: 1px solid var(--magenta);
    padding: 8px 20px;
    color: var(--magenta) !important;
}
.btn-contact:hover { background: var(--magenta); color: var(--white) !important; }

.hamburger { display: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* HERO SECTION (CENTRADO) */
.hero {
    height: 90vh;
    min-height: 600px;
    position: relative;
    background-image: url('images/hero-bg.jpg'); /* FONDO HERO */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.overlay-gradient {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(74, 14, 26, 0.85); /* Wine Legal */
    mix-blend-mode: multiply;
}

.hero-container { position: relative; z-index: 2; width: 100%; }

.hero-text-box { 
    max-width: 800px; 
    text-align: center; /* Centrar Texto */
    margin: 0 auto;     /* Centrar Bloque */
}

.pre-title { letter-spacing: 4px; color: var(--magenta); font-size: 0.9rem; margin-bottom: 10px; font-weight: 600; }
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.magenta { color: var(--magenta); }

.subtitle { 
    font-size: 1.1rem; 
    margin-bottom: 30px; 
    color: var(--silver); 
    max-width: 600px; 
    margin-left: auto; 
    margin-right: auto;
}

.hero-actions { 
    display: flex; 
    gap: 15px; 
    justify-content: center; /* Centrar Botones */
}

.btn-primary {
    background: var(--magenta);
    color: var(--white);
    padding: 14px 30px;
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    display: inline-block;
}
.btn-primary:hover { background: #961246; }

.btn-secondary {
    border: 1px solid var(--silver);
    color: var(--silver);
    padding: 13px 30px;
    font-family: var(--font-title);
    font-weight: 700;
}
.btn-secondary:hover { border-color: var(--magenta); color: var(--magenta); }

.chevrons {
    position: absolute; bottom: 40px; right: 50px;
    color: var(--magenta); font-size: 2rem; opacity: 0.6; letter-spacing: -5px; z-index: 2;
}

/* SECCIONES */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; }
.manual-subtitle {
    font-family: var(--font-body); font-weight: 600; color: var(--silver);
    letter-spacing: 3px; text-transform: uppercase; font-size: 0.85rem; margin-top: 10px;
}
.divider { width: 50px; height: 3px; background: var(--magenta); margin: 15px auto 0; }

/* GRIDS */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* CARDS ESPECIALIDADES */
.card-spec {
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
    padding: 30px 20px; text-align: center; transition: 0.3s;
}
.card-spec:hover { border-color: var(--magenta); background: rgba(74, 14, 26, 0.3); }
.icon { font-size: 2rem; color: var(--magenta); margin-bottom: 15px; }
.card-spec h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card-spec p { font-size: 0.85rem; }

/* SERVICIOS LISTA */
.bg-wine-dark { background: rgba(0,0,0,0.2); }
.services-layout { align-items: start; }

.image-frame {
    border: 1px solid var(--magenta); padding: 8px;
    width: 100%; max-width: 450px; margin: 0 auto; /* Centrar imagen en móvil */
}
.img-multiply {
    width: 100%; display: block;
    filter: sepia(40%) hue-rotate(300deg) brightness(0.6);
}

.services-list-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 15px 25px;
}
.service-item {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.9rem; color: var(--silver);
    border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 8px;
}
.service-item i { color: var(--magenta); font-size: 1rem; margin-top: 4px; min-width: 18px; }

/* TRAYECTORIA */
.section-stats { background: var(--wine); padding: 40px 0; border-top: 4px solid var(--magenta); }
.stats-flex { display: flex; justify-content: center; gap: 80px; text-align: center; }
.stat-item .num { display: block; font-family: var(--font-title); font-size: 2.5rem; color: var(--white); }
.stat-item .lbl { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

/* EQUIPO */
.team-wrapper { justify-content: center; }
.team-card { background: #151515; border-bottom: 2px solid var(--magenta); }
.photo-box { height: 300px; width: 100%; position: relative; overflow: hidden; }
.photo-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.photo-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--wine); opacity: 0.3; mix-blend-mode: multiply; transition: 0.3s;
}
.team-card:hover img { transform: scale(1.05); }
.team-card:hover .photo-overlay { opacity: 0; }
.info-box { padding: 15px; text-align: center; }
.info-box h4 { font-size: 1.1rem; margin-bottom: 5px; }
.info-box span { color: var(--magenta); font-size: 0.8rem; }

/* CONTACTO */
.narrow-container { max-width: 700px; }
.contact-box { background: #151515; padding: 40px; border: 1px solid #222; }
.contact-header { text-align: center; margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.full { grid-column: span 2; }

input, textarea {
    width: 100%; background: var(--black); border: 1px solid #333;
    padding: 12px; color: var(--white); font-family: var(--font-body);
}
input:focus, textarea:focus { border-color: var(--magenta); outline: none; }
.full-btn { grid-column: span 2; width: 100%; margin-top: 10px; }

.contact-footer {
    display: flex; justify-content: space-between; margin-top: 30px;
    border-top: 1px solid #333; padding-top: 20px; font-size: 0.9rem; flex-wrap: wrap; gap: 10px;
}
.contact-footer i { color: var(--magenta); margin-right: 8px; }

/* FOOTER */
footer { text-align: center; padding: 40px 0; background: #050505; color: #555; font-size: 0.8rem; }
.footer-info h3 { color: #333; margin-bottom: 5px; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px);
        background: var(--black); flex-direction: column; transition: 0.3s;
        padding: 40px; border-top: 1px solid var(--wine);
    }
    .nav-menu.active { left: 0; }
    .nav-menu ul { flex-direction: column; }
    .hamburger { display: block; }
    
    .hero h1 { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; }
    
    .grid-2 { grid-template-columns: 1fr; }
    .services-list-grid { grid-template-columns: 1fr; }
    .stats-flex { flex-direction: column; gap: 30px; }
    .contact-footer { flex-direction: column; text-align: center; }
}