:root {
  --bg: #050505;
  --bg-soft: #0d0d0f;
  --surface: #111214;
  --surface-2: #15161a;
  --text: #f6f6f6;
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.48);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --pink: #f3a6c7;
  --pink-strong: #ff7eb8;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1280px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gpu-translate: translate3d(0, 0, 0);

  --paper-bg: #0f1012;
--paper-wash: rgba(255, 255, 255, 0.025);
--paper-circle: rgba(255, 255, 255, 0.08);

  --stories-stage-top: var(--header-h);
  --stories-stage-bottom: 0px;
  --stories-center-y: 53%;
  --stories-card-w: 20.8vw;
  --stories-card-max-w: 360px;
  --stories-card-min-w: 286px;
  --stories-left-x: 41.5%;
  --stories-right-x: 60.2%;
  --stories-card-radius: 12px;
  --stories-shadow:
    0 28px 70px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.045);
  --stories-progress-w: min(28rem, 46vw);
  --stories-caption-bottom: 2.2rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}

html {
  font-size: 10px;
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(243, 166, 199, 0.06), transparent 25%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.04), transparent 28%),
    var(--bg);
  color: var(--text);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

main {
  position: relative;
  isolation: isolate;
}

/* FIX STRUTTURALE: il container non deve spingere tutto a destra.
   La hero viene poi allineata separatamente per desktop/laptop. */
.container {
  width: min(100% - 40px, var(--container));
  margin-left: auto;
  margin-right: auto;
}

.section {
  position: relative;
  padding: 11rem 0;
}

.eyebrow {
  margin: 0 0 1.8rem;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--pink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5.6rem;
  padding: 0 2.2rem;
  border-radius: 999px;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    transform 0.4s var(--ease),
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
  transform: var(--gpu-translate);
  backface-visibility: hidden;
}

.btn:hover {
  transform: translate3d(0, -2px, 0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--text), #d9d9d9);
  color: #0a0a0a;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(243, 166, 199, 0.16);
}

.btn-secondary {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
  border-color: rgba(243, 166, 199, 0.5);
  color: var(--pink);
}

/* Loader */

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  background: #050505;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader-content {
  position: relative;
  display: grid;
  place-items: center;
  gap: 1.8rem;
  text-align: center;
}

.loader-ring {
  position: relative;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

.loader-text {
  font-size: 1.25rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.loader-subtext {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1200;
  transition:
    background-color 0.35s ease,
    backdrop-filter 0.35s ease,
    border-color 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: max-content;
}

.brand-mark {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 7px rgba(243, 166, 199, 0.12);
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.desktop-nav a {
  position: relative;
  font-size: 1.35rem;
  color: var(--text-soft);
  transition: color 0.3s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.8rem;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--pink);
  transition: transform 0.35s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.is-current {
  color: var(--text);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-current::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.lang-btn {
  min-width: 4.3rem;
  height: 3.6rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: 0.35s var(--ease);
}

.lang-btn:hover,
.lang-btn.is-active {
  color: #0a0a0a;
  background: var(--text);
}

.menu-toggle {
  display: none;
  width: 5rem;
  height: 5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  z-index: 1300;
}

body.menu-open .menu-toggle {
  position: fixed;
  top: 1.8rem;
  right: 1.8rem;
  display: inline-block;
  background: rgba(5, 5, 5, 0.72);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 2rem;
  height: 1px;
  background: var(--text);
  transform: translate3d(-50%, 0, 0);
  transition: 0.35s var(--ease);
}

.menu-toggle span:first-child { top: 2rem; }
.menu-toggle span:last-child { top: 2.8rem; }

.menu-toggle.is-active span:first-child {
  top: 2.4rem;
  transform: translate3d(-50%, 0, 0) rotate(45deg);
}

.menu-toggle.is-active span:last-child {
  top: 2.4rem;
  transform: translate3d(-50%, 0, 0) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1150;
  min-height: 100svh;
  background:
    radial-gradient(circle at 85% 18%, rgba(243, 166, 199, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.98), rgba(5, 5, 5, 0.96)),
    #050505;
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, -12px, 0);
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s var(--ease),
    transform 0.35s var(--ease);
  overflow: hidden;
}

.mobile-menu::before {
  content: "";
  position: absolute;
  inset: var(--header-h) 0 0 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent 18%),
    radial-gradient(circle at 20% 70%, rgba(243,166,199,0.08), transparent 30%);
  pointer-events: none;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.mobile-menu-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 720px);
  height: 100%;
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-lang { margin-bottom: 4rem; }

.mobile-nav {
  display: grid;
  gap: 1.2rem;
}

.mobile-nav a {
  display: block;
  width: fit-content;
  font-size: clamp(4rem, 12vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
}

.mobile-nav a:hover,
.mobile-nav a.is-current {
  color: var(--pink);
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

/* Hero */

.hero {
  position: sticky;
  top: 0;
  min-height: 100svh;
  height: 100svh;
  padding: calc(var(--header-h) + 5rem) 0 7rem;
  display: flex;
  align-items: center;
  overflow: clip;
  z-index: 5;
  isolation: isolate;
  background: var(--paper-bg);
}

.hero-bg,
.hero-bg img,
.hero-overlay,
.hero-noise {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: 2;
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  transform: translate3d(-50%, -50%, 0);
  transform-origin: center center;
  border-radius: 0;
  box-shadow: none;
  will-change: transform, opacity;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06) translate3d(0, 0, 0);
  transform-origin: center center;
  backface-visibility: hidden;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.18), rgba(5, 5, 5, 0.48)),
    radial-gradient(circle at 70% 40%, rgba(243, 166, 199, 0.1), transparent 26%);
  pointer-events: none;
}

.hero-noise {
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.4) 0.6px, transparent 0.7px),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.22) 0.8px, transparent 0.9px);
  background-size: 12px 12px, 18px 18px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-transition-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background:
    linear-gradient(var(--paper-wash), var(--paper-wash)),
    var(--paper-bg);
  pointer-events: none;
}

.hero-transition-bg::before,
.gallery-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12vw 18svh, transparent 0 110px, var(--paper-circle) 111px 113px, transparent 114px),
    radial-gradient(circle at 52vw 26svh, transparent 0 140px, var(--paper-circle) 141px 143px, transparent 144px),
    radial-gradient(circle at 78vw 70svh, transparent 0 120px, var(--paper-circle) 121px 123px, transparent 124px),
    radial-gradient(circle at 28vw 82svh, transparent 0 130px, var(--paper-circle) 131px 133px, transparent 134px);
  background-size: 100vw 100svh;
  background-position: 0 0;
  background-repeat: no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

.hero::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 92rem;
  will-change: transform, opacity;
}

/* FIX HERO: allineamento come nello screenshot locale, non centrato su desktop/laptop. */
@media (min-width: 769px) {
  .hero .container.hero-content {
    width: min(100% - 10vw, 92rem) !important;
    max-width: 92rem !important;
    margin-left: clamp(7rem, 6.5vw, 10rem) !important;
    margin-right: auto !important;
  }
}

