:root {
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --gold-dim: rgba(201, 168, 76, 0.15);
    --gold-glow: rgba(201, 168, 76, 0.08);
    --black: #070707;
    --dark: #0d0d0d;
    --dark2: #141414;
    --dark3: #1c1c1c;
    --dark4: #232323;
    --white: #F8F5EF;
    --muted: #7a7a7a;
    --muted2: rgba(248, 245, 239, 0.58);
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'DM Sans', system-ui, sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* HERO */
.hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-vid {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-vid video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(7, 7, 7, 0.62) 0%, rgba(7, 7, 7, 0.42) 30%, rgba(7, 7, 7, 0.65) 70%, rgba(7, 7, 7, 1) 100%),
    radial-gradient(ellipse at center, rgba(7, 7, 7, 0.2) 0%, transparent 65%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 5vw;
    max-width: 780px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .logo {
        max-width: 250px;
    }
}

.hero-eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 1s 0.4s forwards;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.3rem;
    opacity: 0;
    animation: fadeUp 1s 0.65s forwards;
    letter-spacing: -0.01em;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-light);
    font-weight: 400;
}

.hero-sub {
    font-size: clamp(0.8rem, 1.1vw, 0.92rem);
    line-height: 1.88;
    color: rgba(248, 245, 239, 0.65);
    max-width: 520px;
    margin: 0 auto 2.4rem;
    opacity: 0;
    animation: fadeUp 1s 0.9s forwards;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s 1.1s forwards;
}

.hero-foot {
    display: none !important;
}

.hero-tags {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-tag {
    font-size: 0.63rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(248, 245, 239, 0.58);
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.hero-tag::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.hero-scroll-lbl {
    font-size: 0.56rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--muted);
}

.scroll-bar {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.25;
    }
    50% {
        opacity: 1;
    }
}

/* HERO SERVICE CARDS — floating between hero and next section */
.hero-cards-wrap {
    position: relative;
    z-index: 10;
    padding: 0 5vw;
    margin-top: -88px; /* pulls cards up into the bottom of the hero */
    margin-bottom: 0;
    pointer-events: none; /* let scroll through the gap area */
}

.hero-cards {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 10px;
    max-width: 1360px;
    margin: 0 auto;
    pointer-events: auto;
}

.hc {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    /* subtle lift shadow */
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(201, 168, 76, 0);
    transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
    opacity: 0;
    animation: hcFadeUp 0.7s var(--ease) forwards;
    border-radius: 15px;
}

.hc:nth-child(1) {
    animation-delay: 1.4s;
}

.hc:nth-child(2) {
    animation-delay: 1.55s;
}

.hc:nth-child(3) {
    animation-delay: 1.7s;
}

.hc:nth-child(4) {
    animation-delay: 1.85s;
}

@keyframes hcFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hc:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 60px rgba(0, 0, 0, 0.65), 0 0 0 1.5px var(--gold);
}

.hc-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.45) saturate(1.15);
    transition: transform 0.7s var(--ease), filter 0.5s;
}

.hc:hover .hc-bg {
    transform: scale(1.07);
    filter: brightness(0.58) saturate(1.35);
}

/* Gradient veil: darker at bottom, gold tint on hover */
.hc-veil {
    position: absolute;
    inset: 0;
    transition: background 0.4s;
}

.hc:hover .hc-veil {
    background: linear-gradient(
            180deg,
            rgba(7, 7, 7, 0.04) 0%,
            rgba(7, 7, 7, 0.12) 35%,
            rgba(7, 7, 7, 0.88) 100%
    );
}

/* Gold accent line at top that animates in on hover */
.hc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
    z-index: 3;
}

.hc:hover::before {
    transform: scaleX(1);
}

.hc-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem 1.3rem;
    z-index: 2;
}

.hc-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hc-label-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.hc-title {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 0.35rem;
}

.hc-sub {
    font-size: 0.65rem;
    color: rgba(248, 245, 239, 0.52);
    line-height: 1.4;
    letter-spacing: 0.04em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s;
    opacity: 0;
}

.hc:hover .hc-sub {
    max-height: 40px;
    opacity: 1;
}

.hc-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.35s, transform 0.35s;
}

.hc:hover .hc-arrow {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 900px) {
    .hero-cards {
        grid-template-columns:repeat(2, 1fr);
    }

    .hero-cards-wrap {
        margin-top: -60px;
    }

    .hc {
        height: 170px;
    }
}

@media (max-width: 520px) {
    .hero-cards {
        grid-template-columns:1fr 1fr;
        gap: 6px;
    }

    .hero-cards-wrap {
        margin-top: -44px;
        padding: 0 4vw;
    }

    .hc {
        height: 140px;
    }

    .hc-title {
        font-size: 1rem;
    }
}

/* BUTTONS */
.btn-p {
    display: inline-block;
    background: var(--gold);
    color: var(--black) !important;
    padding: 0.95rem 2.3rem;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
}

