/* ================================================
   COHERENCE® DUAL-TONE LUXURY THEME Rev.3.6 LUXURY BALANCE
   ================================================ */

/* ---------- FONT & BASE ---------- */
body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  color: #222;
  background-color: #EAE7E3;     /* perla chiaro */
  line-height: 1.6;
}

/* ---------- HEADER ---------- */
.luxury-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  display: flex;
  justify-content: center;
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-container {
  width: 90%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo-coherence {
  height: 80px;
  transition: all 0.3s ease;
}

.logo-coherence:hover {
  transform: scale(1.05);
}

.main-nav a {
  color: #222;
  text-decoration: none;
  margin: 0 12px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #D4AF37;  /* oro tenue */
}

/* ---------- HERO VIDEO (sezione scura) ---------- */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-color: #0A0A0A;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: none;
  z-index: 1;
  pointer-events: none;
}


.hero-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  color: #FFFFFF;
}

/* ---------- FADE-IN ---------- */
@keyframes fadeInUp {
  0% {opacity: 0; transform: translateY(40px);}
  100% {opacity: 1; transform: translateY(0);}
}

.hero-overlay h1,
.hero-overlay .subtitle,
.hero-overlay .btn-primary {
  opacity: 0;
  animation: fadeInUp 1.6s ease forwards;
}

.hero-overlay h1   { animation-delay: 0.2s; font-size: 3.3em; font-weight: 300; letter-spacing: 2px; }
.hero-overlay .subtitle { animation-delay: 0.7s; color: #C0C0C0; font-size: 1.4em; }
.hero-overlay .btn-primary { animation-delay: 1.2s; }

/* ---------- BUTTONS ---------- */
.btn-primary {
  background-color: #D4AF37;
  color: #0A0A0A;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #FFF;
  color: #0A0A0A;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid #D4AF37;
  color: #D4AF37;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #D4AF37;
  color: #0A0A0A;
}

/* ---------- SEZIONI CHIARE (dopo HERO) ---------- */
.coherence-lines {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 40px;
  padding: 100px 5% 80px;
  background-color: #EAE7E3;
}

.line-card {
  flex: 1 1 300px;
  max-width: 360px;
  background-color: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-align: center;
}

.line-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.line-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.line-card h2 {
  font-weight: 400;
  color: #111;
  margin: 20px 0 10px;
}

.line-card p {
  color: #555;
  margin-bottom: 25px;
}

/* ---------- CALL TO ACTION ---------- */
.call-to-action {
  background-color: #F4F1ED;
  text-align: center;
  padding: 80px 20px;
}

.call-to-action h2 {
  font-weight: 400;
  color: #111;
  margin-bottom: 25px;
}

/* ---------- FOOTER ---------- */
.luxury-footer {
  text-align: center;
  padding: 40px 0;
  color: #C0C0C0;
  background-color: #1A1A1A;
  font-size: 0.9em;
  border-top: 1px solid rgba(255,255,255,0.1);
}
/* ===============================
   COHERENCE® ACADEMY – Rev.3.8
   =============================== */

.academy-coherence {
  position: relative;
  background-color: #f9f8f6;
  background-image: url("../img/academy-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #111;
  padding: 140px 20px;
  text-align: center;
  overflow: hidden;
}

.academy-coherence::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(3px);
  z-index: 0;
}

.academy-coherence h2,
.academy-coherence p,
.academy-coherence .btn-primary {
  position: relative;
  z-index: 1;
  animation: fadeInUp 1.5s ease forwards;
}

.academy-coherence h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 2.8em;
  color: #111;
  margin-bottom: 25px;
}

.academy-coherence p {
  font-size: 1.1em;
  color: #333;
  max-width: 780px;
  margin: 0 auto 35px;
  line-height: 1.7;
}

/* ===============================
   FRANCHISING COHERENCE® – Rev.3.8
   =============================== */

.franchising-coherence {
  position: relative;
  background-image: url("../img/franchising-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  padding: 160px 20px;
  text-align: center;
  overflow: hidden;
}

.franchising-coherence::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.franchising-coherence h2,
.franchising-coherence p,
.franchising-coherence .btn-primary {
  position: relative;
  z-index: 1;
  animation: fadeInUp 1.8s ease forwards;
}

.franchising-coherence h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 2.8em;
  color: #D4AF37;
  margin-bottom: 25px;
}

.franchising-coherence p {
  font-size: 1.1em;
  color: #f2f2f2;
  max-width: 780px;
  margin: 0 auto 35px;
  line-height: 1.7;
}

/* ---------- Overlay dorato dinamico – Rev.3.9 FIX ---------- */
@keyframes goldGlow {
  0%   { background-position: 0% 50%; opacity: 0.25; }
  50%  { background-position: 100% 50%; opacity: 0.55; }
  100% { background-position: 0% 50%; opacity: 0.25; }
}

