/* ==========================================================================
   AURA ESTETICA — Beauty Studio · Torino
   Design system: soft luxury / editorial beauty
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #FAF6F0;
  --bg-alt: #F2EBE1;
  --sand: #EAE1D3;
  --ink: #2A211A;
  --ink-2: #55493F;
  --ink-3: #7A6E62;
  --line: rgba(42, 33, 26, .14);
  --line-strong: rgba(42, 33, 26, .3);
  --gold: #B4946C;
  --gold-2: #C8AD8B;
  --cream: #EFE7DB;
  --white: #FFFDF9;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Avenir Next', 'Segoe UI', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-2: cubic-bezier(.77, 0, .18, 1);
  --header-h: 78px;
  --radius: 2px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }

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

body {
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.75 var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--gold); color: var(--white); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

[id] { scroll-margin-top: calc(var(--header-h) + 28px); }

/* Film grain — subtle editorial texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2100;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 2200;
  background: var(--ink);
  color: var(--white);
  padding: .8rem 1.4rem;
  font: 500 .72rem/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: .005em; color: var(--ink); }

.h-display { font-size: clamp(2.55rem, 6.2vw, 5.1rem); line-height: 1.04; }
.h-xl { font-size: clamp(2.1rem, 4.4vw, 3.7rem); line-height: 1.08; }
.h-lg { font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.14; }
.h-md { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.22; }

p { color: var(--ink-2); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.16rem); font-weight: 300; line-height: 1.8; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .95rem;
  font: 500 .68rem/1 var(--sans);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before { content: ""; width: 2.4rem; height: 1px; background: var(--gold); flex: none; }
.eyebrow.center::after { content: ""; width: 2.4rem; height: 1px; background: var(--gold); flex: none; }

.it-serif { font-family: var(--serif); font-style: italic; font-weight: 500; }

/* ---------- Layout ---------- */
.container { width: min(1250px, 100% - clamp(2.4rem, 8vw, 7rem)); margin-inline: auto; }

.section { padding-block: clamp(4.2rem, 9vw, 8.2rem); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: var(--cream); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(239, 231, 219, .78); }
.section-dark .eyebrow { color: var(--gold-2); }

