/* -------------------------------------------------------------
   4 SEASONS GIARDINI - STILE CONCRETO, PULITO E ARTIGIANALE
   ------------------------------------------------------------- */
:root {
    --forest-900: #122419;
    /* Verde scurissimo profondo */
    --forest-800: #1a3324;
    /* Verde bosco solido */
    --green-brand: #3e8e34;
    /* Verde foglia dal logo */
    --green-accent: #5ab34e;
    /* Verde chiaro naturale */
    --green-tint: #f1f7f2;
    /* Sfondo verde molto chiaro */
    --slate-800: #202722;
    /* Testo primario */
    --slate-600: #556157;
    /* Testo secondario */
    --slate-200: #dce3dd;
    /* Bordi e divisori */
    --bg-page: #fbfcfb;
    --bg-surface: #ffffff;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-stack);
    color: var(--slate-800);
    background-color: var(--bg-page);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

/* -------------------------------------------------------------
   HEADER DINAMICO (Trasparente in alto -> Bianco allo scroll)
   ------------------------------------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: transparent;
    /* Sottile linea neutra sull'Hero */
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    transition: padding 0.3s ease;
}

/* Badge protettivo per il logo sullo sfondo trasparente dell'Hero */
header .brand {
    background: #ffffff;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.brand img {
    height: 46px;
    width: auto;
    object-fit: contain;
}

/* Link di navigazione bianchi nitidi sull'Hero */
.nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    padding: 4px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    /* Massima leggibilità sulle foto */
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--green-accent);
}

/* Hamburger mobile bianco all'inizio */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 19px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

/* -------------------------------------------------------------
   STATO SCROLLATO (.scrolled aggiunto da JS oltre i 60px)
   ------------------------------------------------------------- */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

header.scrolled .navbar {
    padding: 0.75rem 0;
    /* Si compatta leggermente durante la navigazione */
}

header.scrolled .brand {
    background: transparent;
    padding: 0;
}

header.scrolled .nav-links a {
    color: var(--forest-800);
    text-shadow: none;
}

s header.scrolled .nav-links a:hover {
    color: var(--green-brand);
}

header.scrolled .hamburger span {
    background-color: var(--forest-900);
}

/* Compensazione dell'header fixed sulla sezione Hero */
.hero {
    padding-top: 7.5rem;
}

/* -------------------------------------------------------------
   BARRA DI AVANZAMENTO LETTURA
   ------------------------------------------------------------- */
.scroll-track {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    pointer-events: none;
}

.scroll-bar {
    height: 100%;
    width: 0%;
    background-color: var(--green-brand);
    border-radius: 0 2px 2px 0;
    will-change: width;
    transition: width 0.05s linear;
}

/* -------------------------------------------------------------
   PULSANTI FLOTTANTI: SCROLL TOP & WHATSAPP
   ------------------------------------------------------------- */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 98;
}

.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
    border: none;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.08);
}

/* Tasto WhatsApp */
.btn-wa {
    background-color: #25D366;
    color: #ffffff;
}

.btn-wa:hover {
    background-color: #1ebc59;
}

/* Tasto Torna in Alto */
.btn-top {
    background-color: var(--forest-800);
    color: #ffffff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.btn-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.btn-top:hover {
    background-color: var(--green-brand);
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 84px;
        /* Lascia spazio sopra la barra fissa di chiamata mobile */
        right: 16px;
    }

    .float-btn {
        width: 44px;
        height: 44px;
    }
}

/* -------------------------------------------------------------
   PULSANTI
   ------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.8rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--green-brand);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #33772b;
}

.btn-call {
    background-color: var(--forest-800);
    color: #ffffff;
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
}

.btn-call:hover {
    background-color: var(--green-brand);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--forest-900);
}

.btn-whatsapp {
    background-color: #128c7e;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background-color: #075e54;
}

/* -------------------------------------------------------------
   HERO
   ------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    color: #ffffff;
    background: linear-gradient(rgba(18, 36, 25, 0.60), rgba(18, 36, 25, 0.80)),
        url('images/hero-bg.webp') center/cover no-repeat;
    background-color: var(--forest-900);
    padding: 4.5rem 0;
}

.hero-kicker {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--green-accent);
    margin-bottom: 1.2rem;
}

.hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.hero-sub {
    font-size: 1.15rem;
    max-width: 620px;
    color: #dbe3dc;
    margin-bottom: 2.2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* -------------------------------------------------------------
   PUNTI FERMI (FACTS BAR)
   ------------------------------------------------------------- */
.facts-bar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--slate-200);
    padding: 2.2rem 0;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.fact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.fact-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green-brand);
    line-height: 1;
}

.fact-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--forest-900);
    margin-bottom: 2px;
}

.fact-item p {
    font-size: 0.85rem;
    color: var(--slate-600);
    line-height: 1.4;
}