.franchising-coherence::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    rgba(212,175,55,0.45),
    rgba(255,255,255,0.15),
    rgba(212,175,55,0.45));
  background-size: 200% 200%;
  animation: goldGlow 10s ease-in-out infinite;
  z-index: 2; /* sopra il ::before */
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ---- Fix livelli overlay franchising – Rev.3.9.1 ---- */
.franchising-coherence { position: relative; }

.franchising-coherence .overlay-dark { 
  display: none; /* evitiamo doppio scuro che copre il dorato */
}

.franchising-coherence::before { 
  z-index: 0; /* scuro sotto */
}

.franchising-coherence::after { 
  z-index: 1; /* dorato in mezzo */
}

.franchising-coherence .hero-content {
  position: relative;
  z-index: 2; /* testo sopra a tutto */
}

/* ===========================
   LUMA AI – PREVIEW STYLE
=========================== */
.luma-ai-preview {
  background: #f9f8f6;
  padding: 100px 20px;
  text-align: center;
  position: relative;
}

.luma-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.luma-thumbnail {
  width: 420px;
  max-width: 90%;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}

.luma-container:hover .luma-thumbnail {
  transform: scale(1.03);
}

.luma-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.luma-container:hover .luma-overlay { opacity: 1; }

.play-icon {
  font-size: 3rem;
  color: #D4AF37;
  margin-bottom: 10px;
}

/* Modal video */
.luma-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.luma-modal-content {
  position: relative;
  width: 80%;
  max-width: 800px;
  overflow: visible;  /* permette all'aura dorata di espandersi */
}
/* Halo dorato radiale – effetto luxury per popup Luma AI */
.luma-modal-content::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 20px;
  background: radial-gradient(circle at center, rgba(212,175,55,0.35) 0%, rgba(0,0,0,0) 70%);
  filter: blur(20px);
  z-index: 1;
  animation: haloPulse 3s infinite ease-in-out;
}

@keyframes haloPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}


.luma-modal video {
  display: block;
  max-width: 100%;
  max-height: 90vh;         /* non supera lo schermo */
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: contain;      /* mostra tutto */
  object-position: center top; /* centra il viso */
  background-color: #000;
}

