/* ═══════════════════════════════════════════════════════════════
   Landing Page — Inserisci la tua Attività · Scopri Gaeta
   ✦ V3 — Mediterranean Modern · Teal #0F5C5C + Gold #D4A843
   ═══════════════════════════════════════════════════════════════ */

/* ── Keyframes ── */
@keyframes sg-lp-fade-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sg-lp-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes sg-lp-scale-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes sg-lp-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes sg-lp-shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes sg-lp-gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes sg-lp-ken-burns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

@keyframes sg-lp-float-badge {

    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

@keyframes sg-lp-float-badge-alt {

    0%,
    100% {
        transform: translateY(0) rotate(1deg);
    }

    50% {
        transform: translateY(-8px) rotate(-1deg);
    }
}

/* ── Root Variables ── */
.sg-landing {
    --sg-primary: #B71C1C;
    --sg-primary-light: #D32F2F;
    --sg-primary-dark: #8B1515;
    --sg-primary-glow: rgba(183, 28, 28, 0.12);
    --sg-primary-soft: rgba(183, 28, 28, 0.06);
    --sg-primary-gradient: linear-gradient(135deg, #8B1515 0%, #B71C1C 50%, #D32F2F 100%);

    --sg-accent: #D4A843;
    --sg-accent-light: #E2BF6A;
    --sg-accent-soft: rgba(212, 168, 67, 0.1);

    --sg-bg: #FAFAF7;
    --sg-bg-alt: #FFFFFF;
    --sg-card: #FFFFFF;
    --sg-border: #E8E6E1;
    --sg-border-light: #F0EDE8;

    --sg-text-main: #1A2B3C;
    --sg-text-dim: #5A6B7C;
    --sg-text-muted: #9AABB8;

    --sg-success: #2D9F83;
    --sg-gold: #D4A843;
    --sg-blue: #3B82F6;
    --sg-purple: #8B5CF6;
    --sg-teal: #14B8A6;

    --sg-shadow-sm: 0 2px 8px rgba(26, 43, 60, 0.04);
    --sg-shadow: 0 8px 30px rgba(26, 43, 60, 0.06);
    --sg-shadow-lg: 0 20px 60px rgba(26, 43, 60, 0.1);
    --sg-shadow-primary: 0 8px 30px rgba(183, 28, 28, 0.18);
    --sg-shadow-glow: 0 0 40px rgba(183, 28, 28, 0.08);

    --sg-glass: rgba(255, 255, 255, 0.75);
    --sg-glass-border: rgba(255, 255, 255, 0.3);

    --sg-radius-xl: 28px;
    --sg-radius-lg: 20px;
    --sg-radius: 14px;
    --sg-radius-sm: 8px;

    --sg-ease: cubic-bezier(0.25, 1, 0.5, 1);
    --sg-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --sg-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--sg-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.sg-landing *,
.sg-landing *::before,
.sg-landing *::after {
    box-sizing: border-box;
}

/* ── Reveal Animations ── */
.sg-lp-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--sg-ease), transform 0.8s var(--sg-ease);
}

.sg-lp-reveal.sg-lp-visible {
    opacity: 1;
    transform: translateY(0);
}

.sg-lp-reveal-stagger>* {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--sg-ease), transform 0.6s var(--sg-ease);
}

.sg-lp-reveal-stagger.sg-lp-visible>*:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.05s;
}

.sg-lp-reveal-stagger.sg-lp-visible>*:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.12s;
}

.sg-lp-reveal-stagger.sg-lp-visible>*:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.19s;
}

.sg-lp-reveal-stagger.sg-lp-visible>*:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.26s;
}

.sg-lp-reveal-stagger.sg-lp-visible>*:nth-child(5) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.33s;
}

.sg-lp-reveal-stagger.sg-lp-visible>*:nth-child(6) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.40s;
}

.sg-lp-reveal-stagger.sg-lp-visible>*:nth-child(7) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.47s;
}

.sg-lp-reveal-stagger.sg-lp-visible>*:nth-child(n+8) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.sg-lp-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--sg-ease), transform 0.8s var(--sg-ease);
}

.sg-lp-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s var(--sg-ease), transform 0.8s var(--sg-ease);
}

.sg-lp-reveal-left.sg-lp-visible,
.sg-lp-reveal-right.sg-lp-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ══════════════════════════════════════════
   1. HERO SECTION — Photography-based
   ══════════════════════════════════════════ */
.sg-lp-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 120px;
    overflow: hidden;
    background: #B71C1C;
}

/* Background photo with Ken Burns */
.sg-lp-hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sg-lp-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    animation: sg-lp-ken-burns 25s ease-in-out infinite alternate;
}

/* Dark overlay gradient for readability */
.sg-lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.25) 40%,
            rgba(0, 0, 0, 0.35) 60%,
            rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
}

/* Subtle vignette */
.sg-lp-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ── Floating social proof badges ── */
.sg-lp-hero-floats {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.sg-lp-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    max-width: 90vw;
    z-index: 10;
}

.sg-lp-float-badge__icon {
    font-size: 1.4rem;
    line-height: 1;
}

