/* ============================================================
   ACCADEMIA CALCIO DIGITALE — Landing Page
   Visual variety: alternating dark/light sections, gradients,
   decorative SVG elements, subtle patterns
   ============================================================ */

:root {
    --navy: #1a1a3e;
    --navy-deep: #12122e;
    --navy-light: #22224a;
    --navy-warm: #1e1a38;
    --gold: #d4a843;
    --gold-hover: #c49a35;
    --gold-soft: rgba(212, 168, 67, 0.08);
    --white: #ffffff;
    --off-white: #f5f3ef;
    --cream: #faf8f4;
    --text-dark: #222222;
    --text-muted: #666666;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: var(--white);
    background-color: var(--navy);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { color: var(--gold); text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.2; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }


/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background-color: rgba(26, 26, 62, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.site-header.scrolled { background-color: var(--navy); box-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.logo-link { display: flex; align-items: center; }
.logo-img { height: 50px; width: auto; }
.logo-link:hover { opacity: 0.85; }

.nav-list { display: flex; align-items: center; gap: 30px; }
.nav-link { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.75rem; color: var(--white); letter-spacing: 2px; text-transform: uppercase; }
.nav-link:hover { color: var(--gold); }
.nav-cta { background-color: var(--gold); color: var(--navy) !important; font-weight: 700; padding: 10px 24px; border-radius: 4px; font-size: 0.75rem; letter-spacing: 1px; }
.nav-cta:hover { background-color: var(--gold-hover); color: var(--navy) !important; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.hamburger, .hamburger::before, .hamburger::after { display: block; width: 24px; height: 2px; background-color: var(--white); }
.hamburger { position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.mobile-toggle.active .hamburger { background-color: transparent; }
.mobile-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.mobile-toggle.active .hamburger::after { top: 0; transform: rotate(-45deg); }


/* ============================================================
   HERO — gradient bg + decorative elements
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #1a1a3e 0%, #0f1a30 40%, #1a2840 70%, #1a1a3e 100%);
    background-image: linear-gradient(160deg, rgba(26,26,62,0.92) 0%, rgba(15,26,48,0.88) 40%, rgba(26,40,64,0.92) 70%, rgba(26,26,62,0.95) 100%), url('assets/img/bg-hero.png');
    background-size: cover;
    background-position: center;
}

/* Decorative circle */
.hero-deco-circle {
    position: absolute;
    top: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(212, 168, 67, 0.06);
    pointer-events: none;
}
.hero-deco-circle::after {
    content: '';
    position: absolute;
    top: 40px; left: 40px; right: 40px; bottom: 40px;
    border-radius: 50%;
    border: 1px solid rgba(212, 168, 67, 0.04);
}

/* Decorative lines */
.hero-deco-lines {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(212, 168, 67, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }

.hero-label {
    display: block; color: var(--gold); text-transform: uppercase; font-size: 0.8rem;
    letter-spacing: 3px; font-family: 'Montserrat', sans-serif; font-weight: 600; margin-bottom: 20px;
}
.hero-label::before { content: ''; display: inline-block; width: 40px; height: 2px; background-color: var(--gold); margin-right: 12px; vertical-align: middle; }

.hero-title { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 3.2rem; color: var(--white); line-height: 1.1; margin-bottom: 20px; }
.hero-subtitle { font-size: 1.25rem; color: var(--white); opacity: 0.9; margin-bottom: 16px; }
.hero-claim { font-style: italic; color: var(--gold); font-size: 1.15rem; margin-bottom: 32px; line-height: 1.5; }

.hero-stats { display: flex; gap: 40px; margin-bottom: 24px; }
.stat { text-align: center; }
.stat-number { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 2rem; color: var(--gold); display: block; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.6; }
.hero-schedule { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.hero-urgency { font-size: 0.85rem; opacity: 0.5; }


/* ============================================================
   HERO FORM CARD
   ============================================================ */
.hero-form-card { background: var(--white); border-radius: 12px; padding: 40px 32px; color: var(--text-dark); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.form-card-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--navy); margin-bottom: 24px; }

.candidatura-form .form-group { margin-bottom: 16px; }
.candidatura-form label { display: block; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; }
.hero-form-card label { color: var(--text-dark); }
.hero-form-card input, .hero-form-card textarea { border: 1px solid #ddd; border-radius: 6px; padding: 14px 16px; font-size: 0.95rem; width: 100%; color: #333; background: #fafafa; font-family: 'Open Sans', sans-serif; }
.hero-form-card input:focus, .hero-form-card textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15); }
.hero-form-card textarea { min-height: 80px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { text-align: center; font-size: 0.8rem; color: #999; margin-top: 12px; }


/* ============================================================
   BUTTONS
   ============================================================ */
.btn { display: inline-block; font-family: 'Montserrat', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; border: none; cursor: pointer; text-align: center; padding: 16px 32px; border-radius: 6px; font-size: 1rem; }
.btn-gold { background-color: var(--gold); color: var(--navy); }
.btn-gold:hover { background-color: var(--gold-hover); color: var(--navy); }
.btn-block { display: block; width: 100%; }


/* ============================================================
   VANTAGGI — LIGHT/CREAM SECTION (breaks the blue)
   ============================================================ */
.section-vantaggi {
    padding: 80px 0;
    background: var(--off-white);
    color: var(--text-dark);
}

.vantaggi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }

.vantaggio { text-align: center; }

.vantaggio-icons-row {
    display: flex; gap: 12px; justify-content: center; align-items: center;
    margin-bottom: 24px;
}

.tool-icon {
    width: 32px; height: 32px;
    opacity: 0.35;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.vantaggio:hover .tool-icon {
    opacity: 0.6;
}

.vantaggio:hover .tool-icon:nth-child(1) { transform: translateY(-3px); transition-delay: 0s; }
.vantaggio:hover .tool-icon:nth-child(2) { transform: translateY(-3px); transition-delay: 0.05s; }
.vantaggio:hover .tool-icon:nth-child(3) { transform: translateY(-3px); transition-delay: 0.1s; }
.vantaggio:hover .tool-icon:nth-child(4) { transform: translateY(-3px); transition-delay: 0.15s; }

.vantaggio h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; color: var(--navy); }
.vantaggio p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }


/* ============================================================
   PROGRAMMA — stacking cards with scroll-reveal
   ============================================================ */
.section-programma {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(170deg, #141430 0%, #16202e 50%, #14192a 100%);
}

.section-deco-dots {
    position: absolute; inset: 0; opacity: 0.03; pointer-events: none;
    background-image: radial-gradient(circle, var(--gold) 1px, transparent 1px);
    background-size: 30px 30px;
}

.programma-header { text-align: center; margin-bottom: 64px; position: relative; z-index: 1; }

.programma-label {
    display: inline-block;
    font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.75rem;
    color: var(--gold); text-transform: uppercase; letter-spacing: 4px;
    margin-bottom: 16px; opacity: 0.6;
    border: 1px solid rgba(212, 168, 67, 0.2); padding: 6px 20px; border-radius: 50px;
}

.programma-heading {
    font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 2.8rem;
    color: var(--white); line-height: 1.1;
}

/* Module grid */
.moduli-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative; z-index: 1;
    margin-bottom: 24px;
}

.modulo-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 40px 28px 32px;
    overflow: hidden;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease, background 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
}
.modulo-card.revealed { opacity: 1; transform: translateY(0); }
.modulo-card:hover {
    border-color: rgba(212,168,67,0.2);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}

.modulo-bg-number {
    position: absolute;
    top: -10px; right: -5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 7rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.06;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modulo-card:hover .modulo-bg-number { opacity: 0.12; }

.modulo-content { position: relative; z-index: 1; }

.modulo-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    line-height: 1.3;
    min-height: 3em;
}

.modulo-divider {
    width: 40px; height: 2px;
    background: var(--gold);
    opacity: 0.4;
    margin: 16px 0;
    transition: width 0.3s ease, opacity 0.3s ease;
}
.modulo-card:hover .modulo-divider { width: 60px; opacity: 0.7; }

.modulo-list { list-style: none; padding: 0; }
.modulo-list li {
    padding: 6px 0;
    padding-left: 16px;
    position: relative;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0; transform: translateX(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.modulo-list li.li-revealed { opacity: 1; transform: translateX(0); }

.modulo-list li::before {
    content: '';
    position: absolute; left: 0; top: 12px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.35;
}

/* Project Work banner */
.pw-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, rgba(212,168,67,0.1) 0%, rgba(212,168,67,0.03) 100%);
    border: 1px solid rgba(212,168,67,0.2);
    border-radius: 16px;
    padding: 28px 36px;
    position: relative; z-index: 1;
    opacity: 0; transform: translateY(50px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.pw-banner.revealed { opacity: 1; transform: translateY(0); }
.pw-icon {
    width: 56px; height: 56px; min-width: 56px;
    border-radius: 14px;
    background: rgba(212,168,67,0.12);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
}
.pw-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; font-size: 1.1rem;
    color: var(--gold); margin-bottom: 4px;
}
.pw-text p {
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem; line-height: 1.5;
}

/* CTA after modules */
.moduli-cta {
    text-align: center;
    margin-top: 48px;
    position: relative; z-index: 1;
}

/* Countdown */
.hero-countdown { margin: 24px 0 16px; }
.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
}
.countdown-boxes { display: flex; gap: 10px; }
.countdown-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 10px 14px;
    text-align: center;
    min-width: 58px;
}
.countdown-box span {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--gold);
    line-height: 1;
}
.countdown-box small {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Esperienze Pratiche */
.section-esperienze {
    padding: 100px 0;
    background: var(--cream);
    color: var(--text-dark);
    position: relative;
}
.esperienze-eyebrow {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 12px;
}
.esperienze-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2.6rem;
    color: var(--navy);
    margin-bottom: 56px;
}
.esperienze-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.esperienza-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 32px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.esperienza-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.esperienza-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(26,26,62,0.06);
    display: flex; align-items: center; justify-content: center;
    color: var(--navy);
    margin-bottom: 18px;
}
.esperienza-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 8px;
}
.esperienza-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}


