/* =========================================================
   L'ARTE DEL MASSAGGIO (CHIASSO) — Awwwards Kinetic Edition
   Palette: #F3F0E3 | #CAD0BA | #A2A78E | #767866 | #4F4E47 | #2A2625
   ========================================================= */

:root {
  --cream: #F3F0E3;
  --cream-soft: #F9F7EE;
  --sage-light: #CAD0BA;
  --sage: #A2A78E;
  --olive: #767866;
  --graphite: #4F4E47;
  --charcoal: #2A2625;
  --charcoal-deep: #1E1B1A;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="proposta-1"] {
  --bg: var(--cream);
  --bg-sage-band: #E5E7DA;
  --surface: var(--cream-soft);
  --text: var(--charcoal);
  --text-muted: var(--graphite);
  --accent: var(--olive);
  --border: rgba(79, 78, 71, 0.24);
  --nav-bg: rgba(243, 240, 227, 0.9);
  --dark-section: var(--charcoal);
}

html[data-theme="proposta-2"] {
  --bg: var(--charcoal);
  --bg-sage-band: #221E1D;
  --surface: #332E2D;
  --text: var(--cream);
  --text-muted: var(--sage-light);
  --accent: var(--sage-light);
  --border: rgba(202, 208, 186, 0.24);
  --nav-bg: rgba(42, 38, 37, 0.92);
  --dark-section: #191615;
}

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

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  transition: background-color 0.55s ease, color 0.55s ease;
}

/* Silk Split-Curtain Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: all;
  display: grid;
  place-items: center;
}

.preloader.done { pointer-events: none; visibility: hidden; }

.curtain {
  position: fixed;
  left: 0;
  right: 0;
  height: 50vh;
  background: var(--charcoal-deep);
  transition: transform 1s var(--ease);
}

.curtain-top { top: 0; }
.curtain-bottom { bottom: 0; }

.preloader.opening .curtain-top { transform: translateY(-100%); }
.preloader.opening .curtain-bottom { transform: translateY(100%); }

.preloader-center {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: opacity 0.45s ease;
}

.preloader.opening .preloader-center { opacity: 0; }

.draw-emblem { width: 64px; height: 64px; color: var(--sage-light); }

.draw-path {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: drawSvg 1.1s var(--ease) forwards;
}

@keyframes drawSvg { to { stroke-dashoffset: 0; } }

.preloader-word {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.24em;
}

.preloader-pct {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--sage);
}

/* Custom Editorial Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  pointer-events: none;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  background: var(--charcoal-deep);
  color: var(--cream);
  border: 1px solid rgba(202, 208, 186, 0.5);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.custom-cursor.active { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Typography & Layout */
.container { width: min(1440px, 90vw); margin-inline: auto; }
.section { position: relative; width: 100%; overflow: hidden; }
.padding { padding: clamp(5rem, 8.5vw, 8.5rem) 0; }
.heading, h1, h2, h3, .brand-name { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; }
em { font-style: italic; color: var(--accent); }
.heading.is-medium { font-size: clamp(2rem, 3.8vw, 3.35rem); line-height: 1.15; }
.paragraph { color: var(--text-muted); font-size: 1rem; line-height: 1.75; }

.section-content-wrapper { text-align: center; max-width: 780px; margin: 0 auto 4rem; position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 1.3rem; margin-bottom: 1.8rem; }
.eyebrow-line { width: 3rem; height: 1px; background-color: var(--border); }
.eyebrow-dot-wrapper { position: relative; width: 14px; height: 14px; display: grid; place-items: center; }
.eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background-color: var(--accent); }
.eyebrow-dot-border { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--border); }
.eyebrow-title { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); }
.in-section-content { margin-top: 1.4rem; max-width: 56ch; margin-inline: auto; }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.2rem; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.85rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.button.is-sage { background-color: var(--olive); color: var(--cream); }
.button.is-sage:hover { background-color: var(--graphite); }
.button.is-transparent {
  background-color: rgba(243, 240, 227, 0.12);
  border-color: rgba(243, 240, 227, 0.42);
  color: var(--cream);
  backdrop-filter: blur(8px);
}
.button.is-transparent:hover { background-color: rgba(243, 240, 227, 0.22); }
.tone-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage-light); box-shadow: 0 0 10px var(--sage-light); }

