/* ============================================
   TRENTO FLYING CLUB - Demo 3 "Video Immersive"
   Enhanced Design v2
   ============================================ */

:root {
    --dark: #0b0f1a;
    --dark-2: #111827;
    --dark-card: #161d2e;
    --blue: #2563eb;
    --blue-light: #60a5fa;
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --gold-glow: rgba(245, 158, 11, 0.25);
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --font: 'Sora', -apple-system, sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-600); line-height: 1.65; overflow-x: hidden; background: var(--white); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s var(--ease); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; z-index: 1; background: var(--white); overflow-x: clip; /* 16/09/2026: le animazioni fade-left/right (±40px) sbordavano in orizzontale */ }
.section-dark { background: var(--dark); }
.section-alt { background: var(--gray-50); }

/* Progress Bar */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--blue-light), var(--gold)); background-size: 200% 100%; animation: shimmer 3s linear infinite; z-index: 9999; width: 0; transition: width 0.1s; }

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--blue-light) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tag {
    display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 3px; color: var(--gold); margin-bottom: 12px;
    position: relative; padding-left: 20px;
}
.tag::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
    box-shadow: 0 0 12px var(--gold-glow);
}
.tag-light { color: var(--gold-light); }
.tag-light::before { background: var(--gold-light); }

/* ===== NAV ===== */
.nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 0; transition: all 0.4s var(--ease); }
.nav.scrolled { background: rgba(11,15,26,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 10px 0; box-shadow: 0 1px 30px rgba(0,0,0,0.4); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.logo-img { height: 32px; transition: 0.3s; }
.nav-logo:hover .logo-img { filter: brightness(1.2); }
.nav-center { display: flex; gap: 32px; }
.nav-center a {
    color: rgba(255,255,255,0.55); font-size: 0.85rem; font-weight: 500;
    position: relative; padding-bottom: 4px;
}
.nav-center a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--gold); border-radius: 2px; transition: width 0.3s var(--ease);
}
.nav-center a:hover, .nav-center a.active { color: var(--white); }
.nav-center a:hover::after, .nav-center a.active::after { width: 100%; }
.nav-join {
    font-size: 0.82rem; font-weight: 600; color: var(--dark); background: var(--gold);
    padding: 10px 24px; border-radius: 100px; letter-spacing: 0.5px;
    box-shadow: 0 4px 15px var(--gold-glow);
}
.nav-join:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 25px var(--gold-glow); }
.hamburger { display: none; background: none; border: none; width: 28px; height: 20px; position: relative; cursor: pointer; z-index: 999; }
.hamburger span { position: absolute; width: 100%; height: 2px; background: var(--white); left: 0; transition: 0.3s; }
.hamburger span:first-child { top: 0; }
.hamburger span:last-child { bottom: 0; }
.hamburger.active span:first-child { top: 9px; transform: rotate(45deg); }
.hamburger.active span:last-child { bottom: 9px; transform: rotate(-45deg); }
.nav-overlay {
    position: fixed; inset: 0; background: rgba(11,15,26,0.97); z-index: 998;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: 0.4s;
}
.nav-overlay.active { opacity: 1; pointer-events: all; }
.nav-overlay-content { text-align: center; display: flex; flex-direction: column; gap: 24px; }
.nav-overlay-content a { color: var(--white); font-size: 1.5rem; font-weight: 500; }
.overlay-cta { color: var(--gold) !important; border: 1px solid var(--gold); padding: 14px 36px; border-radius: 100px; display: inline-block; margin-top: 16px; }

/* ===== HERO VIDEO ===== */
.hero { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; overflow: hidden; padding: 110px 0 40px; z-index: 0; }
.hero-spacer { height: 100vh; position: relative; pointer-events: none; }
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.hero-video-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,15,26,0.45) 0%, rgba(11,15,26,0.6) 50%, rgba(11,15,26,0.92) 100%);
}

