/* =================================================================
   INFINITY BODY SHAPE — Beauty Equipment
   Premium light editorial (white) — Playfair Display + Inter
   ================================================================= */

:root {
  /* Surface — warm white editorial */
  --paper:        #FBFAF8;
  --paper-alt:    #F5F2EC;   /* alternating section tint */
  --card:         #FFFFFF;

  /* Ink */
  --ink:          #17150F;
  --ink-soft:     #5E5848;
  --ink-faint:    #968F80;

  /* Accent — rich Italian gold */
  --gold:         #B08A38;
  --gold-bright:  #C9A24B;
  --gold-deep:    #8C6C2A;
  --gold-tint:    #F3ECDC;

  /* Lines */
  --line:         rgba(23, 21, 15, 0.10);
  --line-soft:    rgba(23, 21, 15, 0.06);

  /* Layout */
  --maxw:         1180px;
  --maxw-text:    860px;
  --gutter:       clamp(20px, 5vw, 56px);
  --radius:       18px;
  --radius-sm:    12px;

  /* Shadow */
  --shadow-sm:    0 1px 2px rgba(23,21,15,0.04), 0 4px 14px -8px rgba(23,21,15,0.12);
  --shadow-md:    0 4px 24px -10px rgba(23,21,15,0.16);
  --shadow-gold:  0 10px 30px -10px rgba(176,138,56,0.45);

  /* Motion */
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
  --dur:          0.7s;

  --display: "Playfair Display", Georgia, serif;
  --body:    "Inter", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.alt { background: var(--paper-alt); }

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1.2rem;
}
.section-head { max-width: 680px; margin: 0 auto clamp(44px, 6vw, 80px); text-align: center; }
.section-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.1; letter-spacing: -0.01em; color: var(--ink);
}
.lead { color: var(--ink-soft); font-size: 1.1rem; }
.accent { color: var(--gold-deep); font-style: italic; }

section { padding: clamp(64px, 9vw, 128px) 0; }

/* ---------- Badge pill (hero eyebrow) ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.55em 1.1em; border-radius: 100px;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-deep);
}
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--body); font-weight: 600; font-size: 0.95rem;
  padding: 0.85em 1.5em; border-radius: var(--radius-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 1.05em 1.9em; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #2A2008;
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(176,138,56,0.6), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn--gold:active { transform: translateY(0); }

.btn--outline {
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255,255,255,0.07); color: #F6F2E9;
  border: 1px solid rgba(255,255,255,0.30); backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.14); border-color: var(--gold-bright); color: #fff; transform: translateY(-2px); }

.btn__spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(42,32,8,0.3); border-top-color: #2A2008;
  display: none; animation: spin 0.7s linear infinite;
}
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading .btn__label { opacity: 0.6; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Media (real photography) ---------- */
.media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--paper-alt); box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media__caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  padding: 2.4rem 1.4rem 1.2rem; color: #F8F6F1;
  font-size: 0.86rem; letter-spacing: 0.01em;
  background: linear-gradient(to top, rgba(15,14,12,0.82), rgba(15,14,12,0));
}
.media__caption strong { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin-right: 0.2rem; }
.media--hero { aspect-ratio: 2 / 1; }
.media--product, .media--italy { aspect-ratio: 3 / 4; }
@media (max-width: 600px) { .media--hero { aspect-ratio: 4 / 3; } }

