/* =====================================================
   LINCOLN COLLEGE HUECHURABA - ADMISIÓN 2027
   Diseño limpio para sitio de postulación
===================================================== */

:root {
    --azul: #0a2d63;
    --azul-2: #134f9c;
    --azul-3: #1f57b5;
    --celeste: #35a7ff;
    --amarillo: #ffd166;
    --azul-claro: #eaf3ff;
    --texto: #1f2937;
    --gris: #64748b;
    --blanco: #ffffff;
    --borde: rgba(10, 45, 99, 0.10);
    --sombra: 0 18px 45px rgba(10, 45, 99, 0.18);
    --sombra-fuerte: 0 28px 75px rgba(10, 45, 99, 0.25);
    --sombra-suave: 0 10px 30px rgba(0, 0, 0, 0.09);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f6f9ff;
    color: var(--texto);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

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

/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 78px 24px 92px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(5, 28, 68, 0.86) 0%,
            rgba(8, 45, 99, 0.74) 48%,
            rgba(8, 45, 99, 0.54) 100%
        ),
        url('https://www.lincolncollegehuechuraba-admision.cl/mtp/img/fondo-adm2027.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.10), transparent 34%),
        radial-gradient(circle at bottom right, rgba(53, 167, 255, 0.14), transparent 38%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 130px;
    background: linear-gradient(to top, #f6f9ff, rgba(246, 249, 255, 0));
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 46px;
    align-items: center;
}

.hero-text {
    animation: fadeUp 0.8s ease both;
}

/* =====================================================
   LOGO DESTACADO
===================================================== */

.logo-box {
    width: min(100%, 590px);
    margin-bottom: 30px;
    padding: 36px 48px;
    border-radius: 34px;
    position: relative;
    overflow: hidden;

    /* Fondo sofisticado: vidrio oscuro translúcido, sin líneas, dejando ver la imagen del sitio */
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.20), transparent 34%),
        radial-gradient(circle at 86% 18%, rgba(159, 196, 255, 0.18), transparent 30%),
        radial-gradient(circle at 50% 120%, rgba(53, 167, 255, 0.16), transparent 42%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.055));
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow:
        0 32px 82px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px) saturate(125%);
}

.logo-box::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 38%),
        radial-gradient(circle at 78% 25%, rgba(255, 255, 255, 0.11), transparent 28%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    pointer-events: none;
}

.logo-box::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -95px;
    top: -110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    filter: blur(18px);
    pointer-events: none;
}

.logo {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto;
    filter:
        drop-shadow(0 18px 30px rgba(0, 0, 0, 0.38))
        drop-shadow(0 0 20px rgba(255, 255, 255, 0.22));
}

/* =====================================================
   TEXTO HERO
===================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--azul);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.40);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.hero h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.04;
    letter-spacing: -1.5px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.hero h1 span {
    color: #9fc4ff;
    position: relative;
    z-index: 1;
}

.hero h1 span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 100%;
    height: 12px;
    background: rgba(255, 209, 102, 0.42);
    z-index: -1;
    border-radius: 999px;
}

.hero-text > p {
    max-width: 700px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.75;
}

/* =====================================================
   CONCEPTOS DESTACADOS DEL HERO
===================================================== */

.trust-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 30px 0 0;
    max-width: 690px;
}

.trust-bar div {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.35;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(10px);
}

.trust-bar div {
    position: relative;
    overflow: hidden;
    cursor: default;
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        background 0.28s ease,
        border-color 0.28s ease;
}

.trust-bar div::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.26), transparent 38%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.trust-bar div:hover {
    transform: translateY(-6px) scale(1.025);
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.40);
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.trust-bar div:hover::before {
    opacity: 1;
}

/* =====================================================
   FORMULARIO
===================================================== */

.form-box {
    width: 100%;
    max-width: 500px;
    justify-self: end;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 30px;
    padding: 38px;
    box-shadow: var(--sombra);
    border: 1px solid rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(18px);
    animation: fadeUp 0.9s ease both;
}

.form-box h2 {
    margin: 0 0 10px;
    color: var(--azul);
    font-size: 34px;
    line-height: 1.1;
}

.form-box .subtitle,
.subtitle {
    margin: 0 0 20px;
    color: var(--gris);
    line-height: 1.65;
    font-size: 14px;
}

.priority-box {
    margin: 20px 0 24px;
    padding: 15px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff6d9, #fffaf0);
    color: #875900;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 209, 102, 0.55);
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--azul);
    font-size: 13px;
    font-weight: 600;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #d8e2f0;
    border-radius: 15px;
    background: #f8fbff;
    color: var(--texto);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.input-group textarea {
    padding-top: 13px;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--azul-2);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(19, 79, 156, 0.12);
}

.input-group input::placeholder {
    color: #94a3b8;
}