/* Smart Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0; z-index: 80;
  padding: 0 4vw; height: 76px;
  display: flex; align-items: center;
  transition: transform 0.45s var(--ease), background-color 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.navbar.nav-hidden { transform: translateY(-100%); }
.navbar:not(.scrolled) { color: #F3F0E3; }
.navbar.scrolled { background-color: var(--nav-bg); backdrop-filter: blur(14px); border-bottom-color: var(--border); color: var(--text); }
.nav-wrapper { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand-link-block { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.brand-symbol { width: 30px; height: 30px; }
html[data-theme="proposta-1"] .symbol-p2 { display: none; }
html[data-theme="proposta-2"] .symbol-p1 { display: none; }
.brand-name { font-size: 0.92rem; letter-spacing: 0.16em; white-space: nowrap; }
.nav-main-links { display: flex; gap: 2rem; }
.nav-link { text-decoration: none; color: inherit; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; transition: opacity 0.25s ease; }
.nav-link:hover { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 1.2rem; }
.lang-btn { min-height: 40px; background: none; border: 1px solid currentColor; border-radius: 999px; color: inherit; font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.1em; padding: 0.35rem 0.85rem; cursor: pointer; }
html[data-lang="it"] .lang-it, html[data-lang="de"] .lang-de { font-weight: 600; }
.menu-button { min-height: 48px; display: inline-flex; align-items: center; gap: 0.6rem; background: none; border: none; color: inherit; font-family: var(--font-sans); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.burger-icon { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.burger-icon span { display: block; height: 1px; width: 100%; background: currentColor; }

/* Fullscreen Menu */
.fullscreen-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--charcoal-deep); color: var(--cream);
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.fullscreen-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
.menu-column-links { padding: 2.5rem 5vw; display: flex; flex-direction: column; justify-content: space-between; }
.menu-top-bar { display: flex; justify-content: space-between; align-items: center; }
.close-button { min-height: 48px; background: none; border: 1px solid rgba(243, 240, 227, 0.3); color: var(--cream); border-radius: 999px; padding: 0.45rem 1.2rem; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.menu-links { display: flex; flex-direction: column; gap: 0.5rem; }
.menu-main-link { display: flex; align-items: baseline; gap: 1.4rem; text-decoration: none; color: var(--cream); padding: 0.8rem 0; border-bottom: 1px solid rgba(243, 240, 227, 0.12); transition: padding-left 0.35s var(--ease), color 0.3s ease; }
.menu-main-link:hover { padding-left: 1rem; color: var(--sage-light); }
.menu-num { font-family: var(--font-display); font-style: italic; color: var(--sage); }
.menu-main-link-text { font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.15; }
.menu-main-link-subtext { font-size: 0.82rem; color: var(--sage); }
.menu-bottom-info { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--sage); }
.menu-bottom-info a { color: var(--cream); text-decoration: none; }
.menu-column-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 1. Hero Video + Masked Text + Ripple Canvas */
.hero-slider { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #F3F0E3; text-align: center; background: #1E1B1A; }
.slider-wrapper { position: absolute; inset: 0; z-index: 1; }
.hero-bg-video, .hero-bg-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}
.hero-bg-video { opacity: 0; transition: opacity 0.8s ease; }
.hero-bg-video.ready { opacity: 1; }
.hero-slider-overlay { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(42, 38, 37, 0.38) 0%, rgba(30, 27, 26, 0.82) 100%); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.hero-slider-layout { position: relative; z-index: 5; padding-top: 4rem; }

