/* Design elegante e professionale (stile Apple) con palette bianco/nero/rosso */
:root {
  --black: #000000;
  --white: #ffffff;
  --red: #e74c3c;
  --red-dark: #c0392b;
  --red-600: #d9483a;
  --gray-25: #fcfcfd;
  --gray-50: #f7f7f8;
  --gray-100: #efeff1;
  --gray-200: #e5e6ea;
  --gray-300: #d5d6db;
  --gray-500: #7a7d85;
  --gray-900: #1f1f1f;
  --hairline: rgba(0,0,0,.08);
  --shadow-1: 0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --shadow-2: 0 4px 12px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.06);
  --shadow-focus: 0 0 0 2px rgba(231,76,60,.18);
  --easing: cubic-bezier(.4,0,.2,1);
}

/* Reset, base e tipografia */
* { box-sizing: border-box; transition: inherit; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.01em;
  background: var(--gray-25);
  color: var(--black);
  line-height: 1.65;
  transition: background-color .3s var(--easing), color .3s var(--easing);
}
img { max-width: 100%; display: block; transition: transform .3s var(--easing), filter .3s var(--easing); }
a { color: inherit; text-decoration: none; transition: color .2s var(--easing); }
h3 { color: var(--black); }
.h3-white { color: var(--white); }

/* Professional role styling */
.professional-role {
  display: inline;
  font-style: inherit;
  font-weight: inherit;
  color: inherit;
}

/* Sottotitolo homepage con font Sono */
.homepage-subtitle {
  font-family: 'Sono', monospace !important;
  font-weight: 500;
  font-size: 1.2rem;
  /*letter-spacing: 0.0em;*/
  color: var(--white);
  font-style: normal;
  font-variation-settings: "MONO" 0;
}

/* Layout */
.container { width: min(1280px, 92%); margin: 0 auto; }
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--white); box-shadow: inset 0 1px 0 var(--hairline); }
.section-title {
  font: 700 38px/1.15 Inter;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--black);
}
.section-lead { color: var(--gray-500); max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-intro-title {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--black-500);
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: italic;
  font-size: 24px;
  line-height: 1.35;
}

/* Bottoni (pill) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 9999px; border: 1px solid; cursor: pointer;
  font: 600 15px/1 Inter; transition: transform .2s var(--easing), box-shadow .2s var(--easing), background .2s var(--easing), border-color .2s var(--easing), color .2s var(--easing);
  will-change: transform;
}
.btn--primary { background: var(--black); color: var(--white); border-color: var(--white); box-shadow: var(--shadow-1); }
.btn--primary:hover { background: var(--white); border-color: var(--black); color: #000000; transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: var(--black); color: var(--white); border-color: var(--black); transform: translateY(-2px); }
.btn--secondary { background: transparent; color: var(--black); border-color: var(--black); position: relative; overflow: hidden; z-index: 1; }
.btn--secondary::before { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--black); z-index: -1; transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1); }
.btn--secondary:hover { color: var(--white); border-color: var(--black); }
.btn--secondary:hover::before { left: 0; }
.btn--secondary:active { transform: scale(0.97); }
.btn--block { width: 100%; }

/* Header in stile minimal con hairline e blur leggero */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--hairline); transition: all .3s var(--easing); }

/* Hide header on logic-workshop page */
.page-logic-workshop .site-header {
  display: none;
}

/* Hide footer on logic-workshop page */
.page-logic-workshop .site-footer {
  display: none;
}

/* Red background section */
.red-background-section {
  background-color: rgba(153,52,41,1);
  padding: 2rem 0;
  color: white;
}

.red-background-section p {
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
}

/* Black background section for about */
.about-section-black {
  background-color: #000000;
  color: white;
}

.about-section-black .about-content p {
  color: white;
}

/* CTA Button Style */
.cta-button {
  display: block;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 9999px;
  border: 1px solid;
  cursor: pointer;
  font: 600 15px/1 Inter;
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: var(--shadow-1);
  text-align: center;
  margin: 0 auto;
  width: fit-content;
  transition: transform .2s var(--easing), box-shadow .2s var(--easing), background .2s var(--easing), border-color .2s var(--easing), color .2s var(--easing);
  will-change: transform;
}

.cta-button:hover {
  background: var(--white);
  border-color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  text-decoration: none;
  color: black;
}

.about-section-black .cta-button {
  background: #000000;
  color: white;
}

