/* =========================================
   VARIABLES GLOBALES Y PALETA DE COLORES
========================================= */
:root {
    --primary-blue: #0A6296; 
    --primary-blue-hover: #084D75;
    --accent-green: #67B045; 
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8fcfd;
    
    /* Variables de Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(10, 98, 150, 0.05);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    background-image: radial-gradient(at 0% 0%, rgba(10, 98, 150, 0.03) 0px, transparent 50%),
                      radial-gradient(at 100% 100%, rgba(103, 176, 69, 0.03) 0px, transparent 50%);
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}

/* =========================================
   UTILIDADES GLASSMORPHISM
========================================= */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 12px;
}

.glass-navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* =========================================
   TOP BAR & HEADER
========================================= */
.top-bar {
    font-size: 0.85rem;
    font-weight: 500;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-blue) !important;
}

/* =========================================
   HERO SECTION (PORTADA)
========================================= */
.hero-section {
    position: relative;
    /* Imagen de fondo placeholder - cámbiala por una real de lujo */
    background: url('../img/hero-bg.jpg') no-repeat center center/cover;
    min-height: 85vh; /* Ocupa casi toda la pantalla */
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Oscurece un poco la foto para que el texto resalte */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* =========================================
   COMPONENTES
========================================= */
.section-padding {
    padding: 80px 0;
}

.btn-primary-custom {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background-color: var(--primary-blue-hover);
    border-color: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 98, 150, 0.3);
}

.btn-outline-light-custom {
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 6px;
}

.btn-outline-light-custom:hover {
    background: white;
    color: var(--primary-blue);
}

/* Tarjetas de Servicios en Home */
.service-card {
    transition: transform 0.3s ease;
    height: 100%;
    border: 0;
}
.service-card:hover {
    transform: translateY(-10px);
}
.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(103, 176, 69, 0.1); /* Verde suave */
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
    margin-bottom: 20px;
}

/* =========================================
   FOOTER
========================================= */
footer {
    background-color: #052c45; /* Azul muy oscuro casi negro */
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 25px;
}

footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin-bottom: 10px;
}

footer a:hover {
    color: var(--accent-green);
    padding-left: 5px; /* Pequeña animación */
}

.footer-bottom {
    background-color: #031b2b;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ANIMACIONES DE SCROLL (Añadir al final de style.css) */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}