/* --- PREMIUM STYLES para CGS Asesores --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --brand-primary: #002244; /* Azul profundo casi negro */
    --brand-secondary: #0055A4; /* Azul vibrante */
    --brand-accent: #00A8E8; /* Celeste tech brillante */
    --bg-light: #F4F7F6;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --white: #FFFFFF;
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
}

a {
    transition: var(--transition);
    text-decoration: none;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.logo img {
    height: 110px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul.menu {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

nav ul.menu > li {
    position: relative;
}

nav ul.menu a {
    color: var(--brand-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

nav ul.menu a:hover, 
nav ul.menu a.active {
    color: var(--brand-accent);
}

/* Boton de navegación */
.btn-nav {
    background: linear-gradient(135deg, var(--brand-secondary), var(--brand-primary));
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: var(--shadow-sm);
}

.btn-nav:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Dropdown para Servicios */
.has-submenu .submenu {
    position: absolute;
    top: 150%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    transform: translateY(10px);
    border: 1px solid rgba(0,0,0,0.05);
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li { border-bottom: 1px solid #f0f0f0; }
.submenu li:last-child { border-bottom: none; }
.submenu a { display: block; padding: 12px 20px; font-size: 0.9rem; }
.submenu a:hover { background: var(--bg-light); color: var(--brand-secondary); }


/* Hero Banner Moderno */
.slider {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--brand-primary);
    background-image: url('images/hero_consulting.png');
    background-size: cover;
    background-position: center;
}

.slider::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,34,68,0.95) 0%, rgba(0,85,164,0.7) 100%);
}

.slider-text {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.slider-text .badge {
    background: rgba(0, 168, 232, 0.2);
    color: var(--brand-accent);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 168, 232, 0.4);
}

.slider-text h1 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.slider-text p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 35px;
    font-weight: 300;
}

/* Botones Base */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--brand-accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.4);
}

.btn-primary:hover {
    background: #009dda;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 232, 0.5);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--brand-primary);
}


/* Tarjetas / Cards */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.specialties, .services-page {
    padding: 100px 0;
    background: var(--bg-light);
}

.specialty-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: left;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, var(--brand-secondary), var(--brand-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.card:hover::after { transform: scaleX(1); }

.card-icon {
    font-size: 2.5rem;
    color: var(--brand-accent);
    margin-bottom: 25px;
    background: rgba(0, 168, 232, 0.1);
    height: 80px; width: 80px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 20px;
}

.card h3 { font-size: 1.4rem; margin-bottom: 15px; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 25px; }

.btn-text {
    color: var(--brand-secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-text i { transition: transform 0.3s; }
.btn-text:hover i { transform: translateX(5px); }


/* Componentes Internos (Nosotros, Servicios detallados) */
.page-header {
    background: var(--brand-primary);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-header h1 { color: var(--white); font-size: 3rem; margin-bottom: 15px; }
.page-header p { font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; }

/* Contenido de texto enriquecido (Privacy, Nosotros) */
.content-section { padding: 80px 0; }
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.image-box img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Contacto Flex/Grid Layout */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin: -50px auto 50px;
    position: relative;
    z-index: 10;
}

.contact-info-panel {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: var(--white);
    padding: 50px;
}

.contact-info-panel h3 { color: var(--white); font-size: 2rem; margin-bottom: 20px; }
.contact-info-panel p { color: rgba(255,255,255,0.8); margin-bottom: 40px; }

.info-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.info-item i { font-size: 1.5rem; color: var(--brand-accent); }
.info-item h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 5px; }
.info-item p, .info-item a { color: rgba(255,255,255,0.8); font-size: 0.95rem; text-decoration: none; }
.info-item a:hover { color: var(--white); }

.contact-form-panel { padding: 50px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
}
.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #EAEAEA;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #FAFAFA;
}

.form-control:focus {
    border-color: var(--brand-accent);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.1);
}

/* Footer Moderno */
footer {
    background: var(--brand-primary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 20px;
}

.footer-about h4 { color: var(--white); font-size: 1.5rem; margin-bottom: 15px; }
.footer-about p { color: rgba(255,255,255,0.6); }

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--brand-accent); }

/* Banner Call to Action */
.cta-banner {
    background: var(--brand-secondary);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-banner h2 { color: var(--white); font-size: 2.5rem; margin-bottom: 15px; }
.btn-primary.inverse { background: var(--white); color: var(--brand-secondary); box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.btn-primary.inverse:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

/* Responsive adjustments */
@media (max-width: 900px) {
    .content-grid, .contact-container, .footer-grid { grid-template-columns: 1fr; }
    .slider-text h1 { font-size: 2.5rem; }
    .slider { min-height: 60vh; }
    nav ul.menu { display: none; } /* En un escenario real aquí iría un menu hamburguesa */
}