/* ============================================
   CASA DI CAMPAGNA - Stylesheet
   Based on Proposta C "Vivere Insieme"
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,700;1,9..144,400&family=Inter:wght@400;500;600;700&family=Caveat:wght@400;600&display=swap');

/* --- VARIABLES --- */
:root {
    --arancio: #D97B2B;
    --arancio-chiaro: #F0A04B;
    --arancio-bg: rgba(217, 123, 43, 0.1);
    --giallo-miele: #E8C468;
    --terracotta: #C4633A;
    --verde-oliva: #7A8B5D;
    --marrone: #5C4033;
    --crema: #FBF6EF;
    --grigio-caldo: #9B8E82;
    --testo: #33271E;
    --bianco: #FFFCF8;
    --wa-green: #2E8B57;
    --wa-green-hover: #256F47;
    --airbnb: #E0484D;
    --airbnb-hover: #C83D42;
    --shadow-sm: 0 2px 8px rgba(92, 64, 51, 0.06);
    --shadow-md: 0 8px 24px rgba(92, 64, 51, 0.08);
    --shadow-lg: 0 16px 48px rgba(92, 64, 51, 0.1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
    --transition: 0.4s cubic-bezier(0.2, 0, 0, 1);
}

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--testo);
    background: var(--bianco);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Focus visible for accessibility */
:focus-visible {
    outline: 3px solid var(--arancio);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--arancio);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
    font-size: 0.85rem;
}

.skip-link:focus { top: 0; }

/* --- TYPOGRAPHY --- */
.font-display {
    font-family: 'Fraunces', serif;
}

.font-hand {
    font-family: 'Caveat', cursive;
}

/* --- UTILITIES --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --- SCROLL ANIMATIONS --- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-up"].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-left"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"].is-visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="fade-right"] {
    transform: translateX(40px);
}

[data-animate="fade-right"].is-visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="scale-in"] {
    transform: scale(0.92);
}

[data-animate="scale-in"].is-visible {
    opacity: 1;
    transform: scale(1);
}

[data-animate="fade-in"] {
    transform: none;
}

[data-animate="fade-in"].is-visible {
    opacity: 1;
}

/* Stagger delays */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

/* Fallback: show content if user prefers reduced motion or JS fails */
@media (prefers-reduced-motion: reduce) {
    [data-animate] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
html.no-js [data-animate] { opacity: 1; transform: none; }

/* --- TOPBAR / NAV --- */
.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s, padding 0.3s;
}

.topbar.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.6rem 2rem;
}

.topbar-logo img {
    height: 100px;
    width: auto;
    transition: height 0.3s;
}

.topbar.scrolled .topbar-logo img { height: 48px; }

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.topbar-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.topbar-links a {
    color: var(--marrone);
    transition: color var(--transition);
    position: relative;
}

.topbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--arancio);
    transition: width 0.3s;
}

.topbar-links a:hover::after,
.topbar-links a.active::after {
    width: 100%;
}

.topbar-links a:hover { color: var(--arancio); }

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 18px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--marrone);
    position: absolute;
    left: 0;
    transition: all 0.3s;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }

.menu-toggle.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn-wa {
    background: var(--wa-green);
    color: white !important;
}

.btn-wa:hover {
    background: var(--wa-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 139, 87, 0.25);
}

.btn-wa-sm {
    padding: 0.55rem 1.3rem;
    font-size: 0.9rem;
}

.btn-arancio {
    background: var(--arancio);
    color: white;
}

.btn-arancio:hover {
    background: var(--terracotta);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 123, 43, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--marrone);
    border: 1.5px solid var(--marrone);
}

.btn-outline:hover {
    background: var(--marrone);
    color: white;
}

.btn-white {
    background: white;
    color: var(--marrone);
}

