/* ==========================================================================
   CENTRO PSYCHE — LUXURY BOUTIQUE DESIGN SYSTEM (5.000€ AGENCY STANDARD)
   Estetica Editoriale, Materica, Minimalista e Senza Tempo
   ========================================================================== */

:root {
  /* Canvas & Sfondi Materici (Lino Caldo, Alabastro e Sabbia Soave) */
  --bg-canvas: #FDFCF9;
  --bg-sand: #FAF6F0;
  --bg-sand-light: #F4EFEB;
  --bg-sand-card: #F7F3EC;
  --bg-paper: #FFFFFF;
  
  /* Palette Nobile (Bordeaux Velluto, Prugna Notte & Oro Champagne) */
  /* Palette Nobile (Bordeaux Velluto, Prugna Notte & Oro Champagne) */
  --bordeaux-deep: #42101F;
  --bordeaux-primary: #58182B;
  --bordeaux-hover: #6E2037;
  --bordeaux-soft: #FBF4F6;
  --bordeaux-glow: rgba(88, 24, 43, 0.08);

  /* Accenti Seta Lilla Psyche (Brand Signature Identity) */
  --lilla-brand: #7B4E7B;
  --lilla-vibrant: #8C568C;
  --lilla-deep: #562B56;
  --lilla-soft: #F7EFF7;
  --lilla-card: #FAF2FA;
  --lilla-border: #DEC8DE;
  --lilla-glow: rgba(123, 78, 123, 0.22);
  
  --mauve-deep: #5E465E;
  --mauve-primary: #856B85;
  --mauve-soft: #F4EFF4;
  --mauve-border: #E8DEE8;
  --gold-accent: #C5A880;
  
  /* Tipografia & Carbone Espresso */
  --ink-primary: #1C1919;
  --ink-secondary: #484143;
  --ink-muted: #786E71;
  --ink-faint: #A89FA1;

  /* Linee Architettoniche & Bordi Sottilissimi */
  --line-subtle: rgba(28, 25, 25, 0.07);
  --line-strong: rgba(123, 78, 123, 0.25);
  --line-light: rgba(255, 255, 255, 0.15);

  /* Ombreggiature Ambientali Soffuse */
  --shadow-subtle: 0 4px 20px rgba(28, 25, 25, 0.03);
  --shadow-medium: 0 20px 45px -10px rgba(123, 78, 123, 0.1);
  --shadow-hover: 0 28px 60px -12px rgba(123, 78, 123, 0.16);

  /* Font & Spaziature */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-xs: 2px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--ink-primary);
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 400;
}

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

/* RESET DI SICUREZZA ASSOLUTO PER ICONE, SVG E FONTAWESOME */
svg, .svg-inline--fa {
  width: 1.15em !important;
  height: 1.15em !important;
  max-width: 1.15em !important;
  max-height: 1.15em !important;
  display: inline-block !important;
  vertical-align: -0.15em !important;
  fill: currentColor;
}

i.fa-solid, i.fa-brands, i.fa-regular, .fas, .fab, .far {
  font-size: 1.15em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

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

/* ==========================================================================
   TIPOGRAFIA EDITORIALE D'ÉLITE
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink-primary);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(34px, 5.5vw, 62px);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

h1 em, h2 em, h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--lilla-brand);
}

h2 {
  font-size: clamp(26px, 3.8vw, 42px);
  margin-bottom: 18px;
}

h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  margin-bottom: 14px;
}

h4 {
  font-size: 18px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0;
}

p {
  font-size: 15.5px;
  color: var(--ink-secondary);
  line-height: 1.75;
  margin-bottom: 18px;
}

p.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* ==========================================================================
   ELEMENTI TIPOGRAFICI DI PREGIO (LILLA BRAND SIGNATURE)
   ========================================================================== */

/* Overline & Micro-Labels Editoriale in Seta Lilla */
.eyebrow, .label-editorial {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--lilla-brand);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background-color: var(--lilla-brand);
}

.eyebrow-bordeaux {
  color: var(--bordeaux-primary);
}
.eyebrow-bordeaux::before {
  background-color: var(--bordeaux-primary);
}

.eyebrow-mauve {
  color: var(--mauve-deep);
}
.eyebrow-mauve::before {
  background-color: var(--mauve-primary);
}

/* Indici Numerici Sartoriali (01, 02, 03) in Lilla Seta */
.num-counter {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 400;
  font-style: italic;
  color: var(--lilla-brand);
  opacity: 0.95;
  line-height: 1;
  margin-bottom: 18px;
  display: block;
}

