/*====================================================================================================================
SOLUTIONS
====================================================================================================================*/
#solutions {
    background: #000;
    padding: 120px 0;
    overflow: hidden;
    position: relative;
}

/* GRID BACKGROUND */
#solutions::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);

    background-size: 60px 60px;
    opacity: .4;
}

#solutions .container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: auto;
    padding: 0 20px;
}

/* =========================
   HEADER
========================= */

.solutions-header {
    
    margin-bottom: 60px;
    
}

.solutions-header h2{
    font-family: "Sora", sans-serif;
    font-size: 40px;
    line-height: 1.05;
    line-height: 54px;
    font-weight: 300;
    
    margin-bottom: 28px;
    letter-spacing: -1.5px;
    color: #ffffff;
}

.solutions-header p{
    font-family: "Inter", sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ffffff;
    color: rgba(255,255,255,0.85);
    max-width: 780px;
    font-size: 1.15rem;
    font-size: 18px;
    font-weight: 300;
    line-height: 28px;
}

/* =========================
   GRID
========================= */

.analyst-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* =========================
   FEATURED CARD
========================= */

.featured-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    text-decoration: none;
    min-height: 320px;
    min-height: 0px;
    background:
        radial-gradient(circle at 70% 50%,
            rgba(1, 96, 253,.7),
            transparent 75%),
        linear-gradient(
            135deg,
            #223aa6,
            #1f2f6c,
            #162585
        );
    border: 1px solid rgba(255,255,255,.08);

    transition: .1s ease;
}

.featured-card:hover {
    transform: translateY(-0px);
    border-color: rgba(87,102,255,.7);
    box-shadow:0 15px 50px rgba(87,102,255,.18);
}

.featured-card::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    right: -180px;
    top: -150px;
    animation: pulseGlow 7s infinite;
}

@keyframes pulseGlow {
    0% {transform:scale(1);}
    50% {transform:scale(1.15);}
    100% {transform:scale(1);}
}

.featured-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    height: 100%;
}

.featured-left {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  
}

.brand {
    color: #ffffff;
    font-family: "Sora", sans-serif;
    font-size:clamp(3rem,5vw,4.5rem);
    font-size:25px;
    font-weight:300;
    line-height:1;
    margin-bottom:10px;
}

.featured-left h3 {
    color: #ffffff;
    font-weight: 400;
    font-family: "Inter", sans-serif;
    font-size:1.4rem;
    font-size:18px;
    line-height:1.4;
    max-width:500px;
}

.featured-right{
    min-height: 200px;
    width: 100%;
    background-image: url("../assets/images/capacitacion.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =========================
   BOTTOM CARDS
========================= */

.small-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.solutions-card {
    padding: 30px;
    border-radius: 18px;
    background:
        linear-gradient(
            180deg,
            rgba(15,15,15,.95),
            rgba(5,5,5,.95)
        );
    border: 1px solid rgba(255,255,255,.08);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    background:
        radial-gradient(circle at 70% 50%,
            rgba(1, 96, 253,.7),
            transparent 75%),
        linear-gradient(
            135deg,
            #223aa6,
            #243675,
            #162585
        );
    border: 1px solid rgba(255,255,255,.08);

    transition: .1s ease;
}

.solutions-card:hover {
    transform: translateY(-0px);
    border-color: rgba(87,102,255,.7);
    box-shadow:0 15px 50px rgba(87,102,255,.18);
}

.solutions-card h4 {
    color: #ffffff;
    font-weight: 400;
    font-family: "Inter", sans-serif;
    font-size:1.4rem;
    font-size:18px;
    line-height:1.4;
}

.card-link {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size:1.4rem;
    font-size:16px;
    line-height:1.4;
    color: #ffffff;
}

/* =========================
   REVEAL EFFECT
========================= */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   TABLET
========================= */

@media (max-width: 992px) {

    .featured-content {
        grid-template-columns: 1fr;
    }

    .featured-right {
        padding-bottom: 50px;
    }

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

    .solutions-card {
        min-height: 220px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
    #solutions {
        padding: 80px 0; 
    }

    .solutions-header h2 {
        font-size: 2rem;
    }

    .solutions-header p{
        font-size:1rem;
        line-height:1.7;
    }

    .featured-left {
        padding: 35px;
    }

    .featured-left h3 {
        font-size: 1.15rem;
    }

    .idc-glass {
        width: 220px;
        height: 140px;
        font-size: 48px;
    }

    .solutions-card h4 {
        font-size: 1.15rem;
    }

    .card-link {
        font-family: "Inter", sans-serif;
        font-weight: 300;
        font-size:1.15rem;
        font-size:16px;
        line-height:1.4;
        color: #ffffff;
    }

    .brand {
        font-size:25px;
        font-size: 22px;
        font-weight:300;
        line-height:1.2;
        margin-bottom:0px;
    }
}

.idc-glass{
    width: min(100%, 320px);
    aspect-ratio: 1.8/1;

    border-radius: 24px;

    background: rgba(255,255,255,.08);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,.12);

    display:flex;
    justify-content:center;
    align-items:center;

    padding:2rem;

    box-shadow:
    0 20px 60px rgba(0,0,0,.4);
}

.idc-logo{
    width:100%;
    max-width:180px;
    height:auto;
    object-fit:contain;

    display:block;
}