.hero-title {
  margin: 0;
  font-size: clamp(5.6rem, 12vw, 12rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
}

.hero-rotator {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

.hero-rotator span {
  padding: 0.95rem 1.4rem;
  border: 1px solid rgba(243, 166, 199, 0.28);
  border-radius: 999px;
  background: rgba(243, 166, 199, 0.08);
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.hero-description {
  max-width: 68rem;
  margin: 2.8rem 0 0;
  font-size: clamp(1.8rem, 2vw, 2.25rem);
  line-height: 1.7;
  color: var(--text-soft);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 3.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  margin-top: 4rem;
  color: var(--text-muted);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-marquee {
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 3;
  opacity: 1;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: normal;
  transition: opacity 0.4s ease;
}

.hero-marquee--top {
  top: 24%;
}

.hero-marquee--bottom {
  bottom: 18%;
}

.hero-marquee-track {
  display: flex;
  width: max-content;
  gap: 5rem;
  white-space: nowrap;
  will-change: transform;
}

.hero-marquee-track span {
  font-family: "Inter", sans-serif;
  font-size: clamp(6rem, 11vw, 15rem);
  line-height: 0.85;
  font-weight: 700;
  letter-spacing: -0.07em;
  color: rgba(56, 65, 37, 0.72);
  text-transform: uppercase;
}

.hero-marquee--bottom .hero-marquee-track span {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: rgba(246, 246, 238, 0.88);
  font-weight: 800;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 2.6rem;
  z-index: 4;
  width: 4.2rem;
  height: 6.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  transform: translate3d(-50%, 0, 0);
  will-change: transform, opacity;
}

.scroll-indicator span {
  position: absolute;
  left: 50%;
  top: 1rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--pink);
  transform: translate3d(-50%, 0, 0);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { opacity: 0; transform: translate3d(-50%, 0, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(-50%, 2.5rem, 0); }
}

main > section:not(.hero) {
  position: relative;
  z-index: 2;
}

/* Horizontal sections */

.experience-horizontal,
.gallery-horizontal {
  padding: 0;
  background: var(--paper-bg);
}

.gallery-horizontal {
  position: relative;
  z-index: 6;
}

.services-horizontal {
  padding: 0;
  background: var(--bg);
}

.horizontal-sticky,
.gallery-sticky,
.services-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.horizontal-sticky {
  background:
    radial-gradient(circle at 85% 20%, rgba(243, 166, 199, 0.07), transparent 24%),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services-sticky {
  background:
    radial-gradient(circle at 15% 20%, rgba(243, 166, 199, 0.07), transparent 24%),
    var(--bg);
}

.horizontal-track,
.gallery-track {
  display: flex;
  align-items: stretch;
  height: 100%;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.panel {
  width: 100vw;
  flex: 0 0 100vw;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
  padding: calc(var(--header-h) + 2.4rem) 6vw 4.2rem;
}

.panel-media {
  position: relative;
  height: min(62svh, 62rem);
  overflow: hidden;
  border-radius: 3rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06) translate3d(0, 0, 0);
  transform-origin: center center;
  backface-visibility: hidden;
}

.panel-content {
  max-width: 56rem;
  align-self: center;
}

.panel-content h2,
.panel-content h3 {
  margin: 0 0 1.8rem;
  font-size: clamp(3.4rem, 4.3vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.panel-content p {
  max-width: 54rem;
  margin: 0 0 2.2rem;
  color: var(--text-soft);
  font-size: 1.9rem;
  line-height: 1.8;
}

.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel-tags li {
  padding: 1rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.horizontal-progress {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  z-index: 30;
  width: min(48rem, 76vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transform: translate3d(-50%, 0, 0);
}

.horizontal-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--pink), var(--text));
  backface-visibility: hidden;
}

/* Gallery carousel */

.gallery-sticky {
  background:
    linear-gradient(var(--paper-wash), var(--paper-wash)),
    var(--paper-bg);
  border: 0;
}

.gallery-panel {
  position: relative;
  width: 100vw;
  flex: 0 0 100vw;
  padding: calc(var(--header-h) + 1.8rem) 4vw 3.2rem;
  display: block;
  overflow: hidden;
}

.gallery-canvas {
  position: relative;
  width: 100%;
  height: calc(100svh - var(--header-h) - 5rem);
}

.gallery-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 1.6rem;
  background: #202117;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.gallery-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.gallery-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1) translate3d(0, 0, 0);
  transition: transform 0.35s var(--ease);
  backface-visibility: hidden;
}

.gallery-shot--muted img {
  opacity: 0.72;
  filter: grayscale(0.85);
}

.gallery-label {
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 3.2rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: rgba(18, 19, 15, 0.78);
  color: rgba(255, 255, 255, 0.96);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(6px);
}

.gallery-quote {
  position: absolute;
  max-width: 38rem;
  z-index: 2;
  pointer-events: none;
}

.gallery-quote p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 2.4vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: rgba(56, 60, 48, 0.82);
  text-wrap: balance;
}

.gallery-end-link {
  position: absolute;
  left: 8%;
  bottom: 7%;
  z-index: 2;
}

.gallery-progress {
  bottom: 2rem;
  width: min(34rem, 36vw);
  background: rgba(40, 44, 34, 0.16);
}

.gallery-progress span {
  background: linear-gradient(90deg, rgba(40, 44, 34, 0.9), rgba(40, 44, 34, 0.35));
}

.gallery-horizontal .panel-content,
.gallery-horizontal .panel-tags,
.gallery-horizontal .eyebrow {
  display: none;
}

.gallery-horizontal .panel-media {
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.gallery-horizontal .panel {
  grid-template-columns: unset;
  gap: 0;
}

.gallery-panel--01 .shot-a { left: 5%; bottom: 8%; width: 34rem; height: 45rem; }
.gallery-panel--01 .shot-b { left: 34%; top: 8%; width: 17rem; height: 23rem; }
.gallery-panel--01 .shot-c { right: 8%; top: 15%; width: 25rem; height: 34rem; }
.gallery-panel--01 .gallery-quote { left: 56%; bottom: 10%; max-width: 38rem; }

.gallery-panel--02 .shot-d { left: 8%; top: 12%; width: 38rem; height: 50rem; }
.gallery-panel--02 .shot-e { left: 58%; top: 8%; width: 17rem; height: 23rem; }
.gallery-panel--02 .shot-f { right: 8%; bottom: 12%; width: 23rem; height: 30rem; }

.gallery-panel--03 .shot-g { left: 8%; top: 12%; width: 17rem; height: 23rem; }
.gallery-panel--03 .shot-h { left: 34%; top: 12%; width: 37rem; height: 47rem; }
.gallery-panel--03 .shot-i { right: 8%; bottom: 10%; width: 21rem; height: 28rem; }
.gallery-panel--03 .gallery-quote { left: 11%; bottom: 8%; max-width: 34rem; }

.gallery-panel--04 .shot-j { left: 9%; bottom: 9%; width: 23rem; height: 30rem; }
.gallery-panel--04 .shot-k { left: 40%; top: 10%; width: 17rem; height: 23rem; }
.gallery-panel--04 .shot-l { right: 10%; top: 12%; width: 36rem; height: 46rem; }

.gallery-panel--05 .shot-m { left: 8%; top: 10%; width: 17rem; height: 23rem; }
.gallery-panel--05 .shot-n { left: 34%; top: 15%; width: 30rem; height: 39rem; }
.gallery-panel--05 .shot-o { right: 8%; bottom: 10%; width: 23rem; height: 30rem; }

/* Stories */

.stories-section,
[data-stories-section] {
  position: relative;
  height: 760vh;
  margin-top: 0;
  padding-top: 0;
  background: #050505;
  overflow: clip;
  isolation: isolate;
  z-index: 8;
}

.stories-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #050505 !important;
  z-index: 10;
  transform-origin: center center;
  will-change: transform;
}

.stories-bg,
.stories-bg img,
.stories-bg-overlay,
.stories-bg-vignette {
  position: absolute;
  inset: 0;
}

.stories-bg {
  z-index: 0;
  overflow: hidden;
  background: #050505 !important;
}

.stories-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03) translate3d(0, 0, 0);
  backface-visibility: hidden;
  transform-origin: center center;
}

.stories-bg-overlay {
  background:
    linear-gradient(180deg, rgba(2, 3, 10, 0.08), rgba(2, 3, 10, 0.2) 18%, rgba(2, 3, 10, 0.3) 48%, rgba(2, 3, 10, 0.42) 100%),
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.015), rgba(2, 3, 10, 0.22) 48%, rgba(2, 3, 10, 0.42) 100%);
}

.stories-bg-vignette {
  background: radial-gradient(circle at 50% 54%, transparent 16%, rgba(2, 3, 10, 0.06) 58%, rgba(2, 3, 10, 0.34) 100%);
  pointer-events: none;
}

.stories-bg::before,
.stories-bg::after,
.stories-sticky::before,
.stories-sticky::after {
  background: transparent !important;
}

.stories-stage {
  position: absolute;
  inset: var(--stories-stage-top) 0 var(--stories-stage-bottom) 0;
  z-index: 2;
  pointer-events: none;
  perspective: 1800px;
  transform-style: preserve-3d;
  overflow: hidden;
}

.story-card {
  position: absolute;
  top: var(--stories-center-y);
  left: 50%;
  width: clamp(var(--stories-card-min-w), var(--stories-card-w), var(--stories-card-max-w));
  aspect-ratio: 4 / 5.35;
  opacity: 0;
  visibility: hidden;
  transform-origin: center center;
  backface-visibility: hidden;
}

.story-card[data-side="left"] {
  left: var(--stories-left-x);
}