/* ============================================================
   DOCENTI — warm purple-navy tint
   ============================================================ */
.section-docenti {
    padding: 100px 0;
    background: linear-gradient(180deg, #1e1835 0%, #1a1a3e 40%, #1c1a40 100%);
}

.section-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.2rem; color: var(--gold); margin-bottom: 16px; }

.docenti-section { /* wrapper from docenti.php */ }

.docenti-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

.docente-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212, 168, 67, 0.1);
    border-radius: 12px; padding: 30px 20px; text-align: center;
}

.docente-photo {
    width: 110px; height: 110px; border-radius: 50%;
    margin: 0 auto 18px; overflow: hidden;
    border: 3px solid rgba(212, 168, 67, 0.3);
    background: rgba(255,255,255,0.05);
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.docente-photo img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.docente-card:hover .docente-photo {
    border-color: var(--gold);
    transform: scale(1.05);
}

.docente-name { color: var(--gold); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; line-height: 1.3; }
.docente-role {
    color: rgba(255,255,255,0.6); font-size: 0.82rem; line-height: 1.5;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}
.docente-card:hover .docente-role,
.docente-card.active .docente-role {
    max-height: 120px; opacity: 1;
}

/* Director Feature Card */
.direttore-feature {
    display: flex; gap: 40px; align-items: center;
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.08) 0%, rgba(212, 168, 67, 0.02) 100%);
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: 16px; padding: 40px; margin-bottom: 48px;
}
.direttore-photo {
    width: 160px; height: 160px; min-width: 160px;
    border-radius: 50%; overflow: hidden;
    border: 3px solid rgba(212, 168, 67, 0.4);
}
.direttore-photo img { width: 100%; height: 100%; object-fit: cover; }
.direttore-label {
    font-family: 'Montserrat', sans-serif; font-weight: 700;
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 3px;
    color: var(--gold); opacity: 0.6; display: block; margin-bottom: 8px;
}
.direttore-name {
    font-family: 'Montserrat', sans-serif; font-weight: 800;
    font-size: 1.6rem; color: var(--white); margin-bottom: 12px;
}
.direttore-bio { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.7; }