.about-section-black .cta-button:hover {
  background: #000000;
}

/* Workshop cards */
.workshop-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.workshop-card {
  padding: 28px;
  background: transparent;
  border: 2px solid white;
  border-radius: 25px;
  box-shadow: var(--shadow-1);
  transition: transform .25s var(--easing), box-shadow .25s var(--easing), border-color .25s var(--easing);
  text-align: center;
}

.workshop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--gray-200);
}

.workshop-card h4 {
  font: 700 20px/1.2 Inter;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--black);
}

.workshop-card p {
  color: var(--gray-500);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .workshop-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Black section */
.black-section {
  background-color: #000000 !important;
  color: white;
}

/* Ensure black section stays black on logic workshop page */
.page-logic-workshop .black-section {
  background-color: #000000 !important;
}

.black-section .section-title {
  color: white;
  text-align: center;
  margin-bottom: 48px;
}

/* Dashed card */
.dashed-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px;
  border: 2px dashed white;
  border-radius: 16px;
  background: transparent;
}

/* Star list */
.star-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.star-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  color: white;
  font-size: 16px;
  line-height: 1.6;
}

.star-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: #ffd700;
  font-size: 18px;
  font-weight: bold;
}

/* Contact Form Section Styles */
.contact-form-section {
  padding: 80px 0;
}

/* Image and Text Section Styles */
.image-text-section {
  padding: 5px 0;
  text-align: center;
}

.image-container {
  margin-bottom: 20px;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-image {
  max-width: 150px;
  width: 100%;
  height: auto;
}

.section-text {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.legal-link {
  display: inline;
  color: #b7b7b7;
  text-decoration: none;
  font-weight: normal;
  transition: color 0.2s ease;
  margin: 0 10px;
}

.legal-link:hover {
  color: var(--gray-500);
  text-decoration: none;
}

@media (max-width: 768px) {
  .section-image {
    max-width: 250px;
  }
  
  .section-text {
    font-size: 16px;
  }
  
  .legal-links {
    gap: 15px;
    margin: 20px 0;
  }
  
  .legal-link {
    font-size: 14px;
    padding: 10px 20px;
  }
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #000000;
  padding: 32px;
  border-radius: 12px;
  border: 2px solid white;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: white;
  font-weight: 600;
  font-size: 16px;
}

.form-group input {
  padding: 14px 16px;
  border: 2px solid white;
  border-radius: 8px;
  background: transparent;
  color: white;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus {
  outline: none;
  border-color: #ba372a;
  box-shadow: 0 0 0 3px rgba(186, 55, 42, 0.2);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-item input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: #ba372a;
}

.checkbox-item label {
  color: white;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  flex: 1;
}

.form-submit {
  margin-top: 16px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  align-self: center;
}

@media (max-width: 768px) {
  .contact-form-section {
    padding: 60px 0;
  }
  
  .form-container {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .checkbox-item {
    align-items: flex-start;
  }
  
  .checkbox-item input[type="checkbox"] {
    margin-top: 2px;
  }
}
.site-header.scrolled { background: rgba(255,255,255,.96); box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; transition: padding .3s var(--easing); }
.site-header.scrolled .header-inner { padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 20px/1 Inter; letter-spacing: -0.02em; }
.brand-role { font: 400 14px/1.2 Inter; color: var(--gray-500); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--gray-900); font: 500 16px/1 Inter; padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--black); transition: width .25s var(--easing); }
.nav a:hover { color: var(--black); }
.nav a:hover::after { width: 100%; }

/* Dropdown menu per servizi */
.nav-item { position: relative; }
.nav-item.has-dropdown > a::after { content: '▾'; margin-left: 6px; font-size: 10px; transition: transform .2s var(--easing); }
.nav-item.has-dropdown:hover > a::after { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--white); border: 1px solid var(--hairline); border-radius: 12px; box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .25s var(--easing); z-index: 200; }
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 12px 18px; color: var(--gray-900); font-weight: 500; border-bottom: 1px solid var(--hairline); transition: all .2s var(--easing); }
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--gray-25); color: var(--black); }