.btn-white:hover {
    background: var(--crema);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.btn-airbnb {
    background: var(--airbnb);
    color: white;
}

.btn-airbnb:hover {
    background: var(--airbnb-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(224, 72, 77, 0.25);
}

.btn-link {
    color: var(--arancio);
    font-weight: 600;
    font-size: 0.9rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.3s;
}

.btn-link:hover { color: var(--terracotta); }

/* --- SECTION COMMON --- */
section {
    padding: 5rem 0;
}

.section-tag {
    display: inline-block;
    background: var(--arancio-bg);
    color: var(--arancio);
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.section-title .accent {
    color: var(--arancio);
    font-style: italic;
}

.section-desc {
    color: var(--grigio-caldo);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 600px;
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    padding-top: 130px;
    display: flex;
    flex-direction: column;
}

.hero-top {
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    background: var(--crema);
    border: 1px solid rgba(217, 123, 43, 0.2);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--arancio);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-tag .stars { color: var(--arancio); }

.hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.hero h1 .accent {
    color: var(--arancio);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--grigio-caldo);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero-images {
    flex: 1;
    display: flex;
    gap: 0.5rem;
    padding: 2rem 2rem 0;
    min-height: 400px;
}

.hero-images .img-wrap {
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    position: relative;
    flex: 1;
    transition: flex 0.5s ease;
}

.hero-images .img-wrap:nth-child(2) {
    flex: 1.5;
}

/* Subtle hover: hovered grows slightly, siblings shrink slightly */
.hero-images:hover .img-wrap {
    flex: 0.9;
}

.hero-images:hover .img-wrap:nth-child(2) {
    flex: 1.2;
}

.hero-images .img-wrap:hover {
    flex: 1.8 !important;
}

.hero-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-images .img-wrap:hover img {
    /* no scale, the flex change is enough */
}

/* Mobile hero slider */
.hero-slider-dots {
    display: none;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
}

.hero-slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grigio-caldo);
    opacity: 0.4;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-slider-dots .dot.active {
    opacity: 1;
    background: var(--arancio);
    width: 24px;
    border-radius: 4px;
}

/* --- TICKER --- */
.ticker {
    background: var(--arancio);
    color: white;
    padding: 0.8rem 0;
    overflow: hidden;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.ticker-inner {
    display: flex;
    gap: 3rem;
    animation: ticker 25s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.ticker:hover .ticker-inner {
    animation-play-state: paused;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-inner span::before {
    content: '\2022';
    margin-right: 3rem;
    opacity: 0.5;
}

/* --- CHI SIAMO --- */
.chi-siamo {
    background: var(--crema);
}

.chi-siamo-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.chi-siamo-content {
    position: sticky;
    top: 100px;
}

.chi-siamo-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--grigio-caldo);
    margin-bottom: 1.5rem;
}

.chi-siamo-content .highlight {
    background: linear-gradient(to right, rgba(217, 123, 43, 0.12), transparent);
    padding: 1.5rem;
    border-left: 3px solid var(--arancio);
    font-family: 'Fraunces', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--marrone);
    line-height: 1.7;
    margin: 2rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.host-placeholder {
    background: var(--bianco);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    text-align: center;
    border: 2px dashed rgba(217, 123, 43, 0.3);
}

.host-placeholder .icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.6; }
.host-placeholder p { color: var(--grigio-caldo); font-size: 0.9rem; }

.host-placeholder .names {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: var(--arancio);
    margin-top: 0.5rem;
}

/* --- CAMERA --- */
.camera-section { background: var(--bianco); }

.camera-hero {
    position: relative;
    margin-top: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.camera-hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0, 0, 1);
}

.camera-hero:hover img { transform: scale(1.02); }

.camera-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1.5rem 1.2rem;
    background: linear-gradient(to top, rgba(51, 39, 30, 0.9), transparent);
    color: white;
}

.camera-features {
    display: flex;
    gap: 0.8rem 1.5rem;
    flex-wrap: wrap;
    line-height: 1.2;
}

.camera-feature {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
}

.camera-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.camera-thumbs .thumb-wrap {
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.camera-thumbs .thumb-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s;
}

.camera-thumbs .thumb-wrap:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

.camera-thumbs img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0, 0, 1);
}

.camera-thumbs .thumb-wrap:hover img { transform: scale(1.05); }

/* --- RECENSIONI --- */
.recensioni { background: var(--crema); }

.recensioni-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.rating-display {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.rating-display .big-number {
    font-family: 'Fraunces', serif;
    font-size: 4rem;
    color: var(--arancio);
    line-height: 1;
}

.rating-display .rating-meta {
    font-size: 0.9rem;
    color: var(--grigio-caldo);
    line-height: 1.5;
}

.rating-display .rating-meta strong { color: var(--testo); }

/* Review Marquee - Infinite Loop */
.review-marquee {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.review-marquee-track {
    display: flex;
    gap: 1.5rem;
    animation: marquee-scroll 40s linear infinite;
    width: max-content;
    will-change: transform;
}

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

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

.review-card {
    flex: 0 0 340px;
    scroll-snap-align: start;
    background: var(--bianco);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.review-card .review-stars {
    color: var(--arancio);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.review-card .review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #5C4B43;
    flex: 1;
    margin-bottom: 1rem;
}

.review-card .review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-card .author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--crema);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--arancio);
    flex-shrink: 0;
}

.review-card .author-info { font-size: 0.85rem; }
.review-card .author-info strong { display: block; }
.review-card .author-info span { color: var(--grigio-caldo); font-size: 0.8rem; }

