/* ==========================================================
   LAVORA NEL FUTURO
   CSS COMPLETO
   Versione pulita
========================================================== */

/* ===========================
   VARIABILI
=========================== */

:root {
    --green: #14854a;
    --green-dark: #0f6b3b;
    --light: #f7faf9;
    --text: #1f2937;
    --gray: #6b7280;
    --border: #d9e2e8;
    --shadow: 0 18px 45px rgba(0, 0, 0, .08);
    --header-height: 90px;
    --scroll-anchor-offset: 100px;
}

/* ===========================
   RESET
=========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2937;
    background: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

body:has(> .header) {
    padding-top: var(--header-height);
}

.page-home {
    --header-height: 118px;
}

main > section[id] {
    scroll-margin-top: var(--scroll-anchor-offset);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

/* ===========================
   ACCESSIBILITÀ
=========================== */

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 2000;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--green);
    color: #ffffff;
    font-weight: 700;
}

.skip-link:focus-visible {
    top: 16px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.form-status {
    color: var(--gray);
    text-align: center;
}

/* ===========================
   HEADER
=========================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.header .container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo--official {
    gap: 0;
}

.logo--official .logo__image {
    display: block;
    width: 200px;
    height: auto;
    max-width: min(220px, 58vw);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    color: #11824b;
    font-size: 2rem;
}

nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
}

.btn-header {
    background: #11824b;
    color: #fff;
    padding: 14px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 34px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    transition: .25s;
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

/* ==========================================================
   HERO — composizione editoriale full-bleed (Home)
========================================================== */

.hero {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    position: relative;
    overflow: hidden;
    background: #e8e4dc;
}

.hero__layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    height: 100%;
    min-height: inherit;
    position: relative;
}

.hero__visual {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.page-home .hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Desktop: gradient a sinistra per contrasto testo su foto (tablet/mobile invariati) */
@media (min-width: 769px) {
    .page-home .hero__visual::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(
            90deg,
            rgba(250, 251, 250, 0.90) 0%,
            rgba(250, 251, 250, 0.72) 26%,
            rgba(250, 251, 250, 0.32) 46%,
            rgba(250, 251, 250, 0) 66%
        );
    }
}

.hero__editorial {
    grid-area: 1 / 1;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: min(44%, 520px);
    max-width: 100%;
    height: 100%;
    min-height: 0;
    padding: clamp(24px, 4vh, 56px) clamp(32px, 5vw, 72px);
    background: transparent;
    pointer-events: none;
    box-sizing: border-box;
}

.hero__editorial .hero-content,
.hero__editorial .buttons,
.hero__editorial a {
    pointer-events: auto;
}

.hero-content {
    max-width: 400px;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.hero h1 {
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: #1a1a1a;
    margin-bottom: clamp(12px, 1.8vh, 22px);
    font-weight: 700;
}

.hero h1 span {
    display: block;
    margin-top: 0.35em;
    color: #11824b;
    font-size: 0.94em;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.hero p {
    font-size: clamp(0.9rem, 1.15vw, 1.05rem);
    line-height: 1.6;
    letter-spacing: 0.005em;
    color: #4a5568;
    margin-bottom: clamp(16px, 2.2vh, 28px);
    max-width: 38em;
}

.hero .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.hero .buttons .btn-primary,
.hero .buttons .btn-secondary {
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    white-space: nowrap;
}

.hero .buttons .btn-secondary--muted {
    border-color: #c5d4cb;
    color: #4a5568;
    background: transparent;
    text-shadow: none;
}

.hero .buttons .btn-secondary--muted:hover {
    background: #ffffff;
    border-color: var(--green);
    color: var(--green);
}

/* Legacy overlay — non usato sulla Home split */
.overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero .overlay {
    display: none;
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 34px;
    border-radius: 999px;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 700;
    transition: .25s;
}

.btn-secondary:hover {
    background: #ffffff;
    color: var(--green);
}

/* ==========================================================
   SEZIONI
========================================================== */

section {
    padding: clamp(88px, 10vw, 120px) 0;
}

.section-header {
    max-width: 720px;
    margin: 0 auto clamp(48px, 6vw, 72px);
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background: #e8f8ef;
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray);
    line-height: 1.75;
    max-width: 36em;
    margin: 0 auto;
}

/* ==========================================================
   FEATURES
========================================================== */

.features {
    background: #ffffff;
}

#chi-siamo > .container,
.story > .container > .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(24px, 3vw, 40px);
}

