/* ==========================================================================
   FONORECORD STUDIO - MODERN DYNAMIC STYLESHEET
   Studio di Registrazione, Sala Prove, Scuola di Musica, Centro Culturale
   Avezzano (AQ) - Abruzzo
   ========================================================================== */

:root {
  --bg-dark: #0a0d14;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(26, 35, 54, 0.85);
  --bg-surface: #101522;
  --bg-glass: rgba(16, 22, 34, 0.8);
  
  --primary: #ffb703;
  --primary-glow: rgba(255, 183, 3, 0.4);
  --secondary: #00f0ff;
  --secondary-glow: rgba(0, 240, 255, 0.35);
  --accent-red: #ef4444;
  --accent-red-glow: rgba(239, 68, 68, 0.5);
  --accent-green: #10b981;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 183, 3, 0.4);
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(255, 183, 3, 0.25);
  --shadow-glow-cyan: 0 0 25px rgba(0, 240, 255, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: radial-gradient(circle at 15% 10%, rgba(0, 240, 255, 0.05) 0%, transparent 45%),
              radial-gradient(circle at 85% 60%, rgba(255, 183, 3, 0.05) 0%, transparent 45%),
              var(--bg-dark);
}

/* Background Ambient Grid */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #ffd166;
  text-shadow: 0 0 8px var(--primary-glow);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

.logo-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1e2638, #111624);
  border: 1px solid var(--border-active);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--primary-glow);
  position: relative;
  overflow: hidden;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffffff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--secondary);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Nav Menu */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.4rem;
}

.nav-item a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-item a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  text-shadow: none;
}

.nav-item a.active {
  color: var(--primary);
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid rgba(255, 183, 3, 0.3);
  font-weight: 600;
}

/* Header Socials */
.header-socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border-light);
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: var(--transition);
}

.social-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.4);
}

.social-btn.facebook:hover {
  background: #1877f2;
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.social-btn.youtube:hover {
  background: #ff0000;
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #ffb703, #fb8500);
  color: #0b0f19;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffd166, #ffb703);
  color: #0b0f19;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 183, 3, 0.5);
  text-shadow: none;
}

.btn-secondary {
  background: rgba(0, 240, 255, 0.1);
  color: var(--secondary);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.2);
  color: #fff;
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--secondary-glow);
  text-shadow: none;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold {
  background: rgba(255, 183, 3, 0.15);
  color: var(--primary);
  border: 1px solid rgba(255, 183, 3, 0.3);
}

