:root {
    --fucsia: #FF00A8;
    --azul: #0A4BFF;
    --blanco: #FFFFFF;
    --oscuro: #111827;
    --gris: #6B7280;
    --gris-claro: #E5E7EB;
    --fondo: #F8FAFC;
    --shadow: 0 12px 35px rgba(17, 24, 39, .08);
    --radius: 22px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--oscuro);
    background: var(--blanco);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}

.section-padding {
    padding: 96px 0;
}

.section-tag {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(10, 75, 255, .08);
    color: var(--azul);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--azul);
    margin-bottom: 14px;
    line-height: 1.15;
}

.section-subtitle {
    max-width: 720px;
    color: var(--gris);
    font-size: 1.05rem;
    margin: 0 auto;
}

.navbar-custom {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 235, .75);
    padding: 16px 0;
}

.navbar-brand img {
    height: 54px;
}

.nav-link {
    color: var(--oscuro);
    font-weight: 600;
    margin-left: 16px;
}

.nav-link:hover {
    color: var(--azul);
}

.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 14px;
    border: none;
    font-weight: 700;
    transition: .25s ease;
}

.btn-primary-custom {
    background: var(--fucsia);
    color: var(--blanco);
    box-shadow: 0 10px 24px rgba(255, 0, 168, .24);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    background: #e10095;
    color: var(--blanco);
}

.btn-secondary-custom {
    background: transparent;
    color: var(--azul);
    border: 1.5px solid rgba(10, 75, 255, .18);
}

.btn-secondary-custom:hover {
    transform: translateY(-2px);
    border-color: var(--azul);
    color: var(--azul);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 110px;

    background:
        radial-gradient(circle at 70% 20%, rgba(255, 0, 168, 0.25), transparent 35%),
        radial-gradient(circle at 20% 80%, rgba(10, 75, 255, 0.18), transparent 40%),
        linear-gradient(135deg, #1a1f3a 0%, #2c2f6b 40%, #3a2f7a 70%, #1f2a44 100%);

    color: #fff;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 75, 255, .10), rgba(255, 255, 255, 0) 28%, rgba(255, 0, 168, .08) 100%);
    pointer-events: none;
}

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

.hero-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 26px;
}

.hero-logo {
    width: min(100%, 420px);
    filter: drop-shadow(0 16px 34px rgba(255, 0, 168, .16));
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.hero h1 {
    font-size: clamp(2.5rem, 5.4vw, 4.75rem);
    font-weight: 800;
    line-height: 1.05;
    max-width: 900px;
    margin: 0 auto 18px;
}

.hero p {
    max-width: 760px;
    margin: 0 auto 34px;
    color: rgba(255, 255, 255, .84);
    font-size: 1.14rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-stats {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.stat-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    padding: 24px;
    text-align: left;
    backdrop-filter: blur(8px);
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 8px;
    color: #fff;
}

.stat-card span {
    color: rgba(255, 255, 255, .82);
    font-size: .98rem;
}

.overview {
    background: var(--fondo);
}

.info-card {
    background: var(--blanco);
    border: 1px solid rgba(229, 231, 235, .9);
    border-radius: var(--radius);
    padding: 30px;
    height: 100%;
    box-shadow: var(--shadow);
}

.info-card h3 {
    color: var(--azul);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.info-card p {
    color: var(--gris);
    margin: 0;
}

.pillar-card {
    height: 100%;
    border-radius: var(--radius);
    padding: 30px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid rgba(10, 75, 255, .10);
    box-shadow: var(--shadow);
    transition: .25s ease;
}

.pillar-card:hover,
.update-card:hover {
    transform: translateY(-4px);
}

.pillar-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(10, 75, 255, .12), rgba(255, 0, 168, .12));
    color: var(--azul);
}

.pillar-card h3 {
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.pillar-card p {
    color: var(--gris);
    margin-bottom: 0;
}

.updates {
    background: #ffffff;
}

.update-card {
    border: 1px solid rgba(229, 231, 235, .95);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    height: 100%;
    box-shadow: var(--shadow);
    transition: .25s ease;
}

.update-image {
    aspect-ratio: 16/10;
    background:
        linear-gradient(135deg, rgba(10, 75, 255, .85), rgba(255, 0, 168, .70)),
        linear-gradient(120deg, #0A4BFF 0%, #FF00A8 100%);
    position: relative;
    display: flex;
    align-items: end;
    padding: 24px;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}

.update-body {
    padding: 26px;
}

.update-date {
    font-size: .84rem;
    font-weight: 700;
    color: var(--fucsia);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 10px;
}

.update-body h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--oscuro);
}

.update-body p {
    color: var(--gris);
    margin-bottom: 0;
}

.timeline {
    background: var(--fondo);
}

.timeline-list {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    padding-left: 28px;
}

.timeline-list::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, var(--azul), var(--fucsia));
}

.timeline-item {
    position: relative;
    padding: 0 0 30px 26px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--blanco);
    border: 4px solid var(--azul);
    box-shadow: 0 0 0 4px rgba(10, 75, 255, .08);
}

.timeline-item h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--azul);
    margin-bottom: 6px;
}

.timeline-item p {
    color: var(--gris);
    margin-bottom: 0;
}

.timeline-item .small-label {
    color: var(--fucsia);
    font-size: .86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 8px;
    display: block;
}

.contact {
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 0, 168, .12), transparent 26%),
        radial-gradient(circle at 90% 80%, rgba(10, 75, 255, .14), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.contact-box {
    background: #fff;
    border: 1px solid rgba(229, 231, 235, .95);
    box-shadow: var(--shadow);
    border-radius: 28px;
    padding: 48px;
    max-width: 860px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 26px;
}

.contact-item {
    padding: 20px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
}

.contact-item strong {
    display: block;
    color: var(--azul);
    margin-bottom: 6px;
    font-weight: 800;
}

.contact-item span,
.contact-item a {
    color: var(--gris);
    word-break: break-word;
}

footer {
    background: #111827;
    color: rgba(255, 255, 255, .82);
    padding: 28px 0;
    text-align: center;
    font-size: .96rem;
}

.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(37, 211, 102, .28);
}

.floating-whatsapp:hover {
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .hero {
        padding: 136px 0 90px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 767.98px) {
    .navbar-brand img {
        height: 46px;
    }

    .section-padding {
        padding: 74px 0;
    }

    .hero {
        padding: 126px 0 80px;
    }

    .hero h1 {
        font-size: 2.45rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .contact-box {
        padding: 30px 22px;
    }

    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        padding: 12px 15px;
    }
}