/* ============================================================
   PARTNER
   ============================================================ */
.partner-section { margin-top: 80px; }
.partner-section h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--gold); margin-bottom: 32px; }

/* Partner Slider — infinite scroll */
.partner-slider {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    padding: 10px 0;
}

.partner-track {
    display: flex; gap: 28px;
    animation: partnerScroll 30s linear infinite;
    width: max-content;
}

.partner-track:hover { animation-play-state: paused; }

@keyframes partnerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-slide {
    flex-shrink: 0; width: 200px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212, 168, 67, 0.1);
    border-radius: 14px; padding: 24px 20px; text-align: center;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.partner-slide:hover {
    border-color: rgba(212, 168, 67, 0.3);
    background: rgba(255,255,255,0.07);
    transform: translateY(-4px);
}

.partner-type {
    font-family: 'Montserrat', sans-serif; font-size: 0.65rem;
    text-transform: uppercase; letter-spacing: 2px;
    color: rgba(255,255,255,0.45); margin-bottom: 14px; font-weight: 600;
    line-height: 1.4;
}
.partner-name {
    font-family: 'Montserrat', sans-serif; font-weight: 700;
    font-size: 0.85rem; color: var(--gold); margin-top: 8px;
}
.partner-logo {
    width: 72px; height: 72px; margin: 0 auto;
    border-radius: 12px; overflow: hidden;
    background: rgba(255,255,255,0.05);
}
.partner-logo img { width: 100%; height: 100%; object-fit: contain; }


