/* ===== PALETTE E VARIABILI =====
   Idea: "Luna". Notte prugna + lilla del brand + perla + oro champagne. */
:root {
    --primary: #A6CAEA;
    --primary-dark: #2F6FA3;
    --night: #16273C;
    --night-2: #1F3651;
    --pearl: #F0F6FB;
    --light: #FFFFFF;
    --gold: #C4A46A;
    --text: #2A3747;
    --text-muted: #576678;
    --shadow-soft: 0 18px 50px rgba(22, 39, 60, 0.08);
    --shadow-hover: 0 24px 60px rgba(22, 39, 60, 0.16);
    --ease: all 0.35s ease;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Jost', system-ui, sans-serif;
}

/* ===== BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--sans);
    background: var(--pearl);
    color: var(--text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; color: var(--night); }
p { font-size: 1rem; color: var(--text-muted); max-width: 62ch; }
img { max-width: 100%; }

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 5%;
    background: rgba(240, 246, 251, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(47, 111, 163, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { height: 52px; width: auto; object-fit: contain; display: block; }

.nav-links { list-style: none; display: flex; gap: 34px; }

.nav-links a {
    text-decoration: none;
    color: var(--night);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.nav-links a:hover::after { transform: scaleX(1); }

.btn-cta-nav {
    padding: 10px 28px;
    background: var(--night);
    color: var(--light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--ease);
}

.btn-cta-nav:hover { background: var(--primary); color: var(--night); }

/* ===== HERO: la luna è l'elemento memorabile ===== */
.hero {
    padding: 70px 5% 90px;
    background: var(--pearl);
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.subtitle {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin-bottom: 14px;
    display: block;
}

.hero h1 {
    font-size: clamp(3.4rem, 7vw, 6rem);
    font-weight: 400;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero p { font-size: 1.1rem; margin-bottom: 36px; }

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
    padding: 15px 32px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--ease);
}

.btn-primary { background: var(--night); color: var(--light); }
.btn-primary:hover { background: var(--primary); color: var(--night); transform: translateY(-2px); }

.btn-secondary { background: transparent; color: var(--night); border: 1px solid var(--night); }
.btn-secondary svg.ico { margin-right: 6px; }
.btn-secondary:hover { background: var(--night); color: var(--light); }

/* Immagine ad arco + falce di luna dietro */
.hero-image-wrapper { position: relative; padding: 30px 0 0 30px; }

.hero-image-wrapper::before {
    content: "";
    position: absolute;
    top: -20px; right: -30px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: var(--primary);
    z-index: 0;
}

.hero-image-wrapper::after {
    content: "";
    position: absolute;
    top: -40px; right: 10px;
    width: 250px; height: 250px;
    border-radius: 50%;
    background: var(--pearl);
    z-index: 1;
}

.hero-image {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 280px 280px 8px 8px;
    box-shadow: var(--shadow-soft);
}

/* Unico momento animato: il cerchio decorativo sale all'apertura */
@media (prefers-reduced-motion: no-preference) {
    .hero-image-wrapper::before { animation: rise 1.6s ease-out both; }
    @keyframes rise {
        from { transform: translateY(60px); opacity: 0; }
        to { transform: none; opacity: 1; }
    }
}

/* ===== TITOLI DI SEZIONE ===== */
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 { font-size: clamp(2.3rem, 4vw, 3.2rem); }

/* Divisore: fasi lunari */
.divider {
    width: 120px; height: 14px;
    margin: 18px auto 0;
    position: relative;
    background: linear-gradient(var(--gold), var(--gold)) left center / 38px 1px no-repeat,
                linear-gradient(var(--gold), var(--gold)) right center / 38px 1px no-repeat;
}

.divider::after {
    content: "";
    position: absolute;
    left: 50%; top: 0;
    width: 20px; height: 14px;
    margin-left: -10px;
    background: url("img/farfalla-oro.svg") center / contain no-repeat;
}