.close-btn {
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* ===============================
   RESPONSIVE MOBILE ≤ 768px – Rev.3.4.1
   =============================== */
@media (max-width: 768px) {

  /* Hero video */
  .hero {
    height: 70vh;
  }

  .hero-overlay h1 {
    font-size: 2em;
    letter-spacing: 1px;
  }

  .hero-overlay .subtitle {
    font-size: 1.1em;
  }

  /* Pulsanti */
  .btn-primary {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  /* Sezioni */
  .coherence-lines {
    padding: 60px 5% 50px;
  }

  .academy-coherence,
  .franchising-coherence {
    padding: 100px 15px;
    background-attachment: scroll; /* evita effetto fisso su mobile */
  }

}

/* ===============================
   MOBILE RESPONSIVE + MENU – Rev.3.5.4
   =============================== */
@media (max-width: 768px) {

  /* --- Hero video --- */
  .hero {
    height: 70vh;
  }

  .hero-overlay h1 {
    font-size: 2em;
    letter-spacing: 1px;
  }

  .hero-overlay .subtitle {
    font-size: 1.1em;
  }

  /* --- Pulsanti --- */
  .btn-primary {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  /* --- Sezioni --- */
  .coherence-lines {
    padding: 60px 5% 50px;
  }

  .academy-coherence,
  .franchising-coherence {
    padding: 100px 15px;
    background-attachment: scroll;
  }

  /* --- Hamburger --- */
  .hamburger {
    display: block;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #0A0A0A;
    cursor: pointer;
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 1100;
  }

  /* --- Menu mobile --- */
  .main-nav {
    display: none;
    flex-direction: column;
    background-color: rgba(255,255,255,0.95);
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .main-nav.open {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* --- Fix priorità bottone X popup --- */
.close-btn {
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 99999;
  pointer-events: auto;
}
/* ===========================
   ESTETICA BIOFISICA – GRID LAYOUT Rev.3.9
   =========================== */

body[data-page="site_bp.estetica"] .devices-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr; /* mobile default */
}

/* Tablet ≥768px: 2 per riga */
@media (min-width: 768px) {
  body[data-page="site_bp.estetica"] .devices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop ≥1024px: 3 per riga */
@media (min-width: 1024px) {
  body[data-page="site_bp.estetica"] .devices-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

body[data-page="site_bp.estetica"] .device-card {
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

body[data-page="site_bp.estetica"] .device-card:hover {
  transform: translateY(-4px);
}

body[data-page="site_bp.estetica"] .device-card img {
  width: 100%;
  height: auto;
  display: block;
}

body[data-page="site_bp.estetica"] .device-card h3 {
  font-size: 1.1rem;
  margin: 12px 0 6px;
  color: #1a1a1a; /* ✅ testo visibile */
}

body[data-page="site_bp.estetica"] .device-card p {
  font-size: 0.95rem;
  margin: 0 10px 12px;
  line-height: 1.4;
  color: #444; /* ✅ descrizione leggibile */
}


/* ===========================
   OTTIMIZZAZIONE MOBILE ESTETICA BIOFISICA – Rev.1.9
   =========================== */
@media (max-width: 600px) {
  .devices-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }

  .device-card {
    max-width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 14px;
  }

  .device-card img {
    border-radius: 10px;
    margin-bottom: 0.8rem;
  }

  .device-card h3 {
    font-size: 1rem;
    line-height: 1.2;
  }

  .device-card p {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
  }

  .device-card .btn-primary {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}
/* ===========================
   LUMA AI – ESTETICA BIOFISICA® Rev.3.6 LUXURY BALANCE
   =========================== */

.luma-ai-section {
  background-color: #f9f9f9;
  padding: 70px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin-top: 50px;
  border-top: 1px solid #e6e6e6;
}

.luma-ai-card {
  max-width: 900px;
  margin: 0 auto;
}

.luma-ai-text h3 {
  font-size: 1.8rem;
  color: #b69f5b;
  margin-bottom: 12px;
  font-family: "Playfair Display", serif;
}

.luma-ai-text p {
  max-width: 720px;
  margin: 0 auto 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #222;
}

.luma-ai-text .btn-primary {
  background: linear-gradient(90deg, #d4af37 0%, #f7e6a1 100%);
  color: #222;
  border-radius: 30px;
  padding: 0.8rem 2rem;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
}

.luma-ai-text .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.45);
}


/* ===========================
   SEZIONI TESTUALI – ESTETICA BIOFISICA® LUXURY Rev.3.0
   =========================== */

.section-light {
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ef 100%);
  color: #222;
  padding: 100px 0;
}

.section-dark {
  background: linear-gradient(180deg, #111 0%, #1d1d1d 100%);
  color: #f3f3f3;
  padding: 100px 0;
}

.section-exclusive {
  background: radial-gradient(circle at center, #faf7f2 0%, #e9e3d8 100%);
  color: #222;
  padding: 100px 0;
}

.section-light h2,
.section-dark h2,
.section-exclusive h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.section-light p,
.section-dark p,
.section-exclusive p {
  max-width: 900px;
  margin: 0 auto 1.5rem auto;
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: center;
}

.section-dark strong {
  color: #d4af37;
}

.section-exclusive h2 {
  color: #b19450;
  text-shadow: 0 0 8px rgba(255,255,255,0.5);
}

/* separazione armonica */
.section-light + .section-dark,
.section-dark + .section-exclusive,
.section-exclusive + .section-light {
  border-top: 1px solid rgba(180,154,90,0.25);
  box-shadow: 0 -12px 20px rgba(0,0,0,0.1);
}

/* responsive ottimizzato */
@media (max-width: 768px) {
  .section-light,
  .section-dark,
  .section-exclusive {
    padding: 60px 20px;
  }
  .section-light h2,
  .section-dark h2,
  .section-exclusive h2 {
    font-size: 1.5rem;
  }
  .section-light p,
  .section-dark p,
  .section-exclusive p {
    font-size: 1rem;
    line-height: 1.6;
  }
}


/* ===========================
   LUMA AI – ESTETICA BIOFISICA (override)
   =========================== */

body[data-page="estetica"] .luma-modal {
  z-index: 9999 !important;
  background-color: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
}

body[data-page="estetica"] .luma-modal-content video {
  border-radius: 12px;
  outline: none;
}

body[data-page="estetica"] .close-btn {
  color: #fff;
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
}

body[data-page="estetica"] .close-btn:hover {
  color: #D4AF37;
}

/* --- FIX LUMA AI CARD – estetica biofisica --- */
body[data-page="estetica"] .luma-ai-thumb {
  border-radius: 16px !important;
  width: 320px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  object-fit: cover;
}

/* --- Estetica: assicurare interazione e dimensioni video in modale --- */
body[data-page="estetica"] .luma-modal-content { pointer-events: auto; }
body[data-page="estetica"] .luma-modal video {
  display: block;
  margin: 0 auto;
  max-height: 80vh;
  width: auto;
}

/* ===========================
   HERO ESTETICA BIOFISICA® – OTTIMIZZAZIONE VISIVA Rev.2.0
   =========================== */

body[data-page="estetica"] .hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

body[data-page="estetica"] .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.1);
}

body[data-page="estetica"] .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0.7) 100%);
  z-index: 5;
}

body[data-page="estetica"] .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  color: #fff;
  max-width: 900px;
  padding: 0 20px;
}

body[data-page="estetica"] .hero-text h1 {
  font-size: 2.8rem;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
  text-shadow: 0 0 25px rgba(0,0,0,0.6);
}

body[data-page="estetica"] .hero-text .subtitle {
  font-size: 1.4rem;
  color: #D4AF37; /* oro tenue */
  margin-bottom: 1.2rem;
}

body[data-page="estetica"] .hero-text .intro {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #f2f2f2;
  text-shadow: 0 0 12px rgba(0,0,0,0.7);
}

/* ===========================
   HERO – testo più leggibile su video (Rev.3.1)
   =========================== */
.hero-overlay h1,
.hero-overlay p.subtitle {
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
}

/* =====================================================
   HERO – COHERENCE® LUXURY REV.3.5 (ESTETICA BIOFISICA)
   ===================================================== */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) contrast(1.05) saturate(1.1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.75) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  z-index: 5;
  padding: 0 20px;
  animation: fadeHero 1.8s ease-in-out both;
}

