:root {
    --terra: #B5451B;
    --terra-hover: #7e2d0d;
    --oro: #C9963A;
    --crema: #F5EFE0;
    --marrone: #3B1F0E;
    --grigio: #7A6B5A;
    --bianco: #FDFAF4;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #f5ecec;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    scroll-behavior: smooth;
}

.navbar {
    background: rgba(253, 250, 244, 0.92);

    .navbar-nav {
        .nav-item {
            .nav-link {
                color: var(--marrone);
                text-transform: uppercase;

                &:hover {
                    color: var(--terra);
                }
            }
        }
    }
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--terra);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.navbar-brand span {
    color: var(--oro);
    font-style: italic;
}

.navbar-brand,
.navbar-brand:hover,
.navbar-brand:focus {
    color: var(--terra);
    text-decoration: none;
    cursor: default;
}

.navbar-brand:hover span,
.navbar-brand:focus span {
    color: var(--oro);
    cursor: default;
}

/* ── HERO ── */
.hero {
    min-height: calc(100vh - 60px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 6rem;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(30, 12, 4, 0.52) 0%, rgba(59, 31, 14, 0.38) 60%, rgba(181, 69, 27, 0.18) 100%);
    z-index: 1;
}

.hero-eyebrow,
.hero h3,
.hero p,
.hero-btns,
.hero-scroll {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--oro);
    font-weight: 700;
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.3s forwards;
}

.hero h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    line-height: 1.12;
    max-width: 720px;
    margin-bottom: 1.6rem;
    opacity: 0;
    animation: fadeUp 0.9s 0.5s forwards;
}

.hero p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 2.4rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 0.9s 0.7s forwards;
}

.hero-btns {
    margin-top: 15rem;
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeUp 0.9s 0.9s forwards;
}

.btn-hero-primary {
    background: var(--terra);
    color: white;
    padding: 1rem 2.2rem;
    border: none;
    border-radius: 2px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s;
    display: inline-block;
}

.btn-hero-primary:hover {
    background: var(--oro);
    transform: translateY(-2px);
    color: white;
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2.2rem;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 2px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.25s, color 0.25s;
    display: inline-block;
}

.btn-hero-secondary:hover {
    border-color: var(--oro);
    color: var(--oro);
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.35);
}

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

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@media (max-width: 900px) {
    .hero {
        padding: 0 2rem;
    }
}

/* ── FOOTER ── */
.footer {
    background-color: var(--bianco);
    color: var(--terra);
    padding: 1rem;
    text-align: center;
    margin-top: auto;
    font-size: small;
}

/* ── MODAL PRENOTAZIONI ── */
#prenotazioni-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1050;
    justify-content: center;
    align-items: center;
}

#prenotazioni-modal-overlay.active {
    display: flex;
}

#prenotazioni-modal-box {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

#prenotazioni-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--marrone);
    line-height: 1;
}

/* ── COOKIE BANNER ── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(246, 213, 194, 0.9);
    color: var(--marrone);
    padding: 15px;
    text-align: center;
    display: none;
    z-index: 1000;
}

/* ── BOTTONI ── */
.lls-btn-primary {
    background-color: var(--terra) !important;
    border-color: var(--terra) !important;
    color: #fff !important;
}

.lls-btn-primary:hover {
    background-color: var(--terra-hover) !important;
    border-color: var(--terra-hover) !important;
}

/* ── PROPOSTA DI VALORE ── */
.proposition {
    background: var(--crema);
    padding: 2rem;
    text-align: center;
}

.section-tag {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--terra);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--marrone);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 1rem;
    color: var(--grigio);
    max-width: 580px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-weight: 300;
}

.prop-card {
    background: white;
    border-radius: 4px;
    border-top: 3px solid var(--terra);
    box-shadow: 0 4px 24px rgba(59, 31, 14, 0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}

.prop-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(59, 31, 14, 0.13);
}

.prop-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.prop-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    margin-bottom: 0.7rem;
    color: var(--marrone);
}

.prop-card p {
    font-size: 0.92rem;
    color: var(--grigio);
}

.prop-card .card-body {
    padding: 2.2rem 1.8rem;
}

/* ── SERVIZI ── */
.services-section {
    padding: 2rem;
    background: var(--bianco);
}

.services-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ── SERVICE CARD orizzontale ── */
.services-card {
    display: flex;
    flex-direction: row;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(59, 31, 14, 0.18);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    min-height: 280px;
}

.services-card:hover {
    box-shadow: 0 8px 36px rgba(59, 31, 14, 0.32);
    transform: translateY(-3px);
}

.services-card img {
    width: 30%;
    min-width: 140px;
    max-width: 260px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.5s ease;
}

.services-card:hover img {
    transform: scale(1.05);
}

.services-overlay {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.8rem;
}

.services-overlay .scopri-btn {
    margin-top: auto !important;
}

.services-label {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.services-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.services-card p {
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .services-card {
        flex-direction: column;
    }

    .services-card img {
        width: 100%;
        max-width: 100%;
        height: 415px;
    }
}

/* ── COME FUNZIONA ── */
.how-section {
    background: var(--marrone);
     padding: 2rem;
    text-align: center;
}

.how-section .section-tag {
    color: var(--oro);
}

.how-section .section-title {
    color: var(--crema);
}

.how-section .section-sub {
    color: rgba(245, 239, 224, 0.65);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 12%;
    right: 12%;
    height: 1px;
    background: rgba(201, 150, 58, 0.3);
}

.step {
    position: relative;
}

.step-num {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--terra);
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    border: 3px solid var(--oro);
}

.step h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--crema);
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.85rem;
    color: rgba(245, 239, 224, 0.6);
    line-height: 1.7;
}

/* ── ANIMAZIONI SCROLL ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

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

    .steps::before {
        display: none;
    }
}

/* ── PRIVACY POLICY ── */
#privacy {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

#privacy h2 {
    font-family: 'Playfair Display', serif;
    color: var(--marrone);
    border-bottom: 2px solid var(--terra);
    padding-bottom: 0.6rem;
}

#privacy h5 {
    color: var(--terra);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.privacy-body p {
    color: var(--grigio);
    line-height: 1.85;
    font-size: 0.95rem;
}

.privacy-body ul {
    padding-left: 1.4rem;
}

.privacy-body ul li {
    color: var(--grigio);
    line-height: 1.85;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.privacy-body strong {
    color: var(--marrone);
}