.btn-p:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.btn-o {
    display: inline-block;
    background: transparent;
    color: var(--white) !important;;
    padding: 0.95rem 2.3rem;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid rgba(248, 245, 239, 0.28);
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
    text-decoration: none;
}

.btn-o:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-g {
    display: inline-block;
    background: transparent;
    color: var(--gold) !important;;
    padding: 0.85rem 1.8rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    text-decoration: none;
}

.btn-g:hover {
    background: var(--gold);
    color: var(--black);
}

/* TRUST */
.trust-bar {
    background: var(--dark2);
    border-top: 1px solid var(--gold-dim);
    border-bottom: 1px solid var(--gold-dim);
    padding: 2.8rem 5vw;
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 0;
}

.trust-item {
    text-align: center;
    padding: 0 1.8rem;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-item:last-child {
    border-right: none;
}

.trust-num {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.trust-lbl {
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.5;
}

/* LAYOUT */
.wrap {
    max-width: 1360px;
    margin: 0 auto;
}

section {
    padding: 6.5rem 5vw;
}

.eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.9rem;
}

.h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 3.2vw, 2.9rem);
    font-weight: 700;
    line-height: 1.18;
    max-width: 640px;
}

.h2 em {
    font-style: italic;
    color: var(--gold-light);
    font-weight: 400;
}

.gline {
    width: 44px;
    height: 2px;
    background: var(--gold);
    margin: 1.4rem 0;
}

/* AUTHORITY STRIP */
.auth-strip {
    background: var(--dark);
    padding: 7rem 5vw 5rem;
    border-bottom: 1px solid var(--gold-dim);
    padding-top: 50px;
}

/* Extra top padding to breathe below the floating cards */
.auth-inner {
    display: grid;
    grid-template-columns:1.1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.auth-claim {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2.3rem);
    font-weight: 700;
    line-height: 1.28;
    color: var(--white);
}

.auth-claim em {
    font-style: italic;
    color: var(--gold-light);
}

.auth-sub {
    margin-top: 1.2rem;
    font-size: 1rem;
    color: var(--muted2);
    line-height: 1.88;
}

.milestones {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 1.5rem;
}

.milestone {
    border-left: 2px solid var(--gold);
    padding-left: 1.2rem;
}

.milestone-yr {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.28rem;
}

.milestone-lbl {
    font-size: 0.9rem;
    color: var(--muted2);
    line-height: 1.5;
}

/* PROCESS */
.process-sect {
    background: var(--dark);
}

.process-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 3rem;
    margin-top: 4.5rem;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.proc-step {
    text-align: center;
    padding-top: 1rem;
}

.proc-icon {
    width: 4rem;
    height: 4rem;
    border: 1px solid var(--gold);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    background: var(--dark);
    position: relative;
    z-index: 1;
}

.proc-step h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.proc-step p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--muted);
}

/* TESTIMONIALS */
.testi-sect {
    background: var(--dark2);
}

.testi-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.testi-card {
    background: var(--dark3);
    padding: 2.2rem;
    border-left: 2px solid var(--gold);
}

.testi-stars {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.9rem;
}

.testi-q {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.22;
    line-height: 0.8;
    margin-bottom: 0.7rem;
}

.testi-txt {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--muted2);
    font-style: italic;
    margin-bottom: 1.4rem;
}

.testi-auth {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

.testi-role {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

/* CONFIGURATORE */
.config-sect {
    background: var(--dark2);
    border-top: 1px solid var(--gold-dim);
}

.config-layout {
    display: grid;
    grid-template-columns:1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.config-perks {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.8rem;
}

.perk {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 1rem;
    color: var(--muted2);
    line-height: 1.6;
}

.perk-chk {
    color: var(--gold);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-size: 1.1rem;
}

.urgency {
    margin-top: 2.2rem;
    background: var(--gold-glow);
    border: 1px solid var(--gold-dim);
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.urgency-i {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.urgency-t {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--muted2);
}

.urgency-t strong {
    color: var(--gold);
}

/* Configurator shell */
.configurator {
    background: var(--dark3);
    border: 1px solid var(--gold-dim);
    overflow: visible; /* permette al calendario di uscire dal box */
}

.config-prog {
    background: var(--dark4);
    padding: 1rem 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.prog-track {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.07);
}

.prog-fill {
    height: 100%;
    background: var(--gold);
    transition: width 0.55s var(--ease);
}

.prog-lbl {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
}

.prog-name {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

/* Steps with fade transition */
.config-body {
    position: relative;
    min-height: 460px;
}

.cstep {
    padding: 1.8rem;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.38s var(--ease), transform 0.38s var(--ease);
    pointer-events: none;
    position: absolute;
    inset: 0;
    visibility: hidden;
}

.cstep.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
    visibility: visible;
}

.cstep.exit {
    opacity: 0;
    transform: translateY(-14px);
    pointer-events: none;
    position: absolute;
    inset: 0;
    visibility: hidden;
}

.cstep-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.cstep-sub {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 1.4rem;
    line-height: 1.5;
}

/* Attraction photo cards */
.attr-grid {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 5px;
}

.attr-opt {
    position: relative;
    cursor: pointer;
}

.attr-opt input[type="checkbox"] {
    display: none;
}

.attr-img {
    position: relative;
    height: 250px;
    overflow: hidden;
    border: 1.5px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.attr-opt input:checked ~ .attr-img,
.attr-opt input:checked + .attr-img {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), inset 0 0 24px rgba(201, 168, 76, 0.1);
}

.attr-imgbg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.45) saturate(1.1);
    transition: transform 0.6s var(--ease), filter 0.4s;
}

.attr-opt:hover .attr-imgbg {
    transform: scale(1.07);
    filter: brightness(0.58) saturate(1.3);
}

.attr-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 7, 7, 0.92) 0%, rgba(7, 7, 7, 0.18) 55%, transparent 100%);
    transition: background 0.4s;
}

