/* ============================================================
   WEDDING TEST · Strutture in ferro
   Style sheet — dark luxury · gold accents · cinematic scroll
   ============================================================ */

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/CormorantGaramond-400-italic-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/CormorantGaramond-500-italic-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/CormorantGaramond-400-normal-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/CormorantGaramond-500-normal-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/CormorantGaramond-600-normal-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin-ext */
@font-face {
  font-family: 'Italianno';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Italianno-400-normal-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/Manrope-300-normal-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Manrope-400-normal-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Manrope-500-normal-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Manrope-600-normal-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Manrope-700-normal-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/CormorantGaramond-400-italic-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/CormorantGaramond-500-italic-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/CormorantGaramond-400-normal-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/CormorantGaramond-500-normal-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/CormorantGaramond-600-normal-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Italianno';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Italianno-400-normal-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/Manrope-300-normal-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Manrope-400-normal-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Manrope-500-normal-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Manrope-600-normal-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Manrope-700-normal-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  /* Palette */
  --ink-deep: #050404;
  --ink: #0a0807;
  --ink-2: #110d0a;
  --ink-card: #15100c;
  --ink-card-2: #1c150f;

  --gold: #d6b97c;
  --gold-bright: #f2dba7;
  --gold-warm: #b89669;
  --gold-deep: #8f6d3f;
  --rose: #d8a8a0;

  --cream: #faf3e8;
  --cream-90: rgba(250, 243, 232, 0.9);
  --cream-70: rgba(250, 243, 232, 0.7);
  --cream-55: rgba(250, 243, 232, 0.55);
  --cream-40: rgba(250, 243, 232, 0.4);
  --cream-25: rgba(250, 243, 232, 0.25);

  --line: rgba(214, 185, 124, 0.16);
  --line-mid: rgba(214, 185, 124, 0.28);
  --line-strong: rgba(214, 185, 124, 0.5);

  /* Fonts */
  --font-serif: "Cormorant Garamond", "Cormorant Infant", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Italianno", "Great Vibes", "Brush Script MT", cursive;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Easings */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
  --pad-x: clamp(20px, 4vw, 48px);
  --nav-h: 76px;

  /* Shadows */
  --shadow-card: 0 1px 0 rgba(214, 185, 124, 0.08) inset, 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--cream-90);
  background: var(--ink-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Selection */
::selection { background: var(--gold); color: var(--ink); }

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.container--narrow { max-width: var(--container-narrow); }

/* --- Typography helpers --- */
.section__kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-size:16px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-mid);
}
.section__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin: 18px 0 14px;
}
.section__title em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 500;
}
.section__lead {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.65;
  color: var(--cream-55);
  max-width: 580px;
  margin: 0;
}
.section__head { margin-bottom: 32px; }
.section__head--center { text-align: center; }
.section__head--center .section__lead { margin-inline: auto; }


/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 var(--pad-x);
  background: linear-gradient(to bottom, rgba(5, 4, 4, 0.85), rgba(5, 4, 4, 0));
  backdrop-filter: blur(0px);
  transition: background 400ms var(--ease-out), backdrop-filter 400ms var(--ease-out), border-color 400ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8, 6, 5, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.nav__brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--gold);
  border: 1px solid var(--line-mid);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(214,185,124,0.12), transparent 60%);
}
.nav__brand-mark svg { width: 20px; height: 20px; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-name { font-weight: 500; color: var(--cream); }
.nav__brand-tag {
  font-family: var(--font-sans);
  font-size:16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-40);
  margin-top: 2px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size:16px;
  font-weight: 500;
  color: var(--cream-70);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color 200ms var(--ease-out);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 300ms var(--ease-out);
}
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--ink);
  font-weight: 600;
  font-size:16px;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -10px rgba(214, 185, 124, 0.6);
}

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-mid);
  border-radius: 10px;
  position: relative;
  padding: 0;
  margin-left: auto;
}
.nav__burger span {
  position: absolute;
  left: 12px;
  width: 20px; height: 1.5px;
  background: var(--cream);
  transition: transform 250ms var(--ease-out), opacity 250ms;
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 21.5px; }
.nav__burger span:nth-child(3) { top: 27px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { top: 21.5px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 49;
  background: rgba(8, 6, 5, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 24px var(--pad-x) 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 250ms var(--ease-out), opacity 200ms;
}
.mobile-menu[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--cream);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu__cta {
  margin-top: 16px;
  padding: 14px 20px !important;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--ink) !important;
  border-radius: 999px;
  font-family: var(--font-sans) !important;
  font-size:16px !important;
  font-weight: 600 !important;
  text-align: center;
  border-bottom: none !important;
}


/* ============================================================
   FIXED BACKGROUND STAGE (canvas + glow + vignette)
   Animated across the WHOLE document scroll
   ============================================================ */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(214,185,124,0.05), transparent 55%),
    radial-gradient(ellipse at 70% 30%, rgba(216,168,160,0.03), transparent 50%),
    radial-gradient(ellipse at center, #0d0908 0%, #050404 75%);
  pointer-events: none;
  will-change: contents;
}

.bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 50% 55%, rgba(214,185,124,0.16) 0%, rgba(214,185,124,0.04) 35%, transparent 65%);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Floor reflection — luxury, sotto la struttura */
.bg-reflection {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 28vh;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(214,185,124,0.18) 0%, rgba(214,185,124,0.04) 45%, transparent 70%),
    radial-gradient(ellipse at 50% 100%, rgba(5,4,4,0.55), transparent 60%);
  filter: blur(22px);
  opacity: 0.55;
  pointer-events: none;
  mix-blend-mode: screen;
}
@media (max-width: 767px) {
  .bg-reflection {
    left: 6%;
    right: 6%;
    height: 22vh;
    opacity: 0.45;
    filter: blur(14px);
  }
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(5,4,4,0.35) 75%, rgba(5,4,4,0.75) 100%),
    linear-gradient(180deg, rgba(5,4,4,0.55) 0%, transparent 22%, transparent 78%, rgba(5,4,4,0.75) 100%);
  pointer-events: none;
}

/* Loader (until first frame draws) */
.bg-loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--ink-deep);
  transition: opacity 600ms var(--ease-out);
}
.bg-loader.is-hidden { opacity: 0; pointer-events: none; }
.bg-loader__mark {
  width: 56px; height: 56px;
  border: 1px solid var(--line-mid);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Scroll HUD - fixed bottom-right */
.scroll-hud {
  position: fixed;
  right: clamp(20px, 4vw, 48px);
  bottom: clamp(20px, 3vw, 32px);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size:16px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream-40);
  pointer-events: none;
}
.scroll-hud__tick {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.scroll-hud__line {
  position: relative;
  width: 80px;
  height: 1px;
  background: var(--line-mid);
}
.scroll-hud__fill {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(to right, var(--gold), var(--gold-bright));
  transform-origin: top;
  transform: scaleY(0);
  will-change: transform;
}

/* main flow on top of fixed canvas */
main { position: relative; z-index: 1; }


/* ============================================================
   MOMENTS — narrative full-viewport sections over the BG
   ============================================================ */
.moment {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 16px) var(--pad-x) 40px;
}
.moment--hero { min-height: 92vh; }
.moment__inner {
  width: 100%;
  max-width: 540px;
  position: relative;
  z-index: 2;
}
.moment__inner--right {
  margin-left: auto;
  text-align: right;
}
.moment__inner--left { margin-right: auto; }

/* Hero moment — text on left, gradient mask helps readability over arch */
.moment--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,4,4,0.65) 0%, rgba(5,4,4,0.25) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.moment--right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(5,4,4,0.65) 0%, rgba(5,4,4,0.25) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.moment--left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,4,4,0.65) 0%, rgba(5,4,4,0.25) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.moment__scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size:16px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream-40);
  pointer-events: none;
}
.moment__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--gold) 0%, transparent 100%);
  animation: scroll-cue 2s ease-in-out infinite;
}
@keyframes scroll-cue {
  0%, 100% { transform: scaleY(0.6); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Reveal animation for moments */
[data-reveal] .moment__inner {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
[data-reveal].is-visible .moment__inner {
  opacity: 1;
  transform: none;
}

.step--right .step__list,
.step--right .step__row { text-align: right; }
.step--right .step__row { justify-content: flex-end; flex-direction: row-reverse; }

.step__eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--cream-70);
  font-size:16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.step__pill {
  padding: 6px 12px;
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  color: var(--rose);
}
.step__divider {
  width: 30px;
  height: 1px;
  background: var(--line-mid);
}
.step__tag { color: var(--cream-55); font-size:16px; }

.step__chip {
  display: inline-block;
  font-family: var(--font-sans);
  font-size:16px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rose);
  padding: 6px 14px;
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  margin-bottom: 24px;
  background: rgba(216, 168, 160, 0.04);
}

.step__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin: 0 0 24px;
}
.step__title em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 500;
}
.step__title-line {
  display: block;
}
.step__title-line--script {
  font-family: var(--font-script);
  font-size:max(16px, 0.7em);
  font-style: normal;
  color: var(--rose);
  letter-spacing: 0;
  line-height: 0.9;
  margin: 6px 0;
  font-weight: 400;
}
.step__title--md {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.step__sub {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.65;
  color: var(--cream-55);
  max-width: 460px;
  margin: 0 0 32px;
}
.step--right .step__sub { margin-left: auto; }

.step__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.step--right .step__cta { justify-content: flex-end; }

.step__meta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.step__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step__meta-num {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--gold-bright);
  line-height: 1;
}
.step__meta-label {
  font-size:16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-40);
}
.step__meta-sep {
  width: 1px;
  height: 32px;
  background: var(--line-mid);
}

.step__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size:16px;
  color: var(--cream-70);
}
.step__list li {
  position: relative;
  padding-left: 24px;
}
.step--right .step__list li {
  padding-left: 0;
  padding-right: 24px;
}
.step__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 1px;
  background: var(--gold);
}
.step--right .step__list li::before {
  left: auto;
  right: 0;
}