.badge-cyan {
  background: rgba(0, 240, 255, 0.15);
  color: var(--secondary);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.badge-rec {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red);
  animation: pulse-red 1.5s infinite;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero-title span.highlight-gold {
  background: linear-gradient(135deg, #ffffff 20%, var(--primary) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span.highlight-cyan {
  background: linear-gradient(135deg, #ffffff 20%, var(--secondary) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

/* Hero Social Callout */
.hero-social-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-top: 1rem;
  backdrop-filter: blur(12px);
}

.hero-social-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-social-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  transition: var(--transition);
}

.hero-social-item svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero-social-item.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
}

.hero-social-item.facebook:hover {
  background: #1877f2;
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.hero-social-item.youtube:hover {
  background: #ff0000;
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

/* Hero Visual Box */
.hero-visual-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.visual-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   AUDIO VISUALIZER CANVAS
   ========================================================================== */

.visualizer-container {
  position: relative;
  width: 100%;
  height: 180px;
  background: #07090e;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 240, 255, 0.2);
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

#audioCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.visualizer-overlay {
  position: absolute;
  bottom: 0.5rem;
  right: 0.75rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.btn-viz-ctrl {
  background: rgba(16, 22, 34, 0.8);
  border: 1px solid var(--border-light);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.btn-viz-ctrl:hover {
  background: var(--secondary);
  color: #0b0f19;
}

/* ==========================================================================
   DYNAMIC VU METERS COMPONENT
   ========================================================================== */

.vu-meters-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1rem;
  background: #090c12;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.vu-unit {
  position: relative;
  background: radial-gradient(ellipse at bottom, #2a220b 0%, #121008 100%);
  border: 2px solid #332b14;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.5rem 0.4rem;
  overflow: hidden;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.9), 0 4px 10px rgba(0, 0, 0, 0.5);
}

.vu-dial {
  height: 60px;
  position: relative;
  overflow: hidden;
}

.vu-scale {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #ffb703;
  padding: 0 4px;
}

.vu-scale .red-zone {
  color: #ef4444;
  font-weight: 700;
}

.vu-needle {
  position: absolute;
  bottom: -15px;
  left: 50%;
  width: 2px;
  height: 65px;
  background: #ff4d4d;
  transform-origin: bottom center;
  transform: rotate(-35deg);
  transition: transform 0.08s ease-out;
  box-shadow: 0 0 5px rgba(255, 77, 77, 0.8);
}

.vu-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.vu-channel {
  color: var(--primary);
}

/* ==========================================================================
   INTERACTIVE PIANO KEYBOARD COMPONENT
   ========================================================================== */

.piano-widget-container {
  margin-top: 1.5rem;
  background: #06080d;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.piano-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.piano-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.piano-badge {
  font-size: 0.72rem;
  background: rgba(255, 183, 3, 0.15);
  color: var(--primary);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.piano-keyboard {
  position: relative;
  display: flex;
  justify-content: center;
  height: 110px;
  user-select: none;
  background: #111;
  padding: 6px 6px 0;
  border-radius: 6px;
  border-top: 4px solid #8b0000; /* Classic felt red strip */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}

.white-key {
  position: relative;
  width: 40px;
  height: 100px;
  background: linear-gradient(to bottom, #eeeeee 0%, #ffffff 80%, #dddddd 100%);
  border: 1px solid #999;
  border-radius: 0 0 5px 5px;
  cursor: pointer;
  z-index: 1;
  transition: transform 0.05s ease, background 0.05s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #333;
}

.white-key:hover {
  background: #fdf6e2;
}

.white-key.active, .white-key:active {
  background: #ffb703;
  color: #000;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 15px var(--primary-glow);
  transform: translateY(2px);
}

.black-key {
  position: absolute;
  width: 24px;
  height: 65px;
  background: linear-gradient(to bottom, #111 0%, #222 80%, #000 100%);
  border: 1px solid #000;
  border-radius: 0 0 3px 3px;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.05s ease, background 0.05s ease;
  box-shadow: 2px 3px 6px rgba(0,0,0,0.7);
}

.black-key:hover {
  background: #333;
}

.black-key.active, .black-key:active {
  background: #00f0ff;
  box-shadow: 0 0 12px var(--secondary-glow);
  transform: translateY(2px);
}

/* Key positions */
.key-cs { left: 30px; }
.key-ds { left: 70px; }
.key-fs { left: 150px; }
.key-gs { left: 190px; }
.key-as { left: 230px; }
.key-cs5 { left: 310px; }
.key-ds5 { left: 350px; }

/* ==========================================================================
   SECTIONS & CARDS GENERAL
   ========================================================================== */

.section {
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
}

.section-darker {
  background: rgba(10, 13, 20, 0.6);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.section-subtitle {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Feature Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.cards-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.studio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.studio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.studio-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 183, 3, 0.3);
  box-shadow: var(--shadow-md), 0 0 20px rgba(255, 183, 3, 0.15);
}

.studio-card:hover::before {
  opacity: 1;
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.15), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 183, 3, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
}

.card-icon-wrap.cyan {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(255, 255, 255, 0.03));
  border-color: rgba(0, 240, 255, 0.3);
  color: var(--secondary);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

.card-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  flex-grow: 1;
}

.card-footer {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.learn-more-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.learn-more-link:hover {
  gap: 0.6rem;
}

/* ==========================================================================
   GOOGLE REVIEWS COMPONENT
   ========================================================================== */

.google-reviews-section {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d121c 50%, var(--bg-dark) 100%);
  position: relative;
}

.google-summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.google-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.google-logo-box {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.google-rating-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stars-row {
  display: flex;
  gap: 3px;
  color: #fbbc04;
  margin: 0.25rem 0;
}

.stars-row svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.google-rating-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: var(--transition);
  backdrop-filter: blur(12px);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 188, 4, 0.3);
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #334155);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid var(--border-light);
}

.reviewer-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.reviewer-badge {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.google-icon-small {
  width: 16px;
  height: 16px;
}

.review-body {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
  font-style: italic;
  flex-grow: 1;
}

.review-date {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==========================================================================
   GOOGLE MAPS & LOCATION
   ========================================================================== */

.map-section {
  padding: 4.5rem 0;
}

.map-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.map-info-pane {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.95), rgba(11, 15, 25, 0.95));
}

.map-info-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.map-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.map-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.map-icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.map-iframe-pane {
  position: relative;
  min-height: 380px;
  width: 100%;
}

.map-iframe-pane iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: contrast(105%) brightness(95%);
}

/* ==========================================================================
   STUDIO PAGE & EQUIPMENT STYLING
   ========================================================================== */

.gear-category-block {
  margin-bottom: 2.5rem;
}

.gear-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.25rem 0;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.gear-table th, .gear-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.gear-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--primary);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.gear-table tr:last-child td {
  border-bottom: none;
}

.gear-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.gear-item-name {
  font-weight: 600;
  color: var(--text-main);
}

.gear-item-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.equipment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.equipment-item {
  position: relative;
  padding: 1rem 1.25rem 1rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.equipment-item::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 1.35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.highlight-box {
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.08), rgba(0, 240, 255, 0.04));
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.highlight-box h4 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   STAFF PAGE (ANTENORE BUCCI ONLY)
   ========================================================================== */

.staff-profile-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  align-items: start;
}

.staff-photo-pane {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.staff-photo-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-active);
  box-shadow: var(--shadow-glow);
  position: relative;
}

.staff-photo-wrap img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.staff-photo-wrap:hover img {
  transform: scale(1.03);
}

.staff-social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.staff-bio-pane {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.staff-name-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.staff-role-badge {
  display: inline-block;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.staff-bio-text {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.8;
}

.staff-bio-text p {
  margin-bottom: 1.2rem;
}

.staff-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.staff-highlight-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   ARTISTS PAGE & SEARCH FILTER
   ========================================================================== */

.artists-search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  gap: 0.75rem;
}

.artists-search-bar input {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1rem;
  width: 100%;
  outline: none;
}

.artists-search-bar input::placeholder {
  color: var(--text-dim);
}

.artist-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.artist-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.artist-tag:hover {
  background: rgba(255, 183, 3, 0.15);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.featured-artist-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.featured-artist-card h4 {
  color: var(--primary);
  font-size: 1.15rem;
}

.featured-artist-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   DEMO AUDIO & VIDEO PLAYER PAGE
   ========================================================================== */

.media-embed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.embed-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  backdrop-filter: blur(16px);
}

.embed-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #000;
  border: 1px solid var(--border-light);
}

.embed-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   CORSI / COURSES PAGE
   ========================================================================== */

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
  position: relative;
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: var(--shadow-md), 0 0 25px rgba(0, 240, 255, 0.15);
}