.sg-lp-float-badge__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sg-lp-float-badge__label {
    font-size: 0.7rem;
    opacity: 0.7;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sg-lp-float-badge__value {
    font-size: 0.88rem;
    font-weight: 700;
}

.sg-lp-float-badge--1 {
    top: 18%;
    left: 6%;
    animation: sg-lp-float-badge 6s ease-in-out infinite, sg-lp-fade-up 1s var(--sg-ease) 0.6s both;
}

.sg-lp-float-badge--2 {
    top: 22%;
    right: 6%;
    animation: sg-lp-float-badge-alt 7s ease-in-out infinite, sg-lp-fade-up 1s var(--sg-ease) 0.9s both;
}

.sg-lp-float-badge--3 {
    bottom: 22%;
    left: 8%;
    animation: sg-lp-float-badge 5s ease-in-out infinite 0.5s, sg-lp-fade-up 1s var(--sg-ease) 1.2s both;
}

.sg-lp-float-badge--4 {
    bottom: 18%;
    right: 8%;
    animation: sg-lp-float-badge-alt 6.5s ease-in-out infinite 1s, sg-lp-fade-up 1s var(--sg-ease) 1.5s both;
}

/* Hero Content */
.sg-lp-hero-content {
    position: relative;
    z-index: 4;
    max-width: 820px;
    margin: 0 auto;
}

.sg-lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(212, 168, 67, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 168, 67, 0.35);
    border-radius: 100px;
    color: var(--sg-accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 36px;
    animation: sg-lp-fade-up 0.8s var(--sg-ease) 0.1s both;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.sg-lp-hero-badge svg {
    width: 16px;
    height: 16px;
    fill: var(--sg-accent);
    filter: drop-shadow(0 0 6px rgba(212, 168, 67, 0.5));
}

.sg-lp-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.6rem, 7vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: sg-lp-fade-up 0.9s var(--sg-ease) 0.2s both;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.sg-lp-hero h1 em {
    font-style: normal;
    position: relative;
    display: inline-block;
    color: var(--sg-accent-light);
}

.sg-lp-hero h1 em::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: -6px;
    right: -6px;
    height: 8px;
    background: linear-gradient(90deg, rgba(212, 168, 67, 0.4), rgba(226, 191, 106, 0.5), rgba(212, 168, 67, 0.4));
    border-radius: 6px;
    transform: skewX(-3deg);
    animation: sg-lp-shimmer 3s linear infinite;
    background-size: 200% auto;
}

.sg-lp-hero-sub {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 580px;
    margin: 0 auto 48px;
    line-height: 1.75;
    animation: sg-lp-fade-up 0.9s var(--sg-ease) 0.35s both;
    font-weight: 400;
}

.sg-lp-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: sg-lp-fade-up 0.9s var(--sg-ease) 0.5s both;
    margin-bottom: 12px;
}

.sg-lp-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 36px;
    animation: sg-lp-fade-up 1s var(--sg-ease) 0.7s both;
}

.sg-lp-hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
}

.sg-lp-hero-stat__icon {
    font-size: 1.1rem;
}

.sg-lp-hero-stat strong {
    font-weight: 700;
    color: #fff;
}

/* ── Buttons ── */
.sg-lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.35s var(--sg-ease);
    text-decoration: none;
    border: 2px solid transparent;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sg-lp-btn--primary {
    background: var(--sg-gold);
    color: #060F1F;
    border-color: var(--sg-gold);
    box-shadow: 0 4px 24px rgba(212, 168, 67, 0.25);
}

.sg-lp-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.35);
    background: #E8C97A;
    color: #060F1F;
    border-color: #E8C97A;
}

.sg-lp-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.sg-lp-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Hero wave divider */
.sg-lp-hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 5;
    line-height: 0;
}

.sg-lp-hero-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Trust bar ── */
.sg-lp-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 20px 24px;
    background: var(--sg-bg);
    color: var(--sg-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.sg-lp-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sg-lp-trust-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--sg-success);
    fill: none;
    stroke-width: 2.5;
    flex-shrink: 0;
}

/* ── Hero responsive ── */
@media (max-width: 1100px) {

    .sg-lp-float-badge--1,
    .sg-lp-float-badge--2,
    .sg-lp-float-badge--3,
    .sg-lp-float-badge--4 {
        display: none;
    }
}

@media (max-width: 768px) {
    .sg-lp-hero-stats {
        gap: 20px;
    }
}

/* ══════════════════════════════════════════
   2. BENEFITS SECTION — With side image
   ══════════════════════════════════════════ */
.sg-lp-benefits {
    padding: 100px 24px;
    background: var(--sg-bg);
}

.sg-lp-container {
    max-width: 1140px;
    margin: 0 auto;
}

.sg-lp-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.sg-lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--sg-gold);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 18px;
}

.sg-lp-eyebrow::before {
    content: '';
    width: 32px;
    height: 1.5px;
    background: var(--sg-gold);
    border-radius: 2px;
}

.sg-lp-eyebrow::after {
    display: none;
}

.sg-lp-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    font-weight: 700;
    color: var(--sg-text-main);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.sg-lp-section-desc {
    font-size: 1.05rem;
    color: var(--sg-text-dim);
    line-height: 1.7;
}

/* Benefits layout: image + cards */
.sg-lp-benefits-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.sg-lp-benefits-image {
    border-radius: var(--sg-radius-xl);
    overflow: hidden;
    box-shadow: var(--sg-shadow-lg);
    position: relative;
}

.sg-lp-benefits-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 400px;
    transition: transform 0.6s var(--sg-ease);
}

.sg-lp-benefits-image:hover img {
    transform: scale(1.03);
}

/* Benefits Grid (used when no image layout) */
.sg-lp-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.sg-lp-benefit-card {
    background: var(--sg-card);
    border-radius: var(--sg-radius-lg);
    padding: 32px 28px;
    text-align: left;
    border: 1px solid var(--sg-border-light);
    box-shadow: var(--sg-shadow-sm);
    transition: all 0.45s var(--sg-ease);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.sg-lp-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--sg-primary-gradient);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s var(--sg-ease);
}

.sg-lp-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sg-shadow-lg);
    border-color: transparent;
}

.sg-lp-benefit-card:hover::before {
    transform: scaleY(1);
}

.sg-lp-benefit-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sg-primary-soft);
    border-radius: 14px;
    color: var(--sg-primary);
    transition: all 0.4s var(--sg-bounce);
}

