/* ============================================================
   HOME PAGE PUBBLICA — ShoppinGomme
   Design system "Pista notturna": nero profondo + rosso racing.
   Caricato solo dalla home (HeadContent in Home.razor).
   ============================================================ */

:root {
    --sg-black: #0b0b0d;
    --sg-coal: #131316;
    --sg-graphite: #1b1b20;
    --sg-surface: #202027;
    --sg-red: #d11a2a;
    --sg-red-deep: #8e0e1d;
    --sg-red-glow: rgba(209, 26, 42, 0.45);
    --sg-text: #f5f5f4;
    --sg-text-muted: #a8a8b3;
    --sg-border: rgba(255, 255, 255, 0.08);
    --sg-radius: 14px;
    --sg-nav-h: 56px;
    --sg-font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* La home usa LayoutHome (nessuna appbar MudBlazor): il body è full-bleed.
   Questo file è caricato solo dalla home, quindi le regole globali
   non impattano le altre pagine. */

html {
    scroll-behavior: smooth;
    /* compensa il nav sticky della home negli scroll alle ancore */
    scroll-padding-top: calc(var(--sg-nav-h) + 8px);
}

body {
    margin: 0;
    background: var(--sg-black);
}

.sg-home {
    background: var(--sg-black);
    color: var(--sg-text);
    font-family: var(--sg-font);
    line-height: 1.6;
    overflow-x: clip;
}

.sg-home a {
    color: inherit;
    text-decoration: none;
}

/* ---------- Utility layout ---------- */

.sg-container {
    width: min(1180px, 100% - 2.5rem);
    margin-inline: auto;
}

.sg-section {
    padding-block: clamp(4rem, 9vw, 6.5rem);
}

.sg-section--alt {
    background: var(--sg-coal);
}

.sg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sg-red);
    margin-bottom: 0.85rem;
}

.sg-eyebrow::before {
    content: "";
    width: 2.2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--sg-red), transparent);
}

.sg-section-title {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 0.75rem;
}

.sg-section-subtitle {
    color: var(--sg-text-muted);
    max-width: 60ch;
    margin: 0 0 2.5rem;
}

/* ---------- Reveal on scroll (progressive enhancement) ---------- */

@supports (animation-timeline: view()) {
    .sg-reveal {
        animation: sg-fade-up both;
        animation-timeline: view();
        animation-range: entry 0% entry 38%;
    }
}

@keyframes sg-fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .sg-home *,
    .sg-home *::before,
    .sg-home *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   NAV STICKY
   ============================================================ */

.sg-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 11, 13, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sg-border);
}

.sg-nav-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: var(--sg-nav-h);
}

.sg-nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.sg-nav-brand img {
    height: 34px;
    width: auto;
    display: block;
}

.sg-nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
}

.sg-nav-links a {
    display: block;
    padding: 0.45rem 0.8rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--sg-text-muted);
    border-radius: 8px;
    transition: color 0.2s, background-color 0.2s;
}

.sg-nav-links a:hover,
.sg-nav-links a:focus-visible {
    color: var(--sg-text);
    background: rgba(255, 255, 255, 0.06);
}

.sg-nav-login {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--sg-text-muted);
    background: transparent;
    border: 1px solid var(--sg-border);
    border-radius: 999px;
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.sg-nav-login:hover,
.sg-nav-login:focus-visible {
    color: var(--sg-text);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--sg-text-muted);
}

.sg-nav-login svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.sg-nav-links a.sg-nav-login-mobile {
    display: none;
}

/* Menu mobile CSS-only (checkbox hack) */

.sg-nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sg-nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 9px;
    margin-left: auto;
    border: 1px solid var(--sg-border);
    border-radius: 10px;
    cursor: pointer;
}

