/* ===== DESIGN TOKENS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --primary: #4BBDE8;
  --primary-dark: #1A8BBF;
  --accent: #4BBDE8;
  --accent-warm: #C9922A;
  --bg: #F8FAFB;
  --white: #ffffff;
  --text: #3D3D3D;
  --muted: #6B7280;
  --border: #E5E7EB;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(27,94,138,0.10);
  --transition: 0.3s ease;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 42px); color: var(--primary-dark); margin-bottom: 12px; }
.section-sub { color: var(--muted); font-size: 18px; margin-bottom: 48px; max-width: 600px; }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 15px; cursor: pointer; border: none; transition: var(--transition); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,94,138,0.3); }
.btn-accent { background: var(--accent-warm); color: #fff; }
.btn-accent:hover { background: #d4942a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,168,56,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.8); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-outline-primary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: transparent; transition: background var(--transition), box-shadow var(--transition); }
.navbar.scrolled { background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 100px; }
.navbar-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 18px; font-family: 'Playfair Display', serif; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--white); transition: color var(--transition); }
.navbar.scrolled .logo-text { color: var(--primary-dark); }
.logo-sub { font-size: 10px; color: rgba(255,255,255,0.8); letter-spacing: 1px; text-transform: uppercase; }
.navbar.scrolled .logo-sub { color: var(--muted); }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link { padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.9); transition: var(--transition); white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.navbar.scrolled .nav-link { color: var(--text); }
.nav-link:hover, .nav-link.active { color: var(--accent); background: rgba(46,196,182,0.1); }
.nav-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.dropdown { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: var(--white); border-radius: var(--radius); box-shadow: 0 8px 32px rgba(0,0,0,0.12); min-width: 200px; padding: 8px; z-index: 100; }
.nav-item:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 14px; font-size: 14px; color: var(--text); border-radius: 8px; transition: var(--transition); }
.dropdown a:hover { background: rgba(46,196,182,0.08); color: var(--primary); }
.nav-cta { margin-left: 12px; padding: 10px 22px; background: var(--accent-warm); color: #fff; border-radius: 50px; font-weight: 600; font-size: 14px; transition: var(--transition); }
.nav-cta:hover { background: #d4942a; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,168,56,0.4); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.navbar.scrolled .hamburger span { background: var(--text); }
.mobile-menu { display: none; position: fixed; top: 80px; left: 0; right: 0; background: var(--white); padding: 20px 24px 32px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 999; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 16px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-menu .mobile-cta { margin-top: 20px; display: block; text-align: center; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,61,94,0.88) 0%, rgba(27,94,138,0.70) 50%, rgba(46,196,182,0.40) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.25); border-radius: 50px; padding: 8px 18px; font-size: 13px; font-weight: 500; margin-bottom: 24px; color: #fff; }
.hero-badge span { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.4);opacity:0.7} }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(36px, 6vw, 68px); line-height: 1.15; margin-bottom: 20px; }
.hero-title em { color: var(--accent); font-style: normal; }
.hero-desc { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 36px; line-height: 1.7; max-width: 560px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { position: absolute; bottom: 48px; left: 0; right: 0; z-index: 2; }
.hero-stats .container { display: flex; gap: 32px; justify-content: flex-start; flex-wrap: wrap; }
.stat-item { text-align: center; color: #fff; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; display: block; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== CARDS ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(27,94,138,0.15); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 28px; }
.card-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: #fff; font-size: 24px; }
.card-title { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--primary-dark); margin-bottom: 10px; }
.card-text { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 18px; }
.card-link { color: var(--primary); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: var(--transition); }
.card-link:hover { color: var(--accent); gap: 10px; }

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.service-item { background: var(--white); border-radius: var(--radius); padding: 24px 20px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); cursor: default; }
.service-item:hover { background: var(--primary); color: #fff; transform: translateY(-4px); }
.service-item:hover .service-icon { background: rgba(255,255,255,0.2); color: #fff; }
.service-item:hover .service-name { color: #fff; }
.service-icon { width: 48px; height: 48px; background: rgba(27,94,138,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 20px; color: var(--primary); transition: var(--transition); }
.service-name { font-weight: 600; font-size: 14px; color: var(--text); transition: var(--transition); }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.feature-item { text-align: center; }
.feature-icon { width: 72px; height: 72px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: #fff; font-size: 30px; }
.feature-title { font-family: 'Playfair Display', serif; font-size: 18px; margin-bottom: 10px; color: var(--primary-dark); }
.feature-text { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ===== REVIEWS ===== */
.reviews-section { background: var(--primary-dark); color: #fff; }
.reviews-section .section-title { color: #fff; }
.reviews-section .section-sub { color: rgba(255,255,255,0.7); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 28px; }
.review-stars { color: var(--accent-warm); font-size: 18px; margin-bottom: 14px; }
.review-text { font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.review-author { font-weight: 600; font-size: 14px; color: var(--accent); }

/* ===== CTA BAND ===== */
.cta-band { background: linear-gradient(135deg, var(--accent-warm), #d4942a); color: #fff; text-align: center; padding: 64px 0; }
.cta-band h2 { font-family: 'Playfair Display', serif; font-size: clamp(24px, 4vw, 38px); margin-bottom: 12px; }
.cta-band p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; }
.cta-band-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--accent-warm); }
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); }