.step__row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.step__row:last-child { border-bottom: 1px solid var(--line); }
.step__row-num {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--gold);
  min-width: 28px;
  line-height: 1;
  padding-top: 2px;
}
.step__row-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.step__row-text strong {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--cream);
}
.step__row-text span {
  font-size:16px;
  color: var(--cream-55);
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size:16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out), background 250ms var(--ease-out), color 250ms var(--ease-out), border-color 250ms var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
  min-width: 140px;
}
.btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%);
  background-size: 200% 100%;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 14px 30px -10px rgba(214,185,124,0.4);
}
.btn--gold:hover {
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 18px 40px -10px rgba(214,185,124,0.6);
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: rgba(214,185,124,0.08);
  border-color: var(--gold);
}
.btn--full {
  width: 100%;
  height: 56px;
}


/* ============================================================
   GENERIC SECTIONS
   ============================================================ */
.section {
  position: relative;
  padding: clamp(48px, 6vw, 80px) 0;
  /* Semi-translucent backdrop: arch faintly visible behind content for continuity */
  background: rgba(5, 4, 4, 0.9);
  z-index: 1;
}
.section + .section { border-top: 1px solid var(--line); }
/* First section after moments gets a soft top fade so the arch dissolves into content */
.moment + .section::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -80px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(5,4,4,0.88));
  pointer-events: none;
}


/* ============================================================
   SERVIZI - BENTO GRID
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bento__card {
  position: relative;
  padding: 24px 26px;
  background: linear-gradient(180deg, var(--ink-card) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: transform 400ms var(--ease-out), border-color 400ms var(--ease-out), background 400ms;
  overflow: hidden;
  isolation: isolate;
}
.bento__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(214,185,124,0.08), transparent 50%);
  opacity: 0;
  transition: opacity 400ms;
  pointer-events: none;
  z-index: -1;
}
.bento__card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.bento__card:hover::before { opacity: 1; }
.bento__card--lg {
  grid-column: span 2;
  grid-row: span 1;
}
.bento__icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: rgba(214, 185, 124, 0.08);
  border: 1px solid var(--line-mid);
  color: var(--gold-bright);
  margin-bottom: 14px;
}
.bento__icon svg { width: 28px; height: 28px; }
.bento__card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  color: var(--cream);
  margin: 0 0 10px;
}
.bento__card p {
  font-size:16px;
  line-height: 1.6;
  color: var(--cream-55);
  margin: 0;
  max-width: 380px;
}
.bento__tag {
  display: inline-block;
  margin-top: 20px;
  padding: 4px 10px;
  background: rgba(216, 168, 160, 0.1);
  color: var(--rose);
  border: 1px solid rgba(216, 168, 160, 0.2);
  border-radius: 999px;
  font-size:16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}


/* ============================================================
   CATALOGO - RAIL (horizontal scroll)
   ============================================================ */
.rail {
  position: relative;
}
.rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 4px 24px;
  margin: 0 -4px;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-warm) transparent;
}
.rail__track::-webkit-scrollbar { height: 6px; }
.rail__track::-webkit-scrollbar-thumb {
  background: var(--gold-warm);
  border-radius: 999px;
}
.rail__track::-webkit-scrollbar-track { background: var(--line); border-radius: 999px; }

.rail__card {
  scroll-snap-align: start;
  padding: 28px;
  background: linear-gradient(165deg, var(--ink-card) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  transition: transform 400ms var(--ease-out), border-color 400ms;
}
.rail__card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.rail__num {
  font-family: var(--font-serif);
  font-size: 38px;
  color: var(--gold);
  line-height: 0.9;
  letter-spacing: 0.02em;
  opacity: 0.8;
}
.rail__card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--cream);
  margin: auto 0 0;
}
.rail__card p {
  font-size:16px;
  line-height: 1.55;
  color: var(--cream-55);
  margin: 0;
}
.rail__controls {
  position: absolute;
  top: -76px;
  right: 0;
  display: flex;
  gap: 8px;
}
.rail__controls button {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line-mid);
  color: var(--cream-70);
  display: grid; place-items: center;
  transition: border-color 250ms, color 250ms, background 250ms;
}
.rail__controls button:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(214, 185, 124, 0.08);
}


/* ============================================================
   PROCESSO - STEPS
   ============================================================ */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.steps__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.steps__item:last-child { border-bottom: 1px solid var(--line); }
.steps__num {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.02em;
}
.steps__body h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--cream);
  margin: 0 0 8px;
}
.steps__body p {
  font-size:16px;
  line-height: 1.65;
  color: var(--cream-55);
  margin: 0;
  max-width: 540px;
}


/* ============================================================
   FAQ
   ============================================================ */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 4px;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 500;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
  transition: color 200ms;
  user-select: none;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary:hover { color: var(--gold-bright); }