.sg-nav-burger span {
    height: 2px;
    background: var(--sg-text);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

@media (max-width: 860px) {

    .sg-nav-burger {
        display: flex;
    }

    .sg-nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1.25rem 1rem;
        background: var(--sg-black);
        border-bottom: 1px solid var(--sg-border);
        display: none;
    }

    .sg-nav-links a {
        padding: 0.8rem 0.6rem;
        font-size: 1rem;
    }

    .sg-nav-toggle:checked ~ .sg-nav-links {
        display: flex;
    }

    .sg-nav-toggle:checked ~ .sg-nav-burger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .sg-nav-toggle:checked ~ .sg-nav-burger span:nth-child(2) {
        opacity: 0;
    }

    .sg-nav-toggle:checked ~ .sg-nav-burger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .sg-nav-inner {
        gap: 0.6rem;
    }

    .sg-nav-brand img {
        height: 28px;
    }

    .sg-nav-login {
        display: none;
    }

    .sg-nav-login-item {
        margin-top: 0.5rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--sg-border);
    }

    .sg-nav-links a.sg-nav-login-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        width: 100%;
        padding: 0.75rem 1.1rem;
        font-size: 0.9rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--sg-text);
        background: linear-gradient(135deg, var(--sg-red), var(--sg-red-deep));
        border-radius: 999px;
    }

    .sg-nav-links a.sg-nav-login-mobile:hover,
    .sg-nav-links a.sg-nav-login-mobile:focus-visible {
        color: var(--sg-text);
        background: linear-gradient(135deg, var(--sg-red), var(--sg-red-deep));
    }

    .sg-nav-login-mobile svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
    }

    .sg-nav-burger {
        margin-left: auto;
        flex-shrink: 0;
    }
}

/* ============================================================
   HERO
   ============================================================ */

.sg-hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: min(88vh, 780px);
    padding-block: clamp(4rem, 10vw, 7rem);
    text-align: center;
    isolation: isolate;
    overflow: hidden;
    /* fallback gradient sempre presente sotto l'immagine */
    background:
        radial-gradient(ellipse 80% 55% at 50% -10%, rgba(209, 26, 42, 0.32), transparent 65%),
        linear-gradient(180deg, #16060a 0%, var(--sg-black) 75%);
}

.sg-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--sg-hero-image);
    background-size: cover;
    background-position: center;
    filter: brightness(0.5) saturate(0.9);
}

.sg-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(11, 11, 13, 0.55) 0%, rgba(11, 11, 13, 0.35) 45%, var(--sg-black) 100%);
}

.sg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sg-text);
    background: rgba(209, 26, 42, 0.16);
    border: 1px solid rgba(209, 26, 42, 0.45);
    border-radius: 999px;
    margin-bottom: 1.5rem;
    animation: sg-fade-up 0.7s 0.05s both;
}

.sg-hero-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sg-red);
    box-shadow: 0 0 10px var(--sg-red);
}

.sg-hero-title {
    margin: 0;
    font-size: clamp(2.6rem, 8vw, 4.8rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    animation: sg-fade-up 0.7s 0.15s both;
}

.sg-hero-title em {
    font-style: normal;
    background: linear-gradient(110deg, #ff4d5c, var(--sg-red) 55%, var(--sg-red-deep));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sg-hero-subtitle {
    max-width: 56ch;
    margin: 1.25rem auto 0;
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    color: var(--sg-text-muted);
    animation: sg-fade-up 0.7s 0.25s both;
}

.sg-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 2.2rem;
    animation: sg-fade-up 0.7s 0.35s both;
}

.sg-hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1.5rem, 5vw, 4rem);
    margin-top: clamp(2.5rem, 6vw, 4rem);
    padding-top: 2rem;
    border-top: 1px solid var(--sg-border);
    animation: sg-fade-up 0.7s 0.45s both;
}

.sg-stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 130px;
}

.sg-stat-number {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--sg-text);
    line-height: 1.1;
}

.sg-stat-number em {
    font-style: normal;
    color: var(--sg-red);
}

.sg-stat-label {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sg-text-muted);
}

/* ---------- Bottoni ---------- */

.sg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.7rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 999px;
    transition: transform 0.22s, box-shadow 0.22s, background-color 0.22s, border-color 0.22s;
}

.sg-btn svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
    flex-shrink: 0;
}

.sg-btn:hover,
.sg-btn:focus-visible {
    transform: translateY(-2px);
}

.sg-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--sg-red), var(--sg-red-deep));
    box-shadow: 0 6px 24px rgba(209, 26, 42, 0.3);
}

.sg-btn--primary:hover,
.sg-btn--primary:focus-visible {
    box-shadow: 0 10px 32px var(--sg-red-glow);
}

.sg-btn--whatsapp {
    color: #fff;
    background: #1faa53;
    box-shadow: 0 6px 24px rgba(31, 170, 83, 0.28);
}

.sg-btn--whatsapp:hover,
.sg-btn--whatsapp:focus-visible {
    box-shadow: 0 10px 32px rgba(31, 170, 83, 0.45);
}

