/* ==============================
   Service page modern - Studio Graffiti
============================== */

.sg-service-modern {
    --sg-orange: #dc2d17;
    --sg-dark: #171717;
    --sg-dark-2: #101010;
    --sg-card: #1f1f1f;
    --sg-soft: rgba(255, 61, 0, 0.14);
    background-color: var(--sg-dark);
    color: #ffffff;
    overflow: hidden;
}

.sg-service-modern * {
    box-sizing: border-box;
}

.sg-service-modern a {
    text-decoration: none;
}


/* ==============================
   Hero
============================== */

.sg-service-hero {
    position: relative;
    padding: 140px 0 80px;
    background:
        radial-gradient(circle at top right, rgba(255, 61, 0, 0.28) 0, transparent 34%),
        linear-gradient(135deg, #171717 0%, #101010 100%);
    overflow: hidden;
}

.sg-service-hero::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -160px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background-color: var(--sg-orange);
    opacity: 0.20;
    pointer-events: none;
}

.sg-service-hero::after {
    content: "";
    position: absolute;
    bottom: -200px;
    left: -180px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.sg-service-hero .container {
    position: relative;
    z-index: 2;
}

.sg-back-wrapper {
    margin-bottom: 34px;
}

.sg-service-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--sg-orange);
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sg-service-label::before {
    content: "";
    width: 42px;
    height: 2px;
    background-color: var(--sg-orange);
}

.sg-service-hero h1 {
    max-width: 980px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(52px, 8vw, 118px);
    line-height: 0.86;
    letter-spacing: -0.075em;
    font-weight: 900;
}

.sg-service-hero h1 span {
    color: var(--sg-orange);
}

.sg-service-hero-text {
    max-width: 760px;
    margin-top: 34px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 20px;
    line-height: 1.65;
}

.sg-service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 38px;
}


/* ==============================
   Buttons
============================== */

.sg-service-btn {
    min-height: 58px;
    padding: 18px 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}

.sg-service-btn-primary {
    background-color: var(--sg-orange);
    color: #ffffff;
}

.sg-service-btn-primary:hover {
    background-color: #ffffff;
    color: #111111;
    transform: translateY(-3px);
}

.sg-service-btn-light {
    background-color: #ffffff;
    color: #111111;
}

.sg-service-btn-light:hover {
    background-color: var(--sg-orange);
    color: #ffffff;
    transform: translateY(-3px);
}


/* ==============================
   Hero trust cards
============================== */

.sg-service-trust-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 56px;
}

.sg-service-trust-card {
    min-height: 120px;
    padding: 22px;
    border-radius: 26px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sg-service-trust-card span {
    display: block;
    margin-bottom: 12px;
    color: var(--sg-orange);
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sg-service-trust-card strong {
    color: #ffffff;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 900;
}


/* ==============================
   Image
============================== */

.sg-service-image-section {
    padding: 70px 0;
    background-color: #171717;
}

.sg-service-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 42px;
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.35);
}

.sg-service-image-card picture,
.sg-service-image-card img {
    display: block;
    width: 100%;
}

.sg-service-image-card img {
    min-height: 440px;
    object-fit: cover;
}


/* ==============================
   Content
============================== */

.sg-service-content-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #111111;
}

.sg-section-label {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--sg-orange);
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sg-section-title {
    margin: 0;
    color: #111111;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.92;
    letter-spacing: -0.065em;
    font-weight: 900;
}

.sg-section-title-light {
    margin: 0;
    color: #ffffff;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.92;
    letter-spacing: -0.065em;
    font-weight: 900;
}

.sg-section-text {
    color: #4e4e4e;
    font-size: 18px;
    line-height: 1.7;
}

.sg-section-text p {
    margin-bottom: 22px;
}

.sg-section-text strong {
    color: #111111;
}


/* ==============================
   Feature cards
============================== */

.sg-service-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 46px;
}

.sg-service-feature-card {
    min-height: 270px;
    padding: 28px;
    border-radius: 30px;
    background-color: #f5f5f5;
    color: #111111;
    transition: all 0.3s ease;
}

.sg-service-feature-card:hover {
    transform: translateY(-6px);
    background-color: var(--sg-orange);
    color: #ffffff;
}

