.elementor-kit-7{--e-global-color-primary:#4F0A8C;--e-global-color-secondary:#7C3AED;--e-global-color-text:#1A0E2E;--e-global-color-accent:#FFC2D7;--e-global-color-paper:#FAF8FC;--e-global-color-soft:#EEE8F8;--e-global-color-mint:#DDD0F0;--e-global-color-gold2:#E5A0BE;--e-global-color-rose:#E5A0BE;--e-global-color-line:#E0D5EE;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-7 e-page-transition{background-color:#FFC2D7;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* === HOME — stili curati === */

/* Eyebrow uppercase gold */
.bc-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #E5A0BE;
  margin-bottom: 1em;
}
.bc-eyebrow-light { color: #FFC2D7; }

/* Hero — gradient background sottile */
.bc-hero-home {
  background: linear-gradient(135deg, #FAF8FC 0%, #EEE8F8 50%, #DDD0F0 100%);
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.bc-hero-home::after {
  content: "";
  position: absolute;
  right: -100px;
  top: 50%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(124,58,237,0.08);
  transform: translateY(-50%);
  pointer-events: none;
}
.bc-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.bc-hero-text h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.08;
  margin: 0 0 0.6em;
  color: #1A0E2E;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.bc-hero-text .bc-h1-accent {
  color: #7C3AED;
  font-style: italic;
  font-weight: 500;
}
.bc-hero-text .bc-lead {
  font-size: 1.08rem;
  color: #3D2A5C;
  line-height: 1.65;
  margin: 0 0 1.6em;
  max-width: 520px;
}
.bc-hero-text .bc-lead strong { color: #1A0E2E; font-weight: 600; }
.bc-hero-bullets { list-style: none; padding: 0; margin: 0 0 2em; }
.bc-hero-bullets li {
  padding: 9px 0 9px 30px;
  position: relative;
  color: #3D2A5C;
  font-size: 0.96rem;
}
.bc-hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 18px;
  height: 2px;
  background: #FFC2D7;
}

/* Hero photo with badge */
.bc-hero-photo-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 0 0 auto;
}
.bc-hero-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(26,14,46,0.18);
  border: 8px solid #ffffff;
}
.bc-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; object-position: center top; max-height: 700px; }
.bc-hero-badge {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 20px 50px rgba(26,14,46,0.18);
  max-width: 280px;
  border: 1px solid #E0D5EE;
}
.bc-hero-badge strong {
  display: block;
  color: #1A0E2E;
  font-size: 0.95rem;
  margin-bottom: 4px;
  font-weight: 700;
}
.bc-hero-badge span {
  display: block;
  color: #6E5F85;
  font-size: 0.82rem;
  line-height: 1.4;
}