.recensioni-bottom {
    text-align: center;
    margin-top: 1.5rem;
}

/* --- DINTORNI --- */
.dintorni-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--crema);
    border: 1px solid rgba(217, 123, 43, 0.15);
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    transition: all var(--transition);
    cursor: default;
    color: var(--testo);
}

.chip:hover {
    background: var(--arancio);
    color: white;
    border-color: var(--arancio);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(217, 123, 43, 0.2);
}

.chip .time {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--arancio);
}

.chip:hover .time { color: rgba(255, 255, 255, 0.8); }

/* --- CTA BANNER --- */
.cta-banner {
    background: url('../img/casa-esterno-2.jpg') center/cover no-repeat;
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    color: white;
    margin: 0 2rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(58, 42, 28, 0.88) 0%, rgba(38, 28, 18, 0.75) 50%, rgba(217, 123, 43, 0.6) 100%);
}

.cta-banner h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    margin-bottom: 0.75rem;
    position: relative;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    position: relative;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 3rem 2rem;
    font-size: 0.85rem;
    color: var(--grigio-caldo);
    border-top: 1px solid var(--crema);
}

footer a {
    color: var(--arancio);
    transition: color 0.3s;
}

footer a:hover { color: var(--terracotta); }

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    font-weight: 500;
}

.footer-contacts {
    margin-top: 0.5rem;
}

.footer-copy {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* --- LIGHTBOX --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 8, 6, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.2); }

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
}

/* --- PAGE HEADER (for inner pages) --- */
.page-header {
    padding: 10rem 0 4rem;
    background: var(--crema);
    text-align: center;
}

.page-header h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    color: var(--grigio-caldo);
}

.breadcrumb a { color: var(--arancio); }
.breadcrumb span { opacity: 0.5; }

/* --- CONTENT PAGES --- */
.page-content {
    padding: 3rem 0 5rem;
}

.page-content h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin: 2.5rem 0 1rem;
    color: var(--testo);
}

.page-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

.page-content p {
    color: var(--grigio-caldo);
    line-height: 1.9;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.page-content ul,
.page-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--grigio-caldo);
    line-height: 1.9;
}

.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }

.page-content li { margin-bottom: 0.3rem; }

/* Photo grid for pages */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.photo-grid .photo-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.photo-grid .photo-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.photo-grid .photo-item:hover img { transform: scale(1.04); }

/* Service list for la-casa page */
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--crema);
    border-radius: var(--radius-md);
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.service-item .service-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-sm);
}

.service-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
}

.service-item p {
    font-size: 0.85rem;
    color: var(--grigio-caldo);
    margin: 0;
    line-height: 1.5;
}

/* Rule cards for regole page */
.rule-card {
    padding: 1.5rem;
    border-left: 3px solid var(--arancio);
    background: var(--crema);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 1rem;
}

.rule-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.rule-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem;
    background: var(--crema);
    border-radius: var(--radius-md);
}

.contact-item .contact-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    min-height: 350px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Blog / dintorni pages */
.blog-content {
    max-width: 750px;
    min-width: 0;
    overflow-wrap: break-word;
}
.blog-content section {
    padding: 0;
    margin: 1.5rem 0;
}

.blog-content .lead {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--testo);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Inline map for blog articles */
.map-inline {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 2rem 0;
    height: 300px;
}

.map-inline iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Article images */
.article-image {
    margin: 2rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.article-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.article-image figcaption {
    font-size: 0.8rem;
    color: var(--grigio-caldo);
    padding: 0.5rem 0;
    line-height: 1.4;
}

/* Responsive video embed */
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Useful links list */
.links-utili {
    background: var(--crema);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 2rem 0;
}

.links-utili h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--arancio);
    margin-bottom: 0.75rem;
}

.links-utili ul {
    list-style: none;
    padding: 0;
}

.links-utili li {
    margin-bottom: 0.5rem;
}

.links-utili a {
    color: var(--arancio);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.links-utili a:hover {
    color: var(--terracotta);
}

.links-utili a::after {
    content: ' \2197';
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Tip card for local recommendations */
.tip-card {
    background: var(--bianco);
    border: 1px solid rgba(217, 123, 43, 0.15);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 1rem 0;
}

.tip-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--testo);
}

.tip-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* Blog sidebar - normalized */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.blog-sidebar h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.blog-sidebar nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.blog-sidebar nav ul li a {
    font-size: 0.9rem;
    color: var(--grigio-caldo);
    padding: 0.4rem 0;
    display: block;
    border-bottom: 1px solid rgba(217, 123, 43, 0.1);
    transition: color 0.3s;
}

.blog-sidebar nav ul li a:hover,
.blog-sidebar nav ul li a[aria-current="page"] {
    color: var(--arancio);
}