/* Tag Minimali Senza Icone */
.tag-minimal {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  background: var(--bg-sand);
  color: var(--ink-secondary);
  border: 1px solid var(--line-subtle);
}

.tag-lilla {
  background: var(--lilla-soft);
  color: var(--lilla-brand);
  border-color: var(--lilla-border);
}

.tag-bordeaux {
  background: var(--bordeaux-soft);
  color: var(--bordeaux-primary);
  border-color: rgba(88, 24, 43, 0.12);
}

/* ==========================================================================
   LAYOUT & CONTAINER
   ========================================================================== */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

.container-narrow {
  max-width: 860px;
}

.section-luxury {
  padding: 110px 0;
  position: relative;
}

.section-luxury-sm {
  padding: 70px 0;
}

@media (max-width: 768px) {
  .section-luxury {
    padding: 75px 0;
  }
  .section-luxury-sm {
    padding: 50px 0;
  }
}

/* Griglie Architettoniche */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 820px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

@media (min-width: 600px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   HEADER NAVBAR SARTORIALE (LILLA & BORDEAUX SIGNATURE)
   ========================================================================== */
header#mainHeader {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(253, 252, 249, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999;
  border-bottom: 1px solid var(--line-subtle);
  padding: 18px 0;
  transition: var(--transition);
}

header#mainHeader::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7B4E7B 0%, #9C679C 40%, #58182B 75%, #C5A880 100%);
  z-index: 1000;
}

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

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links li a {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--lilla-brand);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links li a:hover,
.nav-links li.active a {
  color: var(--lilla-brand);
}

.nav-links li a:hover::after,
.nav-links li.active a::after {
  width: 100%;
}

.header-cta-wrap {
  display: block;
}

@media (max-width: 991px) {
  .header-cta-wrap {
    display: none !important;
  }
}

/* ==========================================================================
   BOTTONI & CALL TO ACTION SARTORIALI
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 14px 28px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
  position: relative;
}

.btn-primary {
  background-color: var(--bordeaux-primary);
  color: #FFFFFF !important;
  border-color: var(--bordeaux-primary);
}

.btn-primary:hover {
  background-color: var(--bordeaux-hover);
  border-color: var(--bordeaux-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(66, 16, 31, 0.15);
}

.btn-lilla {
  background-color: var(--lilla-brand);
  color: #FFFFFF !important;
  border-color: var(--lilla-brand);
}

.btn-lilla:hover {
  background-color: var(--lilla-deep);
  border-color: var(--lilla-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(123, 78, 123, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: var(--ink-primary) !important;
  border-color: var(--ink-primary);
}

.btn-outline:hover {
  background-color: var(--ink-primary);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background-color: #FFFFFF;
  color: var(--bordeaux-deep) !important;
  border-color: #FFFFFF;
}

.btn-sand {
  background-color: var(--bg-sand);
  color: var(--ink-primary);
  border-color: var(--line-subtle);
}

.btn-sand:hover {
  background-color: var(--ink-primary);
  color: #FFFFFF;
  border-color: var(--ink-primary);
}

.btn-wa {
  background-color: #1E3A2B;
  color: #FFFFFF !important;
  border-color: #1E3A2B;
}

.btn-wa:hover {
  background-color: #14281E;
  border-color: #14281E;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30, 58, 43, 0.2);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* Link Testuale Raffinato */
.link-editorial {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bordeaux-primary);
  position: relative;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--bordeaux-primary);
}

.link-editorial:hover {
  color: var(--ink-primary);
  border-color: var(--ink-primary);
  gap: 12px;
}

/* ==========================================================================
   HERO EDITORIALE BOUTIQUE (MASSIMA LEGGIBILITÀ E CONTRASTO)
   ========================================================================== */
.hero-luxury {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #FFFFFF;
  overflow: hidden;
}

.hero-luxury::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 12, 16, 0.72) 0%,
    rgba(38, 12, 22, 0.82) 55%,
    rgba(18, 8, 14, 0.92) 100%
  );
  z-index: 1;
}

.hero-luxury-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 80px 0;
}

.hero-luxury h1 {
  color: #FFFFFF !important;
  margin-bottom: 22px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  font-weight: 600;
}

.hero-luxury h1 em,
.hero-luxury em {
  font-family: var(--font-serif);
  font-style: italic;
  color: #F6E2CD !important; /* Oro Champagne Seta luminoso ad altissimo contrasto */
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
  font-weight: 400;
}