/* CTA row */
.bc-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.bc-cta-row-center { justify-content: center; }
.bc-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.bc-btn-gold { background: #FFC2D7; color: #fff; border-color: #FFC2D7; }
.bc-btn-gold:hover { background: #E5A0BE; border-color: #E5A0BE; color: #fff; }
.bc-btn-ghost { background: transparent; color: #1A0E2E; border-color: #1A0E2E; }
.bc-btn-ghost:hover { background: #1A0E2E; color: #fff; }
.bc-btn-light { background: #ffffff; color: #4F0A8C; border-color: #ffffff; }
.bc-btn-light:hover { background: transparent; color: #ffffff; border-color: #ffffff; }

/* Sezioni generiche */
.bc-section { padding: 90px 24px; }
.bc-section.bc-soft { background: #EEE8F8; }
.bc-section.bc-deep { background: #4F0A8C; color: #F4F0FA; }
.bc-section.bc-deep p { color: #C8B8E0; }
.bc-section.bc-deep h2,
.bc-section.bc-deep h3 { color: #ffffff; }
.bc-section.bc-deep .bc-h2-light { color: #fff; }

.bc-wrap { max-width: 1240px; margin: 0 auto; }
.bc-h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  color: #1A0E2E;
  font-weight: 600;
  margin: 0 0 1.4em;
  letter-spacing: -0.01em;
}

/* Card numerate */
.bc-grid { display: grid; gap: 24px; }
.bc-grid-4 { grid-template-columns: repeat(4, 1fr); }
.bc-card-num {
  background: #ffffff;
  border-radius: 14px;
  padding: 32px 28px;
  border: 1px solid #E0D5EE;
}
.bc-card-num .bc-num {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: #FFC2D7;
  margin-bottom: 1em;
  letter-spacing: 0.1em;
}
.bc-card-num h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  color: #1A0E2E;
  margin: 0 0 0.5em;
  font-weight: 600;
}
.bc-card-num p {
  color: #6E5F85;
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0;
}

/* Doctor cards */
.bc-doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.bc-doctor-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #E0D5EE;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
  align-items: stretch;
}
.bc-doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(26,14,46,0.12);
  border-color: #FFC2D7;
}
.bc-doctor-photo { width: 100%; }
.bc-doctor-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; border-radius: 12px; display: block; max-height: 360px; }
.bc-doctor-info { display: flex; flex-direction: column; justify-content: center; }
.bc-doctor-info h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  color: #1A0E2E;
  margin: 0 0 0.3em;
  font-weight: 600;
}
.bc-doctor-info .bc-doctor-role {
  color: #E5A0BE;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.8em;
}
.bc-doctor-info p {
  color: #6E5F85;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 1em;
}
.bc-link-arrow {
  color: #7C3AED;
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: auto;
}

/* Area grid (servizi) */
.bc-area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bc-area-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #E0D5EE;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
  display: block;
}
.bc-area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(26,14,46,0.10);
  border-color: #FFC2D7;
}
.bc-area-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  color: #1A0E2E;
  margin: 0 0 0.6em;
  font-weight: 600;
}
.bc-area-card p {
  color: #6E5F85;
  font-size: 0.93rem;
  line-height: 1.55;
  margin: 0 0 1em;
}

/* Deep section */
.bc-deep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.bc-deep-text p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 1.5em;
}
.bc-deep-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.bc-deep-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* Flow steps */
.bc-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.bc-flow-step {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 24px;
  border: 1px solid #E0D5EE;
  border-left: 4px solid #FFC2D7;
}
.bc-flow-step .bc-num {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: #FFC2D7;
  margin-bottom: 0.7em;
  letter-spacing: 0.1em;
}
.bc-flow-step h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  color: #1A0E2E;
  margin: 0 0 0.5em;
  font-weight: 600;
}
.bc-flow-step p {
  color: #6E5F85;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

/* Trio */
.bc-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bc-trio-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 32px 28px;
  border: 1px solid #E0D5EE;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.25s;
}
.bc-trio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(26,14,46,0.10);
  border-color: #FFC2D7;
}
.bc-trio-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  color: #1A0E2E;
  margin: 0 0 0.6em;
  font-weight: 600;
}
.bc-trio-card p {
  color: #6E5F85;
  font-size: 0.93rem;
  line-height: 1.55;
  margin: 0 0 1em;
}
.bc-trio-card strong { color: #4F0A8C; }

/* CTA finale */
.bc-cta {
  background: linear-gradient(135deg, #4F0A8C 0%, #7C3AED 100%);
  color: #ffffff;
  padding: 70px 32px;
  border-radius: 18px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}
.bc-cta h2 {
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.5em;
  font-weight: 600;
}
.bc-cta p {
  color: #E0D5EE;
  margin: 0 auto 1.6em;
  max-width: 540px;
  font-size: 1.02rem;
}

/* Mobile */
@media (max-width: 980px) {
  .bc-hero-grid, .bc-deep-grid { grid-template-columns: 1fr; gap: 40px; }
  .bc-hero-photo-wrap { margin: 0 auto; }
  .bc-grid-4, .bc-flow { grid-template-columns: repeat(2, 1fr); }
  .bc-area-grid, .bc-trio { grid-template-columns: 1fr; }
  .bc-doctor-grid { grid-template-columns: 1fr; }
  .bc-doctor-card { grid-template-columns: 1fr; }
  .bc-section { padding: 60px 18px; }
  .bc-hero-home { padding: 60px 18px; }
  .bc-hero-badge { right: 0; bottom: -20px; }
}
@media (max-width: 600px) {
  .bc-grid-4 { grid-template-columns: 1fr; }
  .bc-flow { grid-template-columns: 1fr; }
}


/* ============================================================
   HEADER MODERNO — Studio Bittarello & Cacchione
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

/* Forza Inter su tutto il sito (modern look) */
.bc-page, .elementor-location-header, .elementor-location-footer {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* === BRAND === */

.bc-brand-link:hover { opacity: 0.85; }




/* === NAV MENU === */
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: center;
}
.elementor-location-header .elementor-nav-menu > li {
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}
.elementor-location-header .elementor-nav-menu > li > a {
  position: relative;
  padding: 14px 6px !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  letter-spacing: -0.01em !important;
  transition: color .25s ease;
}
.elementor-location-header .elementor-nav-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #FFC2D7;
  border-radius: 2px;
  transition: width .3s ease;
}
.elementor-location-header .elementor-nav-menu > li:hover > a::after,
.elementor-location-header .elementor-nav-menu > li.current-menu-item > a::after,
.elementor-location-header .elementor-nav-menu > li.current-menu-ancestor > a::after {
  width: 24px;
}

/* Submenu moderni */
.elementor-location-header .sub-menu {
  margin-top: 0 !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  border-radius: 12px !important;
  border-top: 3px solid #FFC2D7 !important;
  overflow: hidden;
}
.elementor-location-header .sub-menu li a {
  padding: 11px 22px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
  transition: all .2s ease;
  position: relative;
}
.elementor-location-header .sub-menu li a:hover {
  background: #F8F4FC !important;
  color: #7C3AED !important;
  padding-left: 30px !important;
}
.elementor-location-header .sub-menu li a::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1.5px;
  background: #FFC2D7;
  transition: width .2s ease;
  border-radius: 1px;
}
.elementor-location-header .sub-menu li a:hover::before { width: 10px; }