#chi-siamo > .container > .section-intro,
#chi-siamo > .container > .section-photo {
    grid-column: 1 / -1;
}

.section-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(8px, 2vw, 16px);
}

.section-intro h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 12px;
}

.section-intro p {
    font-size: 1.0625rem;
    color: var(--gray);
    line-height: 1.7;
}

#chi-siamo > .container > .sr-only {
    grid-column: 1 / -1;
}

.section-photo {
    grid-column: 1 / -1;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: clamp(16px, 3vw, 28px);
}

.section-photo img {
    display: block;
    width: 100%;
    height: clamp(200px, 32vw, 320px);
    object-fit: cover;
}

.section-photo--chi-siamo img {
    object-position: 50% 45%;
}

.section-photo--biblioteca img {
    object-position: 42% 55%;
}

.section-photo--contatti img {
    object-position: 35% 50%;
}

.story-image img {
    object-position: 78% 42%;
}

.guide-visual {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.guide-visual img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 220px;
    object-fit: cover;
    object-position: 68% 55%;
}

.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: clamp(28px, 4vw, 40px);
    box-shadow: var(--shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card--link {
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.feature-card--link:hover,
.feature-card--link:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.11);
    outline: 3px solid rgba(17, 130, 75, 0.35);
    outline-offset: 3px;
}

.feature-card--link::after {
    content: '→';
    display: block;
    margin-top: 8px;
    color: var(--green);
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.feature-card--link:hover::after,
.feature-card--link:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

@media (hover: none) {
    .feature-card--link::after {
        opacity: 0.55;
        transform: none;
    }
}

.feature-card .icon {
    font-size: 48px;
    margin-bottom: 22px;
}

.card-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #e8f8ef;
    color: var(--green);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .4px;
}

.card-mark--resource {
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
    color: var(--text);
    font-weight: 700;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 20px;
}

.feature-card a {
    font-weight: 600;
    color: var(--green);
    font-size: 0.9375rem;
}

/* ==========================================================
   STORY
========================================================== */

.story {
    background: var(--light);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.story img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.story-text h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.story-text p {
    font-size: 1.0625rem;
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.8;
}

.text-link {
    font-weight: 700;
    color: var(--green);
}

.section-cta {
    margin-top: clamp(28px, 4vw, 40px);
    text-align: center;
}

/* ==========================================================
   NEWSLETTER / GUIDE
========================================================== */

.newsletter {
    background: var(--light);
}

.section-photo--magazine img {
    object-position: 55% 28%;
}

.newsletter-box {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(32px, 5vw, 56px);
    align-items: center;
}

.guide-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.guide-buttons .btn-secondary {
    border-color: var(--green);
    color: var(--green);
}

.guide-buttons .btn-secondary:hover {
    background: var(--green);
    color: #ffffff;
}

/* ==========================================================
   EVENTI / ARTICOLI
========================================================== */

.events h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text);
    margin-bottom: 16px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    line-height: 1.75;
    text-align: center;
    max-width: 36em;
    margin: 0 auto clamp(40px, 5vw, 56px);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.event-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    background: #ffffff;
    border-radius: 22px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.event-card--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    position: relative;
}

.event-card--link::after {
    content: 'Leggi l\'articolo →';
    font-weight: 700;
    color: var(--green);
    font-size: 0.9375rem;
}

.event-card--link:hover,
.event-card--link:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.11);
    outline: 3px solid rgba(17, 130, 75, 0.35);
    outline-offset: 3px;
}

@media (hover: none) {
    .event-card--link::after {
        opacity: 0.85;
    }
}

.event-info h3 {
    font-size: 26px;
    margin-bottom: 16px;
    color: var(--text);
}

.event-info p {
    color: var(--gray);
    line-height: 1.8;
}

/* ==========================================================
   RISORSE
========================================================== */