/* ===== TRATTAMENTI ===== */
.services-section { padding: 100px 5%; background: var(--light); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-box { text-align: center; }

.service-img-container {
    height: 360px;
    overflow: hidden;
    border-radius: 200px 200px 6px 6px;
    box-shadow: var(--shadow-soft);
}

.service-img-container img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-box:hover .service-img-container img { transform: scale(1.06); }

.service-info { padding: 26px 10px 0; }
.service-info h3 { font-size: 1.8rem; margin-bottom: 8px; }
.service-info p { margin: 0 auto; }

/* ===== LOCANDINE ===== */
.locandine-section { padding: 100px 5%; background: var(--pearl); }

.locandine-grid {
    display: flex;
    justify-content: center;
    gap: 34px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.locandina-card {
    width: 320px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--light);
    padding: 10px;
    box-shadow: var(--shadow-soft);
    transition: var(--ease);
}

.locandina-card img { width: 100%; height: auto; display: block; border-radius: 2px; }
.locandina-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

/* ===== PROMOZIONI ===== */
.promo-section { padding: 100px 5%; background: var(--light); }

.promo-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.promo-card {
    background: var(--pearl);
    padding: 52px 34px 40px;
    width: 320px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(47, 111, 163, 0.2);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--ease);
}

.promo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

/* La promo principale è scura e più alta: guida lo sguardo */
.promo-card.featured {
    background: var(--night);
    border-color: var(--night);
    margin: -14px 0;
    padding-top: 62px;
}

.promo-card.featured h3 { color: var(--light); }
.promo-card.featured p { color: rgba(255, 255, 255, 0.78); }
.promo-card.featured .price { color: var(--primary); }

.promo-badge {
    position: absolute;
    top: 20px; left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 3px 16px;
    background: var(--gold);
    color: var(--night);
    border-radius: 50px;
}

.promo-card h3 { font-size: 1.75rem; margin-bottom: 12px; }
.promo-card p { margin-bottom: 22px; flex-grow: 1; }

.price {
    font-family: var(--serif);
    font-size: 3.4rem;
    font-weight: 500;
    line-height: 1;
    color: var(--primary-dark);
    margin-bottom: 26px;
}

.btn-card-promo {
    display: block;
    width: 100%;
    padding: 13px 0;
    background: var(--night);
    color: var(--light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--ease);
}

.featured .btn-card-promo { background: var(--primary); color: var(--night); }
.btn-card-promo:hover { background: var(--gold); color: var(--night); }

/* ===== GALLERY ===== */
.gallery-section { padding: 100px 0; background: var(--night); overflow: hidden; }
.gallery-section h2 { color: var(--light); }

.marquee-container { width: 100%; overflow: hidden; padding: 20px 0; }

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

.marquee-container:hover .marquee-track { animation-play-state: paused; }

.marquee-track img {
    height: 280px;
    width: auto;
    margin: 0 12px;
    border-radius: 140px 140px 6px 6px;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== CTA ===== */
.booking-cta {
    padding: 120px 5%;
    background: var(--night-2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* falce di luna decorativa */
.booking-cta::before {
    content: "";
    position: absolute;
    top: -90px; right: 8%;
    width: 260px; height: 260px;
    border-radius: 50%;
    box-shadow: inset -34px 14px 0 0 var(--primary);
    opacity: 0.9;
}

.cta-content { position: relative; max-width: 720px; margin: 0 auto; }

.booking-cta h2 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 20px; color: var(--light); font-weight: 400; }
.booking-cta p { font-size: 1.1rem; margin: 0 auto 40px; color: rgba(255, 255, 255, 0.82); }

.btn-whatsapp-cta {
    display: inline-block;
    padding: 17px 40px;
    background: var(--primary);
    color: var(--night);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 50px;
    transition: var(--ease);
}

.btn-whatsapp-cta svg.ico { margin-right: 8px; }
.btn-whatsapp-cta:hover { background: var(--light); transform: translateY(-3px); }

/* ===== FOOTER ===== */
footer { background: var(--night); color: var(--light); padding: 80px 5% 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); }

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 50px;
}

.footer-col { flex: 1 1 250px; }

/* Logo: niente filtro (rendeva il JPG un rettangolo bianco), ora su riquadro chiaro */
.logo-footer {
    height: 64px;
    width: auto;
    margin-bottom: 18px;
    padding: 8px 14px;
    background: var(--pearl);
    border-radius: 8px;
    object-fit: contain;
    display: block;
}

.footer-about { color: rgba(255, 255, 255, 0.7); }

.footer-col h3 { color: var(--primary); margin-bottom: 20px; font-size: 1.5rem; }

.contact-list { list-style: none; }
.contact-list li { margin-bottom: 12px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); }
.contact-list svg.ico { color: var(--gold); margin-right: 10px; width: 16px; text-align: center; }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { color: var(--primary); }

.social-links { margin-top: 20px; display: flex; gap: 12px; }

.social-links a {
    color: var(--light);
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--ease);
}

.social-links a:hover { background: var(--primary); border-color: var(--primary); color: var(--night); }