/* =================================================================
   NAV
   ================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(251, 250, 248, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 0.9rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.nav__brand-logo { height: 62px; width: auto; transition: filter 0.4s var(--ease); }

/* Light-on-dark while transparent over the cinematic hero */
.nav:not(.is-scrolled) .nav__brand-logo { filter: brightness(0) invert(1); }
.nav:not(.is-scrolled) .nav__links a { color: rgba(246,242,233,0.85); }
.nav:not(.is-scrolled) .nav__links a:hover { color: #fff; }
.nav:not(.is-scrolled) .nav__toggle span { background: #F6F2E9; }

.nav__links { display: flex; gap: 2.1rem; }
.nav__links a {
  font-size: 0.93rem; font-weight: 500; color: var(--ink); position: relative; padding: 0.3em 0;
  transition: color 0.25s var(--ease); white-space: nowrap;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--gold-deep); }
.nav__links a:hover::after { width: 100%; }

/* Tight band between full desktop and the mobile menu breakpoint */
@media (max-width: 1180px) {
  .nav__inner { gap: 1rem; }
  .nav__links { gap: 1.1rem; }
  .nav__links a { font-size: 0.88rem; }
  .nav__cta { font-size: 0.88rem; padding: 0.8em 1.1em; white-space: nowrap; }
}

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none; flex-direction: column; gap: 0.2rem;
  padding: 0.5rem var(--gutter) 1.6rem;
  background: rgba(251,250,248,0.98); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a { padding: 0.85rem 0; font-size: 1.05rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.nav__mobile .btn { margin-top: 1rem; border-bottom: none; }

@media (max-width: 940px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }
}

/* =================================================================
   HERO
   ================================================================= */
/* Cinematic full-bleed stage — dark, immersive, breaks into the light body below */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: clamp(140px, 20vh, 230px) 0 clamp(96px, 16vh, 150px);
  text-align: center; isolation: isolate; overflow: hidden;
  background: #0B0906; color: #F6F2E9;
}

/* Ken Burns backdrop */
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg picture { display: contents; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.14); transform-origin: 60% 40%;
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.14) translate3d(0, 0, 0); }
  to   { transform: scale(1.26) translate3d(-2%, -3%, 0); }
}

/* Layered cinematic scrim — gold bloom up top, deep vignette bottom */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(110% 80% at 50% 8%, rgba(201,162,75,0.24), transparent 52%),
    linear-gradient(180deg, rgba(11,9,6,0.62) 0%, rgba(11,9,6,0.40) 36%, rgba(11,9,6,0.78) 78%, rgba(11,9,6,0.96) 100%),
    radial-gradient(150% 130% at 50% 130%, rgba(11,9,6,0.9), transparent 58%);
}
.hero__grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.45; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero .badge {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16);
  color: var(--gold-bright); backdrop-filter: blur(10px);
}
.hero__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.7rem, 7.4vw, 6rem); line-height: 1.0; letter-spacing: -0.025em;
  margin: 1.6rem auto 0; max-width: 17ch; text-wrap: balance;
  text-shadow: 0 2px 50px rgba(0,0,0,0.45);
}
.hero__title span { display: block; }
.hero__title > span:first-child { color: #F6F2E9; }
.hero__title-accent { margin-top: 0.08em; }
.hero__lead {
  max-width: 46ch; color: rgba(246,242,233,0.82); line-height: 1.5;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem); margin: 1.5rem auto 0; text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2.6rem; }

/* Glass stat strip floating over the scene */
.hero__stats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(1.4rem, 4vw, 3.4rem); margin-top: clamp(2.6rem, 5vw, 3.6rem);
  padding: 1.3rem clamp(1.6rem, 4vw, 2.8rem); border-radius: 18px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 30px 70px -34px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.08);
}
.hero__stats li { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.hero__stats strong {
  font-family: var(--display); font-weight: 600; line-height: 1;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem); color: var(--gold-bright);
}
.hero__stats span { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246,242,233,0.6); }

/* Scroll cue */
.hero__scroll {
  position: absolute; left: 50%; bottom: clamp(20px, 4vh, 42px); transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 1px solid rgba(246,242,233,0.4); border-radius: 14px;
  display: grid; justify-items: center; padding-top: 8px;
  transition: border-color 0.3s var(--ease);
}
.hero__scroll:hover { border-color: var(--gold-bright); }
.hero__scroll-line { width: 3px; height: 8px; border-radius: 2px; background: var(--gold-bright); animation: scrollcue 1.9s var(--ease) infinite; }
@keyframes scrollcue {
  0%   { opacity: 0; transform: translateY(-3px); }
  35%  { opacity: 1; }
  70%  { opacity: 1; transform: translateY(11px); }
  100% { opacity: 0; transform: translateY(15px); }
}

