/* ==============================
   GOOGLE PARTNER - HOME
================================= */

.sg-google-partner-area {
    --sg-orange: #ff3d00;
    --sg-dark: #101010;
    --sg-dark-2: #171717;
    --sg-card: rgba(255, 255, 255, .06);
    --sg-border: rgba(255, 255, 255, .12);
    --sg-text: rgba(255, 255, 255, .74);
    --sg-muted: rgba(255, 255, 255, .52);

    position: relative;
    overflow: hidden;
    padding: clamp(80px, 8vw, 135px) 0;
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 61, 0, .22), transparent 32%),
        radial-gradient(circle at 88% 0%, rgba(255, 255, 255, .08), transparent 28%),
        linear-gradient(180deg, #101010 0%, #171717 52%, #101010 100%);
    color: #fff;
    z-index: 9;
}

.sg-google-partner-area::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -180px;
    bottom: -220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 61, 0, .16), transparent 68%);
    pointer-events: none;
}

.sg-google-partner-inner {
    position: relative;
    z-index: 2;
}

.sg-google-partner-head {
    max-width: 1050px;
    margin-bottom: clamp(40px, 5vw, 76px);
}

.sg-google-partner-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 9px 14px;
    margin-bottom: 22px;
    border: 1px solid rgba(255, 61, 0, .36);
    border-radius: 999px;
    background: rgba(255, 61, 0, .10);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sg-google-partner-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--sg-orange);
    box-shadow: 0 0 0 7px rgba(255, 61, 0, .14);
}

.sg-google-partner-title {
    margin: 0;
    max-width: 1080px;
    color: #fff;
    font-size: clamp(44px, 7vw, 94px);
    line-height: .92;
    letter-spacing: -.065em;
    font-weight: 900;
}

.sg-google-partner-title span {
    color: var(--sg-orange);
}

.sg-google-partner-text {
    max-width: 900px;
    margin: 28px 0 0;
    color: var(--sg-text);
    font-size: clamp(17px, 1.55vw, 22px);
    line-height: 1.55;
}

.sg-google-partner-content {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: stretch;
}

.sg-google-main-badge {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    padding: 34px;
    border: 1px solid rgba(255, 61, 0, .42);
    border-radius: 34px;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 61, 0, .18), transparent 40%),
        linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
    box-shadow: 0 28px 80px rgba(0, 0, 0, .30);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    transition: transform .28s ease, border-color .28s ease, background .28s ease;
}

.sg-google-main-badge:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 61, 0, .75);
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 61, 0, .24), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .045));
}

.sg-google-badge-label {
    display: inline-flex;
    margin-bottom: 28px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 61, 0, .16);
    border: 1px solid rgba(255, 61, 0, .35);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sg-google-main-badge img {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
    margin-bottom: 28px;
}

.sg-google-badge-note {
    max-width: 260px;
    color: var(--sg-text);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.sg-google-cert-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.sg-google-cert-card {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    padding: 28px;
    border: 1px solid var(--sg-border);
    border-radius: 30px;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 61, 0, .12), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
    box-shadow: 0 28px 80px rgba(0, 0, 0, .26);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    transition: transform .28s ease, border-color .28s ease, background .28s ease;
}

.sg-google-cert-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 61, 0, .48);
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 61, 0, .20), transparent 40%),
        linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .045));
}

.sg-google-cert-card img {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
    margin-bottom: 34px;
}

.sg-google-cert-card h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 900;
}

.sg-google-cert-card p {
    margin: 0;
    color: var(--sg-text);
    font-size: 15px;
    line-height: 1.55;
}

/* Tablet */
@media (max-width: 1199px) {
    .sg-google-partner-content {
        grid-template-columns: 1fr;
    }

    .sg-google-main-badge {
        min-height: auto;
    }

    .sg-google-cert-card {
        min-height: 340px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .sg-google-partner-area {
        padding: 72px 0 82px;
    }

    .sg-google-partner-head {
        margin-bottom: 34px;
    }

    .sg-google-partner-title {
        font-size: clamp(42px, 12vw, 58px);
        line-height: .98;
    }

    .sg-google-partner-text {
        font-size: 16px;
    }

    .sg-google-cert-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sg-google-main-badge,
    .sg-google-cert-card {
        border-radius: 26px;
        padding: 26px;
    }

    .sg-google-cert-card {
        min-height: auto;
    }

    .sg-google-cert-card img {
        width: 130px;
        margin-bottom: 26px;
    }

    .sg-google-cert-card h3 {
        font-size: 28px;
    }
}