/*
Theme Name: Marinelli Vacanze
Theme URI: https://ilmarinelli.it
Author: Liberi Creativi
Author URI: https://libericreativi.it
Description: Tema custom luxury per Marinelli Vacanze - Salento. Ville esclusive, lido premium, esperienze autentiche.
Version: 2.16.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marinelli
*/

:root {
    --navy: #0a1f3d;
    --gold: #c7842e;
    --sand: #f5f1e8;
    --white: #ffffff;
    --black: #0d0d0d;
    --gray: #9a9a9a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--black);
    overflow-x: hidden;
    background: var(--white);
    line-height: 1.5;
}

h1, h2, h3, h4, h5 {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }

/* Tutti i pulsanti in Baskerville (Figma) */
button,
.btn-primary,
.btn-secondary,
.btn-prenota,
.property-card-cta,
.cta-btn,
.prop-cta-pill,
.cookie-btn,
.newsletter-form button[type="submit"],
.nav-links li.cta-item > a {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
}

/* Custom cursor rimosso — non presente nel design Figma */
.cursor, .cursor-follower { display: none !important; }

/* NAVIGATION */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.4rem 5%;
    background: #394635;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    transition: padding 0.3s ease;
}
.site-nav.scrolled {
    padding: 0.9rem 5%;
}
.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.logo img {
    height: 76px;
    width: auto;
    transition: height 0.3s ease;
}
.site-nav.scrolled .logo img { height: 60px; }

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
}
.nav-links > li { position: relative; }
.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}
.site-nav.scrolled .nav-links a { color: var(--white); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* WP Menu dropdown integration */
.nav-links li.menu-item-has-children > a::before {
    content: '+';
    margin-left: 4px;
    color: var(--gold);
    font-weight: 300;
}
.nav-links ul.sub-menu {
    position: absolute;
    top: 100%;
    left: -50%;
    background: white;
    min-width: 280px;
    padding: 2rem;
    list-style: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-top: 1.5rem;
}
.nav-links li.menu-item-has-children:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-links ul.sub-menu a {
    display: block;
    padding: 0.8rem 0;
    color: var(--navy) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0.02em;
}
.nav-links ul.sub-menu li:last-child a { border-bottom: none; }
.nav-links ul.sub-menu a:hover { color: var(--gold) !important; padding-left: 10px; }
.nav-links ul.sub-menu a::after { display: none; }

.cta-btn,
.nav-links li.cta-item > a {
    background: var(--gold);
    color: var(--white) !important;
    padding: 0.85rem 2.2rem;
    font-weight: 500;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
}
.cta-btn::after,
.nav-links li.cta-item > a::after { display: none; }
.cta-btn:hover,
.nav-links li.cta-item > a:hover {
    background: #a36b21;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(199, 132, 46, 0.35);
}

/* MOBILE NAV TOGGLE */
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: var(--gold);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.5rem;
}
.site-nav.scrolled .nav-toggle { color: var(--gold); }
/* Sul Lido l'hamburger resta bianco per coerenza col logo bianco */
.page-template-page-lido .nav-toggle { color: #fff; }

/* HERO */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10, 31, 61, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
}
.hero-content {
    position: absolute;
    top: 50%; left: 10%;
    transform: translateY(-50%);
    color: var(--white);
    max-width: 800px;
    z-index: 10;
}
.hero-label {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.hero h1 {
    font-size: 7rem;
    line-height: 0.95;
    margin-bottom: 3rem;
    font-weight: 400;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease 0.8s forwards;
}
.hero-description {
    font-size: 1.3rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease 1.1s forwards;
}
.hero-cta {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease 1.4s forwards;
}
.hero-cta::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--gold);
    transition: left 0.4s ease;
    z-index: -1;
}
.hero-cta:hover::before { left: 0; }
.hero-cta:hover {
    border-color: var(--gold);
    color: var(--navy);
}

.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    writing-mode: vertical-rl;
    opacity: 0;
    animation: fadeIn 1s ease 2s forwards, float 3s ease infinite;
}
@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-20px); }
}
@keyframes fadeIn { to { opacity: 1; } }
.scroll-down::after {
    content: '';
    display: block;
    width: 1px; height: 60px;
    background: var(--gold);
    margin: 20px auto 0;
}

/* STATS */
.stats {
    background: var(--navy);
    padding: 4rem 5%;
    color: var(--white);
}
.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    text-align: center;
}
.stat h3 {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 300;
}
.stat p {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

/* INTRO + REVIEWS */
.intro {
    padding: 10rem 5%;
    background: var(--sand);
    position: relative;
}
.intro-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.intro-text h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: var(--navy);
}
.intro-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 3rem;
}
.reviews {
    background: white;
    padding: 3rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}
.review-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.google-logo { width: 80px; }
.review-score {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.stars { color: #fbbc04; font-size: 1.5rem; letter-spacing: 0.1em; }
.score-text h4 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 0.2rem;
}
.score-text p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}
.review-item {
    border-top: 1px solid #eee;
    padding: 1.5rem 0;
}
.review-author {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray);
    font-style: italic;
}

/* VILLAS PARALLAX */
.villas { padding: 0; background: var(--black); }
.villa-item {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.villa-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 120%;
    object-fit: cover;
    filter: brightness(0.5);
}
.villa-content {
    position: relative;
    z-index: 10;
    padding: 0 10%;
    color: var(--white);
    max-width: 600px;
}
.villa-content.right { margin-left: auto; }
.villa-number {
    font-size: 8rem;
    color: var(--gold);
    opacity: 0.3;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 1rem;
}
.villa-name {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}
.villa-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 300;
}
.villa-link {
    display: inline-block;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 5px;
    transition: all 0.3s ease;
}
.villa-link:hover {
    letter-spacing: 0.25em;
    padding-bottom: 10px;
}

/* LIDO SPLIT */
.lido-split {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.lido-image {
    background: center/cover no-repeat;
    position: relative;
    min-height: 50vh;
}
.lido-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(45deg, var(--navy) 0%, transparent 100%);
    opacity: 0.3;
}
.lido-content {
    background: var(--navy);
    display: flex;
    align-items: center;
    padding: 4rem 10%;
    color: var(--white);
}
.lido-text h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: var(--gold);
}
.lido-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* FINAL CTA */
.final-cta {
    padding: 12rem 5%;
    background: var(--sand);
    text-align: center;
}
.final-cta h2 {
    font-size: 5rem;
    margin-bottom: 3rem;
    color: var(--navy);
    line-height: 1.2;
}
.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1.5rem 4rem;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.btn-primary { background: var(--gold); color: var(--white); border: 2px solid var(--gold); cursor: pointer; }
.btn-primary:hover {
    background: #394635;
    border-color: #394635;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(57, 70, 53, 0.2);
}
.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

/* FOOTER (Figma redesign) */
.site-footer {
    background: #394635;
    color: #fff;
    padding: 5rem 5% 0;
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
}
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5rem;
    align-items: start;
    padding-bottom: 4rem;
}
.footer-brand {
    display: inline-block;
    line-height: 0;
}
.footer-brand img {
    height: 110px;
    width: auto;
}
.footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 3rem;
}
.footer-col h4 {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-col li {
    margin-bottom: 0.5rem;
}
.footer-col a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.footer-col a:hover {
    color: var(--gold);
}

/* Newsletter */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    max-width: 420px;
}
.newsletter-form input[type="email"] {
    padding: 0.85rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.35);
    background: transparent;
    color: #fff;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.9rem;
    width: 100%;
}
.newsletter-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.55);
}
.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--gold);
}
.newsletter-form button[type="submit"] {
    align-self: flex-start;
    background: var(--gold);
    color: #fff;
    border: 0;
    padding: 0.75rem 2.2rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.newsletter-form button[type="submit"]:hover {
    background: #a36b21;
    transform: translateY(-1px);
}
.newsletter-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.newsletter-note {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    margin: 0;
}
.newsletter-note a {
    color: var(--gold);
    text-decoration: underline;
}
.newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    line-height: 1.4;
}
.newsletter-consent input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--gold);
}
.newsletter-msg {
    font-size: 0.85rem;
    margin: 0;
    padding: 0.6rem 0.9rem;
    border-radius: 6px;
}
.newsletter-msg.success {
    background: rgba(76,166,76,0.18);
    color: #c9ebc4;
}
.newsletter-msg.error {
    background: rgba(192,57,43,0.18);
    color: #ffb3ad;
}

/* Bottom bar (dorata) */
.footer-bottom {
    background: var(--gold);
    margin: 0 -5%;
    padding: 0.7rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    font-size: 0.72rem;
    color: #fff;
    letter-spacing: 0.02em;
}
.footer-bottom p { margin: 0; }
.footer-bottom a {
    color: #fff;
    text-decoration: none;
}
.footer-bottom a:hover { text-decoration: underline; }
.footer-bottom-links {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-bottom: 3rem;
    }
    .footer-brand img { height: 80px; }
    .footer-cols { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
}

/* LIDO PAGE specific */
.hero-lido {
    position: relative;
    height: 80vh;
    color: white;
    overflow: hidden;
}
.hero-lido .hero-lido-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-lido .home-hero-poster,
.hero-lido .home-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-lido::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
    pointer-events: none;
}
.hero-lido .home-hero-play {
    z-index: 3;
}
.hero-lido-caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    pointer-events: none;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-lido-caption h1 { font-size: clamp(2.5rem, 6vw, 6rem); margin: 0 0 2rem; color: white; }
.hero-lido-caption p { font-size: clamp(1rem, 1.5vw, 1.5rem); max-width: 700px; font-weight: 300; margin: 0; }