.heading.is-hero-slider-title { font-size: clamp(3.1rem, 6.4vw, 5.8rem); line-height: 1.05; color: #F3F0E3; }
.heading.is-hero-slider-title em { color: var(--sage-light); }
.line-mask { display: block; overflow: hidden; }
.line-inner { display: inline-block; }

.hero-line-wrapper { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin: 1.8rem auto; max-width: 680px; }
.hero-line { flex: 1; height: 1px; background: rgba(243, 240, 227, 0.35); }
.hero-subtitle { font-size: 0.76rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sage-light); }
.hero-content-text { max-width: 52ch; margin-inline: auto; font-size: 1.04rem; color: rgba(243, 240, 227, 0.9); }

.slide-timeline { position: absolute; bottom: 28px; left: 4vw; right: 4vw; z-index: 6; display: flex; align-items: center; gap: 1.5rem; }
.timeline-track { flex: 1; height: 1px; background: rgba(243, 240, 227, 0.25); overflow: hidden; }
.timeline-fill { height: 100%; width: 0%; background: var(--cream); }
.slide-counter { font-size: 0.74rem; letter-spacing: 0.16em; color: rgba(243, 240, 227, 0.85); }

/* Velocity Marquee */
.brand-marquee {
  background: var(--charcoal-deep);
  color: var(--sage-light);
  border-top: 1px solid rgba(202, 208, 186, 0.2);
  border-bottom: 1px solid rgba(202, 208, 186, 0.2);
  padding: 1.05rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track { display: inline-flex; align-items: center; gap: 2.2rem; font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; animation: marqueeScroll 30s linear infinite; will-change: transform; }
.marquee-dot { color: var(--sage); }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 2. Rotating Crest & Word-by-Word Scrub */
.sage-tint-section { background-color: var(--bg-sage-band); transition: background-color 0.55s ease; }

.rotating-crest {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  color: var(--accent);
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}

.word-scrub .scrub-word {
  display: inline-block;
  opacity: 0.18;
  transition: opacity 0.2s linear;
}

.wipe-reveal { clip-path: inset(0 0 0 0); }

.tilt-sheen { position: relative; transform-style: preserve-3d; will-change: transform; }
.tilt-sheen::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0;
  background: radial-gradient(circle 280px at var(--sx, 50%) var(--sy, 50%), rgba(243, 240, 227, 0.16), transparent 70%);
  transition: opacity 0.35s ease;
}
.tilt-sheen:hover::after { opacity: 1; }

._3-row-images { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 2rem; align-items: center; margin-top: 2rem; position: relative; z-index: 2; }
.medium-image { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 6px; }
.medium-image.is-center { aspect-ratio: 4 / 5; transform: translateY(-1.5rem); }
.medium-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 3. Pinned Horizontal Journey */
.horizontal-journey {
  position: relative;
  min-height: 100vh;
  background: var(--charcoal-deep);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5.5rem 0 3rem;
  overflow: hidden;
  border-top: 1px solid rgba(202, 208, 186, 0.2);
  border-bottom: 1px solid rgba(202, 208, 186, 0.2);
}