.attr-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 0.9rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.attr-name {
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.2;
    margin-bottom: 0.12rem;
    color: #fff;
}

.attr-sub {
    font-size: 0.75rem;
    color: rgba(248, 245, 239, 0.5);
    line-height: 1.3;
}

.attr-chk {
    width: 19px;
    height: 19px;
    border: 1.5px solid rgba(248, 245, 239, 0.22);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    color: transparent;
    flex-shrink: 0;
    margin-left: 0.5rem;
    transition: all 0.3s;
    background: rgba(0, 0, 0, 0.45);
}

.attr-opt input:checked ~ .attr-img .attr-chk,
.attr-opt input:checked + .attr-img .attr-chk {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

/* Step 2 */
.who-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 5px;
    margin-bottom: 1.3rem;
}

.who-opt {
    cursor: pointer;
}

.who-opt input[type="radio"] {
    display: none;
}

.who-card {
    padding: 1.1rem 0.8rem 1rem;
    text-align: center;
    border: 1.5px solid rgba(255, 255, 255, 0.07);
    background: var(--dark4);
    transition: border-color 0.3s, background 0.3s;
}

.who-opt input:checked + .who-card {
    border-color: var(--gold);
    background: var(--gold-glow);
}

.who-opt:hover .who-card {
    border-color: rgba(201, 168, 76, 0.3);
}

.who-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.45rem;
}

.who-name {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 0.18rem;
}

.who-sub {
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.4;
}

/* Form */
.ff {
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
    margin-bottom: 0.95rem;
}

.fl {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
}

.fi {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    padding: 0.82rem 0.9rem;
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
    transition: border-color 0.3s, background 0.3s;
}

.fi::placeholder {
    color: rgba(248, 245, 239, 0.22);
}

.fi:focus {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.04);
}

.fi-sel {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C9A84C' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.2rem;
    cursor: pointer;
}

.fi-sel option {
    background: var(--dark3);
}

.fr2 {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 0.7rem;
}

.fi-ta {
    resize: vertical;
    min-height: 85px;
}

/* ── Field validation states ── */
.fi-invalid {
    border-color: #e05252 !important;
    background: rgba(224, 82, 82, 0.04) !important;
}

.fi-err {
    display: none;
    font-size: 0.68rem;
    color: #e05252;
    margin-top: 0.3rem;
    letter-spacing: 0.02em;
}

/* ── Datepicker ── */
.bel-datepicker {
    position: relative;
}

.bdp-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--dark3);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.6rem 0.9rem;
    cursor: pointer;
    transition: border-color 0.25s;
}

.bdp-inputs:focus-within,
.bel-datepicker:has(.bdp-open) .bdp-inputs {
    border-color: var(--gold);
}

.bdp-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
}

.bdp-input-lbl {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.bdp-input {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-size: 0.88rem !important;
    color: var(--white) !important;
    cursor: pointer;
    width: 100%;
    outline: none;
}

.bdp-input::placeholder { color: rgba(255,255,255,0.25) !important; }

.bdp-arrow {
    color: var(--gold);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.bdp-clear {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0 0.2rem;
    flex-shrink: 0;
    transition: color 0.2s;
}
.bdp-clear:hover { color: #e05252; }

/* Calendar dropdown — fixed per uscire da qualsiasi overflow */
.bdp-calendar {
    display: none;
    position: fixed;
    background: var(--dark3);
    border: 1px solid var(--gold-dim);
    z-index: 99999;
    padding: 1rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    width: 320px;
}

.bdp-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.bdp-month-label {
    font-family: var(--font-serif);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.04em;
}

.bdp-nav {
    background: none;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--gold);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.2s, border-color 0.2s;
    border-radius: 2px;
}
.bdp-nav:hover { background: var(--gold-glow); border-color: var(--gold); }

.bdp-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 0.4rem;
}
.bdp-weekdays span {
    text-align: center;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0.2rem 0;
}

.bdp-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.bdp-day {
    text-align: center;
    padding: 0.4rem 0.2rem;
    font-size: 0.82rem;
    color: var(--white);
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.15s, color 0.15s;
    user-select: none;
}
.bdp-day:hover:not(.bdp-past):not(.bdp-empty) {
    background: var(--gold-glow);
    color: var(--gold);
}
.bdp-empty  { cursor: default; }
.bdp-past   { color: rgba(255,255,255,0.2); cursor: not-allowed; }
.bdp-today  { font-weight: 700; color: var(--gold); }
.bdp-start,
.bdp-end    { background: var(--gold) !important; color: #000 !important; font-weight: 700; }
.bdp-range  { background: var(--gold-glow); color: var(--gold-light); }

.bdp-hint {
    margin-top: 0.8rem;
    text-align: center;
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.06em;
    min-height: 1.2em;
}

/* Shake animation for validation */
@keyframes belShake {
    0%,100% { transform: translateX(0); }
    20%      { transform: translateX(-6px); }
    40%      { transform: translateX(6px); }
    60%      { transform: translateX(-4px); }
    80%      { transform: translateX(4px); }
}
.bel-shake { animation: belShake 0.5s ease; }

.budget-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 5px;
    margin-top: 0.3rem;
}

.bo {
    cursor: pointer;
}

.bo input[type="radio"] {
    display: none;
}

.bo span {
    display: block;
    text-align: center;
    padding: 0.65rem 0.2rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    transition: border-color 0.3s, color 0.3s, background 0.3s;
    line-height: 1.4;
}

.bo input:checked + span {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-glow);
}