.hero-luxury p {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(15.5px, 2.2vw, 18.5px);
  line-height: 1.75;
  font-weight: 400;
  margin-bottom: 35px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.hero-luxury p strong {
  color: #FFFFFF;
  font-weight: 700;
}

.hero-badge-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #F6E2CD;
  border-left: 2px solid var(--gold-accent);
  padding-left: 12px;
  margin-bottom: 22px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .hero-luxury {
    min-height: auto;
    padding: 60px 0 45px 0;
  }
  
  .hero-luxury-content {
    padding: 20px 0 25px 0;
  }

  .hero-luxury h1 {
    font-size: clamp(26px, 7.5vw, 34px);
    line-height: 1.22;
    margin-bottom: 16px;
  }

  .hero-luxury p {
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 25px;
  }

  .hero-luxury .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
  }
  
  .hero-luxury-content > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
}

/* ==========================================================================
   CARDS SARTORIALI & MANIFESTO A NUMERI (01, 02, 03)
   ========================================================================== */
.card-atelier {
  background: var(--bg-paper);
  padding: 45px 38px;
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-xs);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-atelier:hover {
  border-color: rgba(88, 24, 43, 0.25);
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.card-atelier h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.card-atelier p {
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.75;
  margin-bottom: 0;
}

/* Split Layout Editoriale Asimmetrico */
.split-atelier {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

@media (min-width: 880px) {
  .split-atelier {
    grid-template-columns: 1.05fr 1fr;
    gap: 75px;
  }
}

.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-medium);
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-frame:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   DISCIPLINE & CORSI SARTORIALI
   ========================================================================== */
.discipline-atelier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 45px;
}

@media (min-width: 768px) {
  .discipline-atelier-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  }
}

.discipline-card-luxury {
  background: var(--bg-paper);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-xs);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.discipline-card-luxury:hover {
  border-color: rgba(88, 24, 43, 0.3);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.discipline-photo-box {
  height: 260px;
  overflow: hidden;
  position: relative;
  background: var(--ink-primary);
}

.discipline-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.discipline-card-luxury:hover .discipline-photo-box img {
  transform: scale(1.05);
}

.discipline-tag-float {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--lilla-brand);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.discipline-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.discipline-content h3 {
  font-size: 22px;
  color: var(--bordeaux-deep);
  margin-bottom: 8px;
}

.discipline-meta-line {
  font-size: 12px;
  font-weight: 600;
  color: var(--mauve-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.discipline-list {
  list-style: none;
  margin: 18px 0;
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
  padding: 16px 0;
}

.discipline-list li {
  font-size: 13.5px;
  color: var(--ink-secondary);
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
  line-height: 1.55;
}

.discipline-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--bordeaux-primary);
  font-weight: 700;
}

/* ==========================================================================
   PALINSESTO SETTIMANALE A MATRICE RAFFINATA
   ========================================================================== */
.schedule-tabs-container {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line-subtle);
}

@media (min-width: 768px) {
  .schedule-tabs-container {
    justify-content: center;
    gap: 12px;
  }
}

.schedule-tab-btn {
  background: transparent;
  border: 1px solid var(--line-subtle);
  padding: 12px 24px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.schedule-tab-btn:hover,
.schedule-tab-btn.active {
  background: var(--bordeaux-primary);
  color: #FFFFFF !important;
  border-color: var(--bordeaux-primary);
}

.schedule-slot-card {
  background: var(--bg-paper);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-xs);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.schedule-slot-card:hover {
  border-color: rgba(88, 24, 43, 0.3);
  box-shadow: var(--shadow-subtle);
}

.slot-time-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.slot-time-text {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--bordeaux-deep);
}

/* ==========================================================================
   WIDGET DIAGNOSTICO POSTURALE SARTORIALE (HOME PAGE)
   ========================================================================== */
.posture-selector-wrap {
  background: var(--bg-sand-card);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-xs);
  padding: 60px 45px;
  margin: 50px 0;
}

.diagnostic-card-luxury {
  background: var(--bg-paper);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-xs);
  padding: 32px 28px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  text-align: left;
}