.servizi { padding: 8rem 5%; background: var(--sand); }
.servizi h2,
.pacchetti h2,
.gallery-section h2 {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 6rem;
    color: var(--navy);
}
.servizi-grid,
.pacchetti-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}
.servizio { text-align: center; }
.servizio-icon {
    width: 80px; height: 80px;
    background: var(--gold);
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.servizio-icon svg { width: 38px; height: 38px; }
.servizio h3 { font-size: 1.8rem; margin-bottom: 1rem; color: var(--navy); }
.servizio p { line-height: 1.8; color: #666; }

.pacchetti { padding: 8rem 5%; background: white; }
.pacchetto {
    border: 2px solid #eee;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s ease;
    background: #fff;
}
.pacchetto:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.pacchetto h3 { font-size: 2rem; margin-bottom: 1.5rem; color: var(--navy); }
.pacchetto-prezzo {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 2rem;
    font-weight: 600;
}
.pacchetto ul { list-style: none; margin-bottom: 2rem; }
.pacchetto li {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}
.btn-prenota {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gold);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}
.btn-prenota:hover { background: var(--navy); }

.gallery-section { padding: 8rem 5%; background: var(--sand); }
.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.gallery-item { overflow: hidden; }
.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.1); }

/* GENERIC PAGE */
.page-default {
    padding: 12rem 5% 6rem;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 60vh;
}
.page-default h1 {
    font-size: 4rem;
    color: var(--navy);
    margin-bottom: 2rem;
}
.page-default .entry-content { font-size: 1.1rem; line-height: 1.9; color: #333; }
.page-default .entry-content p { margin-bottom: 1.5rem; }
.page-default .entry-content h2,
.page-default .entry-content h3 { color: var(--navy); margin: 2rem 0 1rem; }
.page-default .entry-content a { color: var(--gold); }

/* PROPERTY (VILLA) PAGES */
.property-hero {
	min-height: 75vh;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	display: flex;
	align-items: center;
	color: #fff;
	padding: 8rem 5% 4rem;
}
.property-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(10,31,61,0.7) 0%, rgba(0,0,0,0.3) 100%);
}
.property-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 800px;
}
.property-eyebrow {
	font-size: 0.85rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 1.5rem;
	font-weight: 400;
}
.property-hero h1 {
	font-size: 5.5rem;
	line-height: 0.95;
	margin-bottom: 2rem;
	font-weight: 400;
}
.property-tagline {
	font-size: 1.3rem;
	line-height: 1.7;
	font-weight: 300;
	margin-bottom: 3rem;
	max-width: 600px;
}

.property-intro {
	padding: 8rem 5%;
	background: var(--sand);
}
.property-intro-grid {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 5rem;
	align-items: start;
}
.property-intro h2 {
	font-size: 3.5rem;
	color: var(--navy);
	margin-bottom: 1rem;
	line-height: 1.05;
}
.property-intro-text p {
	font-size: 1.15rem;
	line-height: 1.9;
	color: #555;
	margin-bottom: 1.5rem;
}

.property-features {
	padding: 8rem 5%;
	background: #fff;
}
.property-features h2 {
	text-align: center;
	font-size: 3.5rem;
	color: var(--navy);
	margin-bottom: 5rem;
}
.features-grid {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem 3rem;
}
.feature {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 0;
	border-bottom: 1px solid #eee;
}
.feature-icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--sand);
	color: var(--gold);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.feature-icon svg { width: 18px; height: 18px; }
.feature span { font-size: 1rem; color: #333; }

.property-units {
	padding: 8rem 5%;
	background: var(--sand);
}
.property-units h2 {
	text-align: center;
	font-size: 3.5rem;
	color: var(--navy);
	margin-bottom: 5rem;
}
.units-grid {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}
.unit {
	background: #fff;
	padding: 2rem;
	border: 1px solid #eee;
	transition: all 0.3s ease;
}
.unit:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 50px rgba(10,31,61,0.08);
	border-color: var(--gold);
}
.unit h3 {
	font-size: 1.6rem;
	color: var(--navy);
	margin-bottom: 1.2rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--gold);
	display: inline-block;
}
.unit-meta {
	list-style: none;
	margin-bottom: 1.5rem;
}
.unit-meta li {
	padding: 0.4rem 0;
	color: #555;
	font-size: 0.95rem;
}
.unit-meta li strong { color: var(--navy); }
.unit-cta {
	color: var(--gold);
	text-decoration: none;
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.property-perks {
	padding: 8rem 5%;
	background: var(--navy);
	color: #fff;
}
.perks-inner {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}
.property-perks h2 {
	font-size: 3rem;
	color: var(--gold);
	margin-bottom: 1rem;
}
.perks-sub {
	color: rgba(255,255,255,0.7);
	font-size: 1.1rem;
	margin-bottom: 3rem;
}
.perks-list {
	list-style: none;
	text-align: left;
	max-width: 600px;
	margin: 0 auto;
}
.perks-list li {
	padding: 1.2rem 0 1.2rem 2rem;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	position: relative;
	font-size: 1.05rem;
	line-height: 1.5;
}
.perks-list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--gold);
	font-weight: 700;
}

.property-location {
	padding: 8rem 5%;
	background: #fff;
}
.location-grid {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}
.property-location h2 {
	font-size: 3rem;
	color: var(--navy);
	margin-bottom: 2rem;
}
.property-location p {
	font-size: 1.1rem;
	line-height: 1.9;
	color: #555;
	margin-bottom: 1.5rem;
}
.property-location address {
	font-style: normal;
	color: var(--navy);
	font-weight: 500;
	line-height: 1.7;
}

/* HUB (VILLE) */
.hub-hero {
	min-height: 60vh;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: center;
	color: #fff;
	padding: 8rem 5%;
}
.hub-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(10,31,61,0.75) 0%, rgba(0,0,0,0.4) 100%);
}
.hub-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 800px;
}
.hub-hero h1 {
	font-size: 5rem;
	line-height: 1;
	margin-bottom: 1.5rem;
}
.hub-sub {
	font-size: 1.25rem;
	line-height: 1.7;
	font-weight: 300;
	max-width: 600px;
}

.villas-hub {
	background: var(--sand);
	padding: 6rem 0;
}
.villa-card {
	max-width: 1400px;
	margin: 0 auto 4rem;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(10,31,61,0.08);
}
.villa-card.reverse { grid-template-columns: 1fr 1.2fr; direction: rtl; }
.villa-card.reverse > * { direction: ltr; }
.villa-card-image {
	background-size: cover;
	background-position: center;
	min-height: 420px;
}
.villa-card-body {
	padding: 4rem 3rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.villa-card-number {
	font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
	font-size: 4rem;
	color: var(--gold);
	opacity: 0.3;
	line-height: 1;
	margin-bottom: 0.5rem;
}
.villa-card h2 {
	font-size: 2.8rem;
	color: var(--navy);
	margin-bottom: 1rem;
}
.villa-card p {
	font-size: 1.1rem;
	color: #555;
	margin-bottom: 2rem;
	line-height: 1.7;
}

/* CONTACT PAGE */
.contact-hero {
	padding: 12rem 5% 4rem;
	background: var(--sand);
}
.contact-hero-inner { max-width: 900px; margin: 0 auto; }
.contact-hero h1 {
	font-size: 5rem;
	line-height: 1.05;
	color: var(--navy);
	margin-bottom: 1.5rem;
}
.contact-sub {
	font-size: 1.25rem;
	color: #555;
	line-height: 1.7;
	max-width: 600px;
}

.contact-grid-section { padding: 6rem 5%; background: #fff; }
.contact-grid {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 4rem;
}
.contact-form-wrap h2 { font-size: 2.5rem; color: var(--navy); margin-bottom: 2rem; }
.contact-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}
.contact-form label {
	display: block;
	font-size: 0.85rem;
	color: var(--navy);
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 1rem;
	border: 1px solid #ddd;
	font-family: inherit;
	font-size: 1rem;
	margin-top: 0.4rem;
	margin-bottom: 0;
	background: #fafafa;
	transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--gold);
	background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button[type="submit"] {
	border: 0;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.9rem;
	margin-top: 1.5rem;
}
.form-privacy { margin-top: 1rem; font-size: 0.85rem; color: #777; }
.form-privacy a { color: var(--gold); }
.form-notice {
	padding: 1rem 1.5rem;
	margin-bottom: 2rem;
	border-left: 4px solid;
}
.form-notice.success { background: #f0f8e8; border-color: #4ca64c; color: #2d6a2d; }
.form-notice.error   { background: #fdebec; border-color: #c0392b; color: #8b1e16; }

.contact-info {
	background: #394635;
	color: #fff;
	padding: 3rem 2rem;
	height: fit-content;
}
.contact-info h3 { color: var(--gold); font-size: 1.5rem; margin-bottom: 1rem; }
.contact-info address {
	font-style: normal;
	line-height: 1.7;
	color: rgba(255,255,255,0.85);
	margin-bottom: 2rem;
}
.contact-item { margin-bottom: 1.5rem; }
.contact-label {
	font-size: 0.75rem;
	color: var(--gold);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 0.4rem;
}
.contact-info a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid rgba(255,255,255,0.2);
	padding-bottom: 2px;
}
.contact-info a:hover { color: var(--gold); border-color: var(--gold); }
.contact-map { line-height: 0; }

/* EXPERIENCES */
.experiences { padding: 8rem 5%; background: #fff; }
.experiences-grid {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
}
.experience-card {
	background: #fff;
	border: 1px solid #eee;
	transition: all 0.3s ease;
}
.experience-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 25px 60px rgba(10,31,61,0.1);
}
.experience-image {
	height: 240px;
	background-size: cover;
	background-position: center;
}
.experience-body { padding: 2rem; }
.experience-body h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 1rem; }
.experience-body p { color: #555; line-height: 1.7; margin-bottom: 1.5rem; }

/* COOKIE BANNER */
.cookie-banner {
	position: fixed;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	max-width: 760px;
	margin: 0 auto;
	background: #fff;
	box-shadow: 0 20px 60px rgba(10,31,61,0.25);
	z-index: 99999;
	padding: 1.5rem;
	border-top: 3px solid var(--gold);
}
.cookie-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1.5rem;
	align-items: center;
}
.cookie-text strong {
	display: block;
	color: var(--navy);
	margin-bottom: 0.4rem;
	font-size: 1rem;
}
.cookie-text p {
	font-size: 0.85rem;
	color: #555;
	line-height: 1.5;
	margin: 0;
}
.cookie-text a { color: var(--gold); }
.cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cookie-btn {
	border: 0;
	padding: 0.75rem 1.5rem;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	transition: all 0.2s ease;
}
.cookie-reject {
	background: transparent;
	color: var(--navy);
	border: 1px solid #ddd;
}
.cookie-reject:hover { border-color: var(--navy); }
.cookie-accept {
	background: var(--gold);
	color: #fff;
}
.cookie-accept:hover { background: var(--navy); }
body.cookie-banner-visible { padding-bottom: 80px; }

/* ===== HOMEPAGE (Figma redesign) ===== */

/* Hero (poster + play) - full screen */
.home-hero {
    padding: 0;
    background: #000;
    margin: 0;
}
.home-hero-media {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    max-width: none;
    margin: 0;
    overflow: hidden;
}
.home-hero-poster,
.home-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-hero-video { background: #000; }
.home-hero-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 72px; height: 72px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.85);
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-hero-play svg { width: 22px; height: 22px; margin-left: 4px; }
.home-hero-play:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--gold);
    color: var(--gold);
}

