
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
    --fondo: #06131b;
    --blanco: #ffffff;
    --gris: #b9c8d0;
    --azul: #36a6b8;
    --dorado: #d4af37;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--fondo);
    color: var(--blanco);
}

.portal {
    position: relative;
    min-height: 100vh;
    padding: 65px 6% 25px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 30%,
        rgba(54, 166, 184, .10), transparent 40%),
        radial-gradient(circle at 80% 65%,
        rgba(212, 175, 55, .08), transparent 40%),
        #06131b;
}

.portal-container {
    position: relative;
    z-index: 2;
    max-width: 1250px;
    margin: auto;
}

.portal-header {
    text-align: center;
    margin-bottom: 55px;
}

.portal-eyebrow {
    color: var(--azul);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
}

.portal-header h1 {
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 900;
    letter-spacing: -2px;
    margin: 20px 0;
}

.portal-header h1 span {
    color: var(--azul);
}

.portal-header p {
    color: var(--gris);
    font-size: 15px;
    line-height: 1.9;
    max-width: 650px;
    margin: auto;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.portal-card {
    position: relative;
    display: flex;
    min-height: 490px;
    padding: 45px 35px;
    border-radius: 18px;
    overflow: hidden;
    text-align: center;
    align-items: center;
    justify-content: center;
    transition: transform .4s ease,
                box-shadow .4s ease,
                border-color .4s ease;
}

.portal-card:hover {
    transform: translateY(-10px);
}

.portal-card.detonadores {
    background:
        radial-gradient(circle at 50% 15%,
        rgba(54, 166, 184, .19), transparent 55%),
        #0a1d28;
    border: 1px solid rgba(54, 166, 184, .30);
}

.portal-card.detonadores:hover {
    box-shadow: 0 20px 50px rgba(54, 166, 184, .15);
    border-color: var(--azul);
}

.portal-card.condor {
    background:
        radial-gradient(circle at 50% 15%,
        rgba(212, 175, 55, .17), transparent 55%),
        #1b1915;
    border: 1px solid rgba(212, 175, 55, .30);
}

.portal-card.condor:hover {
    box-shadow: 0 20px 50px rgba(212, 175, 55, .13);
    border-color: var(--dorado);
}

.portal-card-content {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portal-logo {
    width: 155px;
    height: 155px;
    margin-bottom: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portal-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255,255,255,.12));
}

.detonadores .portal-logo img {
    transform: scale(1.25);
}

.portal-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.detonadores .portal-label {
    color: var(--azul);
}

.condor .portal-label {
    color: var(--dorado);
}

.portal-card h2 {
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.portal-card h2 span {
    font-size: 15px;
    vertical-align: top;
}

.portal-card p {
    color: var(--gris);
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 30px;
    max-width: 380px;
}

.portal-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 15px 22px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .3s ease,
                background .3s ease;
}

.portal-button:hover {
    transform: translateY(-3px);
}

.detonadores .portal-button {
    background: var(--azul);
    color: white;
}

.condor .portal-button {
    background: var(--dorado);
    color: #16130b;
}

.portal-footer {
    text-align: center;
    margin-top: 55px;
    color: #8399a5;
    font-size: 11px;
    letter-spacing: 1px;
}

/* TARJETAS DEL PORTAL */

.portal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.portal-card {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
    padding: 45px 35px;
    border-radius: 22px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.portal-card:hover {
    transform: translateY(-8px);
}

/* DETONADORES */

.portal-card.detonadores {
    background: linear-gradient(145deg, #102c3a, #071923);
    border: 1px solid rgba(54, 166, 184, 0.5);
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.2);
}

.portal-card.detonadores:hover {
    box-shadow: 0 20px 55px rgba(54, 166, 184, 0.2);
}

/* CÓNDOR */

.portal-card.condor {
    background: linear-gradient(145deg, #302717, #13120f);
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.2);
}

.portal-card.condor:hover {
    box-shadow: 0 20px 55px rgba(212, 175, 55, 0.2);
}

/* CONTENIDO */

.portal-card-content {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portal-logo {
    width: 170px;
    height: 170px;
    margin-bottom: 25px;
}

.portal-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.portal-card h2 {
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.15;
    margin: 15px 0 20px;
}

.portal-card p {
    color: #b9c8d0;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* BOTONES */

.portal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.portal-button:hover {
    transform: translateY(-3px);
}

.detonadores .portal-button {
    background: #36a6b8;
    color: #ffffff;
}

.condor .portal-button {
    background: #d4af37;
    color: #17130a;
}


/* RESPONSIVO */

@media (max-width: 768px) {
    .portal {
        padding: 55px 5% 25px;
    }

    .portal-header {
        margin-bottom: 35px;
    }

    .portal-header h1 {
        letter-spacing: -1px;
    }

    .portal-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .portal-card {
        min-height: 420px;
        padding: 35px 25px;
    }

    .portal-logo {
        width: 130px;
        height: 130px;
    }

    .portal-footer {
        line-height: 1.8;
        margin-top: 35px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-card,
    .portal-button {
        transition: none;
    }
}

@media (max-width: 768px) {
    .portal-grid {
        grid-template-columns: 1fr;
    }

    .portal-card {
        min-height: 450px;
        padding: 35px 25px;
    }

    .portal-logo {
        width: 140px;
        height: 140px;
    }
}