/* Mobile nav */
.nav-toggle { display: none; flex-direction: column; gap: 4px; width: 48px; height: 48px; background: none; border: none; cursor: pointer; justify-content: center; align-items: center; padding: 8px; margin: -8px; position: relative; z-index: 1000; }
.nav-toggle .bar { width: 24px; height: 2px; background: var(--black); transition: all .3s var(--easing); transform-origin: center; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* Hero pulito, tipografia forte e accenti sottili */
.hero { padding: 128px 0; background: radial-gradient(1200px 600px at 80% -20%, rgba(231,76,60,.06), transparent 60%), var(--gray-25); position: relative; overflow: hidden; }
.hero.hero-with-bg { 
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.4)), url('assets/studio-backgroundbn.jpg'); 
  background-size: cover; 
  background-position: center; 
  background-attachment: fixed; 
  min-height: 100vh;
  max-height: none;
  height: 100vh;
  display: flex;
  align-items: center;
}
.hero.hero-with-bg .hero-inner { color: var(--white); }
.hero.hero-with-bg h1 { color: var(--white); }
.hero.hero-with-bg h2.hero-subtitle { color: var(--white); }
.hero.hero-with-bg p { color: rgba(255,255,255,0.9); }
.hero.hero-isolamento-bg { 
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/isolamento.jpg'); 
  background-size: cover; 
  background-position: center; 
  background-attachment: fixed; 
  min-height: 100vh;
  max-height: none;
  height: 100vh;
  display: flex;
  align-items: center;
}
.hero.hero-consulenza-bg { 
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('assets/studio-backgroundbn.jpg'); 
  background-size: cover; 
  background-position: center; 
  background-attachment: fixed; 
  min-height: 100vh;
  max-height: none;
  height: 100vh;
}
.hero.hero-consulenza-bg .hero-inner { color: var(--white); }
.hero.hero-consulenza-bg h1 { color: var(--white); }
.hero.hero-consulenza-bg h2.hero-subtitle { color: var(--white); }
.hero.hero-consulenza-bg p { color: rgba(255,255,255,0.9); }
.hero.hero-isolamento-bg { 
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/studio-backgroundbn.jpg'); 
  background-size: cover; 
  background-position: center; 
  background-attachment: fixed; 
  min-height: 100vh;
  max-height: none;
  height: 100vh;
  display: flex;
  align-items: center;
}
.hero.hero-isolamento-bg .hero-inner { color: var(--white); }
.hero.hero-isolamento-bg h1 { color: var(--white); }
.hero.hero-isolamento-bg h2.hero-subtitle { color: var(--white); }
.hero.hero-isolamento-bg p { color: rgba(255,255,255,0.9); }
.hero.hero-setup-bg { 
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('assets/setup-studiobn.jpg'); 
  background-size: cover; 
  background-position: center; 
  background-attachment: fixed; 
  min-height: 100vh;
  max-height: none;
  height: 100vh;
  display: flex;
  align-items: center;
}
.hero.hero-setup-bg .hero-inner { color: var(--white); }
.hero.hero-setup-bg h1 { color: var(--white); }
.hero.hero-setup-bg h2.hero-subtitle { color: var(--white); }
.hero.hero-setup-bg p { color: rgba(255,255,255,0.9); }
.about.about-methodology { display: flex !important; align-items: center; gap: 64px; }
.about.about-methodology .methodology-image { flex: 0 0 300px; display: flex; align-items: center; }
.about.about-methodology .methodology-image img { width: 100%; height: auto; border-radius: 8px; }
.about.about-methodology .methodology-text { flex: 1; }
@media (max-width: 768px) { .about.about-methodology { flex-direction: column !important; gap: 32px; } .about.about-methodology .methodology-image { flex: none; } }
.section-with-background { background-size: cover; background-position: center; background-attachment: fixed; position: relative; }
.section-with-background::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 1; }
.section-with-background .container { position: relative; z-index: 2; }
.section-methodology-bg { background-image: url('assets/approccio-e-metodologia.jpg'); }
.section-methodology-bg .section-title { color: var(--white); }
.section-methodology-bg .about.about-methodology .methodology-text p { color: rgba(255,255,255,0.9); }

/* Hero background for Studio di Registrazione */
.hero-studio-bg {
  background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/studio-registrazione.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  min-height: 100vh;
  max-height: none;
  height: 100vh;
}
.hero-studio-bg .hero-text h1,
.hero-studio-bg .hero-text h2.hero-subtitle,
.hero-studio-bg .hero-text p {
  color: var(--white);
}