.bo:hover span {
    border-color: rgba(201, 168, 76, 0.35);
    color: var(--white);
}

/* Config nav */
.config-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.3rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-back {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    padding: 0.7rem 1.4rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
}

.btn-back:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-next {
    background: var(--gold);
    color: var(--black);
    border: none;
    padding: 0.82rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-next:hover {
    background: var(--gold-light);
}

.btn-submit {
    width: 100%;
    background: var(--gold);
    color: var(--black);
    border: none;
    padding: 1.1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 1.1rem;
}

.btn-submit:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.riepilogo {
    background: var(--dark4);
    border: 1px solid var(--gold-dim);
    padding: 1rem 1.2rem;
    margin-bottom: 0.5rem;
}

.riep-ttl {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.55rem;
}

.riep-body {
    font-size: 0.95rem;
    color: var(--muted2);
    line-height: 1.9;
}

.config-success {
    display: none;
    padding: 3rem 1.8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.succ-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.succ-title {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.succ-txt {
    font-size: 1rem;
    color: var(--muted2);
    line-height: 1.75;
}

/* WhatsApp fast-track box */
.succ-wa-box {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 6px;
    padding: 1.4rem 1.6rem;
    text-align: left;
}

.succ-wa-label {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 0.5rem;
}

.succ-wa-hint {
    font-size: 0.88rem;
    color: var(--muted2);
    line-height: 1.65;
    margin: 0 0 1rem;
}

/* Codice personalizzato */
.succ-code-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.succ-code {
    font-family: 'Courier New', monospace;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
    border: 1px dashed rgba(201, 168, 76, 0.35);
    padding: 0.45rem 1rem;
    border-radius: 4px;
    flex: 1;
    text-align: center;
    user-select: all;
}

.succ-code-copy {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: transparent;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 0.45rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.succ-code-copy:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: var(--gold);
}

/* Bottone WhatsApp */
.succ-wa-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.2rem;
    background: #25D366;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s;
}

.succ-wa-btn:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    color: #fff;
}

/* CONFETTI */
#confetti-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    border-radius: 0;
}

.succ-content {
    position: relative;
    z-index: 1;
}

.about-sect {
    background: var(--black);
}

.about-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 7rem;
    align-items: center;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.92;
    color: var(--muted2);
    margin-bottom: 1.1rem;
}

.about-text p strong {
    color: var(--white);
    font-weight: 600;
}

.about-visual {
    position: relative;
}

.about-img {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--dark3);
    overflow: hidden;
    border: 1px solid var(--gold-dim);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.82) saturate(1.15);
}

.about-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--gold);
    color: var(--black);
    padding: 1.6rem 1.8rem;
    text-align: center;
}

.about-badge-num {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    display: block;
}

.about-badge-txt {
    font-size: 0.57rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-top: 0.3rem;
}

/* SERVICES */
.svc-sect {
    background: var(--dark);
}

.svc-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.svc-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 2px;
}

.svc-card {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    cursor: pointer;
    background: var(--dark3);
}

.svc-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s var(--ease);
}

.svc-card:hover .svc-bg {
    transform: scale(1.06);
}

.svc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 7, 7, 0.95) 0%, rgba(7, 7, 7, 0.35) 55%, transparent 100%);
    transition: background 0.4s;
}

.svc-card:hover .svc-overlay {
    background: linear-gradient(to top, rgba(7, 7, 7, 1) 0%, rgba(7, 7, 7, 0.55) 60%, rgba(7, 7, 7, 0.12) 100%);
}

.svc-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.8rem;
}

.svc-num {
    font-size: 0.6rem;
    color: var(--gold);
    letter-spacing: 0.22em;
    margin-bottom: 0.38rem;
    display: block;
}

