/* =========================================================
   Acconciature Lidia di Daniela e Consuelo
   ========================================================= */

/* Colori di sfondo e testo che cambiano con le sezioni (transizione morbida) */
@property --bg  { syntax: '<color>'; inherits: true; initial-value: #EEDDD8; }
@property --ink { syntax: '<color>'; inherits: true; initial-value: #4D4341; }

:root {
  --rosa: #EEDDD8;
  --marrone: #4D4341;
  --bianco: #FCFAF6;
  --velo: #F6EEEA;
  --profondo: #BD948C;

  --bg: #EEDDD8;
  --ink: #4D4341;
  --line: color-mix(in srgb, var(--ink) 28%, transparent);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --pad: clamp(24px, 5vw, 64px);
  --sec: clamp(96px, 13vw, 168px);
  --edge: max(var(--pad), calc((100vw - 1320px) / 2 + var(--pad)));

  transition: --bg 1s var(--ease), --ink 1s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--marrone); color: var(--rosa); }
:focus-visible { outline: 1.5px solid currentColor; outline-offset: 4px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 300; background: var(--marrone); color: var(--rosa); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 12px; }

#ciocca { position: fixed; left: 0; top: 0; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Tipografia ---------- */
.label {
  font: 500 12px/1.4 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.h1 { font: 300 clamp(58px, 10.5vw, 168px)/.96 var(--serif); letter-spacing: -.025em; margin: 0; }
.h2 { font: 300 clamp(46px, 7.4vw, 124px)/.98 var(--serif); letter-spacing: -.02em; margin: 0; }
.h1 em, .h2 em { font-weight: 400; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: block; }
p { margin: 0 0 1em; max-width: 34em; }
.muted { opacity: .7; }

.link-arrow {
  display: inline-flex; gap: .6em; align-items: center;
  font: 500 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; padding: 8px 0; position: relative;
}
.link-arrow::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: left; transition: transform .7s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(0); transform-origin: right; }
.link-arrow span { transition: transform .7s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

.social-link {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  padding: 14px 18px; margin-top: 12px; border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--rosa) 35%, transparent); color: inherit;
  font: 400 13px/1.4 var(--sans); text-decoration: none;
  transition: background-color .3s, color .3s, border-color .3s;
}
.social-link strong { font-weight: 600; }
.social-link svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; }
.social-link .social-dot { fill: currentColor; stroke: none; }
.social-link .social-arrow { width: 16px; height: 16px; }
.social-link:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Pulsanti ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 30px; border-radius: 999px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font: 500 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: color .6s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .7s var(--ease);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn span { position: relative; }
.btn-fill { background: var(--ink); color: var(--bg); }
.btn-fill::before { display: none; }
.btn-fill:hover { color: var(--bg); }
.btn-fill span::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease);
}
.btn-fill:hover span::after { transform: scaleX(1); transform-origin: left; }
.btn-small { height: 42px; padding: 0 22px; }
.btn-big { height: 68px; padding: 0 44px; font-size: 13px; }

/* ---------- Navigazione ---------- */
.nav {
  --ink: var(--marrone); --bg: var(--bianco);
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 40px;
  padding: 18px var(--pad);
  color: var(--marrone);
  transition: transform .8s var(--ease), background-color .5s, box-shadow .5s, backdrop-filter .5s;
}
.nav.scrolled {
  background: rgba(252, 250, 246, .8);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(77, 67, 65, .08);
}
.nav.hidden { transform: translateY(-110%); }
.nav-logo img { height: 21px; width: auto; }
.nav-links { display: flex; gap: 36px; margin-left: auto; }
.nav-links a {
  font: 500 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; position: relative; padding: 8px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; padding: 10px 0; color: inherit; cursor: pointer;
  font: 500 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
}

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--rosa); color: var(--marrone);
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px var(--pad) 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .9s var(--ease), visibility 0s .9s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font: 300 clamp(46px, 13vw, 76px)/1.12 var(--serif); text-decoration: none;
  opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.menu-open .menu nav a { opacity: 1; transform: none; }
.menu-open .menu nav a:nth-child(1) { transition-delay: .15s; }
.menu-open .menu nav a:nth-child(2) { transition-delay: .21s; }
.menu-open .menu nav a:nth-child(3) { transition-delay: .27s; }
.menu-open .menu nav a:nth-child(4) { transition-delay: .33s; }
.menu-open .menu nav a:nth-child(5) { transition-delay: .39s; }
.menu-foot { margin: 48px 0 0; }