.course-badge {
  align-self: flex-start;
}

.course-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.course-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.course-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.course-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.course-features li svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
  flex-shrink: 0;
}

/* ==========================================================================
   CONTACT PAGE & FORM
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(10, 13, 20, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  margin-top: auto;
  background: #06080d;
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-socials-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-social-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-social-link.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(225, 48, 108, 0.4);
}

.footer-social-link.facebook:hover {
  background: #1877f2;
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(24, 119, 242, 0.4);
}

.footer-social-link.youtube:hover {
  background: #ff0000;
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 0, 0, 0.4);
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-list a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-nav-list a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-historical-notice {
  margin-top: 1.5rem;
  padding: 1.15rem 1.4rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 183, 3, 0.28);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e2e8f0;
}

.footer-keywords {
  font-size: 0.68rem !important;
  color: #64748b;
  line-height: 1.45;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.05);
  opacity: 0.85;
}

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

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .staff-profile-card {
    grid-template-columns: 1fr;
  }
  .map-card-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.75rem 1rem;
  }
  .mobile-toggle {
    display: block;
  }
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0b0f19;
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    display: none;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.show {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.5rem;
  }
  .nav-item {
    width: 100%;
  }
  .nav-item a {
    width: 100%;
    padding: 0.75rem 1rem;
  }
  .header-socials {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    width: 100%;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .cards-grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .staff-highlights-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   HEADER PHOTO SLIDER & NEW OFFICIAL LOGO STYLES
   ========================================================================== */

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
  transition: var(--transition);
  flex-shrink: 0;
}