@media (max-width: 600px) {
  .hero__stats { gap: 1.4rem 2rem; }
  .hero__scroll { display: none; }
}

/* =================================================================
   PROOF STRIP
   ================================================================= */
.proof { background: var(--ink); color: #F4F1EA; padding: clamp(48px, 6vw, 80px) 0; }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof__item { padding: 0.5rem 1.5rem; text-align: center; border-left: 1px solid rgba(244,241,234,0.12); }
.proof__item:first-child { border-left: none; }
.proof__num {
  display: block; font-family: var(--display); font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}
.proof__label { display: block; margin-top: 0.6rem; font-size: 0.86rem; color: rgba(244,241,234,0.7); }
@media (max-width: 680px) {
  .proof__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
  .proof__item:nth-child(odd) { border-left: none; }
}

/* =================================================================
   MANIFESTO
   ================================================================= */
.manifesto { text-align: center; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-alt) 100%); }
.manifesto__inner { position: relative; z-index: 1; }
.manifesto .eyebrow { margin-bottom: 1.5rem; position: relative; }
/* short gold rule under the eyebrow */
.manifesto .eyebrow::after {
  content: ""; display: block; width: 40px; height: 2px; margin: 0.9rem auto 0;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold-deep));
}
.manifesto__statement {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.4; letter-spacing: -0.005em;
  max-width: 34ch; margin: 0 auto; color: var(--ink); text-wrap: balance;
}
.manifesto__statement em { font-style: italic; color: var(--gold-deep); }

/* before -> after shift */
.shift {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch;
  gap: clamp(0.8rem, 2vw, 1.4rem);
  max-width: 920px; margin: clamp(48px, 6vw, 76px) auto 0; text-align: left;
}
.shift__col {
  display: flex; flex-direction: column; gap: 0.8rem;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow-sm);
}
.shift__col--accent {
  background: linear-gradient(155deg, var(--gold-tint), var(--card));
  border-color: rgba(176,138,56,0.35); box-shadow: var(--shadow-md);
}
.shift__tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.shift__col--accent .shift__tag { color: var(--gold-deep); }
.shift__col p { color: var(--ink-soft); font-size: 1.02rem; }
.shift__col--accent p { color: var(--ink); }
.shift__arrow { display: grid; place-items: center; color: var(--gold); }
.shift__arrow svg { width: 30px; height: 30px; }
@media (max-width: 600px) {
  .shift { grid-template-columns: 1fr; }
  .shift__arrow { transform: rotate(90deg); justify-self: center; }
}

/* =================================================================
   CARD (shared)
   ================================================================= */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

/* =================================================================
   OUTCOMES
   ================================================================= */