/* Intro row (Soggiorni: testo a sx, 2 card a dx) */
.intro-row {
    padding: 5rem 5% 5rem;
    background: #fff;
}
.intro-row-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.intro-row-text {
    max-width: 620px;
}
.intro-row-text h2 {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.7rem;
    color: var(--navy);
    margin-bottom: 1.2rem;
    letter-spacing: 0.06em;
    font-weight: 500;
    text-transform: uppercase;
}
.intro-row-text p {
    font-size: 1rem;
    line-height: 1.75;
    color: #555;
    margin-bottom: 2rem;
}
.intro-link {
    display: inline-block;
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1.5px solid var(--navy);
    padding-bottom: 0.25rem;
    transition: color 0.2s, border-color 0.2s;
}
.intro-link:hover { color: var(--gold); border-color: var(--gold); }

.intro-row-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.intro-card {
    position: relative;
    aspect-ratio: 5/4;
    background-size: cover;
    background-position: center;
    background-color: var(--navy);
    overflow: hidden;
    text-decoration: none;
}
.intro-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 100%);
    transition: background 0.4s ease;
}
.intro-card:hover::after {
    background: linear-gradient(180deg, rgba(57,70,53,0.55) 0%, rgba(10,31,61,0.75) 100%);
}
.intro-card-label {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translate(0, -50%);
    text-align: center;
    color: #fff;
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.9rem;
    font-weight: 700;
    z-index: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: letter-spacing 0.4s ease, transform 0.4s ease;
    text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
.intro-card:hover .intro-card-label {
    letter-spacing: 0.14em;
    transform: translate(0, -50%) scale(1.03);
}

/* Home block wrappers (Homes / Lido) - niente padding-top per evitare doppio spazio con la sezione precedente */
.home-block {
    padding: 0 5% 5rem;
    background: #fff;
}
.home-block-alt { background: #fafaf6; }
.home-block-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.home-block-head {
    margin-bottom: 3rem;
    max-width: 780px;
}
.home-block-head h2 {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.7rem;
    color: var(--navy);
    margin-bottom: 1rem;
    letter-spacing: 0.06em;
    font-weight: 500;
    text-transform: uppercase;
}
.home-block-head p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Tabs */
.tabs-nav {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #e4e0d4;
    flex-wrap: wrap;
}
.tabs-btn {
    background: none;
    border: 0;
    padding: 0.7rem 0;
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 0.95rem;
    color: #b0aca0;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    letter-spacing: 0.04em;
}
.tabs-btn:hover { color: var(--navy); }
.tabs-btn.is-active { color: var(--navy); font-weight: 500; }
.tabs-btn.is-active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
}
.tab-panel { animation: fadeInTab 0.35s ease; }
.tab-panel[hidden] { display: none; }
@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Wrapper con frecce navigazione */
.property-grid-wrap {
    position: relative;
}
.property-grid-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #d8d3c0;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(10,31,61,0.12);
    transition: all 0.2s ease;
}
.property-grid-arrow:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}
.property-grid-arrow.prev { left: -22px; }
.property-grid-arrow.next { right: -22px; }
.property-grid-arrow svg { width: 18px; height: 18px; }
.property-grid-arrow:disabled { opacity: 0.3; cursor: default; }
@media (max-width: 768px) {
    .property-grid-arrow { display: none; }
}

/* Property grid + cards — scroll orizzontale (scrollbar nascosta), immagini grandi, testi in basso */
.property-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE/Edge */
}
.property-grid::-webkit-scrollbar { display: none; }

.property-card {
    flex: 0 0 calc(33.333% - 1rem);
    position: relative;
    aspect-ratio: 3/4;
    background-size: cover;
    background-position: center;
    background-color: var(--navy);
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: block;
    scroll-snap-align: start;
}
.property-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.45) 70%, rgba(0,0,0,0.75) 100%);
    transition: opacity 0.3s;
}
.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(10,31,61,0.18);
}
/* Body card: wrapper IN BASSO con flow naturale (no più overlap quando il titolo va a capo) */
.property-card-body {
    position: absolute;
    left: 1.6rem;
    right: 1.6rem;
    bottom: 1.4rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.property-card-eyebrow {
    color: rgba(255,255,255,0.92);
    font-size: 0.66rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: none;
    padding: 0;
    font-weight: 400;
    margin-bottom: 0.2rem;
}
.property-card-title {
    color: #fff;
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 0 0.9rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.1;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}
.property-card-cta {
    display: inline-block;
    background: #fff;
    color: #2a2a2a;
    padding: 0.55rem 1.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 400;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.property-card:hover .property-card-cta {
    background: var(--gold);
    color: #fff;
    transform: translateY(-2px);
}
.property-grid-empty {
    color: #999;
    text-align: center;
    padding: 3rem;
    font-style: italic;
}

/* Section head universale: titolo sopra + paragrafo+link sotto (verticale) */
.section-head {
    display: block;
    margin-bottom: 2.5rem;
    max-width: none;
}
.section-head-title {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.05rem;
    color: var(--navy);
    margin: 0 0 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    line-height: 1.4;
}
.section-head-text { max-width: none; }
.section-head-text p {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #2a2a2a;
    margin: 0 0 1rem;
}
.section-head-text .intro-link {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    color: var(--navy);
    font-weight: 700;
    font-size: 1rem;
}
@media (max-width: 900px) {
    .section-head {
        margin-bottom: 2rem;
    }
}

/* Sezione speciale "Benvenuti da Marinelli" (Figma): titolo grande non maiuscolo */
.section-head-welcome .section-head-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    text-transform: none;
    letter-spacing: 0.01em;
    line-height: 1.1;
    font-weight: 700;
}
.section-head-welcome .section-head-text p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 1.2rem;
}

/* Section head verticale per le pagine hub Ville/Appartamenti/B&B (Figma Frame 2) */
.properties-hub .section-head {
    display: block;
    margin-bottom: 2rem;
    max-width: none;
}
.properties-hub .section-head-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    text-transform: none;
    letter-spacing: 0.01em;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy);
}
.properties-hub .section-head-text {
    max-width: none;
}
.properties-hub .section-head-text p {
    margin: 0;
}

/* Properties hub page (Ville / Appartamenti / B&B) */
.properties-hub {
    padding: 2.5rem 5%;
    background: #fff;
    scroll-margin-top: 110px;
}
.properties-hub-alt {
    background: #fafaf6;
}
.properties-hub-inner {
    max-width: 1400px;
    margin: 0 auto;
}
/* Regole .properties-hub-head rimosse — sostituite da .section-head per coerenza con la home */

/* Sezione Lido home: stesse misure delle card sopra (33% larghezza, scroll/swipe se servono) */
#lido-section.home-block { padding: 0 5% 7rem; }

