:root {
    --athena-blue: #0b3d91;
    --athena-blue-dark: #061f4a;
    --athena-blue-deep: #03142f;
    --athena-gold: #d4af37;
    --athena-gold-light: #f0d77a;
    --athena-white: #ffffff;
    --athena-text: #172033;
    --athena-muted: #64748b;
    --athena-border: rgba(11, 61, 145, 0.12);
}


/* ==============================
   ATHENANET IRC
   ============================== */

.athena-irc {
    width: 100%;
    color: var(--athena-text);
    background: var(--athena-white);
}


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

.athena-irc__hero {
    position: relative;
    min-height: 620px;

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

    overflow: hidden;

    padding: 100px 24px;

    background:
        linear-gradient(
            90deg,
            rgba(3, 20, 47, 0.94),
            rgba(6, 31, 74, 0.72),
            rgba(11, 61, 145, 0.42)
        );

    color: var(--athena-white);
}


/* IMMAGINE HERO */

.athena-irc__hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0.72;

    filter:
        saturate(1.08)
        contrast(1.05);

    transform: scale(1.02);

    z-index: 0;
}


/* OVERLAY */

.athena-irc__hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 20, 47, 0.96) 0%,
            rgba(6, 31, 74, 0.72) 45%,
            rgba(11, 61, 145, 0.35) 100%
        );

    z-index: 1;

    pointer-events: none;
}


/* VIGNETTATURA */

.athena-irc__hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 15%,
            rgba(0, 0, 0, 0.48) 100%
        );

    z-index: 2;

    pointer-events: none;
}


/* GRIGLIA */

.athena-irc__grid {
    position: absolute;
    inset: 0;

    z-index: 3;

    background-image:
        linear-gradient(
            rgba(212, 175, 55, 0.055) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(212, 175, 55, 0.055) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent
        );

    pointer-events: none;
}


/* CONTENUTO HERO */

.athena-irc__hero-content {
    position: relative;

    z-index: 4;

    width: min(950px, 100%);

    margin: auto;

    text-align: center;
}


/* EYEBROW */

.athena-irc__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 24px;

    color: var(--athena-gold-light);

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 0.28em;

    text-transform: uppercase;
}


.athena-irc__eyebrow::before,
.athena-irc__eyebrow::after {
    content: "";

    width: 42px;
    height: 1px;

    background: var(--athena-gold);
}


/* TITOLO */

.athena-irc__title {
    margin: 0;

    color: var(--athena-white);

    font-size: clamp(3.2rem, 8vw, 7rem);

    line-height: 0.95;

    font-weight: 800;

    letter-spacing: -0.05em;

    text-shadow:
        0 10px 35px rgba(0, 0, 0, 0.4);
}


/* SOTTOTITOLO */

.athena-irc__subtitle {
    max-width: 760px;

    margin: 30px auto 0;

    color:
        rgba(255, 255, 255, 0.92);

    font-size:
        clamp(1.1rem, 2vw, 1.4rem);

    line-height: 1.6;
}


/* PULSANTE */

.athena-irc__button {
    display: inline-flex;

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

    margin-top: 38px;

    padding: 15px 32px;

    border:
        1px solid var(--athena-gold);

    border-radius: 999px;

    background:
        var(--athena-gold);

    color:
        var(--athena-blue-deep);

    font-size: 0.85rem;

    font-weight: 800;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    text-decoration: none;

    transition:
        transform 250ms ease,
        background 250ms ease,
        box-shadow 250ms ease;
}


.athena-irc__button:hover {
    transform:
        translateY(-3px);

    background:
        var(--athena-gold-light);

    color:
        var(--athena-blue-deep);

    box-shadow:
        0 12px 35px
        rgba(0, 0, 0, 0.28);
}


/* ==============================
   INTRO
   ============================== */

.athena-irc__content {
    width: min(1150px, 92%);

    margin: auto;

    padding: 80px 0;
}


.athena-irc__section-title {
    margin:
        0 0 12px;

    color:
        var(--athena-blue-dark);

    font-size:
        clamp(2rem, 4vw, 3rem);

    font-weight:
        800;

    letter-spacing:
        -0.03em;
}


.athena-irc__section-description {
    max-width: 720px;

    margin:
        0 0 42px;

    color:
        var(--athena-muted);

    font-size:
        1.05rem;

    line-height:
        1.7;
}


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

.athena-irc__cards {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


.athena-irc__card {
    padding: 30px;

    border:
        1px solid var(--athena-border);

    border-radius:
        18px;

    background:
        var(--athena-white);

    box-shadow:
        0 8px 30px
        rgba(6, 31, 74, 0.07);

    transition:
        transform 250ms ease,
        box-shadow 250ms ease,
        border-color 250ms ease;
}


.athena-irc__card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(212, 175, 55, 0.5);

    box-shadow:
        0 15px 40px
        rgba(6, 31, 74, 0.12);
}


/* ICONA */

.athena-irc__icon {
    display: flex;

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

    width: 54px;
    height: 54px;

    margin-bottom: 20px;

    border-radius: 14px;

    background:
        rgba(11, 61, 145, 0.08);

    color:
        var(--athena-blue);

    font-size:
        1.6rem;
}


.athena-irc__card h3 {
    margin:
        0 0 10px;

    color:
        var(--athena-blue-dark);

    font-size:
        1.25rem;
}


.athena-irc__card p {
    margin:
        0;

    color:
        var(--athena-muted);

    line-height:
        1.65;
}


/* ==============================
   IRC CLIENT
   ============================== */

.athena-irc__client-section {
    padding:
        20px 0 90px;

    background:
        #f8fafc;
}


.athena-irc__client {
    width:
        min(1400px, 94%);

    margin:
        0 auto;

    overflow:
        hidden;

    border:
        1px solid var(--athena-border);

    border-radius:
        18px;

    background:
        var(--athena-white);

    box-shadow:
        0 15px 50px
        rgba(6, 31, 74, 0.12);
}


/* IFRAME */

.athena-irc__client iframe {
    display:
        block;

    width:
        100%;

    height:
        80vh;

    min-height:
        700px;

    border:
        0;
}


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

@media (max-width: 900px) {

    .athena-irc__cards {
        grid-template-columns:
            1fr 1fr;
    }

}


@media (max-width: 640px) {

    .athena-irc__hero {
        min-height:
            560px;

        padding:
            80px 20px;
    }


    .athena-irc__cards {
        grid-template-columns:
            1fr;
    }


    .athena-irc__content {
        padding:
            60px 0;
    }


    .athena-irc__eyebrow {
        letter-spacing:
            0.18em;
    }


    .athena-irc__client {
        width:
            96%;

        border-radius:
            12px;
    }


    .athena-irc__client iframe {
        height:
            75vh;

        min-height:
            600px;
    }

}