.section-head { display: grid; gap: 1.3rem; max-width: 700px; margin-bottom: clamp(2.6rem, 5.5vw, 4.6rem); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head .h-xl, .section-head .h-lg { max-width: 18ch; }
.section-head.center .h-xl, .section-head.center .h-lg { max-width: 22ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  padding: 1.08rem 2.3rem;
  font: 500 .7rem/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.btn .i { transition: transform .45s var(--ease); }
.btn:hover { background: transparent; color: var(--ink); }
.btn:hover .i { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn-light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-light:hover { background: transparent; color: var(--white); }

.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

.btn-ghost-light { background: transparent; border-color: rgba(255, 253, 249, .5); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn-gold:hover { background: transparent; color: var(--gold-2); }

.btn-sm { padding: .82rem 1.55rem; letter-spacing: .2em; font-size: .66rem; }

/* Icone nei pulsanti: mai compresse dal flex, dimensioni certe */
.btn > svg { flex: none; }
.btn > svg:first-child { width: 15px; height: 15px; }

/* ---------- Link with arrow ---------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font: 500 .68rem/1 var(--sans);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: .5rem;
  position: relative;
}
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: var(--gold);
  transform: scaleX(.32);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow .i { transition: transform .5s var(--ease); }
.link-arrow:hover .i { transform: translateX(5px); }
.on-dark .link-arrow, .link-arrow.light { color: var(--white); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  color: var(--white);
  transition: background .45s ease, color .45s ease, box-shadow .45s ease;
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h);
  width: min(1380px, 100% - clamp(1.6rem, 6vw, 5rem));
  margin-inline: auto;
}
.site-header.scrolled {
  background: rgba(250, 246, 240, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 14px 44px rgba(42, 33, 26, .07);
}

.brand { display: inline-flex; flex-direction: column; line-height: 1; color: inherit; z-index: 960; }
.brand-name { font: 600 1.45rem/1 var(--serif); letter-spacing: .05em; }
.brand-sub { font: 500 .54rem/1 var(--sans); letter-spacing: .6em; text-transform: uppercase; color: var(--gold-2); margin-top: .4rem; padding-left: .08em; }

.main-nav ul { display: flex; gap: clamp(1.3rem, 2.4vw, 2.5rem); }
.main-nav a {
  font: 500 .66rem/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  position: relative;
  padding: .65rem 0;
  opacity: .88;
  transition: opacity .3s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { opacity: 1; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 1.1rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: 44px; height: 44px;
  z-index: 970;
  color: inherit;
}
.nav-toggle .bars { display: block; width: 26px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), width .35s ease; }
.nav-toggle .bars:last-child { width: 17px; }
.nav-toggle[aria-expanded="true"] .bars:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars:last-child { width: 26px; transform: translateY(-4.25px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 940;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 1.5rem) clamp(1.4rem, 7vw, 3rem) 2.6rem;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .65s var(--ease-2), visibility 0s .65s;
}
.mobile-menu.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .65s var(--ease-2); }
body.menu-open { overflow: hidden; }

.menu-links a {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  font: 600 clamp(2rem, 7.5vw, 3rem)/1.3 var(--serif);
  color: var(--ink);
  padding: .45rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease, transform .6s var(--ease), color .3s;
}
.menu-links a .idx { font: 400 .68rem/1 var(--sans); letter-spacing: .22em; color: var(--gold); }
.menu-links a:hover { color: var(--gold); }
.mobile-menu.open .menu-links a { opacity: 1; transform: none; transition-delay: calc(.28s + var(--i) * .07s), calc(.28s + var(--i) * .07s); }

.menu-foot { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; opacity: 0; transition: opacity .6s ease .6s; }
.mobile-menu.open .menu-foot { opacity: 1; }
.menu-foot .m-phone { font: 500 .78rem/1 var(--sans); letter-spacing: .18em; color: var(--ink-3); }
.menu-foot .m-ig { display: inline-flex; align-items: center; gap: .5rem; font: 500 .78rem/1 var(--sans); letter-spacing: .18em; color: var(--ink-3); }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 420px) {
  .header-cta .btn { padding: .78rem 1.15rem; font-size: .62rem; }
}

/* Stato scrolled: il pulsante passa a pieno ink per contrasto su fondo avorio */
.site-header.scrolled .header-cta .btn-light { background: var(--ink); border-color: var(--ink); color: var(--white); }
.site-header.scrolled .header-cta .btn-light:hover { background: transparent; color: var(--ink); }

/* Menu mobile aperto: header leggibile su fondo avorio */
body.menu-open .site-header { color: var(--ink); background: transparent; box-shadow: none; }
body.menu-open .site-header .header-cta .btn-light { background: var(--ink); border-color: var(--ink); color: var(--white); }
body.menu-open .site-header .brand-sub { color: var(--gold); }

/* ==========================================================================
   HERO (homepage)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(102deg, rgba(30, 23, 17, .64) 0%, rgba(30, 23, 17, .18) 52%, rgba(30, 23, 17, .3) 100%),
    linear-gradient(to top, rgba(30, 23, 17, .85) 0%, rgba(30, 23, 17, .05) 52%);
}
.hero-inner { padding-bottom: 0; }
.hero-content { max-width: 840px; padding-top: calc(var(--header-h) + 5.5rem); }
.hero-content .eyebrow { color: rgba(255, 253, 249, .85); }
.hero-content .eyebrow::before { background: var(--gold-2); }
.hero h1 { color: var(--white); margin-top: 1.5rem; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold-2); }
.hero-sub {
  max-width: 590px;
  color: rgba(255, 253, 249, .85);
  font-weight: 300;
  font-size: clamp(.98rem, 1.4vw, 1.1rem);
  line-height: 1.8;
  margin-top: 1.6rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; padding-bottom: clamp(2.4rem, 4.5vh, 3.6rem); }

.hero-trust {
  border-top: 1px solid rgba(255, 253, 249, .22);
  padding-block: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 2rem;
  font: 500 .64rem/1.6 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, .82);
}
.hero-trust li { display: flex; align-items: center; gap: 1.1rem; }
.hero-trust li:not(:first-child)::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-2); }
@media (max-width: 760px) {
  .hero-trust { flex-direction: column; gap: .55rem; }
  .hero-trust li:not(:first-child)::before { display: none; }
  .hero-cta .btn { width: 100%; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee { border-bottom: 1px solid var(--line); padding-block: 1.05rem; overflow: hidden; background: var(--bg); }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track > span {
  white-space: nowrap;
  font: italic 500 1.05rem/1 var(--serif);
  letter-spacing: .05em;
  color: var(--ink-3);
  padding-right: .6rem;
}
.marquee-track b { color: var(--gold); font-style: normal; font-weight: 400; margin-inline: 1.4rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   INTRO (editorial split)
   ========================================================================== */
.intro-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.intro-copy .h-xl { margin: 1.5rem 0 1.9rem; max-width: 15ch; }
.intro-copy p { max-width: 54ch; }
.intro-copy p + p { margin-top: 1.1rem; }
.intro-note {
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font: italic 500 1.35rem/1.3 var(--serif);
  color: var(--gold);
  letter-spacing: .02em;
}
.intro-note::before { content: ""; width: 2.3rem; height: 1px; background: var(--gold); flex: none; }

/* Arched image motif */
.arch { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; position: relative; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.frame-offset { position: relative; }
.frame-offset::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--gold);
  border-radius: inherit;
  opacity: .65;
  pointer-events: none;
}
.section-dark .frame-offset::after { border-color: rgba(200, 173, 139, .5); }
.intro-media .arch { aspect-ratio: 3/3.9; }
.intro-media .frame-offset { margin-right: 16px; }
.intro-cap {
  margin-top: 1.15rem;
  font: 400 .68rem/1.6 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: right;
}
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-copy .h-xl { max-width: none; }
  .intro-media { max-width: 480px; }
}

/* ==========================================================================
   TRATTAMENTI — cards
   ========================================================================== */
.tgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.6rem, 4.5vw, 4.5rem) clamp(2rem, 4vw, 4.4rem);
}
.tcard:nth-child(even) { margin-top: 3.6rem; }
.tcard-media { display: block; position: relative; overflow: hidden; aspect-ratio: 3/3.35; border-radius: var(--radius); background: var(--sand); }
.tcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tcard:hover .tcard-media img { transform: scale(1.06); }
.tcard-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30, 23, 17, .34), transparent 42%);
}
.tcard-num {
  position: absolute;
  top: 1.1rem; left: 1.3rem;
  font: italic 500 1.5rem/1 var(--serif);
  color: var(--white);
  z-index: 2;
}
.tcard-body { padding-top: 1.5rem; display: grid; gap: .85rem; max-width: 46ch; }
.tcard-body h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
.tcard-body p { font-size: .96rem; }
.tcard-body .link-arrow { margin-top: .5rem; }
@media (max-width: 760px) {
  .tgrid { grid-template-columns: 1fr; }
  .tcard:nth-child(even) { margin-top: 0; }
}