.outcomes__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; perspective: 1300px; }
.outcome { padding: clamp(1.8rem, 3vw, 2.6rem); position: relative; overflow: hidden; }
/* growing gold edge */
.outcome::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  transform: scaleY(0); transform-origin: 0 0; transition: transform 0.45s var(--ease);
}
.outcome--wide { grid-column: 1 / -1; }
.outcome:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(176,138,56,0.35); }
.outcome:hover::after { transform: scaleY(1); }
/* giant ghost watermark number */
.outcome__index {
  position: absolute; top: -0.32em; right: 0.1em; z-index: 0;
  font-family: var(--display); font-weight: 700; font-size: 7rem; line-height: 1;
  color: var(--gold); opacity: 0.07; letter-spacing: -0.02em;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.outcome:hover .outcome__index { opacity: 0.13; transform: translateY(4px) scale(1.04); }
.outcome h3 { position: relative; z-index: 1; font-family: var(--display); font-weight: 500; font-size: 1.5rem; margin: 0.7rem 0 0.5rem; }
.outcome p { position: relative; z-index: 1; color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 680px) { .outcomes__grid { grid-template-columns: 1fr; } .outcome--wide { grid-column: 1; } }

/* =================================================================
   FLAGSHIP
   ================================================================= */
/* Dark dramatic stage — breaks the white rhythm */
.flagship { position: relative; overflow: hidden; background: radial-gradient(120% 120% at 80% 0%, #211D14, #14110B 60%); color: #F4F1EA; isolation: isolate; }
.flagship .eyebrow { color: var(--gold-bright); }
.flagship__inner { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.flagship__name {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 0.6rem;
}
.flagship__tagline { color: rgba(244,241,234,0.72); font-size: 1.15rem; margin-bottom: 2rem; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(244,241,234,0.1); border: 1px solid rgba(244,241,234,0.12); border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.spec { background: rgba(255,255,255,0.03); padding: 1.1rem 1.3rem; transition: background 0.35s var(--ease); }
.spec:hover { background: rgba(201,162,75,0.12); }
.spec dt { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244,241,234,0.5); margin-bottom: 0.3rem; }
.spec dd { font-size: 1rem; color: #F4F1EA; }
@media (max-width: 820px) { .flagship__inner { grid-template-columns: 1fr; } .flagship__media { order: -1; max-width: 460px; } }

/* =================================================================
   TECH GRID
   ================================================================= */
.tech__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; perspective: 1300px; }
.tech-card { padding: clamp(1.5rem, 2.4vw, 2rem); position: relative; overflow: hidden; }
/* gold top-bar reveals on hover */
.tech-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.45s var(--ease);
}
.tech-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(176,138,56,0.35); }
.tech-card:hover::before { transform: scaleX(1); }
.tech-card__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: var(--gold-deep); background: var(--gold-tint); margin-bottom: 1.2rem; transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease); }
.tech-card:hover .tech-card__icon { transform: rotate(-6deg) scale(1.08); background: var(--gold-bright); color: #2A2008; }
.tech-card__icon svg { width: 24px; height: 24px; }
/* SVG line-draw on scroll reveal */
.tech-card__icon svg path, .tech-card__icon svg circle {
  stroke-dasharray: 120; stroke-dashoffset: 120;
  transition: stroke-dashoffset 1.1s var(--ease);
}
.tech-card.is-in .tech-card__icon svg path, .tech-card.is-in .tech-card__icon svg circle { stroke-dashoffset: 0; }
.tech-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; margin-bottom: 0.5rem; }
.tech-card p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; }
.tech__note { text-align: center; max-width: 660px; margin: clamp(40px, 5vw, 60px) auto 0; color: var(--ink-soft); }
@media (max-width: 960px) { .tech__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tech__grid { grid-template-columns: 1fr; } }

/* =================================================================
   MADE IN ITALY
   ================================================================= */
.italy__inner { display: grid; grid-template-columns: 1fr 0.8fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.italy__text .lead { margin: 1.2rem 0 1.8rem; max-width: 520px; }
.checklist { display: grid; gap: 0.9rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.italy__media { max-width: 420px; }
.italy__flag { width: 56px; height: 13px; border-radius: 3px; position: relative; z-index: 1; background: linear-gradient(90deg, #2e8b57 33%, #f4f2ed 33% 66%, #c1352b 66%); }
@media (max-width: 760px) { .italy__inner { grid-template-columns: 1fr; } .italy__media { order: -1; } }

/* =================================================================
   INCLUDED
   ================================================================= */
.included__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.incl { padding: clamp(1.4rem, 2.4vw, 1.9rem); position: relative; overflow: hidden; }
/* gold corner notch */
.incl::before {
  content: ""; position: absolute; top: 0; right: 0; width: 0; height: 0;
  border-style: solid; border-width: 0 28px 28px 0;
  border-color: transparent var(--gold-tint) transparent transparent;
  transition: border-right-color 0.4s var(--ease);
}
.incl:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(176,138,56,0.35); }
.incl:hover::before { border-right-color: var(--gold-bright); }
.incl h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--gold-deep); padding-bottom: 0.5rem; border-bottom: 1px solid var(--line-soft); }
.incl p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.55; }
@media (max-width: 900px) { .included__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .included__grid { grid-template-columns: 1fr; } }