.faq__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  position: relative;
  border: 1px solid var(--line-mid);
  border-radius: 50%;
  transition: border-color 250ms, transform 350ms var(--ease-out);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold);
}
.faq__icon::before { width: 10px; height: 1px; }
.faq__icon::after { width: 1px; height: 10px; transition: transform 250ms var(--ease-out); }
.faq__item[open] .faq__icon { border-color: var(--gold); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__answer {
  padding: 0 4px 18px;
  max-width: 720px;
}
.faq__answer p {
  margin: 0;
  font-size:16px;
  line-height: 1.7;
  color: var(--cream-55);
}


/* ============================================================
   CTA / CONTATTI
   ============================================================ */
.cta {
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink-card) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4.5vw, 56px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 100%;
  background: radial-gradient(ellipse, rgba(214,185,124,0.08), transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.cta__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.cta__head .section__lead { margin-inline: auto; }
.cta__channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(5, 4, 4, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color 300ms, background 300ms, transform 300ms;
  min-height: 44px;
}
.channel:hover {
  border-color: var(--gold);
  background: rgba(214,185,124,0.04);
  transform: translateY(-2px);
}
.channel--wa { border-color: rgba(37, 211, 102, 0.25); }
.channel--wa .channel__icon { color: #25D366; }
.channel__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(214,185,124,0.06);
  border: 1px solid var(--line-mid);
  color: var(--gold-bright);
  flex-shrink: 0;
}
.channel__icon svg { width: 22px; height: 22px; }
.channel__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.channel__label {
  font-size:16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
}
.channel__body strong {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.channel__hint {
  font-size:16px;
  color: var(--cream-40);
}
.channel__arrow {
  font-size: 18px;
  color: var(--cream-40);
  transition: transform 300ms, color 300ms;
}
.channel:hover .channel__arrow {
  color: var(--gold);
  transform: translateX(4px);
}

/* Quote form */
.quote {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--cream);
  margin: 0 0 8px;
  text-align: center;
}
.quote__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field > span {
  font-size:16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-55);
}
.field input,
.field textarea,
.field select {
  font-family: inherit;
  font-size:16px;
  color: var(--cream);
  background: rgba(5, 4, 4, 0.6);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-md);
  padding: 14px 16px;
  resize: vertical;
  transition: border-color 200ms, background 200ms;
  min-height: 48px;
  width: 100%;
  box-sizing: border-box;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6b97c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  padding-right: 42px;
}
.field select option {
  background: #0f0c0a;
  color: var(--cream);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(5, 4, 4, 0.85);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--cream-25);
}
.quote__hint {
  text-align: center;
  font-size:16px;
  color: var(--cream-40);
  margin: 0;
}
.quote__hint a {
  color: var(--rose);
  border-bottom: 1px dotted var(--rose);
}
.quote__success {
  background: linear-gradient(135deg, rgba(214,185,124,0.12), rgba(216,168,160,0.08));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.quote__success.is-error {
  background: linear-gradient(135deg, rgba(185,72,72,0.16), rgba(216,168,160,0.08));
  border-color: rgba(255, 180, 180, 0.34);
}
.quote__success strong {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--gold-bright);
}
.quote__success.is-error strong {
  color: #ffd0d0;
}
.quote__success span {
  font-size:16px;
  color: var(--cream-70);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  z-index: 1;
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 40px 0 24px;
  color: var(--cream-55);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 320px;
}
.footer__brand strong {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--cream);
}
.footer__brand p {
  font-size:16px;
  line-height: 1.6;
  margin: 0;
}
.footer__brand-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--gold);
  border: 1px solid var(--line-mid);
  border-radius: 50%;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col h4 {
  font-family: var(--font-sans);
  font-size:16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0 0 6px;
  font-weight: 500;
}
.footer__col a {
  font-size:16px;
  color: var(--cream-70);
  transition: color 200ms;
}
.footer__col a:hover { color: var(--gold-bright); }
.footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  font-size:16px;
  color: var(--cream-40);
  letter-spacing: 0.04em;
}


/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.floating-wa {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;
  width: 56px; height: 56px;
  min-width: 48px; min-height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #1ea854 100%);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.5),
              inset 0 0 0 1px rgba(255,255,255,0.08);
  animation: wa-pulse 2.4s infinite;
  transition: transform 250ms var(--ease-out);
}
.floating-wa:hover { transform: scale(1.06); }
.floating-wa svg { width: 28px; height: 28px; }
@keyframes wa-pulse {
  0% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0); }
}