/* Mobile property cards / tabs / intro row */
@media (max-width: 900px) {
    .intro-row-inner { grid-template-columns: 1fr; gap: 2rem; }
    .home-hero { padding: 0; }
    .home-hero-media { height: 100vh; height: 100svh; }
    .property-card { flex: 0 0 70%; }
    #lido-section .property-grid { flex-direction: column; overflow: visible; }
    #lido-section .property-card { flex: 0 0 auto; width: 100%; aspect-ratio: 4/3; }
    .tabs-nav { gap: 1.2rem; overflow-x: auto; flex-wrap: nowrap; }
    .tabs-btn { white-space: nowrap; }
    .intro-row { padding: 3.5rem 5%; }
    .home-block { padding: 0 5% 3.5rem; }
    #lido-section.home-block { padding: 0 5% 5rem; }
}
@media (max-width: 560px) {
    .property-card { flex: 0 0 85%; }
    .intro-row-cards { grid-template-columns: 1fr; }
    .home-hero-play { width: 64px; height: 64px; }
    .home-hero-play svg { width: 28px; height: 28px; }
}

/* ===== PROPERTY DETAIL (Figma redesign) ===== */
.prop-detail {
    padding: 9rem 5% 5rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: left;
}
.prop-detail-head {
    max-width: 900px;
    margin: 0 0 0.5rem;
    text-align: left;
}
.prop-detail-head .property-eyebrow {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 400;
    text-align: left;
}
.prop-detail-head h1 {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    color: var(--navy);
    margin: 0 0 0.5rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: left;
    line-height: 1.1;
}
.prop-detail-tagline {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1rem;
    color: #2a2a2a;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

/* Lightbox foto */
.ml-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px;
    box-sizing: border-box;
}
.ml-lightbox.open { display: flex; }
.ml-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}
.ml-lightbox-close,
.ml-lightbox-arrow {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    padding: 0;
}
.ml-lightbox-close:hover,
.ml-lightbox-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
}
.ml-lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    line-height: 1;
}
.ml-lightbox-arrow { top: 50%; transform: translateY(-50%); }
.ml-lightbox-arrow.prev { left: 20px; }
.ml-lightbox-arrow.next { right: 20px; }
.ml-lightbox-arrow svg { width: 20px; height: 20px; }
.ml-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.4rem 1rem;
    border-radius: 999px;
}
@media (max-width: 700px) {
    .ml-lightbox { padding: 20px; }
    .ml-lightbox-close,
    .ml-lightbox-arrow { width: 40px; height: 40px; }
    .ml-lightbox-arrow.prev { left: 8px; }
    .ml-lightbox-arrow.next { right: 8px; }
}

/* Carosello immagini — full viewport */
.prop-carousel {
    position: relative;
    margin-bottom: 3rem;
    padding: 0 60px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.prop-carousel-viewport {
    overflow: hidden;
}
.prop-carousel-track {
    display: flex;
    gap: 0.8rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.prop-carousel-slide {
    flex: 0 0 calc(33.333% - 0.534rem);
    aspect-ratio: 4/3;
    overflow: hidden;
}
.prop-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prop-carousel-arrow {
    position: absolute;
    top: calc(50% - 16px);
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #d0d0d0;
    background: transparent;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.prop-carousel-arrow:hover { border-color: var(--gold); color: var(--gold); }
.prop-carousel-arrow.prev { left: 0; }
.prop-carousel-arrow.next { right: 0; }
.prop-carousel-arrow svg { width: 14px; height: 14px; }
.prop-carousel-arrow:disabled { opacity: 0.3; cursor: default; }
.prop-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}
.prop-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: #d6d2c5;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}
.prop-carousel-dot.is-active {
    background: var(--gold);
    transform: scale(1.4);
}

/* Testo descrittivo e contenuto pagina WP */
.prop-detail-body {
    margin: 0 0 3rem;
}
.prop-detail-body p {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #2a2a2a;
    margin: 0 0 1rem;
}
.prop-detail-body h2,
.prop-detail-body h3,
.prop-detail-body h4 {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    color: var(--navy);
    margin: 2rem 0 1rem;
}
.prop-detail-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.prop-detail-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
}
.prop-detail-body h4 {
    font-size: 1rem;
    font-weight: 700;
}
.prop-detail-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    column-count: 3;
    column-gap: 2rem;
}
.prop-detail-body ul li {
    padding: 0.4rem 0 0.4rem 1.4rem;
    position: relative;
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 0.95rem;
    color: #2a2a2a;
    line-height: 1.5;
    break-inside: avoid;
}
.prop-detail-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}
.prop-detail-body strong { color: var(--navy); font-weight: 700; }
@media (max-width: 768px) {
    .prop-detail-body ul { column-count: 1; }
}

/* ==== Blocchi info villa (Cose da sapere, Tipo alloggio, Servizi, Mappa, Tour, Prenota) ==== */
.prop-detail-body .villa-specs-row {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    color: var(--navy);
    letter-spacing: 0.01em;
    font-weight: 700;
    margin: 0 0 2.5rem;
    line-height: 1.5;
}
.prop-detail-body .villa-lead,
.prop-detail-body .villa-lead ~ p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
    margin: 0 0 1rem;
}
.prop-detail-body .villa-info-grid { margin-top: 2.5rem; }
.prop-detail-body .villa-block-title {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    font-weight: 700;
    margin: 3rem 0 1.2rem;
}
.prop-detail-body .villa-sub-title {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1rem;
    color: var(--navy);
    font-weight: 700;
    margin: 1.5rem 0 1rem;
    letter-spacing: 0.02em;
}
.prop-detail-body .villa-info-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 3rem;
    margin: 0 0 2rem;
    align-items: start;
}
.prop-detail-body .villa-info-main .villa-block-title,
.prop-detail-body .villa-info-aside .villa-block-title { margin-top: 0; }
.prop-detail-body .villa-info-aside {
    background: #f5f1e8;
    border: 1px solid #ece5d3;
    padding: 2rem 1.75rem;
    border-radius: 4px;
}
.prop-detail-body .villa-rules,
.prop-detail-body .villa-alloggio {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    column-count: 1;
}
.prop-detail-body .villa-rules li,
.prop-detail-body .villa-alloggio li {
    padding: 0.65rem 0 0.65rem 2.2rem;
    position: relative;
    font-size: 0.98rem;
    color: #2a2a2a;
    border-bottom: none;
    line-height: 1.5;
}
.prop-detail-body .villa-rules li::before,
.prop-detail-body .villa-alloggio li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: var(--gold);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    border-radius: 0;
}
/* Icone: mask-image inline SVG (monocromo, colore oro via background) */
.prop-detail-body [data-ico="clock"]::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='9'/><polyline points='12 7 12 12 15 14'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='9'/><polyline points='12 7 12 12 15 14'/></svg>");
}
.prop-detail-body [data-ico="pet"]::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><circle cx='6' cy='9' r='2'/><circle cx='10' cy='5' r='2'/><circle cx='14' cy='5' r='2'/><circle cx='18' cy='9' r='2'/><path d='M12 10c-3 0-6 4-6 7 0 2 2 3 4 2l2-1 2 1c2 1 4 0 4-2 0-3-3-7-6-7z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><circle cx='6' cy='9' r='2'/><circle cx='10' cy='5' r='2'/><circle cx='14' cy='5' r='2'/><circle cx='18' cy='9' r='2'/><path d='M12 10c-3 0-6 4-6 7 0 2 2 3 4 2l2-1 2 1c2 1 4 0 4-2 0-3-3-7-6-7z'/></svg>");
}
.prop-detail-body [data-ico="no"]::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='9'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='9'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
}
.prop-detail-body [data-ico="people"]::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='7' r='4'/><path d='M4 21c0-4 4-7 8-7s8 3 8 7'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='7' r='4'/><path d='M4 21c0-4 4-7 8-7s8 3 8 7'/></svg>");
}
.prop-detail-body [data-ico="bed"]::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M3 18v-6h18v6M3 12V7h8v5M15 10a2 2 0 0 1 2-2h4v4'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M3 18v-6h18v6M3 12V7h8v5M15 10a2 2 0 0 1 2-2h4v4'/></svg>");
}
.prop-detail-body [data-ico="pool"]::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M2 17c2 0 2-2 4-2s2 2 4 2 2-2 4-2 2 2 4 2 2-2 4-2M2 21c2 0 2-2 4-2s2 2 4 2 2-2 4-2 2 2 4 2 2-2 4-2M7 13V5a2 2 0 0 1 4 0M13 13V5a2 2 0 0 1 4 0'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M2 17c2 0 2-2 4-2s2 2 4 2 2-2 4-2 2 2 4 2 2-2 4-2M2 21c2 0 2-2 4-2s2 2 4 2 2-2 4-2 2 2 4 2 2-2 4-2M7 13V5a2 2 0 0 1 4 0M13 13V5a2 2 0 0 1 4 0'/></svg>");
}
.prop-detail-body [data-ico="tub"]::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M3 12h18v3a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4v-3zM7 12V6a2 2 0 0 1 4 0'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M3 12h18v3a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4v-3zM7 12V6a2 2 0 0 1 4 0'/></svg>");
}
.prop-detail-body [data-ico="beach"]::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M12 3v18M4 11a8 8 0 0 1 16 0M4 11h16'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M12 3v18M4 11a8 8 0 0 1 16 0M4 11h16'/></svg>");
}
.prop-detail-body [data-ico="pin"]::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M12 22s-7-6-7-13a7 7 0 0 1 14 0c0 7-7 13-7 13z'/><circle cx='12' cy='9' r='2.5'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M12 22s-7-6-7-13a7 7 0 0 1 14 0c0 7-7 13-7 13z'/><circle cx='12' cy='9' r='2.5'/></svg>");
}
.prop-detail-body .villa-cancel-note {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}
.prop-detail-body .villa-servizi {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem;
    column-count: 3;
    column-gap: 2.5rem;
}
.prop-detail-body .villa-servizi li {
    padding: 0.5rem 0 0.5rem 1.2rem;
    position: relative;
    font-size: 0.95rem;
    color: #2a2a2a;
    break-inside: avoid;
    border-bottom: 1px dotted #d8d3c4;
}
.prop-detail-body .villa-servizi li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}
.prop-detail-body .villa-address {
    font-size: 1.05rem;
    color: var(--navy);
    padding-left: 2.2rem;
    position: relative;
    margin: 0.5rem 0 1.5rem;
    font-weight: 700;
}
.prop-detail-body .villa-address::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: var(--gold);
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M12 22s-7-6-7-13a7 7 0 0 1 14 0c0 7-7 13-7 13z'/><circle cx='12' cy='9' r='2.5'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M12 22s-7-6-7-13a7 7 0 0 1 14 0c0 7-7 13-7 13z'/><circle cx='12' cy='9' r='2.5'/></svg>");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
.prop-detail-body .villa-map,
.prop-detail-body .villa-tour {
    margin: 0 0 3rem;
    border: 1px solid #ece5d3;
    border-radius: 4px;
    overflow: hidden;
}
.prop-detail-body .villa-map iframe,
.prop-detail-body .villa-tour iframe {
    display: block;
    width: 100%;
    border: 0;
}
.prop-detail-body .villa-cta {
    text-align: center;
    margin: 3rem 0 1rem;
}
.prop-detail-body .villa-cta-top {
    text-align: left;
    margin: 0 0 2rem;
}
.prop-detail-body .villa-cta-top .btn-prenota-ora {
    padding: 0.75rem 2.2rem;
    font-size: 0.85rem;
}
@media (max-width: 600px) {
    .prop-detail-body .villa-cta-top { text-align: center; }
}
.prop-detail-body .btn-prenota-ora {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
}
.prop-detail-body .btn-prenota-ora:hover {
    background: #b0742a;
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .prop-detail-body .villa-info-grid { grid-template-columns: 1fr; gap: 2rem; }
    .prop-detail-body .villa-servizi { column-count: 1; }
    .prop-detail-body .villa-specs-row { font-size: 0.95rem; }
}
@media (min-width: 769px) and (max-width: 1100px) {
    .prop-detail-body .villa-servizi { column-count: 2; }
}