.journey-header {
  width: min(1440px, 90vw);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.journey-header .eyebrow-title { color: var(--sage-light); }
.journey-progress-wrap { display: flex; align-items: center; gap: 1rem; min-width: 220px; }
.journey-step-num, .journey-step-total { font-family: var(--font-display); font-size: 1rem; color: var(--sage-light); }
.journey-track { flex: 1; height: 1px; background: rgba(243, 240, 227, 0.2); overflow: hidden; }
.journey-fill { width: 25%; height: 100%; background: var(--cream); transition: width 0.2s linear; }
.journey-viewport { width: 100%; overflow: hidden; flex: 1; display: flex; align-items: center; }
.journey-track-inner { display: flex; width: 400vw; will-change: transform; }
.journey-panel { position: relative; width: 100vw; padding: 2rem 5vw; display: flex; align-items: center; justify-content: center; }

.bg-roman {
  position: absolute;
  right: 8vw; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(14rem, 24vw, 24rem);
  color: rgba(202, 208, 186, 0.05);
  pointer-events: none; line-height: 1;
}

.panel-grid { width: min(1320px, 90vw); display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; position: relative; z-index: 2; }
.panel-copy .heading { color: var(--cream); margin-bottom: 1.4rem; }
.panel-copy .paragraph { color: var(--sage-light); max-width: 46ch; margin-bottom: 2rem; }
.panel-media { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 1px solid rgba(202, 208, 186, 0.24); }
.panel-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 4. Interactive Soundwave & Guided Breath Stage */
.soundstage-section { background-color: var(--bg); }
.soundstage-card {
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--charcoal-deep);
  color: var(--cream);
  padding: clamp(2.2rem, 5vw, 4.5rem);
  overflow: hidden;
  min-height: 460px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 3rem;
}
.wave-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.soundstage-top, .soundstage-center { position: relative; z-index: 3; }
.freq-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }
.freq-btn {
  min-height: 48px;
  background: rgba(243, 240, 227, 0.06);
  border: 1px solid rgba(202, 208, 186, 0.3);
  color: var(--cream);
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-sans); font-size: 0.8rem; cursor: pointer; transition: all 0.3s ease;
}
.freq-btn .f-hz { font-family: var(--font-display); font-style: italic; color: var(--sage-light); font-size: 1rem; }
.freq-btn.active { background: var(--olive); border-color: var(--sage-light); }
.freq-btn.stop-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.soundstage-center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.breath-halo { position: relative; width: 190px; height: 190px; display: grid; place-items: center; }
.halo-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--sage-light); opacity: 0.35; transition: transform 4s ease-in-out, opacity 1.5s ease; }
.halo-ring.r2 { inset: 22px; }
.breath-halo.inhale .halo-ring { transform: scale(1.25); opacity: 0.9; }
.breath-halo.hold .halo-ring { transform: scale(1.25); opacity: 1; }
.breath-halo.exhale .halo-ring { transform: scale(0.85); opacity: 0.3; }
.halo-label { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--cream); padding: 0 1rem; }
.soundstage-quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 2.8vw, 2.3rem); color: var(--sage-light); }

/* 5. Oval Medallions */
.services-cms-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 4rem; row-gap: 5.5rem; }
.service-cms-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2rem; padding: 1.5rem; border-radius: 12px; }
.image-with-borders { position: relative; display: flex; justify-content: center; align-items: center; padding: 1.4rem 3.2rem; }
.image-border { position: absolute; width: 100%; height: 92%; border: 1px solid var(--border); border-radius: 50%; pointer-events: none; transition: transform 0.7s var(--ease); }
.image-border.is-2nd { width: 112%; opacity: 0.45; }
.spin-slow { animation: orbitSpin 28s linear infinite; }
.spin-rev { animation: orbitSpin 36s linear infinite reverse; }
@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.service-cms-image { position: relative; z-index: 2; width: 260px; height: 310px; border-radius: 15em; overflow: hidden; transition: width 0.6s var(--ease); }
.service-cms-item:hover .service-cms-image { width: 282px; }
.service-cms-image img { width: 100%; height: 100%; object-fit: cover; }

.cms-cat { display: block; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.55rem; }
.service-cms-content h3 { font-size: 1.85rem; margin-bottom: 0.65rem; }
.service-cms-content p { max-width: 38ch; margin-inline: auto; margin-bottom: 1rem; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; color: var(--text); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid var(--border); }