/* Section background for Servizi di Isolamento */
.section-servizi-isolamento-bg {
  background-image: linear-gradient(rgba(231, 231, 231, 0.81), rgba(231, 231, 231, 0.81)), url('assets/fogli-analisi-acustica.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}
.section-servizi-isolamento-bg .section-title {
  color: var(--black);
}

/* Section background con immagine di sfondo */
.section-with-image-bg {
  background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('assets/studio-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  color: var(--white);
}

.section-with-image-bg .section-title {
  color: var(--white);
}

.section-with-image-bg p {
  color: rgba(255,255,255,0.9);
}
.section-servizi-isolamento-bg .service-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
}

.section-servizi-isolamento-bg .service-card-pareri {
  background-color: rgb(153, 52, 41);
  border-color: white;
  border-radius: 50%;
  backdrop-filter: blur(10px);
}


/* Hero background for Mixing & Produzione */
.hero-mixing-bg {
  background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/mixingbn.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  max-height: none;
  height: 100vh;
  display: flex;
  align-items: center;
}
.hero-mixing-bg .hero-text h1,
.hero-mixing-bg .hero-text h2.hero-subtitle,
.hero-mixing-bg .hero-text p {
  color: var(--white);
}

/* Hero background for Field Recording */
.hero-field-recording-bg {
  background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/field-recbn.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  max-height: none;
  height: 100vh;
  display: flex;
  align-items: center;
}
.hero-field-recording-bg .hero-text h1,
.hero-field-recording-bg .hero-text h2.hero-subtitle,
.hero-field-recording-bg .hero-text p {
  color: var(--white);
}

/* Hero background for recording page */
.hero-recording-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('assets/rec.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  max-height: none;
  height: 100vh;
  display: flex;
  align-items: center;
}

.hero-biografia-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/bio.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 700px;
  max-height: 900px;
  display: flex;
  align-items: center;
}

.hero-librerie-ambisoniche-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/librerie.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  max-height: none;
  height: 100vh;
  display: flex;
  align-items: center;
}

.hero-setup-studio-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/setup-studiobn.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  max-height: none;
  height: 100vh;
  display: flex;
  align-items: center;
}

.hero.hero-librerie-ambisoniche-bg h1,
.hero.hero-librerie-ambisoniche-bg h2.hero-subtitle,
.hero.hero-librerie-ambisoniche-bg p,
.hero.hero-recording-bg h1,
.hero.hero-recording-bg p,
.hero-biografia-bg h1,
.hero.hero-setup-studio-bg h1,
.hero.hero-setup-studio-bg p {
  color: white !important;
}

/* Hero background for Lezioni Online */
.hero-logic-masterclass-bg {
  background-image: /*linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),*/ url('assets/produci-con-logic.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  min-height: 700px;
  max-height: 900px;
  display: flex;
  align-items: center;
}

.hero-produzione-online-bg {
  background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/lezioni-online-logic.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  min-height: 100vh;
  max-height: none;
  height: 100vh;
  display: flex;
  align-items: center;
}
.hero-logic-masterclass-bg .hero-text h1,
.hero-logic-masterclass-bg .hero-text h2.hero-subtitle,
.hero-logic-masterclass-bg .hero-text h2,
.hero-logic-masterclass-bg .hero-text p,
.hero-produzione-online-bg .hero-text p,
.hero-produzione-online-bg .hero-text h1,
.hero-produzione-online-bg .hero-text h2.hero-subtitle,
.hero-produzione-online-bg .hero-text h2 {
  color: var(--white);
}

/* Hero background for Logic Workshop */
.hero-logic-workshop-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/lezioni-online/hero-workshop.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  min-height: 700px;
  max-height: 900px;
  display: flex;
  align-items: center;
}
.hero-logic-workshop-bg .hero-text h1,
.hero-logic-workshop-bg .hero-text h2.hero-subtitle,
.hero-logic-workshop-bg .hero-text h2,
.hero-logic-workshop-bg .hero-text p {
  color: var(--white);
  font-family: 'Montserrat', Inter, sans-serif;
  font-weight: 700;
  font-size: 20px;
}
.hero-logic-workshop-bg .hero-text h1 {
  font-family: 'Montserrat', Inter, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  font-size: 48px;
}

/* Section with background for Richiedi una Valutazione */
.section-valutazione-bg {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/servizi-isolamento.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 700px;
  max-height: 900px;
  display: flex;
  align-items: center;
}

.section-valutazione-bg .section-title,
.section-valutazione-bg p {
  color: white;
}

/* Hero Homepage Background */
.hero-homepage-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5)), url('assets/santino.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  min-height: 900px;
}