.svc-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.svc-desc {
    font-size: 0.92rem;
    line-height: 1.72;
    color: rgba(248, 245, 239, 0.6);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s;
    opacity: 0;
}

.svc-card:hover .svc-desc {
    max-height: 120px;
    opacity: 1;
}

.svc-arrow {
    display: inline-block;
    margin-top: 0.65rem;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s, transform 0.4s;
}

.svc-card:hover .svc-arrow {
    opacity: 1;
    transform: translateY(0);
}

/* REACH */
.reach-sect {
    background: var(--dark2);
}

.reach-inner {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.reach-list {
    list-style: none;
    margin-top: 1.8rem;
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 0.6rem;
}

.reach-list li {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reach-list li::before {
    content: '';
    width: 13px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

.reach-vis {
    aspect-ratio: 1;
    background: var(--dark3);
    border: 1px solid var(--gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.reach-big {
    font-family: var(--font-serif);
    font-size: 8rem;
    opacity: 0.05;
    line-height: 1;
}

.reach-tags {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}

.reach-tag {
    background: var(--dark4);
    border: 1px solid var(--gold-dim);
    padding: 0.45rem 1.1rem;
    font-size: 0.67rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

/* CTA */
.cta-sect {
    background: var(--black);
    padding: 9rem 5vw;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-sect::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.06) 0%, transparent 65%);
}

.cta-sect .h2 {
    max-width: 100%;
    text-align: center;
    font-size: clamp(2rem, 4.5vw, 4rem);
}

.cta-sub {
    font-size: 0.9rem;
    color: var(--muted);
    max-width: 500px;
    margin: 0 auto 3rem;
    line-height: 1.88;
}

.cta-contacts {
    display: flex;
    gap: 4rem;
    justify-content: center;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.cta-c {
    text-align: center;
}

.cta-clbl {
    font-size: 0.57rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.4rem;
}

.cta-cval {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--white);
    transition: color 0.3s;
    display: block;
}

.cta-cval:hover {
    color: var(--gold);
}

/* FOOTER */
footer {
    background: var(--dark);
    border-top: 1px solid var(--gold-dim);
    display: grid;
    grid-template-columns:1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.f-brand {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--gold);
}

.f-brand span {
    font-weight: 300;
    color: rgba(248, 245, 239, 0.42);
}

.f-info {
    font-size: 0.64rem;
    color: var(--muted);
    line-height: 1.9;
    text-align: center;
}

.f-social {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.f-social a {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 600;
    transition: background 0.3s, border-color 0.3s;
}

.f-social a:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.f-bottom {
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.1rem 5vw;
    display: flex;
    justify-content: space-between;
    font-size: 0.59rem;
    color: rgba(248, 245, 239, 0.17);
    letter-spacing: 0.06em;
}

/* WA FLOAT */
.wa-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
    background: #25D366;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.38);
    transition: transform 0.3s;
    opacity: 0;
    animation: fadeUp 1s 2.5s forwards;
}

.wa-float:hover {
    transform: scale(1.1) rotate(-5deg);
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.rd1 {
    transition-delay: 0.12s;
}

.rd2 {
    transition-delay: 0.24s;
}

.rd3 {
    transition-delay: 0.36s;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .auth-inner, .about-grid, .reach-inner, .config-layout {
        grid-template-columns:1fr;
        gap: 3rem;
    }

    .testi-grid {
        grid-template-columns:1fr;
    }

    .about-badge {
        bottom: -1rem;
        left: -1rem;
    }

    footer {
        grid-template-columns:1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .f-social {
        justify-content: center;
    }

    .f-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-ham {
        display: block;
    }

    .trust-bar {
        grid-template-columns:repeat(2, 1fr);
    }

    .trust-item {
        border-right: none;
        padding: 1rem;
    }

    .svc-grid {
        grid-template-columns:1fr 1fr;
    }

    .process-grid {
        grid-template-columns:1fr 1fr;
    }

    .process-grid::before {
        display: none;
    }

    .hero-foot {
        display: none;
    }
}

@media (max-width: 640px) {
    section {
        padding: 4.5rem 5vw;
    }

    .svc-grid {
        grid-template-columns:1fr;
    }

    .attr-grid {
        grid-template-columns:1fr;
    }

    .who-grid {
        grid-template-columns:repeat(3, 1fr);
    }

    .budget-grid {
        grid-template-columns:repeat(2, 1fr);
    }

    .fr2 {
        grid-template-columns:1fr;
    }

    .process-grid {
        grid-template-columns:1fr;
    }

    .cta-contacts {
        gap: 2.5rem;
    }

    .milestones {
        grid-template-columns:1fr 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PRESS BANNER — "Siamo stati citati su"
═══════════════════════════════════════════════════════════════ */
.press-banner {
    background: var(--dark2);
    border-top: 1px solid var(--gold-dim);
    border-bottom: 1px solid var(--gold-dim);
    padding: 2.2rem 5vw;
}

.press-inner {
    max-width: 1360px;
    margin: 0 auto;
}

/* Label centrale con linee laterali */
.press-label {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    justify-content: center;
    margin-bottom: 1.8rem;
}

.press-label-line {
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-dim));
}

.press-label-line:last-child {
    background: linear-gradient(to left, transparent, var(--gold-dim));
}

.press-label-txt {
    font-size: 0.6rem;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
    font-weight: 500;
}

/* Griglia loghi */
.press-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.press-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 2.2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    transition: opacity 0.3s;
    min-width: 120px;
}

.press-logo-item:last-child {
    border-right: none;
}

.press-logo-item:hover {
    opacity: 1 !important;
}

.press-logos:hover .press-logo-item {
    opacity: 0.45;
}

.press-logos:hover .press-logo-item:hover {
    opacity: 1;
}

/* Logo reale (immagine) */
.press-logo-img {
    max-height: 28px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    /* Tutti i loghi in bianco/grigio per uniformità */
    filter: brightness(0) invert(1);
    opacity: 0.55;
    transition: opacity 0.3s, filter 0.3s;
    display: block;
}

.press-logo-item:hover .press-logo-img {
    filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(2deg);
    opacity: 0.9;
}

/* Fallback testo (quando src è vuoto o immagine mancante) */
.press-logo-fallback {
    font-family: var(--font-serif);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(248, 245, 239, 0.35);
    transition: color 0.3s;
    /* Nascondilo quando l'immagine è presente e caricata */
}

.press-logo-img:not([src=""]):not([src]) + .press-logo-fallback {
    display: none;
}

.press-logo-item:hover .press-logo-fallback {
    color: var(--gold);
}

@media (max-width: 768px) {
    .press-logos {
        gap: 0;
    }

    .press-logo-item {
        padding: 0.6rem 1.2rem;
        min-width: 90px;
    }

    .press-logo-img {
        max-height: 22px;
        max-width: 80px;
    }

    .press-logo-fallback {
        font-size: 0.6rem;
        letter-spacing: 0.1em;
    }
}

@media (max-width: 480px) {
    .press-logo-item {
        padding: 0.5rem 0.8rem;
        min-width: 70px;
        border-right: none;
    }

    .press-logos {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .press-logo-item:last-child {
        border-right: none;
    }
}


/* ═══════════════════════════════════════════════════════════════
   ABOUT — Video YouTube al posto dell'immagine statica
═══════════════════════════════════════════════════════════════ */

/* Wrapper responsive 16:9 */
.about-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--dark3);
    border: 1px solid var(--gold-dim);
    overflow: hidden;
    /* Lieve riflessione in basso */
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--gold-dim);
}

.about-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Il badge rimane in basso a sinistra rispetto al wrapper video */
.about-visual {
    position: relative;
}

/* Aggiusta il badge per il video (aspect-ratio 16:9 è meno alto dell'img 4:5) */
.about-badge {
    bottom: -1.5rem;
    left: -1.5rem;
}

@media (max-width: 1100px) {
    .about-badge {
        bottom: -1rem;
        left: -1rem;
    }
}

@media (max-width: 640px) {
    .about-video-wrap {
        /* su mobile rimuovi il margin negativo del badge */
        margin-bottom: 1.5rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PRESS SECTION — Rassegna Stampa Potenziata
═══════════════════════════════════════════════════════════════ */
.press-sect {
    background: var(--dark);
    padding: 6.5rem 5vw;
    border-top: 1px solid var(--gold-dim);
    padding-bottom: 0;
}

.press-wrap {
    max-width: 1360px;
    margin: 0 auto;
}

/* Header row */
.press-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.press-header-left .h2 {
    max-width: 100%;
}

/* Stats */
.press-header-stats {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.press-stat {
    text-align: center;
}

.press-stat-num {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.press-stat-lbl {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.4;
}

/* Logos strip */
.press-logos-strip {
    background: var(--dark2);
    border: 1px solid var(--gold-dim);
    padding: 1.2rem 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.press-strip-label {
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
    flex-shrink: 0;
    padding-right: 1.8rem;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.press-logos-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.press-logo-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-serif);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(248, 245, 239, 0.45);
    padding: 0.3rem 0.9rem 0.3rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    transition: color 0.3s, border-color 0.3s, background 0.3s;
    cursor: default;
}

.press-logo-pill:hover {
    color: var(--gold);
    border-color: var(--gold-dim);
    background: var(--gold-glow);
}

.press-pill-favicon {
    display: block;
    border-radius: 2px;
    opacity: 0.7;
    transition: opacity 0.3s;
    flex-shrink: 0;
    width: 30px;
}

.press-logo-pill:hover .press-pill-favicon {
    opacity: 1;
}

/* Filter tabs */
.press-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.press-filter {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    padding: 0.55rem 1.3rem;
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.press-filter:hover {
    border-color: rgba(201, 168, 76, 0.4);
    color: var(--white);
}

.press-filter.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
    font-weight: 700;
}

/* ============================================================
   PRESS CARDS — White Premium / Newspaper Style
   Nota: tutti i selettori usano .press-sect come prefisso
   per battere qualsiasi regola globale di colore del tema.
   ============================================================ */

/* Grid — gap generoso per respirare sul nero */
.press-sect .press-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

/* Card — carta bianca su sfondo scuro */
.press-sect .press-card {
    position: relative;
    background: #fff;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #111;
    overflow: hidden;
    border-radius: 3px;
    box-shadow:
            0 2px 8px rgba(0,0,0,0.28),
            0 8px 28px rgba(0,0,0,0.20);
    transition:
            transform 0.38s cubic-bezier(.22,.68,0,1.15),
            box-shadow 0.38s ease;
}

.press-sect .press-card:hover {
    transform: translateY(-7px);
    box-shadow:
            0 6px 20px rgba(0,0,0,0.22),
            0 20px 52px rgba(0,0,0,0.28),
            0 0 0 2px var(--gold);
    z-index: 2;
}

/* Bordo oro top */
.press-sect .press-card-topbar {
    height: 3px;
    background: var(--gold, #B8935A);
    flex-shrink: 0;
    transition: background 0.3s;
}

.press-sect .press-card:hover .press-card-topbar {
    background: var(--gold-light, #C9A84C);
}

/* Inner padding */
.press-sect .press-card-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.4rem 1.6rem 1.3rem;
}

/* ── Masthead ── */
.press-sect .press-card-masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}

.press-sect .press-card-source-wrap {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    overflow: hidden;
}

.press-sect .press-card-logo {
    width: 35px;
    height: 35px;
    border-radius: 2px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

.press-sect .press-card-source-name {
    font-family: var(--font-sans);
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.press-sect .press-card-date {
    font-family: var(--font-sans);
    font-size: 0.62rem !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999 !important;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Divisore ── */
.press-sect .press-card-divider {
    height: 1px;
    background: #e8e8e8;
    margin-bottom: 1rem;
}

/* ── Tag rubrica ── */
.press-sect .press-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-sans);
    font-size: 0.58rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold, #B8935A) !important;
    margin-bottom: 0.65rem;
    /* reset eventuali border/padding da regole globali */
    background: none !important;
    border: none !important;
    padding: 0 !important;
    span{
        color: var(--gold, #B8935A) !important;
    }
}

.press-tag-icon {
    font-size: 0.82rem;
}

/* ── Headline ── */
.press-sect .press-card-headline {
    font-family: var(--font-serif) !important;
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #111 !important;
    margin: 0 0 0.75rem !important;
    flex: 1;
    transition: color 0.25s;
}

.press-sect .press-card:hover .press-card-headline {
    color: var(--gold, #B8935A) !important;
}

/* ── Excerpt ── */
.press-sect .press-card-excerpt {
    font-family: var(--font-serif) !important;
    font-style: italic;
    font-size: 0.83rem !important;
    line-height: 1.68 !important;
    color: #555 !important;
    margin: 0 0 1.2rem !important;
}

/* ── Footer ── */
.press-sect .press-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.9rem;
    border-top: 1px solid #ebebeb;
    gap: 0.5rem;
    margin-top: auto;
}

.press-sect .press-card-domain {
    font-family: var(--font-sans);
    font-size: 0.58rem !important;
    letter-spacing: 0.1em;
    color: #bbb !important;
    text-transform: lowercase;
}

.press-sect .press-card-read {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-sans);
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold, #B8935A) !important;
    white-space: nowrap;
    transition: gap 0.25s;
}

.press-sect .press-card:hover .press-card-read {
    gap: 0.65rem;
    color: var(--gold, #B8935A) !important;
}

.press-sect .press-card-read svg {
    flex-shrink: 0;
    transition: transform 0.25s;
    color: inherit;
}

.press-sect .press-card:hover .press-card-read svg {
    transform: translateX(3px);
}

/* Hidden state for filter */
.press-sect .press-card.press-hidden {
    display: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
    .press-sect .press-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .press-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .press-header-stats {
        gap: 1.8rem;
    }
}

@media (max-width: 640px) {
    .press-sect .press-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .press-header-stats {
        gap: 1.2rem;
    }

    .press-stat-num {
        font-size: 1.8rem;
    }

    .press-logos-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .press-strip-label {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        padding-bottom: 0.8rem;
        width: 100%;
    }
}


/* ─────────────────────────────────────────────────────────────────────────
   SERVICE LANDING — Cover, Pillars, Gallery, About
   ───────────────────────────────────────────────────────────────────────── */

/* COVER: variante della .hero con immagine di sfondo invece di video */
.svc-hero .svc-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.42;
    transform: scale(1.05);
    animation: svcHeroZoom 12s ease-out forwards;
}
@keyframes svcHeroZoom {
    from { transform: scale(1.12); }
    to   { transform: scale(1.02); }
}
.svc-hero .hero-content { max-width: 880px; }
.svc-hero-tags {
    display: flex;
    gap: 1.6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.4rem;
    opacity: 0;
    animation: fadeUp 1s 1.25s forwards;
}
.svc-hero-tags .hero-tag { font-size: 0.66rem; }
.svc-hero .hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

/* PILLARS */
.svc-pillars-sect {
    background: var(--black);
    padding: 6rem 0 5rem;
    position: relative;
}
.svc-pillars-head { max-width: 760px; margin: 0 auto 3.6rem; text-align: center; }
.svc-pillars-head .gline { margin: 1.4rem auto 1.6rem; }
.svc-pillars-intro {
    font-size: 0.92rem;
    line-height: 1.85;
    color: var(--muted2);
    max-width: 620px;
    margin: 0 auto;
    font-weight: 300;
}
.svc-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 5vw;
}
.svc-pillar {
    background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 2rem 1.5rem;
    transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.svc-pillar:hover {
    border-color: rgba(201, 168, 76, 0.35);
    transform: translateY(-4px);
}
.svc-pillar-ic {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 0 8px var(--gold-glow));
}
.svc-pillar-t {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.7rem;
    letter-spacing: -0.01em;
}
.svc-pillar-x {
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--muted2);
    margin: 0;
    font-weight: 300;
}
@media (max-width: 980px) {
    .svc-pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .svc-pillars-grid { grid-template-columns: 1fr; }
    .svc-pillars-sect { padding: 4rem 0 3.5rem; }
}

/* GALLERY */
.svc-gallery-sect {
    background: var(--dark);
    padding: 6rem 0;
    position: relative;
}
.svc-gallery-head { max-width: 760px; margin: 0 auto 3.6rem; text-align: center; }
.svc-gallery-head .gline { margin: 1.4rem auto 1.6rem; }
.svc-gallery-intro {
    font-size: 0.92rem;
    line-height: 1.85;
    color: var(--muted2);
    max-width: 620px;
    margin: 0 auto;
    font-weight: 300;
}
.svc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 180px;
    gap: 14px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5vw;
}
.svc-gallery-item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
    background: var(--dark3);
    border: 1px solid rgba(255,255,255,0.04);
    transition: transform .5s var(--ease), border-color .35s var(--ease);
}
.svc-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s var(--ease), filter .5s var(--ease);
    filter: saturate(0.95) brightness(0.92);
}
.svc-gallery-item:hover {
    border-color: rgba(201, 168, 76, 0.4);
}
.svc-gallery-item:hover img {
    transform: scale(1.06);
    filter: saturate(1.1) brightness(1);
}
/* asymmetric layout: 6 col grid, items span columns/rows */
.svc-gi-0 { grid-column: span 3; grid-row: span 2; }
.svc-gi-1 { grid-column: span 3; grid-row: span 1; }
.svc-gi-2 { grid-column: span 2; grid-row: span 1; }
.svc-gi-3 { grid-column: span 2; grid-row: span 2; }
.svc-gi-4 { grid-column: span 2; grid-row: span 1; }
.svc-gi-5 { grid-column: span 2; grid-row: span 1; }
@media (max-width: 900px) {
    .svc-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }
    .svc-gi-0, .svc-gi-1, .svc-gi-2, .svc-gi-3, .svc-gi-4, .svc-gi-5 {
        grid-column: span 1;
        grid-row: span 1;
    }
    .svc-gi-0, .svc-gi-3 { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 540px) {
    .svc-gallery-sect { padding: 4rem 0; }
    .svc-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .svc-gi-0, .svc-gi-3 { grid-column: span 1; }
}

/* GALLERY — wrapper per shortcode FooGallery (o qualsiasi plugin gallerie) */
.svc-gallery-shortcode {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5vw;
}
.svc-gallery-shortcode .foogallery,
.svc-gallery-shortcode .gallery,
.svc-gallery-shortcode img {
    max-width: 100%;
}

/* SERVICE ABOUT — riusa .about-sect del partial standard, aggiunge piccoli tweaks */
.svc-about-list {
    list-style: none;
    padding: 0;
    margin: 1.6rem 0 0;
    display: grid;
    gap: 0.7rem;
}
.svc-about-list li {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--muted2);
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}
.svc-about-chk {
    color: var(--gold);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.05rem;
}
.svc-about-img-wrap {
    aspect-ratio: 16/11;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.18);
}
.svc-about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* FINAL CTA — solo per landing servizi */
.svc-final-cta {
    background: linear-gradient(180deg, var(--black) 0%, var(--dark) 100%);
    padding: 5rem 5vw;
    text-align: center;
    border-top: 1px solid rgba(201, 168, 76, 0.12);
}
.svc-final-cta .eyebrow { margin-bottom: 1rem; }
.svc-final-cta h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin: 0 auto 1.6rem;
    max-width: 720px;
    letter-spacing: -0.01em;
}
.svc-final-cta h2 em { color: var(--gold-light); font-style: italic; font-weight: 400; }
.svc-final-cta p {
    font-size: 0.92rem;
    color: var(--muted2);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    font-weight: 300;
}