.footer-bottom {
    text-align: center;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); margin: 0 auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero p { margin-inline: auto; }
    .hero-buttons { justify-content: center; }
    .hero-image { height: 400px; }
    .hero-image-wrapper::before { right: 0; width: 200px; height: 200px; }
    .hero-image-wrapper::after { right: 28px; top: -34px; width: 180px; height: 180px; }
    .promo-card.featured { margin: 0; }
}

@media (max-width: 768px) {
    .navbar { flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
    .nav-links a { font-size: 0.9rem; }
    .service-img-container { height: 320px; }
    .marquee-track img { height: 220px; }
    .booking-cta::before { width: 160px; height: 160px; top: -60px; box-shadow: inset -22px 10px 0 0 var(--primary); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .marquee-track { animation: none; }
    * { transition: none !important; }
}

/* =====================================================
   RIFINITURE: profondità, notte stellata, dettagli
   ===================================================== */
::selection { background: var(--primary); color: var(--night); }

/* --- Hero: bagliore lunare e falce luminosa --- */
.hero {
    background:
        radial-gradient(55% 70% at 88% 15%, rgba(166, 202, 234, 0.5), transparent 70%),
        radial-gradient(40% 50% at 0% 100%, rgba(196, 164, 106, 0.16), transparent 70%),
        var(--pearl);
}

.hero-image-wrapper::after { display: none; }

.hero-image-wrapper::before {
    background: var(--primary);
    filter: drop-shadow(0 0 28px rgba(166, 202, 234, 0.7));
}

.hero-image { box-shadow: -16px 18px 0 0 rgba(166, 202, 234, 0.4), var(--shadow-hover); }

/* Targhetta flottante sulla foto */
.hero-badge {
    position: absolute;
    left: -14px; bottom: 44px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    box-shadow: var(--shadow-hover);
}

.hero-badge svg.ico { color: var(--gold); font-size: 1.4rem; }
.ico-farfalla { width: 1.8rem; height: auto; flex-shrink: 0; }
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.1; color: var(--night); }
.hero-badge span { font-size: 0.85rem; color: var(--text-muted); }

/* Pulsanti con un filo di profondità */
.btn-primary, .btn-cta-nav, .btn-card-promo { box-shadow: 0 8px 20px rgba(22, 39, 60, 0.14); }
.btn-primary:hover, .btn-cta-nav:hover, .btn-card-promo:hover { box-shadow: 0 10px 26px rgba(166, 202, 234, 0.55); }

/* --- Trattamenti --- */
.service-info h3::after { content: ""; display: block; width: 36px; height: 2px; background: var(--gold); margin: 12px auto 0; }
.service-box:hover .service-img-container { box-shadow: var(--shadow-hover); }
.service-img-container { transition: box-shadow 0.4s ease; }

/* --- Promozioni --- */
.price::first-letter { font-size: 0.45em; vertical-align: top; line-height: 1.7; margin-right: 3px; }

.promo-card.featured {
    box-shadow: 0 30px 70px rgba(22, 39, 60, 0.28);
    outline: 1px solid var(--gold);
    outline-offset: -9px;
}

/* --- Notte stellata (gallery + CTA) --- */
.gallery-section, .booking-cta {
    background-image:
        radial-gradient(1.6px 1.6px at 8% 18%, rgba(255, 255, 255, 0.75), transparent),
        radial-gradient(1.2px 1.2px at 21% 62%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 34% 12%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.2px 1.2px at 47% 80%, rgba(255, 255, 255, 0.45), transparent),
        radial-gradient(1.8px 1.8px at 58% 30%, rgba(166, 202, 234, 0.8), transparent),
        radial-gradient(1.2px 1.2px at 69% 70%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 81% 15%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.4px 1.4px at 90% 55%, rgba(196, 164, 106, 0.8), transparent),
        radial-gradient(1.2px 1.2px at 15% 90%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1.6px 1.6px at 95% 88%, rgba(255, 255, 255, 0.6), transparent);
}

.booking-cta::before { filter: drop-shadow(0 0 30px rgba(166, 202, 234, 0.6)); }

/* Gallery: bordi sfumati */
.marquee-container {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

/* --- Footer --- */
footer { background: linear-gradient(180deg, var(--night), #101D2E); }

/* --- Pulsante WhatsApp fisso --- */
.wa-float {
    position: fixed;
    right: 22px; bottom: 22px;
    z-index: 1100;
    width: 58px; height: 58px;
    display: grid;
    place-items: center;
    background: #25D366;
    color: #fff;
    font-size: 1.9rem;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
    transition: var(--ease);
}

.wa-float:hover { transform: scale(1.08); }

@media (max-width: 900px) {
    .hero-image-wrapper::before { box-shadow: inset -26px 10px 0 0 var(--primary); }
    .hero-badge { left: 10px; bottom: 24px; padding: 12px 18px; text-align: left; }
}

@media (max-width: 768px) {
    .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; font-size: 1.7rem; }
}


/* =====================================================
   NUOVO: SEZIONE MAPPA
   ===================================================== */
.map-section { padding: 100px 5%; background: var(--pearl); }

.map-layout {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.map-frame {
    position: relative;
    min-height: 440px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--primary);
    box-shadow: -14px 16px 0 0 rgba(166, 202, 234, 0.4), var(--shadow-hover);
}

.map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-card {
    background: var(--light);
    border: 1px solid rgba(47, 111, 163, 0.2);
    border-radius: 6px;
    padding: 40px 32px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-card h3 { font-size: 2rem; margin-bottom: 6px; }
.map-card h3::after { content: ""; display: block; width: 36px; height: 2px; background: var(--gold); margin: 12px 0 22px; }

.map-info { list-style: none; margin-bottom: 28px; }
.map-info li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; color: var(--text-muted); font-size: 0.98rem; line-height: 1.5; }
.map-info svg.ico { color: var(--gold); width: 18px; text-align: center; margin-top: 3px; flex-shrink: 0; }
.map-info a { color: inherit; text-decoration: none; }
.map-info a:hover { color: var(--primary-dark); }

.map-btn { display: inline-block; text-align: center; }
.map-btn svg.ico { margin-right: 8px; }


/* =====================================================
   NUOVO: RESPONSIVE COMPLETO
   Desktop > 1200 | Tablet <= 1024 | Mobile <= 900 / 600 / 380
   ===================================================== */

/* Nessuno scroll orizzontale indesiderato */
html, body { overflow-x: clip; }
img, iframe { max-width: 100%; }

/* Pulsante hamburger: nascosto su desktop */
.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(22, 39, 60, 0.25);
    border-radius: 50%;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 18px; height: 1.5px;
    background: var(--night);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar.open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar.open .nav-toggle span:nth-child(2) { opacity: 0; }
.navbar.open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- Schermi grandi: contenuto mai troppo largo --- */
@media (min-width: 1600px) {
    html { font-size: 17px; }
}

/* --- Laptop piccoli / tablet orizzontale --- */
@media (max-width: 1100px) {
    .nav-links { gap: 22px; }
    .nav-links a { font-size: 0.9rem; }
    .hero-container { gap: 40px; }
    .map-layout { gap: 28px; }
}

/* --- Tablet e sotto: menu a tendina --- */
@media (max-width: 900px) {
    .navbar {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 12px;
        padding: 10px 5%;
    }

    .logo { height: 44px; }
    .logo-link { order: 1; margin-right: auto; }
    .btn-cta-nav { order: 2; padding: 9px 22px; }
    .nav-toggle { order: 3; display: flex; }

    #main-nav {
        order: 4;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(240, 246, 251, 0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(47, 111, 163, 0.2);
        box-shadow: 0 18px 30px rgba(22, 39, 60, 0.12);
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height 0.4s ease, visibility 0s linear 0.4s;
    }

    .navbar.open #main-nav {
        max-height: 80vh;
        visibility: visible;
        transition: max-height 0.4s ease, visibility 0s;
    }

    .nav-links {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0;
        padding: 10px 5% 20px;
    }

    .nav-links li { border-bottom: 1px solid rgba(47, 111, 163, 0.12); }
    .nav-links li:last-child { border-bottom: 0; }

    .nav-links a {
        display: block;
        padding: 14px 4px;
        font-size: 1.05rem;
        text-align: left;
    }

    .nav-links a::after { display: none; }

    /* Sezioni più compatte */
    .services-section, .locandine-section, .promo-section, .map-section { padding: 80px 5%; }
    .gallery-section { padding: 80px 0; }
    .booking-cta { padding: 90px 5%; }
    .section-title { margin-bottom: 44px; }

    .hero { min-height: auto; padding: 50px 5% 70px; }
    .hero-image-wrapper { padding: 24px 0 0 0; max-width: 520px; margin: 0 auto; width: 100%; }
    .hero-image { box-shadow: -10px 12px 0 0 rgba(166, 202, 234, 0.4), var(--shadow-hover); }

    /* Mappa: sotto la cartina, scheda info */
    .map-layout { grid-template-columns: 1fr; }
    .map-frame { min-height: 360px; box-shadow: -10px 12px 0 0 rgba(166, 202, 234, 0.4), var(--shadow-hover); }
    .map-card { padding: 32px 28px; text-align: center; align-items: center; }
    .map-card h3::after { margin-inline: auto; }
    .map-info li { text-align: left; }
}

/* --- Telefoni --- */
@media (max-width: 600px) {
    p { font-size: 0.98rem; }

    .services-section, .locandine-section, .promo-section, .map-section { padding: 64px 5%; }
    .gallery-section { padding: 64px 0; }
    .booking-cta { padding: 72px 6%; }
    .section-title { margin-bottom: 36px; }

    .hero { padding: 36px 6% 56px; }
    .hero h1 { font-size: clamp(3rem, 14vw, 4rem); margin-bottom: 18px; }
    .hero p { font-size: 1rem; margin-bottom: 28px; }
    .subtitle { font-size: 1.2rem; }

    .hero-buttons { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-secondary { text-align: center; padding: 15px 24px; }

    .hero-image { height: 340px; border-radius: 200px 200px 8px 8px; }
    .hero-image-wrapper::before { width: 150px; height: 150px; box-shadow: inset -20px 8px 0 0 var(--primary); }
    .hero-badge { left: 8px; right: 8px; bottom: 16px; padding: 10px 14px; gap: 10px; }
    .hero-badge strong { font-size: 1.1rem; }
    .hero-badge span { font-size: 0.8rem; }

    .service-img-container { height: 300px; border-radius: 160px 160px 6px 6px; }
    .services-grid { gap: 36px; }

    /* Locandine e promo a tutta larghezza (max 360px) */
    .locandina-card { width: 100%; max-width: 360px; }
    .promo-card { width: 100%; max-width: 360px; padding: 48px 26px 34px; }
    .promo-card.featured { padding-top: 58px; }
    .price { font-size: 3rem; }

    .marquee-track img { height: 200px; margin: 0 8px; border-radius: 100px 100px 6px 6px; }

    .booking-cta p { font-size: 1rem; margin-bottom: 30px; }
    .btn-whatsapp-cta { display: block; padding: 16px 24px; }
    .booking-cta::before { right: -40px; }

    .map-frame { min-height: 300px; }
    .map-card { padding: 28px 22px; }
    .map-btn { width: 100%; }

    /* Footer centrato e ordinato */
    footer { padding: 56px 6% 90px; }
    .footer-grid { gap: 36px; text-align: center; }
    .footer-col { flex-basis: 100%; }
    .logo-footer, .footer-about { margin-inline: auto; }
    .social-links { justify-content: center; }
    .contact-list li { display: flex; justify-content: center; align-items: flex-start; text-align: left; }
    .contact-list { display: inline-block; text-align: left; }
}

/* --- Telefoni molto piccoli --- */
@media (max-width: 380px) {
    .btn-cta-nav { padding: 8px 16px; font-size: 0.85rem; }
    .logo { height: 38px; }
    .hero-image { height: 300px; }
    .hero-badge svg.ico { display: none; }
}

/* --- Telefoni in orizzontale (poca altezza) --- */
@media (max-height: 480px) and (orientation: landscape) {
    .hero { padding: 30px 5% 40px; }
    .navbar.open #main-nav { overflow-y: auto; }
}

/* --- Touch: niente effetti hover "appiccicati" --- */
@media (hover: none) {
    .locandina-card:hover,
    .promo-card:hover,
    .btn-primary:hover,
    .btn-whatsapp-cta:hover,
    .wa-float:hover { transform: none; }
    .service-box:hover .service-img-container img { transform: none; }
}

/* --- Notch / barra gesti iPhone --- */
@supports (padding: max(0px)) {
    .wa-float {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
    }
}


/* =====================================================
   NUOVO: COOKIE BANNER E PREFERENZE
   ===================================================== */
[hidden] { display: none !important; }

.ck-btn {
    font: 500 0.92rem/1 var(--sans);
    padding: 13px 24px;
    border-radius: 50px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
}

/* Accetta e Rifiuta hanno lo stesso peso visivo */
.ck-main { background: var(--primary); color: var(--night); }
.ck-main:hover { background: var(--light); }
.ck-outline { background: transparent; color: inherit; border-color: currentColor; }
.ck-outline:hover { background: rgba(255, 255, 255, 0.12); }
.ck-light { background: var(--light); color: var(--night); }
.ck-light:hover { background: var(--primary); }

.ck-link {
    background: none; border: 0; padding: 0;
    font: inherit; color: inherit;
    text-decoration: underline; text-underline-offset: 3px;
    cursor: pointer;
}
.ck-link:hover { color: var(--primary); }
.ck-link-light { color: rgba(255, 255, 255, 0.8); font-size: 0.85rem; }

.cookie-banner {
    position: fixed;
    left: 50%; bottom: 20px;
    transform: translateX(-50%);
    width: min(980px, calc(100% - 32px));
    z-index: 1300;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 22px 28px;
    background: var(--night);
    color: var(--light);
    border: 1px solid rgba(196, 164, 106, 0.55);
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(22, 39, 60, 0.45);
}

@media (prefers-reduced-motion: no-preference) {
    .cookie-banner:not([hidden]) { animation: ck-up 0.5s ease-out both; }
    @keyframes ck-up {
        from { opacity: 0; transform: translate(-50%, 24px); }
        to { opacity: 1; transform: translate(-50%, 0); }
    }
}

.cookie-text { flex: 1; min-width: 0; }
.cookie-text h2 { font-size: 1.5rem; color: var(--light); margin-bottom: 6px; }
.cookie-text h2 svg.ico { color: var(--gold); margin-right: 8px; font-size: 1.1rem; }
.cookie-text h2 .ico-farfalla { width: 1.5rem; margin-right: 8px; vertical-align: -3px; }
.cookie-text p { font-size: 0.92rem; line-height: 1.6; color: rgba(255, 255, 255, 0.8); max-width: none; }
.cookie-text a { color: var(--primary); }

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .ck-btn.ck-outline { color: var(--light); }

/* Finestra preferenze */
.cookie-modal {
    position: fixed; inset: 0;
    z-index: 1400;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(22, 39, 60, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cookie-panel {
    width: min(560px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    background: var(--pearl);
    border-radius: 16px;
    padding: 34px 32px 28px;
    box-shadow: 0 30px 80px rgba(22, 39, 60, 0.4);
}

.cookie-panel h2 { font-size: 2rem; margin-bottom: 8px; }
.cm-intro { font-size: 0.95rem; margin-bottom: 18px; }

.ck-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid rgba(47, 111, 163, 0.2);
}

.ck-desc strong { display: block; font-weight: 500; color: var(--night); }
.ck-desc span { display: block; font-size: 0.88rem; line-height: 1.5; color: var(--text-muted); }

/* Interruttore */
.ck-switch { position: relative; width: 50px; height: 28px; flex-shrink: 0; }
.ck-switch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.ck-slider { position: absolute; inset: 0; background: #b5c9db; border-radius: 50px; transition: var(--ease); }
.ck-slider::before {
    content: ""; position: absolute;
    left: 3px; top: 3px;
    width: 22px; height: 22px;
    background: #fff; border-radius: 50%;
    transition: var(--ease);
    box-shadow: 0 2px 6px rgba(22, 39, 60, 0.25);
}
.ck-switch input:checked + .ck-slider { background: var(--primary-dark); }
.ck-switch input:checked + .ck-slider::before { transform: translateX(22px); }
.ck-switch input:disabled { cursor: not-allowed; }
.ck-switch input:disabled + .ck-slider { opacity: 0.6; }
.ck-switch input:focus-visible + .ck-slider { outline: 2px solid var(--gold); outline-offset: 3px; }

.cm-actions {
    display: flex; gap: 10px; flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(47, 111, 163, 0.2);
}
.cookie-panel .ck-main { background: var(--night); color: var(--light); }
.cookie-panel .ck-main:hover { background: var(--primary-dark); }
.cookie-panel .ck-outline { color: var(--night); }
.cookie-panel .ck-outline:hover { background: rgba(22, 39, 60, 0.06); }

/* Mappa bloccata finché non c'è il consenso */
.map-consent {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
    background: linear-gradient(160deg, var(--night), var(--night-2));
    color: var(--light);
}
.map-consent svg.ico { font-size: 2rem; color: var(--gold); }
.map-consent p { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; line-height: 1.5; margin: 0 auto 6px; }

/* Link legali nel footer */
.footer-legal { margin: 10px auto 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--primary); }
.footer-legal span { margin: 0 8px; }

@media (max-width: 900px) {
    .cookie-banner { flex-direction: column; align-items: stretch; gap: 18px; padding: 20px 22px; }
    .cookie-actions { justify-content: stretch; }
    .cookie-actions .ck-btn { flex: 1; padding: 13px 10px; }
}

@media (max-width: 600px) {
    .cookie-banner { bottom: max(10px, env(safe-area-inset-bottom)); width: calc(100% - 20px); }
    .cookie-text h2 { font-size: 1.3rem; }
    .cookie-text p { font-size: 0.86rem; }
    .cookie-actions { flex-wrap: wrap; }
    .cookie-actions .ck-btn { flex: 1 1 calc(50% - 5px); }
    .cookie-actions .ck-outline { order: 3; flex-basis: 100%; }
    .cookie-panel { padding: 26px 20px 22px; }
    .cm-actions .ck-btn { flex: 1 1 100%; }
    .cm-actions .ck-outline { order: 3; }
}
/* =====================================================
   STILI CARD CLICCABILI E PAGINA DETTAGLIO TRATTAMENTO
   ===================================================== */

/* Card cliccabili nella Home */
.service-box-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.35s ease;
}

.service-box-link:hover {
    transform: translateY(-6px);
}

.service-more {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--primary-dark);
    transition: var(--ease);
}

.service-more svg.ico {
    font-size: 0.8rem;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.service-box-link:hover .service-more {
    color: var(--gold);
}

.service-box-link:hover .service-more svg.ico {
    transform: translateX(5px);
}

/* Pulsante Torna alla Home / Breadcrumbs */
.breadcrumb-nav {
    padding: 24px 5% 0;
    max-width: 1100px;
    margin: 0 auto;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--ease);
}

.btn-back-home svg.ico {
    font-size: 0.85rem;
}

.btn-back-home:hover {
    color: var(--primary-dark);
    transform: translateX(-4px);
}

/* Sezione Dettaglio Trattamento */
.treatment-detail-section {
    padding: 40px 5% 100px;
}

.treatment-detail-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.treatment-detail-img-wrapper {
    position: relative;
}

.treatment-detail-img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: 280px 280px 8px 8px;
    box-shadow: -14px 16px 0 0 rgba(166, 202, 234, 0.4), var(--shadow-hover);
}

.treatment-detail-content {
    display: flex;
    flex-direction: column;
}

.treatment-detail-content .subtitle {
    margin-bottom: 8px;
}

.treatment-detail-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 20px;
}

.treatment-detail-intro {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.8;
}

/* Griglia Benefici e Specifiche */
.treatment-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0 32px;
}