/* ============================================================
   REVEAL ANIMATIONS (intersection observer)
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .nav__links { gap: 22px; }
  .step__title { font-size: clamp(2.2rem, 6vw, 3.8rem); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--lg { grid-column: span 2; }
  .cta__channels { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --nav-h: 64px;
  }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__brand-tag { display: none; }

  .scroll-hud { display: none; }

  /* Moments fill viewport but anchor content at bottom for mobile readability */
  .moment {
    min-height: 88vh;
    padding-top: calc(var(--nav-h) + 56px);
    padding-bottom: 40px;
    align-items: flex-end;
  }
  .moment--hero { min-height: 95vh; }
  .moment__inner,
  .moment__inner--right,
  .moment__inner--left {
    max-width: none;
    text-align: left;
    margin: 0;
  }
  .moment--right::before,
  .moment--left::before,
  .moment--hero::before {
    background: linear-gradient(180deg, transparent 0%, rgba(5,4,4,0.55) 55%, rgba(5,4,4,0.85) 100%);
  }
  .step--right .step__sub,
  .step--right .step__list li,
  .step--right .step__row { text-align: left; }
  .step--right .step__sub { margin-left: 0; }
  .step--right .step__cta { justify-content: flex-start; }
  .step--right .step__list li { padding-left: 24px; padding-right: 0; }
  .step--right .step__list li::before { left: 0; right: auto; }
  .step--right .step__row { justify-content: flex-start; flex-direction: row; }

  .step__title {
    font-size: clamp(2rem, 9vw, 3rem);
  }
  .step__title--md {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }
  .step__sub {
    font-size:16px;
    margin-bottom: 24px;
  }
  .moment__scroll-cue { display: none; }

  .step__meta {
    gap: 16px;
  }
  .step__meta-num { font-size: 22px; }
  .step__meta-sep { height: 24px; }

  .step__cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .btn { width: 100%; }

  /* Sections */
  .section { padding: 52px 0; }
  .section__head { margin-bottom: 28px; }

  /* Bento single col */
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .bento__card--lg { grid-column: span 1; }
  .bento__card { padding: 24px; }

  /* Rail narrower cards */
  .rail__track { grid-auto-columns: 230px; }
  .rail__controls { position: static; margin-top: 16px; justify-content: flex-end; }

  /* Steps stack vertically */
  .steps__item { grid-template-columns: 1fr; gap: 8px; }
  .steps__num { font-size: 2.4rem; }

  /* Form single col */
  .quote__row { grid-template-columns: 1fr; }
  .cta { padding: 28px 20px; border-radius: var(--r-lg); }

  /* Footer stack */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 32px; }
  .footer__brand { grid-column: span 2; }
  .footer__bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer { padding: 56px 0 24px; }

  .floating-wa {
    width: 52px; height: 52px;
  }
  .floating-wa svg { width: 26px; height: 26px; }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] .moment__inner { opacity: 1 !important; transform: none !important; }
  .scroll-hud__tick { animation: none; }
  .moment__scroll-line { animation: none; }
  .floating-wa { animation: none; }
}


/* ============================================================
   POLISH PASS 2026-05-15
   Uniform overlays, FullHD typography cap, minimal HUD, iOS-light mobile.
   ============================================================ */
html {
  scroll-padding-top: calc(var(--nav-h) + 22px);
}

#servizi,
#catalogo,
#processo,
#faq,
#contatti {
  scroll-margin-top: 0;
}

body {
  background:
    radial-gradient(ellipse at 50% 18%, rgba(214,185,124,0.05), transparent 44%),
    var(--ink-deep);
}

/* The old section borders created visible horizontal cuts over the canvas. */
.section + .section {
  border-top: 0 !important;
}

.footer,
.footer__grid,
.footer__bar,
.steps__item,
.steps__item:last-child,
.faq,
.faq__item {
  border-color: rgba(214,185,124,0.10);
}

.moment + .section::before,
.section::before {
  display: none !important;
}

.section,
.section--servizi,
.section--catalogo,
.section--processo,
.section--faq,
.section--cta {
  background: transparent !important;
}

.bg-vignette {
  background:
    radial-gradient(ellipse at center, transparent 42%, rgba(5,4,4,0.34) 78%, rgba(5,4,4,0.78) 100%),
    linear-gradient(180deg, rgba(5,4,4,0.48) 0%, rgba(5,4,4,0.04) 20%, rgba(5,4,4,0.05) 72%, rgba(5,4,4,0.72) 100%);
}

.bg-reflection {
  opacity: 0.38;
  filter: blur(16px);
}

/* Gold minimal HUD: no bottom-right collision with WhatsApp, no clipped text. */
.scroll-hud {
  top: 50%;
  right: clamp(16px, 2.2vw, 34px);
  bottom: auto;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 10px;
  color: rgba(250,243,232,0.34);
}

.scroll-hud__line {
  width: 1px;
  height: clamp(118px, 18vh, 190px);
  background: rgba(214,185,124,0.20);
  overflow: hidden;
}

.scroll-hud__fill {
  width: 100% !important;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  box-shadow: 0 0 14px rgba(214,185,124,0.55);
}

.scroll-hud__label {
  writing-mode: vertical-rl;
  letter-spacing: 0.24em;
  font-size:16px;
}

/* Make content panes consistent instead of patchy translucent blocks. */
.bento__card,
.rail__card,
.cta,
.channel,
.field input,
.field textarea,
.field select {
  background: rgba(14, 10, 8, 0.88);
  border-color: rgba(214,185,124,0.13);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.035) inset,
    0 22px 42px -28px rgba(0,0,0,0.78);
}

.bento__card,
.rail__card {
  border-radius: 16px;
}

.bento__card::before,
.cta::before {
  opacity: 0 !important;
}

.bento__card:hover,
.rail__card:hover,
.channel:hover {
  border-color: rgba(214,185,124,0.28);
  background: rgba(17, 12, 9, 0.92);
}

.section__title {
  max-width: 960px;
}

.section__lead,
.step__sub {
  color: rgba(250,243,232,0.62);
}

.step__title {
  max-width: 760px;
  text-wrap: balance;
}

.step__title-line--script {
  color: rgba(216,168,160,0.95);
}

.nav {
  border-bottom-color: rgba(214,185,124,0.10);
}

.nav.is-scrolled {
  background: rgba(8,6,5,0.88);
  border-bottom-color: rgba(214,185,124,0.18);
}