/* Hero particles */
.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-particles span {
    position: absolute; width: 3px; height: 3px; border-radius: 50%;
    background: var(--gold); opacity: 0;
    animation: float-particle 8s infinite;
}
.hero-particles span:nth-child(1) { left: 15%; animation-delay: 0s; animation-duration: 7s; }
.hero-particles span:nth-child(2) { left: 35%; animation-delay: 1.5s; animation-duration: 9s; }
.hero-particles span:nth-child(3) { left: 55%; animation-delay: 3s; animation-duration: 6s; }
.hero-particles span:nth-child(4) { left: 75%; animation-delay: 4.5s; animation-duration: 8s; }
.hero-particles span:nth-child(5) { left: 90%; animation-delay: 2s; animation-duration: 10s; }

.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 24px; max-width: 800px; }
.hero-chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 20px; border-radius: 100px; font-size: 0.82rem;
    color: rgba(255,255,255,0.7); margin-bottom: 28px; backdrop-filter: blur(10px);
}
.chip-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; box-shadow: 0 0 10px var(--gold-glow); }
.hero-heading {
    font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 800; color: var(--white);
    line-height: 1.05; margin-bottom: 20px; letter-spacing: -2px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.hero-club-name {
    font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 600; letter-spacing: 6px;
    text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px;
    opacity: 0.85;
}
.hero-desc { font-size: clamp(0.95rem, 1.5vw, 1.15rem); color: rgba(255,255,255,0.5); margin-bottom: 36px; line-height: 1.7; }
.hero-btns { display: flex; align-items: center; justify-content: center; gap: 16px; }

/* Buttons */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px;
    background: var(--gold); color: var(--dark); border-radius: 100px;
    font-family: var(--font); font-weight: 700; font-size: 0.9rem; border: none; cursor: pointer;
    transition: all 0.3s var(--ease); position: relative;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px var(--gold-glow); }
.btn-glow { box-shadow: 0 4px 20px var(--gold-glow); }
.btn-glow:hover { box-shadow: 0 8px 40px rgba(245, 158, 11, 0.4); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px; padding: 16px 28px;
    background: rgba(255,255,255,0.06); color: var(--white); border-radius: 100px;
    font-family: var(--font); font-weight: 500; font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.12);
    cursor: pointer; transition: all 0.3s var(--ease); backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); transform: translateY(-2px); }
.btn-lg { padding: 18px 40px; font-size: 0.95rem; }
.btn-full { width: 100%; justify-content: center; border: none; cursor: pointer; }

/* Hero cards */
.hero-cards {
    position: relative; z-index: 2;
    display: inline-flex; gap: 1px; border-radius: 16px; overflow: hidden;
    background: rgba(255,255,255,0.04); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.hero-card { padding: 20px 40px; text-align: center; position: relative; transition: background 0.3s; }
.hero-card:hover { background: rgba(255,255,255,0.04); }
.hero-card + .hero-card::before {
    content: ''; position: absolute; left: 0; top: 20%; height: 60%;
    width: 1px; background: rgba(255,255,255,0.08);
}
.hc-number { display: block; font-size: 1.6rem; font-weight: 800; color: var(--white); }
.hc-label { font-size: 0.72rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1.5px; }

/* Scroll hint */
.scroll-hint {
    position: relative; z-index: 2; display: flex; flex-direction: column;
    align-items: center; gap: 8px;
}
.scroll-hint-text { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 3px; color: rgba(255,255,255,0.3); }
.scroll-hint-line { width: 1px; height: 40px; background: linear-gradient(180deg, rgba(255,255,255,0.3), transparent); animation: scroll-line 2s infinite; }

/* ===== SECTION INTRO ===== */
.section-intro { text-align: center; margin-bottom: 60px; }
.section-intro h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; color: var(--gray-900); letter-spacing: -1px; margin-bottom: 12px; }
.section-intro-light h2 { color: var(--white); }
.intro-sub { font-size: 1.05rem; color: var(--gray-500); max-width: 550px; margin: 0 auto; }

