/* ─────────────────────────────────────────
   SEMM ITALIAN — Stylesheet condiviso
   ───────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Montserrat', sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
    background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

:root {
    --blue:      #1a3a99;
    --blue-dark: #0e2166;
    --blue-mid:  #1e50c0;
    --green:     #009246;
    --red:       #CE2B37;
    --gold:      #c9a227;
    --gray:      #f5f7fa;
    --gray2:     #eef2f9;
}

/* ── TRICOLOR BAR ── */
.tricolor { height: 5px; background: linear-gradient(90deg, var(--green) 33.33%, #fff 33.33%, #fff 66.66%, var(--red) 66.66%); }

/* ── NAVBAR ── */
.navbar {
    position: sticky; top: 0; z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    padding: 0 2.5rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 58px;
}
/* Homepage: nessun logo — solo links a destra */
.navbar.navbar-home { justify-content: space-between; }
.navbar-logo { line-height: 1; }
.navbar-logo-img { height: 52px; width: auto; display: block; }
.navbar-links { display: flex; gap: 2.5rem; list-style: none; }
.navbar-links a {
    font-weight: 700; font-size: 0.9rem;
    color: var(--blue-dark); text-transform: uppercase; letter-spacing: 0.5px;
    transition: color 0.2s;
}
.navbar-links a:hover,
.navbar-links a.active { color: var(--red); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 0.3rem; }
.dd-arrow { font-size: 0.7em; transition: transform 0.2s; display: inline-block; }
.has-dropdown:hover .dd-arrow,
.has-dropdown.open .dd-arrow { transform: rotate(180deg); }
.dropdown-menu {
    display: none;
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    background: #fff; border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    list-style: none; padding: 18px 0 0.5rem; min-width: 280px; white-space: nowrap;
    z-index: 999;
}
.dropdown-menu::before {
    content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
    border: 6px solid transparent; border-top: none;
    border-bottom-color: #fff; filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.05));
}
.dropdown-menu li a {
    display: block; padding: 0.55rem 1.25rem;
    font-size: 0.85rem; font-weight: 600;
    color: var(--blue-dark); text-transform: none; letter-spacing: 0;
    transition: background 0.15s, color 0.15s;
}
.dropdown-menu li a:hover { background: #f0f3fb; color: var(--blue); }
.has-dropdown:hover .dropdown-menu { display: block; }
.navbar-hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
}
.navbar-hamburger span {
    display: block; width: 26px; height: 2px;
    background: var(--blue); border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
    transform-origin: center;
}
.navbar-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BUTTONS ── */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem; border-radius: 4px;
    font-weight: 700; font-size: 0.95rem;
    text-transform: uppercase; letter-spacing: 0.8px;
    transition: all 0.22s; border: 2px solid transparent; cursor: pointer;
}
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.82rem; }
.btn-blue  { background: var(--blue-mid); color: #fff; border-color: var(--blue-mid); }
.btn-blue:hover  { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-white { background: #fff; color: var(--blue); border-color: #fff; }
.btn-white:hover { background: rgba(255,255,255,0.9); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-outline-blue { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: #fff; }
.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: #007a38; }
.btn-red  { background: var(--red); color: #fff; border-color: var(--red); }
.btn-gold { background: var(--gold); color: #0a1744; border-color: var(--gold); font-weight: 800; }
.btn-gold:hover { background: #b08d20; }

/* ── SECTION BASE ── */
.section { padding: 5rem 2.5rem; }
.content-section { padding: 4rem 2.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--blue); margin-bottom: 0.6rem;
}
.section-label-light { color: rgba(255,255,255,0.5); }
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 900; line-height: 1.15; margin-bottom: 1.4rem; }
.section-title-white { color: #fff; }
.section-text { font-size: 1.05rem; line-height: 1.8; color: #4a4a60; }
.section-text-white { color: rgba(255,255,255,0.87); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
    background: linear-gradient(135deg, #0a1744 0%, var(--blue) 60%, var(--blue-mid) 100%);
    padding: 6rem 2.5rem 5rem;
    text-align: center; color: #fff; position: relative; overflow: hidden;
}
.page-hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, var(--green) 33.33%, #fff 33.33%, #fff 66.66%, var(--red) 66.66%);
}
.page-hero-deco {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    font-size: clamp(10rem, 22vw, 22rem); font-weight: 900;
    color: rgba(255,255,255,0.04); line-height: 1; pointer-events: none;
}
.page-hero-label {
    font-size: 0.8rem; font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 1rem;
}
.page-hero-title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.1; color: #fff; }
.page-hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-top: 1rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ── FOOTER ── */
.footer { background: var(--blue-dark); padding: 4rem 2.5rem 2.5rem; }
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem; max-width: 1200px; margin: 0 auto 3rem;
}
.footer-logo { font-size: 1.4rem; font-weight: 900; color: #fff; margin-bottom: 1rem; }
.footer-logo em { font-style: italic; font-weight: 400; }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.7; }
.footer-tagline a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-tagline a:hover { color: #fff; text-decoration: underline; }
.footer h4 {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1rem;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.55rem; }
.footer ul a { font-size: 0.95rem; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.35); }

/* ─────────────────────────────────────────
   HOMEPAGE
   ───────────────────────────────────────── */

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    line-height: 0;
}
.hero-img {
    width: 100%;
    height: auto;
    display: block;
}
.hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, var(--green) 33.33%, #fff 33.33%, #fff 66.66%, var(--red) 66.66%);
    z-index: 3;
}

/* Swoosh SVG tricolore */
.hero-swoosh {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Logo "80 semm ITALIAN" */
.hero-logo {
    position: relative;
    z-index: 2;
    line-height: 1;
    display: inline-flex;
    flex-direction: column;
}
.hero-logo-80-wrap {
    position: relative;
    display: inline-block;
    line-height: 0.88;
}
.hero-n80 {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(110px, 16vw, 200px);
    font-weight: 900;
    color: #0d1f5c;
    letter-spacing: -8px;
    line-height: 0.88;
}
.hero-semm {
    position: absolute;
    font-family: 'Dancing Script', cursive;
    font-size: clamp(40px, 5.5vw, 70px);
    font-weight: 700;
    color: #0d1f5c;
    top: 54%;
    left: 38%;
    transform: translateY(-50%);
    white-space: nowrap;
    letter-spacing: 1px;
}
.hero-italian {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(55px, 8vw, 100px);
    font-weight: 900;
    color: #0d1f5c;
    letter-spacing: 6px;
    line-height: 1;
    margin-top: 0.04em;
    text-transform: uppercase;
}

/* CTA button */
.hero-cta-row { position: relative; z-index: 2; }
.btn-hero-cta {
    display: inline-block;
    background: #1e50c0;
    color: #fff;
    padding: 0.72rem 1.7rem;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.83rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: none;
    transition: background 0.2s;
    cursor: pointer;
}
.btn-hero-cta:hover { background: #0d1f5c; }

/* Intro */
.intro-section { background: #fff; text-align: center; }
.intro-badge { display: inline-block; background: var(--blue); color: #fff; font-size: 0.85rem; font-weight: 700; padding: 0.45rem 1.4rem; border-radius: 50px; letter-spacing: 1px; margin-bottom: 1.5rem; }
.intro-section .section-title { color: var(--blue); }
.intro-section .section-text { max-width: 820px; margin: 0 auto; font-size: 1.1rem; }

/* Cards */
.cards-section { background: var(--gray2); padding: 4.5rem 2.5rem; }
.cards-header { max-width: 1200px; margin: 0 auto 2.5rem; }
.cards-header .section-title { color: var(--blue-dark); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.card { background: #fff; border-radius: 14px; padding: 2rem 1.75rem; box-shadow: 0 4px 24px rgba(26,58,153,0.09); transition: transform 0.22s, box-shadow 0.22s; display: block; color: inherit; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 36px rgba(26,58,153,0.18); }
.card-icon { width: 58px; height: 58px; border-radius: 14px; background: var(--blue); font-size: 1.8rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.card.card-has-img { padding: 0; overflow: hidden; }
.card-img { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform 0.35s; }
.card-has-img:hover .card-img { transform: scale(1.05); }
.card-has-img .card-cat,
.card-has-img .card-title { padding: 0 1.5rem; }
.card-has-img .card-cat { padding-top: 1.25rem; }
.card-has-img .card-title { padding-bottom: 1.5rem; }
.card-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 0.4rem; }
.card-title { font-size: 1.1rem; font-weight: 800; color: #1a1a2e; line-height: 1.3; }

/* Tuscania banner card */
.card-tuscania-banner {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 14px;
    overflow: hidden;
    background: #060c26;
    border-top: 4px solid var(--gold);
    box-shadow: 0 8px 40px rgba(6,12,38,0.35);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s, transform 0.25s;
}
.card-tuscania-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 56px rgba(6,12,38,0.5);
}
.ctb-text {
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.85rem;
}
.ctb-text h3 {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
}
.ctb-text h3 em { font-style: italic; color: var(--gold); }
.ctb-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.72);
    max-width: 560px;
}
.ctb-cta {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--gold);
    text-transform: uppercase;
}
.ctb-img {
    overflow: hidden;
    position: relative;
}
.ctb-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    transition: transform 0.4s;
}
.card-tuscania-banner:hover .ctb-img img { transform: scale(1.05); }

@media (max-width: 640px) {
    .card-tuscania-banner { grid-template-columns: 1fr; }
    .ctb-img { height: 200px; }
    .ctb-text { padding: 1.75rem; }
}

/* Ragazza del '46 */
.ragazza-section { background: var(--blue); padding: 5rem 2.5rem; }
.ragazza-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.ragazza-photo-wrap { border-radius: 10px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.35); }
.ragazza-photo-wrap img { width: 100%; display: block; filter: grayscale(100%); }
.photo-placeholder { width: 100%; aspect-ratio: 3/4; background: linear-gradient(145deg, #222 0%, #555 100%); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.3); font-size: 0.9rem; font-style: italic; text-align: center; padding: 1rem; }
.logo-80 { font-size: 4.5rem; font-weight: 900; line-height: 0.95; color: rgba(255,255,255,0.12); margin-bottom: 1.5rem; letter-spacing: -2px; }
.logo-80 small { font-size: 1.4rem; font-style: italic; font-weight: 400; display: block; letter-spacing: 0; }
.ragazza-text { font-size: 1rem; line-height: 1.85; color: rgba(255,255,255,0.88); }
.ragazza-text strong { color: #fff; }

/* Percorso */
.percorso-section { background: var(--blue-dark); padding: 5rem 2.5rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.step { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.13); border-radius: 12px; padding: 2rem 1.75rem; }
.step-num { font-size: 3rem; font-weight: 900; color: rgba(255,255,255,0.18); line-height: 1; margin-bottom: 0.75rem; }
.step h3 { font-size: 1.05rem; font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.step p { font-size: 0.95rem; line-height: 1.7; color: rgba(255,255,255,0.78); }

/* L'Appuntamento Finale */
.appuntamento-section {
    background: linear-gradient(135deg, #0a1744 0%, #1a3a99 60%, #1e50c0 100%);
    padding: 5rem 2.5rem;
    position: relative;
    overflow: hidden;
}
.appuntamento-section::before {
    content: '📷';
    position: absolute; right: -2rem; top: 50%; transform: translateY(-50%);
    font-size: 22rem; opacity: 0.04; pointer-events: none; line-height: 1;
}
.appuntamento-grid {
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 5rem; align-items: center; max-width: 1100px; margin: 0 auto;
}
.appuntamento-pill {
    display: inline-block; background: rgba(255,255,255,0.15);
    color: #fff; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    padding: 0.4rem 1.1rem; border-radius: 50px; margin-bottom: 1.25rem;
    border: 1px solid rgba(255,255,255,0.25);
}
.appuntamento-text { font-size: 1rem; line-height: 1.85; color: rgba(255,255,255,0.87); }
.appuntamento-text strong { color: #fff; }
.appuntamento-info {
    display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem;
    padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.15);
}
.appuntamento-info-item {
    display: flex; align-items: center; gap: 1rem;
}
.appuntamento-info-icon { font-size: 1.5rem; }
.appuntamento-info-item strong { display: block; color: #fff; font-size: 1rem; }
.appuntamento-info-item small { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.appuntamento-visual { display: flex; align-items: center; justify-content: center; }
.appuntamento-frame {
    width: 100%; aspect-ratio: 4/3;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 24px 64px rgba(0,0,0,0.3);
    overflow: hidden;
}
.appuntamento-frame-inner {
    text-align: center; color: rgba(255,255,255,0.35);
}
.appuntamento-frame-inner span { font-size: 4rem; display: block; margin-bottom: 0.75rem; }
.appuntamento-frame-inner p { font-size: 0.95rem; line-height: 1.6; }
.appuntamento-frame-inner em { font-style: italic; }
.appuntamento-quote {
    font-weight: 700;
    color: #fff !important;
    border-left: 3px solid rgba(255,255,255,0.3);
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}

/* Per i più piccoli */
.piccoli-section { background: #f8f9fc; padding: 5rem 2.5rem; }
.piccoli-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 3rem; }
.piccoli-grid.piccoli-grid-2col { grid-template-columns: repeat(2, 1fr); }
.piccoli-card { background: #fff; border-radius: 14px; padding: 2rem 1.75rem; box-shadow: 0 4px 20px rgba(0,0,0,0.07); border-top: 4px solid var(--blue); }
.piccoli-card.green { border-top-color: var(--green); }
.piccoli-card.red   { border-top-color: var(--red); }
.piccoli-icon { font-size: 2.5rem; margin-bottom: 1rem; min-height: 3.5rem; display: flex; align-items: center; }
.piccoli-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--blue); margin-bottom: 0.75rem; line-height: 1.3; }
.piccoli-card p  { font-size: 0.95rem; line-height: 1.7; color: #555; margin-bottom: 1rem; }

/* Città in Fiore */
.fiore-section { background: #fff; padding: 5rem 2.5rem; }
.fiore-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: center; }
.contest-pill { display: inline-block; background: var(--green); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 0.4rem 1.1rem; border-radius: 50px; margin-bottom: 1.25rem; }
.tricolor-stripe { display: flex; gap: 0.5rem; margin: 1.75rem 0; }
.tricolor-stripe span { flex: 1; height: 7px; border-radius: 4px; }
.fiore-box { background: var(--gray); border-radius: 14px; padding: 2rem; }
.fiore-poster-link:hover img { transform: translateY(-4px); box-shadow: 0 20px 56px rgba(0,0,0,0.22) !important; }
.fiore-box h3 { font-size: 1rem; font-weight: 800; color: var(--blue); margin-bottom: 0.75rem; }
.fiore-box p  { font-size: 0.95rem; line-height: 1.7; color: #555; }

/* Pranzo Repubblicano */
.pranzo-section { background: var(--blue); padding: 5rem 2.5rem; }
.pranzo-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.pranzo-list { list-style: none; margin: 1.5rem 0 1.75rem; }
.pranzo-list li { padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 1rem; color: rgba(255,255,255,0.9); display: flex; align-items: flex-start; gap: 0.75rem; }
.pranzo-price-box { display: inline-flex; flex-direction: column; background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.35); border-radius: 10px; padding: 1rem 2rem; margin: 1.5rem 0; }
.pranzo-price-box .price { font-size: 2.5rem; font-weight: 900; color: #fff; line-height: 1; }
.pranzo-price-box small { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-top: 0.2rem; }
.pranzo-note { font-size: 0.88rem; color: rgba(255,255,255,0.55); font-style: italic; margin-top: 0.75rem; }
.pranzo-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.75rem; }
.menu-img-wrap { border-radius: 14px; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,0.35); }
.menu-img-wrap img { width: 100%; display: block; }

/* Sport */
.sport-section { background: var(--gray); padding: 5rem 2.5rem; }
.sport-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.sport-subtitle { font-size: 1.1rem; font-weight: 800; color: var(--blue); margin-bottom: 1rem; line-height: 1.4; }
.sport-ul { list-style: disc; padding-left: 1.4rem; margin-top: 0; }
.sport-ul li { padding: 0.45rem 0; font-size: 1rem; color: #333; line-height: 1.6; }
.sport-list { list-style: none; margin-top: 1.5rem; }
.sport-list li { padding: 0.75rem 0; border-bottom: 1px solid #ddd; display: flex; align-items: center; gap: 0.75rem; font-size: 1rem; color: #333; }
.sport-highlight { background: var(--blue); border-radius: 16px; padding: 3rem 2.5rem; color: #fff; display: flex; flex-direction: column; justify-content: center; min-height: 360px; }
.sport-highlight h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.75rem; }
.sport-highlight p  { font-size: 0.95rem; line-height: 1.7; color: rgba(255,255,255,0.82); }
.sport-ul-white { color: rgba(255,255,255,0.9); }
.sport-ul-white li { color: rgba(255,255,255,0.9); padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.sport-ul-white li:last-child { border-bottom: none; }
.sport-ul-white strong { color: #fff; }

/* Concerto */
.concerto-section { background: #080f2e; padding: 5rem 2.5rem; }
.artists-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.artist-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 2.5rem 1.75rem; text-align: center; }
.artist-icon { font-size: 2.8rem; margin-bottom: 1rem; }
.artist-card h3 { font-size: 1.3rem; font-weight: 900; color: #fff; margin-bottom: 0.5rem; }
.artist-card p  { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
.concerto-btns { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Concerto layout */
.concerto-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem;
    align-items: start;
}
.concerto-poster-wrap { position: sticky; top: 80px; }
.concerto-poster {
    width: 100%; border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    cursor: zoom-in;
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
}
.concerto-poster:hover { transform: scale(1.02); box-shadow: 0 28px 70px rgba(0,0,0,0.65); }
.concerto-poster-hint { text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-top: 0.75rem; }

/* Esibizioni */
.esibizioni-section { background: #f8f9fc; padding: 5rem 2.5rem; }
.esibizioni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.esib-card { background: #fff; border-radius: 14px; padding: 2rem 1.75rem; box-shadow: 0 4px 20px rgba(0,0,0,0.07); border-top: 4px solid var(--blue); }
.esib-card.green  { border-top-color: var(--green); }
.esib-card.red    { border-top-color: var(--red); }
.esib-card.purple { border-top-color: #7c3aed; }
.esib-card.orange { border-top-color: #ea7820; }
.esib-card.gold   { border-top-color: var(--gold); }
.esib-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--blue); margin-bottom: 0.75rem; }
.esib-card p  { font-size: 0.95rem; line-height: 1.7; color: #555; }
.esib-card-wide { grid-column: 1 / -1; }
.esib-logos {
    display: flex; flex-wrap: wrap; gap: 1.25rem;
    margin-top: 1.5rem; padding-top: 1.25rem;
    border-top: 1px solid #eef0f8;
    align-items: flex-start;
}
.esib-logo-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 0.4rem; flex: 0 0 auto;
}
.esib-logo-item img {
    width: 72px; height: 72px;
    object-fit: cover; border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.esib-logo-item span {
    font-size: 0.7rem; font-weight: 700; color: #666;
    text-align: center; max-width: 80px; line-height: 1.3;
}
.esib-two-col {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2.5rem; margin-top: 1.25rem;
}
.esib-sub-title {
    font-size: 0.95rem; font-weight: 800; color: var(--blue);
    margin-bottom: 0.75rem; line-height: 1.4;
}

/* Tuscania */
.tuscania-section {
    border-top: 4px solid var(--gold);
    padding: 6rem 2.5rem;
    position: relative;
    background:
        linear-gradient(to left, rgba(6,12,38,0.96) 0%, rgba(6,12,38,0.92) 45%, rgba(6,12,38,0.55) 70%, rgba(6,12,38,0.15) 100%),
        url('../img/BANDIERA CC.webp') left center / cover no-repeat;
}
.tuscania-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.tuscania-photos { display: flex; flex-direction: column; gap: 0.5rem; }
.tuscania-ph { width: 100%; border-radius: 10px; object-fit: cover; display: block; }
.tuscania-ph-main { height: 280px; }
.tuscania-ph-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.tuscania-ph-small { height: 150px; }
.tuscania-badge { display: inline-block; background: var(--gold); color: #080f2e; font-size: 0.72rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; padding: 0.4rem 1.1rem; border-radius: 4px; margin-bottom: 1.5rem; }
.tuscania-medals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.medal-box { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.13); border-radius: 10px; padding: 1.25rem 1rem; text-align: center; }
.medal-box .num { font-size: 2.2rem; font-weight: 900; color: var(--gold); }
.medal-box .lbl { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 0.2rem; }
.tuscania-text { font-size: 1rem; line-height: 1.85; color: rgba(255,255,255,0.84); }
.tuscania-text strong { color: #fff; }

/* Programma */
.programma-section { background: #fff; padding: 5rem 2.5rem; }
.programma-section .section-title { color: var(--blue); }
.timeline { max-width: 820px; margin: 3rem auto 0; }
.tl-item { display: grid; grid-template-columns: 130px 1fr; gap: 2rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid #ebebf3; }
.tl-item:last-child { border-bottom: none; margin-bottom: 0; }
.tl-time { font-size: 1rem; font-weight: 800; color: var(--blue); text-align: right; padding-top: 0.2rem; line-height: 1.4; }
.tl-body h3 { font-size: 1.05rem; font-weight: 800; color: #1a1a2e; margin-bottom: 0.5rem; }
.tl-body p  { font-size: 0.95rem; line-height: 1.7; color: #555; }
.tl-body a  { color: var(--blue); font-weight: 700; text-decoration: underline; }

/* ─────────────────────────────────────────
   CONCORSO — sezione homepage + pagina dedicata
   ───────────────────────────────────────── */
.concorso-body { background: #fff; }

.concorso-section { background: #fff; padding: 5rem 2.5rem; }
.concorso-pill {
    display: inline-block;
    background: var(--blue); color: #fff;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    padding: 0.4rem 1.1rem; border-radius: 50px; margin-bottom: 1.25rem;
}
.concorso-lead { font-size: 1.05rem; color: #555; line-height: 1.7; max-width: 650px; margin: 0 auto 2rem; }

.concorso-form-wrap {
    background: var(--gray);
    border-radius: 16px;
    padding: 2.5rem;
}
.concorso-form-centered {
    max-width: 680px;
    margin: 0 auto 4rem;
}
.concorso-finalisti-wrap {
    margin-top: 1rem;
}
.concorso-finalisti-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 1.5rem;
}
.concorso-form-title {
    font-size: 1.4rem; font-weight: 900;
    color: var(--blue); margin-bottom: 0.5rem;
}
.concorso-finalisti-title {
    font-size: 1.2rem; font-weight: 800;
    color: var(--blue); margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray2);
}

/* Form elements */
.concorso-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label {
    font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--blue-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #d0d8ee;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #1a1a2e;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--blue-mid);
    box-shadow: 0 0 0 3px rgba(30,80,192,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-check { flex-direction: row; align-items: center; gap: 0.6rem; }
.form-check input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; cursor: pointer; }
.form-check label { font-size: 0.88rem; color: #444; cursor: pointer; line-height: 1.4; }
.form-check label a { color: var(--blue); text-decoration: underline; }

.iscriviti-block {
    background: var(--blue); border-radius: 20px; padding: 3.5rem;
    text-align: center; margin: 4rem auto;
    max-width: 800px;
    box-shadow: 0 20px 60px rgba(26,58,153,0.25);
}
.iscriviti-block h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: #fff; margin-bottom: 0.75rem; }
.iscriviti-block p  { font-size: 1.05rem; color: rgba(255,255,255,0.82); margin-bottom: 2rem; }
.iscriviti-block .btn { font-size: 1.05rem; padding: 1rem 2.5rem; }
.link-white { color: rgba(255,255,255,0.75); font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.link-white:hover { color: #fff; }

.contest-icons {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.contest-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}
.contest-icon-item:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}
.contest-icon-item img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
}
.contest-icon-item span {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    text-align: center;
    max-width: 100px;
}

.finalisti-section { background: var(--gray2); padding: 5rem 2.5rem; }
.finalisti-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 3rem; }
.finalista-card { background: #fff; border-radius: 16px; padding: 2.5rem 2rem; text-align: center; box-shadow: 0 4px 24px rgba(26,58,153,0.1); position: relative; overflow: hidden; }
.finalista-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.finalista-card.gold-1::before { background: #c9a227; }
.finalista-card.silver-2::before { background: #9e9e9e; }
.finalista-card.bronze-3::before { background: #cd7f32; }
.finalista-pos { font-size: 3.5rem; margin-bottom: 0.5rem; }
.finalista-name { font-size: 1.3rem; font-weight: 900; color: var(--blue); margin-bottom: 0.25rem; }
.finalista-rank { font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #aaa; margin-bottom: 1.5rem; }
.video-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.5rem; background: var(--blue); color: #fff; border-radius: 50px; font-size: 0.88rem; font-weight: 700; transition: background 0.2s; }
.video-btn:hover { background: var(--blue-dark); }

.premi-section { background: #fff; padding: 5rem 2.5rem; }
.premi-placeholder { max-width: 700px; margin: 2rem auto 0; background: var(--gray); border-radius: 14px; padding: 3rem; text-align: center; border: 2px dashed #ccd; }
.premi-placeholder h3 { font-size: 1.2rem; font-weight: 800; color: var(--blue); margin-bottom: 0.5rem; }
.premi-placeholder p { font-size: 0.95rem; color: #888; }

/* ─────────────────────────────────────────
   GALLERY PAGE
   ───────────────────────────────────────── */
.gallery-body { background: var(--gray); }
.gallery-intro { background: #fff; padding: 3rem 2.5rem; text-align: center; }
.gallery-intro p { font-size: 1.05rem; color: #555; max-width: 600px; margin: 0 auto; }
.gallery-grid-wrap { max-width: 1400px; margin: 0 auto; padding: 3rem 2.5rem 5rem; }
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: dense;
    gap: 0.75rem;
}
.gallery-cell { border-radius: 8px; overflow: hidden; background: #ccc; cursor: pointer; }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.gallery-cell:hover img { transform: scale(1.05); }
.gallery-cell.wide  { grid-column: span 2; }
.gallery-cell.tall  { grid-row: span 2; }
.gallery-ph { width: 100%; aspect-ratio: 1; background: linear-gradient(135deg, var(--blue) 0%, #2563eb 100%); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.35); font-size: 0.85rem; font-style: italic; text-align: center; }
.gallery-ph.wide-ph  { aspect-ratio: 2/1; }
.gallery-ph.tall-ph  { aspect-ratio: 1/2; }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 2000; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 4px; object-fit: contain; }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.12); border: none; color: #fff; font-size: 3rem; line-height: 1; cursor: pointer; padding: 0.5rem 1rem; border-radius: 6px; transition: background 0.2s; z-index: 1; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ─────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────── */
@media (max-width: 960px) {
    .cards-grid     { grid-template-columns: repeat(2, 1fr); }
    .ragazza-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
    .steps-grid     { grid-template-columns: 1fr; }
    .piccoli-grid,
    .piccoli-grid.piccoli-grid-2col { grid-template-columns: 1fr; }
    .fiore-grid     { grid-template-columns: 1fr; }
    .pranzo-grid    { grid-template-columns: 1fr; }
    .sport-grid     { grid-template-columns: 1fr; }
    .artists-grid    { grid-template-columns: 1fr; }
    .concerto-layout { grid-template-columns: 1fr; }
    .concerto-poster-wrap { position: static; }
    .tuscania-grid  { grid-template-columns: 1fr !important; gap: 2rem; }
    .esibizioni-grid { grid-template-columns: repeat(2, 1fr); }
    .esib-two-col    { grid-template-columns: 1fr; }
    .finalisti-grid          { grid-template-columns: 1fr; }
    .concorso-finalisti-grid { grid-template-columns: 1fr; }
    .appuntamento-grid       { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-grid    { grid-template-columns: 1fr; }
    .gallery-masonry { grid-template-columns: repeat(3, 1fr); }
    .gallery-cell.wide { grid-column: span 1; }
    /* Dropdown mobile: inline invece di assoluto */
    .dropdown-menu {
        position: static; transform: none; box-shadow: none;
        border-radius: 0; padding: 0 0 0 1rem;
        border-left: 3px solid var(--blue);
        margin: 0.5rem 0 0.25rem;
    }
    .dropdown-menu::before { display: none; }
    .has-dropdown:hover .dropdown-menu { display: none; }
    .has-dropdown.open .dropdown-menu { display: block; }
    .dropdown-menu li a { padding: 0.4rem 0.75rem; font-size: 0.9rem; }
}
@keyframes menuSlideIn {
    from { opacity: 0; transform: translateY(-10px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
    /* ── NAVBAR MOBILE ── */
    .navbar-links { display: none; }
    .navbar-links.open {
        display: flex; flex-direction: column;
        position: fixed; top: 68px; left: 1rem; right: 1rem;
        background: #fff;
        border-radius: 20px;
        padding: 0.75rem 0 1rem;
        gap: 0;
        z-index: 999;
        overflow: hidden;
        box-shadow: 0 16px 48px rgba(26,58,153,0.14), 0 2px 8px rgba(0,0,0,0.06);
        animation: menuSlideIn 0.25s cubic-bezier(0.34,1.3,0.64,1);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    .navbar-links.open > li {
        border-bottom: 1px solid #f0f3fa;
    }
    .navbar-links.open > li:last-child {
        border-bottom: none;
    }
    .navbar-links.open > li > a {
        display: block;
        padding: 0.95rem 1.5rem;
        color: var(--blue-dark);
        font-size: 0.88rem; font-weight: 700;
        text-transform: uppercase; letter-spacing: 0.5px;
        transition: color 0.15s, background 0.15s;
        border-radius: 0;
    }
    .navbar-links.open > li > a:hover,
    .navbar-links.open > li > a.active {
        color: var(--blue-mid);
        background: #f5f7ff;
    }
    /* sub-dropdown nel menu mobile */
    .navbar-links.open .dropdown-menu {
        position: static; transform: none; box-shadow: none;
        border-radius: 10px; border-left: 3px solid var(--blue-mid);
        background: #f5f7ff;
        padding: 0.25rem 0 0.5rem 0;
        margin: 0 1rem 0.5rem 1.5rem;
        white-space: normal; min-width: 0;
    }
    .navbar-links.open .dropdown-menu li {
        border-bottom: none;
    }
    .navbar-links.open .dropdown-menu li a {
        color: var(--blue);
        padding: 0.5rem 1rem; font-size: 0.84rem;
    }
    .navbar-links.open .dropdown-menu li a:hover {
        color: var(--blue-mid);
        background: transparent;
    }
    .navbar-hamburger { display: flex; }

    /* ── LAYOUT MOBILE ── */
    .navbar { padding: 0 1rem; }
    .section,
    .cards-section,
    .ragazza-section,
    .percorso-section,
    .appuntamento-section,
    .piccoli-section,
    .fiore-section,
    .pranzo-section,
    .sport-section,
    .concerto-section,
    .esibizioni-section,
    .tuscania-section,
    .programma-section,
    .concorso-section,
    .finalisti-section,
    .premi-section { padding: 3rem 1rem; }
    .content-section { padding: 3rem 1rem; }
    .page-hero { padding: 3rem 1rem 2.5rem; }
    .footer { padding: 2.5rem 1rem; }
    .gallery-intro { padding: 2rem 1rem; }
    .gallery-grid-wrap { padding: 2rem 1rem 3rem; }
    .hero { padding: 0; }
    .hero-semm { left: 32%; font-size: clamp(32px, 7vw, 50px); }
    .cards-grid      { grid-template-columns: 1fr; }
    .form-row        { grid-template-columns: 1fr; }
    .esibizioni-grid { grid-template-columns: 1fr; }
    .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
    .gallery-cell.tall { grid-row: span 1; }
    .tl-item { grid-template-columns: 1fr; gap: 0.25rem; }
    .tl-time { text-align: left; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    /* ── CONCORSO FORM MOBILE ── */
    .iscriviti-block { padding: 1.75rem 1.25rem; }
    .concorso-outer  { padding-left: 1rem !important; padding-right: 1rem !important; }
    .concorso-form-wrap { padding: 1.5rem 1.25rem; border-radius: 12px; }
}