/* 6. Split 3-Column Showcase */
.split-3-column-content { display: flex; width: 100%; height: 78vh; min-height: 500px; overflow: hidden; }
.split-3-column { position: relative; width: 33.333%; height: 100%; display: flex; align-items: center; justify-content: center; text-decoration: none; color: #F3F0E3; overflow: hidden; filter: saturate(42%); transition: width 0.8s var(--ease), filter 0.5s ease; }
.split-3-column:hover { width: 52%; filter: saturate(105%); }
.split-3-column-bg { position: absolute; inset: 0; z-index: 1; }
.split-3-column-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.split-3-column:hover .split-3-column-bg img { transform: scale(1.06); }
.split-3-column-overlay { position: absolute; inset: 0; z-index: 2; background: rgba(42, 38, 37, 0.46); transition: background 0.5s ease; }
.split-3-column:hover .split-3-column-overlay { background: rgba(42, 38, 37, 0.24); }
.split-3-column-layout { position: relative; z-index: 5; text-align: center; padding: 2rem; }
.split-3-column-border { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); width: 210px; height: 210px; border-radius: 50%; border: 1px solid rgba(243, 240, 227, 0.55); background: rgba(202, 208, 186, 0.14); backdrop-filter: blur(4px); z-index: -1; transition: transform 0.7s var(--ease); }
.split-3-column:hover .split-3-column-border { transform: translate(-50%, -50%) scale(1); }
.split-3-column-name { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 3rem); }
.split-3-column-sub { display: block; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-light); margin-top: 0.5rem; }

/* 7. Hover-Floating Portrait Showcase */
.locations { position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center; color: #F3F0E3; overflow: hidden; padding: 6rem 0; }
.locations-bg-stage { position: absolute; inset: 0; z-index: 1; }
.loc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.85s ease, transform 1.2s var(--ease); filter: blur(3px); }
.loc-bg.active { opacity: 1; transform: scale(1); }
.locations-overlay { position: absolute; inset: 0; background: rgba(30, 27, 26, 0.72); }

.hover-preview-card {
  position: fixed;
  top: 0; left: 0;
  width: 240px; height: 300px;
  border-radius: 120px;
  overflow: hidden;
  border: 1px solid rgba(243, 240, 227, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}
.hover-preview-card.visible { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(3deg); }
.hover-preview-card img { width: 100%; height: 100%; object-fit: cover; }

.locations-inner { position: relative; z-index: 5; text-align: center; }
.location-side-label { display: block; font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sage-light); margin-bottom: 3rem; }
.locations-cms-list { display: flex; flex-direction: column; gap: 2.2rem; }
.location-cms-item { text-decoration: none; color: rgba(243, 240, 227, 0.65); transition: color 0.35s ease, transform 0.35s var(--ease); }
.location-cms-item:hover, .location-cms-item.active { color: #F3F0E3; transform: scale(1.02); }
.loc-title { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 3.7rem); line-height: 1.15; }
.loc-quote { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--sage-light); margin-top: 0.35rem; }

/* 8. Interactive 3-Step Configurator & Manuel Vergura */
.section-cta { position: relative; margin-bottom: 5rem; min-height: 520px; border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: 0.9fr 1.2fr; border: 1px solid var(--border); }
.section-cta-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.section-cta-filter { background: var(--surface); padding: clamp(2rem, 4vw, 3.6rem); display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; }

.configurator { display: flex; flex-direction: column; gap: 1.25rem; }
.cfg-label { display: block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.55rem; }
.cfg-options { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.cfg-pill {
  min-height: 44px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.cfg-pill.active { background: var(--olive); color: var(--cream); border-color: var(--olive); }

.cta-form { display: flex; flex-direction: column; gap: 1rem; }
.cta-form input { min-height: 48px; background: var(--bg); border: 1px solid var(--border); color: var(--text); font-family: var(--font-sans); font-size: 0.95rem; padding: 0.85rem 1.1rem; border-radius: 6px; outline: none; }
.form-feedback { font-size: 0.85rem; color: var(--accent); min-height: 1.2em; }

.founder-section { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; padding-top: 2rem; }
.founder-section .eyebrow { justify-content: flex-start; }
.founder-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.5rem; border-radius: 12px; }
.founder-oval { width: 240px; height: 300px; }
.founder-name { font-family: var(--font-display); font-size: 1.6rem; margin-top: 1.2rem; }

/* 9. Dark Gallery & Footer */
.with-bg-dark { background-color: var(--dark-section); color: var(--cream); }
.with-bg-dark .eyebrow-title { color: var(--sage-light); }
.with-bg-dark .eyebrow-line { background-color: rgba(243, 240, 227, 0.2); }

.mix-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; margin-bottom: 6rem; }
.tab-image { grid-column: span 4; height: 360px; border-radius: 6px; overflow: hidden; border: none; padding: 0; cursor: pointer; background: var(--charcoal-deep); }
.tab-image.is-wide { grid-column: span 8; }
.tab-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s var(--ease); }
.tab-image:hover img { transform: scale(1.05); }