@supports (font-size: clamp(1rem, 1vw, 2rem)) {
  @media (min-width: 1440px) {
    .step__title {
      font-size: clamp(4.1rem, 5.2vw, 5.85rem);
    }

    .step__title--md {
      font-size: clamp(2.9rem, 3.25vw, 3.75rem);
    }

    .section__title {
      font-size: clamp(3rem, 3.25vw, 3.65rem);
    }

    .container {
      max-width: 1320px;
    }
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 76px;
  }

  #servizi,
  #catalogo,
  #processo,
  #faq,
  #contatti {
    scroll-margin-top: 0;
  }

  .nav,
  .nav.is-scrolled,
  .mobile-menu {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(5,4,4,0.93);
  }

  .bg-stage {
    background: radial-gradient(ellipse at 50% 42%, #0b0807 0%, #050404 72%);
  }

  .bg-glow {
    opacity: 0.5;
    mix-blend-mode: normal;
  }

  .bg-reflection {
    opacity: 0.22;
    filter: blur(8px);
  }

  .bg-vignette {
    background:
      linear-gradient(180deg, rgba(5,4,4,0.72) 0%, rgba(5,4,4,0.18) 28%, rgba(5,4,4,0.20) 58%, rgba(5,4,4,0.88) 100%),
      radial-gradient(ellipse at center, transparent 34%, rgba(5,4,4,0.48) 100%);
  }

  .moment {
    min-height: 78vh;
    padding-top: calc(var(--nav-h) + 34px);
    padding-bottom: 30px;
  }

  .moment--hero {
    min-height: 88vh;
  }

  .moment--right::before,
  .moment--left::before,
  .moment--hero::before {
    background: linear-gradient(180deg, rgba(5,4,4,0.14) 0%, rgba(5,4,4,0.48) 47%, rgba(5,4,4,0.90) 100%);
  }

  .step__eyebrow {
    gap: 8px;
    margin-bottom: 16px;
  }

  .step__divider {
    width: 20px;
  }

  .step__title {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
    line-height: 0.98;
    margin-bottom: 18px;
    max-width: 350px;
  }

  .step__title--md {
    font-size: clamp(1.9rem, 8vw, 2.45rem);
  }

  .step__title-line--script {
    font-size:max(16px, 0.72em);
  }

  .step__sub {
    max-width: 350px;
    font-size:16px;
    line-height: 1.55;
    margin-bottom: 22px;
  }

  .step__meta {
    row-gap: 12px;
  }

  .step__meta-label {
    font-size:16px;
  }

  .section {
    padding: 40px 0;
    background: transparent !important;
  }

  .section__title {
    font-size: clamp(2rem, 8.2vw, 2.65rem);
    line-height: 1.03;
  }

  .section__lead {
    font-size:16px;
    line-height: 1.55;
  }

  .bento {
    gap: 10px;
  }

  .bento__card {
    padding: 18px;
    border-radius: 14px;
  }

  .bento__icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
  }

  .bento__card h3 {
    font-size: 1.32rem;
    margin-bottom: 7px;
  }

  .bento__card p,
  .rail__card p,
  .steps__body p,
  .faq__answer p {
    font-size:16px;
    line-height: 1.52;
  }

  .rail__track {
    grid-auto-columns: min(76vw, 255px);
    padding-bottom: 16px;
  }

  .rail__card {
    min-height: 188px;
    padding: 22px;
  }

  .steps__item {
    padding: 16px 0;
  }

  .faq__item > summary {
    padding: 15px 0;
  }

  .cta {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .floating-wa {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    animation: none;
  }
}


/* ============================================================
   POLISH PASS 2026-05-15E
   Native gold scrollbar, no extra HUD, smoother mobile header.
   ============================================================ */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #050404;
}

body::-webkit-scrollbar,
html::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body::-webkit-scrollbar-track,
html::-webkit-scrollbar-track {
  background:
    linear-gradient(180deg, #050404 0%, #0a0706 48%, #050404 100%);
}

body::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb {
  border: 2px solid #050404;
  border-radius: 999px;
  background:
    linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 46%, var(--gold-deep) 100%);
  box-shadow:
    0 0 18px rgba(214,185,124,0.38),
    inset 0 1px 0 rgba(255,255,255,0.34);
}

body::-webkit-scrollbar-thumb:hover,
html::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, #fff0bd 0%, var(--gold-bright) 44%, var(--gold-warm) 100%);
}

.scroll-hud {
  display: none !important;
}

.bg-canvas {
  transform: translateZ(0);
  backface-visibility: hidden;
}