/* Section glow (Fleet) */
.section-glow { overflow: hidden; }
.section-glow::before {
    content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    opacity: 0.4; pointer-events: none;
}

/* ===== BENTO GRID ===== */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 16px; }
.bento-item { border-radius: var(--radius); overflow: hidden; position: relative; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.bento-item:hover { transform: translateY(-4px); }

.bento-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.bento-dark { background: var(--dark); color: var(--white); }
.bento-dark:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.bento-content { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.bento-content h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.bento-content p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.65; }
.bento-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.bento-item:hover .bento-img img { transform: scale(1.05); }
.bento-img-only img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.bento-img-only:hover img { transform: scale(1.08); }

.bento-accent {
    background: linear-gradient(135deg, var(--gold), #f97316);
    color: var(--dark); padding: 32px;
    display: flex; flex-direction: column; justify-content: center;
}
.bento-accent:hover { box-shadow: 0 12px 40px rgba(245,158,11,0.2); }
.bento-stat { font-size: 3.5rem; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.bento-accent p { font-size: 0.88rem; line-height: 1.5; }

.bento-feature {
    background: var(--white); border: 1px solid var(--gray-200); padding: 28px;
    display: flex; flex-direction: column; justify-content: center;
    transition: all 0.4s var(--ease);
}
.bento-feature:hover { border-color: var(--gold); box-shadow: 0 8px 30px rgba(245,158,11,0.08); }
.bento-feature svg { width: 28px; height: 28px; color: var(--gold); margin-bottom: 14px; transition: transform 0.3s; }
.bento-feature:hover svg { transform: scale(1.15); }
.bento-feature h4 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.bento-feature p { font-size: 0.85rem; color: var(--gray-500); }

/* ===== PANORAMIC ===== */
.panoramic { position: relative; height: 50vh; min-height: 350px; overflow: hidden; z-index: 1; }
.panoramic img { width: 100%; height: 120%; object-fit: cover; position: absolute; top: -10%; left: 0; will-change: transform; }
.panoramic-text {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(11,15,26,0.55); padding: 40px; z-index: 1;
}
.panoramic-text blockquote {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem); color: var(--white); text-align: center;
    max-width: 700px; font-weight: 300; line-height: 1.7; font-style: italic;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* ===== FLEET ===== */
.fleet-hero { border-radius: var(--radius); overflow: hidden; position: relative; margin-bottom: 24px; }
.fleet-hero-img img { width: 100%; height: 420px; object-fit: cover; transition: transform 0.8s var(--ease); }
.fleet-hero:hover .fleet-hero-img img { transform: scale(1.03); }
.fleet-hero-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, rgba(11,15,26,0.9), transparent);
    padding: 60px 32px 28px;
}
.fleet-hero-overlay p { color: rgba(255,255,255,0.7); max-width: 550px; font-size: 1rem; line-height: 1.7; }

.fleet-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pill {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm); padding: 20px; text-align: center;
    transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.pill::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(245,158,11,0.05), transparent);
    opacity: 0; transition: opacity 0.4s;
}
.pill:hover { border-color: rgba(245,158,11,0.25); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.pill:hover::before { opacity: 1; }
.pill-label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.3); margin-bottom: 6px; position: relative; }
.pill-value { font-size: 1rem; font-weight: 700; color: var(--gold-light); position: relative; }