.brand-pattern-bar {
  height: 30px; opacity: 0.24; margin-bottom: 3rem;
  background-image: radial-gradient(circle at 15px 15px, transparent 6px, var(--sage) 6.5px, var(--sage) 7.5px, transparent 8px);
  background-size: 30px 30px;
}

.footer-layout { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; padding-bottom: 4.5rem; }
.footer-sub { font-size: 0.8rem; color: var(--sage); }
.footer-links { display: flex; flex-wrap: wrap; gap: 2rem; }
.footer-links a { text-decoration: none; color: var(--cream); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.82; }
.footer-links a:hover { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 280; background: rgba(26, 23, 22, 0.95); color: var(--cream); display: grid; place-items: center; padding: 2rem; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.4s ease, visibility 0.4s ease; }
.lightbox.open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox-stage { max-width: 900px; width: 100%; text-align: center; }
.lightbox-stage img { max-height: 75vh; max-width: 100%; border-radius: 6px; object-fit: contain; }
.lightbox-caption { margin-top: 1rem; font-family: var(--font-display); font-style: italic; color: var(--sage-light); }
.lightbox-close, .lightbox-nav { position: absolute; min-width: 48px; min-height: 48px; border-radius: 999px; border: 1px solid rgba(243, 240, 227, 0.3); background: rgba(42, 38, 37, 0.7); color: var(--cream); cursor: pointer; }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-nav.prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 24px; top: 50%; transform: translateY(-50%); }

/* Proposal Switcher */
.proposal-switcher { position: fixed; bottom: 18px; right: 22px; z-index: 95; background: var(--charcoal-deep); color: var(--cream); border: 1px solid rgba(202, 208, 186, 0.3); padding: 0.5rem 1.05rem; border-radius: 999px; display: flex; align-items: center; gap: 0.65rem; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); }
.switch-btn { min-height: 36px; background: none; border: none; color: var(--sage); font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.switch-btn.active { color: var(--cream); font-weight: 600; }
.switch-sep { opacity: 0.3; font-size: 0.7rem; }

.journey-mobile-nav,
.loc-mob-thumb,
.mob-gal-cap {
  display: none;
}

@media (max-width: 980px) {
  .nav-main-links, .custom-cursor, .hover-preview-card { display: none !important; }
  .fullscreen-menu { grid-template-columns: 1fr; }
  .menu-column-image { display: none; }
  ._3-row-images, .services-cms-list, .panel-grid, .section-cta, .founder-section { grid-template-columns: 1fr; gap: 2rem; }
  .medium-image.is-center { transform: none; }
  .rotating-crest { width: 240px; height: 240px; top: -40px; right: -40px; }

  .horizontal-journey { min-height: auto; padding: 4.5rem 0 3.5rem; gap: 2rem; }
  .journey-mobile-nav { display: flex; gap: 0.6rem; }
  .j-nav-btn {
    min-width: 48px; min-height: 48px;
    border-radius: 50%; border: 1px solid rgba(202, 208, 186, 0.35);
    background: rgba(243, 240, 227, 0.06); color: var(--cream);
    font-size: 1.1rem; cursor: pointer;
  }
  .journey-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 5vw;
  }
  .journey-viewport::-webkit-scrollbar { display: none; }
  .journey-track-inner { width: max-content; gap: 1.1rem; }
  .journey-panel {
    width: 84vw;
    flex: 0 0 84vw;
    scroll-snap-align: center;
    padding: 1.8rem 1.4rem;
    background: rgba(243, 240, 227, 0.03);
    border: 1px solid rgba(202, 208, 186, 0.16);
    border-radius: 12px;
  }
  .bg-roman { font-size: 8.5rem; top: 1rem; right: 1.2rem; transform: none; }

  .split-3-column-content { flex-direction: column; height: auto; }
  .split-3-column { width: 100%; height: 230px; filter: saturate(88%); }
  .split-3-column:hover { width: 100%; }

  .loc-mob-thumb {
    display: block;
    width: 68px; height: 68px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.75rem;
    border: 1px solid rgba(243, 240, 227, 0.45);
  }
  .locations { min-height: auto; padding: 5rem 0; }

  .tab-image { position: relative; }
  .tab-image, .tab-image.is-wide { grid-column: span 12; height: 260px; }
  .mob-gal-cap {
    display: block;
    position: absolute;
    left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
    padding: 0.55rem 0.9rem;
    background: rgba(26, 23, 22, 0.72);
    backdrop-filter: blur(8px);
    color: var(--cream);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.88rem;
    border-radius: 6px;
    opacity: 1 !important;
    visibility: visible !important;
    text-align: left;
  }

  .footer-layout { padding-bottom: 6.5rem; }
  .proposal-switcher {
    bottom: 12px;
    left: 50%; right: auto;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100vw - 24px);
    padding: 0.4rem 0.85rem;
  }
}