/* Box Dettagli — full viewport + sfondo #F5F5F5 come Figma */
.prop-detail-spec {
    background: #F5F5F5;
    padding: 4rem 5vw;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 4rem;
    box-sizing: border-box;
}
.prop-detail-spec h2 {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.5rem;
    color: #2a2a2a;
    margin: 0 0 1.5rem;
    font-weight: 700;
}
.prop-spec-intro p {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #2a2a2a;
    margin-bottom: 1.2rem;
}
.prop-spec-downloads {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.prop-spec-downloads li { margin-bottom: 0.5rem; }
.prop-spec-downloads a {
    color: var(--navy);
    text-decoration: none;
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.prop-spec-downloads a:hover { color: var(--gold); }
.prop-spec-downloads strong { font-weight: 600; }
.prop-spec-size {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    margin: 1.5rem 0 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #d8d3c0;
    font-size: 1rem;
    color: #2a2a2a;
}
.prop-spec-size strong { color: var(--navy); }
.prop-spec-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #d8d3c0;
}
.prop-spec-col h4,
.prop-spec-access h4 {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.02em;
    margin: 0 0 1rem;
}
.prop-spec-col ul,
.prop-spec-access ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.prop-spec-col li,
.prop-spec-access li {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    padding: 0.4rem 0 0.4rem 1.4rem;
    position: relative;
    font-size: 0.95rem;
    color: #2a2a2a;
    line-height: 1.55;
}
.prop-spec-col li::before,
.prop-spec-access li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}
.prop-spec-access ul {
    columns: 2;
    column-gap: 3rem;
}

/* Back link — Baskerville Semibold come Figma */
.prop-back-link {
    display: inline-block;
    color: #111;
    text-decoration: none;
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    transition: color 0.2s;
    letter-spacing: 0.02em;
}
.prop-back-link:hover { color: var(--gold); }

/* Separatore tra Dettagli e Potrebbe interessarti */
.prop-detail-separator {
    text-align: center;
    color: #888;
    padding: 1.5rem 0;
    margin: 1rem 0;
}
.prop-detail-separator svg { width: 80px; height: 24px; }

/* Sezione "Potrebbe interessarti" */
.prop-related {
    padding: 2rem 0 4rem;
}
.prop-related-title {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.prop-related-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* CTA fondo */
.prop-detail-cta {
    text-align: center;
    padding: 2rem 0 1rem;
}
.prop-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: var(--navy);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.2s ease;
}
.prop-cta-pill:hover {
    background: var(--gold);
    transform: translateY(-2px);
}
.prop-cta-pill svg { width: 18px; height: 18px; }

@media (max-width: 1200px) {
    .prop-carousel-slide { flex: 0 0 calc(50% - 0.5rem); }
}
@media (max-width: 900px) {
    .prop-detail { padding: 7rem 5% 3rem; }
    .prop-detail-head h1 { font-size: 2.2rem; }
    .prop-carousel-slide { flex: 0 0 100%; }
    .prop-carousel-arrow { width: 40px; height: 40px; }
    .prop-detail-spec { padding: 2.2rem 1.5rem; }
    .prop-spec-cols { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
    .prop-spec-access ul { columns: 1; }
    .prop-related-grid { grid-template-columns: 1fr; }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero h1 { font-size: 4rem; }
    .villa-name { font-size: 2.5rem; }
    .lido-split { grid-template-columns: 1fr; }
    .intro-grid { grid-template-columns: 1fr; gap: 3rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .servizi-grid, .pacchetti-grid, .gallery-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .nav-toggle { display: block; }
    .logo img,
    .site-nav.scrolled .logo img { height: 58px; }
    .nav-links {
        position: fixed;
        top: 80px; right: 0; bottom: 0;
        width: 80%; max-width: 360px;
        background: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { color: #fff; }
    .nav-links ul.sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin: 0;
        padding: 0.5rem 0 0 1rem;
        background: transparent;
        box-shadow: none;
    }
    .nav-links ul.sub-menu a { color: rgba(255,255,255,0.7) !important; }
    .hero-content { left: 5%; right: 5%; }
    .hero-lido h1 { font-size: 3.5rem; }
    .servizi h2, .pacchetti h2, .gallery-section h2,
    .intro-text h2, .lido-text h2 { font-size: 2.5rem; margin-bottom: 3rem; }
    .final-cta h2 { font-size: 3rem; }
    .intro, .servizi, .pacchetti, .gallery-section, .final-cta { padding: 5rem 5%; }
    .property-hero h1 { font-size: 3.5rem; }
    .property-intro-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .features-grid { grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
    .units-grid, .experiences-grid { grid-template-columns: 1fr 1fr; }
    .villa-card, .villa-card.reverse { grid-template-columns: 1fr; direction: ltr; }
    .villa-card-image { min-height: 280px; }
    .villa-card-body { padding: 2.5rem 2rem; }
    .hub-hero h1, .contact-hero h1 { font-size: 3rem; }
    .property-intro, .property-features, .property-units, .property-perks, .property-location, .experiences { padding: 5rem 5%; }
    .contact-grid-section { padding: 4rem 5%; }
    .cookie-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .hero h1 { font-size: 3rem; }
    .servizi-grid, .pacchetti-grid, .gallery-grid,
    .footer-grid, .stats-grid { grid-template-columns: 1fr; }
    .hero-content { left: 5%; right: 5%; }
    .villa-content { padding: 0 5%; max-width: 100%; }
    .gallery-item img { height: 280px; }
    .features-grid, .units-grid, .experiences-grid { grid-template-columns: 1fr; }
    .property-hero h1 { font-size: 2.6rem; }
    .property-intro h2, .property-features h2, .property-units h2, .property-perks h2, .property-location h2 { font-size: 2.2rem; }
    .villa-card h2 { font-size: 2.2rem; }
    .contact-form .form-row { grid-template-columns: 1fr; }
}


/* ============================================================
 * Pagina Esperienze — layout card alternate
 * ============================================================ */
.esperienze-intro {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2a2a2a;
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
    padding: 0 1rem;
}
.esperienza-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 5rem;
    padding: 0 1rem;
}
.esperienza-card:nth-child(even) .esperienza-media { order: 2; }
.esperienza-card:nth-child(even) .esperienza-body { order: 1; }
.esperienza-media {
    overflow: hidden;
    border-radius: 12px;
}
.esperienza-media img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.esperienza-card:hover .esperienza-media img { transform: scale(1.04); }
.esperienza-title {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--navy);
    font-weight: 700;
    margin: 0 0 1.2rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
}
.esperienza-body p {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}
@media (max-width: 800px) {
    .esperienza-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3.5rem;
    }
    .esperienza-card:nth-child(even) .esperienza-media { order: 0; }
    .esperienza-card:nth-child(even) .esperienza-body { order: 0; }
}


/* ============================================================
 * Pagina Ville — griglia statica 3x2 (senza slider)
 * ============================================================ */
.villa-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 2rem auto 0;
}
/* Se dentro properties-hub-inner (pagina Homes), niente padding aggiuntivo — eredita dal padre */
.properties-hub-inner .villa-grid-full {
    padding: 0;
    margin-top: 2rem;
}
.villa-grid-full .property-card {
    aspect-ratio: 4/5;
    min-height: 480px;
}
@media (max-width: 1024px) {
    .villa-grid-full { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .villa-grid-full {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    .villa-grid-full .property-card { min-height: 400px; }
}


/* ============================================================
 * PAGINA LIDO — palette blu (override tema verde/oro)
 * ============================================================ */
.page-template-page-lido {
    --lido-blue: #1e5aa0;
    --lido-blue-dark: #164478;
}
/* Header blu */
.page-template-page-lido .site-nav { background: var(--lido-blue); }
.page-template-page-lido .site-nav.scrolled { background: var(--lido-blue); }
.page-template-page-lido .nav-links a { color: #fff; }
.page-template-page-lido .nav-links a::after { background: #fff; }
.page-template-page-lido .nav-links li.cta-item > a {
    background: #fff !important;
    color: var(--lido-blue) !important;
    border: none;
}
.page-template-page-lido .nav-links li.cta-item > a:hover {
    background: rgba(255,255,255,0.9) !important;
    color: var(--lido-blue-dark) !important;
}
.page-template-page-lido .nav-links ul.sub-menu {
    background: var(--lido-blue);
}
.page-template-page-lido .nav-links ul.sub-menu a { color: #fff !important; }
.page-template-page-lido .nav-links ul.sub-menu a:hover { color: #ffe08a !important; }
.page-template-page-lido .nav-toggle { color: #fff; }

/* Hero foto full width */
.lido-hero {
    margin-top: 0;
    width: 100%;
    overflow: hidden;
    background: var(--lido-blue);
}
.lido-hero-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 75vh;
    object-fit: cover;
}

/* Sezione 4 icone servizi */
.lido-services {
    background: #f5f5f5;
    padding: 3rem 5%;
}
.lido-services-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: center;
}
.lido-service {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}
.lido-service img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    flex-shrink: 0;
}
.lido-service span {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: var(--lido-blue);
    line-height: 1.2;
    font-weight: 400;
}
@media (max-width: 900px) {
    .lido-services-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .lido-services-inner { grid-template-columns: 1fr; }
    .lido-service { justify-content: flex-start; padding: 0 2rem; }
}

/* Sezione "Il Lido" — testo + logo + CTA */
.lido-intro {
    padding: 5rem 5%;
    background: #fff;
}
.lido-intro-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}
.lido-intro-left h2 {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--lido-blue);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 2rem;
}
.lido-intro-sun {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 0 2rem;
}
.lido-intro-cta {
    display: inline-block;
    background: var(--lido-blue);
    color: #fff;
    padding: 0.7rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    border: 2px solid var(--lido-blue);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    cursor: pointer;
}
.lido-intro-cta:hover {
    background: #fff;
    color: var(--lido-blue);
    transform: translateY(-2px);
}
.lido-intro-right p {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--lido-blue-dark);
    margin: 0 0 1.5rem;
}
@media (max-width: 800px) {
    .lido-intro-inner { grid-template-columns: 1fr; gap: 0.5rem; }
    .lido-intro-left h2 { margin-bottom: 0 !important; }
}


/* ============================================================
 * PAGINA LIDO — sezioni estese
 * ============================================================ */

/* Titoli sezione uniformi */
.lido-section-title {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--lido-blue);
    font-weight: 700;
    text-align: center;
    margin: 0 0 1.5rem;
    line-height: 1.1;
}
.lido-section-lead {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--lido-blue-dark);
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3rem;
}