/* -------------------------------------------------------------
   SECTIONS GENERAL
   ------------------------------------------------------------- */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--green-brand);
    margin-bottom: 0.4rem;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.4rem);
    color: var(--forest-900);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--slate-600);
    font-size: 1rem;
    margin-top: 0.6rem;
}

/* -------------------------------------------------------------
   CHI SONO
   ------------------------------------------------------------- */
.about-section {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

@media (min-width: 880px) {
    .about-grid {
        grid-template-columns: 6fr 5fr;
    }
}

.about-text h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.3rem);
    color: var(--forest-900);
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.about-text .lead {
    font-size: 1.05rem;
    color: var(--forest-800);
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--slate-600);
    font-size: 0.98rem;
    margin-bottom: 1rem;
}

.quote-callout {
    margin: 1.8rem 0;
    padding: 1.2rem 1.4rem;
    border-left: 3px solid var(--green-brand);
    background-color: var(--green-tint);
    font-style: italic;
    color: var(--forest-900);
    font-size: 0.98rem;
}

.signature-line {
    margin-top: 1.5rem;
}

.signature-line strong {
    display: block;
    color: var(--forest-900);
    font-size: 1.05rem;
}

.signature-line span {
    font-size: 0.85rem;
    color: var(--slate-600);
}

.photo-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--slate-200);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    background: #ffffff;
}

.photo-frame img {
    width: 100%;
    height: auto;
    /* Mostra l'immagine nella sua altezza naturale */
    display: block;
    object-fit: contain;
    /* Evita qualsiasi ritaglio forzato */
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(18, 36, 25, 0.92);
    color: #ffffff;
    padding: 0.8rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 500;
}

/* -------------------------------------------------------------
   SERVIZI
   ------------------------------------------------------------- */
.services-section {
    padding: 6rem 0;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 1.8rem;
}

.service-box {
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-200);
    background: var(--bg-page);
    transition: border-color 0.2s;
}

.service-box:hover {
    border-color: var(--green-brand);
}

.featured-box {
    border: 1.5px solid var(--green-brand);
    background: #ffffff;
}

.service-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 0.8rem;
}

.service-index {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--green-brand);
    border: 1px solid var(--green-brand);
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
}

.service-box h3 {
    font-size: 1.15rem;
    color: var(--forest-900);
    font-weight: 700;
}

.service-box p {
    font-size: 0.92rem;
    color: var(--slate-600);
    line-height: 1.55;
}

.service-bottom-strip {
    margin-top: 3.5rem;
    padding: 2rem 2.4rem;
    background-color: var(--forest-800);
    color: #ffffff;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.service-bottom-strip strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.service-bottom-strip p {
    color: #c7d6cb;
    font-size: 0.95rem;
}

/* -------------------------------------------------------------
   NAVIGAZIONE TAB DEI SERVIZI
   ------------------------------------------------------------- */
.service-tab-nav {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.service-tab-nav .tab-btn {
    background: var(--bg-page);
    border: 1px solid var(--slate-200);
    padding: 0.65rem 1.4rem;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--forest-800);
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-tab-nav .tab-btn:hover {
    border-color: var(--green-brand);
    color: var(--green-brand);
}

.service-tab-nav .tab-btn.active {
    background-color: var(--forest-800);
    color: #ffffff;
    border-color: var(--forest-800);
}

/* CARDS GENERATE VIA JSON */
.services-wrapper {
    min-height: 280px;
}

.service-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.service-badge {
    background-color: var(--green-brand);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 4px;
}

.service-meta {
    margin-top: 1.2rem;
    padding-top: 0.8rem;
    border-top: 1px dashed var(--slate-200);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--slate-600);
    font-weight: 600;
}

.meta-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--green-brand);
}

.loading-box {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--slate-600);
    font-size: 0.95rem;
}

/* -------------------------------------------------------------
   LAVORI ESEGUITI: PRIMA, DURANTE, DOPO
   ------------------------------------------------------------- */
.projects-section {
    padding: 6rem 0;
}

.case-study-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.8rem;
}

.step-column {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-200);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.step-column.result-col {
    border-color: var(--green-brand);
}

.step-pill {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--slate-200);
}

.step-1 {
    background: #fdf2f2;
    color: #a93226;
}

.step-2 {
    background: #fef9e7;
    color: #9a7d0a;
}

.step-3 {
    background: var(--green-tint);
    color: #236c1c;
}

.step-image {
    height: 280px;
    overflow: hidden;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-desc {
    padding: 1.4rem;
    flex-grow: 1;
}

.step-desc h4 {
    color: var(--forest-900);
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.step-desc p {
    color: var(--slate-600);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* -------------------------------------------------------------
   TREE CLIMBING FOCUS
   ------------------------------------------------------------- */
.focus-section {
    padding: 0 0 6rem;
}

.focus-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 850px) {
    .focus-card {
        grid-template-columns: 5fr 7fr;
    }
}

.focus-media {
    height: 100%;
    min-height: 360px;
}

.focus-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.focus-text {
    padding: 3rem 2.5rem;
}

.focus-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: var(--forest-900);
    margin-bottom: 1rem;
}

.focus-text p {
    color: var(--slate-600);
    font-size: 0.98rem;
    margin-bottom: 1rem;
}

.focus-checklist {
    list-style: none;
    margin: 1.5rem 0 2rem;
}

.focus-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.8rem;
    color: var(--forest-900);
    font-weight: 500;
    font-size: 0.95rem;
}