.info-box {
    background: var(--crema);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 3px solid var(--arancio);
}

.info-box h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--arancio);
    margin-bottom: 0.5rem;
}

.cta-inline {
    background: var(--crema);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-inline h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.cta-inline p {
    color: var(--grigio-caldo);
    margin-bottom: 1.5rem;
}

/* Sidebar for blog pages */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--crema);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-card h4 {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-links a {
    font-size: 0.9rem;
    color: var(--grigio-caldo);
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(217, 123, 43, 0.1);
    transition: color 0.3s;
}

.sidebar-links a:hover { color: var(--arancio); }

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(255, 252, 248, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-family: 'Fraunces', serif;
    font-size: 1.8rem;
    color: var(--testo);
    transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--arancio); }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    .sidebar { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .topbar-links { display: none; }
    .menu-toggle { display: block; }

    .topbar { padding: 0.5rem 0.75rem 0.5rem 1rem; }
    .topbar.scrolled { padding: 0.4rem 0.75rem 0.4rem 1rem; }
    .topbar-right { gap: 0.75rem; }
    .topbar-logo img { height: 80px; }
    .topbar.scrolled .topbar-logo img { height: 44px; }

    /* Hero mobile slider */
    .hero-images {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0;
        padding: 1rem 0 0;
        min-height: 280px;
    }

    .hero-images::-webkit-scrollbar { display: none; }

    .hero-images .img-wrap {
        flex: 0 0 85vw;
        scroll-snap-align: center;
        border-radius: var(--radius-sm);
        margin: 0 0.5rem;
    }

    .hero-images .img-wrap:nth-child(2) { flex: 0 0 85vw; }

    /* Disable hover grow/shrink on mobile */
    .hero-images:hover .img-wrap,
    .hero-images:hover .img-wrap:nth-child(2),
    .hero-images .img-wrap:hover {
        flex: 0 0 85vw !important;
    }

    .hero-images .img-wrap:hover img { transform: none; }

    /* Disable scroll animations on hero slider images — they stay invisible otherwise */
    .hero-images [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    /* Prevent hero slider horizontal overflow from leaking to body */
    .hero { overflow: hidden; }

    .hero-slider-dots { display: flex; }

    .hero-top { padding: 2rem 1.5rem 1.5rem; }

    .chi-siamo-grid { grid-template-columns: 1fr; }
    .chi-siamo-content { position: static; }

    .camera-hero img { height: 280px; }

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

    .recensioni-top {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Reviews: swipable touch scroll instead of auto-animation */
    .review-marquee {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .review-marquee::-webkit-scrollbar { display: none; }

    .review-marquee-track {
        animation: none;
        width: max-content;
        padding-bottom: 0.5rem;
    }

    .review-card {
        flex: 0 0 85vw;
        scroll-snap-align: start;
    }

    .cta-banner {
        margin: 0 1rem 2rem;
        padding: 2.5rem 1.5rem;
    }

    .cta-buttons { flex-direction: column; align-items: center; }

    section { padding: 3rem 0; }

    .container { padding: 0 1.5rem; }

    .page-header { padding: 7.5rem 0 2.5rem; }

    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }

    .photo-grid .photo-item img { height: 200px; }

    .rating-display .big-number { font-size: 3rem; }

    .footer-nav { gap: 0.5rem 1rem; }
    .footer-nav a { padding: 0.5rem 0.25rem; display: inline-block; min-height: 44px; line-height: 2; }

    .blog-sidebar { position: static; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-images .img-wrap,
    .hero-images:hover .img-wrap,
    .hero-images:hover .img-wrap:nth-child(2),
    .hero-images .img-wrap:hover { flex: 0 0 88vw !important; }
    .review-card { flex: 0 0 280px; }
    .dintorni-chips { gap: 0.5rem; flex-direction: column; }
    .chip { padding: 0.7rem 1rem; font-size: 0.9rem; width: 100%; justify-content: space-between; }
    .section-title { font-size: 1.6rem; }
    .btn { font-size: 0.9rem; padding: 0.8rem 1.6rem; }
    .camera-thumbs { grid-template-columns: repeat(2, 1fr); gap: 0.3rem; }
    .camera-thumbs img { height: 120px; }

    /* Hide topbar WA button on small screens — it's in the mobile menu */
    .topbar .btn-wa-sm { display: none; }

    .topbar-logo img { height: 64px; }
    .topbar.scrolled .topbar-logo img { height: 40px; }
}

/* --- PRINT --- */
@media print {
    .topbar, .ticker, .lightbox, .mobile-menu { display: none; }
    body { background: white; }
    section { padding: 2rem 0; }
}