@media (max-width: 767px) {
  .nav {
    top: max(8px, env(safe-area-inset-top));
    left: 14px;
    right: 14px;
    height: 50px;
    padding: 0 7px 0 10px;
    border: 1px solid rgba(214,185,124,0.22);
    border-radius: 999px;
    background:
      linear-gradient(180deg, rgba(17,12,9,0.84), rgba(5,4,4,0.80));
    box-shadow:
      0 1px 0 rgba(255,255,255,0.05) inset,
      0 14px 28px -22px rgba(0,0,0,0.88);
  }

  .nav.is-scrolled {
    background:
      linear-gradient(180deg, rgba(17,12,9,0.90), rgba(5,4,4,0.88));
    border-color: rgba(214,185,124,0.28);
  }

  .nav__brand {
    gap: 9px;
    min-width: 0;
  }

  .nav__brand-mark {
    width: 30px;
    height: 30px;
    border-color: rgba(214,185,124,0.28);
    background: rgba(214,185,124,0.07);
  }

  .nav__brand-mark svg {
    width: 16px;
    height: 16px;
  }

  .nav__brand-name {
    font-size: 16.5px;
    line-height: 1;
    white-space: nowrap;
  }

  .nav__burger {
    display: block;
    width: 38px;
    height: 38px;
    margin-left: auto;
    border-radius: 50%;
    border-color: rgba(214,185,124,0.28);
    background:
      radial-gradient(circle at 50% 0%, rgba(214,185,124,0.12), rgba(214,185,124,0.02) 64%);
  }

  .nav__burger span {
    left: 10px;
    width: 16px;
    height: 1px;
    background: var(--gold-bright);
  }

  .nav__burger span:nth-child(1) { top: 14px; }
  .nav__burger span:nth-child(2) { top: 18px; }
  .nav__burger span:nth-child(3) { top: 22px; }
  .nav__burger[aria-expanded="true"] span:nth-child(1),
  .nav__burger[aria-expanded="true"] span:nth-child(3) { top: 18px; }

  .mobile-menu {
    top: calc(max(8px, env(safe-area-inset-top)) + 58px);
    left: 14px;
    right: 14px;
    padding: 10px;
    border: 1px solid rgba(214,185,124,0.18);
    border-radius: 20px;
    background: rgba(5,4,4,0.96);
    box-shadow: 0 26px 60px -28px rgba(0,0,0,0.92);
  }

  .mobile-menu a {
    padding: 13px 14px;
    border-bottom-color: rgba(214,185,124,0.10);
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size:16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-menu a:active {
    background: rgba(214,185,124,0.08);
  }

  .mobile-menu__cta {
    margin-top: 8px;
    padding: 14px 16px !important;
  }
}


/* ============================================================
   POLISH PASS 2026-05-15G
   Lighter editorial navigation: no massive full-width bar.
   ============================================================ */
.nav {
  top: 18px;
  left: clamp(24px, 3.6vw, 54px);
  right: clamp(24px, 3.6vw, 54px);
  height: 46px;
  padding: 0;
  gap: 12px;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  pointer-events: none;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}

.nav.is-scrolled {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.nav > * {
  pointer-events: auto;
}

.nav__brand,
.nav__links,
.nav__cta {
  min-height: 40px;
  border: 1px solid rgba(214,185,124,0.16);
  background: rgba(5,4,4,0.42);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.035) inset,
    0 16px 36px -28px rgba(0,0,0,0.85);
  backdrop-filter: blur(10px) saturate(118%);
}

.nav__brand {
  gap: 9px;
  padding: 6px 12px 6px 7px;
  border-radius: 999px;
  font-size: 16px;
}

.nav__brand-mark {
  width: 27px;
  height: 27px;
  border-color: rgba(214,185,124,0.22);
  background: rgba(214,185,124,0.055);
}

.nav__brand-mark svg {
  width: 15px;
  height: 15px;
}

.nav__brand-name {
  font-size: 16px;
  line-height: 1;
}

.nav__brand-tag {
  display: none;
}

.nav__links {
  gap: 20px;
  margin-left: auto;
  padding: 0 16px;
  border-radius: 999px;
  font-size:16px;
  color: rgba(250,243,232,0.66);
}

.nav__links a {
  padding: 0;
  line-height: 40px;
}

.nav__links a::after {
  bottom: 9px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.nav__cta {
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(214,185,124,0.96), rgba(247,219,162,0.96));
  font-size:16px;
  font-weight: 650;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.30) inset,
    0 14px 28px -22px rgba(214,185,124,0.65);
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.34) inset,
    0 16px 34px -22px rgba(214,185,124,0.78);
}

@media (max-width: 767px) {
  .nav {
    top: max(10px, env(safe-area-inset-top));
    left: 16px;
    right: 16px;
    height: 38px;
    padding: 0;
    gap: 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
  }

  .nav.is-scrolled {
    background: transparent;
    border-color: transparent;
  }

  .nav__brand,
  .nav__burger {
    min-height: 36px;
    border: 1px solid rgba(214,185,124,0.18);
    background: rgba(5,4,4,0.48);
    box-shadow:
      0 1px 0 rgba(255,255,255,0.035) inset,
      0 14px 30px -25px rgba(0,0,0,0.88);
    backdrop-filter: none;
  }

  .nav__brand {
    gap: 7px;
    height: 36px;
    padding: 5px 10px 5px 6px;
    border-radius: 999px;
  }

  .nav__brand-mark {
    width: 23px;
    height: 23px;
    border-color: rgba(214,185,124,0.22);
    background: rgba(214,185,124,0.055);
  }

  .nav__brand-mark svg {
    width: 13px;
    height: 13px;
  }

  .nav__brand-name {
    font-size:16px;
    line-height: 1;
  }

  .nav__burger {
    display: block;
    width: 36px;
    height: 36px;
    margin-left: auto;
    border-radius: 999px;
  }

  .nav__burger span {
    left: 10px;
    width: 14px;
    height: 1px;
    background: var(--gold-bright);
  }

  .nav__burger span:nth-child(1) { top: 12px; }
  .nav__burger span:nth-child(2) { top: 17px; }
  .nav__burger span:nth-child(3) { top: 22px; }
  .nav__burger[aria-expanded="true"] span:nth-child(1),
  .nav__burger[aria-expanded="true"] span:nth-child(3) { top: 17px; }

  .mobile-menu {
    top: calc(max(10px, env(safe-area-inset-top)) + 46px);
    left: 16px;
    right: 16px;
    border-color: rgba(214,185,124,0.16);
    border-radius: 16px;
    background: rgba(5,4,4,0.95);
  }
}