.resources {
    background: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 46px;
    color: var(--text);
    margin-bottom: 16px;
}

.section-title p {
    font-size: 19px;
    color: var(--gray);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.resource-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 32px;
    box-shadow: var(--shadow);
    text-align: center;
}

.resource-card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.resource-card--link:hover,
.resource-card--link:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.11);
    outline: 3px solid rgba(17, 130, 75, 0.35);
    outline-offset: 3px;
}

.resource-card--soon {
    opacity: 0.92;
}

.resource-icon {
    font-size: 42px;
    margin-bottom: 18px;
}

.resource-card h3 {
    font-size: 24px;
    margin-bottom: 14px;
    color: var(--text);
}

.resource-card p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 18px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: #e8f8ef;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px;
}

.badge--muted {
    background: #f1f5f9;
    color: #64748b;
}

.resource-link {
    font-weight: 700;
    color: var(--green);
}

.resource-link--muted {
    color: #64748b;
    font-weight: 600;
}

/* ==========================================================
   FAQ
========================================================== */

.faq {
    background: #f8fafc;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 32px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-size: 24px;
    margin-bottom: 14px;
    color: var(--text);
}

.faq-item p {
    color: var(--gray);
    line-height: 1.8;
}

/* ==========================================================
   CONTATTI
========================================================== */

.contact-section {
    background: #ffffff;
}

.contact-box {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 22px;
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 17px;
    font-family: inherit;
    background: #ffffff;
    transition: .25s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(20, 133, 74, .12);
}

.contact-form textarea {
    min-height: 190px;
    resize: vertical;
}

.contact-form button {
    width: 300px;
    margin: 10px auto 0;
    border: none;
    cursor: pointer;
}

/* ==========================================================
   ARTICOLI
========================================================== */

.article-header {
    padding: 24px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.article {
    padding: 60px 0;
}

.article h1 {
    font-size: 42px;
    margin-bottom: 24px;
    color: var(--text);
}

.article-intro {
    font-size: 19px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 32px;
}

.article img {
    border-radius: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

.article h2 {
    font-size: 32px;
    margin: 32px 0 18px;
    color: var(--text);
}

.article h3 {
    font-size: 24px;
    margin-bottom: 14px;
    color: var(--text);
}

.article p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 18px;
}

.article ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 24px;
}

.article li {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 8px;
}

.article-box {
    background: var(--light);
    border-radius: 22px;
    padding: 36px;
    margin-top: 48px;
}

.small-btn {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: var(--green);
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1199px) {
    .hero__editorial {
        width: min(48%, 480px);
    }

    .page-home .hero__visual img {
        object-position: center center;
    }
}

/* Laptop / viewport bassi: contenuto centrato e CTA sempre visibili */
@media (max-height: 860px) {
    .page-home .hero__editorial {
        justify-content: center;
        width: min(48%, 540px);
        padding: clamp(16px, 2vh, 28px) clamp(24px, 3vw, 40px);
    }

    .hero h1 {
        font-size: clamp(1.55rem, 2.8vw, 2.25rem);
        margin-bottom: clamp(8px, 1.2vh, 14px);
    }

    .hero h1 span {
        margin-top: 0.2em;
    }

    .hero p {
        margin-bottom: clamp(12px, 1.6vh, 18px);
        line-height: 1.5;
        font-size: clamp(0.85rem, 1.05vw, 0.95rem);
    }

    .hero .buttons {
        gap: 10px;
    }

    .hero .buttons .btn-primary,
    .hero .buttons .btn-secondary {
        padding: 12px 22px;
    }
}

@media (max-width: 1024px) {
    .page-home {
        --header-height: 154px;
    }
}