.sg-lp-benefit-card:hover .sg-lp-benefit-icon {
    background: var(--sg-primary);
    color: #fff;
    transform: scale(1.08);
    box-shadow: var(--sg-shadow-primary);
}

.sg-lp-benefit-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sg-lp-benefit-content {
    flex: 1;
    min-width: 0;
}

.sg-lp-benefit-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sg-text-main);
    margin-bottom: 6px;
}

.sg-lp-benefit-desc {
    font-size: 0.92rem;
    color: var(--sg-text-dim);
    line-height: 1.65;
    margin: 0;
}

/* ══════════════════════════════════════════
   3. HOW IT WORKS — Clean card design
   ══════════════════════════════════════════ */
.sg-lp-how {
    padding: 100px 24px;
    background: var(--sg-bg-alt);
    position: relative;
    overflow: hidden;
}

.sg-lp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.sg-lp-step {
    text-align: center;
    padding: 44px 28px 36px;
    position: relative;
    z-index: 1;
    background: var(--sg-card);
    border-radius: var(--sg-radius-lg);
    border: 1px solid var(--sg-border-light);
    box-shadow: var(--sg-shadow-sm);
    transition: all 0.45s var(--sg-ease);
    overflow: hidden;
}

.sg-lp-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sg-primary), var(--sg-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--sg-ease);
}

.sg-lp-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--sg-shadow-lg);
    border-color: transparent;
}

.sg-lp-step:hover::before {
    transform: scaleX(1);
}

.sg-lp-step-icon {
    font-size: 2.4rem;
    line-height: 1;
    margin-bottom: 12px;
    display: block;
    transition: transform 0.4s var(--sg-bounce);
}

.sg-lp-step:hover .sg-lp-step-icon {
    transform: scale(1.15);
}

.sg-lp-step-number {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sg-primary-soft);
    border: 2px solid var(--sg-primary);
    border-radius: 50%;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--sg-primary);
    transition: all 0.35s var(--sg-ease);
}

.sg-lp-step:hover .sg-lp-step-number {
    background: var(--sg-primary);
    color: #fff;
    box-shadow: var(--sg-shadow-primary);
}

.sg-lp-step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sg-text-main);
    margin-bottom: 10px;
}

.sg-lp-step-desc {
    font-size: 0.92rem;
    color: var(--sg-text-dim);
    line-height: 1.65;
}

.sg-lp-step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.sg-lp-step-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--sg-text-dim);
    background: var(--sg-bg);
    border-radius: 100px;
    border: 1px solid var(--sg-border-light);
}

.sg-lp-step-arrow {
    display: none;
}

@media (min-width: 769px) {
    .sg-lp-step-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        right: -20px;
        transform: translateY(-50%);
        z-index: 5;
        width: 40px;
        height: 40px;
        background: var(--sg-card);
        border-radius: 50%;
        box-shadow: var(--sg-shadow-sm);
        border: 1px solid var(--sg-border-light);
        color: var(--sg-primary);
    }

    .sg-lp-step-arrow svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2.5;
        stroke-linecap: round;
    }

    .sg-lp-step:last-child .sg-lp-step-arrow {
        display: none;
    }
}

.sg-lp-stat-flags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 1.3rem;
}

/* ══════════════════════════════════════════
   4. CATEGORIES — With background image
   ══════════════════════════════════════════ */
.sg-lp-categories {
    padding: 100px 24px;
    background: var(--sg-bg);
    position: relative;
    overflow: hidden;
}

/* Background decorative image */
.sg-lp-categories-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sg-lp-categories-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.06;
    filter: blur(2px);
}

.sg-lp-categories .sg-lp-container {
    position: relative;
    z-index: 1;
}

.sg-lp-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.sg-lp-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 30px 16px;
    background: var(--sg-card);
    border-radius: var(--sg-radius);
    border: 1px solid var(--sg-border-light);
    transition: all 0.35s var(--sg-ease);
    cursor: default;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sg-lp-cat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--sg-primary-soft) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.sg-lp-cat-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--sg-shadow);
    border-color: var(--sg-primary);
}

.sg-lp-cat-item:hover::before {
    opacity: 1;
}

.sg-lp-cat-emoji {
    font-size: 2.2rem;
    line-height: 1;
    transition: transform 0.4s var(--sg-bounce);
    position: relative;
    z-index: 1;
}

.sg-lp-cat-item:hover .sg-lp-cat-emoji {
    transform: scale(1.2);
}

.sg-lp-cat-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sg-text-main);
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════════
   5. ECOSYSTEM / PREMIUM FEATURES
   ══════════════════════════════════════════ */
.sg-lp-ecosystem {
    padding: 100px 24px 60px;
    background: var(--sg-bg-alt);
    position: relative;
    overflow: hidden;
}

.sg-lp-eco-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.sg-lp-eco-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    background: var(--sg-card);
    border-radius: var(--sg-radius-lg);
    border: 1px solid var(--sg-border-light);
    transition: all 0.4s var(--sg-ease);
    position: relative;
    overflow: hidden;
}

.sg-lp-eco-card::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s, transform 0.4s;
    pointer-events: none;
}

.sg-lp-eco-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sg-shadow);
    border-color: transparent;
}

.sg-lp-eco-card:hover::after {
    opacity: 0.12;
    transform: scale(1.5);
}

.sg-lp-eco-card--book::after {
    background: var(--sg-blue);
}

.sg-lp-eco-card--menu::after {
    background: var(--sg-success);
}

.sg-lp-eco-card--360::after {
    background: var(--sg-purple);
}

.sg-lp-eco-card--ai::after {
    background: var(--sg-teal);
}

.sg-lp-eco-card--seo::after {
    background: var(--sg-gold);
}

.sg-lp-eco-card--analytics::after {
    background: var(--sg-primary);
}

.sg-lp-eco-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.5rem;
    transition: transform 0.35s var(--sg-bounce);
}