/* ---------- Cursore ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--bg); opacity: 0;
  font: 500 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), opacity .3s, background-color .45s;
}
.cursor span { opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; }
.cursor.big { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: color-mix(in srgb, var(--ink) 16%, transparent); }
.cursor.view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--ink); }
.cursor.view span { opacity: 1; transition-delay: .1s; }
.cursor.off { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .ph { cursor: none; } }

/* ---------- Intro: nascosto finché parte l'animazione ---------- */
.js:not(.ready) .intro { opacity: 0; }

/* ---------- 1. Apertura ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px var(--pad) 150px; position: relative;
}
.hero-logo { position: relative; width: min(84vw, 760px); aspect-ratio: 1008 / 404; margin: 0; }
.lr { position: absolute; display: block; }
.lr img { width: 100%; height: auto; }
.lr-1 { left: 1.687%; top: 3.960%; width: 96.825%; }
.lr-2 { left: 22.222%; top: 37.624%; width: 56.944%; overflow: hidden; }
.lr-3 { left: 3.968%; top: 77.970%; width: 92.560%; }
.lr-3 img {
  --m: 0%;
  -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
          mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  -webkit-mask-size: 250% 100%; mask-size: 250% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: var(--m) 0; mask-position: var(--m) 0;
}
.hero-foot { display: flex; flex-direction: column; align-items: center; gap: 26px; margin-top: clamp(40px, 7vh, 72px); }
.hero-eyebrow { margin: 0 0 clamp(32px, 5vh, 56px); text-align: center; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0;
}
.scroll-hint i { display: block; width: 1px; height: 46px; background: currentColor; opacity: .6; }

/* ---------- 2. Manifesto ---------- */
.manifesto { padding: var(--sec) 0; }
.manifesto-text { font: 300 clamp(36px, 5.6vw, 92px)/1.08 var(--serif); letter-spacing: -.012em; max-width: 15.5em; margin: 0; }
.manifesto-text em { font-weight: 400; }

/* ---------- 3. Storia ---------- */
.storia { padding: var(--sec) 0; }
.storia-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 128px); align-items: start; }
.storia-num { position: sticky; top: 130px; }
.num { font: 300 clamp(150px, 22vw, 330px)/.78 var(--serif); letter-spacing: -.05em; margin: 0; display: flex; align-items: flex-start; max-width: none; }
.num sup { font-size: .3em; line-height: 1; margin-left: .06em; position: relative; top: .1em; }
.num-cap { font: italic 300 clamp(24px, 2.5vw, 34px)/1.2 var(--serif); margin-top: 30px; }
.capitoli { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.capitoli li { padding: 38px 0 46px; border-top: 1px solid var(--line); }
.capitoli h3 { font: 300 clamp(36px, 4.2vw, 60px)/1.04 var(--serif); margin: 0 0 16px; }
.capitoli h3 em { font-weight: 400; }
.capitoli p { margin: 0; }

/* ---------- Foto ---------- */
.ph, .coppia-foto { position: relative; overflow: hidden; background: var(--velo); }
.ph img, .coppia-foto img, .pill img, .pv-in img {
  filter: saturate(.9) contrast(.96) brightness(1.03) sepia(.06);
}
.ph img, .coppia-foto img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 4. Daniela e Consuelo ---------- */
.coppia { padding: var(--sec) 0; }
.coppia-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 8vw, 128px); align-items: center; }
.coppia-media { position: relative; }
.coppia-foto { margin: 0; aspect-ratio: 4 / 5; }
.coppia-foto img { scale: 1.06; transform-origin: 50% 42%; }
.foto-caption { font: 400 13px/1.5 var(--sans); margin: 14px 0 0; }
.coppia-testo .h2 { margin-bottom: 40px; }
.firme { font: italic 300 32px/1.2 var(--serif); margin-top: 30px; }

