/* ==============================
   Pagina Siti Web - Studio Graffiti
================================= */

.sg-web-services-page,
.sg-sites-page {
    --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-sites-page * {
    box-sizing: border-box;
}

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

/* HERO */

.sg-web-news-hero,
.sg-sites-hero {
    position: relative;
    padding: 160px 0 90px;
    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-web-news-hero::before,
.sg-sites-hero::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -160px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background-color: var(--sg-orange);
    opacity: .2;
}

.sg-web-news-hero::after,
.sg-sites-hero::after {
    content: "";
    position: absolute;
    bottom: -200px;
    left: -180px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background-color: rgba(255,255,255,.08);
}

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

.sg-web-news-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 60px;
    align-items: end;
}

.sg-web-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--sg-orange);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.sg-web-label::before {
    content: "";
    width: 42px;
    height: 2px;
    background-color: var(--sg-orange);
}

.sg-web-news-hero h1 {
    max-width: 1120px;
    margin: 0;
    color: #fff;
    font-size: clamp(50px, 8vw, 118px);
    line-height: .86;
    letter-spacing: -.075em;
    font-weight: 900;
}

.sg-web-news-hero h1 span {
    color: var(--sg-orange);
}

.sg-web-news-info {
    padding: 30px;
    border-radius: 30px;
    background-color: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
}

.sg-web-news-info h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 18px;
}

.sg-web-news-info p {
    color: rgba(255,255,255,.72);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.sg-web-hero-text {
    max-width: 850px;
    margin-top: 34px;
    color: rgba(255,255,255,.76);
    font-size: 20px;
    line-height: 1.65;
}

/* BOTTONI */

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

.sg-web-btn {
    min-height: 58px;
    padding: 18px 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
    transition: all .3s ease;
}

.sg-web-btn-primary {
    background-color: var(--sg-orange);
    color: #fff;
}

.sg-web-btn-primary:hover {
    background-color: #fff;
    color: #111;
}

.sg-web-btn-light {
    background-color: #fff;
    color: #111;
}

.sg-web-btn-light:hover {
    background-color: var(--sg-orange);
    color: #fff;
}

/* SEZIONI */

.sg-web-intro-section,
.sg-sites-growth-section,
.sg-web-faq-section,
.sg-web-method-section {
    padding: 100px 0;
    background-color: #fff;
    color: #171717;
}

.sg-web-services-section,
.sg-sites-offers-section,
.sg-sites-why-section,
.sg-web-cta-section {
    padding: 100px 0;
    background-color: #101010;
    color: #fff;
}

.sg-web-content-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 80px;
    align-items: start;
}

.sg-web-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--sg-orange);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.sg-web-title {
    margin: 0;
    color: #111;
    font-size: clamp(38px, 5vw, 72px);
    line-height: .96;
    letter-spacing: -.055em;
    font-weight: 900;
}

.sg-web-title span {
    color: var(--sg-orange);
}

.sg-web-lead {
    margin: 0 0 24px;
    color: #292929;
    font-size: 22px;
    line-height: 1.55;
    font-weight: 700;
}

.sg-web-copy {
    margin: 0 0 18px;
    color: #555;
    font-size: 18px;
    line-height: 1.75;
}

/* HEAD SECTION */

.sg-web-section-head {
    max-width: 900px;
    margin-bottom: 48px;
}

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

.sg-web-section-head h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 5.4vw, 78px);
    line-height: .95;
    letter-spacing: -.06em;
    font-weight: 900;
}

.sg-web-section-head h2 span {
    color: var(--sg-orange);
}

.sg-web-section-head p {
    margin: 22px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 18px;
    line-height: 1.7;
}

.sg-web-section-head.dark h2,
.sg-web-section-head.light h2 {
    color: #111;
}

.sg-web-section-head.light p,
.sg-web-section-head.dark p {
    color: #555;
}

/* CARD SERVIZI */

.sg-web-service-grid,
.sg-sites-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.sg-web-service-card {
    min-height: 330px;
    padding: 30px;
    border-radius: 32px;
    background-color: var(--sg-card);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
    display: flex;
    flex-direction: column;
    transition: all .3s ease;
}

