/* ==========================================================================
   DeltaGas 4.0 - Hoja de Estilos Corporativa (2026)
   ========================================================================== */

:root {
    --primary: #002B49;          /* Azul Oscuro Corporativo */
    --primary-light: #004B7A;    /* Azul Secundario */
    --accent: #80BA27;           /* Verde Energético Aspro */
    --accent-hover: #6ea31e;
    --dark: #1E293B;             /* Texto Oscuro */
    --light: #F8FAFC;            /* Fondo Claro */
    --gray: #64748B;             /* Texto Secundario */
    --light-gray: #E2E8F0;       /* Bordes y Divisiones */
    --white: #FFFFFF;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --hover-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #F1F5F9;
    color: var(--dark);
    line-height: 1.6;
}

/* Contenedor Principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navegación */
header {
    background: rgba(0, 43, 73, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text span {
    color: var(--accent);
}

.badge-ver {
    background: var(--accent);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: #E2E8F0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-contact {
    background: var(--accent);
    color: var(--primary);
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #001A2C 100%);
    color: var(--white);
    padding: 5rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(128, 186, 39, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: #CBD5E1;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.confidential-tag {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    color: #94A3B8;
}

/* Stats Container */
.stats-container {
    max-width: 1100px;
    margin: -3rem auto 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border-bottom: 4px solid var(--accent);
    text-align: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.85rem;
    color: #64748B;
}

/* Encabezados de Sección */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--gray);
    font-size: 1.05rem;
}

/* Grillas */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 2rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

/* Tarjetas */
.card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(0, 43, 73, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Imágenes de Tarjetas */
.card-image-wrapper {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background: #fff;
}

.card-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Destacado de Representaciones */
.rep-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 16px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    box-shadow: var(--card-shadow);
}

.rep-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.rep-box p {
    color: #CBD5E1;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.rep-list {
    list-style: none;
}

.rep-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.rep-list i {
    color: var(--accent);
}

/* Socios Tecnológicos */
.partner-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    border-top: 4px solid var(--accent);
}

.partner-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.partner-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Feature Box */
.feature-box {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    background: rgba(128, 186, 39, 0.15);
    color: var(--accent-hover);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.feature-text p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Callout Box */
.callout-box {
    background: rgba(0, 43, 73, 0.03);
    border-left: 4px solid var(--accent);
    padding: 1.25rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

/* Cobertura de Ciudades */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.city-badge {
    background: var(--light);
    border: 1px solid var(--light-gray);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.city-badge i {
    color: var(--accent);
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
    border-top: 4px solid var(--accent);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background: var(--accent);
}

.footer-col p, .footer-col li {
    color: #94A3B8;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    list-style: none;
}

.footer-col a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #64748B;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .grid-2, .rep-box {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .nav-links {
        display: none;
    }
}