/* ==========================================================================
   SIGNATURE (dark section)
   ========================================================================== */
.signature-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(3rem, 7vw, 6.8rem);
  align-items: center;
}
.signature-media { position: relative; }
.signature-media .arch { aspect-ratio: 4/5.1; }
.signature-media .frame-offset { margin-left: 16px; }
.signature-media .frame-offset::after { inset: 16px 16px -16px -16px; }
.sig-seal {
  position: absolute;
  top: 2rem; right: -1.6rem;
  width: 108px; height: 108px;
  border: 1px solid rgba(200, 173, 139, .55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(42, 33, 26, .55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font: italic 500 .95rem/1.35 var(--serif);
  color: var(--gold-2);
  letter-spacing: .06em;
}
.signature-copy .h-lg { margin-top: 1.5rem; }
.sig-desc { margin-top: 1.7rem; max-width: 50ch; }
.sig-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 3rem;
  margin-top: 2.3rem;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(239, 231, 219, .16);
}
.sig-meta .label { font: 500 .6rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); display: block; }
.sig-meta .val { font: 600 1.65rem/1.1 var(--serif); color: var(--white); margin-top: .45rem; display: block; }
.signature-copy .btn { margin-top: 2.5rem; }
@media (max-width: 900px) {
  .signature-grid { grid-template-columns: 1fr; }
  .signature-media { max-width: 460px; }
  .sig-seal { right: .6rem; width: 92px; height: 92px; font-size: .85rem; }
}

/* ==========================================================================
   PERCHÉ AURA — numbered features
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(2rem, 3.2vw, 3.2rem);
}
.why-item { border-top: 1px solid var(--line-strong); padding-top: 1.7rem; display: grid; gap: 1rem; align-content: start; }
.why-num { font: italic 500 1.5rem/1 var(--serif); color: var(--gold); }
.why-item h3 { font-size: 1.22rem; letter-spacing: .02em; }
.why-item p { font-size: .93rem; line-height: 1.75; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .why-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { position: relative; text-align: center; padding: clamp(2.2rem, 4.5vw, 3.6rem) 1rem; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.stat .num { font: 600 clamp(2.7rem, 4.8vw, 4.1rem)/1 var(--serif); color: var(--ink); }
.stat .num sup { color: var(--gold); font-size: .52em; font-weight: 500; margin-left: .06em; }
.stat .lab { margin-top: .85rem; font: 500 .63rem/1.6 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; row-gap: 1.4rem; }
  .stat + .stat::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ==========================================================================
   COLLAGE (home gallery)
   ========================================================================== */