.sg-lp-eco-card:hover .sg-lp-eco-icon {
    transform: scale(1.1);
}

.sg-lp-eco-icon--book {
    background: rgba(59, 130, 246, 0.1);
    color: var(--sg-blue);
}

.sg-lp-eco-icon--menu {
    background: rgba(45, 159, 131, 0.1);
    color: var(--sg-success);
}

.sg-lp-eco-icon--360 {
    background: rgba(139, 92, 246, 0.1);
    color: var(--sg-purple);
}

.sg-lp-eco-icon--ai {
    background: rgba(20, 184, 166, 0.1);
    color: var(--sg-teal);
}

.sg-lp-eco-icon--seo {
    background: rgba(212, 168, 67, 0.1);
    color: var(--sg-gold);
}

.sg-lp-eco-icon--analytics {
    background: var(--sg-primary-soft);
    color: var(--sg-primary);
}

.sg-lp-eco-content {
    flex: 1;
    min-width: 0;
}

.sg-lp-eco-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sg-text-main);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sg-lp-eco-badge {
    display: inline-flex;
    padding: 2px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 100px;
    line-height: 1.8;
}

.sg-lp-eco-badge--free {
    background: rgba(45, 159, 131, 0.1);
    color: var(--sg-success);
}

.sg-lp-eco-badge--pro {
    background: linear-gradient(135deg, rgba(183, 28, 28, 0.1), rgba(212, 168, 67, 0.1));
    color: var(--sg-primary);
}

.sg-lp-eco-desc {
    font-size: 0.9rem;
    color: var(--sg-text-dim);
    line-height: 1.6;
    margin: 0;
}

/* CTA below ecosystem */
.sg-lp-eco-cta {
    text-align: center;
    padding: 48px 24px;
    background: linear-gradient(135deg, rgba(183, 28, 28, 0.04) 0%, rgba(212, 168, 67, 0.06) 100%);
    border-radius: var(--sg-radius-xl);
    border: 1px solid var(--sg-border-light);
}

.sg-lp-eco-cta h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--sg-text-main);
    margin-bottom: 8px;
}

.sg-lp-eco-cta p {
    font-size: 0.95rem;
    color: var(--sg-text-dim);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.sg-lp-btn--red {
    background: var(--sg-gold);
    color: #060F1F;
    border-color: var(--sg-gold);
    box-shadow: 0 4px 24px rgba(212, 168, 67, 0.25);
    padding: 15px 32px;
    font-size: 0.82rem;
}

.sg-lp-btn--red:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.35);
    background: #E8C97A;
    color: #060F1F;
    border-color: #E8C97A;
}

/* ══════════════════════════════════════════
   6. STATS / SOCIAL PROOF
   ══════════════════════════════════════════ */
.sg-lp-stats {
    padding: 100px 24px;
    background: var(--sg-primary-gradient);
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
.sg-lp-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Decorative accent */
.sg-lp-stats::after {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.18), transparent 70%);
    pointer-events: none;
}

.sg-lp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.sg-lp-stat {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s var(--sg-ease), background 0.3s var(--sg-ease);
}

.sg-lp-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.sg-lp-stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--sg-accent-light);
    /* Golden color */
    line-height: 1.1;
    margin-bottom: 12px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sg-lp-stat-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
    margin-bottom: 6px;
}

.sg-lp-stat-flags {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    margin-top: 8px;
}

/* ══════════════════════════════════════════
   7. FAQ SECTION
   ══════════════════════════════════════════ */
.sg-lp-faq {
    padding: 100px 24px;
    background: var(--sg-bg);
}

.sg-lp-faq-list {
    max-width: 760px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.sg-lp-faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sg-lp-faq-item:first-child {
    border-top: none;
}

.sg-lp-faq-item:hover {
    border-color: rgba(183, 28, 28, 0.15);
}

.sg-lp-faq-item.sg-lp-faq-open {
    border-color: #B71C1C;
    box-shadow: 0 4px 16px rgba(183, 28, 28, 0.08);
}

.sg-lp-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sg-text-main);
    text-align: left;
    transition: color 0.2s;
    line-height: 1.4;
}

.sg-lp-faq-question:hover {
    color: var(--sg-primary);
}

.sg-lp-faq-item.sg-lp-faq-open .sg-lp-faq-question {
    color: #B71C1C;
}

.sg-lp-faq-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sg-text-muted);
    background: var(--sg-bg);
    border-radius: 50%;
    transition: transform 0.4s var(--sg-ease), color 0.3s, background 0.3s;
}

.sg-lp-faq-item.sg-lp-faq-open .sg-lp-faq-icon {
    transform: rotate(45deg);
    color: #fff;
    background: #B71C1C;
}

.sg-lp-faq-item.sg-lp-faq-open .sg-lp-faq-icon svg {
    stroke: #fff;
}

.sg-lp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--sg-ease);
}

.sg-lp-faq-item.sg-lp-faq-open .sg-lp-faq-answer {
    max-height: 300px;
}

.sg-lp-faq-answer p {
    font-size: 0.9rem;
    color: var(--sg-text-dim);
    line-height: 1.75;
    margin: 0;
    padding: 0 24px 22px;
}

/* ══════════════════════════════════════════
   8. FORM SECTION
   ══════════════════════════════════════════ */
.sg-lp-form-section {
    padding: 100px 24px 120px;
    background: var(--sg-bg-alt);
    position: relative;
}

.sg-lp-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--sg-primary), var(--sg-accent));
    border-radius: 4px;
}

.sg-lp-form-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.sg-lp-form-intro h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--sg-text-main);
    margin-bottom: 12px;
}

.sg-lp-form-intro p {
    font-size: 1.05rem;
    color: var(--sg-text-dim);
    line-height: 1.7;
}