.sg-web-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,61,0,.45);
    background-color: #242424;
}

.sg-web-service-card .number {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border-radius: 50%;
    background-color: var(--sg-soft);
    color: var(--sg-orange);
    font-size: 14px;
    font-weight: 900;
}

.sg-web-service-card h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 26px;
    line-height: 1.05;
    font-weight: 900;
}

.sg-web-service-card p {
    margin: 0 0 26px;
    color: rgba(255,255,255,.70);
    font-size: 16px;
    line-height: 1.7;
}

.sg-web-card-btn {
    margin-top: auto;
    display: inline-flex;
    width: fit-content;
    min-height: 44px;
    padding: 13px 20px;
    border-radius: 999px;
    background-color: var(--sg-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.sg-web-service-card:hover .sg-web-card-btn {
    background-color: #fff;
    color: #111;
}

/* OFFERTE */

.sg-sites-offers-section {
    background:
        radial-gradient(circle at bottom right, rgba(255,61,0,.24), transparent 34%),
        #111;
}

.sg-sites-offers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.sg-sites-offer-card {
    min-height: 310px;
    padding: 30px;
    border-radius: 32px;
    background-color: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
    display: flex;
    flex-direction: column;
    transition: all .3s ease;
}

.sg-sites-offer-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,61,0,.45);
    background-color: #242424;
}

.sg-sites-offer-card span {
    color: var(--sg-orange);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.sg-sites-offer-card h3 {
    color: #fff;
    font-size: 27px;
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 14px;
}

.sg-sites-offer-card p {
    color: rgba(255,255,255,.70);
    font-size: 16px;
    line-height: 1.7;
}

.sg-sites-offer-card strong {
    margin-top: auto;
    width: fit-content;
    padding: 13px 20px;
    border-radius: 999px;
    background-color: var(--sg-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

/* METODO */

.sg-web-method-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
}

.sg-web-method-card {
    padding: 28px;
    border-radius: 30px;
    background-color: #f5f5f5;
    border: 1px solid rgba(0,0,0,.06);
}

.sg-web-method-card span {
    display: block;
    color: var(--sg-orange);
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 20px;
}

.sg-web-method-card h3 {
    color: #111;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 12px;
}

.sg-web-method-card p {
    color: #5b5b5b;
    font-size: 15px;
    line-height: 1.7;
}

/* WHY */

.sg-sites-why-section {
    background:
        radial-gradient(circle at bottom left, rgba(255,61,0,.24), transparent 34%),
        #111;
}

.sg-sites-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px;
}

.sg-sites-why-card {
    min-height: 250px;
    padding: 30px;
    border-radius: 32px;
    background-color: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
}

.sg-sites-why-card h3 {
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 14px;
}

.sg-sites-why-card p {
    color: rgba(255,255,255,.70);
    font-size: 16px;
    line-height: 1.7;
}

/* FAQ */

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

.sg-web-faq-item {
    padding: 28px;
    margin-bottom: 14px;
    border-radius: 24px;
    background-color: #f7f7f7;
    border: 1px solid rgba(0,0,0,.08);
}

.sg-web-faq-item h3 {
    color: #111;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 12px;
}

.sg-web-faq-item p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

/* CTA */

.sg-web-cta-section {
    background-color: var(--sg-orange);
}

.sg-web-cta-box {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
}

.sg-web-cta-box h2 {
    color: #fff;
    font-size: clamp(42px, 6vw, 88px);
    line-height: .92;
    letter-spacing: -.06em;
    font-weight: 900;
}

.sg-web-cta-box p {
    color: rgba(255,255,255,.86);
    font-size: 19px;
    line-height: 1.6;
}

.sg-web-cta-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.sg-web-btn-dark {
    background-color: #111;
    color: #fff;
}

.sg-web-btn-white {
    background-color: #fff;
    color: #111;
}

/* RESPONSIVE */

@media (max-width: 1199px) {
    .sg-web-news-hero-grid,
    .sg-web-content-grid,
    .sg-web-cta-box {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .sg-web-service-grid,
    .sg-sites-service-grid,
    .sg-sites-offers-grid,
    .sg-web-method-grid,
    .sg-sites-why-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .sg-web-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .sg-web-news-hero,
    .sg-sites-hero {
        padding: 105px 0 54px;
    }

    .sg-web-news-hero h1 {
        font-size: clamp(44px, 15vw, 68px);
    }

    .sg-web-service-grid,
    .sg-sites-service-grid,
    .sg-sites-offers-grid,
    .sg-web-method-grid,
    .sg-sites-why-grid {
        grid-template-columns: 1fr;
    }

    .sg-web-btn,
    .sg-web-card-btn,
    .sg-sites-offer-card strong,
    .sg-web-cta-actions .sg-web-btn {
        width: 100%;
    }

    .sg-web-intro-section,
    .sg-web-services-section,
    .sg-sites-offers-section,
    .sg-web-method-section,
    .sg-sites-growth-section,
    .sg-sites-why-section,
    .sg-web-faq-section,
    .sg-web-cta-section {
        padding: 72px 0;
    }
}

/* ==============================
   Casi studio - pagina siti web
================================= */

.sg-sites-page .sg-web-case-study-section {
    padding: 100px 0;
    background: #101010;
    color: #fff;
}

.sg-sites-page .sg-web-case-study-section .case-study-list-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    margin-top: 50px;
}

.sg-sites-page .sg-web-dynamic-case-card {
    background: #ffffff !important;
    border-radius: 30px;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(255,255,255,.12);
    transition: all .3s ease;
}

.sg-sites-page .sg-web-dynamic-case-card:hover {
    transform: translateY(-6px);
}

.sg-sites-page .sg-web-dynamic-case-link {
    display: block;
    height: 100%;
    color: #111 !important;
    text-decoration: none !important;
}

.sg-sites-page .sg-web-dynamic-case-image {
    height: 260px;
    background: #eee;
    overflow: hidden;
}

.sg-sites-page .sg-web-dynamic-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
}