.collage { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 96px; gap: clamp(.9rem, 1.6vw, 1.35rem); }
.collage figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collage figure:hover img { transform: scale(1.055); }
.collage figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1.2rem .85rem;
  background: linear-gradient(to top, rgba(30, 23, 17, .55), transparent);
  color: rgba(255, 253, 249, .92);
  font: 500 .6rem/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
}
.collage .c1 { grid-column: 1/6; grid-row: 1/6; }
.collage .c2 { grid-column: 6/10; grid-row: 1/5; }
.collage .c3 { grid-column: 10/13; grid-row: 1/7; }
.collage .c4 { grid-column: 1/4; grid-row: 6/9; }
.collage .c5 { grid-column: 4/10; grid-row: 5/9; }
.collage .c6 { grid-column: 10/13; grid-row: 7/10; }
.collage-cta { margin-top: clamp(2.2rem, 4vw, 3.2rem); display: flex; justify-content: center; }
@media (max-width: 900px) {
  .collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  /* azzera i placement desktop (i selettori .c* hanno specificità maggiore e
     creerebbero colonne impliche minuscole nella griglia a 2 colonne) */
  .collage .c1, .collage .c2, .collage .c3,
  .collage .c4, .collage .c5, .collage .c6 { grid-column: auto; grid-row: auto; }
  .collage figure { aspect-ratio: 3/3.8; }
  .collage figure:nth-child(3n+1) { grid-column: 1/-1; aspect-ratio: 16/10; }
}

/* ==========================================================================
   RECENSIONI
   ========================================================================== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2.2rem, 4vw, 4.2rem); }
.review { display: grid; gap: 1.25rem; align-content: start; border-top: 1px solid var(--line-strong); padding-top: 1.8rem; }
.stars { display: flex; gap: .32rem; color: var(--gold); }
.stars svg { width: 13px; height: 13px; }
.review blockquote { font: italic 500 clamp(1.12rem, 1.5vw, 1.28rem)/1.6 var(--serif); color: var(--ink); letter-spacing: .01em; }
.review cite { font: 500 .66rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; font-style: normal; color: var(--ink-3); }
.reviews-note { margin-top: 2.6rem; text-align: center; font-size: .8rem; color: var(--ink-3); letter-spacing: .06em; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }

/* ==========================================================================
   CHI SIAMO (home split)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.about-media .arch { aspect-ratio: 4/5; }
.about-media .frame-offset { margin-left: 16px; }
.about-media .frame-offset::after { inset: 16px 16px -16px -16px; }
.about-copy .h-xl { margin: 1.5rem 0 1.9rem; max-width: 14ch; }
.about-copy p { max-width: 54ch; }
.about-copy p + p { margin-top: 1.1rem; }
.founder-tag { margin-top: 2rem; display: grid; gap: .3rem; }
.founder-name { font: 600 1.25rem/1.2 var(--serif); }
.founder-role { font: 500 .62rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); }
.about-copy .link-arrow { margin-top: 2.2rem; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 440px; }
  .about-copy .h-xl { max-width: none; }
}

/* ==========================================================================
   PRENOTAZIONE (booking band)
   ========================================================================== */
.booking { background: var(--sand); text-align: center; position: relative; }
.booking::before, .booking::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
  opacity: .7;
}
.booking::before { left: clamp(1rem, 4vw, 3rem); }
.booking::after { right: clamp(1rem, 4vw, 3rem); }
.booking .eyebrow { color: var(--ink-3); }
.booking .h-xl { max-width: 17ch; margin-inline: auto; }
.booking .lead { max-width: 56ch; margin: 1.7rem auto 0; }
.booking-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2.7rem; }
.hours { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.2rem; margin-top: 3rem; }
.hour {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 1.5rem 2.4rem;
  min-width: 215px;
}
.hour .day { font: 500 .63rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--ink-3); display: block; }
.hour .time { font: 600 1.4rem/1.2 var(--serif); margin-top: .55rem; display: block; }
.hours-note { margin-top: 1.6rem; font-size: .78rem; letter-spacing: .1em; color: var(--ink-3); }
@media (max-width: 560px) { .booking-cta .btn { width: 100%; } }