/* ============================================================
   CHI E' PER TE — LIGHT/CREAM SECTION (second visual break)
   ============================================================ */
.section-chi {
    padding: 100px 0;
    background: #0f0f2d;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.section-chi::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(212,168,67,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(26,26,62,0.5) 0%, transparent 60%);
    pointer-events: none;
}

.chi-hero-text {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}
.chi-eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 16px;
}
.chi-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 3.2rem;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}
.chi-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.6);
    max-width: 500px;
    margin: 0 auto;
}

.chi-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 70px;
    position: relative;
}
.chi-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 32px 24px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.chi-card:hover {
    border-color: rgba(212,168,67,0.3);
    transform: translateY(-4px);
}
.chi-card-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.4rem;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 16px;
    line-height: 1;
}
.chi-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 10px;
}
.chi-card p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}

.chi-target {
    text-align: center;
    position: relative;
}
.chi-target-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    margin-bottom: 20px;
}
.chi-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}
.chi-tag {
    padding: 10px 22px;
    border: 1px solid rgba(212,168,67,0.25);
    border-radius: 50px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    background: rgba(212,168,67,0.06);
    transition: border-color 0.3s ease, background 0.3s ease;
}
.chi-tag:hover {
    border-color: var(--gold);
    background: rgba(212,168,67,0.12);
}
.chi-passion {
    font-style: italic;
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 600;
}


/* ============================================================
   CTA FINALE — deep navy with warm glow
   ============================================================ */
.section-cta {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(170deg, #1a1a3e 0%, #0e0e28 50%, #1a1a3e 100%);
    background-image: linear-gradient(170deg, rgba(26,26,62,0.93) 0%, rgba(14,14,40,0.9) 50%, rgba(26,26,62,0.95) 100%), url('assets/img/bg-cta.png');
    background-size: cover;
    background-position: center;
}

/* Subtle radial glow */
.section-deco-glow {
    position: absolute;
    top: -200px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 600px;
    background: radial-gradient(ellipse, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }
.cta-title { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 2.5rem; color: var(--gold); margin-bottom: 16px; }
.cta-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.7); margin-bottom: 48px; }

.form-wrapper { max-width: 560px; margin: 0 auto; text-align: left; }

