/* ==========================================================================
   THE HEDRICK GROUP - Base Style v2.1
   ========================================================================== */
:root {
    --dark-bg: #0f172a;
    --navy: #1e293b;
    --accent: #c2a35d; 
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 5%; 
}

/* --- ANIMACIONES --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- NAVIGATION --- */
.main-header {
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 80px; 
    width: auto;  
    display: block;
    transition: var(--transition);
}

.logo-img:hover { transform: scale(1.05); filter: brightness(1.1); }

.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-main); font-size: 0.9rem; transition: var(--transition); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.btn-nav { 
    background: var(--accent); 
    color: var(--dark-bg) !important; 
    padding: 10px 22px; 
    border-radius: 4px; 
    font-weight: 700 !important; 
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.video-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.hero-content-wrapper { 
    position: relative; 
    z-index: 2; 
    padding-top: 50px; 
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 1s; 
}
.statement-content h1 { 
    font-size: clamp(2.2rem, 5vw, 3.8rem); 
    margin-bottom: 20px; 
    line-height: 1.1; 
    font-weight: 700;
}

.subtitle { 
    font-size: clamp(1.1rem, 2vw, 1.3rem); 
    color: #e2e8f0; 
    margin-bottom: 40px;
    max-width: 800px;
    margin-inline: auto;
}

.hero-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* --- BUTTONS --- */
.btn-primary, .btn-secondary {
    padding: 16px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition);
}
.btn-primary { background: var(--accent); color: var(--dark-bg); border: 1px solid var(--accent); }
.btn-secondary { border: 1px solid var(--white); color: var(--white); background: rgba(255,255,255,0.1); backdrop-filter: blur(5px); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(194, 163, 93, 0.3); }

/* --- SECTIONS GENERAL --- */
.services-preview { padding: 100px 0; background: var(--navy); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header span { color: var(--accent); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-mini-card { background: var(--dark-bg); padding: 50px 40px; border-radius: 8px; transition: var(--transition); border: 1px solid rgba(255,255,255,0.03); }
.service-mini-card:hover { transform: translateY(-10px); border-color: var(--accent); }
.service-mini-card i { color: var(--accent); font-size: 2.5rem; margin-bottom: 25px; display: block; }

.credibility { padding: 80px 0; background: var(--dark-bg); }
.credibility-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 40px; text-align: center; }
.stat { font-size: 3.5rem; font-weight: 700; color: var(--accent); display: block; }

.final-cta { 
    padding: 120px 0; 
    text-align: center; 
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1200'); 
    background-size: cover; 
    background-position: center;
    color: var(--white);
}

.main-footer { padding: 60px 0; text-align: center; color: var(--text-muted); font-size: 0.85rem; background: var(--dark-bg); border-top: 1px solid rgba(255,255,255,0.05); }