/* === CTA HEADER === */




@keyframes bc-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,42,42,0.6); transform: scale(1); }
  50% { box-shadow: 0 0 0 6px rgba(201,42,42,0); transform: scale(0.92); }
}






/* Top bar links */
.elementor-location-header > .elementor-section:first-child a:hover {
  color: #FFC2D7 !important;
  transition: color .2s;
}

/* === H1 + headings sito MODERNI === */
.bc-page h1 {
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.05 !important;
}
.bc-page h2 {
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.15 !important;
}
.bc-page h3 {
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.015em !important;
}

/* H1 hero accent: rimuovo italic, modernizzo */
.bc-hero-text .bc-h1-accent {
  color: #7C3AED !important;
  font-style: italic;
  font-weight: 700;
}

/* Bottoni più moderni */
.bc-btn {
  font-family: 'Inter', sans-serif !important;
  border-radius: 12px !important;
  padding: 14px 26px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.bc-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(197,155,92,0.35); }
.bc-btn-ghost:hover { transform: translateY(-2px); }

/* Card moderne */
.bc-card-num, .bc-flow-step, .bc-area-card, .bc-trio-card, .bc-doctor-card {
  border-radius: 16px !important;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.bc-flow-step { border-left: 3px solid #FFC2D7 !important; }

/* Eyebrow moderno */
.bc-eyebrow {
  font-family: 'Inter', sans-serif !important;
  letter-spacing: 0.18em !important;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
}

/* Hero photo: bordi più morbidi */
.bc-hero-photo {
  border-radius: 22px !important;
  border-width: 6px !important;
}
.bc-hero-badge {
  border-radius: 16px !important;
}

/* Mobile */
@media (max-width: 1180px) {
  
  
  .elementor-location-header .elementor-nav-menu > li > a { font-size: 14px !important; padding: 12px 4px !important; }
  .elementor-location-header .elementor-nav-menu { gap: 14px; }
}
@media (max-width: 900px) {
  
  
}


/* === HEADER COMPACT — limita larghezza e altezza === */
.elementor-location-header > .elementor-section > .elementor-container {
  max-width: 1320px !important;
  margin: 0 auto !important;
}
.elementor-location-header .elementor-section { width: 100%; }

/* Top bar compatto */
.elementor-location-header > .elementor-section:first-child .elementor-text-editor p {
  font-size: 12.5px !important;
  line-height: 1.4 !important;
}

/* Main row compatto */
.elementor-location-header > .elementor-section:nth-child(2) {
  min-height: 76px !important;
}

/* Padding top bar ridotto */
.elementor-location-header > .elementor-section:first-child .elementor-column-gap-default,
.elementor-location-header > .elementor-section:first-child .elementor-widget {
  margin-bottom: 0 !important;
}
.elementor-location-header > .elementor-section:first-child .elementor-widget-text-editor {
  padding: 0 !important;
}

/* Nav menu padding voci ridotto */
.elementor-location-header .elementor-nav-menu > li > a {
  padding: 8px 6px !important;
}
.elementor-location-header .elementor-nav-menu > li > a::after {
  bottom: 1px !important;
}

/* CTA pulsanti più compatti */


/* ============================================================
   SERVICE BAR + Z-INDEX SUBMENU FIX
   ============================================================ */

/* Z-INDEX FIX: submenu del main menu si sovrappone alla service bar */
.elementor-location-header { position: relative; z-index: 100; }
.elementor-location-header > .elementor-section:nth-child(2) { 
  position: relative; 
  z-index: 50; 
}
.elementor-location-header > .elementor-section:nth-child(2) .elementor-widget-nav-menu { 
  position: relative; 
  z-index: 50; 
}
.elementor-location-header > .elementor-section:nth-child(2) .sub-menu {
  z-index: 500 !important;
  position: absolute !important;
}
.elementor-location-header > .elementor-section:nth-child(3) { 
  position: relative; 
  z-index: 1; 
}

/* Label "I servizi" */
#bc-service-label {
  display: inline-block;
  position: relative;
  padding-right: 18px;
}
#bc-service-label::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(255,194,215,0.4);
}