/* ==========================================================================
   CONTATTI (home) + mappa
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.6rem, 5vw, 5.5rem);
  align-items: stretch;
}
.c-list { display: grid; align-content: start; }
.c-row { display: flex; gap: 1.25rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.c-row:first-child { border-top: 1px solid var(--line); }
.c-ico {
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  flex: none;
  margin-top: .15rem;
}
.c-ico svg { width: 16px; height: 16px; }
.c-row .lab { font: 500 .6rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); display: block; }
.c-row .val { font: 400 1rem/1.5 var(--sans); color: var(--ink); margin-top: .35rem; display: block; }
.c-row a.val:hover { color: var(--gold); }
.c-row .val.serif { font: 600 1.15rem/1.4 var(--serif); }
.contact-grid .link-arrow { margin-top: 2rem; }

.map { position: relative; border: 1px solid var(--line-strong); background: var(--sand); min-height: 400px; overflow: hidden; border-radius: var(--radius); }
.map svg.streets { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-credit { position: absolute; top: .9rem; right: 1rem; font: 400 .58rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); opacity: .8; }
.pin { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -100%); z-index: 3; }
.pin .pin-dot {
  width: 46px; height: 46px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(42, 33, 26, .3);
}
.pin .pin-dot svg { transform: rotate(45deg); width: 18px; height: 18px; color: var(--gold-2); }
.pin::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -6px;
  width: 12px; height: 12px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: translateX(-50%) scale(.6); opacity: .7; }
  100% { transform: translateX(-50%) scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .pin::after { animation: none; } }
.map-card {
  position: absolute;
  left: 1.1rem; bottom: 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1.35rem;
  max-width: 250px;
  box-shadow: 0 18px 44px rgba(42, 33, 26, .12);
}
.map-card .mc-title { font: 600 1.05rem/1.2 var(--serif); }
.map-card .mc-sub { font: 400 .78rem/1.5 var(--sans); color: var(--ink-3); margin-top: .3rem; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .map { min-height: 340px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(239, 231, 219, .72); }
.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-block: clamp(3.6rem, 6.5vw, 5.6rem);
}
.footer-brand .brand-name { font-size: 2.1rem; color: var(--white); display: block; }
.footer-brand .brand-sub { display: block; margin-top: .6rem; }
.footer-brand p { margin-top: 1.5rem; max-width: 30ch; font-size: .92rem; color: rgba(239, 231, 219, .62); }
.f-title { font: 500 .63rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1.5rem; }
.f-links a { display: block; padding: .34rem 0; font-size: .92rem; color: rgba(239, 231, 219, .72); transition: color .3s, padding-left .35s var(--ease); }
.f-links a:hover { color: var(--white); padding-left: .45rem; }
.f-contact li { display: flex; gap: .8rem; padding: .34rem 0; font-size: .92rem; color: rgba(239, 231, 219, .72); }
.f-contact svg { width: 15px; height: 15px; color: var(--gold-2); flex: none; margin-top: .28rem; }
.f-contact a:hover { color: var(--white); }
.f-ig { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.2rem; font: 500 .72rem/1 var(--sans); letter-spacing: .2em; color: rgba(239, 231, 219, .85); }
.f-ig svg { width: 16px; height: 16px; }
.f-ig:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(239, 231, 219, .14);
  padding-block: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 2.4rem;
  align-items: center;
  justify-content: space-between;
  font-size: .76rem;
  letter-spacing: .04em;
  color: rgba(239, 231, 219, .5);
}
.footer-bottom nav { display: flex; gap: 1.6rem; }
.footer-bottom a:hover { color: var(--white); }
.demo-note { font-family: var(--serif); font-style: italic; font-size: .85rem; letter-spacing: .06em; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; gap: 2.4rem; } .footer-bottom { justify-content: flex-start; } }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: 54vh;
  min-height: 54svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  padding-block: clamp(4.5rem, 9vw, 6.5rem);
}
.page-hero .page-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-hero .page-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .page-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(102deg, rgba(30, 23, 17, .58) 0%, rgba(30, 23, 17, .16) 55%, rgba(30, 23, 17, .28) 100%),
    linear-gradient(to top, rgba(30, 23, 17, .78), rgba(30, 23, 17, .08) 55%);
}
.breadcrumb { display: flex; align-items: center; gap: .8rem; font: 500 .62rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 253, 249, .75); margin-bottom: 1.6rem; }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb .sep { color: var(--gold-2); }
.page-hero .eyebrow { color: rgba(255, 253, 249, .85); }
.page-hero .eyebrow::before { background: var(--gold-2); }
.page-hero h1 { color: var(--white); margin-top: 1.3rem; }
.page-hero .lead { color: rgba(255, 253, 249, .85); max-width: 56ch; margin-top: 1.4rem; }

/* Subnav (trattamenti) */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 600;
  background: rgba(250, 246, 240, .93);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.subnav ul { display: flex; gap: .6rem; padding-block: .85rem; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.chip {
  white-space: nowrap;
  font: 500 .64rem/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .68rem 1.35rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-2);
  transition: background .35s, color .35s, border-color .35s;
}
.chip:hover, .chip.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ==========================================================================
   LISTINO TRATTAMENTI
   ========================================================================== */