/* =================================================================
   GUARANTEES
   ================================================================= */
.guarantees__inner { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.guarantees__head .lead { margin-top: 1.3rem; max-width: 460px; }
.guarantees__list { display: grid; gap: 0.8rem; }
.guarantees__list li {
  display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem 1.3rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); box-shadow: var(--shadow-sm);
  font-size: 1.02rem; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.guarantees__list li:hover { border-color: rgba(176,138,56,0.4); transform: translateX(6px); }
.guarantees__mark {
  flex-shrink: 0; min-width: 66px; height: 44px; padding-inline: 0.6rem; border-radius: 10px;
  display: grid; place-items: center; font-family: var(--display); font-size: 1.05rem; font-weight: 600;
  color: var(--gold-deep); background: var(--gold-tint);
}
@media (max-width: 760px) { .guarantees__inner { grid-template-columns: 1fr; } }

/* =================================================================
   AUDIENCE
   ================================================================= */
.audience__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; max-width: 860px; margin: 0 auto; }
.audience__tags span {
  padding: 0.7em 1.3em; border: 1px solid var(--line); border-radius: 100px; background: var(--card);
  font-size: 0.94rem; color: var(--ink-soft); box-shadow: var(--shadow-sm);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.audience__tags span:hover { color: #2A2008; background: var(--gold-bright); border-color: var(--gold); transform: translateY(-2px); }

/* =================================================================
   PROCESS
   ================================================================= */
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; position: relative; }
/* connecting timeline line behind the node row */
.process__steps::before {
  content: ""; position: absolute; top: 22px; left: 11%; right: 11%; height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
  opacity: 0.4; z-index: 0;
}
.process-step { position: relative; padding-top: 4rem; }
.process-step__num {
  position: absolute; top: 0; left: 0; z-index: 1;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 1.1rem; font-weight: 600; color: var(--gold-deep);
  background: var(--card); border: 2px solid var(--gold);
  box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}
.process-step:hover .process-step__num { transform: scale(1.1); background: var(--gold-bright); color: #2A2008; }
.process-step h3 { font-family: var(--display); font-weight: 500; font-size: 1.35rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 860px) { .process__steps { grid-template-columns: 1fr 1fr; } .process__steps::before { display: none; } }
@media (max-width: 480px) { .process__steps { grid-template-columns: 1fr; } }

/* =================================================================
   LEAD
   ================================================================= */
.lead__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.lead__lead { color: var(--ink-soft); font-size: 1.08rem; margin-top: 1.2rem; max-width: 440px; }
.lead__direct { margin-top: 2.4rem; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lead__contact { display: flex; flex-direction: column; gap: 0.25rem; padding: 1.05rem 1.3rem; background: var(--card); transition: background 0.3s var(--ease); }
a.lead__contact:hover { background: var(--gold-tint); }
.lead__contact-k { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.lead__contact-v { font-size: 1.02rem; color: var(--ink); }

.lead__form { padding: clamp(1.6rem, 3vw, 2.6rem); position: relative; }
.field { margin-bottom: 1.05rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.field label { font-size: 0.82rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 0.4rem; }
.field label span { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 1rem; font-size: 1rem; font-family: var(--body);
  color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--card); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,138,56,0.15); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23B08A38' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.field.is-invalid input, .field.is-invalid select { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,0.12); }
.field__error { color: #B43526; font-size: 0.78rem; margin-top: 0.4rem; }

.field-check { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.86rem; color: var(--ink-soft); cursor: pointer; margin-top: 0.4rem; }
.field-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }
.field-check.is-invalid { color: #B43526; }
.field-check.is-invalid input { outline: 2px solid #C0392B; outline-offset: 2px; border-radius: 4px; }
[data-error-for="consent"] { display: block; margin-bottom: 0.8rem; }

.lead__formnote { font-size: 0.8rem; color: var(--ink-faint); margin-top: 1rem; text-align: center; }

.lead__success {
  position: absolute; inset: 0; background: var(--card); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 2rem; gap: 0.7rem; animation: fadeUp 0.5s var(--ease);
}
.lead__success-mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-tint); color: var(--gold-deep); }
.lead__success-mark svg { width: 30px; height: 30px; }
.lead__success h3 { font-family: var(--display); font-weight: 500; font-size: 1.7rem; }
.lead__success p { color: var(--ink-soft); max-width: 360px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 820px) { .lead__inner { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .field-row { grid-template-columns: 1fr; } }

/* =================================================================
   GALLERY
   ================================================================= */
.gallery__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem;
}
.gallery__item { margin: 0; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__cta { text-align: center; margin-top: 2rem; }
@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item--wide { grid-column: span 2; }
}

/* =================================================================
   FINAL CTA
   ================================================================= */
.finalcta { background: linear-gradient(180deg, var(--paper), var(--gold-tint)); text-align: center; }
.finalcta__inner { display: flex; flex-direction: column; align-items: center; }
.finalcta h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2.1rem, 5.4vw, 4rem); line-height: 1.06; letter-spacing: -0.015em; margin-bottom: 1rem; max-width: 16ch; }
.finalcta p { color: var(--ink-soft); font-size: 1.15rem; margin-bottom: 2.2rem; }

/* =================================================================
   FOOTER
   ================================================================= */
.footer { background: var(--ink); color: rgba(244,241,234,0.75); padding-top: clamp(48px, 7vw, 80px); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 0.8fr 1.2fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__logo { height: 42px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; margin-bottom: 1.1rem; }
.footer__brand p { font-size: 0.92rem; max-width: 340px; }
.footer__col h4 { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244,241,234,0.45); margin-bottom: 1.1rem; }
.footer__col a, .footer__col p { display: block; color: rgba(244,241,234,0.75); font-size: 0.94rem; margin-bottom: 0.7rem; transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--gold-bright); }
.footer__cta { color: var(--gold-bright) !important; font-weight: 600; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.6rem 0; border-top: 1px solid rgba(244,241,234,0.12); font-size: 0.8rem; color: rgba(244,241,234,0.5); }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer__inner { grid-template-columns: 1fr; } }