/* Service bar: voci aerose, no separatori artificiali, hover smooth */
#bc-service-bar.elementor-nav-menu--main .elementor-nav-menu,
#bc-service-bar .elementor-nav-menu {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center;
  justify-content: flex-start;
  gap: 2px !important;
}
#bc-service-bar .elementor-nav-menu > li { 
  position: relative; 
  white-space: nowrap; 
}
#bc-service-bar .elementor-nav-menu > li > a {
  padding: 6px 14px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  color: #5C4D74 !important;
  border-radius: 8px !important;
  transition: all .2s ease !important;
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
}
#bc-service-bar .elementor-nav-menu > li > a:hover {
  background: rgba(197,155,92,0.10) !important;
  color: #E5A0BE !important;
}
#bc-service-bar .elementor-nav-menu > li.menu-item-has-children > a::after {
  content: "▾";
  font-size: 9px;
  color: #FFC2D7;
  margin-left: 2px;
  display: inline-block;
}
#bc-service-bar .elementor-nav-menu > li.current-menu-item > a,
#bc-service-bar .elementor-nav-menu > li.current-menu-ancestor > a {
  background: rgba(23,72,67,0.07) !important;
  color: #4F0A8C !important;
  font-weight: 600 !important;
}

/* Submenu della service bar */
#bc-service-bar .sub-menu {
  margin-top: 4px !important;
  border-top: 2px solid #FFC2D7 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: 0 14px 36px rgba(26,14,46,0.14) !important;
  min-width: 220px !important;
  padding: 6px 0 !important;
  z-index: 500 !important;
}
#bc-service-bar .sub-menu li a {
  padding: 9px 18px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #1A0E2E !important;
  transition: all .15s ease;
}
#bc-service-bar .sub-menu li a:hover {
  background: #FAF8FC !important;
  color: #E5A0BE !important;
  padding-left: 22px !important;
}

/* === SUB-SUB-MENU (Trattamenti > Categoria > voce) === */
.elementor-location-header .sub-menu .sub-menu {
  position: absolute !important;
  left: 100% !important;
  top: -2px !important;
  margin-left: 6px !important;
  border-top: 2px solid #FFC2D7 !important;
  border-radius: 10px !important;
  z-index: 600 !important;
}
.elementor-location-header > .elementor-section:nth-child(2) .sub-menu li.menu-item-has-children > a {
  position: relative;
}
.elementor-location-header > .elementor-section:nth-child(2) .sub-menu li.menu-item-has-children > a::after {
  content: "›";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #FFC2D7;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

/* Mobile: nascondi service bar standalone */
@media (max-width: 1024px) {
  .elementor-location-header > .elementor-section:nth-child(3) {
    display: none !important;
  }
}


/* ============================================================
   PAGINE INTERNE — design system completo bc-*
   ============================================================ */

/* === HERO pagine interne === */
.bc-hero {
  padding: 80px 24px 60px;
  background: linear-gradient(135deg, #FAF8FC 0%, #EEE8F8 100%);
  position: relative;
  overflow: hidden;
}
.bc-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}
.bc-hero-text { min-width: 0; }
.bc-hero-text h1 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: #1A0E2E;
  margin: 0 0 0.5em;
}
.bc-hero-media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(26,14,46,0.16);
}
.bc-hero-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* === Eyebrow / label === */
.bc-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #E5A0BE;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1em;
}