.brand-logo:hover .brand-logo-img {
  transform: rotate(15deg) scale(1.05);
  box-shadow: 0 0 22px rgba(255, 183, 3, 0.6);
}

.header-slider-section {
  padding: 1.5rem 0 0.5rem;
  position: relative;
  z-index: 10;
}

.header-slider {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 183, 3, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 183, 3, 0.15);
  background: #080b12;
}

.slider-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  pointer-events: none;
  z-index: 0;
}

.slide-item.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2.5rem 1.75rem;
  background: linear-gradient(to top, rgba(8, 11, 18, 0.95) 0%, rgba(8, 11, 18, 0.7) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
}

.slide-badge {
  align-self: flex-start;
  margin-bottom: 0.2rem;
}

.slide-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.slide-caption {
  font-size: 0.95rem;
  color: #cbd5e1;
  max-width: 800px;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(16, 22, 34, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.slider-btn svg {
  width: 22px;
  height: 22px;
}

.slider-btn:hover {
  background: var(--primary);
  color: #0b0f19;
  border-color: var(--primary);
  box-shadow: 0 0 18px var(--primary-glow);
  transform: translateY(-50%) scale(1.08);
}

.slider-btn.prev {
  left: 1.25rem;
}

.slider-btn.next {
  right: 1.25rem;
}

.slider-dots {
  position: absolute;
  bottom: 1.25rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 5;
}

.dot {
  width: 26px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.dot.active {
  width: 48px;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

/* Hero Logo Showcase Badge */
.hero-logo-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.12), rgba(0, 240, 255, 0.05));
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  margin-top: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.hero-logo-emblem {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
  flex-shrink: 0;
}

.hero-logo-text {
  display: flex;
  flex-direction: column;
}

.hero-logo-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.hero-logo-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .header-slider {
    height: 270px;
  }
  .slide-overlay {
    padding: 1.5rem 1.25rem 1.25rem;
  }
  .slide-title {
    font-size: 1.2rem;
  }
  .slide-caption {
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .slider-btn {
    width: 36px;
    height: 36px;
  }
  .slider-dots {
    right: 1.25rem;
    bottom: 0.85rem;
  }
}


/* --- ROCK-SOLID HEADER & NAV RULES (ANTI-COLLISION) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 13, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

.header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.5rem !important;
  padding: 0.75rem 1.5rem !important;
  max-width: 1300px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

.brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  color: var(--text-main) !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.brand-logo-img {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid var(--primary) !important;
  box-shadow: 0 0 15px var(--primary-glow) !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.brand-text {
  display: flex !important;
  flex-direction: column !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.brand-title {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  background: linear-gradient(90deg, #ffffff, var(--primary)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  line-height: 1.2 !important;
}

.brand-tagline {
  font-size: 0.72rem !important;
  color: var(--secondary) !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

.main-nav {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.nav-list {
  display: flex !important;
  align-items: center !important;
  list-style: none !important;
  gap: 0.35rem !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: nowrap !important;
}

.nav-item {
  display: block !important;
}

.nav-item a {
  display: inline-block !important;
  padding: 0.45rem 0.75rem !important;
  color: var(--text-muted) !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  border-radius: var(--radius-sm) !important;
  transition: var(--transition) !important;
  white-space: nowrap !important;
}

.header-socials {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-left: 0.75rem !important;
  padding-left: 0.75rem !important;
  border-left: 1px solid var(--border-light) !important;
  flex-shrink: 0 !important;
}

@media (max-width: 1024px) {
  .mobile-toggle {
    display: block !important;
  }
  .main-nav {
    position: fixed !important;
    top: 65px !important;
    left: 0 !important;
    width: 100% !important;
    background: #0b0f19 !important;
    border-bottom: 1px solid var(--border-light) !important;
    padding: 1.5rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    display: none !important;
    box-shadow: var(--shadow-lg) !important;
    z-index: 999 !important;
  }
  .main-nav.show {
    display: flex !important;
  }
  .nav-list {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    gap: 0.5rem !important;
  }
  .nav-item {
    width: 100% !important;
  }
  .nav-item a {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
  }
  .header-socials {
    margin-left: 0 !important;
    padding-left: 0 !important;
    border-left: none !important;
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid var(--border-light) !important;
    width: 100% !important;
  }
}

/* ==========================================================================
   FULLSCREEN VIDEO PRESENTATION INTRO
   ========================================================================== */

#videoIntroOverlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

#videoIntroOverlay.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.intro-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.intro-ui-header {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  pointer-events: auto;
}

.intro-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.15rem;
  background: rgba(10, 13, 20, 0.8);
  border: 1px solid rgba(255, 183, 3, 0.4);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.intro-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--primary);
  display: block;
}

