.sg-google-page {
    --sg-red: #dc2d17;
    --sg-dark: #080808;
    --sg-dark-soft: #111111;
    --sg-card: #070707;
    --sg-border: rgba(255, 255, 255, 0.10);
    --sg-text: rgba(255, 255, 255, 0.72);
    overflow: hidden;
    background: var(--sg-dark);
    color: #ffffff;
}

.sg-google-page *,
.sg-google-page *::before,
.sg-google-page *::after {
    box-sizing: border-box;
}

.sg-google-page a {
    text-decoration: none;
}

.sg-google-hero {
    position: relative;
    padding: 140px 0 105px;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 10%, rgba(220, 45, 23, 0.24), transparent 31%),
        radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.06), transparent 32%),
        linear-gradient(145deg, #080808 0%, #151515 100%);
}

.sg-google-hero::after {
    content: "";
    position: absolute;
    width: 470px;
    height: 470px;
    right: -220px;
    bottom: -250px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    pointer-events: none;
}

.sg-google-hero .container {
    position: relative;
    z-index: 2;
}

.sg-google-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

.sg-google-breadcrumb a {
    color: #ffffff;
}

.sg-google-breadcrumb a:hover {
    color: var(--sg-red);
}

.sg-google-hero-content {
    max-width: 1080px;
}

.sg-google-kicker,
.sg-google-section-head > span,
.sg-google-cta > div > span {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--sg-red);
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sg-google-hero h1 {
    max-width: 1080px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(48px, 6.6vw, 98px);
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: -0.065em;
}

.sg-google-hero h1 strong {
    display: block;
    color: var(--sg-red);
    font-weight: 900;
}

.sg-google-hero-content > p {
    max-width: 880px;
    margin: 30px 0 0;
    color: var(--sg-text);
    font-size: clamp(18px, 1.7vw, 23px);
    line-height: 1.6;
}

.sg-google-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.sg-google-btn {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 900;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.sg-google-btn:hover {
    transform: translateY(-3px);
}

.sg-google-btn-primary {
    background: var(--sg-red);
    color: #ffffff;
}

.sg-google-btn-primary:hover {
    background: #ef3c27;
    color: #ffffff;
}

.sg-google-btn-outline {
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

.sg-google-btn-outline:hover {
    border-color: var(--sg-red);
    color: #ffffff;
}

/* I quattro box sono uguali a quelli presenti nella home */
.sg-google-partner-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: #000000;
    color: #ffffff;
}

.sg-google-partner-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 10%, rgba(220, 35, 45, 0.20), transparent 34%),
        radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 0.06), transparent 35%);
    pointer-events: none;
}

.sg-google-partner-section .container {
    position: relative;
    z-index: 2;
}

.sg-google-partner-heading {
    max-width: 920px;
    margin: 0 auto 55px;
}

.sg-google-partner-heading > span {
    display: inline-block;
    margin-bottom: 18px;
    color: #dc2d17;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.sg-google-partner-heading h2 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 72px);
    line-height: 1;
    font-weight: 800;
}

.sg-google-partner-heading h2 strong {
    display: block;
    color: #dc2d17;
    font-weight: 800;
}

.sg-google-partner-heading p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.72);
    font-size: 20px;
    line-height: 1.6;
}

.sg-google-partner-heading p strong {
    color: #ffffff;
}