/* CTA Banner */
.sg-lp-cta-banner {
    max-width: 800px;
    margin: 0 auto 48px;
    padding: 32px 40px;
    background: linear-gradient(135deg, rgba(183, 28, 28, 0.04) 0%, rgba(212, 168, 67, 0.08) 100%);
    border: 1px solid rgba(183, 28, 28, 0.12);
    border-radius: var(--sg-radius-lg);
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: left;
    transition: all 0.3s var(--sg-ease);
}

.sg-lp-cta-banner:hover {
    box-shadow: var(--sg-shadow-glow);
    transform: translateY(-2px);
}

.sg-lp-cta-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sg-primary-gradient);
    border-radius: 14px;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: var(--sg-shadow-primary);
}

.sg-lp-cta-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sg-text-main);
    margin: 0 0 4px;
}

.sg-lp-cta-text p {
    font-size: 0.9rem;
    color: var(--sg-text-dim);
    margin: 0;
    line-height: 1.5;
}

/* Form wrapper override */
.sg-lp-form-section .sg-modulo-wrapper {
    padding: 0;
    min-height: auto;
    background: transparent;
}

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET
   ══════════════════════════════════════════ */
@media (max-width: 960px) {
    .sg-lp-benefits-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sg-lp-benefits-image {
        max-height: 350px;
    }

    .sg-lp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sg-lp-cat-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    .sg-lp-eco-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
    .sg-lp-hero {
        min-height: 80vh;
        padding: 100px 20px 80px;
    }

    .sg-lp-hero h1 {
        font-size: clamp(2.2rem, 9vw, 3rem);
    }

    .sg-lp-benefits,
    .sg-lp-how,
    .sg-lp-categories,
    .sg-lp-faq,
    .sg-lp-form-section,
    .sg-lp-ecosystem {
        padding: 64px 20px;
    }

    .sg-lp-benefit-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 28px 20px;
    }

    .sg-lp-benefit-card::before {
        width: 100%;
        height: 4px;
        top: 0;
        left: 0;
        transform: scaleX(0);
        transform-origin: left;
    }

    .sg-lp-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sg-lp-step-number {
        width: 76px;
        height: 76px;
        font-size: 1.7rem;
    }

    .sg-lp-stats {
        padding: 60px 20px;
    }

    .sg-lp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .sg-lp-stat-number {
        font-size: 2rem;
    }

    .sg-lp-cat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .sg-lp-cat-item {
        padding: 20px 12px;
    }

    .sg-lp-cat-emoji {
        font-size: 1.6rem;
    }

    .sg-lp-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
        gap: 16px;
    }

    .sg-lp-section-header {
        margin-bottom: 40px;
    }

    .sg-lp-hero-actions {
        flex-direction: column;
    }

    .sg-lp-btn {
        width: 100%;
        justify-content: center;
    }

    .sg-lp-trust-bar {
        gap: 20px;
    }

    .sg-lp-eco-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .sg-lp-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ══════════════════════════════════════════════════════════════════
   WORDPRESS THEME OVERRIDE — Scopri Gaeta / Hello Elementor
   Fixes CSS specificity conflicts with the active theme.
   ══════════════════════════════════════════════════════════════════ */

/* ── Reset ALL theme styles within .sg-landing ── */
.sg-landing,
.sg-landing *,
.sg-landing *::before,
.sg-landing *::after {
    box-sizing: border-box !important;
}

.sg-landing {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: var(--sg-text-main) !important;
    line-height: 1.6 !important;
    -webkit-font-smoothing: antialiased !important;
}

/* ── Headings: prevent theme from overriding fonts and colors ── */
.sg-landing h1,
.sg-landing h2,
.sg-landing h3,
.sg-landing h4,
.sg-landing h5,
.sg-landing h6 {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: var(--sg-text-main) !important;
    margin-top: 0 !important;
    padding: 0 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
}

.sg-landing .sg-lp-hero h1 {
    color: #fff !important;
    font-size: clamp(2.6rem, 7vw, 4.5rem) !important;
    line-height: 1.08 !important;
    margin-bottom: 24px !important;
}