.sg-service-feature-card span {
    display: inline-flex;
    margin-bottom: 34px;
    color: var(--sg-orange);
    font-size: 54px;
    line-height: 0.85;
    letter-spacing: -0.07em;
    font-weight: 900;
}

.sg-service-feature-card:hover span {
    color: rgba(255, 255, 255, 0.55);
}

.sg-service-feature-card h3 {
    margin: 0 0 14px;
    color: inherit;
    font-size: 25px;
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.sg-service-feature-card p {
    margin: 0;
    color: inherit;
    opacity: 0.78;
    font-size: 15px;
    line-height: 1.55;
}


/* ==============================
   Process
============================== */

.sg-service-process-section {
    padding: 90px 0;
    background:
        radial-gradient(circle at top left, rgba(255, 61, 0, 0.18) 0, transparent 34%),
        #171717;
    color: #ffffff;
}

.sg-service-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 48px;
}

.sg-service-process-card {
    position: relative;
    min-height: 300px;
    padding: 30px;
    border-radius: 32px;
    background-color: #ffffff;
    color: #111111;
    overflow: hidden;
}

.sg-service-process-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background-color: var(--sg-orange);
    opacity: 0.12;
}

.sg-service-process-card span {
    position: relative;
    z-index: 2;
    display: inline-flex;
    margin-bottom: 50px;
    color: var(--sg-orange);
    font-size: 64px;
    line-height: 0.85;
    letter-spacing: -0.08em;
    font-weight: 900;
}

.sg-service-process-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 14px;
    color: #111111;
    font-size: 25px;
    line-height: 1;
    letter-spacing: -0.045em;
    font-weight: 900;
}

.sg-service-process-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #555555;
    font-size: 15px;
    line-height: 1.55;
}


/* ==============================
   Output
============================== */

.sg-service-output-section {
    padding: 90px 0;
    background-color: #ffffff;
    color: #111111;
}

.sg-output-card {
    height: 100%;
    padding: 34px;
    border-radius: 34px;
    background-color: #111111;
    color: #ffffff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.sg-output-card h3 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: 34px;
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.sg-output-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sg-output-list li {
    position: relative;
    padding-left: 32px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
}

.sg-output-list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--sg-orange);
    color: #ffffff;
    font-size: 13px;
    line-height: 22px;
    font-weight: 900;
    text-align: center;
}

.sg-ai-card {
    height: 100%;
    padding: 34px;
    border-radius: 34px;
    background-color: #f4f4f4;
    color: #111111;
}

.sg-ai-card h3 {
    margin: 0 0 18px;
    color: #111111;
    font-size: 34px;
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.sg-ai-card p {
    margin: 0;
    color: #4e4e4e;
    font-size: 17px;
    line-height: 1.65;
}


/* ==============================
   CTA
============================== */

.sg-service-cta-section {
    padding: 90px 0;
    background:
        radial-gradient(circle at bottom right, rgba(255, 61, 0, 0.24) 0, transparent 36%),
        #171717;
    color: #ffffff;
}

.sg-service-cta-box {
    padding: 48px;
    border-radius: 40px;
    background-color: var(--sg-orange);
    color: #ffffff;
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.35);
}

.sg-service-cta-box h2 {
    max-width: 850px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 0.9;
    letter-spacing: -0.07em;
    font-weight: 900;
}

.sg-service-cta-box p {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.65;
}

.sg-service-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.sg-service-cta-box .sg-service-btn-primary {
    background-color: #111111;
    color: #ffffff;
}

.sg-service-cta-box .sg-service-btn-primary:hover {
    background-color: #ffffff;
    color: #111111;
}

.sg-service-cta-box .sg-service-btn-light {
    background-color: #ffffff;
    color: #111111;
}

.sg-service-cta-box .sg-service-btn-light:hover {
    background-color: #111111;
    color: #ffffff;
}


/* ==============================
   FAQ
============================== */

.sg-service-faq-section {
    padding: 90px 0;
    background-color: #171717;
    color: #ffffff;
}

.sg-service-faq-section .accordion-item {
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background-color: transparent;
}