.cat-section { padding-block: clamp(3.4rem, 7vw, 6.5rem); }
.cat-section + .cat-section { border-top: 1px solid var(--line); }
.cat-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.4rem, 4.5vw, 4rem);
}
.cat-head .h-lg { margin-top: 1.2rem; }
.cat-head .cat-desc { max-width: 46ch; justify-self: end; padding-bottom: .4rem; }
@media (max-width: 820px) {
  .cat-head { grid-template-columns: 1fr; align-items: start; }
  .cat-head .cat-desc { justify-self: start; }
}
.cat-body {
  display: grid;
  grid-template-columns: 4.5fr 7.5fr;
  gap: clamp(2.4rem, 5vw, 5.5rem);
  align-items: start;
}
.cat-body.flip { grid-template-columns: 7.5fr 4.5fr; }
.cat-body.flip .cat-media { order: 2; }
.cat-media .arch { aspect-ratio: 3/3.8; }
.cat-media .frame-offset { margin-right: 14px; }
@media (max-width: 860px) {
  .cat-body, .cat-body.flip { grid-template-columns: 1fr; }
  .cat-body .cat-media, .cat-body.flip .cat-media { order: 0; max-width: 420px; }
}

.price-list { display: grid; }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .2rem 2.5rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.price-row:first-child { border-top: 1px solid var(--line); }
.price-row h3 { font-size: 1.32rem; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.tag-signature {
  font: italic 500 .82rem/1 var(--serif);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: .32rem .85rem;
  letter-spacing: .04em;
}
.price-desc { grid-column: 1; font-size: .9rem; color: var(--ink-3); max-width: 52ch; }
.price-side { grid-row: 1/3; display: flex; align-items: baseline; gap: 1.4rem; }
.price-dur { font: 500 .64rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.price-val { font: 600 1.45rem/1 var(--serif); white-space: nowrap; }
.price-val small { font: 400 .62rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-right: .35rem; }
.price-book {
  grid-column: 1 / -1;
  justify-self: start;
  font: 500 .6rem/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .5rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  opacity: .9;
  transition: opacity .3s, color .3s;
}
.price-book:hover { color: var(--ink); opacity: 1; }
@media (max-width: 640px) {
  .price-row { grid-template-columns: 1fr; }
  .price-side { grid-row: auto; grid-column: 1; margin-top: .7rem; justify-content: space-between; }
  .price-book { grid-column: 1; }
}

.cat-note { margin-top: 2rem; font-size: .82rem; color: var(--ink-3); letter-spacing: .04em; font-style: italic; }

/* Consult band */
.consult {
  background: var(--bg-alt);
  text-align: center;
}
.consult .h-lg { max-width: 20ch; margin-inline: auto; }
.consult .lead { max-width: 52ch; margin: 1.5rem auto 0; }
.consult .btn { margin-top: 2.4rem; }

/* ==========================================================================
   CHI SIAMO — page
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 5fr 6.5fr;
  gap: clamp(3rem, 6vw, 6.5rem);
  align-items: center;
}
.story-grid .arch { aspect-ratio: 4/5; }
.story-copy .h-xl { margin: 1.5rem 0 1.9rem; max-width: 15ch; }
.story-copy p { max-width: 56ch; }
.story-copy p + p { margin-top: 1.1rem; }
.pull-quote {
  margin-top: 2.6rem;
  padding-left: 1.8rem;
  border-left: 2px solid var(--gold);
  font: italic 500 clamp(1.35rem, 2.2vw, 1.7rem)/1.45 var(--serif);
  color: var(--ink);
  max-width: 26ch;
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-grid .story-media { max-width: 440px; }
  .story-copy .h-xl { max-width: none; }
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3.5rem); }
.step { border-top: 1px solid var(--line-strong); padding-top: 1.7rem; display: grid; gap: 1rem; }
.step .why-num { font-size: 1.6rem; }
.step h3 { font-size: 1.35rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.studio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(.9rem, 1.8vw, 1.4rem);
  align-items: start;
}
.studio-grid figure { overflow: hidden; border-radius: var(--radius); position: relative; background: var(--sand); }
.studio-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.studio-grid figure:hover img { transform: scale(1.05); }
.studio-grid .s1 { grid-column: 1/8; aspect-ratio: 16/10.5; }
.studio-grid .s2 { grid-column: 8/13; aspect-ratio: 3/3.6; }
.studio-grid .s3 { grid-column: 1/6; aspect-ratio: 4/4.6; }
.studio-grid .studio-note { grid-column: 6/13; align-self: center; padding: 1rem 0 1rem clamp(1rem, 3vw, 3rem); }
.studio-note h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 1.2rem; }
.studio-list li { display: flex; gap: 1rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); }
.studio-list li::before { content: "—"; color: var(--gold); flex: none; }
@media (max-width: 820px) {
  .studio-grid .s1 { grid-column: 1/-1; aspect-ratio: 16/10; }
  .studio-grid .s2, .studio-grid .s3 { grid-column: span 6; aspect-ratio: 3/3.6; }
  .studio-grid .studio-note { grid-column: 1/-1; padding-left: 0; margin-top: 1rem; }
}

/* ==========================================================================
   GALLERY — page
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.filter-btn {
  font: 500 .64rem/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .7rem 1.4rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-2);
  transition: background .35s, color .35s, border-color .35s;
}
.filter-btn:hover, .filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.ggrid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 92px; grid-auto-flow: dense; gap: clamp(.9rem, 1.6vw, 1.3rem); }
.gitem {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  padding: 0;
  cursor: zoom-in;
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity .4s ease, transform .4s ease;
}
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gitem:hover img { transform: scale(1.06); }
.gitem .lb-hint {
  position: absolute;
  top: .9rem; right: .9rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 249, .55);
  background: rgba(30, 23, 17, .25);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  color: var(--white);
  opacity: 0;
  transition: opacity .4s ease;
}
.gitem .lb-hint svg { width: 13px; height: 13px; }
.gitem:hover .lb-hint, .gitem:focus-visible .lb-hint { opacity: 1; }
.gitem figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2rem 1.1rem .8rem;
  background: linear-gradient(to top, rgba(30, 23, 17, .55), transparent);
  color: rgba(255, 253, 249, .92);
  font: 500 .58rem/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  text-align: left;
  opacity: 0;
  transition: opacity .4s ease;
}
.gitem:hover figcaption, .gitem:focus-visible figcaption { opacity: 1; }
.gi-1 { grid-column: span 5; grid-row: span 6; }
.gi-2 { grid-column: span 4; grid-row: span 4; }
.gi-3 { grid-column: span 3; grid-row: span 5; }
.gi-4 { grid-column: span 3; grid-row: span 4; }
.gi-5 { grid-column: span 6; grid-row: span 4; }
.gi-6 { grid-column: span 3; grid-row: span 6; }
.gitem.g-none { display: none; }
.gitem.g-hide { opacity: 0; transform: scale(.96); }
@media (max-width: 900px) {
  .ggrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .ggrid .gitem { grid-column: auto; grid-row: auto; aspect-ratio: 3/3.8; height: auto; }
  .ggrid .gitem:nth-child(3n+1) { grid-column: 1/-1; aspect-ratio: 16/10; }
  .gitem figcaption { opacity: 1; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(26, 20, 15, .95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility 0s .4s;
}
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.lb-stage { position: relative; width: min(1080px, 90vw); display: grid; justify-items: center; }
.lb-stage img { max-width: 100%; max-height: 76vh; object-fit: contain; border-radius: var(--radius); }
.lb-caption { margin-top: 1.3rem; font: 500 .64rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: rgba(239, 231, 219, .8); text-align: center; }
.lb-count { position: absolute; top: -3.2rem; left: 0; font: 400 .78rem/1 var(--sans); letter-spacing: .3em; color: rgba(239, 231, 219, .6); }
.lb-btn {
  position: absolute;
  width: 50px; height: 50px;
  border: 1px solid rgba(255, 253, 249, .35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background .35s, color .35s, border-color .35s;
  z-index: 5;
}
.lb-btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.lb-btn svg { width: 17px; height: 17px; }
.lb-close { top: -3.6rem; right: 0; }
.lb-prev { left: clamp(.5rem, 3vw, 2.4rem); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(.5rem, 3vw, 2.4rem); top: 50%; transform: translateY(-50%); }
.lb-prev, .lb-next { position: fixed; }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: 2rem; transform: none; }
  .lb-stage img { max-height: 68vh; }
}

/* ==========================================================================
   CONTATTI — page
   ========================================================================== */
.contact-page-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2.8rem, 6vw, 6rem);
  align-items: start;
}
.form-title { margin-bottom: 2.2rem; }
.form { display: grid; gap: 1.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.9rem; }
.field { display: grid; gap: .55rem; }
.field label { font: 500 .62rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  padding: .8rem 0;
  font: 400 1rem/1.5 var(--sans);
  color: var(--ink);
  border-radius: 0;
  width: 100%;
  transition: border-color .3s, box-shadow .3s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237A6E62' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .2rem center;
  padding-right: 1.8rem;
  cursor: pointer;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 1px 0 var(--gold);
}
.form-note { font-size: .78rem; color: var(--ink-3); letter-spacing: .04em; }
.form-success {
  border: 1px solid var(--gold);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  text-align: center;
  display: grid;
  gap: 1rem;
  justify-items: center;
}
.form-success .fs-title { font: 600 1.8rem/1.2 var(--serif); }
.form-success p { max-width: 44ch; }
@media (max-width: 860px) {
  .contact-page-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 1.9rem; }
}