/* 3 zone */
.lido-zones { padding: 5rem 5%; background: #f7fafd; }
.lido-zones-inner { max-width: 1200px; margin: 0 auto; }
.lido-zones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.lido-zone {
    background: #fff;
    border: 1px solid #dbe6f2;
    border-radius: 6px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.lido-zone:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(30,90,160,0.12); }
.lido-zone-num {
    display: inline-block;
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 2.4rem;
    color: var(--lido-blue);
    opacity: 0.4;
    margin-bottom: 0.5rem;
}
.lido-zone h3 {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.4rem;
    color: var(--lido-blue);
    margin: 0 0 1rem;
    font-weight: 700;
}
.lido-zone p {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}
@media (max-width: 800px) {
    .lido-zones-grid { grid-template-columns: 1fr; }
}

/* All Inclusive */
.lido-all-inclusive {
    padding: 5rem 5%;
    background: var(--lido-blue);
    color: #fff;
    text-align: center;
}
.lido-all-inclusive-inner { max-width: 900px; margin: 0 auto; }
.lido-all-inclusive .lido-section-title { color: #fff; }
.lido-ai-lead {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.25rem;
    line-height: 1.7;
    margin: 0 0 1rem;
}
.lido-ai-lead strong { color: #ffe08a; font-weight: 700; }
.lido-ai-note {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 0.95rem;
    opacity: 0.85;
    margin: 0 0 2rem;
}
.lido-all-inclusive .lido-intro-cta {
    background: #fff;
    color: var(--lido-blue);
}
.lido-all-inclusive .lido-intro-cta:hover {
    background: #ffe08a;
    color: var(--lido-blue-dark);
}

/* Gallery + Aperitivo carousel (scroll orizzontale) */
.lido-gallery,
.lido-aperitivo { padding: 5rem 0; background: #fff; }
.lido-gallery .lido-section-title,
.lido-aperitivo-header { padding: 0 5%; }
.lido-gallery-track,
.lido-aperitivo-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 2rem 5%;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.lido-gallery-track::-webkit-scrollbar,
.lido-aperitivo-track::-webkit-scrollbar { display: none; }
.lido-gallery-slide {
    flex: 0 0 auto;
    height: 480px;
    overflow: hidden;
    border-radius: 0;
    margin: 0;
    scroll-snap-align: start;
}
.lido-gallery-slide img { width: auto; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.lido-gallery-slide:hover img { transform: scale(1.03); }
@media (max-width: 1200px) { .lido-gallery-slide { height: 420px; } }
@media (max-width: 800px) { .lido-gallery-slide { height: 360px; } }
@media (max-width: 500px) { .lido-gallery-slide { height: 300px; } }

/* Ristorante */
.lido-restaurant { padding: 5rem 5%; background: #f7fafd; }
.lido-restaurant-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.lido-restaurant-media img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}
.lido-restaurant-body .lido-section-title { text-align: left; }
.lido-restaurant-body p {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--lido-blue-dark);
    margin: 0 0 1.2rem;
}
@media (max-width: 900px) {
    .lido-restaurant-inner { grid-template-columns: 1fr; }
}

/* Location */
.lido-location { padding: 5rem 5%; background: #fff; }
.lido-location-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.lido-location-address {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.1rem;
    color: var(--lido-blue-dark);
    line-height: 1.7;
    margin: 0 0 2.5rem;
    font-weight: 700;
}
.lido-location-map {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(30,90,160,0.15);
}

/* ============================================================
 * FOOTER — variante Lido (blu invece che verde)
 * ============================================================ */
.site-footer--lido {
    background: var(--lido-blue) !important;
}
.site-footer--lido .footer-brand img {
    filter: none;
}
.site-footer--lido h4,
.site-footer--lido a,
.site-footer--lido p,
.site-footer--lido label,
.site-footer--lido span {
    color: #fff !important;
}
.site-footer--lido a:hover { color: #ffe08a !important; }
.site-footer--lido .newsletter-form input[type="email"] {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}
.site-footer--lido .newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.6); }
.site-footer--lido .newsletter-form button {
    background: #fff;
    color: var(--lido-blue);
    border: none;
}
.site-footer--lido .newsletter-form button:hover { background: #ffe08a; color: var(--lido-blue-dark); }
.site-footer--lido .footer-bottom {
    background: var(--lido-blue-dark);
    color: #fff;
}


/* ============================================================
 * Lido gallery + Aperitivo — frecce nav
 * ============================================================ */
.lido-gallery,
.lido-aperitivo { position: relative; }
.lido-track-wrap {
    position: relative;
}
.lido-track-arrow {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: 1px solid #dbe6f2;
    color: var(--lido-blue, #1e5aa0);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.lido-track-arrow:hover { background: var(--lido-blue, #1e5aa0); color: #fff; transform: scale(1.08); }
.lido-track-arrow.prev { left: 20px; }
.lido-track-arrow.next { right: 20px; }
.lido-track-arrow svg { width: 20px; height: 20px; }
@media (max-width: 600px) {
    .lido-track-arrow { display: none; }
}


/* ============================================================
 * LIDO — Vacanze All Inclusive v2, Booking form, Tariffe card
 * ============================================================ */

/* Vacanze All Inclusive — 2 col title/text */
.lido-ai {
    background: #fff;
    padding: 2rem 5% 3rem;
}
.lido-ai-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}
.lido-ai-title {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--lido-blue);
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}
.lido-ai-right p {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--lido-blue-dark);
    margin: 0 0 0.6rem;
}
.lido-ai-right p strong { color: var(--lido-blue); font-weight: 700; }
.lido-ai-cta-wrap { text-align: left; }
@media (max-width: 800px) {
    .lido-ai-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .lido-ai-cta-wrap { text-align: left; }
}

/* Booking section — full width photo + form overlay */
.lido-booking {
    position: relative;
    padding: 0;
    background: #fff;
}
.lido-booking-photo {
    height: 55vh;
    min-height: 380px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.lido-booking-form-wrap {
    max-width: 1200px;
    margin: -180px auto 2rem;
    padding: 0 5%;
    position: relative;
    z-index: 3;
}
.lido-booking-form {
    background: #fff;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    border-radius: 6px;
    padding: 2rem 2rem 2.5rem;
}
.lbf-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}
.lbf-row.lbf-contacts { grid-template-columns: repeat(3, 1fr); }
.lido-booking-form label {
    display: flex;
    flex-direction: column;
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--lido-blue);
    font-weight: 700;
    border-bottom: 1px solid #d9e3ee;
    padding-bottom: 0.4rem;
    text-transform: uppercase;
}
.lido-booking-form label.lbf-full { border-bottom: 1px solid #d9e3ee; padding: 0.6rem 0; }
.lido-booking-form input,
.lido-booking-form select {
    border: none;
    background: transparent;
    padding: 0.4rem 0;
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1rem;
    color: var(--lido-blue-dark);
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    outline: none;
}
.lido-booking-form input::placeholder { color: #999; font-style: italic; }
.lbf-cta-wrap { text-align: center; margin-top: 1.5rem; }
.lbf-cta-wrap .lido-intro-cta {
    background: var(--lido-blue);
    color: #fff;
    padding: 1rem 3rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    border: none;
    cursor: pointer;
}
.lbf-cta-wrap .lido-intro-cta:hover { background: var(--lido-blue-dark); }
@media (max-width: 900px) {
    .lbf-row,
    .lbf-row.lbf-contacts { grid-template-columns: 1fr 1fr; }
    .lido-booking-form-wrap { margin-top: -100px; }
}
@media (max-width: 500px) {
    .lbf-row,
    .lbf-row.lbf-contacts { grid-template-columns: 1fr; }
}

/* Tariffe card overlay */
.lido-tariffe {
    padding: 3rem 5% 5rem;
    background: #fff;
}
.lido-tariffe-inner {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    min-height: 460px;
}
.lido-tariffe-media {
    width: 65%;
    height: 460px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}
.lido-tariffe-media .home-hero-poster,
.lido-tariffe-media .home-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lido-tariffe-card {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 460px;
    background: var(--lido-blue);
    color: #fff;
    padding: 3rem 2.5rem;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.lido-tariffe-card h2 {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1.5rem;
}
.lido-tariffe-card p {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #fff;
    margin: 0 0 2rem;
}
.lido-tariffe-cta {
    display: inline-block;
    background: #fff;
    color: var(--lido-blue);
    text-decoration: none;
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    padding: 0.7rem 1.8rem;
    border-radius: 999px;
    border: 2px solid #fff;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.lido-tariffe-cta:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-2px);
}
@media (max-width: 900px) {
    .lido-tariffe-media { width: 100%; height: 300px; }
    .lido-tariffe-card {
        position: static;
        transform: none;
        width: 100%;
        max-width: none;
        margin-top: -80px;
        z-index: 2;
        margin-left: 0;
    }
    .lido-tariffe-inner { min-height: auto; display: flex; flex-direction: column; }
}


/* Ristorante — header centrato + gallery scrollabile */
.lido-restaurant { padding: 5rem 0 3rem; background: #f7fafd; }
.lido-restaurant-header {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    padding: 0 5%;
    text-align: center;
}
.lido-restaurant-cta-wrap { text-align: center; margin-top: 1.5rem; }


/* Ristorante v2 — layout come lido-intro */
.lido-intro-cta-right { text-align: left; margin-top: 1rem; }
.lido-restaurant-gallery { padding: 0 0 5rem; background: #fff; }
.lido-restaurant-gallery .lido-gallery-track { padding-top: 0; }
@media (max-width: 800px) {
    .lido-intro-cta-right { text-align: left; }
}


/* Colazione — layout come lido-intro (senza CTA) */


/* Pranzo — layout come lido-intro (senza CTA) */


/* Aperitivo — layout come lido-intro */


/* Potrebbe interessarti — slider ville sotto Dove Siamo */
.lido-related {
    padding: 5rem 0 5rem;
    background: #fff;
}
.lido-related-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.lido-related-title {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lido-blue);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0 0 2rem;
    padding: 0 5%;
}


/* Pagina Homes — blocco intro H1 + testo (stessa impostazione delle sezioni sotto) */
.homes-intro {
    padding: 5rem 5% 3rem;
    background: #fff;
}
.homes-intro-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.homes-intro-title {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--navy);
    font-weight: 700;
    margin: 0 0 1.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.homes-intro-text {
    max-width: 900px;
}
.homes-intro-text p {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
    margin: 0 0 1rem;
}
.homes-intro-text p:last-child { margin-bottom: 0; }


/* Lido intro — spacing uniforme paragrafi (come pagine villa) */
.lido-intro-right p { margin-bottom: 1rem; }
.lido-intro-right p:last-of-type { margin-bottom: 0; }


/* ============================================================
 * MOBILE UX FIXES — audit rif. screenshot utente
 * ============================================================ */
@media (max-width: 1024px) {
    /* Menu mobile: verde header su tutte le pagine, blu uniforme (uguale header) su Lido */
    .nav-links { background: #394635 !important; }
    .page-template-page-lido .nav-links { background: var(--lido-blue) !important; }
    /* Sub-menu Lido mobile: transparent, eredita il blu del pannello */
    .page-template-page-lido .nav-links ul.sub-menu { background: transparent !important; }

    /* CTA "PRENOTA UN SOGGIORNO" — nowrap + pillola larghezza contenuto */
    .nav-links li.cta-item > a {
        white-space: nowrap;
        display: inline-block;
        padding: 0.7rem 1.5rem !important;
        font-size: 0.72rem !important;
        letter-spacing: 0.1em !important;
    }

    /* Sub-menu accordion: nascosti di default su mobile */
    .nav-links ul.sub-menu {
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: none;
    }
    .nav-links li.menu-item-has-children.is-open > ul.sub-menu { display: block; }
    /* Freccia toggle indicatrice */
    .nav-links li.menu-item-has-children > a::after {
        content: '\002B'; /* + */
        display: inline-block;
        position: static;
        margin-left: 0.5rem;
        width: auto;
        height: auto;
        background: transparent;
        color: rgba(255,255,255,0.7);
        vertical-align: baseline;
        font-weight: normal;
    }
    .nav-links li.menu-item-has-children.is-open > a::after { content: '\2212'; /* − */ }
    /* Nascondo il ::before decoration del parent */
    .nav-links li.menu-item-has-children > a::before { display: none; }
}

/* Pagina Lido mobile — hero più grande + icone 4 su una riga */
@media (max-width: 768px) {
    .lido-hero-img { max-height: none; min-height: 55vh; }
    .lido-services-inner { grid-template-columns: repeat(4, 1fr) !important; gap: 0.4rem !important; }
    .lido-service { justify-content: center !important; padding: 0 !important; flex-direction: column; text-align: center; gap: 0.4rem !important; }
    .lido-service img { width: 40px !important; height: 40px !important; }
    .lido-service span { text-align: center; font-size: 0.7rem !important; line-height: 1.15 !important; }
}
@media (max-width: 400px) {
    .lido-service img { width: 34px !important; height: 34px !important; }
    .lido-service span { font-size: 0.62rem !important; }
}

/* UX check aggiuntivi mobile */
@media (max-width: 768px) {
    /* Grid intro-row homepage (Lido + Homes card) — 1 col su mobile */
    .intro-row-cards { grid-template-columns: 1fr !important; }
    /* Ristorante + Tariffe: card blu sotto foto invece che overlay */
    .lido-tariffe-media { width: 100% !important; height: 260px !important; }
    /* Form booking: full width */
    .lido-booking-form-wrap { padding: 0 1rem !important; margin-top: -60px !important; }
    /* Hero video Lido: caption h1 non troppo grande */
    .hero-lido-caption h1 { font-size: clamp(2rem, 8vw, 3rem) !important; }
    /* Villa detail body: padding orizzontale ridotto */
    .prop-detail { padding: 6rem 1rem 2rem !important; }
    .prop-detail-body { padding: 0 !important; }
    /* Prima gallery ville (dopo hero) - riduci margin */
    .lido-restaurant-gallery { padding: 0 0 3rem !important; }
    /* Nav vertical spacing */
    .nav-links > li { width: 100%; }
    .nav-links a { padding: 0.5rem 0 !important; }
}

/* Tap target minimo 44px */
@media (max-width: 768px) {
    .property-card-cta,
    .lido-intro-cta,
    .btn-prenota-ora,
    .btn-primary {
        min-height: 44px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
}


/* Mobile: titolo villa va a capo dopo prima parola (Villa \n Marinelli) */
@media (max-width: 768px) {
    .prop-detail-head h1 {
        line-height: 1.1;
        word-spacing: 100vw !important;
    }
    .prop-detail-head h1 .h1-first,
    .prop-detail-head h1 .h1-rest { display: block !important; }
}


/* Mobile: riduci padding verticale sezioni Lido (spazi tra blocchi più stretti) */
@media (max-width: 768px) {
    .lido-intro { padding: 2rem 5% !important; }
    .lido-gallery,
    .lido-aperitivo { padding: 1.5rem 0 !important; }
    .lido-restaurant-gallery { padding: 0 0 1.5rem !important; }
    .lido-gallery-track,
    .lido-aperitivo-track { padding: 1rem 5% !important; }
    .lido-ai { padding: 2rem 5% 1.5rem !important; }
    .lido-booking-form-wrap { margin-bottom: 2rem !important; }
    .lido-tariffe { padding: 1.5rem 5% 2rem !important; }
    .lido-services { padding: 1.5rem 5% !important; }
    .lido-restaurant { padding: 2rem 0 1.5rem !important; }
    .lido-location { padding: 2rem 5% 3rem !important; }
    .lido-related { padding: 2rem 0 3rem !important; }
}


/* Mobile: titoli card property (Villa MARINELLI, ecc.) a capo tra le parole */
@media (max-width: 768px) {
    .property-card-title {
        word-spacing: 100vw !important;
        line-height: 1.05 !important;
        hyphens: manual !important;
        -webkit-hyphens: manual !important;
    }
}


/* Sezione Tariffe — accordion + spacing dopo video (mobile) */
.lido-tariffe-toggle {
    background: transparent;
    border: 0;
    color: #fff;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    cursor: pointer;
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
}
.lido-tariffe-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}
.lido-tariffe-icon {
    font-size: 1.8rem;
    color: #fff;
    margin-left: 0.6rem;
    line-height: 1;
    font-weight: 400;
    transition: transform 0.2s;
}
.lido-tariffe-content { padding-top: 1.5rem; }
.lido-tariffe-content p:first-child { margin-top: 0; }
@media (max-width: 768px) {
    /* Piccolo spazio dopo il video del blocco Tariffe */
    .lido-tariffe-media { margin-bottom: 1rem !important; }
    .lido-tariffe-card { padding: 1.2rem 1.5rem !important; }
    .lido-tariffe-title { font-size: 1.6rem; }
}


/* Lido-gallery quando usata nella detail villa: spacing coerente */
.prop-lido-gallery { padding: 0 0 3rem; background: #fff; }


/* Tariffe accordion: chiuso mobile, sempre aperto desktop */
@media (min-width: 769px) {
    .lido-tariffe-content[hidden] { display: block !important; }
    .lido-tariffe-icon { display: none; }
    .lido-tariffe-toggle { cursor: default; pointer-events: none; padding: 0 0 1.5rem 0; }
}


/* ============================================================
 * PAGINA TARIFFE — palette Lido, tabelle prezzi
 * Uso stesse variabili --lido-blue (scope pagina)
 * ============================================================ */
.page-template-page-tariffe {
    --lido-blue: #1e5aa0;
    --lido-blue-dark: #164478;
}
.page-template-page-tariffe .site-nav { background: var(--lido-blue); }
.page-template-page-tariffe .nav-links a { color: #fff; }
.page-template-page-tariffe .nav-links a::after { background: #fff; }
.page-template-page-tariffe .nav-links li.cta-item > a { background: #fff !important; color: var(--lido-blue) !important; border: none; }
.page-template-page-tariffe .nav-links li.cta-item > a:hover { background: rgba(255,255,255,0.9) !important; color: var(--lido-blue-dark) !important; }
.page-template-page-tariffe .nav-links ul.sub-menu { background: var(--lido-blue); }
.page-template-page-tariffe .nav-links ul.sub-menu a { color: #fff !important; }
.page-template-page-tariffe .nav-toggle { color: #fff; }
.page-template-page-tariffe .site-footer { background: var(--lido-blue) !important; }
.page-template-page-tariffe .site-footer h4,
.page-template-page-tariffe .site-footer a,
.page-template-page-tariffe .site-footer p,
.page-template-page-tariffe .site-footer label,
.page-template-page-tariffe .site-footer span { color: #fff !important; }
.page-template-page-tariffe .footer-bottom { background: var(--lido-blue-dark); }

/* Header logo bianco su pagina tariffe */
.page-template-page-tariffe .logo img[src*="logo_gold"] { display: none; }
/* Mobile menu blu uniforme */
@media (max-width: 1024px) {
    .page-template-page-tariffe .nav-links { background: var(--lido-blue) !important; }
    .page-template-page-tariffe .nav-links ul.sub-menu { background: transparent !important; }
}

/* Hero */
.tariffe-hero { width: 100%; overflow: hidden; background: var(--lido-blue); }
.tariffe-hero .lido-hero-img { display: block; width: 100%; height: auto; max-height: 55vh; object-fit: cover; }

.tariffe-inner { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.tariffe-intro { padding: 4rem 0 2rem; background: #fff; }
.tariffe-intro h1 {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--lido-blue);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1.5rem;
}
.tariffe-lead {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
    margin: 0 0 1.5rem;
}
.tariffe-ingresso {
    background: #fff3a1;
    border-left: 4px solid #f0c800;
    padding: 1rem 1.5rem;
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1rem;
    color: #2a2a2a;
    line-height: 1.5;
}
.tariffe-ingresso .tariffe-note { font-size: 0.9rem; color: #666; }

.tariffe-table-section { padding: 2rem 0 4rem; background: #fff; }
.tariffe-block-title {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--lido-blue);
    font-weight: 700;
    margin: 3rem 0 1.2rem;
}
.tariffe-block-title span { font-size: 0.7em; font-weight: 400; color: #666; margin-left: 0.5em; }
.tariffe-table-wrap { overflow-x: auto; margin-bottom: 1.5rem; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.tariffe-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 0.95rem;
    background: #fff;
}
.tariffe-table th, .tariffe-table td {
    border: 1px solid #dbe6f2;
    padding: 0.85rem 1rem;
    text-align: center;
    color: #2a2a2a;
    vertical-align: middle;
}
.tariffe-table thead th { background: #f5f5f5; color: var(--lido-blue); font-weight: 700; letter-spacing: 0.03em; }
.tariffe-table thead th small { font-weight: 400; font-size: 0.8em; }
.tariffe-table tbody th { background: #fafafa; text-align: left; font-weight: 700; color: #2a2a2a; }
.tariffe-table .th-orange { background: #f4a300 !important; color: #fff !important; }
.tariffe-table .th-green { background: #6ab04a !important; color: #fff !important; }
.tariffe-table .th-lightblue { background: #6fb3d8 !important; color: #fff !important; }
.tariffe-table .th-bordeaux { background: #6d1e2e !important; color: #fff !important; }
.tariffe-table .th-yellow { background: #ffdd57 !important; color: #333 !important; }
.tariffe-table--sm { max-width: 500px; }

.tariffe-mappa { padding: 2rem 0 4rem; background: #f7fafd; }
.tariffe-mappa-img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); margin-top: 1.5rem; }

.tariffe-cta { padding: 4rem 0 5rem; background: var(--lido-blue); color: #fff; text-align: center; }
.tariffe-cta-inner h2 {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    margin: 0 0 1rem;
    color: #fff;
}
.tariffe-cta-inner p {
    font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', serif;
    font-size: 1.05rem;
    margin: 0 0 2rem;
    color: rgba(255,255,255,0.9);
}
.tariffe-cta-inner .lido-intro-cta {
    background: #fff !important;
    color: var(--lido-blue) !important;
    border-color: #fff !important;
}
.tariffe-cta-inner .lido-intro-cta:hover {
    background: transparent !important;
    color: #fff !important;
}

@media (max-width: 768px) {
    .tariffe-intro { padding: 2rem 0 1rem; }
    .tariffe-table-section { padding: 1rem 0 2rem; }
    .tariffe-table th, .tariffe-table td { padding: 0.6rem 0.5rem; font-size: 0.85rem; }
    .tariffe-block-title { margin: 2rem 0 0.8rem; }
    .tariffe-mappa { padding: 1rem 0 2rem; }
    .tariffe-cta { padding: 2.5rem 0 3rem; }
}


/* Tariffe — stacked table su mobile (no scroll, cards leggibili) */
@media (max-width: 700px) {
    .tariffe-table-wrap { overflow: visible; box-shadow: none; }
    .tariffe-table, .tariffe-table thead, .tariffe-table tbody, .tariffe-table tr, .tariffe-table th, .tariffe-table td { display: block; width: 100%; box-sizing: border-box; }
    .tariffe-table thead { display: none; }
    .tariffe-table tbody tr {
        margin: 0 0 1rem;
        border: 1px solid #dbe6f2;
        border-radius: 8px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    .tariffe-table tbody th {
        background: var(--lido-blue);
        color: #fff;
        text-align: center;
        border: 0;
        padding: 0.8rem 1rem;
        font-size: 1rem;
        letter-spacing: 0.03em;
    }
    .tariffe-table tbody td {
        border: 0;
        border-top: 1px solid #eef2f7;
        padding: 0.7rem 1.2rem;
        text-align: right;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 700;
        color: var(--lido-blue);
    }
    .tariffe-table tbody td:first-of-type { border-top: 0; }
    .tariffe-table tbody td::before {
        content: attr(data-label);
        text-align: left;
        color: #666;
        font-weight: 400;
        font-size: 0.9rem;
        margin-right: 1rem;
    }
    .tariffe-table--sm tbody td { justify-content: center; }
    .tariffe-table--sm tbody td::before { display: none; }
}