.sg-sites-page .sg-web-dynamic-case-content {
    padding: 28px;
    background: #fff !important;
}

.sg-sites-page .sg-web-dynamic-case-label {
    display: block;
    color: #dc2d17 !important;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.sg-sites-page .sg-web-dynamic-case-content h3 {
    color: #111 !important;
    font-size: 28px;
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 24px;
}

.sg-sites-page .sg-web-dynamic-case-btn {
    display: inline-flex;
    background: #dc2d17;
    color: #fff !important;
    padding: 13px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}


/* ==============================
   Recensioni - pagina siti web
================================= */

.sg-sites-page section:has(.custom-reviews) {
    padding: 100px 0;
    background: #101010;
    color: #fff;
    overflow: hidden;
}

.sg-sites-page section:has(.custom-reviews) .title-wrapper {
    max-width: 980px;
    margin: 0 auto 35px;
}

.sg-sites-page section:has(.custom-reviews) .section-title {
    color: #fff !important;
    font-size: clamp(42px, 6vw, 86px) !important;
    line-height: .92 !important;
    letter-spacing: -0.06em !important;
    font-weight: 900 !important;
}

.sg-sites-page section:has(.custom-reviews) .section-title span {
    color: #fff !important;
}

.sg-sites-page section:has(.custom-reviews) .section-title .text-primary {
    color: #dc2d17 !important;
}

.sg-sites-page section:has(.custom-reviews) .custom-reviews {
    display: block;
    width: 100%;
    height: 430px !important;
    min-height: 430px !important;
    border: 0;
    margin: 0 auto;
}

.sg-sites-page section:has(.custom-reviews) .all-btn-wrapper {
    margin-top: 18px !important;
    text-align: center;
}

.sg-sites-page section:has(.custom-reviews) .rr-btn {
    min-height: 58px !important;
    padding: 18px 34px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #dc2d17 !important;
    border: 0 !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: .03em;
    text-decoration: none !important;
}

.sg-sites-page section:has(.custom-reviews) .rr-btn:hover {
    background: #fff !important;
    color: #111 !important;
}