/* ===== TOOLS GRID ===== */
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius); padding: 32px 24px; text-align: center;
    transition: all 0.4s var(--ease); position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: center;
}
.tool-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(245,158,11,0.06), transparent 60%);
    opacity: 0; transition: opacity 0.4s;
}
.tool-card:hover { border-color: rgba(245,158,11,0.3); transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.tool-card:hover::before { opacity: 1; }
.tool-icon { width: 52px; height: 52px; margin-bottom: 20px; position: relative; }
.tool-icon svg { width: 100%; height: 100%; color: var(--gold); transition: transform 0.3s; }
.tool-card:hover .tool-icon svg { transform: scale(1.15); }
.tool-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 8px; position: relative; }
.tool-card p { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.6; position: relative; }
.tool-badge {
    position: absolute; top: 16px; right: 16px;
    font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    background: rgba(245,158,11,0.15); color: var(--gold-light);
    padding: 4px 10px; border-radius: 100px;
}
.tool-badge-warn { background: rgba(239,68,68,0.15); color: #fca5a5; }

/* ===== GESTIFLY BANNER ===== */
.gestifly-banner {
    background: var(--dark-2); padding: 28px 0; position: relative; z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.04);
}
.gf-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.gf-text { display: flex; align-items: center; gap: 16px; flex: 1; }
.gf-badge {
    font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
    background: rgba(96,165,250,0.12); color: var(--blue-light);
    padding: 5px 12px; border-radius: 100px; white-space: nowrap; flex-shrink: 0;
}
.gf-text p { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.5; }
.gf-text strong { color: rgba(255,255,255,0.7); }
.gf-btn {
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    font-size: 0.82rem; font-weight: 600; color: var(--blue-light);
    padding: 10px 20px; border-radius: 100px;
    border: 1px solid rgba(96,165,250,0.2); background: rgba(96,165,250,0.06);
    transition: all 0.3s var(--ease);
}
.gf-btn:hover { background: rgba(96,165,250,0.12); border-color: rgba(96,165,250,0.35); transform: translateY(-1px); }

@media (max-width:768px) {
    .gf-inner { flex-direction: column; text-align: center; }
    .gf-text { flex-direction: column; }
}

/* ===== PHOTO STRIP ===== */
.photo-strip { overflow: hidden; padding: 6px 0; background: var(--dark); position: relative; z-index: 1; }
.strip-track { display: flex; gap: 6px; animation: scrollStrip 50s linear infinite; width: max-content; }
.strip-track:hover { animation-play-state: paused; }
.strip-track img {
    width: 320px; height: 210px; object-fit: cover; border-radius: 10px; flex-shrink: 0;
    transition: all 0.4s var(--ease); filter: brightness(0.85);
}
.strip-track img:hover { filter: brightness(1); transform: scale(1.04); z-index: 2; box-shadow: 0 8px 30px rgba(0,0,0,0.4); }

/* ===== TEAM ===== */
.team-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tcard { text-align: center; perspective: 800px; }
.tcard-img {
    position: relative; border-radius: var(--radius); overflow: hidden;
    aspect-ratio: 3/4; margin-bottom: 16px;
    transition: all 0.5s var(--ease); transform-style: preserve-3d;
}
.tcard:hover .tcard-img { transform: translateY(-10px) rotateY(-3deg) rotateX(2deg); box-shadow: 0 25px 50px rgba(0,0,0,0.15); }
.tcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.tcard:hover .tcard-img img { transform: scale(1.05); }
.tcard-role {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: var(--dark); font-size: 0.7rem; font-weight: 700;
    padding: 6px 16px; border-radius: 100px; text-transform: uppercase; letter-spacing: 1px;
    white-space: nowrap; box-shadow: 0 4px 15px var(--gold-glow);
}
.tcard h3 { font-size: 1rem; font-weight: 600; color: var(--gray-900); transition: color 0.3s; }
.tcard:hover h3 { color: var(--gold); }

/* ===== BASE ===== */
.base-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.base-left h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--gray-900); letter-spacing: -0.5px; margin-bottom: 16px; }
.base-left p { color: var(--gray-500); line-height: 1.75; margin-bottom: 28px; }
.base-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.base-chip {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
    padding: 16px; transition: all 0.3s var(--ease);
}
.base-chip:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,158,11,0.08); }
.base-chip span { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray-400); margin-bottom: 4px; }
.base-chip strong { font-size: 0.95rem; color: var(--gray-900); }
.base-right { position: relative; }
.base-right img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 15px 40px rgba(0,0,0,0.08); transition: transform 0.6s var(--ease); }
.base-right:hover img { transform: scale(1.02); }