.spec-box {
    background: var(--light);
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid rgba(47, 111, 163, 0.15);
    box-shadow: var(--shadow-soft);
}

.spec-box svg.ico {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 6px;
    display: block;
}

.spec-box strong {
    display: block;
    color: var(--night);
    font-size: 0.95rem;
    font-weight: 600;
}

.spec-box span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Lista Passaggi / Benefici */
.treatment-benefits-list {
    list-style: none;
    margin-bottom: 36px;
}

.treatment-benefits-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.treatment-benefits-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 6px;
    height: 11px;
    border: solid var(--primary-dark);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.treatment-price-tag {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 30px;
}

.treatment-price-tag .amount {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 500;
    color: var(--night);
    line-height: 1;
}

.treatment-price-tag .note {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.treatment-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Responsive Dettaglio */
@media (max-width: 900px) {
    .treatment-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .treatment-detail-img {
        height: 380px;
    }
}

@media (max-width: 600px) {
    .treatment-specs {
        grid-template-columns: 1fr;
    }
    .treatment-actions {
        flex-direction: column;
    }
    .treatment-actions .btn-primary,
    .treatment-actions .btn-secondary {
        text-align: center;
        width: 100%;
    }
}
/* ===== Illustrazioni in CSS (al posto delle foto stock) ===== */
.hero-art {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 24% 20%, rgba(255,255,255,0.9) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 70% 14%, rgba(255,255,255,0.7) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 82% 38%, rgba(196,164,106,0.9) 0 2px, transparent 3px),
        radial-gradient(circle at 16% 58%, rgba(255,255,255,0.6) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 60% 76%, rgba(255,255,255,0.7) 0 1.5px, transparent 2.5px),
        linear-gradient(165deg, var(--night) 0%, var(--night-2) 55%, #2D4F78 100%);
}
.hero-art img { width: clamp(150px, 26vw, 230px); height: auto; filter: drop-shadow(0 0 26px rgba(120, 190, 240, 0.55)); }

.service-art { display: grid; place-items: center; }
.service-art svg.ico { font-size: 4.2rem; color: var(--night); transition: transform 0.7s ease; }
.service-box:hover .service-art svg.ico { transform: scale(1.12); }
.service-art-nails { background: linear-gradient(160deg, var(--primary), #D4E7F7); }
.service-art-viso { background: linear-gradient(160deg, #D4E7F7, var(--pearl)); }
.service-art-massaggi { background: linear-gradient(160deg, #CBE0F2, var(--primary)); }

/* ===== Note e dati legali ===== */
.promo-note { margin: 34px auto 0; text-align: center; font-size: 0.9rem; }
.footer-company { margin-top: 8px !important; }
.todo { background: #FFF2A8; color: #2A3747; padding: 0 4px; border-radius: 3px; }

/* ===== Pagina privacy ===== */
.legal-page { max-width: 780px; margin: 0 auto; padding: 70px 5% 100px; }
.legal-page h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 8px; }
.legal-page .updated { font-size: 0.9rem; margin-bottom: 36px; }
.legal-page h2 { font-size: 1.7rem; margin: 40px 0 12px; scroll-margin-top: 90px; }
.legal-page p, .legal-page li { max-width: none; line-height: 1.75; }
.legal-page p { margin-bottom: 14px; }
.legal-page ul { margin: 0 0 14px 1.2rem; color: var(--text-muted); }
.legal-page li { margin-bottom: 8px; }
.legal-page a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-page a:hover { color: var(--night); }


/* ===== Pagine trattamento: illustrazione al posto della foto ===== */
.treatment-art {
    width: 100%;
    height: 540px;
    display: grid;
    place-items: center;
    border-radius: 280px 280px 8px 8px;
    box-shadow: -14px 16px 0 0 rgba(166, 202, 234, 0.4), var(--shadow-hover);
}
.treatment-art svg.ico { font-size: clamp(5rem, 14vw, 8rem); color: var(--night); }
.treatment-art-nails { background: linear-gradient(160deg, var(--primary), #D4E7F7); }
.treatment-art-viso { background: linear-gradient(160deg, #D4E7F7, var(--pearl)); }
.treatment-art-massaggi { background: linear-gradient(160deg, #CBE0F2, var(--primary)); }
@media (max-width: 900px) { .treatment-art { height: 380px; } }

.treatment-disclaimer { font-size: 0.85rem; margin-top: 26px; max-width: none; }
.locandine-note { margin: 10px auto 0; text-align: center; font-size: 0.9rem; max-width: 640px; padding-inline: 5%; }

/* ===== Pagina 404 ===== */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 5%; }
.notfound-ico { width: 96px; height: auto; margin-bottom: 18px; }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: 12px; }
.notfound p { margin: 0 auto 28px; }

/* Galleria: con "riduci animazioni" le foto si scorrono a mano */
@media (prefers-reduced-motion: reduce) {
    .marquee-container { overflow-x: auto; }
}

/* ===== Sezione video: trattamenti corpo ===== */
.video-section { padding: var(--section-y, 90px) 5%; background: var(--pearl); }
.video-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; }
.video-frame {
    position: relative;
    width: min(340px, 80vw);
    aspect-ratio: 9 / 16;
    border-radius: 170px 170px 10px 10px;
    overflow: hidden;
    background: var(--night);
    box-shadow: -14px 16px 0 0 rgba(166, 202, 234, 0.4), var(--shadow-hover);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-text { display: flex; flex-direction: column; align-items: flex-start; }
.video-text h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 18px; }
.video-text p { margin-bottom: 14px; }
.video-text .btn-primary { margin-top: 10px; }
@media (max-width: 900px) {
    .video-grid { grid-template-columns: 1fr; gap: 44px; justify-items: center; text-align: center; }
    .video-text { align-items: center; }
}

.video-toggle {
    position: absolute; right: 14px; bottom: 14px;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(22, 39, 60, 0.65); color: #fff;
    display: grid; place-items: center; cursor: pointer; font-size: 0.95rem;
}
.video-toggle:hover { background: rgba(22, 39, 60, 0.85); }
.video-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.price-from { font-family: var(--sans); font-size: 1rem; font-weight: 500; letter-spacing: 0.02em; opacity: 0.8; }

/* Locandine: 2 per riga su schermi larghi (4 locandine, testi leggibili) */
.locandine-grid { max-width: 900px; }
.locandina-card { width: calc(50% - 17px); }
@media (max-width: 900px) { .locandina-card { width: 100%; max-width: 380px; } }

/* Icone proprie (disegnate per il sito, incluse in ogni pagina) */
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.14em; flex-shrink: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