/* ---------- Ariel: il musetto del Pomerania che sbuca dal footer (solo linea, leggero) ---------- */
.ariel-dog { display: block; color: var(--ink); opacity: .92; }
.ariel-dog svg { display: block; width: 100%; height: auto; overflow: visible; }
.ariel-dog .fill, .ariel-dog .muzzle, .ariel-dog .tongue { fill: var(--bg); stroke: currentColor; stroke-width: 1.15; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ariel-dog .line { fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ariel-dog .soft { opacity: .5; }
.ariel-dog .faint { opacity: .35; }
.ariel-dog .ink { fill: currentColor; }
.ariel-dog .hi, .ariel-dog .blush { display: none; }
.ariel-dog .tongue { transform-box: fill-box; transform-origin: 50% 0; animation: lingua .55s ease-in-out infinite alternate; }
.ariel-dog .a-look { transition: transform .35s var(--ease); }
.ariel-dog .a-blink { transform-box: fill-box; transform-origin: center; animation: occhi 5s infinite; }
.ariel-dog .a-ear-r { transform-box: fill-box; transform-origin: 40% 95%; animation: orecchio 7s infinite; }
.ariel-dog .a-head { transform-box: fill-box; transform-origin: 50% 90%; transition: transform .8s var(--ease); }
.ariel-dog:hover .a-head { transform: rotate(-8deg); }
.ariel-dog:not(.is-on) * { animation-play-state: paused; }
@keyframes occhi { 0%, 93%, 100% { transform: scaleY(1); } 95.5% { transform: scaleY(.1); } }
@keyframes orecchio { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(9deg); } 92% { transform: rotate(-4deg); } 95% { transform: rotate(0); } }
@keyframes lingua { from { transform: scaleY(1); } to { transform: scaleY(1.18); } }
.ariel-peek { position: absolute; right: 6%; bottom: 100%; width: clamp(80px, 7vw, 108px); aspect-ratio: 164 / 183; overflow: hidden; pointer-events: auto; }

/* ---------- 5. Lavori: galleria orizzontale ---------- */
.lavori { position: relative; }
.lavori-pin {
  position: relative; height: 100vh; height: 100svh;
  display: flex; align-items: center;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
}
.lavori-pin::-webkit-scrollbar { display: none; }
.lavori.is-pinned .lavori-pin { overflow: hidden; }
.lavori-track {
  display: flex; align-items: center; gap: clamp(48px, 6vw, 112px);
  height: 100%; width: max-content;
  padding: 0 12vw 0 var(--edge);
  will-change: transform;
}
.lavori-intro { flex: 0 0 clamp(320px, 34vw, 540px); }
.lavori-intro .h2 { font-size: clamp(46px, 6.2vw, 104px); margin-bottom: 32px; }
.lavori-sub { max-width: 22em; }
.lavoro { flex: none; margin: 0; }
.lavoro.up { align-self: flex-start; margin-top: max(104px, 11vh); }
.lavoro.down { align-self: flex-end; margin-bottom: 10vh; }
.ph { display: block; padding: 0; border: 0; aspect-ratio: 4 / 5; cursor: zoom-in; }
.lavoro.big .ph { height: min(64vh, 640px); }
.lavoro.mid .ph { height: min(50vh, 480px); }
.ph-in { display: block; width: 100%; height: 100%; }
.ph img { scale: var(--z, 1.18); transform-origin: var(--o, 50% 50%); transition: transform 1.4s var(--ease); }
.ph:hover img { transform: scale(1.05); }
.lavoro figcaption { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.lav-t { font: 300 clamp(28px, 2.6vw, 40px)/1.08 var(--serif); }
.lav-t em { font-weight: 400; }
.lavoro figcaption .label { margin: 0; opacity: .7; }
.lavori-outro { flex: none; }
.outro-link { display: flex; flex-direction: column; gap: 18px; text-decoration: none; }
.outro-link .label { margin: 0; }
.outro-big { font: 300 clamp(48px, 6vw, 100px)/1 var(--serif); letter-spacing: -.02em; }
.outro-big em { font-weight: 400; }
.outro-big span { display: inline-block; transition: transform .8s var(--ease); }
.outro-link:hover .outro-big span { transform: translateX(14px); }
.lavori-progress { position: absolute; left: var(--edge); right: var(--pad); bottom: 34px; height: 1px; background: var(--line); }
.lavori-progress span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.lavori:not(.is-pinned) .lavori-progress { display: none; }

/* ---------- 6. Phon ---------- */
.phon { padding: clamp(40px, 6vw, 80px) 0; }
.phon-stage { position: relative; height: clamp(620px, 92vh, 880px); }
.phon-scene { position: absolute; inset: 0; pointer-events: none; }
#phon-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.phon-handle {
  position: absolute; width: 106px; height: 96px; padding: 0; border: 0;
  background: transparent; color: var(--ink); transform-origin: 0 0;
  pointer-events: auto; touch-action: none; cursor: grab;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.phon-handle.is-dragging { cursor: grabbing; }
.phon-text { position: relative; z-index: 2; pointer-events: none; padding-top: clamp(40px, 9vh, 110px); }
.phon-text > * { max-width: 26rem; }
.phon-text .h2 { margin-bottom: 32px; }
.phon-text .btn { pointer-events: auto; }
.phon-hint { margin-bottom: 30px; }
.hint-touch { display: none; }
@media (hover: none) { .hint-desk { display: none; } .hint-touch { display: inline; } }

/* ---------- 7. Nastro di parole e foto ---------- */
.nastro { padding: clamp(88px, 11vw, 160px) 0; overflow: hidden; }
.nastro-label { text-align: center; margin-bottom: clamp(36px, 4vw, 60px); }
.nastro-row {
  display: flex; align-items: center; gap: .3em; width: max-content;
  font: 300 clamp(64px, 10vw, 172px)/1.1 var(--serif); letter-spacing: -.02em; white-space: nowrap;
  will-change: transform;
}
.nastro-row em { font-weight: 400; }
.nastro-row.r2 { margin-left: -30vw; }
.pill {
  display: inline-block; flex: none; width: 1.55em; height: .8em; border-radius: 999px; overflow: hidden;
  background: var(--velo); transition: width .9s var(--ease);
}
.pill:hover { width: 2.3em; }
.pill img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 7. Servizi ---------- */
.servizi { padding: var(--sec) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(56px, 8vw, 112px); }
.sec-note { max-width: 24em; margin: 0; }
.listino { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.servizio {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; column-gap: 40px;
  border-top: 1px solid var(--line); transition: border-color .6s var(--ease);
}
.servizio:hover { border-top-color: var(--profondo); }
.serv-row {
  display: flex; align-items: baseline; gap: 24px; width: 100%;
  padding: 30px 0; background: none; border: 0; color: inherit; text-align: left; cursor: default;
}
.serv-nome { font: 300 clamp(32px, 4.2vw, 64px)/1.04 var(--serif); transition: transform .8s var(--ease); }
.servizio:hover .serv-nome { transform: translateX(14px); }
.serv-plus { display: none; }
.serv-desc p { margin: 0; max-width: 28em; }
.serv-preview { position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none; width: 210px; }
.pv-in { aspect-ratio: 4 / 5; overflow: hidden; opacity: 0; transform: scale(.85); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.serv-preview.on .pv-in { opacity: 1; transform: none; }
.pv-in img { width: 100%; height: 100%; object-fit: cover; scale: 1.15; }

/* ---------- 8. Clienti ---------- */
.clienti { padding: var(--sec) 0; text-align: center; }
.clienti .label { margin-left: auto; margin-right: auto; }
.reviews-intro { margin: 32px auto 44px; max-width: 35em; }
.google-reviews-card {
  display: flex; align-items: center; gap: 28px; width: min(100%, 820px); margin: 0 auto;
  padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 22px;
  text-align: left; text-decoration: none; background: color-mix(in srgb, var(--ink) 6%, transparent);
  transition: background-color .3s, border-color .3s;
}
.google-reviews-card:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); border-color: currentColor; }
.google-wordmark { flex: none; font: 600 30px/1 var(--sans); letter-spacing: -.04em; }
.google-wordmark span:nth-child(1), .google-wordmark span:nth-child(4) { color: #4285F4; }
.google-wordmark span:nth-child(2), .google-wordmark span:nth-child(6) { color: #EA4335; }
.google-wordmark span:nth-child(3) { color: #FBBC05; }
.google-wordmark span:nth-child(5) { color: #34A853; }
.google-reviews-copy { display: flex; flex: 1; flex-direction: column; gap: 8px; min-width: 0; }
.google-reviews-copy strong { font: 500 clamp(18px, 2vw, 24px)/1.35 var(--sans); }
.google-reviews-copy > span { font-size: 13px; opacity: .8; }
.google-reviews-card > svg { flex: none; width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.reviews-note { margin: 20px auto 0; font-size: 12px; opacity: .8; }
@media (max-width: 600px) {
  .google-reviews-card { flex-wrap: wrap; gap: 24px; }
  .google-wordmark { flex-basis: calc(100% - 52px); }
  .google-reviews-copy { order: 1; flex-basis: 100%; }
}
.lb-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid currentColor; background: none; color: inherit;
  display: grid; place-items: center; cursor: pointer; transition: background-color .5s, color .5s;
}
.lb-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; }

/* ---------- 9. Prenota ---------- */
.prenota { padding: var(--sec) 0; }
.prenota-cta { display: flex; flex-direction: column; align-items: center; text-align: center; }
.prenota .h1 { margin-bottom: clamp(56px, 7vw, 96px); }
.prenota-cta .link-arrow { margin-top: clamp(64px, 8vw, 96px); }
.info {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px;
  margin-top: clamp(88px, 11vw, 150px); padding-top: 44px; border-top: 1px solid var(--line);
}
.info p { margin: 0 0 10px; }
.info .label { margin-bottom: 18px; }
.info .big { font: 300 clamp(26px, 2.6vw, 36px)/1.18 var(--serif); }
.info .big a { text-decoration: none; }
.small { font-size: 11.5px; }

/* ---------- Footer ---------- */
.footer { padding: clamp(88px, 11vw, 140px) 0 36px; }
.footer-logo { width: min(440px, 78vw); margin-bottom: 64px; filter: grayscale(.75) sepia(.1); }
.footer-cols { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 34px; border-top: 1px solid var(--line); font-size: 15px; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.copy { font-size: 13px; opacity: .65; margin: 64px 0 0; }
/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; color: var(--rosa); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(77, 67, 65, .94); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 70px 90px; }
.lightbox img { max-height: calc(100vh - 190px); width: auto; filter: saturate(.9) contrast(.96) brightness(1.03) sepia(.06); }
.lightbox figcaption { font: italic 300 28px/1.2 var(--serif); }
.lb-btn { position: absolute; top: 50%; translate: 0 -50%; }
.lb-btn:hover { background: var(--rosa); color: var(--marrone); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-close { position: absolute; top: 22px; right: 26px; margin: 0; background: none; border: 0; color: inherit; cursor: pointer; padding: 10px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .nav { gap: 20px; padding-top: 14px; padding-bottom: 14px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .storia-grid, .coppia-grid { grid-template-columns: 1fr; }
  .storia-num { position: static; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .coppia-media { margin-right: 14%; }

  /* galleria: foto grandi una sotto l'altra */
  .lavori-pin { height: auto; display: block; overflow: visible; padding: var(--sec) 0; }
  .lavori-track { flex-direction: column; align-items: stretch; height: auto; width: auto; padding: 0 var(--pad); gap: 64px; transform: none !important; }
  .lavori-intro { flex: none; }
  .lavoro.up, .lavoro.down { align-self: auto; margin: 0; }
  .lavoro.big .ph, .lavoro.mid .ph { height: auto; width: 100%; }
  .lavoro.mid { width: 80%; margin-left: auto !important; }

  .nastro-row { font-size: clamp(52px, 15vw, 96px); }

  .phon-stage { height: auto; display: flex; flex-direction: column; }
  .phon-text { order: -1; padding-top: 0; }
  .phon-scene { position: relative; inset: auto; height: 580px; margin-top: 8px; }

  .servizio { display: block; }
  .serv-row { cursor: pointer; padding: 24px 0; align-items: center; }
  .serv-nome { flex: 1; }
  .servizio:hover .serv-nome { transform: none; }
  .serv-plus { display: block; position: relative; width: 16px; height: 16px; flex: none; }
  .serv-plus::before, .serv-plus::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
  .serv-plus::after { transform: rotate(90deg); }
  .servizio.open .serv-plus::after { transform: rotate(0deg); }
  .serv-desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
  .serv-desc > p { overflow: hidden; min-height: 0; }
  .servizio.open .serv-desc { grid-template-rows: 1fr; }
  .servizio.open .serv-desc > p { padding-bottom: 26px; }
  .serv-preview { display: none; }

  .info, .footer-cols { grid-template-columns: 1fr; gap: 36px; }
  .lightbox figure { padding: 70px 16px 110px; }
  .lb-btn { top: auto; bottom: 28px; translate: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .btn-big { height: 62px; padding: 0 30px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