.focus-checklist svg {
    color: var(--green-brand);
    flex-shrink: 0;
    margin-top: 3px;
}

/* -------------------------------------------------------------
   CONTATTI
   ------------------------------------------------------------- */
.contact-section {
    padding: 6rem 0;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--slate-200);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1020px;
    margin: 0 auto;
}

@media (min-width: 820px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-card {
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-200);
    background: var(--bg-page);
}

.main-contact {
    background: #ffffff;
    border-color: var(--forest-800);
}

.main-contact h3 {
    font-size: 1.6rem;
    color: var(--forest-900);
    margin-bottom: 0.2rem;
}

.firm-tag {
    color: var(--green-brand);
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 2rem;
}

.contact-entry {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 1.4rem;
}

.entry-icon {
    width: 36px;
    height: 36px;
    background-color: var(--green-tint);
    color: var(--forest-800);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
}

.entry-title {
    display: block;
    font-size: 0.8rem;
    color: var(--slate-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.entry-value {
    font-size: 0.98rem;
    color: var(--forest-900);
    font-weight: 500;
}

.highlight-phone {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--forest-900);
}

.btn-stack {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 2rem;
}

.help-card h3 {
    font-size: 1.4rem;
    color: var(--forest-900);
    margin-bottom: 0.6rem;
}

.help-lead {
    color: var(--slate-600);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
}

.work-schedule {
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}

.sched-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    padding: 0.35rem 0;
}

.text-green {
    color: var(--green-brand);
}

.process-box {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    padding: 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
}

.process-title {
    font-weight: 700;
    color: var(--forest-900);
    margin-bottom: 0.6rem;
}

.process-box ol {
    padding-left: 1.2rem;
}

.process-box li {
    margin-bottom: 0.5rem;
    color: var(--slate-600);
}

.process-box li strong {
    color: var(--forest-900);
}

/* -------------------------------------------------------------
   FOOTER & LEGAL
   ------------------------------------------------------------- */
footer {
    background-color: var(--forest-900);
    color: #b0c0b4;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
    text-align: center;
}

.footer-top {
    margin-bottom: 1.8rem;
}

.footer-logo {
    height: 44px;
    margin: 0 auto 1.2rem;
    background: #ffffff;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
}

.footer-top p {
    line-height: 1.6;
}

.footer-top a {
    color: #ffffff;
    font-weight: 600;
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1.2rem 0;
}

.footer-legal button {
    background: none;
    border: none;
    color: #8da493;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.85rem;
}

.footer-legal button:hover {
    color: #ffffff;
}

.footer-sub {
    font-size: 0.8rem;
    color: #6d8473;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.2rem;
    font-size: 0.8rem;
    color: #556c5b;
}


/* -------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------- */

@media (max-width: 768px) {

    /* Quando il menu è aperto, anche la barra superiore diventa bianca */
    header.menu-open {
        background-color: rgba(255, 255, 255, 0.98);
        border-bottom-color: var(--slate-200);
    }

    header.menu-open .hamburger span {
        background-color: var(--forest-900);
    }

    header.menu-open .brand {
        background: transparent;
        padding: 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-contact-btn {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 1.8rem 1.5rem;
        gap: 1.2rem;
        border-bottom: 2px solid var(--green-brand);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    /* Testi scuri e leggibili nel menu a tendina */
    .nav-links a {
        color: var(--forest-900) !important;
        text-shadow: none !important;
        font-size: 1.05rem;
        padding: 0.4rem 0;
        border-bottom: 1px solid var(--slate-200);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-links a:hover {
        color: var(--green-brand) !important;
    }

    .floating-actions {
        bottom: 20px;
        right: 18px;
    }

    .float-btn {
        width: 46px;
        height: 46px;
    }
}

/* -------------------------------------------------------------
   MODALI LEGALI
   ------------------------------------------------------------- */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1000;
    padding: 1.5rem;
    overflow-y: auto;
}

.modal-box {
    background: #ffffff;
    max-width: 560px;
    margin: 4rem auto;
    padding: 2.2rem;
    position: relative;
    border-radius: var(--radius-md);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    font-size: 1.8rem;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--slate-600);
}

.modal-box h3 {
    font-size: 1.4rem;
    color: var(--forest-900);
    margin-bottom: 1rem;
}

.modal-box p,
.modal-box ul {
    font-size: 0.92rem;
    color: var(--slate-800);
    margin-bottom: 0.9rem;
    line-height: 1.5;
}

.modal-box ul {
    padding-left: 1.2rem;
}