/* ===== HOURS ===== */
.hours-section { background: var(--white); }
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.hours-table { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hours-table table { width: 100%; border-collapse: collapse; }
.hours-table th { background: var(--primary); color: #fff; padding: 14px 20px; text-align: left; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.hours-table td { padding: 12px 20px; border-bottom: 1px solid var(--border); font-size: 15px; }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table tr:hover td { background: rgba(46,196,182,0.05); }
.hours-table .closed { color: var(--muted); }
.contact-info-box { padding: 32px; background: var(--primary); border-radius: var(--radius); color: #fff; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-info-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.7; margin-bottom: 4px; }
.contact-info-value { font-weight: 600; font-size: 16px; }
.contact-info-value a { color: #fff; }

/* ===== FOOTER ===== */
.footer { background: var(--text); color: rgba(255,255,255,0.8); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; margin: 16px 0 24px; }
.footer-social { display: flex; gap: 12px; }
.social-link { width: 38px; height: 38px; background: rgba(255,255,255,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 16px; transition: var(--transition); }
.social-link:hover { background: var(--accent); color: #fff; }
.footer-title { font-family: 'Playfair Display', serif; font-size: 16px; color: #fff; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--accent); }

/* ===== PAGE HERO ===== */
.page-hero { padding: 160px 0 80px; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--accent) 100%); color: #fff; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px, 5vw, 56px); margin-bottom: 16px; }
.page-hero p { font-size: 18px; opacity: 0.85; max-width: 580px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 14px; opacity: 0.7; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.team-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); text-align: center; }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(27,94,138,0.15); }
.team-card-img { width: 100%; height: 260px; object-fit: cover; object-position: top; }
.team-avatar { width: 100%; height: 200px; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 64px; }
.team-card-body { padding: 24px; }
.team-name { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--primary-dark); margin-bottom: 4px; }
.team-role { color: var(--accent); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.team-bio { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.form-control { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: 10px; font-size: 15px; font-family: 'Inter', sans-serif; background: var(--white); color: var(--text); transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(27,94,138,0.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.form-check input { margin-top: 3px; accent-color: var(--primary); }
.form-success { display: none; background: rgba(46,196,182,0.1); border: 1px solid var(--accent); border-radius: var(--radius); padding: 20px 24px; color: var(--primary-dark); font-weight: 500; margin-top: 16px; }
.form-success.show { display: flex; align-items: center; gap: 12px; }

/* ===== PRENOTA PAGE ===== */
.prenota-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.prenota-card { background: var(--white); border-radius: 20px; padding: 48px 40px; box-shadow: var(--shadow); text-align: center; transition: var(--transition); border: 3px solid transparent; }
.prenota-card:hover { border-color: var(--primary); transform: translateY(-8px); box-shadow: 0 24px 48px rgba(27,94,138,0.15); }
.prenota-card.fitness { border-color: var(--accent); }
.prenota-card.fitness:hover { border-color: var(--accent); }
.prenota-card-icon { font-size: 64px; margin-bottom: 24px; }
.prenota-card h2 { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--primary-dark); margin-bottom: 16px; }
.prenota-card p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 32px; }
.prenota-list { text-align: left; margin-bottom: 32px; }
.prenota-list li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.prenota-list li:last-child { border-bottom: none; }
.prenota-list li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* ===== COURSE CARDS ===== */
.corsi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.corso-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.corso-card:hover { transform: translateY(-6px); }
.corso-img { width: 100%; height: 200px; object-fit: cover; }
.corso-body { padding: 24px; }
.corso-tag { display: inline-block; background: rgba(46,196,182,0.12); color: var(--accent); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 12px; border-radius: 50px; margin-bottom: 12px; }
.corso-title { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--primary-dark); margin-bottom: 8px; }
.corso-text { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.corso-meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.corso-meta span { display: flex; align-items: center; gap: 4px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
.animate-in { opacity: 0; }
.animate-in.visible { animation: fadeInUp 0.6s ease forwards; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hours-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .prenota-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .hero-stats .container { gap: 20px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .cards-grid, .team-grid, .corsi-grid { grid-template-columns: 1fr; }
}

/* ===== LOGO NAVBAR ===== */
.navbar-logo-img {
  height: 90px;
  width: auto;
  transition: filter 0.3s ease;
  filter: brightness(0) invert(1);
}
.navbar.scrolled .navbar-logo-img {
  filter: none;
}
.footer-logo-img {
  height: 110px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  margin-bottom: 20px;
  display: block;
}

/* ===== PAGE HERO OVERRIDE ===== */
.page-hero {
  background: linear-gradient(135deg, #1A8BBF 0%, #4BBDE8 60%, #C9922A 100%) !important;
}
.cta-band {
  background: linear-gradient(135deg, #C9922A, #b07c20) !important;
}
.corso-tag { background: rgba(75,189,232,0.12); color: #1A8BBF; }

/* ===== HERO CON VIDEO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a1628;
}
/* l'img .hero-bg non serve più, nascosta */
.hero-bg { display: none; }

/* tag <video> come sfondo fullscreen */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg,
    rgba(10,30,60,0.55) 0%,
    rgba(26,139,191,0.20) 50%,
    rgba(201,146,42,0.10) 100%);
}

/* ===== LOGO GRANDE HERO ===== */
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}
.hero-logo-img {
  width: min(560px, 88vw);
  height: auto;
  filter:
    drop-shadow(0 2px 12px rgba(0,0,0,0.50))
    drop-shadow(0 0 40px rgba(255,255,255,0.30));
  animation: logoGlow 5s ease-in-out infinite;
}
@keyframes logoGlow {
  0%,100% {
    filter: drop-shadow(0 0 50px rgba(75,189,232,0.65))
            drop-shadow(0 4px 24px rgba(0,0,0,0.70));
    transform: translateY(0);
  }
  50% {
    filter: drop-shadow(0 0 70px rgba(201,146,42,0.80))
            drop-shadow(0 0 30px rgba(75,189,232,0.40))
            drop-shadow(0 8px 28px rgba(0,0,0,0.70));
    transform: translateY(-5px);
  }
}
.hero-title {
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.hero-title em { color: #4BBDE8; font-style: normal; }
.hero-desc { text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.hero-badge {
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(75,189,232,0.4) !important;
}
.stat-num { color: #C9922A; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }

/* ===== SEZIONI VIDEO (medico + palestra) ===== */
.video-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
/* il tag <video> dentro .video-section usa la stessa classe hero-video-bg */
.video-section .hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.video-overlay-grad {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.video-overlay-left {
  background: linear-gradient(to right,
    rgba(26,139,191,0.85) 0%,
    rgba(26,139,191,0.50) 45%,
    rgba(0,0,0,0) 100%);
}
.video-overlay-right {
  background: linear-gradient(to left,
    rgba(201,146,42,0.85) 0%,
    rgba(201,146,42,0.50) 45%,
    rgba(0,0,0,0) 100%);
}
.video-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 560px;
  padding: 48px;
}
.video-content.right {
  margin-left: auto;
  text-align: right;
}
.video-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #fff;
}
.video-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.video-content p {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
}
.video-content .btn { backdrop-filter: blur(8px); }

/* ===== DIVISORE BRAND ANIMATO ===== */
.video-divider {
  height: 5px;
  background: linear-gradient(90deg, #4BBDE8, #C9922A, #4BBDE8);
  background-size: 200% 100%;
  animation: gradientMove 3s linear infinite;
}
@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: indicatorBounce 2s ease-in-out infinite;
}
.scroll-indicator svg { width: 24px; height: 24px; }
@keyframes indicatorBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ===== RESPONSIVE VIDEO ===== */
@media (max-width: 768px) {
  .video-section { height: 70vh; min-height: 500px; }
  .video-content { padding: 28px 20px; }
  .video-overlay-left  { background: rgba(26,139,191,0.70); }
  .video-overlay-right { background: rgba(201,146,42,0.70); }
  .video-content.right { margin-left: 0; text-align: left; }
  .hero-logo-img { width: min(380px, 85vw); }
}

/* ===== HERO CENTRATO (senza logo) ===== */
.hero-center-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 0 24px;
}
.hero-center-content .hero-badge {
  display: inline-flex;
  margin-bottom: 28px;
}
.hero-center-content .hero-title {
  text-align: center;
  margin: 0 auto 22px;
  max-width: 800px;
  font-size: clamp(40px, 6.5vw, 78px);
  text-shadow: 0 3px 24px rgba(0,0,0,0.55);
}
.hero-center-content .hero-title em {
  color: #4BBDE8;
  font-style: normal;
}
.hero-center-content .hero-desc {
  text-align: center;
  margin: 0 auto 44px;
  max-width: 620px;
  font-size: 19px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero-btns { justify-content: center; gap: 20px; }
.btn-hero {
  font-size: 17px !important;
  padding: 16px 40px !important;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
/* Stats centrate */
.hero-stats .container {
  justify-content: center !important;
  gap: 48px !important;
}
@media (max-width: 768px) {
  .hero-center-content .hero-title { font-size: clamp(32px, 8vw, 52px); }
  .hero-center-content .hero-desc  { font-size: 16px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-stats .container { gap: 24px !important; }
  .btn-hero { padding: 14px 28px !important; }
}

/* ===== IMMAGINI PIÙ CHIARE — overlay ridotto ===== */
/* Hero: overlay quasi trasparente, il video si vede chiaro */
.hero-overlay {
  background: linear-gradient(160deg,
    rgba(10,30,60,0.35) 0%,
    rgba(26,139,191,0.10) 55%,
    rgba(0,0,0,0.20) 100%) !important;
}
/* Sezione medico: sfumatura blu più leggera */
.video-overlay-left {
  background: linear-gradient(to right,
    rgba(26,139,191,0.65) 0%,
    rgba(26,139,191,0.30) 50%,
    rgba(0,0,0,0) 100%) !important;
}
/* Sezione palestra: sfumatura oro più leggera */
.video-overlay-right {
  background: linear-gradient(to left,
    rgba(201,146,42,0.65) 0%,
    rgba(201,146,42,0.30) 50%,
    rgba(0,0,0,0) 100%) !important;
}

/* Testi hero: ombre più marcate per compensare sfondo chiaro */
.hero-center-content .hero-title {
  text-shadow:
    0 2px 4px rgba(0,0,0,0.8),
    0 4px 32px rgba(0,0,0,0.5) !important;
}
.hero-center-content .hero-desc {
  text-shadow: 0 1px 6px rgba(0,0,0,0.7) !important;
}
.hero-badge {
  background: rgba(0,0,0,0.30) !important;
  border-color: rgba(255,255,255,0.35) !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
/* Contenuto video sections: testo con ombra più forte */
.video-content h2 {
  text-shadow:
    0 2px 4px rgba(0,0,0,0.7),
    0 4px 24px rgba(0,0,0,0.4) !important;
}
.video-content p {
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