.intro-brand-text {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
}

.intro-skip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background: rgba(10, 13, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.intro-skip-btn:hover {
  background: var(--primary);
  color: #0b0f19;
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-2px);
}

.intro-ui-footer {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  pointer-events: auto;
}

.intro-audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  background: rgba(10, 13, 20, 0.8);
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: var(--radius-full);
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.intro-audio-btn:hover {
  background: rgba(0, 240, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

.intro-progress-bar-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 15;
}

.intro-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  box-shadow: 0 0 10px var(--primary-glow);
  transition: width 0.1s linear;
}


/* Dropdown Sub-Menu per "Corsi" */
.nav-item.has-dropdown {
  position: relative !important;
}
.nav-item.has-dropdown > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
}
.dropdown-caret {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
  opacity: 0.8;
  display: inline-block;
}
.nav-item.has-dropdown:hover .dropdown-caret,
.nav-item.has-dropdown:focus-within .dropdown-caret {
  transform: rotate(180deg);
  color: var(--primary);
}
.nav-item.has-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 290px;
  background: rgba(11, 15, 25, 0.98);
  border: 1px solid rgba(255, 183, 3, 0.35);
  border-radius: 10px;
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.75), 0 0 18px rgba(0, 240, 255, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 2000;
  backdrop-filter: blur(16px);
}
.nav-item.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
}
.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-item.has-dropdown .dropdown-menu li {
  display: block;
  width: 100%;
}
.nav-item.has-dropdown .dropdown-menu a.dropdown-link {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  width: 100% !important;
  padding: 0.65rem 0.9rem !important;
  color: #cbd5e1 !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  border-radius: 7px !important;
  white-space: normal !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
.nav-item.has-dropdown .dropdown-menu a.dropdown-link:hover,
.nav-item.has-dropdown .dropdown-menu a.dropdown-link.active {
  color: #ffb703 !important;
  background: rgba(255, 183, 3, 0.12) !important;
}
@media (max-width: 1024px) {
  .nav-item.has-dropdown .dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: none !important;
    border-left: 2px solid rgba(255, 183, 3, 0.45) !important;
    border-radius: 0 8px 8px 0 !important;
    box-shadow: none !important;
    margin: 0.25rem 0 0.35rem 1rem !important;
    padding: 0.25rem 0.5rem !important;
    min-width: 0 !important;
    width: calc(100% - 1rem) !important;
  }
  .nav-item.has-dropdown::after {
    display: none !important;
  }
}
