/* VARIABLES */
:root {
    --dark-teal: #123c46;
    --light-bg: #f7f9fa;
    --white: #ffffff;
    --gold: #ceb56c;
    --green-accent: #008d6e;
    --text-main: #333;
    --text-light: #666;
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-light: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; color: var(--text-main); line-height: 1.6; background-color: var(--white); }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 600; }

.container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 40px; 
}

.text-center { text-align: center; }

/* HEADER */
header { background: var(--dark-teal); padding: 15px 0; position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 80px; }
nav ul { display: flex; list-style: none; gap: 30px; }
nav ul li a { color: var(--white); text-decoration: none; font-size: 0.85rem; font-weight: 500; letter-spacing: 1px; }

/* HERO */
.hero { 
	min-height: 80vh; 
    /* El gradiente inicial ayuda a que el texto blanco se lea bien sobre la imagen */
    background: linear-gradient(rgba(18, 60, 70, 0.6), rgba(18, 60, 70, 0.3)), url('portada-auge-grupo.png'); 
    background-size: cover; 
    background-position: center;
    background-attachment: fixed; /* Opcional: da un efecto de profundidad al hacer scroll */
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 60px 20px;
}
.hero-box { 
	background: rgba(18, 60, 70, 0.7); /* Un toque de color corporativo translúcido */
    backdrop-filter: blur(8px); /* Efecto de cristal esmerilado */
    padding: 50px; 
    border-radius: 8px; 
    max-width: 800px; 
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-box h1 { font-size: 3rem; margin-bottom: 10px; }
.hero-box .subtitle { font-size: 1.4rem; margin-bottom: 20px; opacity: 0.9; }
.hero-box .description { font-size: 1.1rem; margin-bottom: 30px; line-height: 1.8; opacity: 0.8; }
.btn-gold { 
    background: var(--gold); color: #000; padding: 12px 30px; 
    border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 0.9rem;
}

/* SECTIONS */
section { padding: 100px 0; }
.section-light { background: var(--white); }
.section-dark-teal { background: var(--dark-teal); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--dark-teal); }
.white-text h2, .white-text p { color: var(--white); }

/* GRID & CARDS UNIFICADAS */
.grid-services, .grid-4, .grid-2 { 
    display: grid; 
    gap: 30px; 
}

.grid-services { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Efecto de Tarjeta Premium */
.grid-services .card, 
.card-value, 
.card-office, 
.qr-card { 
    background: var(--white); 
    padding: 45px 35px;
    border-radius: 12px; 
    box-shadow: var(--shadow-dark);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.02);
    height: 100%;
}

.grid-services .card:hover, 
.card-value:hover, 
.card-office:hover, 
.qr-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-light);
}

/* NUEVA CLASE PARA ICONOS SVG */
.icon-container {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mantiene la proporción del SVG */
}

/* Ajustes de contenido en tarjetas */
.card h3, .card-value h4, .card-office h3 { 
    color: var(--dark-teal); 
    margin-bottom: 20px; 
}

.card-value { text-align: center; }

/* SOBRE NOSOTROS (SPLIT) */
.split-section { display: flex; align-items: stretch; padding: 0; }
.about-img { flex: 1; background: #ddd url('oficina.png') center/cover; min-height: 500px; }
.about-text { flex: 1; padding: 100px; background: var(--white); }
.label { display: inline-block; background: #f0f0f0; padding: 5px 15px; margin-bottom: 20px; font-weight: 600; font-size: 0.8rem; }

/* QR & CONTACT */
.qr-placeholder { width: 100px; height: 100px; background: #eee; margin: 0 auto 20px; border-radius: 8px; }
.footer-contact { background: var(--dark-teal); color: var(--white); }
.footer-contact h2 { color: var(--white); font-size: 2.5rem; margin-bottom: 20px; }
.btn-green { 
    display: inline-block; background: var(--green-accent); color: var(--white); 
    padding: 15px 50px; border-radius: 40px; text-decoration: none; font-weight: 600; margin-top: 30px;
    transition: background 0.3s;
}
/*Quitar decoración enlaces*/
.datos {
    color: black;
	text-decoration: none;
    text-decoration-line: none;
    text-decoration-thickness: none;
    text-decoration-style: none;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
    .split-section { flex-direction: column; }
    .about-text { padding: 60px 40px; }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 80px 20px;
    }
    .hero-box {
        padding: 30px 20px;
        width: 100%;
    }
    .hero-box h1 {
        font-size: 1.8rem;
    }
    .grid-services, .grid-4, .grid-2, .grid-1 {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .split-section {
        flex-direction: column;
    }
    .about-img {
        width: 100%;
        min-height: 300px;
    }
    .about-text {
        width: 100%;
        padding: 40px 20px;
    }
    .container {
        padding: 0 20px;
    }
    .nav-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

footer { background: #081d25; color: rgba(255,255,255,0.5); text-align: center; padding: 40px; font-size: 0.85rem; }