.hero-overlay h1 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 3rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
  text-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
}

.hero-overlay .subtitle {
  font-size: 1.4rem;
  font-weight: 400;
  color: #d4af37;
  margin-bottom: 2rem;
  letter-spacing: 0.3px;
}

.hero-overlay .btn-primary {
  background: linear-gradient(90deg, #d4af37 0%, #f7e6a1 100%);
  color: #222;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.25);
  transition: all 0.3s ease;
}

.hero-overlay .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

/* Fade-in cinematico */
@keyframes fadeHero {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Responsive Refinement ---- */
@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 1.9rem;
  }
  .hero-overlay .subtitle {
    font-size: 1rem;
  }
  .hero-overlay .btn-primary {
    padding: 0.6rem 1.4rem;
  }
}

/* ===========================================================
   Rev.3.6 LUXURY BALANCE – ESTETICA BIOFISICA®
   Ottimizzazione finale per: sezioni testuali, Luma AI e coerenza visiva
   Data: 2025-10-22
   =========================================================== */

/* ---------- Palette e stile base ---------- */
:root {
  --gold-soft: #cdb87a;        /* Oro seta elegante */
  --silk-bg:   #f8f5f0;        /* Beige seta di fondo */
  --ink-deep:  #0d0d0e;        /* Nero profondo */
}

/* ---------- Sezioni testuali (padding + gerarchia visiva) ---------- */
.section-light,
.section-dark,
.section-exclusive {
  padding: 90px 0;
}
@media (max-width: 768px) {
  .section-light,
  .section-dark,
  .section-exclusive {
    padding: 60px 20px;
  }
}

.section-light h2,
.section-dark h2,
.section-exclusive h2 {
  font-family: "Playfair Display", serif;
  color: var(--gold-soft);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
}

.section-light p,
.section-dark p,
.section-exclusive p {
  max-width: 960px;
  margin: 0 auto 1.5rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* ---------- Divisore elegante ---------- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.15), transparent);
  margin: 40px auto;
}
.section-dark .section-divider,
.section-exclusive .section-divider {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

/* ---------- Luma AI – versione rettangolare luxury ---------- */
body[data-page="estetica"] .luma-ai-thumb {
  width: 340px !important;
  height: auto;
  border-radius: 20px !important;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  object-fit: cover;
  margin-bottom: 24px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
body[data-page="estetica"] .luma-ai-thumb:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.25);
}

/* ---------- Base per futura sezione Consumabili Esaforesi ---------- */
.section-consumabili {
  background-color: var(--silk-bg);
  padding: 80px 20px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.08);
  box-shadow: inset 0 8px 25px rgba(0,0,0,0.05);
}
.section-consumabili h2 {
  color: var(--gold-soft);
  font-family: "Playfair Display", serif;
  font-weight: 600;
  margin-bottom: 30px;
}
.section-consumabili p {
  max-width: 880px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #222;
  line-height: 1.7;
}
/* =========================================================== */

/* ===========================
   TECNOLOGIE E PRINCIPI – centratura + padding elenco (Rev.3.6.1-A)
   =========================== */
body[data-page="estetica"] .section-dark {
  text-align: center;
}

body[data-page="estetica"] .section-dark p {
  text-align: center;
  margin: 0 auto 1.5rem auto;
}

}

/* ===========================
   DISPOSITIVI COHERENCE® – centratura titolo (Rev.3.6.1-B)
   =========================== */
body[data-page="estetica"] h3 {
  text-align: center;
}

body[data-page="estetica"] .section-dark h3 {
  color: #d4af37; /* oro tenue coerente */
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  letter-spacing: 0.4px;
  margin: 2.5rem auto 1.5rem;
  text-align: center;
}
/* ===========================
   CTA – Diventa Centro Coherence® (Rev.3.6.1-C)
   =========================== */
body[data-page="estetica"] .cta-section {
  text-align: center;
  padding: 100px 20px;
}

body[data-page="estetica"] .cta-section h2 {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: #d4af37;
  margin-bottom: 1rem;
}

body[data-page="estetica"] .cta-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  color: #222;
}