.sg-btn--ghost {
    color: var(--sg-text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.sg-btn--ghost:hover,
.sg-btn--ghost:focus-visible {
    border-color: var(--sg-red);
    background: rgba(209, 26, 42, 0.1);
}

/* ============================================================
   SERVIZI
   ============================================================ */

.sg-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.4rem;
}

.sg-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1.8rem;
    background: var(--sg-graphite);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.sg-service-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--sg-red), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}

.sg-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(209, 26, 42, 0.5);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.sg-service-card:hover::before {
    opacity: 1;
}

.sg-service-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(209, 26, 42, 0.13);
    border: 1px solid rgba(209, 26, 42, 0.35);
}

.sg-service-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--sg-red);
}

.sg-service-card h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.sg-service-stat {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.28rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ff8c96;
    background: rgba(209, 26, 42, 0.14);
    border-radius: 999px;
}

.sg-service-card p {
    margin: 0;
    color: var(--sg-text-muted);
    font-size: 0.95rem;
}

.sg-service-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.sg-service-list li {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--sg-text);
}

.sg-service-list li::before {
    content: "";
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sg-red);
    transform: translateY(-2px);
}

/* ============================================================
   CHI SIAMO
   ============================================================ */

.sg-about-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

@media (max-width: 860px) {
    .sg-about-grid {
        grid-template-columns: 1fr;
    }
}

.sg-about-text p {
    color: var(--sg-text-muted);
    margin: 0 0 1.2rem;
}

.sg-about-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.6rem;
}

.sg-about-values span {
    padding: 0.4rem 0.95rem;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--sg-text);
    background: var(--sg-surface);
    border: 1px solid var(--sg-border);
    border-radius: 999px;
}

.sg-about-stats {
    display: grid;
    gap: 1rem;
}

.sg-about-stat {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    padding: 1.5rem 1.7rem;
    background: var(--sg-graphite);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);
    transition: border-color 0.25s, transform 0.25s;
}

.sg-about-stat:hover {
    border-color: rgba(209, 26, 42, 0.5);
    transform: translateX(6px);
}

.sg-about-stat .sg-stat-number {
    font-size: 2.1rem;
    min-width: 120px;
}

.sg-about-stat .sg-stat-label {
    letter-spacing: 0.08em;
}

/* ============================================================
   MARCHI (marquee infinito)
   ============================================================ */

.sg-brands {
    padding-block: clamp(3rem, 6vw, 4.5rem);
    border-block: 1px solid var(--sg-border);
    background: var(--sg-coal);
}

.sg-brands-track-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    margin-top: 2rem;
}

.sg-brands-track {
    display: flex;
    width: max-content;
    gap: clamp(2.5rem, 6vw, 5rem);
    animation: sg-marquee 28s linear infinite;
}

.sg-brands-track:hover {
    animation-play-state: paused;
}

@keyframes sg-marquee {
    to {
        transform: translateX(-50%);
    }
}

.sg-brand-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: clamp(1.25rem, 3vw, 1.7rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sg-text-muted);
    white-space: nowrap;
    transition: color 0.25s;
}

.sg-brand-item:hover {
    color: var(--sg-text);
}

.sg-brand-item::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid var(--sg-red);
}

/* ============================================================
   RECENSIONI
   ============================================================ */

.sg-reviews-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.sg-rating-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.6rem;
    background: var(--sg-graphite);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);
}

.sg-rating-value {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--sg-text);
    line-height: 1;
}

.sg-rating-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sg-rating-meta small {
    color: var(--sg-text-muted);
    font-size: 0.82rem;
}

.sg-stars {
    color: #ffb52e;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
}

.sg-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.4rem;
}

.sg-review-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.8rem;
    background: var(--sg-graphite);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);
    transition: transform 0.25s, border-color 0.25s;
}

.sg-review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 181, 46, 0.4);
}

.sg-review-card blockquote {
    margin: 0;
    font-size: 1rem;
    color: var(--sg-text);
    font-style: italic;
}

.sg-review-card blockquote::before {
    content: "\201C";
    display: block;
    font-size: 2.6rem;
    line-height: 0.6;
    color: var(--sg-red);
    margin-bottom: 0.5rem;
    font-style: normal;
}

.sg-review-author {
    margin-top: auto;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sg-text-muted);
}

/* ============================================================
   ORARI & CONTATTI
   ============================================================ */

.sg-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 1.4rem;
}

.sg-info-card {
    padding: 2rem 1.8rem;
    background: var(--sg-graphite);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);
}

.sg-info-card h3 {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 1.4rem;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sg-info-card h3 svg {
    width: 22px;
    height: 22px;
    fill: var(--sg-red);
}

.sg-open-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    padding: 0.3rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-radius: 999px;
}