.bc-section-deep .bc-label,
.bc-section-deep .bc-eyebrow { color: #FFC2D7; }

/* === Lead text === */
.bc-lead {
  font-size: 1.08rem;
  color: #3D2A5C;
  line-height: 1.65;
  margin: 0 0 1.6em;
  max-width: 560px;
}
.bc-lead strong { color: #1A0E2E; font-weight: 600; }

/* === Section variants === */
.bc-section { padding: 70px 24px; }
.bc-section-head { padding-top: 50px; padding-bottom: 30px; }
.bc-section-soft { background: #EEE8F8; }
.bc-section-white { background: #FAF8FC; }
.bc-section-deep { background: #4F0A8C; color: #F4F0FA; }
.bc-section-deep .bc-h2,
.bc-section-deep h2,
.bc-section-deep h3 { color: #ffffff; }
.bc-section-deep p,
.bc-section-deep .bc-prose,
.bc-section-deep .bc-prose p,
.bc-section-deep .bc-list li { color: #C8B8E0; }
.bc-section-deep strong { color: #ffffff; }
.bc-section-deep a { color: #FFE0EC; }

.bc-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* === Headings === */
.bc-page h1, .bc-page h2, .bc-page h3 {
  font-family: 'Manrope', system-ui, sans-serif;
  color: #1A0E2E;
}
.bc-page h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1em;
}
.bc-page h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
}

/* === Vincolo IMMAGINI: max altezza 460px sempre === */
.bc-page img {
  max-width: 100%;
  height: auto;
  display: block;
}
.bc-page section img,
.bc-page .bc-section img {
  max-height: 460px;
  object-fit: cover;
}

/* === Grid layouts === */
.bc-grid { display: grid; gap: 22px; }
.bc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.bc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.bc-grid-four { grid-template-columns: repeat(4, 1fr); }

/* === Card universali === */
.bc-card,
.bc-card-link,
.bc-area-link,
.bc-tech-card {
  background: #ffffff;
  border: 1px solid #E0D5EE;
  border-radius: 14px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.bc-card-link:hover,
.bc-area-link:hover,
.bc-tech-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(26,14,46,0.10);
  border-color: #FFC2D7;
}
.bc-section-deep .bc-card,
.bc-section-deep .bc-card-link,
.bc-section-deep .bc-area-link,
.bc-section-deep .bc-tech-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: #F4F0FA;
}
.bc-section-deep .bc-card h3,
.bc-section-deep .bc-card-link h3,
.bc-section-deep .bc-area-link h3,
.bc-section-deep .bc-tech-card h3 { color: #ffffff; }
.bc-section-deep .bc-card p,
.bc-section-deep .bc-tech-card p { color: #C8B8E0; }

/* Tech card: con immagine in alto e testo sotto */
.bc-tech-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
  max-height: 260px !important;
}

/* === Split (testo + foto) === */
.bc-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}
.bc-split-text p { color: #3D2A5C; line-height: 1.7; }
.bc-split-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(26,14,46,0.14);
}
.bc-split-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  max-height: 460px !important;
  display: block;
}
.bc-split-light .bc-split-text { color: #F4F0FA; }
.bc-split-light .bc-split-text p { color: #C8B8E0; }
.bc-split-light .bc-split-text h2,
.bc-split-light .bc-split-text h3 { color: #ffffff; }

/* === Prose (paragrafi articolo) === */
.bc-prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #3D2A5C;
}
.bc-prose h2,
.bc-prose h3 { margin-top: 1.6em; }
.bc-prose ul,
.bc-prose ol { padding-left: 1.4em; margin: 1em 0 1.4em; }
.bc-prose li { margin: .35em 0; }
.bc-prose strong { color: #1A0E2E; font-weight: 600; }
.bc-prose-light { color: #C8B8E0; }
.bc-prose-light strong { color: #ffffff; }
.bc-prose-light a { color: #FFE0EC; }

/* === List === */
.bc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4em;
}
.bc-list li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: #3D2A5C;
  line-height: 1.55;
}
.bc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 14px;
  height: 2px;
  background: #FFC2D7;
}
.bc-section-deep .bc-list li { color: #C8B8E0; }

/* === Buttons === */
.bc-btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}
.bc-btn-gold {
  background: #FFC2D7;
  color: #ffffff;
  border-color: #FFC2D7;
  box-shadow: 0 4px 14px rgba(197,155,92,0.28);
}
.bc-btn-gold:hover {
  background: #E5A0BE;
  border-color: #E5A0BE;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,194,215,0.4);
  color: #fff;
}

/* Link arrow */
.bc-link-arrow {
  display: inline-block;
  color: #7C3AED;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 12px;
  transition: gap .2s;
}
.bc-link-arrow:hover { color: #4F0A8C; }

/* === FAQ === */
.bc-faq {
  background: #ffffff;
  border: 1px solid #E0D5EE;
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 12px;
  transition: all .2s;
}
.bc-faq[open] {
  border-color: #FFC2D7;
  box-shadow: 0 6px 20px rgba(17,45,51,0.06);
}
.bc-faq summary {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 600;
  cursor: pointer;
  color: #1A0E2E;
  list-style: none;
  position: relative;
  padding-right: 30px;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.bc-faq summary::-webkit-details-marker { display: none; }
.bc-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #FFC2D7;
  font-weight: 400;
  font-size: 1.6em;
  line-height: 1;
  transition: transform .2s;
}
.bc-faq[open] summary::after {
  content: "−";
  color: #7C3AED;
}
.bc-faq[open] summary { margin-bottom: .9em; color: #4F0A8C; }
.bc-faq p { 
  margin: 0; 
  color: #6E5F85; 
  line-height: 1.65;
  font-size: 0.97rem;
}

/* === Mobile === */
@media (max-width: 980px) {
  .bc-hero-grid,
  .bc-split { grid-template-columns: 1fr; gap: 36px; }
  .bc-grid-2,
  .bc-grid-3,
  .bc-grid-four { grid-template-columns: repeat(2, 1fr); }
  .bc-section { padding: 50px 18px; }
  .bc-hero { padding: 50px 18px; }
}
@media (max-width: 600px) {
  .bc-grid-2,
  .bc-grid-3,
  .bc-grid-four { grid-template-columns: 1fr; }
}


/* === BC-BAND: CTA finale gradient verde-oro === */
.bc-page section.bc-band,
.bc-page .bc-band {
  background: linear-gradient(135deg, #4F0A8C 0%, #7C3AED 100%);
  color: #ffffff;
  padding: 70px 32px;
  border-radius: 18px;
  text-align: center;
  max-width: 1100px;
  margin: 60px auto;
}
.bc-page .bc-band h2 {
  color: #ffffff;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.bc-page .bc-band p {
  color: #E0D5EE;
  margin: 0 auto 1.5em;
  max-width: 540px;
  font-size: 1rem;
  line-height: 1.65;
}
.bc-page .bc-band .bc-btn-gold { background: #FFC2D7; color: #fff; }
.bc-page .bc-band .bc-btn-gold:hover { background: #F0B5C9; }


/* ============================================================
   DEEP-FIX — testo chiaro su sezioni verde scuro (bc-section-deep)
   ============================================================ */
.bc-page .bc-section-deep,
.bc-page section.bc-section-deep { color: #F4F0FA !important; }

.bc-page .bc-section-deep h1,
.bc-page .bc-section-deep h2,
.bc-page .bc-section-deep h3,
.bc-page .bc-section-deep h4,
.bc-page .bc-section-deep .bc-h2,
.bc-page .bc-section-deep .bc-h2-light,
.bc-page section.bc-section-deep h1,
.bc-page section.bc-section-deep h2,
.bc-page section.bc-section-deep h3 {
  color: #ffffff !important;
}

.bc-page .bc-section-deep p,
.bc-page .bc-section-deep .bc-prose,
.bc-page .bc-section-deep .bc-prose p,
.bc-page .bc-section-deep .bc-list li,
.bc-page .bc-section-deep ul li,
.bc-page .bc-section-deep ol li,
.bc-page section.bc-section-deep p,
.bc-page section.bc-section-deep li {
  color: #C8B8E0 !important;
}

.bc-page .bc-section-deep strong,
.bc-page section.bc-section-deep strong {
  color: #ffffff !important;
  font-weight: 600;
}

.bc-page .bc-section-deep .bc-label,
.bc-page .bc-section-deep .bc-eyebrow {
  color: #F0B5C9 !important;
}

.bc-page .bc-section-deep a {
  color: #FFE0EC !important;
  text-decoration-color: rgba(240,212,163,0.4);
}
.bc-page .bc-section-deep a:hover {
  color: #ffffff !important;
}

.bc-page .bc-section-deep .bc-btn {
  border-color: #FFC2D7;
}
.bc-page .bc-section-deep .bc-btn-light {
  background: #ffffff;
  color: #4F0A8C !important;
  border-color: #ffffff;
}
.bc-page .bc-section-deep .bc-btn-light:hover {
  background: transparent;
  color: #ffffff !important;
  border-color: #ffffff;
}

.bc-page .bc-section-deep .bc-list li::before {
  background: #FFC2D7;
}

/* Card dentro section-deep */
.bc-page .bc-section-deep .bc-card,
.bc-page .bc-section-deep .bc-tech-card,
.bc-page .bc-section-deep .bc-card-link,
.bc-page .bc-section-deep .bc-area-link {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.15) !important;
}
.bc-page .bc-section-deep .bc-card h3,
.bc-page .bc-section-deep .bc-tech-card h3,
.bc-page .bc-section-deep .bc-card-link h3,
.bc-page .bc-section-deep .bc-area-link h3 {
  color: #ffffff !important;
}
.bc-page .bc-section-deep .bc-card p,
.bc-page .bc-section-deep .bc-tech-card p,
.bc-page .bc-section-deep .bc-card-link p,
.bc-page .bc-section-deep .bc-area-link p {
  color: #C8B8E0 !important;
}

/* Split-light: sezione con bc-split-text leggero */
.bc-page .bc-section-deep .bc-split-text { color: #F4F0FA !important; }
.bc-page .bc-section-deep .bc-split-text p { color: #C8B8E0 !important; }
.bc-page .bc-section-deep .bc-split-text strong { color: #ffffff !important; }

/* Hero-media: foto a destra dell'hero — dimensione corretta */
.bc-page .bc-hero-media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(26,14,46,0.16);
  max-width: 540px;
  margin-left: auto;
  border: 6px solid #ffffff;
}
.bc-page .bc-hero-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center;
  display: block;
  max-height: 600px !important;
}
@media (max-width: 980px) {
  .bc-page .bc-hero-media { max-width: 100%; margin: 0 auto; }
  .bc-page .bc-hero-media img { aspect-ratio: 4/3; max-height: 360px !important; }
}


/* === MOBILE RESPONSIVE FIX === */
@media (max-width: 880px) {
  /* === MOBILE NAV: nasconde service bar (troppo stretta su mobile) === */
  .e-con .elementor-element[data-id]:has(.bc-services-label),
  body .elementor-section .e-con-inner > div[class*="service-bar"],
  body .elementor-element-populated:has(> .bc-services-label),
  body section[data-id] .elementor-row:has(.bc-services-label) { display: none !important; }
  
  /* nascondi top bar mobile (troppe info) */
  body .elementor-top-section:first-child { display: none !important; }
  
  /* === BC TEMPLATE: stack su mobile === */
  .bc-hero-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .bc-hero-media { max-width: 100% !important; margin-top: 0 !important; }
  .bc-hero-media img { max-height: 360px !important; object-fit: cover !important; }
  
  .bc-split { grid-template-columns: 1fr !important; gap: 24px !important; }
  .bc-split-photo img { max-height: 320px !important; }
  
  .bc-grid-four { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .bc-grid-3, .bc-grid-2 { grid-template-columns: 1fr !important; gap: 16px !important; }
  
  .bc-hero h1 { font-size: 1.8rem !important; line-height: 1.15 !important; }
  .bc-section h2 { font-size: 1.5rem !important; }
  .bc-section { padding: 40px 0 !important; }
  .bc-band h2 { font-size: 1.4rem !important; }
  .bc-wrap { padding: 0 16px !important; }
  
  .bc-card { padding: 18px !important; }
  .bc-card h3 { font-size: 1.05rem !important; }
  
  .bc-btn { display: inline-block; margin-bottom: 10px !important; }
  
  /* footer trasparenza: link in colonna */
  #bc-footer-trasparenza a { display: block !important; margin: 6px 0 !important; }
}

@media (max-width: 480px) {
  .bc-grid-four { grid-template-columns: 1fr !important; }
  .bc-hero h1 { font-size: 1.6rem !important; }
}/* End custom CSS */

/* ==========================================
   EVO SISTEMI — MOBILE FIX & MODERNIZATION
   Sostituisce i bug mobile del dentista
   ========================================== */

/* Header globale: tap target accessibili */
@media (max-width: 880px) {
  body .elementor-location-header .elementor-nav-menu > li > a {
    padding: 14px 12px !important;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 15px !important;
  }
  
  /* Hamburger menu visibile su mobile */
  body .elementor-location-header .elementor-menu-toggle {
    display: flex !important;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
  }
  
  /* Quando hamburger aperto, dropdown a tutta larghezza con z-index alto */
  body .elementor-location-header .elementor-nav-menu--dropdown {
    background: #FAF8FC;
    border-top: 2px solid #4F0A8C;
    box-shadow: 0 8px 24px rgba(26,14,46,0.12);
    z-index: 9999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  body .elementor-location-header .elementor-nav-menu--dropdown li {
    border-bottom: 1px solid #E0D5EE;
  }
  
  body .elementor-location-header .elementor-nav-menu--dropdown li a {
    padding: 16px 20px !important;
    color: #1A0E2E;
    font-weight: 500;
    min-height: 48px;
  }
}

/* Body type system: sostituisco serif Georgia (dentista) con sans-serif moderno per evo */
.bc-page h1,
.bc-page h2,
.bc-page h3,
.bc-page .bc-hero-text h1 {
  font-family: -apple-system, "Inter", "Segoe UI", system-ui, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.025em !important;
}

/* H1 mobile responsive con clamp pulito */
.bc-page .bc-hero-text h1,
.bc-page .bc-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3.4rem) !important;
}

.bc-page h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem) !important;
}

/* CTA Button: stile pill viola Milka, tap target 44px */
.bc-page .bc-btn,
.bc-page .bc-btn-gold {
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.bc-page .bc-btn-gold {
  background: #4F0A8C !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(79,10,140,0.25);
}

.bc-page .bc-btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(79,10,140,0.35);
  background: #3F0670 !important;
}

/* Mobile: bottoni full-width per migliorare tap area */
@media (max-width: 600px) {
  .bc-page .bc-btn,
  .bc-page .bc-btn-gold {
    width: 100%;
    margin-bottom: 12px !important;
    margin-left: 0 !important;
  }
  
  .bc-page .bc-hero-text p[style*="margin-top"] {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
}

/* FAQ details/summary leggibili su mobile */
.bc-page .bc-faq {
  margin-bottom: 12px;
  border: 1px solid #E0D5EE;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.bc-page .bc-faq summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #1A0E2E;
  list-style: none;
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-right: 48px;
  user-select: none;
}

.bc-page .bc-faq summary::-webkit-details-marker { display: none; }

.bc-page .bc-faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: #4F0A8C;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease;
}

.bc-page .bc-faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.bc-page .bc-faq p {
  padding: 0 20px 18px;
  margin: 0;
  color: #3D2A5C;
  line-height: 1.65;
}

/* Card numerate con cerchio viola Milka */
.bc-page .bc-card-num .bc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #4F0A8C;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

/* Card hover effect sottile */
.bc-page .bc-card,
.bc-page .bc-card-num,
.bc-page .bc-card-link {
  background: #ffffff;
  border: 1px solid #E0D5EE;
  border-radius: 14px;
  padding: 24px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.bc-page .bc-card:hover,
.bc-page .bc-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(79,10,140,0.10);
  border-color: #C8B8E0;
}

/* Section padding responsive consistent */
.bc-page .bc-section {
  padding: 80px 24px;
}

@media (max-width: 880px) {
  .bc-page .bc-section,
  .bc-page .bc-hero {
    padding: 56px 18px;
  }
}

@media (max-width: 480px) {
  .bc-page .bc-section,
  .bc-page .bc-hero {
    padding: 40px 16px;
  }
}

/* Container width consistent (1280px boxed evo standard) */
.bc-page .bc-wrap {
  max-width: 1280px;
  margin: 0 auto;
}

/* Eyebrow viola Milka invece di rosa per coerenza brand */
.bc-page .bc-label,
.bc-page .bc-eyebrow {
  color: #4F0A8C !important;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: inline-block;
}

/* CTA band finale */
.bc-page .bc-band {
  background: linear-gradient(135deg, #4F0A8C 0%, #7C3AED 100%);
  color: #ffffff;
  padding: 80px 24px;
  text-align: center;
}

.bc-page .bc-band h2 {
  color: #ffffff !important;
  font-size: clamp(1.8rem, 4vw, 2.6rem) !important;
  margin: 0 0 16px;
}

.bc-page .bc-band p {
  color: rgba(255,255,255,0.92);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

@media (max-width: 880px) {
  .bc-page .bc-band {
    padding: 56px 20px;
  }
}

/* Hero pattern viola Milka — riferimento concept "mucca viola" sottile */
.bc-page .bc-hero,
.bc-page .bc-hero-home {
  background: linear-gradient(135deg, #FAF8FC 0%, #EEE8F8 50%, #DDD0F0 100%);
  position: relative;
  overflow: hidden;
}

/* Accessibilità: focus visible su tutti gli elementi interattivi */
.bc-page a:focus-visible,
.bc-page button:focus-visible,
.bc-page summary:focus-visible {
  outline: 2px solid #4F0A8C;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced motion: disabilita transizioni per chi le vuole disabilitate */
@media (prefers-reduced-motion: reduce) {
  .bc-page *,
  .bc-page *::before,
  .bc-page *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Lazy-load images con aspect-ratio per evitare CLS */
.bc-page img {
  max-width: 100%;
  height: auto;
}

.bc-page .bc-hero-media img,
.bc-page .bc-split-photo img {
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 14px;
}

/* === END EVO SISTEMI MOBILE FIX === */


/* ==========================================
   FIX ROUND 3 — H1 doppio + tweaks pilot
   ========================================== */

/* Nasconde page header Hello Elementor quando la pagina ha bc-page nel content */
body:has(.bc-page) .page-header,
body:has(.bc-page) .entry-header,
body:has(.bc-page) header.entry-header {
    display: none !important;
}

/* Card archetipi con altezza auto e padding decente, no troncamento */
.bc-page .bc-section-soft .bc-grid > .bc-card,
.bc-page .bc-grid-3 > .bc-card {
    min-height: 120px;
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 1.5;
    font-size: 1rem;
}

/* Process step heading "01 ·" stile pulito */
.bc-page h2:has(+ p),
.bc-page h3:has(+ p) {
    margin-top: 28px;
}

/* Sicurezza: contenuto split lungo non si rompe */
.bc-split-text {
    word-break: normal;
    overflow-wrap: break-word;
}

/* Spacing tra H2 grosse coerente */
.bc-page h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

/* === FINE FIX === */