.hero-homepage-bg .hero-text h1,
.hero-homepage-bg .hero-text h2.hero-subtitle,
.hero-homepage-bg .hero-text p {
  color: white;
}

/* Section Servizi Consulenza Background */
.section-servizi-consulenza-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5)), url('assets/studio-backgroundbn.jpg');
  background: rgba(255, 255, 255, 0.95);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  max-height: none;
  height: 100vh;
  display: flex;
  align-items: center;
}

.section-servizi-consulenza-bg .section-title {
  color: black;
}

.section-servizi-consulenza-bg .service-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

/* Section background for Metodologia di Lavoro */
.section-metodologia-bg {
  background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.6)), url('assets/metodologia.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.section-metodologia-bg .section-title {
  color: var(--white);
}
.section-metodologia-bg .about p {
  color: rgba(255,255,255,0.9);
}

/* Section background for Attrezzature e Tecnologie */
.section-attrezzature-bg {
  background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/field.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.section-attrezzature-bg .section-title {
  color: var(--white);
}
.section-attrezzature-bg .about p {
  color: rgba(255,255,255,0.9);
}
.hero-inner { text-align: center; max-width: 900px; margin: 0 auto; position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero-text { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.hero h1 { font: 600 90px/1.06 Inter; letter-spacing: -0.03em; margin: 0 0 18px; color: var(--black); }

/* Stile per i titoli h1 delle sezioni hero (eccetto homepage) */
.hero-page-title {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-size: 17px;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.jost-homepage-title { font-family: "Jost", sans-serif !important; font-optical-sizing: auto; font-weight: 400 !important; font-style: normal; text-transform: uppercase; }
.hero h2.hero-subtitle { font: 700 32px/1.15 Inter; letter-spacing: -0.02em; margin: 0 0 18px; color: var(--black); }
.hero p { font-size: 20px; color: var(--gray-500); margin: 0 auto 32px; max-width: 700px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Griglia servizi (pannelli eleganti) */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.service-card { padding: 28px; background: var(--white); border: 1px solid var(--hairline); border-radius: 16px; box-shadow: var(--shadow-1); transition: transform .25s var(--easing), box-shadow .25s var(--easing), border-color .25s var(--easing); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--gray-200); }
.service-card h3 { font: 700 22px/1.2 Inter; letter-spacing: -0.01em; margin: 0 0 10px; color: var(--black); }
.service-card p { color: var(--gray-900); margin: 0; }
.service-card h3 a { color: inherit; }
.service-card h3 a:hover { color: var(--black); }

/* About */
.about { max-width: 1200px; margin: 0 auto; display: block; gap: 64px; }
.about-two-columns { display: flex; align-items: flex-start; gap: 64px; }
.about-text { flex: 1; }
.about-text h2 { text-align: left; margin-bottom: 24px; }
.about-text p { font-size: 18px; color: var(--gray-500); margin: 0 0 22px; text-align: left; }
.about-text p a { color: var(--black); font-weight: 600; position: relative; }
.about-text p a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--red); transition: width .25s var(--easing); }
.about-text p a:hover::after { width: 100%; }
.about-image { flex: 0 0 300px; }
.about-image img { width: 100%; height: 400px; object-fit: cover; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.12); }

/* Contact */
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-text p { font-size: 18px; color: var(--gray-500); margin: 0 0 28px; }
.contact-info { display: grid; gap: 14px; }
.contact-item { font: 500 16px/1.5 Inter; color: var(--gray-900); padding: 8px 0; border-bottom: 1px solid transparent; }
.contact-item:hover { border-bottom-color: var(--hairline); }
.contact-item strong { color: var(--black); }
.contact-item a { color: var(--red); font-weight: 600; }
.contact-item a:hover { color: var(--red-dark); text-decoration: underline; }
.contact-form { background: var(--black); border: 1px solid var(--hairline); padding: 28px; border-radius: 16px; box-shadow: var(--shadow-1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 8px; margin: 18px 0; }
label { font: 600 14px/1 Inter; color: var(--black); letter-spacing: -0.01em; }
input, select, textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--gray-300); background: var(--white); color: var(--black); font: 400 16px/1.5 Inter; border-radius: 12px; transition: border-color .2s var(--easing), box-shadow .2s var(--easing); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: var(--shadow-focus); }
.form-note { color: var(--gray-500); font-size: 14px; margin: 14px 0 0; }
.form-status { min-height: 24px; margin: 10px 0 0; font-size: 14px; font-weight: 500; color: var(--gray-500); }
.form-status.success { color: #2e7d32; }
.form-status.error { color: #c62828; }
.contact-form button[disabled] { opacity: 0.7; cursor: wait; }

/* Footer essenziale */
.site-footer { background: #0c0c0c; color: var(--white); padding: 56px 0 36px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-content { display: grid; gap: 28px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { filter: brightness(0) invert(1); }
.footer-brand strong { display: block; font: 700 18px/1 Inter; color: var(--white); }
.footer-brand span { display: block; font: 400 14px/1.2 Inter; color: #b6b6b6; margin-top: 4px; }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { color: #c9c9c9; font: 500 16px/1 Inter; position: relative; }
.footer-nav a::after { content: ""; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--white); transition: width .25s var(--easing); }
.footer-nav a:hover { color: var(--white); }
.footer-nav a:hover::after { width: 100%; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); color: #b6b6b6; }
.back-to-top { color: var(--white); width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; transition: transform .2s var(--easing), background .2s var(--easing), border-color .2s var(--easing); }
.back-to-top:hover { transform: translateY(-3px); background: rgba(246, 246, 246, 0.906); color: black; border-color: rgba(255,255,255,.35); }

/* Social links styling *//*
.social-links { display: flex; gap: 12px; align-items: center; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  text-decoration: none;
  border-radius: 20px;
  transition: all 0.3s ease;
  margin: 0 5px;
}

.social-links a img {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  transition: all 0.3s ease;
}
.social-links a:hover img {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0,0,0,.15);
}
.social-links a:active img {
  transform: translateY(-1px) scale(1.05);
}*/
.social-links { display: flex; gap: 10px; align-items: center; }
.social-links a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.15s ease;
}

.social-links a:hover {
  color: #000000;
  background: rgba(250, 250, 250, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.testimonials-slider {
  max-width: 920px;
  margin: 60px auto 0;
}

.testimonial-viewport {
  position: relative;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 18px;
  line-height: 1.7;
  font-style: italic;
  color: var(--gray-900);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s var(--easing);
}

.testimonial-slide strong {
  display: block;
  margin-top: 8px;
  font-style: normal;
}

.testimonial-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--gray-300);
  cursor: pointer;
  transition: transform .2s var(--easing), background-color .2s var(--easing);
}

.testimonial-dot:hover {
  transform: scale(1.1);
}

.testimonial-dot.is-active {
  background: var(--black);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-section { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .hero { padding: 96px 0; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 18px; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonial-viewport { min-height: 290px; }
  .testimonial-slide { font-size: 17px; }
  .mobile-text-first { flex-direction: column !important; flex-wrap: nowrap !important; }
  .mobile-text-first .mobile-text { order: 1; }
  .mobile-text-first .mobile-media { order: 2; }
  .form-row { grid-template-columns: 1fr; }
  .about { flex-direction: column; gap: 32px; text-align: center; }
  .about-text h2 { text-align: center; }
  .about-text p { text-align: center; }
  .about-image { flex: none; max-width: 250px; margin: 0 auto; }
  .about-image img { height: 320px; }
  .footer-main { flex-direction: column; text-align: center; gap: 18px; }
  .footer-main > div:last-child { flex-direction: column; gap: 18px; }
  .footer-nav { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .social-links { justify-content: center; }
  .nav { position: fixed; top: 73px; left: 0; right: 0; background: rgba(255,255,255,.98); backdrop-filter: blur(10px); border-top: 1px solid var(--hairline); flex-direction: column; padding: 22px; gap: 10px; transform: translateY(-100%); opacity: 0; transition: all .3s var(--easing); box-shadow: 0 8px 24px rgba(0,0,0,.08); z-index: 999; }
  .nav.open { transform: translateY(0); opacity: 1; }
  .nav a { padding: 16px 20px; width: 100%; text-align: center; border-bottom: 1px solid var(--hairline); display: block; min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .nav-toggle { display: flex; }
}

/* Equipment Toggle List */
.equipment-toggle-list {
  margin-top: 32px;
}

.toggle-item {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.toggle-header {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color .2s var(--easing);
}

.toggle-header:hover {
  background: var(--gray-50);
}

.toggle-header h3 {
  margin: 0;
  font: 600 18px/1.3 Inter;
  letter-spacing: -0.01em;
  color: var(--black);
}

.toggle-icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--gray-500);
  transition: transform .3s var(--easing), color .2s var(--easing);
}

.toggle-item.active .toggle-icon {
  transform: rotate(45deg);
  color: var(--black);
}

.toggle-content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--easing), padding .3s var(--easing);
}

.toggle-item.active .toggle-content {
  padding: 0 24px 20px;
  max-height: none;
}

.toggle-content p {
  margin: 0;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Lezioni Online Page Specific Styles */
.page-lezioni-online .section-title {
  text-align: center;
  color: white;
}

.page-logic-workshop .section-title {
  text-align: center;
  color: white;
  padding-top: 25px !important;
}

.page-logic-workshop h2 {
  text-align: center;
  color: white;
}

.page-lezioni-online h2 {
  text-align: center;
  color: white;
}

.page-lezioni-online h3 {
  text-align: center;
  color: white;
}

.page-lezioni-online h4 {
  text-align: center;
  color: white;
}

.page-lezioni-online .section {
  background-color: rgb(38, 38, 38);
}

.page-lezioni-online .pareri {
  background-color: rgb(153, 52, 41);
}

.page-lezioni-online p {
  margin-top: 0;
  text-align: left;
  color: white;
}

.page-lezioni-online .container {
    max-width: 70%;
}

.page-lezioni-online section {
    padding: 20px;
}

.page-lezioni-online .about {
  text-align: center;
}

.page-lezioni-online .cta-button {
  margin: 20px auto 0 auto;
  width: fit-content;
}

/* Countdown Timer Styles */
.registration-notice {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  padding: 8px 16px;
  /*color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  margin: 10px auto 20px;
  display: inline-block;
  border: 1px solid rgba(255, 107, 107, 0.3);*/
}

.countdown-section {
  padding: 20px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.countdown-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.countdown-title {
  font: 700 32px/1.2 Inter;
  margin: 0 0 40px;
  letter-spacing: -0.02em;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-number {
  font: 800 48px/1 Inter;
  color: white;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-label {
  font: 600 14px/1 Inter;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .countdown-timer {
    gap: 15px;
  }
  
  .countdown-item {
    min-width: 80px;
    padding: 15px;
  }
  
  .countdown-number {
    font-size: 36px;
  }
  
  .countdown-title {
    font-size: 24px;
  }
}

/* Media query per dispositivi mobili - rimuove effetto parallasse */
@media (max-width: 750px) {
  .hero.hero-with-bg,
  .hero.hero-isolamento-bg,
  .section-with-background,
  .hero-homepage-bg,
  .hero-biografia-bg,
  .hero-consulenza-bg,
  .hero-field-recording-bg,
  .hero-fonico-bg,
  .hero-logic-masterclass-bg,
  .hero-librerie-bg,
  .hero-mixing-bg,
  .hero-setup-bg,
  .section-attrezzature-bg {
    background-attachment: scroll !important;
    min-height: 400px !important;
  }
}

/* Riduzione movimento */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.page-lezioni-online .custom-card {
    max-width: 45%;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 15px;
    padding: 20px;
    margin: 20px auto;
    text-align: center;
    color: white;
}

.page-lezioni-online .custom-card ul {
    list-style: none;
    padding-left: 0;
}

.page-lezioni-online .custom-card li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.page-lezioni-online .custom-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: red;
    font-weight: bold;
    font-size: 18px;
}

/* Carousel Acustica */
.carousel-acustica {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px; /* Ensure height even if parent height is implicit */
  overflow: hidden;
}

.carousel-acustica img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
  display: block; /* Remove inline-block spacing */
}

.carousel-acustica img.active {
  opacity: 1;
  z-index: 2;
}

/* Stili per le righe bonus */
.page-lezioni-online .bonus-row {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 30px;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.page-lezioni-online .bonus-image {
    flex: 0 0 40%;
    text-align: right;
}

.page-lezioni-online .bonus-image img {
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.0);
}

.page-lezioni-online .bonus-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.0);
    border: 2px solid white;
    border-radius: 25px;
    padding: 25px;
    color: white;
    text-align: left;
}

.page-lezioni-online .bonus-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4em;
    color: #fff;
}

.page-lezioni-online .bonus-card p {
    margin-bottom: 0;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Media query per rendere responsive i bonus-row */
@media (max-width: 864px) {
    .page-lezioni-online .bonus-row {
        flex-direction: column;
        max-width: 90%;
    }
    
    .page-lezioni-online .bonus-image {
        flex-basis: auto;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .page-lezioni-online .bonus-card {
        text-align: center;
    }
}

/* Sezione About - Layout a due colonne */
.page-lezioni-online .about-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
}

.page-lezioni-online .about-image {
    flex: 0 0 300px;
}

.page-lezioni-online .profile-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0;
    border: 0px solid #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.page-lezioni-online .about-content {
    flex: 1;
    color: white;
    font-size: 21px;
    font-family: 'Montserrat', Inter, sans-serif;
  font-weight: 700;
}

.page-lezioni-online .about-content h3 {
    font-size: 2.2em;
    margin-bottom: 20px;
    font-size: 21px;
    font-family: 'Montserrat', Inter, sans-serif;
    font-weight: 400;
    color: #fff;
}

.page-lezioni-online .about-content p {
    font-size: 1.1em;
    line-height: 1.6;
    font-size: 21px;
    font-family: 'Montserrat', Inter, sans-serif;
    font-weight: 400;
    color: #f0f0f0;
}

/* Responsive per la sezione about */
@media (max-width: 768px) {
    .page-lezioni-online .about-section {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .page-lezioni-online .about-image {
        flex: none;
    }
    
    .page-lezioni-online .profile-image {
         width: 250px;
         height: 250px;
     }
 }

/* Programma e Date Section Styles */
.page-lezioni-online .programma-date-section {
  background: #000000;
  padding: 80px 0;
  color: white;
}

.page-lezioni-online .programma-date-section h2 {
  color: white;
  text-align: center;
  margin-bottom: 40px;
}

.page-lezioni-online .programma-date-section p {
  color: white;
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-lezioni-online .programma-date-section em {
  color: white;
  font-style: italic;
}

.page-lezioni-online .programma-date-section .cta-button {
  margin-top: 20px;
  font-size: 18px;
  font-family: 'Montserrat', Inter, sans-serif;
  font-weight: 700;
}

/* Sezione FAQ */
.page-lezioni-online .faq-section {
    padding: 60px 0;
    background: #000000;
}

.page-lezioni-online .faq-title {
    text-align: center;
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 40px;
}

.page-lezioni-online .faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-lezioni-online .faq-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-lezioni-online .faq-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.page-lezioni-online .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    user-select: none;
}

.page-lezioni-online .faq-question h3 {
    color: #fff;
    font-size: 1.2em;
    margin: 0;
    flex: 1;
}

.page-lezioni-online .faq-toggle {
    color: #ff0000;
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.page-lezioni-online .faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.page-lezioni-online .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-lezioni-online .faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 25px 20px 25px;
}

.page-lezioni-online .faq-answer p {
    color: #f0f0f0;
    line-height: 1.6;
    margin: 0;
}

/* Sezione Inizia a produrre - Sfondo nero */
.page-lezioni-online .section:has(#inizia-produrre) {
    background: #000000;
    color: white;
}

.page-lezioni-online .section:has(#inizia-produrre) h2,
.page-lezioni-online .section:has(#inizia-produrre) h3,
.page-lezioni-online .section:has(#inizia-produrre) p {
    color: white;
}

/* Sezione "Produci con Logic è per te se" - Sfondo nero */
.page-lezioni-online .produci-per-te-section {
    background: #000000;
    color: white;
    padding: 60px 0;
}

.page-lezioni-online .produci-per-te-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
}

.page-lezioni-online .produci-per-te-section .custom-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
}

.page-lezioni-online .produci-per-te-section .custom-card ul li {
    color: white;
}

.page-lezioni-online .produci-per-te-section .cta-button {
    background: #000000;
    color: white;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .page-lezioni-online .faq-section {
        padding: 40px 0;
    }
    
    .page-lezioni-online .faq-title {
        font-size: 2em;
    }
    
    .page-lezioni-online .faq-question {
        padding: 15px 20px;
    }
    
    .page-lezioni-online .faq-question h3 {
        font-size: 1.1em;
    }
    
    .page-lezioni-online .faq-item.active .faq-answer {
        padding: 0 20px 15px 20px;
    }
}

.content-text {
  flex: 0 0 50%;
  z-index: 2;
  padding: 0 40px;
}

.content-image {
  flex: 0 0 50%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-2);
  position: relative;
  z-index: 1;
  height: 400px;
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 1s ease, transform 1s ease;
}