/* =================================================================
   WHATSAPP FLOAT
   ================================================================= */
.whatsapp {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 900;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px -6px rgba(37,211,102,0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.whatsapp svg { width: 30px; height: 30px; }
.whatsapp:hover { transform: scale(1.08); box-shadow: 0 12px 30px -6px rgba(37,211,102,0.7); }

/* =================================================================
   REVEAL
   ================================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }

/* =================================================================
   CINEMATIC LAYER
   ================================================================= */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 1100;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold));
  box-shadow: 0 0 12px rgba(201,162,75,0.6);
}

/* Headline line-mask reveal (applied via JS: wraps each line) */
.line-mask { display: block; overflow: hidden; }
.line-mask > span {
  display: block; transform: translateY(110%);
  transition: transform 0.9s var(--ease); will-change: transform;
}
.line-mask.is-in > span { transform: translateY(0); }

/* Image curtain reveal — clip wipe + slow zoom.
   Default state is VISIBLE (fail-safe): the wipe plays as an entrance
   animation only when .is-in is added, so content never stays hidden. */
.media img { will-change: transform; }
.media.is-in { animation: curtain 1.05s var(--ease) both; }
.media.is-in img { animation: curtainZoom 1.5s var(--ease) both; }
.gallery__item.is-in { animation: curtain 0.95s var(--ease) both; }
@keyframes curtain { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0% 0); } }
@keyframes curtainZoom { from { transform: scale(1.16); } to { transform: scale(1.05); } }