.sg-open-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: sg-pulse-dot 1.8s ease-in-out infinite;
}

@keyframes sg-pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

.sg-open-badge--open {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.35);
}

.sg-open-badge--closed {
    color: #ff8c96;
    background: rgba(209, 26, 42, 0.12);
    border: 1px solid rgba(209, 26, 42, 0.35);
}

.sg-orari-table {
    width: 100%;
    border-collapse: collapse;
}

.sg-orari-table td {
    padding: 0.65rem 0.2rem;
    border-bottom: 1px solid var(--sg-border);
    font-size: 0.94rem;
}

.sg-orari-table tr:last-child td {
    border-bottom: none;
}

.sg-orari-giorno {
    font-weight: 600;
}

.sg-orari-valore {
    text-align: right;
    color: var(--sg-text-muted);
}

.sg-orari-chiuso {
    color: #ff8c96;
    font-weight: 600;
}

.sg-orari-oggi td {
    color: var(--sg-text);
    background: rgba(209, 26, 42, 0.08);
}

.sg-orari-oggi .sg-orari-giorno::after {
    content: "oggi";
    margin-left: 0.5rem;
    padding: 0.1rem 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: var(--sg-red);
    border-radius: 999px;
}

.sg-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-block: 0.85rem;
}

.sg-contact-item + .sg-contact-item {
    border-top: 1px solid var(--sg-border);
}

.sg-contact-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(209, 26, 42, 0.13);
}

.sg-contact-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--sg-red);
}

.sg-contact-label {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sg-text-muted);
}

.sg-contact-value {
    margin: 0.1rem 0 0;
    font-size: 0.98rem;
    font-weight: 500;
}

.sg-contact-value a:hover {
    color: var(--sg-red);
}

/* ============================================================
   MAPPA
   ============================================================ */

.sg-map-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.sg-map-frame {
    width: 100%;
    height: clamp(320px, 50vw, 460px);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);
    filter: grayscale(0.4) contrast(1.05);
    transition: filter 0.3s;
}

.sg-map-frame:hover {
    filter: none;
}

/* ============================================================
   CTA FINALE
   ============================================================ */

.sg-cta {
    position: relative;
    text-align: center;
    padding-block: clamp(4.5rem, 10vw, 7rem);
    background:
        radial-gradient(ellipse 70% 90% at 50% 110%, rgba(209, 26, 42, 0.28), transparent 70%),
        var(--sg-coal);
    border-top: 1px solid var(--sg-border);
}

.sg-cta h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.8rem, 4.5vw, 2.7rem);
    font-weight: 800;
    text-transform: uppercase;
}

.sg-cta p {
    max-width: 52ch;
    margin: 0 auto 2.2rem;
    color: var(--sg-text-muted);
}

.sg-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.sg-cta-social {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 2.5rem;
}

.sg-cta-social a {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--sg-border);
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.25s, transform 0.25s, background-color 0.25s;
}

.sg-cta-social a:hover,
.sg-cta-social a:focus-visible {
    border-color: var(--sg-red);
    background: rgba(209, 26, 42, 0.12);
    transform: translateY(-3px);
}

.sg-cta-social svg {
    width: 20px;
    height: 20px;
    fill: var(--sg-text-muted);
}

.sg-cta-social a:hover svg {
    fill: var(--sg-text);
}

.sg-cta-piva {
    margin-top: 3rem;
    font-size: 0.78rem;
    color: var(--sg-text-muted);
    opacity: 0.7;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */

.sg-whatsapp-float {
    position: fixed;
    right: clamp(1rem, 3vw, 1.8rem);
    bottom: clamp(1rem, 3vw, 1.8rem);
    z-index: 1400;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #1faa53;
    box-shadow: 0 8px 26px rgba(31, 170, 83, 0.45);
    transition: transform 0.25s, box-shadow 0.25s;
}

.sg-whatsapp-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(31, 170, 83, 0.6);
    animation: sg-wa-pulse 2.4s ease-out infinite;
}

@keyframes sg-wa-pulse {
    from {
        transform: scale(1);
        opacity: 1;
    }

    to {
        transform: scale(1.55);
        opacity: 0;
    }
}

.sg-whatsapp-float:hover,
.sg-whatsapp-float:focus-visible {
    transform: scale(1.08);
    box-shadow: 0 12px 34px rgba(31, 170, 83, 0.6);
}

.sg-whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}