.story-card[data-side="right"] {
  left: var(--stories-right-x);
}

.story-card-media {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: var(--stories-card-radius);
  box-shadow: var(--stories-shadow);
  background: rgba(255, 255, 255, 0.03);
  transform: translateZ(0);
}

.story-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03) translate3d(0, 0, 0);
  backface-visibility: hidden;
  transform-origin: center center;
}

.stories-ui {
  position: absolute;
  inset: auto 0 var(--stories-caption-bottom) 0;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 1rem;
  pointer-events: none;
}

.stories-caption {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  text-align: center;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
}

.stories-progress {
  width: var(--stories-progress-w);
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.stories-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.4));
  backface-visibility: hidden;
}

/* Other sections */

.about-section,
.contact-section,
.marquee-section {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.about-media {
  position: relative;
  overflow: hidden;
  border-radius: 3rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateZ(0);
}

.about-media img {
  height: min(70rem, 70vh);
  object-fit: cover;
}

.about-content h2,
.contact-box h2 {
  margin: 0 0 2rem;
  font-size: clamp(3.2rem, 5vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.about-content p,
.contact-box p {
  margin: 0 0 1.6rem;
  color: var(--text-soft);
  font-size: 1.75rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}

.about-stats div {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.02);
}

.about-stats strong {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 2rem;
  color: var(--text);
}

.about-stats span {
  display: block;
  color: var(--text-muted);
  font-size: 1.35rem;
}

.contact-box {
  padding: 4rem;
  border: 1px solid var(--line);
  border-radius: 3rem;
  background:
    radial-gradient(circle at top right, rgba(243, 166, 199, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  text-align: center;
  box-shadow: var(--shadow);
  transform: translateZ(0);
}

.contact-box h2 {
  max-width: 90rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-box p {
  max-width: 76rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 3rem;
}

.contact-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.6rem;
  color: var(--text-muted);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.marquee-section {
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 4rem;
  animation: marqueeRun 22s linear infinite;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.marquee-track span {
  font-size: clamp(3.2rem, 7vw, 8rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

@keyframes marqueeRun {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Animations */

.reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

[data-stagger].is-visible {
  animation: fadeLetterIn 0.9s var(--ease);
}

@keyframes fadeLetterIn {
  0% { opacity: 0; transform: translate3d(0, 25px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Cursor */

.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 3000;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.25s ease, border-color 0.2s ease;
  backface-visibility: hidden;
}

.cursor-dot {
  width: 0.8rem;
  height: 0.8rem;
  background: var(--text);
}

.cursor-outline {
  width: 4.8rem;
  height: 4.8rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
}

body.cursor-ready .cursor-dot,
body.cursor-ready .cursor-outline {
  opacity: 1;
}

body.cursor-hover .cursor-outline {
  border-color: rgba(243, 166, 199, 0.85);
}

body.cursor-hidden .cursor-dot,
body.cursor-hidden .cursor-outline {
  opacity: 0;
}

/* Tablet */

@media (max-width: 1280px) {
  :root {
    --stories-card-w: 22vw;
    --stories-card-max-w: 344px;
    --stories-left-x: 41.2%;
    --stories-right-x: 60.4%;
  }
}

@media (max-width: 1100px) {
  .desktop-nav,
  .header-actions .lang-switcher {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .panel {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding-inline: 5vw;
  }

  .panel-media {
    height: 44vh;
  }

  .panel-content {
    max-width: 72rem;
  }

  .about-grid,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .gallery-panel {
    padding: calc(var(--header-h) + 2rem) 2.2rem 3rem;
  }

  .gallery-panel--01 .shot-a,
  .gallery-panel--02 .shot-d,
  .gallery-panel--03 .shot-h,
  .gallery-panel--04 .shot-l,
  .gallery-panel--05 .shot-n {
    width: 34rem;
    height: 44rem;
  }

  .gallery-panel--01 .shot-c,
  .gallery-panel--02 .shot-f,
  .gallery-panel--03 .shot-i,
  .gallery-panel--04 .shot-j,
  .gallery-panel--05 .shot-o {
    width: 20rem;
    height: 27rem;
  }

  :root {
    --stories-card-w: 24vw;
    --stories-card-max-w: 320px;
    --stories-card-min-w: 240px;
    --stories-left-x: 41%;
    --stories-right-x: 60.8%;
  }

  .stories-section,
  [data-stories-section] {
    height: 560vh;
  }
}

/* Mobile */

@media (max-width: 768px) {
  html {
    font-size: 9px;
    overscroll-behavior-y: none;
  }

  body {
    overflow-x: hidden;
    overscroll-behavior-y: none;
    touch-action: pan-y;
  }

  :root {
    --header-h: 72px;
    --stories-stage-top: calc(var(--header-h) * 0.78);
    --stories-center-y: 52%;
    --stories-card-w: 68vw;
    --stories-card-max-w: 340px;
    --stories-card-min-w: 240px;
    --stories-left-x: 50%;
    --stories-right-x: 50%;
    --stories-progress-w: 50vw;
    --stories-caption-bottom: 2rem;
    --stories-card-radius: 14px;
  }

  .section {
    padding: 7rem 0;
  }

  .container {
    width: calc(100% - 28px);
    margin-left: auto;
    margin-right: auto;
  }

  .site-header {
    height: var(--header-h);
    background: rgba(5, 5, 5, 0.84);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-inner {
    height: var(--header-h);
  }

  .brand-text {
    max-width: 22rem;
    font-size: 1.05rem;
    letter-spacing: 0.16em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-toggle {
    width: 5.4rem;
    height: 5.4rem;
  }

  .hero {
    position: relative;
    min-height: 100svh;
    height: 100svh;
    padding: calc(var(--header-h) + 2.6rem) 0 3.8rem;
    align-items: center;
  }

  .hero-content {
    transform: translateY(1vh);
  }

  .hero-title {
    max-width: 36rem;
    font-size: clamp(4.6rem, 13.5vw, 6.6rem);
    line-height: 0.9;
  }

  .hero-description {
    max-width: 36rem;
    font-size: 1.55rem;
    line-height: 1.58;
  }

  .hero-rotator {
    gap: 0.7rem;
    margin-top: 1.8rem;
  }

  .hero-rotator span {
    padding: 0.72rem 0.95rem;
    font-size: 0.96rem;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 32rem;
    margin-top: 2.4rem;
  }

  .hero-bg {
    width: 100vw;
    height: 100svh;
  }

  .hero-marquee--top {
    top: 30%;
  }

  .hero-marquee--bottom {
    bottom: 30%;
  }

  .hero-marquee-track span {
    font-size: clamp(5.2rem, 18vw, 9rem);
  }

  .btn {
    width: 100%;
    min-height: 5rem;
    font-size: 1.3rem;
  }

  .hero-meta {
    max-width: 30rem;
    gap: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    font-size: 1rem;
    line-height: 1.45;
    margin-top: 2.6rem;
  }

  .scroll-indicator {
    display: none;
  }

  .horizontal-sticky,
  .gallery-sticky,
  .services-sticky {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    overflow: hidden;
  }

  .horizontal-track,
  .gallery-track {
    height: 100%;
  }

  .panel,
  .gallery-panel {
    width: 100vw;
    flex: 0 0 100vw;
  }

  .experience-horizontal,
  .gallery-horizontal,
  .gallery-sticky {
    background:
      linear-gradient(var(--paper-wash), var(--paper-wash)),
      var(--paper-bg) !important;
  }

  .gallery-sticky {
    border: 0 !important;
  }

  .gallery-sticky::before {
    opacity: 0.9;
  }

  .gallery-panel {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    padding: calc(var(--header-h) + 1rem) 1.4rem 6.2rem;
    overflow: hidden;
  }

  .gallery-canvas {
    height: calc(100svh - var(--header-h) - 7.2rem);
    max-height: calc(100svh - var(--header-h) - 7.2rem);
    min-height: 0;
    overflow: hidden;
  }

  .gallery-label {
    top: 1rem;
    left: 1rem;
    font-size: 0.78rem;
    min-height: 2.45rem;
    padding: 0 0.8rem;
  }

  .gallery-quote {
    display: none;
  }

  .gallery-progress {
    position: absolute;
    left: 50%;
    bottom: 2.6rem;
    transform: translate3d(-50%, 0, 0);
    width: 62vw;
    z-index: 80;
  }

  .gallery-shot {
    border-radius: 1.5rem;
  }

  .gallery-shot img {
    object-fit: cover;
    transition: none;
  }

  .gallery-panel--01 .shot-a { left: 7%; top: 32%; width: 54vw; height: 30svh; }
  .gallery-panel--01 .shot-b { left: 12%; top: 5%; width: 31vw; height: 16svh; }
  .gallery-panel--01 .shot-c { right: 5%; bottom: 13%; width: 34vw; height: 19svh; }

  .gallery-panel--02 .shot-d { left: 7%; top: 15%; width: 61vw; height: 35svh; }
  .gallery-panel--02 .shot-e { display: none; }
  .gallery-panel--02 .shot-f { right: 6%; bottom: 13%; width: 38vw; height: 21svh; }

  .gallery-panel--03 .shot-g { left: 6%; top: 6%; width: 31vw; height: 16svh; }
  .gallery-panel--03 .shot-h { left: 24%; top: 23%; width: 58vw; height: 34svh; }
  .gallery-panel--03 .shot-i { left: 7%; right: auto; bottom: 13%; width: 34vw; height: 19svh; }

  .gallery-panel--04 .shot-j { display: none; }
  .gallery-panel--04 .shot-k { left: 9%; top: 7%; width: 32vw; height: 17svh; }
  .gallery-panel--04 .shot-l { right: 6%; top: 26%; width: 62vw; height: 36svh; }

  .gallery-panel--05 .shot-m { left: 7%; top: 6%; width: 31vw; height: 16svh; }
  .gallery-panel--05 .shot-n { left: 18%; top: 21%; width: 60vw; height: 35svh; }
  .gallery-panel--05 .shot-o { right: 6%; bottom: 13%; width: 36vw; height: 20svh; }

  .gallery-end-link {
    left: 1.6rem;
    bottom: 7rem;
  }

  .gallery-end-link .btn {
    width: auto;
    min-width: 22rem;
  }

  .stories-section,
  [data-stories-section] {
    height: 850svh;
    margin-top: 0;
    padding-top: 0;
    background: #050505 !important;
    overflow: clip;
    z-index: 8;
  }

  .stories-sticky {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    overflow: hidden;
    background: #050505 !important;
    z-index: 10;
  }

  .stories-bg,
  .stories-bg img {
    width: 100%;
    height: 100%;
  }

  .stories-bg img {
    object-fit: cover;
  }

  .story-card {
    width: min(68vw, 30rem);
  }

  .stories-caption {
    max-width: 28rem;
    font-size: 1.2rem;
    line-height: 1.45;
    padding: 0 1.4rem;
  }

  .services-horizontal .panel {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 40svh auto;
    align-content: start;
    justify-items: center;
    gap: 1.4rem;
    padding: calc(var(--header-h) + 1.4rem) 1.8rem 6.4rem;
    overflow: hidden;
  }

  .services-horizontal .panel-media {
    width: min(68vw, 31rem);
    height: 40svh;
    min-height: 0;
    max-height: 40svh;
    align-self: end;
    border-radius: 2.4rem;
  }

  .services-horizontal .panel-content {
    width: min(100%, 39rem);
    max-width: 39rem;
    max-height: calc(100svh - var(--header-h) - 40svh - 10rem);
    overflow: visible;
  }

  .services-horizontal .panel-content .eyebrow {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0.34em;
  }

  .services-horizontal .panel-content h2,
  .services-horizontal .panel-content h3 {
    margin: 0 0 1rem;
    font-size: clamp(2.8rem, 8vw, 3.9rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
  }

  .services-horizontal .panel-content p {
    margin: 0 0 1rem;
    max-width: none;
    font-size: 1.3rem;
    line-height: 1.42;
    color: rgba(255, 255, 255, 0.68);
  }

  .services-horizontal .panel-tags {
    gap: 0.6rem;
  }

  .services-horizontal .panel-tags li {
    padding: 0.55rem 0.75rem;
    font-size: 0.78rem;
    line-height: 1;
    white-space: nowrap;
  }

  .services-horizontal .panel-outro .btn {
    width: auto;
    min-width: 22rem;
  }

  .services-horizontal .horizontal-progress {
    position: absolute;
    left: 50%;
    bottom: 2.6rem;
    transform: translate3d(-50%, 0, 0);
    width: 64vw;
    z-index: 80;
  }

  .about-grid {
    width: calc(100% - 28px);
    margin: 0 auto;
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-media {
    border-radius: 2.2rem;
  }

  .about-media img {
    height: 42rem;
    object-fit: cover;
  }

  .about-content h2,
  .contact-box h2 {
    font-size: clamp(3.3rem, 10vw, 5rem);
    line-height: 0.98;
  }

  .about-content p,
  .contact-box p {
    font-size: 1.5rem;
    line-height: 1.7;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .contact-box {
    width: calc(100% - 28px);
    margin: 0 auto;
    padding: 3rem 2rem;
    border-radius: 2.4rem;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-meta {
    flex-direction: column;
    gap: 1rem;
    font-size: 1rem;
  }

  .marquee-section {
    padding: 2rem 0 3rem;
  }

  .btn:hover,
  .panel-media:hover img,
  .gallery-shot:hover img,
  .parallax-media:hover img {
    transform: none !important;
  }
}

@media (min-width: 769px) {
  .story-card[data-side="left"] { left: var(--stories-left-x); }
  .story-card[data-side="right"] { left: var(--stories-right-x); }

  .story-card {
    width: clamp(var(--stories-card-min-w), var(--stories-card-w), var(--stories-card-max-w));
  }
}

@media (max-width: 430px) {
  .brand-text {
    max-width: 21rem;
    font-size: 1rem;
    letter-spacing: 0.15em;
  }

  .services-horizontal .panel {
    grid-template-rows: minmax(0, 41dvh) minmax(0, 1fr);
    gap: 1.35rem;
    padding:
      calc(var(--header-h) + 1.2rem)
      1.6rem
      calc(env(safe-area-inset-bottom, 0px) + 6.4rem);
  }

  .services-horizontal .panel-media {
    width: min(70vw, 30rem);
    max-height: 41dvh;
  }

  .services-horizontal .panel-content {
    max-width: 38rem;
  }

  .services-horizontal .panel-content h2,
  .services-horizontal .panel-content h3 {
    font-size: clamp(2.9rem, 8.8vw, 4rem);
  }

  .services-horizontal .panel-content p {
    font-size: 1.28rem;
    line-height: 1.44;
  }

  .services-horizontal .panel-tags li {
    font-size: 0.76rem;
    padding: 0.56rem 0.76rem;
  }

  .gallery-panel {
    padding-bottom: 7rem;
  }

  .gallery-canvas {
    height: calc(100svh - var(--header-h) - 8rem);
  }
}

@media (max-width: 390px) {
  .brand-text {
    max-width: 19rem;
    font-size: 0.92rem;
    letter-spacing: 0.13em;
  }

  .services-horizontal .panel {
    grid-template-rows: minmax(0, 38dvh) minmax(0, 1fr);
    gap: 1.15rem;
  }

  .services-horizontal .panel-media {
    width: min(68vw, 28rem);
    max-height: 38dvh;
  }

  .services-horizontal .panel-content h2,
  .services-horizontal .panel-content h3 {
    font-size: clamp(2.55rem, 8.1vw, 3.45rem);
  }

  .services-horizontal .panel-content p {
    font-size: 1.18rem;
    line-height: 1.38;
  }

  .services-horizontal .panel-tags {
    gap: 0.48rem;
  }

  .services-horizontal .panel-tags li {
    font-size: 0.68rem;
    padding: 0.5rem 0.65rem;
  }
}

/* Hover */

@media (hover: hover) and (pointer: fine) {
  .panel-media:hover img,
  .gallery-shot:hover img {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .marquee-track,
  .loader-ring,
  .scroll-indicator span {
    animation: none !important;
  }
}

/* Performance helpers */

.hero-bg,
.hero-bg img,
.horizontal-track,
.gallery-track,
[data-horizontal-track],
.gallery-shot,
.gallery-shot img,
.panel-media,
.panel-media img,
.stories-sticky,
.stories-bg,
.stories-bg img,
.story-card,
.story-card-media,
.story-card-media img,
[data-story-card],
.leclerc-transition-preview,
.leclerc-transition-preview img,
.leclerc-back-clone,
.leclerc-back-clone img {
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.horizontal-track,
.gallery-track,
[data-horizontal-track],
.stories-bg img,
.story-card,
[data-story-card],
.leclerc-transition-preview,
.leclerc-transition-preview img,
.leclerc-back-clone,
.leclerc-back-clone img {
  will-change: transform, opacity;
}

.leclerc-transition-preview,
.leclerc-back-clone {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint style;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.leclerc-transition-preview img,
.leclerc-back-clone img {
  max-width: none !important;
  width: 100vw;
  height: 100svh;
  object-fit: cover;
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.leclerc-transition-dark,
.leclerc-back-clone div {
  will-change: opacity, background-color;
}

/* Il cursore custom resta visibile anche durante le sezioni animate. */

body.heavy-motion .btn,
body.heavy-motion .gallery-shot img,
body.heavy-motion .panel-media img,
body.heavy-motion .story-card-media img {
  transition-duration: 0s !important;
}

body.heavy-motion .gallery-shot img {
  transform: scale(1) translate3d(0, 0, 0) !important;
}

body.heavy-motion .panel-media img {
  transform: scale(1.06) translate3d(0, 0, 0) !important;
}

body.heavy-motion .story-card-media img {
  transform: scale(1.03) translate3d(0, 0, 0) !important;
}

body.no-hover .panel-media:hover img,
body.no-hover .gallery-shot:hover img,
body.no-hover .parallax-media:hover img {
  transform: none !important;
}

/* Colore rosa definitivo */

:root {
  --pink: #ff00b8 !important;
  --pink-strong: #ff00aa !important;
  --pink-soft: rgba(255, 0, 184, 0.12) !important;
  --pink-line: rgba(255, 0, 184, 0.45) !important;
}

.eyebrow,
.btn-secondary:hover,
.mobile-nav a:hover,
.mobile-nav a.is-current {
  color: var(--pink) !important;
}

.brand-mark,
.scroll-indicator span,
.cursor-dot {
  background: var(--pink) !important;
}

.desktop-nav a::after,
.horizontal-progress span,
.stories-progress span {
  background: linear-gradient(90deg, var(--pink), #ffffff) !important;
}

.btn-primary:hover {
  box-shadow:
    0 0 0 1px rgba(255, 0, 184, 0.42),
    0 18px 42px rgba(255, 0, 184, 0.24) !important;
}

/* LIGHTBOX IMMAGINI */

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
}

.image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.image-lightbox-img {
  max-width: 92vw;
  max-height: 88svh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
}

.image-lightbox-close {
  position: fixed;
  top: 22px;
  right: 28px;
  z-index: 100000;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 100000;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-prev {
  left: 24px;
}

.image-lightbox-next {
  right: 24px;
}

body.lightbox-open {
  overflow: hidden !important;
}

body.lightbox-open .cursor-dot,
body.lightbox-open .cursor-outline {
  opacity: 0 !important;
}

.story-card,
.story-card-media {
  pointer-events: auto;
}

.gallery-shot,
.story-card-media,
.services-horizontal .panel-media,
.about-media {
  cursor: zoom-in;
}

body.lightbox-open .gallery-shot,
body.lightbox-open .story-card-media,
body.lightbox-open .services-horizontal .panel-media,
body.lightbox-open .about-media {
  cursor: default;
}

@media (max-width: 768px) {
  .image-lightbox {
    padding: 16px;
  }

  .image-lightbox-img {
    max-width: 94vw;
    max-height: 84svh;
  }

  .image-lightbox-close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 30px;
  }

  .image-lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 38px;
  }

  .image-lightbox-prev {
    left: 12px;
  }

  .image-lightbox-next {
    right: 12px;
  }
}

.hero-bg picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-overlay {
    z-index: 2;
    background:
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.46) 0%,
        rgba(0, 0, 0, 0.54) 42%,
        rgba(0, 0, 0, 0.68) 100%
      ),
      radial-gradient(
        circle at 50% 45%,
        rgba(0, 0, 0, 0.18) 0%,
        rgba(0, 0, 0, 0.48) 68%,
        rgba(0, 0, 0, 0.72) 100%
      );
  }

  .hero-content {
    z-index: 5;
  }
}

.hero-overlay {
  opacity: 1;
  visibility: visible;
}

/* RESPONSIVE SCHERMI GRANDI / MONITOR / TV */

@media (min-width: 1440px) {
  :root {
    --container: min(88vw, 1760px);
  }

  .container {
    width: min(100% - 8vw, var(--container));
    margin-left: auto;
    margin-right: auto;
  }

  /* La hero resta a sinistra anche quando il container generale viene centrato. */
  .hero .container.hero-content {
    width: min(100% - 10vw, 92rem) !important;
    max-width: 92rem !important;
    margin-left: clamp(7rem, 6.5vw, 10rem) !important;
    margin-right: auto !important;
  }

  .gallery-panel {
    padding: calc(var(--header-h) + 2.4rem) 5vw 4rem;
  }

  .gallery-canvas {
    height: calc(100svh - var(--header-h) - 6rem);
  }

  .gallery-shot {
    border-radius: clamp(1.6rem, 1.1vw, 2.8rem);
  }

  .gallery-label {
    font-size: clamp(1.02rem, 0.62vw, 1.35rem);
    min-height: clamp(3.2rem, 1.9vw, 4.2rem);
    padding-inline: clamp(1.1rem, 0.8vw, 1.7rem);
  }

  .gallery-panel--01 .shot-a { left: 5%; bottom: 7%; width: clamp(34rem, 24vw, 62rem); height: clamp(45rem, 58svh, 78rem); }
  .gallery-panel--01 .shot-b { left: 35%; top: 7%; width: clamp(17rem, 12vw, 32rem); height: clamp(23rem, 29svh, 42rem); }
  .gallery-panel--01 .shot-c { right: 7%; top: 13%; width: clamp(25rem, 18vw, 48rem); height: clamp(34rem, 44svh, 60rem); }

  .gallery-panel--02 .shot-d { left: 7%; top: 10%; width: clamp(38rem, 27vw, 68rem); height: clamp(50rem, 64svh, 84rem); }
  .gallery-panel--02 .shot-e { left: 57%; top: 7%; width: clamp(17rem, 12vw, 32rem); height: clamp(23rem, 29svh, 42rem); }
  .gallery-panel--02 .shot-f { right: 7%; bottom: 10%; width: clamp(23rem, 17vw, 44rem); height: clamp(30rem, 39svh, 56rem); }

  .gallery-panel--03 .shot-g { left: 7%; top: 10%; width: clamp(17rem, 12vw, 32rem); height: clamp(23rem, 29svh, 42rem); }
  .gallery-panel--03 .shot-h { left: 33%; top: 10%; width: clamp(37rem, 26vw, 66rem); height: clamp(47rem, 60svh, 80rem); }
  .gallery-panel--03 .shot-i { right: 7%; bottom: 9%; width: clamp(21rem, 15vw, 40rem); height: clamp(28rem, 36svh, 52rem); }

  .gallery-panel--04 .shot-j { left: 8%; bottom: 8%; width: clamp(23rem, 17vw, 44rem); height: clamp(30rem, 39svh, 56rem); }
  .gallery-panel--04 .shot-k { left: 40%; top: 8%; width: clamp(17rem, 12vw, 32rem); height: clamp(23rem, 29svh, 42rem); }
  .gallery-panel--04 .shot-l { right: 8%; top: 10%; width: clamp(36rem, 26vw, 66rem); height: clamp(46rem, 59svh, 80rem); }

  .gallery-panel--05 .shot-m { left: 7%; top: 8%; width: clamp(17rem, 12vw, 32rem); height: clamp(23rem, 29svh, 42rem); }
  .gallery-panel--05 .shot-n { left: 33%; top: 13%; width: clamp(30rem, 22vw, 58rem); height: clamp(39rem, 51svh, 72rem); }
  .gallery-panel--05 .shot-o { right: 7%; bottom: 9%; width: clamp(23rem, 17vw, 44rem); height: clamp(30rem, 39svh, 56rem); }

  .gallery-quote {
    max-width: clamp(38rem, 26vw, 62rem);
  }

  .gallery-quote p {
    font-size: clamp(3.2rem, 2.8vw, 7rem);
  }

  .gallery-end-link {
    left: 7%;
    bottom: 8%;
  }

  .gallery-end-link .btn {
    min-height: clamp(5.6rem, 3.2vw, 7.8rem);
    padding-inline: clamp(2.2rem, 1.6vw, 4rem);
    font-size: clamp(1.45rem, 0.9vw, 2rem);
  }

  .services-horizontal .panel {
    padding-inline: 7vw;
    gap: 6vw;
  }

  .services-horizontal .panel-media {
    height: min(68svh, 82rem);
  }

  .services-horizontal .panel-content {
    max-width: min(38vw, 76rem);
  }

  .services-horizontal .panel-content p {
    font-size: clamp(1.9rem, 1.05vw, 2.4rem);
  }

  .about-grid {
    grid-template-columns: minmax(42rem, 0.9fr) minmax(56rem, 1.1fr);
    gap: clamp(4rem, 5vw, 10rem);
  }

  .about-media img {
    height: min(72svh, 86rem);
  }

  .about-content,
  .contact-box {
    width: 100%;
  }

  .contact-section .container {
    max-width: min(88vw, 1680px);
  }

  .contact-box {
    padding: clamp(4rem, 4vw, 8rem);
  }

  .contact-box h2 {
    max-width: min(70vw, 125rem);
  }

  .contact-box p {
    max-width: min(54vw, 96rem);
  }
}

@media (min-width: 1900px) {
  html {
    font-size: 11px;
  }

  .gallery-progress {
    width: min(44rem, 28vw);
  }

  .horizontal-progress {
    width: min(62rem, 42vw);
  }
}

@media (min-width: 2400px) {
  html {
    font-size: 12px;
  }

  .gallery-panel {
    padding-inline: 6vw;
  }
}


html {
  scroll-behavior: auto !important;
}




/* =========================================================
   AGGIUNTA CSS — SERVIZI + CONTACT FORM
   DA INCOLLARE IN FONDO AL TUO style.css
   NON sostituisce nulla del sito esistente.
   ========================================================= */

/* =========================================================
   SERVICES CTA
   ========================================================= */

.panel-cta {
  margin-top: 2.8rem;
  width: fit-content;
}

/* =========================================================
   CONTACT SECTION NUOVA
   ========================================================= */

.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 4rem;
  align-items: center;
}

.contact-copy {
  position: relative;
  z-index: 2;
}

.contact-copy h2 {
  margin: 0 0 2rem;
  font-size: clamp(4.2rem, 5vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  max-width: 62rem;
}

.contact-copy p {
  margin: 0 0 2rem;
  max-width: 58rem;
  color: var(--text-soft);
  font-size: 1.75rem;
  line-height: 1.8;
}

.contact-email {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 2rem;
  font-size: clamp(2rem, 2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  transition:
    color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.contact-email::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.6rem;
  width: 100%;
  height: 2px;
  background: var(--pink);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}

.contact-email:hover {
  color: var(--pink);
  transform: translate3d(0, -2px, 0);
}

.contact-email:hover::after {
  transform: scaleX(1.04);
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form {
  position: relative;
  z-index: 2;

  padding: 4rem;

  border-radius: 3.2rem;

  border: 1px solid rgba(255,255,255,0.08);

  background:
    radial-gradient(
      circle at top right,
      rgba(255, 0, 184, 0.18),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.05),
      rgba(255,255,255,0.02)
    );

  backdrop-filter: blur(16px);

  box-shadow:
    0 24px 90px rgba(0,0,0,0.34),
    0 0 0 1px rgba(255,255,255,0.03);

  overflow: hidden;
}

.contact-form::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(255,255,255,0.08),
      transparent 24%
    );

  pointer-events: none;
}

.form-field {
  position: relative;
  margin-bottom: 2rem;
}

.form-field:last-of-type {
  margin-bottom: 2.4rem;
}

.form-field label {
  display: block;

  margin-bottom: 1rem;

  font-size: 1.15rem;
  font-weight: 700;

  letter-spacing: 0.22em;
  text-transform: uppercase;

  color: rgba(255,255,255,0.86);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;

  border: 1px solid rgba(255,255,255,0.08);

  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.04),
      rgba(255,255,255,0.02)
    );

  color: var(--text);

  border-radius: 1.8rem;

  padding: 1.7rem 1.8rem;

  outline: none;

  transition:
    border-color 0.35s var(--ease),
    background-color 0.35s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);

  resize: none;
}

.form-field input,
.form-field select {
  min-height: 6rem;
}

.form-field textarea {
  min-height: 18rem;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255,255,255,0.34);
}

.form-field select {
  appearance: none;
  cursor: pointer;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: rgba(255, 0, 184, 0.44);

  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.03)
    );

  box-shadow:
    0 0 0 1px rgba(255, 0, 184, 0.18),
    0 16px 40px rgba(255, 0, 184, 0.12);

  transform: translate3d(0, -2px, 0);
}

.contact-submit {
  width: 100%;
  min-height: 6rem;
  font-size: 1.55rem;
}

.contact-form-note {
  margin: 1.8rem 0 0;

  color: rgba(255,255,255,0.44);

  font-size: 1.2rem;
  line-height: 1.6;
}

/* =========================================================
   DESKTOP SERVICES TWEAK
   ========================================================= */

.services-horizontal .panel-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.6rem;
  }

  .contact-copy {
    max-width: 72rem;
  }

  .contact-form {
    width: 100%;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

  .contact-section {
    padding-top: 8rem;
  }

  .contact-grid {
    width: calc(100% - 28px);
    margin: 0 auto;

    grid-template-columns: 1fr;

    gap: 3rem;
  }

  .contact-copy h2 {
    font-size: clamp(4rem, 12vw, 5.8rem);
    line-height: 0.94;
  }

  .contact-copy p {
    font-size: 1.45rem;
    line-height: 1.7;
  }

  .contact-email {
    font-size: 2.2rem;
    line-height: 1.1;
    word-break: break-word;
  }

  .contact-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;

    margin-top: 2.4rem;

    font-size: 1rem;
  }

  .contact-form {
    padding: 2.2rem;

    border-radius: 2.4rem;
  }

  .form-field {
    margin-bottom: 1.6rem;
  }

  .form-field label {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .form-field input,
  .form-field textarea,
  .form-field select {
    border-radius: 1.5rem;

    padding: 1.5rem 1.4rem;

    font-size: 1.45rem;
  }

  .form-field input,
  .form-field select {
    min-height: 5.4rem;
  }

  .form-field textarea {
    min-height: 16rem;
  }

  .contact-submit {
    min-height: 5.4rem;
    font-size: 1.35rem;
  }

  .contact-form-note {
    font-size: 1rem;
    line-height: 1.5;
  }

  .panel-cta {
    width: 100%;
    margin-top: 2rem;
  }

  .panel-cta.btn {
    width: 100%;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

  .contact-copy h2 {
    font-size: clamp(3.6rem, 11vw, 5rem);
  }

  .contact-form {
    padding: 2rem 1.6rem;
  }

  .form-field textarea {
    min-height: 14rem;
  }
}

.contact-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(42rem, 1.1fr) !important;
  gap: clamp(4rem, 6vw, 9rem) !important;
  align-items: center !important;
}

.contact-copy {
  text-align: left !important;
}

.contact-form {
  display: block !important;
  width: 100% !important;
  max-width: 68rem !important;
  margin-left: auto !important;
}

.contact-form .form-field {
  display: block !important;
}

.contact-form label {
  display: block !important;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block !important;
  width: 100% !important;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-form {
    max-width: none !important;
    margin-left: 0 !important;
  }
}

/* =========================================================
   FOOTER GLOBALE
   ========================================================= */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 8rem 0 3rem;
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 0, 184, 0.12), transparent 28%),
    radial-gradient(circle at 88% 30%, rgba(255, 255, 255, 0.055), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  isolation: isolate;
}

.footer-glow {
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 34rem;
  background: radial-gradient(circle, rgba(255, 0, 184, 0.16), transparent 64%);
  filter: blur(18px);
  pointer-events: none;
  z-index: -1;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(22rem, 0.8fr);
  gap: 5rem;
  align-items: start;
}

.footer-brand {
  max-width: 62rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.2rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #f6f6f6;
}

.footer-logo-mark {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--pink, #ff00b8);
  box-shadow: 0 0 0 7px rgba(255, 0, 184, 0.12);
}

.footer-brand p {
  margin: 0;
  max-width: 54rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.55rem;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  gap: 1rem;
  justify-items: end;
}

.footer-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  min-width: 18rem;
  justify-content: flex-start;
  padding: 1.15rem 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.35rem;
  font-weight: 700;
  transition:
    color 0.35s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
    border-color 0.35s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
    background-color 0.35s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
    transform 0.35s var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.footer-link:hover {
  color: #ffffff;
  border-color: rgba(255, 0, 184, 0.42);
  background: rgba(255, 0, 184, 0.08);
  transform: translate3d(0, -2px, 0);
}

.footer-link::before {
  content: "";
  width: 1.9rem;
  height: 1.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* PRIVACY POLICY */
.footer-link-privacy::before {
  content: "↗";
  color: var(--pink, #ff00b8);
  font-size: 1.3rem;
  font-weight: 800;
}

/* INSTAGRAM */
.footer-link-instagram::before {
  border-radius: 0.55rem;
  border: 2px solid var(--pink, #ff00b8);
  box-sizing: border-box;
  background:
    radial-gradient(
      circle at center,
      transparent 0 28%,
      var(--pink, #ff00b8) 29% 39%,
      transparent 40%
    );
}

.footer-link-instagram::after {
  content: "";
  position: absolute;
  left: 2.76rem;
  top: 1.43rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: var(--pink, #ff00b8);
}

/* LINKEDIN */
.footer-link-linkedin::before {
  content: "in";
  border-radius: 0.35rem;
  background: var(--pink, #ff00b8);
  color: #050505;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

/* FACEBOOK */
.footer-link-facebook::before {
  content: "f";
  border-radius: 50%;
  background: var(--pink, #ff00b8);
  color: #050505;
  font-size: 1.35rem;
  font-weight: 900;
  font-family: Arial, sans-serif;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 1.15rem;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom a {
  color: #f6f6f6;
  border-bottom: 1px solid var(--pink, #ff00b8);
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--pink, #ff00b8);
}

/* MOBILE */

@media (max-width: 768px) {
  .site-footer {
    padding: 6rem 0 3rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .footer-logo {
    font-size: 1rem;
    letter-spacing: 0.18em;
  }

  .footer-brand p {
    font-size: 1.35rem;
    line-height: 1.7;
  }

  .footer-links {
    justify-items: start;
    width: 100%;
  }

  .footer-link {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    font-size: 1.25rem;
    padding: 1.2rem 1.4rem;
  }

  .footer-link-instagram::after {
    left: 2.7rem;
    top: 1.46rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-bottom p {
    font-size: 1rem;
  }
}









/* FIX LIVELLI HERO */
.hero-transition-bg {
  z-index: 1;
}

.hero-marquee {
  z-index: 2;
}

.hero-bg {
  z-index: 3;
}

.hero-content,
.scroll-indicator {
  z-index: 4;
}

/* SCRITTA SUPERIORE HERO FUCSIA */
.hero-marquee--top .hero-marquee-track span {
  color: transparent !important;

  -webkit-text-stroke: 2px rgba(255, 0, 184, 0.95);

  font-weight: 900 !important;

  letter-spacing: -0.055em;

  opacity: 0.92;

  text-shadow:
    0 0 24px rgba(255, 0, 184, 0.18),
    0 0 48px rgba(255, 0, 184, 0.08);
}

/* SCRITTA INFERIORE HERO BIANCA */
.hero-marquee--bottom .hero-marquee-track span {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* TESTI EXPERIENCE BIANCHI */
.gallery-quote p {
  color: rgba(255, 255, 255, 0.82) !important;
}


/* HERO MARQUEE CONTINUA - NON DIPENDE PIÙ DALLO SCROLL */

.hero-marquee-track {
  animation: heroMarqueeLeft 46s linear infinite;
}

.hero-marquee--bottom .hero-marquee-track {
  animation: heroMarqueeRight 52s linear infinite;
}

@keyframes heroMarqueeLeft {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes heroMarqueeRight {
  from {
    transform: translate3d(-50%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}


/* MOBILE SMOOTHNESS FIX */

@media (max-width: 768px) {
  html,
  body {
    scroll-behavior: auto !important;
    overscroll-behavior-y: none;
  }

  body {
    -webkit-overflow-scrolling: touch;
  }

  .gallery-shot,
  .gallery-shot img,
  .story-card,
  .story-card-media,
  .story-card-media img,
  .hero-bg,
  .hero-bg img {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
  }

  .leclerc-transition-preview {
    display: none !important;
  }
}




.form-hp {
  position: absolute !important;
  left: -99999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


.form-alert {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.35s ease;
}

.form-alert.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.form-alert-box {
  width: min(100%, 46rem);
  padding: 3.4rem;
  border-radius: 2.8rem;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    radial-gradient(circle at top right, rgba(255,0,184,0.18), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)),
    #080808;
  color: #fff;
  text-align: center;
  box-shadow: 0 30px 90px rgba(0,0,0,0.45);
}

.form-alert-dot {
  display: inline-block;
  width: 1.4rem;
  height: 1.4rem;
  margin-bottom: 1.8rem;
  border-radius: 50%;
  background: var(--pink, #ff00b8);
  box-shadow: 0 0 0 8px rgba(255,0,184,0.12);
}

.form-alert-box h3 {
  margin: 0 0 1.2rem;
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.form-alert-box p {
  margin: 0 0 2.4rem;
  color: rgba(255,255,255,0.68);
  font-size: 1.5rem;
  line-height: 1.7;
}

.form-alert-box button {
  min-height: 5.2rem;
  padding: 0 2.4rem;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #050505;
  font-weight: 800;
  cursor: pointer;
}

/* Hero social card */
.hero-social-card {
  position: absolute;
  right: clamp(2.4rem, 4vw, 6rem);
  bottom: clamp(2.4rem, 5vh, 5rem);
  z-index: 6;
  width: min(34rem, calc(100vw - 4rem));
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2.2rem;
  background: rgba(8, 8, 8, 0.58);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-social-card p {
  margin: 0 0 1.4rem;
  color: var(--pink);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-social-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-social-links a {
  min-height: 7.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.hero-social-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(243, 166, 199, 0.6);
  background: rgba(243, 166, 199, 0.12);
  color: #fff;
  box-shadow: 0 14px 32px rgba(243, 166, 199, 0.14);
}

.hero-social-links svg {
  width: 2.4rem;
  height: 2.4rem;
  fill: currentColor;
}

.hero-social-links span {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

@media (max-width: 1180px) {
  .hero-social-card {
    right: 2rem;
    bottom: 2rem;
    width: 30rem;
  }
}

@media (max-width: 768px) {
  .hero-social-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 2.4rem;
    padding: 1.6rem;
  }

  .hero-social-links a {
    min-height: 6.8rem;
  }

  .hero-social-links span {
    font-size: 0.98rem;
  }
}


/* =========================================================
   HERO SOCIAL CARD — STILE PREMIUM
   Inserire alla fine del file style.css
========================================================= */

.hero-social-card {
  position: absolute;
  right: clamp(2.4rem, 3vw, 5rem);
  bottom: clamp(2.8rem, 4vh, 5rem);
  z-index: 30;

  width: min(31rem, calc(100vw - 4rem));
  padding: 2.2rem;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2.4rem;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.13),
      rgba(255, 255, 255, 0.035)
    );

  box-shadow:
    0 2.4rem 7rem rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);

  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);

  overflow: hidden;
  isolation: isolate;

  transition:
    transform 0.45s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    background 0.45s var(--ease);
}

/* Riflesso superiore in stile vetro */
.hero-social-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 46%;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.13),
      rgba(255, 255, 255, 0)
    );

  pointer-events: none;
  z-index: -1;
}

/* Bagliore rosa molto leggero */
.hero-social-card::after {
  content: "";
  position: absolute;
  right: -7rem;
  bottom: -8rem;

  width: 17rem;
  height: 17rem;
  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(255, 0, 184, 0.2) 0%,
    rgba(255, 0, 184, 0.06) 42%,
    transparent 72%
  );

  filter: blur(1rem);
  pointer-events: none;
  z-index: -1;
}

.hero-social-card:hover {
  transform: translate3d(0, -0.6rem, 0);

  border-color: rgba(255, 255, 255, 0.24);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.16),
      rgba(255, 255, 255, 0.05)
    );

  box-shadow:
    0 3rem 9rem rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 0, 184, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Titolo */

.hero-social-card > p {
  position: relative;
  margin: 0 0 1.8rem;

  color: rgba(255, 255, 255, 0.78);

  font-size: 1.12rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Linea decorativa sotto il titolo */

.hero-social-card > p::after {
  content: "";
  display: block;

  width: 3.8rem;
  height: 1px;

  margin-top: 1rem;

  background: linear-gradient(
    90deg,
    var(--pink),
    rgba(255, 255, 255, 0)
  );
}

/* Contenitore link */

.hero-social-links {
  display: grid;
  gap: 0.9rem;
}

/* Singolo pulsante social */

.hero-social-links a {
  position: relative;

  display: grid;
  grid-template-columns: 4.4rem 1fr auto;
  align-items: center;
  gap: 1.2rem;

  min-height: 5.6rem;
  padding: 0.8rem 1.1rem 0.8rem 0.8rem;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.7rem;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.025)
    );

  color: rgba(255, 255, 255, 0.88);

  overflow: hidden;

  transition:
    transform 0.38s var(--ease),
    border-color 0.38s var(--ease),
    background 0.38s var(--ease),
    color 0.38s var(--ease),
    box-shadow 0.38s var(--ease);
}

/* Freccia finale */

.hero-social-links a::after {
  content: "↗";

  color: rgba(255, 255, 255, 0.34);

  font-size: 1.55rem;
  font-weight: 400;

  transform: translate3d(0, 0, 0);

  transition:
    transform 0.38s var(--ease),
    color 0.38s var(--ease);
}

/* Effetto scorrimento interno */

.hero-social-links a::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      100deg,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 48%,
      transparent 100%
    );

  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}

.hero-social-links a:hover {
  transform: translate3d(0.4rem, 0, 0);

  border-color: rgba(255, 0, 184, 0.34);

  background:
    linear-gradient(
      135deg,
      rgba(255, 0, 184, 0.14),
      rgba(255, 255, 255, 0.045)
    );

  color: #ffffff;

  box-shadow:
    0 1.4rem 3.4rem rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(255, 0, 184, 0.05);
}

.hero-social-links a:hover::before {
  transform: translateX(120%);
}

.hero-social-links a:hover::after {
  color: var(--pink);
  transform: translate3d(0.2rem, -0.2rem, 0);
}

/* Contenitore dell'icona */

.hero-social-links svg {
  position: relative;
  z-index: 1;

  width: 2.1rem;
  height: 2.1rem;

  fill: currentColor;
}

/* Cerchio dell'icona */

.hero-social-links a svg {
  box-sizing: content-box;

  padding: 1rem;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.04)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0.8rem 2rem rgba(0, 0, 0, 0.2);

  transition:
    transform 0.38s var(--ease),
    background 0.38s var(--ease),
    border-color 0.38s var(--ease),
    color 0.38s var(--ease),
    box-shadow 0.38s var(--ease);
}

.hero-social-links a:hover svg {
  transform: scale(1.06);

  color: #ffffff;

  border-color: rgba(255, 0, 184, 0.42);

  background:
    linear-gradient(
      145deg,
      rgba(255, 0, 184, 0.92),
      rgba(190, 0, 140, 0.86)
    );

  box-shadow:
    0 0.8rem 2.4rem rgba(255, 0, 184, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Nome del social */

.hero-social-links span {
  position: relative;
  z-index: 1;

  font-size: 1.42rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

/* Stato focus da tastiera */

.hero-social-links a:focus-visible {
  outline: none;

  border-color: rgba(255, 0, 184, 0.75);

  box-shadow:
    0 0 0 4px rgba(255, 0, 184, 0.16),
    0 1.4rem 3.4rem rgba(0, 0, 0, 0.24);
}

/* Tablet */

@media (max-width: 1180px) {
  .hero-social-card {
    right: 2rem;
    bottom: 2.4rem;
    width: 28rem;
    padding: 1.8rem;
  }

  .hero-social-links a {
    min-height: 5.2rem;
  }
}

/* Mobile */

@media (max-width: 768px) {
  .hero-social-card {
    position: absolute;

    left: 1.4rem;
    right: 1.4rem;
    bottom: 1.6rem;

    width: auto;
    max-width: none;

    padding: 1.4rem;

    border-radius: 2rem;

    background:
      linear-gradient(
        145deg,
        rgba(15, 15, 15, 0.78),
        rgba(15, 15, 15, 0.5)
      );
  }

  .hero-social-card > p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
  }

  .hero-social-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .hero-social-links a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;

    min-height: 8.4rem;
    padding: 1rem 0.6rem;

    text-align: center;
  }

  .hero-social-links a::after {
    display: none;
  }

  .hero-social-links a:hover {
    transform: translate3d(0, -0.3rem, 0);
  }

  .hero-social-links a svg {
    padding: 0.85rem;
  }

  .hero-social-links span {
    font-size: 1.05rem;
  }
}

/* Smartphone piccoli */

@media (max-width: 390px) {
  .hero-social-card {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1.1rem;
  }

  .hero-social-links a {
    min-height: 7.8rem;
  }

  .hero-social-links span {
    font-size: 0.96rem;
  }
}

/* Disattiva movimenti per utenti che preferiscono meno animazioni */

@media (prefers-reduced-motion: reduce) {
  .hero-social-card,
  .hero-social-links a,
  .hero-social-links a::before,
  .hero-social-links a::after,
  .hero-social-links a svg {
    transition: none !important;
    transform: none !important;
  }
}

/* =========================================================
   PERFORMANCE LAYER — FLUIDITÀ SENZA MODIFICHE ESTETICHE
   Mantiene layout, colori, dimensioni e animazioni originali.
========================================================= */

/* Evita compositing permanente sugli elementi che non si muovono sempre. */
.hero-content,
.scroll-indicator,
.panel-media,
.panel-media img,
.gallery-shot,
.gallery-shot img,
.story-card-media,
.story-card-media img {
  will-change: auto;
}

/* Mantiene l'accelerazione solo sui veri elementi animati da GSAP. */
.horizontal-track,
.gallery-track,
[data-horizontal-track],
.stories-bg img,
.story-card,
[data-story-card] {
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Riduce i costosi effetti di vetro esclusivamente mentre la pagina scorre. */
body.heavy-motion .site-header.is-scrolled,
body.heavy-motion .hero-social-card,
body.heavy-motion .hero-rotator span,
body.heavy-motion .gallery-label,
body.heavy-motion .mobile-menu,
body.heavy-motion .menu-toggle,
body.heavy-motion .form-alert {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Evita ridisegni inutili delle immagini durante le sezioni animate. */
body.heavy-motion .hero-bg img,
body.heavy-motion .gallery-shot img,
body.heavy-motion .panel-media img,
body.heavy-motion .story-card-media img {
  image-rendering: auto;
  backface-visibility: hidden;
}

/* Isola il rendering delle sezioni statiche sotto la parte animata. */
.about,
.contact,
.site-footer {
  contain: layout paint;
}

/* Ottimizzazioni specifiche per touch/mobile, senza cambiare il layout. */
@media (hover: none), (pointer: coarse), (max-width: 768px) {
  .hero-bg,
  .hero-content,
  .gallery-shot,
  .gallery-shot img,
  .panel-media,
  .panel-media img,
  .story-card,
  .story-card-media,
  .story-card-media img {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  /* I blur restano visivamente equivalenti da fermi e vengono sospesi in movimento. */
  body.heavy-motion .site-header.is-scrolled,
  body.heavy-motion .hero-social-card,
  body.heavy-motion .hero-rotator span,
  body.heavy-motion .gallery-label {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Riduce il costo delle ombre durante lo scroll senza modificarle a pagina ferma. */
  body.heavy-motion .hero-social-card,
  body.heavy-motion .gallery-shot,
  body.heavy-motion .panel-media,
  body.heavy-motion .story-card {
    box-shadow: none !important;
  }

  /* Impedisce transizioni CSS parallele alle animazioni GSAP. */
  body.heavy-motion .hero-social-card,
  body.heavy-motion .gallery-shot,
  body.heavy-motion .panel-media,
  body.heavy-motion .story-card,
  body.heavy-motion .btn {
    transition-duration: 0s !important;
  }
}

/* Rispetta la preferenza di sistema senza alterare il sito per gli altri utenti. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}







@media (max-width:768px){

    .hero-bg img{

        object-fit:cover;

        object-position:70% center;

        transform:none !important;
    }

}