.section-cta label { color: var(--white); }
.section-cta input, .section-cta textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px; padding: 14px 16px; font-size: 0.95rem;
    width: 100%; color: var(--white); font-family: 'Open Sans', sans-serif;
}
.section-cta input:focus, .section-cta textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15); }
.section-cta input::placeholder, .section-cta textarea::placeholder { color: rgba(255,255,255,0.3); }
.section-cta textarea { min-height: 100px; resize: vertical; }
.section-cta .form-note { color: rgba(255,255,255,0.4); }


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background-color: #0a0a1e;
    padding: 60px 0 0;
    border-top: 1px solid rgba(212, 168, 67, 0.1);
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo-img { height: 70px; width: auto; max-width: 200px; object-fit: contain; opacity: 0.9; align-self: flex-start; }
.footer-claim {
    color: rgba(255,255,255,0.45);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.5;
    max-width: 260px;
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.footer-col-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 16px;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-nav a {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    transition: color 0.3s ease;
    text-decoration: none;
}
.footer-nav a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; }
.social-link {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}
.social-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212,168,67,0.08);
    transform: translateY(-2px);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-copy {
    color: rgba(255,255,255,0.25);
    font-size: 0.78rem;
}
.footer-credits {
    color: rgba(255,255,255,0.25);
    font-size: 0.78rem;
}
.footer-credits a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-credits a:hover { color: var(--gold); }


/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-form-card { max-width: 520px; }
    .programma-heading { font-size: 2.2rem; }
    .moduli-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto 24px; }
    .modulo-bg-number { font-size: 5rem; }
    .modulo-title { min-height: auto; }
    .modulo-title br { display: none; }
    .docenti-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
    .direttore-feature { flex-direction: column; text-align: center; gap: 24px; padding: 28px 24px; }
    .direttore-photo { width: 120px; height: 120px; min-width: 120px; margin: 0 auto; }
    .vantaggi-row { grid-template-columns: 1fr; gap: 32px; }
    .chi-cards { grid-template-columns: repeat(2, 1fr); }
    .chi-title { font-size: 2.4rem; }
    .esperienze-grid { grid-template-columns: repeat(2, 1fr); }
    .esperienze-title { font-size: 2rem; }
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .programma-heading { font-size: 1.8rem; }
    .cta-title { font-size: 2rem; }
    .mobile-toggle { display: block; }
    .nav-list {
        position: absolute; top: 100%; left: 0; right: 0;
        width: 100%;
        background-color: var(--navy);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        z-index: 999;
        box-shadow: 0 12px 40px rgba(0,0,0,0.4);
        border-bottom: 1px solid rgba(212, 168, 67, 0.15);
        padding: 16px 0;
        display: none;
    }
    .nav-list.nav-open { display: flex; }
    .nav-list li { text-align: center; }
    .nav-list .nav-link { display: block; padding: 14px 24px; font-size: 0.85rem; }
    .nav-list .nav-link:hover { background: rgba(255,255,255,0.05); }
    .nav-list .nav-cta { margin: 8px 24px; text-align: center; border-radius: 4px; }
    .docenti-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .partner-slide { width: 180px; }
    .section-docenti, .section-chi, .section-cta, .section-programma { padding: 60px 0; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-brand { align-items: center; }
    .footer-claim { max-width: 100%; }
    .footer-columns { grid-template-columns: 1fr; gap: 24px; }
    .footer-nav { align-items: center; }
    .footer-social { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .hero-form-card { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .hero-claim { font-size: 1rem; }
    .section-vantaggi { padding: 48px 0; }
    .section-docenti, .section-chi, .section-cta, .section-programma { padding: 48px 0; }
    .docenti-grid { grid-template-columns: 1fr; }
    .chi-cards { grid-template-columns: 1fr; }
    .esperienze-grid { grid-template-columns: 1fr; }
    .chi-title { font-size: 1.8rem; }
    .chi-tag { font-size: 0.82rem; padding: 8px 16px; }
    .partner-slide { width: 160px; padding: 20px 16px; }
    .container { padding: 0 16px; }
}