@media (max-width: 600px) {
  .navbar { height: 64px; padding: 0 3.5vw; }
  .brand-link-block { gap: 0.5rem; }
  .brand-symbol { width: 22px; height: 22px; flex-shrink: 0; }
  .brand-name { font-size: 0.68rem; letter-spacing: 0.08em; }
  .nav-right { gap: 0.45rem; flex-shrink: 0; }
  .lang-btn { white-space: nowrap; padding: 0.2rem 0.55rem; min-height: 36px; font-size: 0.64rem; letter-spacing: 0.06em; }
  .menu-button { min-height: 40px; gap: 0.45rem; font-size: 0.68rem; letter-spacing: 0.1em; }
  .hero-slider { padding: 4.8rem 0 8rem; }
  .hero-slider-layout { padding-top: 1.5rem; }
  .heading.is-hero-slider-title { font-size: clamp(2.1rem, 9.2vw, 3rem); line-height: 1.06; }
  .hero-line-wrapper { gap: 0.6rem; margin: 0.95rem auto; }
  .hero-line-wrapper .eyebrow-dot-wrapper { display: none; }
  .hero-content-text { font-size: 0.92rem; line-height: 1.55; }
  .buttons { flex-direction: column; width: 100%; max-width: 320px; margin: 1.35rem auto 0; gap: 0.65rem; }
  .buttons .button { width: 100%; min-height: 46px; padding: 0.75rem 1.4rem; }
  .slide-timeline { bottom: 64px; }

  .image-with-borders { padding: 1rem 1.8rem; }
  .service-cms-image { width: 210px; height: 255px; }
  .service-cms-item:hover .service-cms-image { width: 210px; }
  .founder-oval { width: 200px; height: 250px; }

  .soundstage-card { padding: 1.8rem 1.25rem; min-height: 390px; gap: 2rem; }
  .freq-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .freq-btn { padding: 0.6rem 0.75rem; font-size: 0.75rem; justify-content: center; flex-direction: column; gap: 0.15rem; }
  .breath-halo { width: 155px; height: 155px; }

  .cta-form input { font-size: 16px; }
  .cfg-pill { flex: 1 1 auto; text-align: center; min-height: 48px; }
  .lightbox-nav { top: auto; bottom: 24px; transform: none; }
  .lightbox-nav.prev { left: 24px; }
  .lightbox-nav.next { right: 24px; }
  .switch-btn { font-size: 0.64rem; letter-spacing: 0.05em; }
}