.side-card { border: 1px solid var(--line-strong); background: var(--bg-alt); padding: clamp(1.8rem, 3.5vw, 2.5rem); }
.side-card + .side-card { margin-top: 1.4rem; }
.side-card .f-title { margin-bottom: 1.2rem; }
.sc-row { display: flex; gap: 1rem; align-items: flex-start; padding: .7rem 0; font-size: .95rem; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.sc-row:last-child { border-bottom: 0; }
.sc-row svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: .3rem; }
.sc-row a:hover { color: var(--gold); }
.side-card.wa-card { background: var(--ink); color: var(--cream); text-align: center; padding-block: 2.6rem; }
.side-card.wa-card p { color: rgba(239, 231, 219, .78); }
.side-card.wa-card .btn { margin-top: 1.6rem; }

/* ==========================================================================
   LEGAL (privacy)
   ========================================================================== */
.legal-page { max-width: 780px; }
.legal-page .h-xl { margin: 1.4rem 0 1.2rem; }
.legal-page h2 { font-size: 1.55rem; margin: 2.8rem 0 1rem; }
.legal-page p, .legal-page li { color: var(--ink-2); font-size: .95rem; }
.legal-page ul { padding-left: 1.2rem; list-style: disc; }
.legal-page li { margin: .4rem 0; padding-left: .3rem; }
.legal-note { margin-top: 3rem; border: 1px solid var(--gold); padding: 1.4rem 1.8rem; font: italic 500 .95rem/1.7 var(--serif); color: var(--ink-2); }

