/* Tipografía base */
body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1a1c1f;
    background-color: #f8f9fb;
    scroll-behavior: smooth;
}

/* NAVBAR */
.navbar-blur {
    background: rgba(10, 16, 28, 0.92);
    backdrop-filter: blur(10px);
}

.navbar .nav-link {
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding-inline: 0.85rem;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: #0d6efd;
}

.logo-navbar {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* HERO PARALLAX */
.hero-section {
    position: relative;
    min-height: 100vh;
    color: #fff;
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-image: url("../img/hero-visionary.png");
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(13, 110, 253, 0.45), transparent 60%),
                linear-gradient(to bottom, rgba(3, 8, 20, 0.8), rgba(3, 8, 20, 0.95));
}

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

.hero-card {
    background: rgba(12, 20, 37, 0.96);
    border-radius: 1.25rem;
    padding: 2rem 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* SECCIONES GENERALES */
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #6c757d;
    max-width: 34rem;
}

/* METRIC CARDS */
.metric-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1rem 1.15rem;
    text-align: left;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.metric-value {
    display: block;
    font-size: 1.7rem;
    font-weight: 600;
    color: #0d6efd;
}

.metric-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6c757d;
}

/* ABOUT PANEL */
.about-panel {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.bullet-icon {
    color: #0d6efd;
    margin-right: 0.4rem;
}

/* SERVICIOS */
.service-card {
    background: #ffffff;
    padding: 2rem 1.75rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    border-color: rgba(13, 110, 253, 0.35);
}

.service-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.08);
    margin-bottom: 1rem;
}

.service-icon {
    font-size: 1.3rem;
    line-height: 1;
    color: #0d6efd;
}

/* PARALLAX INTERMEDIO */
.section-parallax {
    position: relative;
    min-height: 60vh;
    background-image: url("../img/hero-visionary.png");
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    text-align: center;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.75), rgba(10, 16, 28, 0.95));
}

.section-parallax .container {
    position: relative;
    z-index: 2;
}

/* LISTA CON CHECKS */
.check-list li {
    padding-left: 1.8rem;
    position: relative;
    margin-bottom: 0.9rem;
}

.check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 0.9rem;
    color: #0d6efd;
}

/* GRID DIFERENCIALES */
.grid-panel {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-item {
    background: #ffffff;
    border-radius: 1.1rem;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.grid-title {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #0d1b2a;
}

.grid-text {
    font-size: 0.9rem;
    color: #6c757d;
}

/* CONTACTO */
.contact-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.contact-form-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem 2.25rem;
}

/* FOOTER */
.footer {
    background: #050814;
    color: #adb5bd;
}

/* PARALLAX FALLBACK EN MÓVILES */
@media (max-width: 991.98px) {
    .hero-section,
    .section-parallax {
        background-attachment: scroll;
    }

    .hero-card {
        margin-top: 2rem;
    }
}

/* Ajustes menores */
@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.8rem;
    }

    .grid-panel {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}
