/* /public_html/_stage-fh/home/social/social.css */

/* =========================
   Section - Social
========================= */

.fh-social {
    --fh-social-bg: var(--fh-home-bg, #fffdf9);
    --fh-social-card: #fffefb;
    --fh-social-ink: var(--fh-home-ink, #2f4b43);
    --fh-social-muted: var(--fh-home-muted, #6f7d78);
    --fh-social-pink: var(--fh-home-pink, #e96f83);
    --fh-social-pink-dark: var(--fh-home-pink-dark, #d95b70);
    --fh-social-green: var(--fh-home-green, #2fae83);
    --fh-social-line: rgba(212, 204, 195, 0.82);

    position: relative;

    width: 100%;
    padding: 40px 0 48px;

    background: var(--fh-social-bg);

    overflow: hidden;
}
.fh-social::before,
.fh-social::after {
    content: none;
    display: none;
}

.fh-social__shell {
    position: relative;
    z-index: 1;

    padding: 20px 22px;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 22px;

    border-radius: 32px;
    border: 1px solid var(--fh-social-line);

  background:
    linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.94),
        rgba(255, 254, 251, 0.98)
    );

    box-shadow:
        0 14px 34px rgba(73, 67, 61, 0.055),
        inset 0 1px 0 rgba(255, 255, 255, 0.94);

    overflow: hidden;
}

.fh-social__shell::before {
    content: "#";
    position: absolute;
    left: 22px;
    top: -46px;

    color: rgba(47, 174, 131, 0.05);

    font-size: 132px;
    font-weight: 800;
    line-height: 1;
}

.fh-social__intro,
.fh-social__grid {
    position: relative;
    z-index: 1;
}

.fh-social__eyebrow {
    width: max-content;
    padding: 6px 11px;

    display: inline-flex;

    border-radius: 999px;
    border: 1px solid rgba(233, 111, 131, 0.16);

    background: rgba(255, 255, 255, 0.72);
    color: var(--fh-social-pink-dark);

    font-size: 10.2px;
    font-weight: 800;
    line-height: 1.5;
}

.fh-social__title {
    max-width: 390px;
    margin: 8px 0 0;

    color: var(--fh-social-ink);

    font-size: clamp(22px, 2.65vw, 31px);
    font-weight: 900;
    line-height: 1.55;
    word-spacing: 0.04em;
}

.fh-social__text {
    max-width: 390px;
    margin: 7px 0 0;

    color: var(--fh-social-muted);

    font-size: 12px;
    font-weight: 600;
    line-height: 1.9;
    word-spacing: 0.04em;
}

.fh-social__note {
    width: fit-content;
    margin-top: 12px;
    padding: 8px 11px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    border-radius: 17px;
    border: 1px solid rgba(47, 174, 131, 0.12);

    background: rgba(250, 255, 252, 0.7);
    color: #3f695d;

    font-size: 9.6px;
    font-weight: 650;
    line-height: 1.55;
}

.fh-social__note span {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;

    border-radius: 999px;

    background: var(--fh-social-green);
    box-shadow: 0 0 0 5px rgba(47, 174, 131, 0.10);
}

.fh-social__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.fh-social__card {
    --soft: rgba(47, 174, 131, 0.1);
    --icon-bg: rgba(47, 174, 131, 0.12);
    --icon: var(--fh-social-green);

    position: relative;

    min-height: 154px;
    padding: 15px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;

    border-radius: 24px;
    border: 1px solid rgba(212, 204, 195, 0.74);

    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 254, 251, 0.98));

    text-decoration: none;

    box-shadow:
        0 8px 20px rgba(73, 67, 61, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);

    overflow: hidden;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.fh-social__card::before {
    content: "";
    position: absolute;
    inset: auto -28px -42px auto;

    width: 118px;
    height: 118px;

    border-radius: 999px;

    background: var(--soft);

    opacity: 0.68;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease;
}

.fh-social__card:hover {
    transform: translateY(-3px);

    border-color: rgba(47, 174, 131, 0.18);

    box-shadow:
        0 13px 28px rgba(73, 67, 61, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.fh-social__card:hover::before {
    transform: scale(1.08);
    opacity: 0.88;
}

.fh-social__card-head,
.fh-social__card-footer {
    position: relative;
    z-index: 1;
}

.fh-social__card-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.fh-social__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    display: grid;
    place-items: center;

    border-radius: 16px;

    background: var(--icon-bg);
    color: var(--icon);

    font-size: 20px;

    box-shadow:
        0 8px 16px rgba(73, 67, 61, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.fh-social__icon img {
    display: block;

    width: 23px;
    height: 23px;

    object-fit: contain;
    object-position: center;
}

.fh-social__name {
    margin: 1px 0 0;

    color: var(--fh-social-ink);

    font-size: 13px;
    font-weight: 900;
    line-height: 1.7;
}

.fh-social__desc {
    margin: 3px 0 0;

    color: var(--fh-social-muted);

    font-size: 10.6px;
    font-weight: 600;
    line-height: 1.95;
}

.fh-social__card-footer {
    display: grid;
    justify-content: center;
    justify-items: center;
    gap: 7px;

    text-align: center;
}

.fh-social__handle {
    color: rgba(111, 125, 120, 0.78);

    font-size: 10.3px;
    font-weight: 650;
    line-height: 1;

    direction: ltr;
}

.fh-social__button {
    min-height: 30px;
    padding: 0 13px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    border-radius: 999px;
    border: 1px solid var(--button-border, rgba(47, 174, 131, 0.16));

    background: var(--button-bg, rgba(255, 255, 255, 0.72));
    color: var(--button-color, var(--fh-social-green));

    font-size: 10.5px;
    font-weight: 900;
    line-height: 1;

    box-shadow:
        0 8px 14px var(--button-shadow, rgba(47, 174, 131, 0.045)),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.fh-social__card--instagram {
    --icon-bg: rgba(233, 111, 131, 0.12);
    --soft: rgba(233, 111, 131, 0.10);
    --icon: #d95b70;
    --button-bg: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
    --button-border: rgba(221, 42, 123, 0.26);
    --button-color: #fff;
    --button-shadow: rgba(221, 42, 123, 0.16);
}

.fh-social__card--telegram {
    --icon-bg: rgba(34, 158, 217, 0.12);
    --soft: rgba(34, 158, 217, 0.10);
    --icon: #229ed9;
    --button-bg: #229ed9;
    --button-border: rgba(34, 158, 217, 0.24);
    --button-color: #fff;
    --button-shadow: rgba(34, 158, 217, 0.14);
}

.fh-social__card--bale {
    --icon-bg: rgba(24, 166, 120, 0.13);
    --soft: rgba(24, 166, 120, 0.11);
    --icon: #18a678;
    --button-bg: #18a678;
    --button-border: rgba(24, 166, 120, 0.22);
    --button-color: #fff;
    --button-shadow: rgba(24, 166, 120, 0.13);
}

@media (max-width: 900px) {
    .fh-social {
        padding: 34px 0 44px;
    }

    .fh-social__shell {
        padding: 18px 10px 12px;

        grid-template-columns: 1fr;
        gap: 16px;

        border-radius: 28px;
    }

    .fh-social__shell::before {
        left: 8px;
        top: -22px;

        font-size: 106px;
    }

    .fh-social__intro {
        text-align: center;
    }

    .fh-social__eyebrow,
    .fh-social__note {
        margin-inline: auto;
    }

    .fh-social__title {
        max-width: 300px;
        margin: 7px auto 0;

        font-size: 17px;
        line-height: 1.55;
    }

    .fh-social__text {
        max-width: 300px;
        margin: 4px auto 0;

        font-size: 10.2px;
        line-height: 1.75;
    }

    .fh-social__note {
        margin-top: 8px;
        padding: 6px 8px;

        font-size: 8.8px;
    }

    .fh-social__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .fh-social__card {
        min-height: 104px;
        padding: 9px 5px 8px;

        justify-content: center;
        gap: 7px;

        border-radius: 16px;
    }

    .fh-social__card::before {
        right: -38px;
        bottom: -44px;

        width: 86px;
        height: 86px;
    }

    .fh-social__card-head {
        display: grid;
        justify-items: center;
        gap: 5px;

        text-align: center;
    }

    .fh-social__card-head > div {
        min-width: 0;
    }

    .fh-social__icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;

        border-radius: 13px;

        font-size: 15px;
    }

    .fh-social__icon img {
        width: 18px;
        height: 18px;
    }

    .fh-social__name {
        font-size: 10.2px;
        line-height: 1.55;

        white-space: nowrap;
    }

    .fh-social__desc {
        display: none;
    }

    .fh-social__card-footer {
        display: grid;
        justify-content: center;
        justify-items: center;
        gap: 5px;
    }

    .fh-social__handle {
        display: none;
    }

    .fh-social__button {
        min-height: 25px;
        padding: 0 8px;

        font-size: 8.8px;

        white-space: nowrap;
    }
}