/* ===== JOIN CTA ===== */
.section-join { position: relative; padding: 160px 0; text-align: center; overflow: hidden; z-index: 1; }
.join-bg { position: absolute; inset: 0; }
.join-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.2); transition: transform 8s ease-out; }
.section-join:hover .join-bg img { transform: scale(1.05); }
.join-content { position: relative; z-index: 2; }
.join-heading { font-size: clamp(2.5rem, 5vw, 4.2rem); font-weight: 800; color: var(--white); margin-bottom: 12px; letter-spacing: -1px; }
.join-content > p { font-size: 1.1rem; color: rgba(255,255,255,0.5); max-width: 500px; margin: 0 auto 30px; }
.join-contacts { margin-top: 20px; font-size: 0.88rem; color: rgba(255,255,255,0.3); }
.join-contacts a { color: rgba(255,255,255,0.45); }
.join-contacts a:hover { color: var(--gold); }
.join-contacts span { margin: 0 8px; }

/* ===== CONTACT ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--gray-900); margin-bottom: 28px; letter-spacing: -0.5px; }
.contact-rows { display: flex; flex-direction: column; }
.crow {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 0; border-bottom: 1px solid var(--gray-100); transition: all 0.3s var(--ease);
}
.crow:hover { padding-left: 12px; border-bottom-color: var(--gold); }
.crow span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gray-400); }
.crow strong { font-weight: 600; color: var(--gray-800); font-size: 0.92rem; transition: color 0.3s; }
.crow:hover strong { color: var(--gold); }

.cform { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 36px; transition: box-shadow 0.4s; }
.cform:focus-within { box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.cform h3 { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 20px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cform input, .cform textarea {
    width: 100%; padding: 14px 16px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
    font-family: var(--font); font-size: 0.9rem; background: var(--white); margin-bottom: 12px;
    transition: all 0.3s;
}
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,158,11,0.1); transform: translateY(-1px); }
.cform textarea { resize: vertical; }
.cform-feedback {
    margin-top: 12px; padding: 12px 16px; border-radius: var(--radius-sm);
    font-size: 0.88rem; font-weight: 500; display: none; text-align: center;
}
.cform-feedback.success { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.cform-feedback.error { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.cform button:disabled { opacity: 0.6; cursor: not-allowed; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.45); padding: 60px 0 24px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { height: 28px; margin-bottom: 14px; }
.footer-about p { font-size: 0.85rem; line-height: 1.8; }
.footer-links h4 { color: var(--white); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px; }
.footer-links a { display: block; font-size: 0.85rem; margin-bottom: 8px; transition: all 0.3s; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-bar { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.78rem; }
.footer-bar a { color: var(--gold); }

/* ===== ANIMATIONS ===== */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.7)} }
@keyframes scrollStrip { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
@keyframes scroll-line {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    30% { opacity: 1; transform: scaleY(1); }
    70% { opacity: 1; transform: scaleY(1); transform-origin: bottom; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}
@keyframes float-particle {
    0% { bottom: -5%; opacity: 0; transform: translateX(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { bottom: 105%; opacity: 0; transform: translateX(40px); }
}
@keyframes count-glow {
    0%, 100% { text-shadow: none; }
    50% { text-shadow: 0 0 20px var(--gold-glow); }
}

[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate].animated { opacity: 1; transform: none; }

/* ===== PAGE HEADER (pagine interne: strumenti, documenti) ===== */
.page-header {
    background: var(--dark); padding: 160px 0 80px; text-align: center;
    position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 800px; border-radius: 50%;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 60%);
    opacity: 0.3; pointer-events: none;
}
.page-header-content { position: relative; }
.page-header h1 {
    font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; color: var(--white);
    letter-spacing: -1px; margin-bottom: 12px;
}
.page-header p { font-size: 1.1rem; color: rgba(255,255,255,0.45); max-width: 550px; margin: 0 auto; }

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

/* Tablet landscape */
@media (max-width:1024px) {
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .bento-wide { grid-column: span 2; }
    .fleet-pills, .team-cards, .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .base-layout, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet portrait + mobile */
@media (max-width:768px) {
    /* Spacing & base */
    .section { padding: 72px 0; }
    .page-header { padding: 120px 0 60px; }
    .container { padding: 0 20px; }
    .section-intro { margin-bottom: 40px; }
    .section-intro h2 { font-size: 1.8rem; }
    .intro-sub { font-size: 0.92rem; }

    /* Nav mobile */
    .nav-center, .nav-join { display: none; }
    .hamburger { display: block; }
    .nav { padding: 16px 0; }
    .nav.scrolled { padding: 8px 0; }
    .logo-img { height: 28px; }

    /* Mobile overlay migliorato */
    .nav-overlay-content { gap: 20px; }
    .nav-overlay-content a { font-size: 1.3rem; }
    .overlay-cta { padding: 12px 28px; font-size: 1rem; margin-top: 12px; }

    /* Hero mobile */
    .hero { gap: 28px; padding: 80px 0 32px; }
    .hero-heading { font-size: 2.4rem; letter-spacing: -1px; margin-bottom: 14px; }
    .hero-club-name { font-size: 0.85rem; letter-spacing: 4px; margin-bottom: 12px; }
    .hero-desc { font-size: 0.9rem; margin-bottom: 28px; }
    .hero-desc br { display: none; }
    .hero-btns { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    .hero-btns .btn-primary,
    .hero-btns .btn-secondary { width: 100%; justify-content: center; }
    .btn-primary { padding: 14px 28px; font-size: 0.88rem; }
    .btn-secondary { padding: 14px 24px; font-size: 0.88rem; }

    /* Hero cards mobile - stacked orizzontale */
    .hero-cards {
        flex-direction: row; width: calc(100% - 40px); max-width: 400px;
        gap: 0;
    }
    .hero-card {
        padding: 12px 8px; flex: 1; text-align: center;
        display: flex; flex-direction: column; align-items: center; gap: 2px;
    }
    .hero-card + .hero-card::before {
        width: 1px; height: 50%; top: 25%; left: 0;
    }
    .hc-number { font-size: 1.1rem; }
    .hc-label { font-size: 0.58rem; letter-spacing: 1px; }

    /* Bento mobile */
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
    .bento-wide { grid-column: span 1; grid-template-columns: 1fr; }
    .bento-wide .bento-img { height: 200px; }
    .bento-img-only { height: 180px; }
    .bento-content { padding: 24px; }
    .bento-content h3 { font-size: 1.15rem; }
    .bento-accent { padding: 24px; }
    .bento-stat { font-size: 2.8rem; }
    .bento-feature { padding: 20px; }

    /* Panoramic mobile */
    .panoramic { height: 35vh; min-height: 250px; }
    .panoramic-text blockquote { font-size: 1rem; }
    .panoramic-text { padding: 24px; }

    /* Fleet mobile */
    .fleet-hero-img img { height: 240px; }
    .fleet-hero-overlay { padding: 40px 20px 20px; }
    .fleet-hero-overlay p { font-size: 0.9rem; }
    .fleet-pills { grid-template-columns: 1fr 1fr; gap: 8px; }
    .pill { padding: 14px 12px; }
    .pill-value { font-size: 0.88rem; }

    /* GestiFly banner mobile */
    .gestifly-banner { padding: 20px 0; }
    .gf-inner { flex-direction: column; text-align: center; gap: 16px; }
    .gf-text { flex-direction: column; gap: 10px; }
    .gf-text p { font-size: 0.82rem; }

    /* Photo strip mobile */
    .strip-track img { width: 220px; height: 148px; border-radius: 8px; }

    /* Team cards mobile */
    .team-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
    .tcard-img { margin-bottom: 10px; }
    .tcard-role { font-size: 0.6rem; padding: 4px 10px; bottom: 8px; }
    .tcard h3 { font-size: 0.9rem; }

    /* Base mobile */
    .base-left h2 { font-size: 1.6rem; }
    .base-chips { grid-template-columns: 1fr 1fr; gap: 8px; }
    .base-chip { padding: 12px; }
    .base-right img { height: 260px; border-radius: 12px; }

    /* Tools mobile */
    .tools-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .tool-card { padding: 20px 16px; }
    .tool-icon { width: 40px; height: 40px; margin-bottom: 14px; }
    .tool-card h3 { font-size: 0.92rem; }
    .tool-card p { font-size: 0.75rem; }
    .tool-badge { top: 10px; right: 10px; font-size: 0.55rem; padding: 3px 7px; }

    /* Join CTA mobile */
    .section-join { padding: 100px 0; }
    .join-heading { font-size: 2.2rem; }
    .join-content > p { font-size: 0.95rem; }
    .join-contacts { font-size: 0.78rem; }
    .join-contacts a { display: block; }
    .join-contacts span { display: none; }

    /* Contact mobile */
    .contact-layout { grid-template-columns: 1fr; gap: 32px; }
    .contact-info h2 { font-size: 1.6rem; margin-bottom: 20px; }
    .crow { padding: 14px 0; flex-direction: column; align-items: flex-start; gap: 2px; }
    .crow strong { font-size: 0.85rem; }
    .cform { padding: 24px; }
    .cform-row { grid-template-columns: 1fr; }
    .cform input, .cform textarea { padding: 12px 14px; font-size: 16px; }

    /* Footer mobile */
    .footer { padding: 48px 0 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
    .footer-about { grid-column: span 2; text-align: center; }
    .footer-logo { margin: 0 auto 12px; }
    .footer-links h4 { margin-bottom: 10px; }
    .footer-links a { margin-bottom: 6px; font-size: 0.82rem; }
    .footer-bar { flex-direction: column; gap: 6px; text-align: center; font-size: 0.72rem; }

    /* Nascondi effetti pesanti su mobile */
    .scroll-hint { display: none; }
    .hero-particles { display: none; }
    .section-glow::before { display: none; }
}

/* Small mobile */
@media (max-width:400px) {
    .container { padding: 0 16px; }
    .hero-heading { font-size: 2rem; }
    .hero-club-name { font-size: 0.75rem; letter-spacing: 3px; }
    .hero-cards { width: calc(100% - 32px); }
    .hero-card { padding: 10px 6px; }
    .hc-number { font-size: 1rem; }
    .hc-label { font-size: 0.52rem; }
    .tools-grid { grid-template-columns: 1fr; }
    .team-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
    .tcard-img { aspect-ratio: 3/4; }
    .fleet-pills { grid-template-columns: 1fr; }
    .base-chips { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-about { grid-column: span 1; }
    .bento-stat { font-size: 2.4rem; }
    .section-intro h2 { font-size: 1.5rem; }
}

/* Affiliazioni (16/09/2026): logo Dipartimento per lo Sport sopra il footer */
.affiliazioni { background: var(--gray-50); border-top: 1px solid var(--gray-200); padding: 44px 0; text-align: center; position: relative; z-index: 1; }
.affiliazioni-logo { display: inline-block; line-height: 0; }
.affiliazioni-logo img { height: 64px; width: auto; display: block; margin: 0 auto; mix-blend-mode: multiply; }
.affiliazioni p { margin: 16px 0 0; font-size: 0.85rem; color: var(--gray-500); }
@media (max-width:768px) { .affiliazioni { padding: 32px 0; } .affiliazioni-logo img { height: 52px; } }
@media (max-width:400px) { .affiliazioni-logo img { height: 44px; } }