.submit-btn {
    width: 100%;
    min-height: 56px;
    margin-top: 10px;
    border: none;
    border-radius: 17px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--azul), var(--azul-2));
    box-shadow: 0 16px 30px rgba(10, 45, 99, 0.30);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(19, 79, 156, 0.36);
    filter: brightness(1.05);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-note {
    margin-top: 14px;
    color: #7b8794;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

/* =====================================================
   SECCIONES
===================================================== */

.section {
    padding: 88px 24px;
    background: #f6f9ff;
}

.section-title {
    max-width: 820px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-title h2 {
    margin: 0 0 14px;
    color: var(--azul);
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -0.8px;
}

.section-title p {
    margin: 0;
    color: var(--gris);
    font-size: 16px;
    line-height: 1.7;
}

/* =====================================================
   TARJETAS DE BENEFICIOS
===================================================== */

.cards {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-card {
    padding: 32px;
    border-radius: 28px;
    background: white;
    box-shadow: var(--sombra-suave);
    border: 1px solid rgba(10, 45, 99, 0.07);
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.info-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(53, 167, 255, 0.11), transparent 36%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra);
    border-color: rgba(19, 79, 156, 0.18);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card:hover .icon {
    transform: scale(1.08) rotate(-3deg);
}

.info-card .icon,
.icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 18px;
    background: var(--azul-claro);
    color: var(--azul);
    font-size: 28px;
    position: relative;
    z-index: 1;
    transition: transform 0.28s ease;
}

.info-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: var(--azul);
    font-size: 21px;
    line-height: 1.25;
}

.info-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--gris);
    line-height: 1.65;
    font-size: 14px;
}

/* =====================================================
   CTA FINAL
===================================================== */

.cta {
    max-width: 1080px;
    margin: 0 auto;
    padding: 52px;
    border-radius: 34px;
    text-align: center;
    color: white;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 30%),
        linear-gradient(135deg, var(--azul), var(--azul-2));
    box-shadow: var(--sombra);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    top: -175px;
    right: -130px;
    background: rgba(255, 255, 255, 0.06);
}

.cta h2,
.cta p,
.cta-buttons {
    position: relative;
    z-index: 1;
}

.cta h2 {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.7px;
}

.cta p {
    max-width: 760px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
}

.cta-btn.white {
    background: white;
    color: var(--azul);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.cta-btn.blue {
    background: var(--celeste);
    color: white;
    box-shadow: 0 12px 24px rgba(53, 167, 255, 0.28);
}

.cta-btn.outline {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
}

.cta-btn.outline:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* =====================================================
   FOOTER
===================================================== */

footer {
    padding: 28px 20px;
    text-align: center;
    color: #64748b;
    background: #ffffff;
    border-top: 1px solid #e6edf7;
    font-size: 14px;
}

/* =====================================================
   DROPDOWN IDIOMA
===================================================== */

.language-current {
    border-radius: 999px !important;
    box-shadow: 0 14px 34px rgba(10, 45, 99, 0.20) !important;
}

.language-options {
    border-radius: 18px !important;
}

.language-options button {
    font-weight: 500;
}

.language-options button:hover {
    background: #edf5ff !important;
}

/* =====================================================
   ANIMACIONES
===================================================== */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .form-box {
        max-width: 720px;
        width: 100%;
        justify-self: center;
        margin: 0 auto;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 46px 18px 72px;
        background:
            linear-gradient(
                180deg,
                rgba(5, 28, 68, 0.90) 0%,
                rgba(8, 45, 99, 0.78) 62%,
                rgba(8, 45, 99, 0.66) 100%
            ),
            url('https://www.lincolncollegehuechuraba-admision.cl/mtp/img/fondo-adm2027.jpg');
        background-size: cover;
        background-position: center;
    }

    .hero-text {
        text-align: center;
    }

    .logo-box {
        width: 100%;
        max-width: 430px;
        margin: 0 auto 24px;
        padding: 24px 24px;
        border-radius: 26px;
    }

    .logo-box::before {
        inset: 8px;
        border-radius: 20px;
    }

    .logo-box::after {
        width: 190px;
        height: 190px;
        right: -80px;
        top: -80px;
    }

    .logo {
        max-width: 350px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .hero-text > p {
        margin: 20px auto 0;
        font-size: 16px;
    }

    .trust-bar {
        grid-template-columns: 1fr;
        max-width: 430px;
        margin-left: auto;
        margin-right: auto;
    }

    .trust-bar div {
        justify-content: center;
        text-align: center;
    }

    .form-box {
        padding: 28px 20px;
        border-radius: 24px;
    }

    .form-box h2,
    .subtitle {
        text-align: center;
    }

    .form-box h2 {
        font-size: 28px;
    }

    .section {
        padding: 62px 18px;
    }

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

    .info-card {
        padding: 26px;
    }

    .cta {
        padding: 36px 22px;
        border-radius: 26px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust-bar div,
    .info-card,
    .info-card .icon {
        transition: none;
    }

    .trust-bar div:hover,
    .info-card:hover,
    .info-card:hover .icon {
        transform: none;
    }
}

@media (max-width: 420px) {
    .logo-box {
        padding: 20px 18px;
    }

    .badge {
        font-size: 13px;
    }

    .trust-bar div {
        font-size: 12.5px;
    }
}