.sg-landing p {
    margin-top: 0 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ── Links: prevent theme red color from bleeding ── */
.sg-landing a {
    text-decoration: none !important;
    color: inherit !important;
}

.sg-landing a:hover {
    text-decoration: none !important;
}

/* ── Buttons: full override of theme button styles ── */
.sg-landing .sg-lp-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 17px 38px !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
    text-decoration: none !important;
    border: 2px solid transparent !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.sg-landing .sg-lp-btn--primary {
    background: #fff !important;
    color: var(--sg-primary) !important;
    border-color: #fff !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12) !important;
}

.sg-landing .sg-lp-btn--primary:hover {
    background: var(--sg-accent) !important;
    color: #fff !important;
    border-color: var(--sg-accent) !important;
}

.sg-landing .sg-lp-btn--ghost {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.sg-landing .sg-lp-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.sg-landing .sg-lp-btn--red {
    background: linear-gradient(135deg, #8B1515 0%, #B71C1C 50%, #D32F2F 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.sg-landing .sg-lp-btn--red:hover {
    background: linear-gradient(135deg, var(--sg-accent) 0%, var(--sg-accent-light) 100%) !important;
    color: #fff !important;
}

/* ── FAQ: prevent theme from styling buttons as red pills ── */
.sg-landing .sg-lp-faq-question {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    width: 100% !important;
    padding: 26px 8px !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: var(--sg-text-main) !important;
    text-align: left !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.sg-landing .sg-lp-faq-question:hover {
    color: var(--sg-primary) !important;
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.sg-landing .sg-lp-faq-question:focus {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.sg-landing .sg-lp-faq-question span {
    color: inherit !important;
}

.sg-landing .sg-lp-faq-icon {
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--sg-text-muted) !important;
    background: rgba(183, 28, 28, 0.06) !important;
    border-radius: 50% !important;
}

.sg-landing .sg-lp-faq-item {
    border-bottom: 1px solid var(--sg-border) !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.sg-landing .sg-lp-faq-item:first-child {
    border-top: 1px solid var(--sg-border) !important;
}

.sg-landing .sg-lp-faq-answer {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.45s cubic-bezier(0.25, 1, 0.5, 1), padding 0.45s cubic-bezier(0.25, 1, 0.5, 1) !important;
    padding: 0 8px !important;
}

.sg-landing .sg-lp-faq-item.sg-lp-faq-open .sg-lp-faq-answer {
    max-height: 300px !important;
    padding: 0 8px 24px !important;
}

.sg-landing .sg-lp-faq-item.sg-lp-faq-open .sg-lp-faq-icon {
    transform: rotate(45deg) !important;
    color: #fff !important;
    background: var(--sg-primary) !important;
}

.sg-landing .sg-lp-faq-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 760px !important;
}

/* ── Hero section: ensure it renders correctly ── */
.sg-landing .sg-lp-hero {
    position: relative !important;
    min-height: 92vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 140px 24px 120px !important;
    overflow: hidden !important;
    background: #B71C1C !important;
}

.sg-landing .sg-lp-hero-content {
    position: relative !important;
    z-index: 4 !important;
    max-width: 820px !important;
    margin: 0 auto !important;
}

.sg-landing .sg-lp-hero-sub {
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: 'Inter', sans-serif !important;
}

.sg-landing .sg-lp-hero h1 em {
    font-style: normal !important;
    color: var(--sg-accent-light) !important;
}

/* ── Trust bar ── */
.sg-landing .sg-lp-trust-bar {
    background: var(--sg-bg) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ── SVG icons: prevent theme from affecting strokes/fills ── */
.sg-landing .sg-lp-benefit-icon svg,
.sg-landing .sg-lp-trust-item svg,
.sg-landing .sg-lp-step-arrow svg {
    stroke: currentColor !important;
    fill: none !important;
}

/* ── Sections backgrounds ── */
.sg-landing .sg-lp-benefits {
    background: var(--sg-bg) !important;
}

.sg-landing .sg-lp-how {
    background: var(--sg-bg-alt) !important;
}

.sg-landing .sg-lp-categories {
    background: var(--sg-bg) !important;
}

.sg-landing .sg-lp-stats {
    background: var(--sg-primary) !important;
}

.sg-landing .sg-lp-stat-number {
    color: var(--sg-accent-light) !important;
    font-family: 'Playfair Display', Georgia, serif !important;
}

.sg-landing .sg-lp-stat-label {
    color: rgba(255, 255, 255, 0.8) !important;
}

.sg-landing .sg-lp-faq {
    background: var(--sg-bg) !important;
}

.sg-landing .sg-lp-form-section {
    background: var(--sg-bg-alt) !important;
}

/* ── Benefit cards ── */
.sg-landing .sg-lp-benefit-card {
    background: var(--sg-card) !important;
    border: 1px solid var(--sg-border-light) !important;
    border-radius: 20px !important;
}

.sg-landing .sg-lp-benefit-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--sg-text-main) !important;
}

.sg-landing .sg-lp-benefit-desc {
    color: var(--sg-text-dim) !important;
    font-family: 'Inter', sans-serif !important;
}

/* ── Step cards ── */
.sg-landing .sg-lp-step {
    background: var(--sg-card) !important;
    border: 1px solid var(--sg-border-light) !important;
    border-radius: 20px !important;
}

.sg-landing .sg-lp-step-title {
    font-family: 'Inter', sans-serif !important;
    color: var(--sg-text-main) !important;
}

.sg-landing .sg-lp-step-number {
    border: 2px solid var(--sg-primary) !important;
    color: var(--sg-primary) !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    background: rgba(183, 28, 28, 0.06) !important;
}

/* ── Category items ── */
.sg-landing .sg-lp-cat-item {
    background: var(--sg-card) !important;
    border: 1px solid var(--sg-border-light) !important;
}

.sg-landing .sg-lp-cat-name {
    color: var(--sg-text-main) !important;
    font-family: 'Inter', sans-serif !important;
}

/* ── Ecosystem cards ── */
.sg-landing .sg-lp-eco-card {
    background: var(--sg-card) !important;
    border: 1px solid var(--sg-border-light) !important;
}

.sg-landing .sg-lp-eco-title {
    color: var(--sg-text-main) !important;
    font-family: 'Inter', sans-serif !important;
}

.sg-landing .sg-lp-eco-desc {
    color: var(--sg-text-dim) !important;
    font-family: 'Inter', sans-serif !important;
}

/* ── Eyebrow labels ── */
.sg-landing .sg-lp-eyebrow {
    color: var(--sg-primary) !important;
    font-family: 'Inter', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.18em !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
}

/* ── Section titles ── */
.sg-landing .sg-lp-section-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: var(--sg-text-main) !important;
}

.sg-landing .sg-lp-section-desc {
    color: var(--sg-text-dim) !important;
    font-family: 'Inter', sans-serif !important;
}

/* ── Float badges ── */
.sg-landing .sg-lp-float-badge {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    font-family: 'Inter', sans-serif !important;
}

/* ── Hero badge ── */
.sg-landing .sg-lp-hero-badge {
    color: var(--sg-accent-light) !important;
    background: rgba(212, 168, 67, 0.2) !important;
    font-family: 'Inter', sans-serif !important;
}

/* ── Hero stats ── */
.sg-landing .sg-lp-hero-stat {
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'Inter', sans-serif !important;
}

.sg-landing .sg-lp-hero-stat strong {
    color: #fff !important;
}

/* ── Eco CTA section ── */
.sg-landing .sg-lp-eco-cta h3 {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: var(--sg-text-main) !important;
}

.sg-landing .sg-lp-eco-cta p {
    color: var(--sg-text-dim) !important;
    font-family: 'Inter', sans-serif !important;
}

/* ── Form section headings ── */
.sg-landing .sg-lp-form-intro h2 {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: var(--sg-text-main) !important;
}

.sg-landing .sg-lp-form-intro p {
    color: var(--sg-text-dim) !important;
}

/* ── CTA banner ── */
.sg-landing .sg-lp-cta-text h4 {
    font-family: 'Inter', sans-serif !important;
    color: var(--sg-text-main) !important;
}

.sg-landing .sg-lp-cta-text p {
    color: var(--sg-text-dim) !important;
}

/* ── Prevent Elementor/theme container wrappers from breaking layout ── */
.sg-landing .elementor-widget-wrap,
.sg-landing .elementor-element {
    padding: 0 !important;
    margin: 0 !important;
}

/* ── WP Rocket: prevent lazy-load placeholder from hiding hero ── */
.sg-landing .sg-lp-hero-photo img[data-lazy-src] {
    opacity: 1 !important;
}

/* ── Fix step tags within theme ── */
.sg-landing .sg-lp-step-tag {
    background: var(--sg-bg) !important;
    color: var(--sg-text-dim) !important;
    border: 1px solid var(--sg-border-light) !important;
    font-family: 'Inter', sans-serif !important;
}

/* ── Mobile override ── */
@media (max-width: 768px) {

    /* ── Hero ── */
    .sg-landing .sg-lp-hero {
        min-height: 80vh !important;
        padding: 100px 20px 80px !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .sg-landing .sg-lp-hero-photo {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 0 !important;
    }

    .sg-landing .sg-lp-hero-photo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 0 !important;
    }

    .sg-landing .sg-lp-hero-content {
        position: relative !important;
        z-index: 4 !important;
        width: 100% !important;
    }

    .sg-landing .sg-lp-hero h1 {
        font-size: clamp(2.2rem, 9vw, 3rem) !important;
    }

    .sg-landing .sg-lp-hero-sub {
        font-size: 1rem !important;
    }

    .sg-landing .sg-lp-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 15px 28px !important;
        font-size: 0.95rem !important;
    }

    /* ── Hero stats ── */
    .sg-landing .sg-lp-hero-stats {
        gap: 16px !important;
        flex-direction: column !important;
    }

    .sg-landing .sg-lp-hero-stat {
        font-size: 0.8rem !important;
        width: 100% !important;
        justify-content: center !important;
    }

    /* ── Hide floating badges on mobile to prevent clutter and overlap ── */
    .sg-landing .sg-lp-float-badge {
        display: none !important;
    }

    /* ── Trust bar ── */
    .sg-landing .sg-lp-trust-bar {
        gap: 16px 24px !important;
        padding: 16px 20px !important;
        font-size: 0.8rem !important;
    }

    /* ── Sections general ── */
    .sg-landing .sg-lp-benefits,
    .sg-landing .sg-lp-how,
    .sg-landing .sg-lp-categories,
    .sg-landing .sg-lp-ecosystem,
    .sg-landing .sg-lp-faq,
    .sg-landing .sg-lp-form-section {
        padding: 60px 16px !important;
    }

    .sg-landing .sg-lp-section-header {
        margin-bottom: 40px !important;
    }

    .sg-landing .sg-lp-section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
    }

    .sg-landing .sg-lp-section-desc {
        font-size: 0.95rem !important;
    }

    /* ── Benefits layout: single column ── */
    .sg-landing .sg-lp-benefits-layout {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .sg-landing .sg-lp-benefits-image {
        border-radius: 16px !important;
        max-height: 280px !important;
    }

    .sg-landing .sg-lp-benefits-image img {
        min-height: 200px !important;
        max-height: 280px !important;
    }

    .sg-landing .sg-lp-benefit-card {
        padding: 24px 20px !important;
        gap: 16px !important;
    }

    .sg-landing .sg-lp-benefit-icon {
        width: 48px !important;
        height: 48px !important;
    }

    .sg-landing .sg-lp-benefit-icon svg {
        width: 20px !important;
        height: 20px !important;
    }

    /* ── Steps: single column ── */
    .sg-landing .sg-lp-steps {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .sg-landing .sg-lp-step {
        padding: 32px 24px 28px !important;
    }

    /* ── Categories: 2 columns on mobile ── */
    .sg-landing .sg-lp-cat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .sg-landing .sg-lp-cat-item {
        padding: 20px 12px !important;
    }

    .sg-landing .sg-lp-cat-emoji {
        font-size: 1.8rem !important;
    }

    .sg-landing .sg-lp-cat-name {
        font-size: 0.78rem !important;
    }

    /* ── Ecosystem: single column ── */
    .sg-landing .sg-lp-eco-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .sg-landing .sg-lp-eco-card {
        padding: 24px 20px !important;
        gap: 16px !important;
    }

    .sg-landing .sg-lp-eco-icon {
        font-size: 1.8rem !important;
    }

    .sg-landing .sg-lp-eco-cta {
        padding: 40px 24px !important;
    }

    .sg-landing .sg-lp-eco-cta h3 {
        font-size: 1.4rem !important;
    }

    /* ── Stats: 2x2 grid ── */
    .sg-landing .sg-lp-stats {
        padding: 48px 16px !important;
    }

    .sg-landing .sg-lp-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }

    .sg-landing .sg-lp-stat-number {
        font-size: clamp(1.4rem, 4vw, 1.8rem) !important;
    }

    .sg-landing .sg-lp-stat-label {
        font-size: 0.8rem !important;
    }

    /* ── FAQ ── */
    .sg-landing .sg-lp-faq-question {
        padding: 18px 16px !important;
        font-size: 0.95rem !important;
    }

    .sg-landing .sg-lp-faq-answer {
        padding: 0 16px 18px !important;
    }

    /* ── Form section ── */
    .sg-landing .sg-lp-form-intro h2 {
        font-size: 1.6rem !important;
    }

    .sg-landing .sg-lp-cta-banner {
        padding: 20px !important;
        flex-direction: column !important;
        text-align: center !important;
    }
}

/* ══════════════════════════════════════════════════════════════════
   NUCLEAR FIX — Scopri Gaeta Theme Container / Shadow Overrides
   These rules fix critical layout bugs caused by the WordPress
   theme wrapping our landing page in constrained containers
   with visible box-shadows and blue glows.
   ══════════════════════════════════════════════════════════════════ */

/* ── Remove blue box-shadow / glow from ALL wrappers ── */
body .sg-landing,
body .sg-landing *,
.site-main .sg-landing,
.entry-content .sg-landing,
.elementor .sg-landing,
#content .sg-landing,
.page .sg-landing {
    box-shadow: none !important;
}

/* Also kill shadow on body-level wrappers the theme may use */
body.page-template-page-inserisci-attivita-php .site-main,
body.page-template-page-inserisci-attivita-php .entry-content,
body.page-template-page-inserisci-attivita-php #content,
body.page-template-page-inserisci-attivita-php .page-content,
body.page-template-page-inserisci-attivita-php .hentry,
body.page-template-page-inserisci-attivita-php article,
body.page-template-page-inserisci-attivita-php .elementor-section-wrap,
body.page-template-page-inserisci-attivita-php .elementor-inner {
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
}

/* ── Force .sg-landing to be robust without 100vw hacks ── */
.sg-landing {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    box-shadow: none !important;
    border: none !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* ── Hero: absolute guarantee of full-width rendering ── */
.sg-landing .sg-lp-hero {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.sg-landing .sg-lp-hero-photo {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
}

.sg-landing .sg-lp-hero-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 40% !important;
    border-radius: 0 !important;
}

/* ── Hide unstyled decorative elements ── */
.sg-lp-hero-blob,
.sg-lp-hero-blob--1,
.sg-lp-hero-blob--2,
.sg-lp-hero-blob--3,
.sg-lp-hero-grid,
.sg-lp-hero-sparkles,
.sg-lp-sparkle,
.sg-lp-hero-orbit,
.sg-lp-orbit-dot {
    display: none !important;
}

/* ── Stats section: force gradient background ── */
.sg-landing .sg-lp-stats {
    background: linear-gradient(135deg, #8B1515 0%, #B71C1C 50%, #D32F2F 100%) !important;
}

/* ── Sections: ensure full-width and no side constraints ── */
.sg-landing .sg-lp-hero,
.sg-landing .sg-lp-trust-bar,
.sg-landing .sg-lp-benefits,
.sg-landing .sg-lp-how,
.sg-landing .sg-lp-categories,
.sg-landing .sg-lp-ecosystem,
.sg-landing .sg-lp-stats,
.sg-landing .sg-lp-faq,
.sg-landing .sg-lp-form-section {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-shadow: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* ── Labels: prevent theme uppercase ── */
.sg-landing label,
.sg-landing .sg-label,
.sg-modulo-wrapper label,
.sg-modulo-wrapper .sg-label {
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ── Wave SVG: ensure clean overlap with no gap ── */
.sg-landing .sg-lp-hero-wave {
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 5 !important;
    line-height: 0 !important;
}

.sg-landing .sg-lp-hero-wave svg {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* ── Ensure all reveal elements become visible ── */
.sg-landing .sg-lp-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.sg-landing .sg-lp-reveal.sg-lp-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Fallback: if IntersectionObserver hasn't fired after 3s, show content */
@keyframes sg-lp-force-visible {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sg-landing .sg-lp-reveal {
    animation: sg-lp-force-visible 0.01s 3s forwards;
}

/* ── Fix margin on hero to account for fixed theme header ── */
.sg-landing .sg-lp-hero::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.25) 40%,
            rgba(0, 0, 0, 0.35) 60%,
            rgba(0, 0, 0, 0.65) 100%) !important;
    z-index: 1 !important;
}

/* ── Benefit card inner content styling ── */
.sg-landing .sg-lp-benefit-card .sg-lp-benefit-content {
    flex: 1 !important;
    min-width: 0 !important;
}

/* ── Fix: Remove any theme-injected borders on sections ── */
.sg-landing section,
.sg-landing div {
    border-left: none !important;
    border-right: none !important;
}

/* ══════════════════════════════════════════════════════════════════
   LYTBOX / MOCK-MOBILE JAILBREAK
   Forces the page to break out of any iframe or mock-mobile
   wrapper injected by the theme/plugins.
   ══════════════════════════════════════════════════════════════════ */

/* Force exactly 100% on the root elements to prevent horizontal overflow */
html.page-template-page-inserisci-attivita-php,
body.page-template-page-inserisci-attivita-php {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

/* Hide the shadow host if it's wrapping the body or injected as a sibling */
preact-border-shadow-host,
#preact-border-shadow-host,
.lytbox-wrap {
    display: none !important;
    box-shadow: none !important;
}

/* Hide the mobile dock that appears at the bottom */
#sg-dock-v23,
.sg-mobile-nav {
    display: none !important;
}

/* ── Typographic Global Overrides ── */
/* Force the Hero H1 to be white instead of the theme's global dark red */
.sg-landing .sg-lp-hero h1,
.sg-landing .sg-lp-hero h1 span,
.sg-landing .sg-lp-hero .sg-lp-hero-content h1 {
    color: #FFFFFF !important;
}

/* Ensure the 'Gaeta' highlight is correct */
.sg-landing .sg-lp-hero h1 em {
    color: var(--sg-accent) !important;
}

/* Force readable color in the benefits section as well */
.sg-landing .sg-lp-benefit-card h3 {
    color: #1A1A1A !important;
}