.sg-service-faq-section .accordion-button {
    padding: 28px 0;
    background-color: transparent;
    color: #ffffff;
    box-shadow: none;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.sg-service-faq-section .accordion-button:not(.collapsed) {
    color: var(--sg-orange);
}

.sg-service-faq-section .accordion-button::after {
    filter: invert(1);
}

.sg-service-faq-section .accordion-body {
    padding: 0 0 28px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    line-height: 1.65;
}


/* ==============================
   Offcanvas piccoli fix
============================== */

.oc-service .offcanvas-header,
#offcanvasFrame .offcanvas-header,
#offcanvasContact .offcanvas-header {
    background-color: #171717;
    color: #ffffff;
}

.oc-service .offcanvas-title,
#offcanvasFrame .offcanvas-title,
#offcanvasContact .offcanvas-title {
    color: #ffffff;
    font-weight: 900;
}

.oc-service .offcanvas-body {
    background-color: #ffffff;
}

.oc-service .btn-primary {
    border: 0;
    border-radius: 999px;
    background-color: var(--sg-orange);
    font-weight: 800;
}

.oc-service .btn-primary:hover {
    background-color: #111111;
}


/* ==============================
   Responsive
============================== */

@media (max-width: 1199px) {
    .sg-service-trust-row,
    .sg-service-feature-grid,
    .sg-service-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .sg-service-hero {
        padding: 110px 0 60px;
    }

    .sg-service-hero h1 {
        font-size: 64px;
    }

    .sg-service-image-card {
        border-radius: 28px;
    }

    .sg-service-image-card img {
        min-height: 380px;
    }

    .sg-section-title,
    .sg-section-title-light {
        font-size: 46px;
    }

    .sg-service-cta-box {
        padding: 34px;
        border-radius: 30px;
    }
}

@media (max-width: 767px) {
    .sg-service-hero {
        padding: 95px 0 50px;
    }

    .sg-service-hero h1 {
        font-size: 50px;
        letter-spacing: -0.06em;
    }

    .sg-service-hero-text {
        font-size: 16px;
        line-height: 1.6;
    }

    .sg-service-btn {
        width: 100%;
    }

    .sg-service-trust-row,
    .sg-service-feature-grid,
    .sg-service-process-grid {
        grid-template-columns: 1fr;
    }

    .sg-service-trust-card,
    .sg-service-feature-card,
    .sg-service-process-card {
        min-height: auto;
    }

    .sg-service-image-section,
    .sg-service-content-section,
    .sg-service-process-section,
    .sg-service-output-section,
    .sg-service-cta-section,
    .sg-service-faq-section {
        padding: 60px 0;
    }

    .sg-section-title,
    .sg-section-title-light {
        font-size: 40px;
    }

    .sg-service-image-card img {
        min-height: 300px;
    }

    .sg-service-cta-box h2 {
        font-size: 42px;
    }

    .sg-service-cta-box p {
        font-size: 16px;
    }

    .sg-service-faq-section .accordion-button {
        font-size: 19px;
    }
}

/* ==============================
   STICKY CONTENT - LOGO AZIENDALE
================================= */

.sg-logo-sticky-section,
.sg-logo-sticky-section .container,
.sg-logo-sticky-section .container.large,
.sg-logo-sticky-section .row,
.sg-logo-sticky-section .col-lg-5,
.sg-logo-sticky-section .col-lg-7 {
    overflow: visible !important;
}

@media (min-width: 992px) {
    .sg-logo-sticky-section .row {
        align-items: flex-start !important;
        overflow: visible !important;
        min-height: 950px;
    }

    .sg-logo-sticky-section .col-lg-5 {
        position: sticky !important;
        top: 120px !important;
        align-self: flex-start !important;
        height: fit-content !important;
        z-index: 10 !important;
    }

    .sg-logo-sticky-section .col-lg-7 {
        min-height: 950px;
    }
}

@media (max-width: 991px) {
    .sg-logo-sticky-section .col-lg-5 {
        position: static !important;
    }

    .sg-logo-sticky-section .row,
    .sg-logo-sticky-section .col-lg-7 {
        min-height: auto !important;
    }
}

/* Sblocca eventuali overflow superiori */
.sg-service-modern,
.sg-service-modern main,
body.logo-aziendale,
body.logo-aziendale main,
body.logo-aziendale .sg-service-content-section,
main,
.site-main,
.page-wrapper,
.body-wrapper {
    overflow: visible !important;
}