.sg-sites-page section:has(.custom-reviews) .rr-btn .btn-wrap,
.sg-sites-page section:has(.custom-reviews) .rr-btn .text-one,
.sg-sites-page section:has(.custom-reviews) .rr-btn .text-two {
    color: inherit !important;
}


/* Responsive */

@media (max-width: 1199px) {
    .sg-sites-page .sg-web-case-study-section .case-study-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .sg-sites-page .sg-web-case-study-section,
    .sg-sites-page section:has(.custom-reviews) {
        padding: 72px 0;
    }

    .sg-sites-page .sg-web-case-study-section .case-study-list-grid {
        grid-template-columns: 1fr !important;
    }

    .sg-sites-page .sg-web-dynamic-case-image {
        height: 220px;
    }

    .sg-sites-page section:has(.custom-reviews) .custom-reviews {
        height: 520px !important;
        min-height: 520px !important;
    }

    .sg-sites-page section:has(.custom-reviews) .rr-btn {
        width: 100%;
    }
}

/* ==============================
   Offerte marketing - pagina siti web
================================= */

.sg-sites-offers-section {
    padding: 100px 0;
    background:
        radial-gradient(circle at bottom right, rgba(255,61,0,.24), transparent 34%),
        #111111;
    color: #ffffff;
}

.sg-sites-offers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.sg-sites-offer-card {
    position: relative;
    min-height: 520px;
    padding: 30px;
    border-radius: 32px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
    border: 1px solid rgba(255,255,255,.10);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all .3s ease;
}

.sg-sites-offer-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(220,45,23,.22), transparent 42%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.sg-sites-offer-card:hover::before,
.sg-sites-offer-card-featured::before {
    opacity: 1;
}

.sg-sites-offer-card:hover {
    transform: translateY(-6px);
    border-color: rgba(220,45,23,.55);
    background-color: #242424;
}

.sg-sites-offer-card > * {
    position: relative;
    z-index: 2;
}

.sg-sites-offer-card > span {
    display: inline-block;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(220,45,23,.16);
    color: #dc2d17;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.sg-sites-offer-card h3 {
    color: #ffffff;
    font-size: 28px;
    line-height: 1.05;
    font-weight: 900;
    margin: 0 0 18px;
    letter-spacing: -0.035em;
}

.sg-sites-offer-price {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.72);
    font-size: 15px;
    font-weight: 800;
}

.sg-sites-offer-price strong {
    display: block;
    margin-top: 8px;
    color: #ffffff;
    font-size: clamp(34px, 3vw, 48px);
    line-height: .9;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.sg-sites-offer-price em {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,.62);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.sg-sites-offer-card p {
    color: rgba(255,255,255,.72);
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 20px;
}

.sg-sites-offer-card ul {
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.sg-sites-offer-card li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: rgba(255,255,255,.76);
    font-size: 14px;
    line-height: 1.45;
}

.sg-sites-offer-card li::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #dc2d17;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 7px;
    box-shadow: 0 0 0 5px rgba(220,45,23,.12);
}

.sg-sites-offer-card > strong {
    margin-top: auto;
    width: fit-content;
    min-height: 44px;
    padding: 13px 20px;
    border-radius: 999px;
    background-color: #dc2d17;
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
    transition: all .3s ease;
}

.sg-sites-offer-card:hover > strong {
    background-color: #ffffff;
    color: #111111;
}

.sg-sites-offer-card-featured {
    border-color: rgba(220,45,23,.60);
    background:
        linear-gradient(145deg, rgba(220,45,23,.20), rgba(255,255,255,.035));
}

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

    .sg-sites-offer-card {
        min-height: 480px;
    }
}

@media (max-width: 767px) {
    .sg-sites-offers-section {
        padding: 72px 0;
    }

    .sg-sites-offers-grid {
        grid-template-columns: 1fr;
    }

    .sg-sites-offer-card {
        min-height: auto;
        padding: 28px;
    }

    .sg-sites-offer-card > strong {
        width: 100%;
        justify-content: center;
    }
}