.sg-google-cert-grid {
    display: grid !important;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.sg-google-cert-card {
    position: relative;
    display: flex;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 390px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 30px;
    background: #070707;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sg-google-cert-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 6px;
    background: #dc2d17;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.sg-google-cert-card:hover {
    border-color: rgba(227, 38, 54, 0.55);
    background: #111111;
    color: #ffffff;
    transform: translateY(-8px);
}

.sg-google-cert-card:hover::before {
    transform: scaleX(1);
}

.sg-cert-img {
    display: flex;
    min-height: 170px;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.sg-cert-img img {
    display: block;
    width: 150px;
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

.sg-cert-content span {
    display: inline-block;
    margin-bottom: 12px;
    color: #dc2d17;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.sg-cert-content h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 25px;
    line-height: 1.15;
}

.sg-cert-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    line-height: 1.55;
}

.sg-google-details-section,
.sg-google-faq-section {
    padding: 105px 0;
    background: #ffffff;
    color: #111111;
}

.sg-google-method-section {
    padding: 105px 0;
    background: #101010;
    color: #ffffff;
}

.sg-google-section-head {
    max-width: 920px;
    margin-bottom: 50px;
}

.sg-google-section-head.text-center {
    margin-right: auto;
    margin-left: auto;
}

.sg-google-section-head h2 {
    margin: 0;
    color: #111111;
    font-size: clamp(40px, 5.4vw, 76px);
    line-height: 0.96;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.sg-google-method-section .sg-google-section-head h2 {
    color: #ffffff;
}

.sg-google-section-head h2 strong {
    color: var(--sg-red);
    font-weight: 900;
}

.sg-google-section-head p {
    max-width: 800px;
    margin: 24px 0 0;
    color: #585858;
    font-size: 18px;
    line-height: 1.7;
}

.sg-google-method-section .sg-google-section-head p {
    color: var(--sg-text);
}

.sg-google-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sg-google-detail-card {
    display: flex;
    min-height: 430px;
    flex-direction: column;
    padding: 34px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    background: #f6f6f6;
}

.sg-google-detail-card > span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    border-radius: 50%;
    background: rgba(220, 45, 23, 0.10);
    color: var(--sg-red);
    font-size: 13px;
    font-weight: 900;
}

.sg-google-detail-card h3 {
    margin: 0 0 18px;
    color: #111111;
    font-size: 30px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.sg-google-detail-card p {
    margin: 0 0 28px;
    color: #555555;
    font-size: 16px;
    line-height: 1.7;
}

.sg-google-detail-card a {
    margin-top: auto;
    color: #111111;
    font-size: 15px;
    font-weight: 900;
}

.sg-google-detail-card a:hover {
    color: var(--sg-red);
}

.sg-google-method-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.sg-google-steps {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sg-google-steps li {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 20px;
    padding: 26px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sg-google-steps li:first-child {
    padding-top: 0;
}

.sg-google-steps li > span {
    color: var(--sg-red);
    font-size: 14px;
    font-weight: 900;
}

.sg-google-steps h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
}

.sg-google-steps p {
    margin: 0;
    color: var(--sg-text);
    font-size: 16px;
    line-height: 1.65;
}

.sg-google-faq-list {
    max-width: 980px;
    margin: 0 auto;
}

.sg-google-faq-list details {
    padding: 0 28px;
    margin-bottom: 14px;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 22px;
    background: #f7f7f7;
}

.sg-google-faq-list summary {
    position: relative;
    padding: 25px 45px 25px 0;
    color: #111111;
    font-size: 19px;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.sg-google-faq-list summary::-webkit-details-marker {
    display: none;
}

.sg-google-faq-list summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0;
    color: var(--sg-red);
    font-size: 28px;
    transform: translateY(-50%);
}

.sg-google-faq-list details[open] summary::after {
    content: "−";
}

.sg-google-faq-list p {
    padding: 0 0 26px;
    margin: 0;
    color: #555555;
    font-size: 16px;
    line-height: 1.7;
}

.sg-google-cta-section {
    padding: 80px 0;
    background: var(--sg-red);
}

.sg-google-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.sg-google-cta > div > span {
    color: rgba(255, 255, 255, 0.76);
}

.sg-google-cta h2 {
    max-width: 900px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(36px, 4.6vw, 66px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.sg-google-btn-light {
    background: #ffffff;
    color: #111111;
}

.sg-google-btn-light:hover {
    background: #111111;
    color: #ffffff;
}

.js .sg-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .sg-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1199px) {
    .sg-google-cert-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .sg-google-method-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

@media (max-width: 991px) {
    .sg-google-detail-grid {
        grid-template-columns: 1fr;
    }

    .sg-google-detail-card {
        min-height: auto;
    }

    .sg-google-cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .sg-google-hero {
        padding: 105px 0 72px;
    }

    .sg-google-breadcrumb {
        margin-bottom: 34px;
    }

    .sg-google-hero h1 {
        font-size: clamp(46px, 14vw, 66px);
        line-height: 0.95;
    }

    .sg-google-actions,
    .sg-google-btn {
        width: 100%;
    }

    .sg-google-partner-section,
    .sg-google-details-section,
    .sg-google-method-section,
    .sg-google-faq-section {
        padding: 72px 0;
    }

    .sg-google-partner-heading {
        margin-bottom: 38px;
    }

    .sg-google-partner-heading p {
        font-size: 18px;
    }

    .sg-google-cert-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .sg-google-cert-card {
        min-height: auto !important;
        padding: 24px !important;
        border-radius: 24px !important;
    }

    .sg-cert-img {
        min-height: auto !important;
        margin-bottom: 18px !important;
    }

    .sg-cert-img img {
        width: 120px !important;
        max-width: 120px !important;
    }

    .sg-cert-content h3 {
        font-size: 24px !important;
    }

    .sg-google-detail-card {
        padding: 28px;
        border-radius: 25px;
    }

    .sg-google-steps li {
        grid-template-columns: 42px 1fr;
    }

    .sg-google-cta-section {
        padding: 65px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .js .sg-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .sg-google-cert-card,
    .sg-google-btn {
        transition: none;
    }
}