body[data-page="estetica"] .cta-section .btn-primary {
  display: inline-block;
  text-align: center;
  background: linear-gradient(90deg, #d4af37 0%, #f7e6a1 100%);
  color: #222;
  border-radius: 30px;
  padding: 0.8rem 2rem;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
  transition: all 0.3s ease;
}

body[data-page="estetica"] .cta-section .btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* ===========================
   FIX DEFINITIVO – Allineamento sezione "Tecnologie e Principi"
   =========================== */
body[data-page="estetica"] .section-dark .container {
  text-align: center !important;
}

body[data-page="estetica"] .section-dark ul.checklist {
  display: block;
  list-style: disc inside;
  margin: 2rem auto;
  padding: 0;
  max-width: 900px;
  width: 90%;
  text-align: justify;
  text-align-last: center;
}

body[data-page="estetica"] .section-dark ul.checklist li {
  margin: 0.6rem 0;
  text-align: justify;
}

/* ===========================
   FIX CTA – Diventa Centro Coherence® (centratura completa)
   =========================== */
body[data-page="estetica"] .cta-section {
  text-align: center;
}

body[data-page="estetica"] .cta-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

/* ===========================
   FRANCHISING COHERENCE® – LUXURY BALANCE Rev.3.9
   =========================== */

body[data-page="site_bp.franchising"] .franchising-info {
  background-color: #f8f8f6;
  padding: 60px 0;
}

body[data-page="site_bp.franchising"] .franchising-info h3 {
  text-align: center;
  color: #c6a347; /* oro luxury */
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 35px;
  letter-spacing: 0.5px;
}

body[data-page="site_bp.franchising"] .franchising-info p {
  max-width: 900px;
  margin: 0 auto 24px auto;
  text-align: justify;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #222;
}

@media (max-width: 768px) {
  body[data-page="site_bp.franchising"] .franchising-info {
    padding: 40px 20px;
  }

  body[data-page="site_bp.franchising"] .franchising-info h3 {
    font-size: 1.5rem;
  }

  body[data-page="site_bp.franchising"] .franchising-info p {
    font-size: 1rem;
    text-align: left;
  }
}
/* ===========================
   FRANCHISING INFO – LUXURY FORM Rev.1.0
   =========================== */
body[data-page="site_bp.franchising_info"] .franchising-info-page {
  background-color: #f8f6f3;
  padding: 80px 0;
  min-height: 70vh;
}

body[data-page="site_bp.franchising_info"] .franchising-info-page h2 {
  color: #b69746;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

body[data-page="site_bp.franchising_info"] .franchising-info-page p {
  text-align: center;
  font-size: 1.05rem;
  color: #333;
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

body[data-page="site_bp.franchising_info"] .franchising-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

body[data-page="site_bp.franchising_info"] .franchising-form label {
  font-weight: 600;
  color: #333;
}

body[data-page="site_bp.franchising_info"] .franchising-form input,
body[data-page="site_bp.franchising_info"] .franchising-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c8b47a;
  border-radius: 8px;
  background-color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

body[data-page="site_bp.franchising_info"] .franchising-form input:focus,
body[data-page="site_bp.franchising_info"] .franchising-form textarea:focus {
  outline: none;
  border-color: #b69746;
  box-shadow: 0 0 6px rgba(182, 151, 70, 0.4);
}

body[data-page="site_bp.franchising_info"] .franchising-form .btn-primary {
  background-color: #b69746;
  color: #000;
  border: none;
  border-radius: 50px;
  padding: 12px 0;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

body[data-page="site_bp.franchising_info"] .franchising-form .btn-primary:hover {
  background-color: #cbb76b;
  transform: scale(1.03);
}

/* ===========================
   DIVENTA CENTRO – LUXURY BALANCE Rev.1.0
   =========================== */
body[data-page="site_bp.diventa_centro"] {
  background-color: #f8f6f3;
}

/* Contenitore generale */
body[data-page="site_bp.diventa_centro"] section {
  padding: 60px 0;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  color: #333;
}

/* Titoli */
body[data-page="site_bp.diventa_centro"] h2,
body[data-page="site_bp.diventa_centro"] h3 {
  color: #b69746;
  font-weight: 600;
  margin-bottom: 25px;
}

body[data-page="site_bp.diventa_centro"] h2 {
  font-size: 2rem;
}

body[data-page="site_bp.diventa_centro"] h3 {
  font-size: 1.4rem;
}

/* Paragrafi */
body[data-page="site_bp.diventa_centro"] p {
  max-width: 800px;
  margin: 0 auto 25px auto;
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: justify;
}

/* Elenchi e punti */
body[data-page="site_bp.diventa_centro"] ul,
body[data-page="site_bp.diventa_centro"] ol {
  display: inline-block;
  text-align: left;
  margin: 20px auto;
  font-size: 1rem;
  line-height: 1.6;
}

/* Form */
body[data-page="site_bp.diventa_centro"] form {
  max-width: 500px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

body[data-page="site_bp.diventa_centro"] input,
body[data-page="site_bp.diventa_centro"] textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c8b47a;
  border-radius: 8px;
  background-color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

body[data-page="site_bp.diventa_centro"] input:focus,
body[data-page="site_bp.diventa_centro"] textarea:focus {
  outline: none;
  border-color: #b69746;
  box-shadow: 0 0 6px rgba(182, 151, 70, 0.4);
}

/* Pulsante */
body[data-page="site_bp.diventa_centro"] button,
body[data-page="site_bp.diventa_centro"] .btn-primary {
  background-color: #b69746;
  color: #000;
  border: none;
  border-radius: 50px;
  padding: 12px 0;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 60%;
  margin: 20px auto 0 auto;
}

body[data-page="site_bp.diventa_centro"] button:hover,
body[data-page="site_bp.diventa_centro"] .btn-primary:hover {
  background-color: #cbb76b;
  transform: scale(1.03);
}

/* ===========================
   CONTATTI – LUXURY STYLE Rev.1.1
=========================== */
body[data-page="site_bp.contatti"] .contact-section {
  margin-top: 120px;  /* aumento per evitare che il titolo vada sotto il banner */
  background-color: #f9f7f3;
  padding: 60px 0;
}

body[data-page="site_bp.contatti"] h2 {
  color: #b99855;
  font-size: 2em;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

body[data-page="site_bp.contatti"] h3 {
  color: #b99855;
  margin-top: 30px;
}

body[data-page="site_bp.contatti"] p {
  text-align: justify;
  color: #222;
  line-height: 1.6;
}

body[data-page="site_bp.contatti"] .map-container {
  margin: 25px auto;
  display: flex;
  justify-content: center;
}

body[data-page="site_bp.contatti"] .contact-form {
  width: 70%;
  margin: 40px auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  padding: 25px;
}

/* ===========================
   CONTATTI – FORM & MAP Rev.1.2
=========================== */
body[data-page="site_bp.contatti"] .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}

body[data-page="site_bp.contatti"] .form-group.full {
  grid-column: span 2;
}

body[data-page="site_bp.contatti"] .contact-form input,
body[data-page="site_bp.contatti"] .contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

body[data-page="site_bp.contatti"] .contact-form input:focus,
body[data-page="site_bp.contatti"] .contact-form textarea:focus {
  border-color: #b99855;
  box-shadow: 0 0 6px rgba(185, 152, 85, 0.3);
  outline: none;
}

body[data-page="site_bp.contatti"] .form-actions {
  margin-top: 15px;
}

body[data-page="site_bp.contatti"] .btn-map {
  display: inline-block;
  margin-top: 10px;
  background-color: #b99855;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

body[data-page="site_bp.contatti"] .btn-map:hover {
  background-color: #a5843e;
}

/* ===========================
   CONTATTI – MAP LINK STYLE Rev.1.3
=========================== */
body[data-page="site_bp.contatti"] .map-container {
  text-align: center;
  margin: 30px auto;
}

body[data-page="site_bp.contatti"] .btn-map-large {
  display: inline-block;
  background: #b99855;
  color: white;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

body[data-page="site_bp.contatti"] .btn-map-large:hover {
  background: #a5843e;
  transform: translateY(-2px);
}

/* ===========================
   CONTATTI – LUXURY BALANCE Rev.2.0
   =========================== */
body[data-page="site_bp.contatti"] .contact-section {
  max-width: 900px;
  margin: 120px auto 0 auto;  /* corretto: margine alto per scendere sotto il banner */
  text-align: center;
  background-color: #f9f7f3;
}

body[data-page="site_bp.contatti"] h2 {
  color: #b99855;
  margin-top: 40px;
  margin-bottom: 20px;
}

body[data-page="site_bp.contatti"] p {
  text-align: center;
  color: #333;
  line-height: 1.6;
  margin-bottom: 25px;
}

body[data-page="site_bp.contatti"] .map-container {
  margin-top: 20px;
  margin-bottom: 35px;
}

body[data-page="site_bp.contatti"] .btn-map-large {
  background: linear-gradient(90deg, #b99855 0%, #d4af37 100%);
  color: #fff;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(185,152,85,0.3);
}

body[data-page="site_bp.contatti"] .btn-map-large:hover {
  background: #d4af37;
  transform: translateY(-2px);
}

body[data-page="site_bp.contatti"] .contact-form {
  margin-top: 40px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

body[data-page="site_bp.contatti"] .contact-form button.btn-primary {
  background: linear-gradient(90deg, #b99855 0%, #d4af37 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 26px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(185,152,85,0.3);
  transition: all 0.3s ease;
}

body[data-page="site_bp.contatti"] .contact-form button.btn-primary:hover {
  background: #d4af37;
  transform: translateY(-2px);
}

body[data-page="site_bp.contatti"] .mini-footer {
  margin-top: 50px;
  padding-bottom: 40px;
  color: #b99855;
  font-size: 0.9rem;
  text-align: center;
}
/* ===========================
   ESAFORESI® – LUXURY BALANCE Rev.1.1 (CORRETTA)
   =========================== */
body[data-page="site_bp.estetica_esaforesi"] .device-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px;
}

body[data-page="site_bp.estetica_esaforesi"] .device-text {
  flex: 1 1 50%;
  text-align: justify;
  line-height: 1.7;
  color: #333;
  font-size: 1.05rem;
}

body[data-page="site_bp.estetica_esaforesi"] .device-image {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
}

body[data-page="site_bp.estetica_esaforesi"] .device-image img {
  max-width: 420px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}


/* ===========================
   ESAFORESI® – FIX VISIVO FINALE Rev.1.3
   =========================== */

/* riduce l’altezza e lo sfondo grigio della hero section */
body[data-page="estetica-esaforesi"] .hero-section {
  background: linear-gradient(180deg, #ffffff 0%, #f9f7f3 100%);
  padding: 120px 0 40px 0;
}

/* testo principale più leggibile e bilanciato */
body[data-page="estetica-esaforesi"] .device-text {
  text-align: justify;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #333;
  padding: 10px 20px;
}

/* immagine più piccola, centrata e con margine armonico */
body[data-page="estetica-esaforesi"] .device-image img {
  max-width: 420px;
  width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* ===========================
   LUMASLIM® – LUXURY BALANCE Rev.1.1 (ALLINEATO A ESAFORESI)
   =========================== */

body[data-page="site_bp.estetica_lumaslim"] .device-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px;
}

body[data-page="site_bp.estetica_lumaslim"] .device-text {
  flex: 1 1 50%;
  text-align: justify;
  line-height: 1.7;
  color: #333;
  font-size: 1.05rem;
}

body[data-page="site_bp.estetica_lumaslim"] .device-image {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
}

body[data-page="site_bp.estetica_lumaslim"] .device-image img {
  max-width: 420px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ===========================
   LUMASLIM® – FIX VISIVO FINALE Rev.1.3
   =========================== */

/* riduce l’altezza e lo sfondo grigio della hero section */
body[data-page="estetica-lumaslim"] .hero-section {
  background: linear-gradient(180deg, #ffffff 0%, #f9f7f3 100%);
  padding: 120px 0 40px 0;
}

/* testo principale più leggibile e bilanciato */
body[data-page="estetica-lumaslim"] .device-text {
  text-align: justify;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #333;
  padding: 10px 20px;
}

/* immagine più piccola, centrata e con margine armonico */
body[data-page="estetica-lumaslim"] .device-image img {
  max-width: 420px;
  width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* ===========================
   DHEA INFINITY / FLEX – LUXURY BALANCE Rev.1.1 (DERIVATO DA ESAFORESI)
   =========================== */

body[data-page="site_bp.estetica_dhea_infinity"],
body[data-page="site_bp.estetica_dhea_flex"] {
  background: #fff;
}

body[data-page="site_bp.estetica_dhea_infinity"] .device-section,
body[data-page="site_bp.estetica_dhea_flex"] .device-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px;
}

body[data-page="site_bp.estetica_dhea_infinity"] .device-text,
body[data-page="site_bp.estetica_dhea_flex"] .device-text {
  flex: 1 1 50%;
  text-align: justify;
  line-height: 1.7;
  color: #333;
  font-size: 1.05rem;
}

body[data-page="site_bp.estetica_dhea_infinity"] .device-image,
body[data-page="site_bp.estetica_dhea_flex"] .device-image {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
}

body[data-page="site_bp.estetica_dhea_infinity"] .device-image img,
body[data-page="site_bp.estetica_dhea_flex"] .device-image img {
  max-width: 420px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ===========================
   DHEA INFINITY / FLEX – FIX VISIVO FINALE Rev.1.3
   =========================== */

/* sfondo perla e altezza equilibrata della hero section */
body[data-page="estetica-dhea_infinity"] .hero-section,
body[data-page="estetica-dhea_flex"] .hero-section {
  background: linear-gradient(180deg, #ffffff 0%, #f9f7f3 100%);
  padding: 120px 0 40px 0;
}

/* testo principale leggibile e armonico */
body[data-page="estetica-dhea_infinity"] .device-text,
body[data-page="estetica-dhea_flex"] .device-text {
  text-align: justify;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #333;
  padding: 10px 20px;
}

/* immagine centrata e proporzionata */
body[data-page="estetica-dhea_infinity"] .device-image img,
body[data-page="estetica-dhea_flex"] .device-image img {
  max-width: 420px;
  width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
}
/* ===========================
   LUMAWEBB ESTETICA – DEVICE SECTION
   =========================== */
body[data-page="estetica-lumawebb"] .device-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 60px 10%;
  background-color: var(--color-bg-light);
}

body[data-page="estetica-lumawebb"] .device-text {
  flex: 1 1 55%;
  max-width: 600px;
  padding-right: 40px;
  text-align: left;
}

body[data-page="estetica-lumawebb"] .device-image {
  flex: 1 1 40%;
  text-align: center;
}

body[data-page="estetica-lumawebb"] .device-image img {
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

/* ===========================
   PMR TEST / TEST PRO – FIX VISIVO UNIFICATO Rev.1.3
   =========================== */

/* BACKEND – struttura flessibile derivata da DHEA */
body[data-page="site_bp.estetica_pmrtest"],
body[data-page="site_bp.estetica_pmrtest_pro"] {
  background: #fff;
}

body[data-page="site_bp.estetica_pmrtest"] .device-section,
body[data-page="site_bp.estetica_pmrtest_pro"] .device-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px;
}

body[data-page="site_bp.estetica_pmrtest"] .device-text,
body[data-page="site_bp.estetica_pmrtest_pro"] .device-text {
  flex: 1 1 50%;
  text-align: justify;
  line-height: 1.7;
  color: #333;
  font-size: 1.05rem;
}

body[data-page="site_bp.estetica_pmrtest"] .device-image,
body[data-page="site_bp.estetica_pmrtest_pro"] .device-image {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
}

body[data-page="site_bp.estetica_pmrtest"] .device-image img,
body[data-page="site_bp.estetica_pmrtest_pro"] .device-image img {
  max-width: 420px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* FRONTEND – estetica visiva identica a DHEA */
body[data-page="estetica-pmrtest"] .hero-section,
body[data-page="estetica-pmrtest-pro"] .hero-section {
  background: linear-gradient(180deg, #ffffff 0%, #f9f7f3 100%);
  padding: 120px 0 40px 0;
}

body[data-page="estetica-pmrtest"] .device-text,
body[data-page="estetica-pmrtest-pro"] .device-text {
  text-align: justify;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #333;
  padding: 10px 20px;
}

body[data-page="estetica-pmrtest"] .device-image img,
body[data-page="estetica-pmrtest-pro"] .device-image img {
  max-width: 420px;
  width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
}

/* ===========================
   LUMAWEBB ESTETICA® – Rev.1.2
   Layout conforme ai dispositivi DHEA / Esaforesi
   =========================== */

body[data-page="estetica-lumawebb"] {
  background-color: #ffffff;
  color: #222;
  font-family: "Poppins", sans-serif;
}

/* HERO SECTION */
body[data-page="estetica-lumawebb"] .hero-section {
  position: relative;
  background-color: #ffffff;
  text-align: center;
  padding: 120px 0 60px 0;
}

body[data-page="estetica-lumawebb"] .hero-content h1 {
  font-size: 2.8rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

body[data-page="estetica-lumawebb"] .hero-content .subtitle {
  font-size: 1.3rem;
  color: #777;
}

/* DEVICE SECTION */
body[data-page="estetica-lumawebb"] .device-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 40px 20px;
}

body[data-page="estetica-lumawebb"] .device-text {
  flex: 1 1 50%;
  text-align: left;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #333;
}

body[data-page="estetica-lumawebb"] .device-text h2 {
  font-size: 2rem;
  color: #c7a155;
  margin-bottom: 20px;
}

body[data-page="estetica-lumawebb"] .device-image {
  flex: 1 1 45%;
  text-align: center;
}

body[data-page="estetica-lumawebb"] .device-image img {
  max-width: 420px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* CTA SECTION */
body[data-page="estetica-lumawebb"] .cta-section {
  background: linear-gradient(90deg, #c7a155, #e6cf9b);
  text-align: center;
  color: #fff;
  padding: 60px 20px;
  margin-top: 80px;
}

body[data-page="estetica-lumawebb"] .cta-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

body[data-page="estetica-lumawebb"] .cta-section p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

body[data-page="estetica-lumawebb"] .cta-section .btn-primary {
  background-color: #fff;
  color: #c7a155;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

body[data-page="estetica-lumawebb"] .cta-section .btn-primary:hover {
  background-color: #f5e9cd;
  color: #8b6d35;
}

/* ===========================
   OVERRIDE – Rimozione sfondo grigio per LumaWebb Estetica
   =========================== */
body[data-page="estetica-lumawebb"] .section-dark,
body[data-page="estetica-lumawebb"] .device-section,
body[data-page="estetica-lumawebb"] .hero-section {
  background: #ffffff !important;
  background-color: #ffffff !important;
}
/* ===========================
   OVERRIDE – Dispositivi Estetica (rimozione fondo grigio)
   =========================== */
body[data-page^="estetica-"] .section-light,
body[data-page^="estetica-"] .device-section,
body[data-page^="estetica-"] .hero-section {
  background: #ffffff !important;
  background-color: #ffffff !important;
}