.diagnostic-card-luxury:hover,
.diagnostic-card-luxury.active {
  border-color: var(--bordeaux-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.diagnostic-card-luxury .card-num {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--bordeaux-primary);
  display: block;
  margin-bottom: 12px;
}

.diagnostic-card-luxury h4 {
  font-size: 17px;
  color: var(--bordeaux-deep);
  margin-bottom: 8px;
}

.diagnostic-card-luxury p {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin: 0;
}

.diagnostic-feedback-box {
  margin-top: 35px;
  background: var(--bg-paper);
  border-left: 3px solid var(--bordeaux-primary);
  border-top: 1px solid var(--line-subtle);
  border-right: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
  border-radius: var(--radius-xs);
  padding: 35px;
  animation: fadeIn 0.4s ease;
}

@media (max-width: 600px) {
  .posture-selector-wrap {
    padding: 24px 16px;
    margin: 20px 0;
  }
  .diagnostic-card-luxury {
    padding: 20px 18px;
  }
  .diagnostic-feedback-box {
    padding: 20px 16px;
    margin-top: 20px;
  }
}

/* ==========================================================================
   HOTSPOT STUDIO ARCHITETTONICO (STUDIO.HTML)
   ========================================================================== */
.studio-hotspot-container {
  position: relative;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-medium);
  margin: 40px 0;
}

.studio-panoramic-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .studio-panoramic-img {
    height: 360px;
  }
}

.hotspot-luxury-pin {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(66, 16, 31, 0.9);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 0 0 rgba(88, 24, 43, 0.6);
  animation: pulsePinLuxury 2.4s infinite;
  z-index: 5;
}

.hotspot-luxury-pin:hover {
  transform: scale(1.18);
  background: var(--bordeaux-primary);
}

@keyframes pulsePinLuxury {
  0% { box-shadow: 0 0 0 0 rgba(88, 24, 43, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(88, 24, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(88, 24, 43, 0); }
}

.hotspot-luxury-tooltip {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 260px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-xs);
  padding: 16px 18px;
  box-shadow: 0 15px 35px rgba(28, 25, 25, 0.12);
  font-size: 13px;
  color: var(--ink-primary);
  line-height: 1.6;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 10;
}

.hotspot-luxury-pin:hover .hotspot-luxury-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   BLOG & MAGAZINE POSTURALE (MONOCLE / VOGUE EDITORIAL STYLE)
   ========================================================================== */
.magazine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 45px;
}

@media (min-width: 768px) {
  .magazine-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 45px;
  }
}

.magazine-card {
  background: var(--bg-paper);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-xs);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.magazine-card:hover {
  border-color: rgba(88, 24, 43, 0.25);
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}

.magazine-img-wrap {
  height: 230px;
  overflow: hidden;
  position: relative;
}

.magazine-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.magazine-card:hover .magazine-img-wrap img {
  transform: scale(1.04);
}

.magazine-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.magazine-meta {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mauve-deep);
  margin-bottom: 10px;
}

.magazine-title {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.32;
  color: var(--ink-primary);
  margin-bottom: 12px;
}

.magazine-excerpt {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}

/* ==========================================================================
   MODALI & DRAWER A TUTTO SCHERMO
   ========================================================================== */
.luxury-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 25, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10005;
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.luxury-modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.luxury-modal-box {
  background: var(--bg-paper);
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line-subtle);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.25);
  position: relative;
  padding: 45px;
  animation: slideModalUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideModalUp {
  from { transform: translateY(25px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@media (max-width: 600px) {
  .luxury-modal-box {
    padding: 28px 20px;
  }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-sand);
  border: 1px solid var(--line-subtle);
  color: var(--ink-primary);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--bordeaux-primary);
  color: #FFFFFF;
}

/* ==========================================================================
   FAQ & ACCORDION A FILO SOTTILE
   ========================================================================== */
.faq-luxury-wrap {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line-subtle);
}

.faq-luxury-item {
  border-bottom: 1px solid var(--line-subtle);
}

.faq-luxury-question {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-luxury-question h4 {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--ink-primary);
  font-weight: 500;
  margin: 0;
  transition: var(--transition);
}

.faq-luxury-icon {
  font-size: 16px;
  color: var(--bordeaux-primary);
  transition: transform 0.3s ease;
}

.faq-luxury-item.active .faq-luxury-icon {
  transform: rotate(45deg);
}

.faq-luxury-item.active .faq-luxury-question h4 {
  color: var(--bordeaux-primary);
}

.faq-luxury-answer {
  padding-bottom: 24px;
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.75;
  display: none;
}

.faq-luxury-item.active .faq-luxury-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ==========================================================================
   FOOTER BOUTIQUE
   ========================================================================== */
