:root {
    /* PALETTE CHIARA IN LINEA CON IL SITO */
    --bg: #f6f8fb; /* sfondo pagina chiaro */
    --bg-soft: #ffffff; /* sezioni / card bianche */
    --text: #2b2f33; /* testo principale scuro */
    --muted: #6f7a85; /* testo secondario/grigio */
    --accent: #d4b06a; /* oro tenue */
    --accent-dark: #b6904b; /* oro leggermente più scuro */
    --line: #e6ebf0; /* linee divisorie */
    --radius: 14px;
    --shadow: 0 10px 24px rgba(21, 27, 38, .08);
}

/* ----- HERO (chiaro) ----- */
.hero {
    position: relative;
    min-height: 54vh;
    display: flex;
    align-items: center;
    background: var(--bg);
    color: #fff;
}

.hero-media {
    position: absolute;
    inset: 0;
    background: url('../assets/hero-taormina.webp') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.15));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 7vh 2vw;
    max-width: 900px;
    margin-inline: auto;
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .78rem;
    color: rgba(255,255,255,.92);
}

.hero h1 {
    margin: .35rem 0 .8rem;
    font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3rem);
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.lead {
    max-width: 60ch;
    color: rgba(255,255,255,.95);
}

.narrow h2{
    text-align: center
}

.btn {
    display: inline-block;
    margin-top: .8rem;
    padding: .75rem 1.1rem;
    background: linear-gradient(180deg, var(--accent), var(--accent-dark));
    color: #1c1f23;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow);
}

/* ----- INTRO ----- */
.intro {
    background: var(--bg);
    color: var(--text);
    padding: 58px 20px;
    text-align: center;
}

    .intro h2 {
        font-size: 1.6rem;
        margin: 0 0 .4rem;
    }

    .intro p {
        color: var(--muted);
        max-width: 760px;
        margin: 0 auto;
    }

/* ----- FEATURES (nuova) ----- */
.features {
    background: var(--bg-soft);
    padding: 54px 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

    .features .f-list {
        max-width: 860px;
        margin: 0 auto;
        padding: 0;
        list-style: none;
        display: grid;
        gap: 14px;
    }

        .features .f-list li {
            background: var(--bg);
            border: 1px solid var(--line);
            border-left: 3px solid var(--accent);
            border-radius: var(--radius);
            padding: 14px 16px;
            color: var(--muted);
            box-shadow: var(--shadow);
        }

        .features .f-list strong {
            color: var(--text);
        }

/* ----- STORY (nuova) ----- */
.story {
    background: var(--bg);
    padding: 60px 20px;
}

    .story .container {
        max-width: 860px;
    }

    .story h2 {
        margin: 0 0 .6rem;
        color: var(--text);
    }

    .story p {
        color: var(--muted);
        line-height: 1.7;
    }

/* ----- TIMELINE (chiara) ----- */
.timeline {
    background: var(--bg);
    padding: 64px 20px;
}

.t-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 22px;
    align-items: start;
    max-width: 980px;
    margin: 0 auto 32px;
    position: relative;
}

    .t-item:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 60px;
        top: 64px;
        bottom: -16px;
        width: 2px;
        background: linear-gradient(var(--accent), transparent 70%);
        opacity: .35;
    }

.t-year {
    text-align: center;
    font-weight: 600;
    color: #3a3f45;
    font-size: 1.05rem;
    position: relative;
}

    .t-year::before {
        content: "";
        position: absolute;
        left: 18px;
        right: 18px;
        top: 50%;
        height: 1px;
        background: var(--line);
    }

.t-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow);
}

    .t-card h3 {
        margin: .1rem 0 .35rem;
        font-size: 1.1rem;
        color: #24282d;
    }

    .t-card p {
        margin: 0;
        color: var(--muted);
        line-height: 1.6;
    }

/* ----- CTA ----- */
.cta {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    text-align: center;
    padding: 72px 20px;
}

    .cta h2 {
        margin: 0 0 .4rem;
        color: var(--text);
    }

    .cta p {
        color: var(--muted);
        margin: 0 0 1rem;
    }

/* ----- RESPONSIVE ----- */
@media (max-width: 900px) {
    .hero {
        min-height: 48vh;
        text-align: center;
    }

    .t-item {
        grid-template-columns: 90px 1fr;
    }

    .narrow h2 {
        text-align: center
    }
}

@media (max-width: 600px) {
    .t-item {
        grid-template-columns: 1fr;
    }

    .t-year {
        margin-bottom: .4rem;
    }

    .hero-content {
        padding: 5vh 1rem;
    }

    .narrow h2 {
        text-align: center
    }
}

/* utilità accessibilità minimale */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.narrow h2 {
    text-align: center
}