/* ==========================================================================
   STICKY CTA (mobile)
   ========================================================================== */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: calc(1.05rem + env(safe-area-inset-bottom, 0px));
  z-index: 800;
  transform: translate(-50%, 150%);
  transition: transform .55s var(--ease);
  display: none;
}
.sticky-cta.show { transform: translate(-50%, 0); }
.sticky-cta .btn {
  box-shadow: 0 18px 44px rgba(42, 33, 26, .32);
  white-space: nowrap; /* testo sempre su una riga */
}
@media (max-width: 760px) {
  .sticky-cta { display: block; }
  /* Spazio di rispetto per la CTA fissa: messo DENTRO il footer (fondo scuro)
     e non come padding del body, così sotto il footer non resta la fascia
     chiara del colore di sfondo quando si arriva a fine pagina. */
  .site-footer { padding-bottom: 5.2rem; }
}
/* Schermi molto stretti: compattezza aggiuntiva per non sforare */
@media (max-width: 380px) {
  .sticky-cta .btn { padding-inline: 1.35rem; letter-spacing: .16em; font-size: .64rem; }
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

.reveal-lines .lm { display: block; overflow: hidden; }
.reveal-lines .lm > span { display: block; transform: translateY(115%); transition: transform 1.15s var(--ease) var(--d, 0s); }
.reveal-lines.in .lm > span { transform: none; }

.reveal-group > * { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .95s var(--ease); }
.reveal-group.in > * { opacity: 1; transform: none; }
.reveal-group.in > *:nth-child(2) { transition-delay: .1s; }
.reveal-group.in > *:nth-child(3) { transition-delay: .2s; }
.reveal-group.in > *:nth-child(4) { transition-delay: .3s; }
.reveal-group.in > *:nth-child(5) { transition-delay: .38s; }
.reveal-group.in > *:nth-child(6) { transition-delay: .46s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-group > *, .reveal-lines .lm > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track { animation: none; }
  .collage img, .tcard-media img, .gitem img, .studio-grid img { transition: none; }
}

/* Parallax helper (JS-driven, desktop only) */
[data-parallax] { will-change: transform; }