footer.footer-luxury {
  background-color: var(--bg-sand-light);
  color: var(--ink-secondary);
  padding: 90px 0 40px 0;
  border-top: 1px solid var(--line-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--bordeaux-deep);
  margin-bottom: 22px;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 13.5px;
  color: var(--ink-secondary);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--bordeaux-primary);
  padding-left: 4px;
}

.footer-bottom-bar {
  border-top: 1px solid var(--line-subtle);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--ink-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--bordeaux-primary);
}

/* ==========================================================================
   MOBILE DRAWER & STICKY BAR
   ========================================================================== */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

@media (min-width: 1024px) {
  .hamburger-btn {
    display: none;
  }
}

.hamburger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--ink-primary);
  transition: var(--transition);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 25, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: var(--bg-canvas);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-nav-list a {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-primary);
  padding: 15px 0;
  border-bottom: 1px solid var(--line-subtle);
}

.mobile-nav-list a.active {
  color: var(--bordeaux-primary);
}

/* STICKY BOTTOM BAR SU MOBILE */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 991px) {
  body {
    padding-bottom: 74px;
  }

  header#mainHeader .header-flex > div:has(.btn-primary) {
    display: none;
  }

  header#mainHeader {
    padding: 14px 0;
  }

  .logo-img {
    height: 40px;
  }

  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(253, 252, 249, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-subtle);
    padding: 10px 14px;
    z-index: 9995;
    gap: 10px;
  }

  .mobile-sticky-bar .btn {
    flex: 1;
    padding: 13px 8px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }
}

/* ==========================================================================
   COOKIE CONSENT BANNER & PREFERENCES MODAL (SARTORIALE)
   ========================================================================== */
.psyche-cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: calc(100% - 48px);
  max-width: 520px;
  background: rgba(253, 252, 249, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-xs);
  box-shadow: 0 25px 60px rgba(28, 25, 25, 0.18);
  padding: 24px 26px;
  z-index: 100000;
  transform: translateY(140%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.35s ease;
}

.psyche-cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .psyche-cookie-banner {
    bottom: 80px;
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
    max-width: none;
    padding: 18px 16px;
    box-shadow: 0 10px 35px rgba(28, 25, 25, 0.25);
  }
  
  .psyche-cb-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  
  .psyche-cb-actions #psycheCbAcceptAll {
    grid-column: span 2;
  }
  
  .psyche-cb-actions button {
    width: 100%;
    padding: 11px 6px !important;
    font-size: 10.5px !important;
    letter-spacing: 0.08em !important;
    justify-content: center;
  }
}

.psyche-cb-container {
  display: flex;
  flex-direction: column;
}

/* MODALE PREFERENZE COOKIE */
.psyche-cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 25, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100005;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.psyche-cookie-modal-backdrop.visible {
  opacity: 1;
  visibility: visible;
}

.psyche-cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: 92%;
  max-width: 600px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-paper);
  border-radius: var(--radius-xs);
  border: 1px solid var(--line-subtle);
  padding: 35px 30px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.3);
  z-index: 100010;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.35s ease;
}

.psyche-cookie-modal.visible {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

@media (max-width: 600px) {
  .psyche-cookie-modal {
    padding: 24px 18px;
    width: 95%;
  }
}

.psyche-pref-card {
  background: var(--bg-sand);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-xs);
  padding: 18px 20px;
  margin-bottom: 14px;
}

.psyche-pref-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.psyche-pref-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-primary);
}

.psyche-badge-locked {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(88, 24, 43, 0.1);
  color: var(--bordeaux-primary);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  margin-left: 8px;
}

.psyche-badge-optional {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(28, 25, 25, 0.06);
  color: var(--ink-secondary);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  margin-left: 8px;
}

.psyche-pref-desc {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin: 0;
}

/* SWITCH TOGGLE ELEGANTE */
.psyche-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.psyche-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.psyche-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--line-subtle);
  transition: 0.3s;
  border-radius: 24px;
}

.psyche-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.psyche-switch input:checked + .psyche-slider {
  background-color: var(--bordeaux-primary);
}

.psyche-switch input:checked + .psyche-slider:before {
  transform: translateX(20px);
}

.psyche-slider.disabled {
  opacity: 0.65;
  cursor: not-allowed;
  background-color: var(--bordeaux-primary);
}

.psyche-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-subtle);
}

/* ==========================================================================
   ANIMAZIONI
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