@media (max-width: 1024px) {
    :root {
        --scroll-anchor-offset: 120px;
    }

    .story-grid,
    .newsletter-box {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-photo img {
        height: clamp(180px, 45vw, 260px);
    }

    .guide-visual img {
        min-height: 200px;
    }

    .story-text {
        order: 2;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .header .container {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }

    .logo--official .logo__image {
        width: 180px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 120px;
        --scroll-anchor-offset: 120px;
    }

    .page-home {
        --header-height: 132px;
    }

    body:has(> .header) {
        padding-top: var(--header-height);
    }

    .logo--official .logo__image {
        width: 160px;
    }

    .container {
        width: 94%;
    }

    .btn-header {
        width: 100%;
        text-align: center;
    }

    nav ul {
        gap: 12px;
    }

    nav a {
        font-size: 15px;
    }

    .hero {
        height: auto;
        min-height: 0;
    }

    .hero__layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        height: auto;
    }

    .hero__visual {
        grid-area: 2 / 1;
        min-height: clamp(280px, 52vw, 420px);
    }

    .page-home .hero__visual img {
        object-position: center center;
    }

    .hero__editorial {
        grid-area: 1 / 1;
        width: 100%;
        padding: clamp(36px, 6vw, 56px) clamp(24px, 5vw, 40px) clamp(20px, 4vw, 28px);
        background: #fafbfa;
    }

    .hero-content {
        max-width: 100%;
    }

    .events h2,
    .section-title h2 {
        font-size: 34px;
    }

    .hero h1 {
        margin-bottom: 18px;
    }

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

    .buttons a {
        width: 100%;
        max-width: 320px;
    }

    .section-header h2 {
        font-size: 34px;
    }

    .story-text h2 {
        font-size: 34px;
    }

    .contact-form button {
        width: 100%;
    }

    .article h1 {
        font-size: 34px;
    }
}

@media (max-width: 480px) {
    section {
        padding: clamp(64px, 14vw, 80px) 0;
    }

    .hero__visual {
        min-height: 260px;
    }

    .page-home .hero__visual img {
        object-position: center center;
    }

    .feature-card,
    .faq-item {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================
   FOOTER SITO
========================================================== */

.site-footer {
    background: var(--text);
    color: rgba(255, 255, 255, .82);
    padding: 56px 0 32px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.site-footer__brand strong {
    display: block;
    color: #74f0af;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.site-footer__brand p {
    line-height: 1.7;
    font-size: 15px;
}

.site-footer h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li {
    margin-bottom: 10px;
}

.site-footer a {
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    text-decoration: none;
}

.site-footer a:hover {
    color: #74f0af;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 24px;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 768px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ===========================
   SEZIONE VIDEO
=========================== */

.video-section {
    padding: 80px 0;
    background: var(--light);
}

.video-section .section-header {
    margin-bottom: 2rem;
}

.lnf-video {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #0f2a1c;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.lnf-video__media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0f2a1c;
}

.lnf-video__play {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    cursor: pointer;
    background: rgba(15, 42, 28, 0.28);
    color: #ffffff;
    transition: background 0.25s ease, opacity 0.25s ease;
}

.lnf-video__play:hover,
.lnf-video__play:focus-visible {
    background: rgba(15, 42, 28, 0.42);
}

.lnf-video__play:focus-visible {
    outline: 3px solid #74f0af;
    outline-offset: -6px;
}

.lnf-video__play-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    position: relative;
}

.lnf-video__play-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-40%, -50%);
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #ffffff;
}

.lnf-video__play-label {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.lnf-video.is-playing .lnf-video__play {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .video-section {
        padding: 56px 0;
    }

    .lnf-video {
        border-radius: 14px;
    }

    .lnf-video__play-icon {
        width: 60px;
        height: 60px;
    }

    .lnf-video__play-icon::before {
        border-width: 10px 0 10px 16px;
    }
}

/* ===========================
   PAGINA VIDEO DEDICATA
=========================== */

.page-video {
    --header-height: 90px;
    background: #0f2a1c;
    min-height: 100vh;
}

.page-video .header {
    background: #ffffff;
}

.video-page {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 4vh, 48px) 0 56px;
    background: linear-gradient(180deg, #f7faf9 0%, #eef5f1 100%);
}

.video-page__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 1.5rem;
}

.video-page__title {
    color: var(--text);
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
}

.video-page__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.25s ease;
}

.video-page__close:hover {
    background: var(--green-dark);
}

.video-page .lnf-video {
    max-width: 1100px;
}

.video-page__note {
    margin-top: 1.25rem;
    text-align: center;
    color: var(--gray);
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .video-page__toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .video-page__close {
        width: 100%;
    }
}