/* Final HUD override: keep the progress line visible on desktop only. */
@media (min-width: 768px) {
  .scroll-hud {
    display: flex !important;
    top: 50%;
    right: clamp(16px, 2.2vw, 34px);
    bottom: auto;
    transform: translateY(-50%);
    flex-direction: column;
    z-index: 35;
    pointer-events: none;
  }

  .scroll-hud__line {
    width: 1px;
    height: clamp(118px, 18vh, 190px);
  }

  .scroll-hud__fill {
    width: 100% !important;
    height: 100%;
  }
}

@media (max-width: 767px) {
  .scroll-hud {
    display: none !important;
  }
}

/* Privacy, consent preference and lead form backend integration */
.hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.quote__privacy,
.footer__link-btn {
  display: inline;
  border: 0;
  color: var(--gold-bright);
  background: transparent;
  padding: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.privacy-dock {
  position: fixed;
  z-index: 80;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(460px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(214,185,124,0.22);
  border-radius: 8px;
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(19,15,12,0.94), rgba(7,6,5,0.92)),
    rgba(5,4,4,0.92);
  box-shadow: 0 22px 70px rgba(0,0,0,0.4);
  backdrop-filter: blur(16px);
}

.privacy-dock__copy strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
}

.privacy-dock__copy p {
  margin: 0;
  color: rgba(248,241,229,0.68);
  font-size:16px;
  line-height: 1.55;
}

.privacy-dock__actions,
.privacy-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.privacy-btn,
.privacy-link {
  min-height: 38px;
  border: 1px solid rgba(214,185,124,0.22);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(214,185,124,0.06);
  padding: 0 13px;
  font: 600 12px/1 var(--font-sans);
  letter-spacing: 0;
  cursor: pointer;
}

.privacy-link {
  border-color: transparent;
  color: var(--gold-bright);
  background: transparent;
  padding-left: 0;
}

.privacy-btn--gold {
  border-color: transparent;
  color: #1a1208;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
}

.privacy-fab {
  position: fixed;
  z-index: 78;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  min-height: 36px;
  border: 1px solid rgba(214,185,124,0.18);
  border-radius: 999px;
  color: rgba(248,241,229,0.74);
  background: rgba(5,4,4,0.48);
  padding: 0 12px;
  font: 600 11px/1 var(--font-sans);
  cursor: pointer;
}

.privacy-dock:not([hidden]) + .privacy-fab {
  display: none;
}

.privacy-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4,3,3,0.72);
}

.privacy-modal__panel {
  position: relative;
  width: min(900px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid rgba(214,185,124,0.24);
  border-radius: 8px;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(23,17,13,0.98), rgba(8,7,6,0.98));
  box-shadow: 0 30px 90px rgba(0,0,0,0.52);
  padding: clamp(20px, 3vw, 32px);
}

.privacy-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(214,185,124,0.18);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(5,4,4,0.42);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.privacy-modal__kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-bright);
  font-size:16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.privacy-modal h2 {
  width: min(680px, 100%);
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 500;
  letter-spacing: 0;
}

.privacy-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.privacy-modal__grid section {
  border: 1px solid rgba(214,185,124,0.12);
  border-radius: 8px;
  background: rgba(5,4,4,0.34);
  padding: 14px;
}

.privacy-modal h3 {
  margin: 0 0 7px;
  font-size:16px;
  letter-spacing: 0;
}

.privacy-modal p {
  margin: 0;
  color: rgba(248,241,229,0.68);
  font-size:16px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .privacy-dock {
    bottom: calc(max(16px, env(safe-area-inset-bottom)) + 70px);
    gap: 10px;
    padding: 12px;
  }

  .privacy-fab {
    bottom: calc(max(16px, env(safe-area-inset-bottom)) + 72px);
  }

  .privacy-dock__copy strong {
    font-size: 16px;
  }

  .privacy-dock__copy p {
    font-size:16px;
    line-height: 1.45;
  }

  .privacy-dock__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-modal__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .privacy-link,
  .privacy-btn {
    width: 100%;
    justify-content: center;
  }

  .privacy-link {
    grid-column: 1 / -1;
    min-height: 26px;
    padding: 0;
  }

  .privacy-modal__grid {
    grid-template-columns: 1fr;
  }
}
