/* Variables de Diseño Premium */
:root {
    --bg-dark: #0a0f1c;
    --bg-card: #131a2b;
    --text-main: #f0f4f8;
    --text-muted: #94a3b8;
    --accent: #00ff00;
    --accent-hover: #00e600;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--accent);
}

/* Navegación */
.nav-logo {
    height: 45px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
}

.navbar {
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.btn-nav {
    background: var(--accent);
    color: var(--bg-dark) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    font-weight: 800 !important;
}

.btn-nav:hover {
    background: var(--accent-hover);
}

.nav-contact {
    font-weight: 500;
    color: var(--accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(10, 15, 28, 0.85), rgba(10, 15, 28, 0.95)),
                url('https://lirp.cdn-website.com/d8bf9587/dms3rep/multi/opt/pexels-photo-4280696-1920w.jpeg') center/cover;
    padding-top: 90px;
    padding-bottom: 40px;
}

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

.hero-content {
    max-width: 800px;
}

.badge {
    background: rgba(0, 230, 118, 0.12);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-dark);
}

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

.btn-secondary {
    border: 2px solid var(--text-muted);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.global-badge {
    font-size: 0.9rem;
    color: var(--accent);
    background: rgba(0, 230, 118, 0.06);
    border: 1px solid rgba(0, 230, 118, 0.22);
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 500;
}

.global-badge i {
    margin: 0 5px;
}

/* Barra de Estadísticas */
.stats-bar {
    background: var(--bg-card);
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-item span {
    font-size: 2rem;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Quiénes Somos, Misión y Visión */
.about-section {
    padding: 6rem 0;
    background-color: var(--bg-card);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.about-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.about-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 0, 0.1);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    color: var(--text-main);
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.02rem;
    margin-bottom: 1rem;
    text-align: left;
}

.about-highlights {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
}

.about-highlights li i {
    color: var(--accent);
    font-size: 1.05rem;
}

.about-image-box {
    position: relative;
    border-radius: 12px;
}

.about-image-box img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 0, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    display: block;
}

.about-exp-badge {
    position: absolute;
    bottom: -18px;
    left: -18px;
    background: var(--bg-dark);
    border: 2px solid var(--accent);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.about-exp-badge strong {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent);
    line-height: 1;
}

.about-exp-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.mv-card {
    background: var(--bg-dark);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s, border-color 0.3s;
}

.mv-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.mv-icon {
    width: 54px;
    height: 54px;
    background: rgba(0, 255, 0, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1.2rem;
}

.mv-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.mv-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .about-main-grid {
        grid-template-columns: 1fr;
    }
    .about-exp-badge {
        left: 16px;
        bottom: 16px;
    }
    .mv-grid {
        grid-template-columns: 1fr;
    }
}

/* Servicios */
.services {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    padding: 2.2rem 1.8rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 290px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

/* Imagen oculta por defecto y visible al pasar el mouse */
.service-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.35s ease, transform 0.45s ease;
    z-index: 0;
}

/* Capa oscura sobre la imagen para mantener buen contraste en el texto */
.service-bg-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 15, 28, 0.72) 0%,
        rgba(10, 15, 28, 0.88) 100%
    );
}

.service-card:hover .service-bg-img {
    opacity: 1;
    transform: scale(1);
}

.service-content {
    position: relative;
    z-index: 1;
}

.icon-wrapper {
    width: 54px;
    height: 54px;
    background: rgba(0, 255, 0, 0.12);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1.4rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.service-card:hover .icon-wrapper {
    background: var(--accent);
    color: var(--bg-dark);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.9rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: var(--text-main);
}

/* Sección de Partners */
.partners-section {
    padding: 6rem 0;
    background-color: var(--bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    width: 100%;
}

.partner-card {
    background-color: rgba(77, 86, 94, 0.667); /* Gris oscuro semitransparente */
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.148);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.205);
}

.partner-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(0, 255, 0, 0.25);
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .partner-card {
        height: 95px;
        padding: 12px;
    }
}

/* Sección de Cobertura */
.coverage-section {
    padding: 6rem 0;
}

.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.coverage-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: border-color 0.3s;
}

.coverage-card:hover {
    border-color: var(--accent);
}

.coverage-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.coverage-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.coverage-card h4 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.coverage-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* CTA Final */
.cta-quetzaltenango {
    padding: 4rem 0;
    background: linear-gradient(90deg, rgba(0, 230, 118, 0.12) 0%, rgba(10, 15, 28, 1) 100%);
    border-top: 1px solid rgba(0, 230, 118, 0.2);
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.cta-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: #05080f;
    padding: 4rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
}

.footer-col p, .footer-col ul li {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-col ul li i {
    color: var(--accent);
    margin-right: 10px;
    width: 20px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-radius: 5px;
    margin-right: 10px;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.visitor-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.visitor-counter i {
    color: #00c3ff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.3rem; }
    .hero-buttons { flex-direction: column; }
    .nav-links, .nav-contact { display: none; }
    .coverage-grid { grid-template-columns: 1fr; }
    .cta-container { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-logo { margin-left: auto; margin-right: auto; }
    .social-links { justify-content: center; display: flex; }
    .global-badge { display: block; text-align: center; }
}