/* Gallery: editorial grayscale -> color, depth on hover */
.gallery__item img { filter: grayscale(1) contrast(1.02); transition: transform 0.7s var(--ease), filter 0.7s var(--ease); }
.gallery__item:hover { z-index: 2; }
.gallery__item:hover img { filter: grayscale(0); transform: scale(1.07); }

/* Animated gradient shimmer on accent display type.
   Note: .hero__title-accent text may be wrapped in a child <span> by JS
   (line-mask), so the gradient/clip must also apply to that span. */
.hero__title-accent, .hero__title-accent > span, .flagship__name {
  background: linear-gradient(100deg, var(--gold-deep) 20%, var(--gold-bright) 45%, #F0DCA6 50%, var(--gold-bright) 55%, var(--gold-deep) 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }

/* 3D tilt cards */
.tilt { transform-style: preserve-3d; transition: transform 0.3s var(--ease), box-shadow 0.4s var(--ease); will-change: transform; }
.tilt__inner { transform: translateZ(28px); transition: transform 0.3s var(--ease); }

/* Magnetic buttons */
.btn--gold { will-change: transform; }

/* Ambient floating orbs */
.orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: 0.5; will-change: transform; }
.orb--a { width: 380px; height: 380px; top: -8%; left: -6%; background: radial-gradient(circle, rgba(201,162,75,0.45), transparent 68%); animation: float 16s ease-in-out infinite; }
.orb--b { width: 300px; height: 300px; bottom: -10%; right: -4%; background: radial-gradient(circle, rgba(140,108,42,0.4), transparent 68%); animation: float 20s ease-in-out infinite reverse; }
.orb--c { width: 340px; height: 340px; bottom: -12%; left: 8%; background: radial-gradient(circle, rgba(201,162,75,0.4), transparent 68%); animation: float 18s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px,-26px); } }
.flagship__inner, .finalcta__inner { position: relative; z-index: 1; }

/* Hero cursor spotlight */
.hero { isolation: isolate; }
.hero__spot {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  transition: opacity 0.6s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 32%), rgba(201,162,75,0.16), transparent 60%);
}
.hero:hover .hero__spot { opacity: 1; }

/* Section title underline draw on reveal */
.section-title { position: relative; }

/* Proof numbers subtle glow pulse */
.proof__num { text-shadow: 0 0 0 transparent; transition: text-shadow 0.6s var(--ease); }
.proof__item.is-in .proof__num { text-shadow: 0 0 26px rgba(201,162,75,0.35); }

/* Nav auto-hide on scroll down */
.nav { transform: translateY(0); transition: transform 0.45s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.nav.is-hidden { transform: translateY(-100%); }

/* =================================================================
   REDUCED MOTION — disable all cinematic motion
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .line-mask > span { transform: none !important; }
  .media, .gallery__item { clip-path: none !important; }
  .media img { transform: none !important; }
  .gallery__item img { filter: none !important; }
  .tech-card__icon svg path, .tech-card__icon svg circle { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
  .hero__title-accent, .flagship__name { animation: none !important; }
  .orb { animation: none !important; }
  .media__sheen { display: none !important; }
  .hero__bg img { animation: none !important; transform: scale(1.06) !important; }
  .hero__scroll-line { animation: none !important; }
  .hero__spot { display: none !important; }
  .scroll-progress { display: none !important; }
  .nav.is-hidden { transform: none !important; }
  .whatsapp, .btn, .tilt { transition: none !important; }
  * { scroll-behavior: auto !important; }
}
