/* =========================================================
   Esteticamente · Beauty & Nails — 3D edition
   Palette derived from the logo:
   mocha board #725E4E · cream line #EBDFD0 · champagne frame #D9C6AE
   ========================================================= */
:root {
  --espresso: #2B211B;
  --espresso-2: #362A22;
  --mocha: #725E4E;      /* logo background */
  --mocha-soft: #8C7765;
  --taupe: #A8937F;
  --sand: #D9C6AE;       /* logo frame */
  --champagne: #EBDFD0;  /* logo line art */
  --cream: #F6F0E7;
  --ivory: #FBF8F3;
  --gold: #C9A97C;       /* metallic accent from the frame highlight */
  --gold-2: #E6CFA6;
  --ink: #3A2E26;
  --ink-soft: #7A6859;
  --line: rgba(114, 94, 78, .22);
  --line-dark: rgba(235, 223, 208, .16);

  --serif: "Italiana", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .2, 1);
  --radius: 22px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1240px, 100% - 3rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3D canvas ---------- */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
main, footer, .nav { position: relative; z-index: 2; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--mocha);
  display: grid; place-items: center; transition: opacity 1s var(--ease), visibility 0s 1s;
}
.loader img { width: min(340px, 70vw); opacity: 0; animation: logoIn 1.6s .1s var(--ease) forwards; }
.loader .bar { position: absolute; bottom: 12vh; width: 140px; height: 1px; background: rgba(235,223,208,.2); overflow: hidden; }
.loader .bar i { position: absolute; inset: 0; background: var(--champagne); transform: translateX(-100%); animation: bar 1.6s var(--ease) forwards; }
@keyframes logoIn { from { opacity: 0; transform: scale(.94); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes bar { to { transform: none; } }
.loaded .loader { opacity: 0; visibility: hidden; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none; mix-blend-mode: difference; }
.cursor .dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; }
.cursor .ring { position: absolute; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; border: 1px solid #fff; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s; opacity: .6; }
.cursor.hover .ring { width: 74px; height: 74px; margin: -37px 0 0 -37px; opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 18px clamp(1rem, 3vw, 2.5rem);
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s;
}
.nav.scrolled { background: rgba(43, 33, 27, .72); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); padding-block: 10px; box-shadow: 0 1px 0 var(--line-dark); }
.nav .brand img { height: 64px; width: auto; transition: height .5s var(--ease); }
.nav.scrolled .brand img { height: 44px; }
.nav-links { display: flex; gap: clamp(1rem, 2.2vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--champagne); text-decoration: none; font-size: .9rem; letter-spacing: .18em; text-transform: uppercase; position: relative; padding: .3rem 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: flex; align-items: center; gap: .7rem; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(43,33,27,.35); cursor: pointer; place-items: center; }
.menu-btn span { display: block; width: 18px; height: 1px; background: var(--champagne); position: relative; transition: transform .35s var(--ease), background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 100%; height: 1px; background: var(--champagne); transition: transform .35s var(--ease), top .35s; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 45; background: var(--espresso);
  display: flex; flex-direction: column; justify-content: center; padding: 6rem 1.6rem 2rem;
  clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu-open .drawer { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.drawer a.big { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 10vw, 3.4rem); line-height: 1.15; color: var(--champagne); text-decoration: none; padding: .3rem 0; border-bottom: 1px solid var(--line-dark); }
.drawer .foot { margin-top: 2rem; color: var(--taupe); font-size: .95rem; }
.drawer .foot a { color: var(--champagne); }
body.menu-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--champagne); --fg: var(--espresso);
  position: relative; display: inline-flex; align-items: center; gap: .7rem; overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--fg); border: 0; border-radius: 999px; cursor: pointer;
  padding: 1rem 1.9rem; font: 400 .95rem var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, var(--gold), var(--gold-2), var(--gold)); transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { box-shadow: 0 18px 40px -18px rgba(201, 169, 124, .8); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn.dark { --bg: var(--espresso); --fg: var(--champagne); }
.btn.dark:hover { color: var(--espresso); }
.btn.ghost { background: transparent; color: var(--champagne); box-shadow: inset 0 0 0 1px rgba(235,223,208,.5); }
.btn.ghost:hover { color: var(--espresso); }
.btn.ghost.on-light { color: var(--mocha); box-shadow: inset 0 0 0 1px var(--mocha); }
.btn.ghost.on-light:hover { color: var(--espresso); }
.btn.small { padding: .72rem 1.3rem; font-size: .8rem; }

/* ---------- Common type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .8rem; font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--mocha); margin: 0 0 1.4rem; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.dark .eyebrow, .eyebrow.light { color: var(--gold); }
h1, h2, h3, h4, h5 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: .005em; }
h2 { font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: 1; margin-bottom: 1.4rem; }
h2 em, h1 em { font-style: normal; color: var(--gold); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 36rem; color: var(--ink-soft); }
.dark { background: var(--espresso); color: var(--champagne); }
.dark .lead, .dark .muted { color: var(--taupe); }
.muted { color: var(--ink-soft); }
section { position: relative; padding: clamp(5rem, 11vw, 9rem) 0; }

/* Split text */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(110%); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 0; display: flex; align-items: flex-end; overflow: hidden; background: var(--espresso); color: var(--champagne); }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(43,33,27,.88) 0%, rgba(43,33,27,.55) 38%, rgba(43,33,27,.15) 70%, rgba(43,33,27,.35) 100%),
  linear-gradient(0deg, rgba(43,33,27,.9) 0%, rgba(43,33,27,0) 40%); }
.hero-inner { position: relative; z-index: 3; padding-bottom: clamp(3rem, 8vh, 6rem); padding-top: 140px; }
.hero h1 { font-size: clamp(3.2rem, 7.4vw, 7.6rem); line-height: .95; max-width: 7em; margin-bottom: 1.8rem; }
@media (min-aspect-ratio: 23/20) { .hero-inner > :not(.hero-meta) { max-width: 54%; } }
.hero .sub { max-width: 32rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(235,223,208,.85); margin: 0 0 2.4rem; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-meta { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(2.5rem, 6vh, 4rem); padding-top: 1.6rem; border-top: 1px solid var(--line-dark); flex-wrap: wrap; }
.hero-meta div strong { display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--champagne); font-weight: 400; }
.hero-meta div span { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.stars-inline { color: var(--gold); letter-spacing: .1em; font-size: 1rem; }
.scroll-cue { position: absolute; right: clamp(1rem, 3vw, 2.5rem); bottom: clamp(2rem, 6vh, 4rem); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .8rem; color: var(--taupe); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; text-decoration: none; }
.scroll-cue i { width: 1px; height: 70px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--champagne); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--mocha); color: var(--champagne); padding: 1.3rem 0; overflow: hidden; position: relative; z-index: 2; border-block: 1px solid rgba(235,223,208,.12); }
.marquee .track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); white-space: nowrap; padding: 0 1.6rem; display: inline-flex; align-items: center; gap: 3.2rem; }
.marquee span img { width: 46px; height: auto; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { background: var(--cream); }
.about .grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.portrait { position: relative; perspective: 1200px; }
.portrait .card { position: relative; transform-style: preserve-3d; transition: transform .2s; }
.portrait .frame { position: absolute; inset: -22px 22px 22px -22px; border: 1px solid var(--gold); transform: translateZ(-40px); }
.portrait img { position: relative; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 40px 80px -40px rgba(43,33,27,.55); transform: translateZ(20px); }
.portrait .flower { position: absolute; right: -36px; bottom: -40px; width: 180px; transform: translateZ(80px); filter: drop-shadow(0 10px 20px rgba(43,33,27,.3)); }
.portrait .flower img { box-shadow: none; transform: none; }
.flower-mask { background: var(--mocha); -webkit-mask: url(assets/img/flower.png) center / contain no-repeat; mask: url(assets/img/flower.png) center / contain no-repeat; aspect-ratio: 350 / 215; }
.about .hello { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.25; color: var(--mocha); margin: 0 0 1.4rem; }
.about p { max-width: 34rem; }
.about .closing { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; margin: 2rem 0 0; max-width: 22rem; color: var(--ink); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; margin: 2rem 0 0; }
.chips li { border: 1px solid var(--line); background: var(--ivory); padding: .35rem 1rem; border-radius: 999px; font-size: .9rem; transition: background .3s, color .3s, border-color .3s; }
.chips li a { text-decoration: none; }
.chips li.link { border-color: var(--mocha); }
.chips li.link:hover { background: var(--mocha); color: var(--champagne); }

/* ---------- Services (3D tilt cards) ---------- */
.services { background: var(--espresso); color: var(--champagne); overflow: hidden; }
.services .head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.services .head .lead { margin: 0; max-width: 26rem; }
.cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 1.6rem); perspective: 1400px; }
.tcard {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; grid-column: span 4; min-height: 460px; border-radius: var(--radius); overflow: hidden;
  background: var(--espresso-2); color: var(--champagne); text-decoration: none; isolation: isolate;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); display: flex; flex-direction: column; justify-content: flex-end;
}
.tcard.wide { grid-column: span 8; }
.tcard.full { grid-column: span 12; min-height: 340px; }
.tcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.tcard:hover img { transform: scale(1.14); }
.tcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43,33,27,0) 30%, rgba(43,33,27,.92) 100%); }
.tcard::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px circle at var(--mx) var(--my), rgba(230,207,166,.22), transparent 40%); opacity: 0; transition: opacity .4s; }
.tcard:hover::after { opacity: 1; }
.tcard .body { padding: clamp(1.4rem, 2.6vw, 2.2rem); transform: translateZ(60px); }
.tcard .num { position: absolute; top: 1.4rem; left: 1.6rem; font-size: .75rem; letter-spacing: .3em; color: var(--gold-2); transform: translateZ(40px); }
.tcard h3 { font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; margin-bottom: .6rem; }
.tcard p { margin: 0; color: rgba(235,223,208,.8); max-width: 26rem; font-size: 1rem; }
.tcard .go { position: absolute; top: 1.2rem; right: 1.2rem; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(235,223,208,.4); display: grid; place-items: center; transform: translateZ(50px) rotate(-45deg); transition: background .4s, transform .5s var(--ease); }
.tcard:hover .go { background: var(--champagne); color: var(--espresso); transform: translateZ(50px) rotate(0); }
.tcard .go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.tcard.plain { background: linear-gradient(150deg, var(--mocha), var(--espresso-2)); }
.tcard.plain .flower-mask { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: min(46%, 520px); background: var(--champagne); opacity: .12; z-index: -1; }
@media (max-width: 980px) { .tcard, .tcard.wide { grid-column: span 6; } .tcard.full { grid-column: span 12; } }
@media (max-width: 640px) { .tcard, .tcard.wide { grid-column: span 12; min-height: 380px; } }

/* ---------- Feature blocks ---------- */
.feature { background: var(--cream); }
.feature.alt { background: var(--ivory); }
.feature .top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.feature .top.reverse > :first-child { order: 2; }
.tag { display: inline-block; font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--champagne); background: var(--mocha); padding: .45rem 1rem; border-radius: 999px; margin-bottom: 1.4rem; }
.feature h3.title { font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: 1; margin-bottom: 1.2rem; }
.feature .tagline { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--ink); max-width: 30rem; margin: 0 0 2rem; }
.feature h4 { font-size: 1.7rem; margin: 1.8rem 0 .5rem; }
.feature p { max-width: 34rem; margin: 0 0 .8rem; }
.ingr { list-style: none; margin: .6rem 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ingr li { border: 1px solid var(--line); background: var(--ivory); padding: .3rem 1rem; border-radius: 999px; font-size: .92rem; }

.media-stack { position: relative; perspective: 1400px; }
.media-stack .layer { position: relative; transform-style: preserve-3d; }
.media-stack .main { width: 100%; border-radius: var(--radius); box-shadow: 0 50px 90px -50px rgba(43,33,27,.6); aspect-ratio: 16 / 11; object-fit: cover; }
.media-stack .float { position: absolute; width: 38%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--cream); box-shadow: 0 30px 60px -30px rgba(43,33,27,.6); }
.media-stack .f1 { right: -4%; bottom: -14%; }
.media-stack .f2 { left: -6%; top: -10%; width: 26%; }
.feature.alt .media-stack .float { border-color: var(--ivory); }
.media-stack .ring { position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); border-radius: calc(var(--radius) + 6px); z-index: -1; }

.lines-wrap { margin-top: clamp(4rem, 8vw, 6rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.lines-wrap h4 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 0 0 .6rem; }
.lines-wrap > p { max-width: 38rem; margin: 0 0 2.6rem; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.lines li { text-align: center; perspective: 800px; }
.orb { width: min(100%, 190px); aspect-ratio: 1; margin: 0 auto 1.2rem; border-radius: 50%; position: relative; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.orb img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line), 0 30px 50px -25px rgba(43,33,27,.55); }
.orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), transparent 45%); mix-blend-mode: soft-light; }
.lines li:hover .orb { transform: rotateY(18deg) rotateX(-8deg) translateZ(20px); }
.lines strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.2; }
.lines span { color: var(--ink-soft); font-size: .95rem; }

.stats { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; gap: 0; }
.stats li { display: flex; align-items: baseline; gap: 1.2rem; border-top: 1px solid var(--line); padding: 1.1rem 0; }
.stats strong { font-family: var(--serif); font-weight: 400; font-size: 2.3rem; line-height: 1; min-width: 8.5rem; color: var(--mocha); }
.stats span { color: var(--ink-soft); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: s; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps li { position: relative; padding: 2rem 1.8rem 2.2rem; border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--line); counter-increment: s; transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .4s; }
.feature.alt .steps li { background: var(--cream); }
.steps li:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -35px rgba(43,33,27,.5); }
.steps li::before { content: "0" counter(s); display: block; font-size: .75rem; letter-spacing: .3em; color: var(--gold); margin-bottom: 1.4rem; }
.steps h5 { font-size: 1.9rem; margin: 0 0 .6rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.notes h4 { margin-top: 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.6rem, 3vw, 2.6rem); border-radius: var(--radius); background: var(--mocha); color: var(--champagne); position: relative; overflow: hidden; }
.cta-row p { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; }
.cta-row .actions { display: flex; gap: .8rem; flex-wrap: wrap; position: relative; }
.cta-row .flower-mask { position: absolute; right: 30%; top: -30px; width: 220px; background: var(--champagne); opacity: .08; }

/* Pressotherapy flow (replaces the Italian infographic) */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.6rem; }
.flow .stage { position: relative; padding: 1.6rem; border-radius: var(--radius); background: var(--espresso); color: var(--champagne); overflow: hidden; min-height: 210px; }
.flow .stage b { display: block; font-size: .72rem; letter-spacing: .3em; color: var(--gold); font-weight: 400; margin-bottom: 1rem; }
.flow .stage h5 { font-size: 1.6rem; margin: 0 0 .5rem; }
.flow .stage p { margin: 0; font-size: .95rem; color: var(--taupe); }
.flow .wave { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, transparent, var(--gold), transparent); background-size: 200% 100%; animation: wave 2.4s linear infinite; }
.flow .stage:nth-child(2) .wave { animation-delay: .6s; } .flow .stage:nth-child(3) .wave { animation-delay: 1.2s; } .flow .stage:nth-child(4) .wave { animation-delay: 1.8s; }
@keyframes wave { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.press-note { margin: 2rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--ink-soft); max-width: 44rem; }

@media (max-width: 980px) {
  .feature .top { grid-template-columns: 1fr; }
  .feature .top.reverse > :first-child { order: 0; }
  .lines { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps.four, .flow { grid-template-columns: 1fr 1fr; }
  .notes { grid-template-columns: 1fr; }
  .about .grid { grid-template-columns: 1fr; }
  .portrait { max-width: 480px; }
}
@media (max-width: 640px) {
  .steps, .steps.four, .flow { grid-template-columns: 1fr; }
  .stats li { flex-direction: column; gap: .2rem; }
  .media-stack .f2 { display: none; }
  .portrait .flower { width: 120px; right: -10px; }
}

/* ---------- Showcase (parallax big image) ---------- */
.showcase { padding: 0; height: 110vh; overflow: hidden; background: var(--espresso); display: grid; place-items: center; }
.showcase img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; opacity: .85; }
.showcase::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(43,33,27,.15), rgba(43,33,27,.75)); }
.showcase blockquote { position: relative; z-index: 2; margin: 0; text-align: center; color: var(--champagne); font-family: var(--serif); font-size: clamp(2.6rem, 7.5vw, 7rem); line-height: 1; padding: 0 1.5rem; max-width: 14em; }
.showcase blockquote small { display: block; font-family: var(--sans); font-size: .8rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-2); margin-top: 2rem; }

/* ---------- Reviews ---------- */
.reviews .grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.rating { padding-right: clamp(1rem, 4vw, 3rem); border-right: 1px solid var(--line-dark); }
.rating .score { font-family: var(--serif); font-size: clamp(6rem, 14vw, 11rem); line-height: .85; margin: 0; color: var(--champagne); }
.stars { display: flex; gap: .35rem; margin: 1.2rem 0 1rem; color: var(--gold); }
.stars svg { width: 24px; height: 24px; fill: currentColor; }
.rating p { margin: 0; }
.rating .src { font-size: .82rem; color: var(--taupe); margin-top: .8rem; max-width: 16rem; }
.quote { margin: 0; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.12; color: var(--champagne); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 6rem; line-height: .5; color: var(--gold); margin-bottom: .8rem; }
.quote figcaption { margin-top: 1.6rem; color: var(--taupe); }
.quote figcaption strong { color: var(--champagne); font-weight: 400; }
.quote .detail { margin: 1rem 0 2rem; max-width: 34rem; color: var(--taupe); }
@media (max-width: 860px) { .reviews .grid { grid-template-columns: 1fr; } .rating { border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 0 0 2rem; } }

/* ---------- Visit ---------- */
.visit .grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.status { display: inline-flex; align-items: center; gap: .6rem; font-size: .95rem; color: var(--ink-soft); margin: 0 0 1.4rem; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--ivory); }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #9A8B7C; display: inline-block; }
.status.open i { background: #6E8B5E; box-shadow: 0 0 0 0 rgba(110,139,94,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(110,139,94,0); } 100% { box-shadow: 0 0 0 0 rgba(110,139,94,0); } }
.hours { list-style: none; padding: 0; margin: 0; max-width: 26rem; }
.hours li { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.hours li.today { color: var(--ink); font-weight: 400; }
.hours li.today span:first-child::after { content: " · oggi"; color: var(--gold); font-weight: 300; }
.contacts { margin: 2rem 0 1.8rem; font-style: normal; line-height: 1.9; }
.contacts a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.contacts a:hover { border-color: var(--mocha); }
.visit .actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.map-card { position: relative; display: block; align-self: start; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ivory); text-decoration: none; box-shadow: 0 40px 80px -50px rgba(43,33,27,.6); transition: transform .6s var(--ease); }
.map-frame { position: relative; aspect-ratio: 4 / 3; background: var(--sand); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; filter: sepia(.18) saturate(.9); }
.map-card .cap a { color: var(--mocha); text-decoration: none; border-bottom: 1px solid var(--line); white-space: nowrap; }
.map-card .cap a:hover { border-color: var(--mocha); }
.map-card .cap strong { font-weight: 400; color: var(--ink); }
.map-card .cap { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1.2rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-soft); }
.ig { display: inline-flex; align-items: center; gap: .55rem; }
.ig svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .visit .grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .map-frame { aspect-ratio: 1 / 1; } .map-card .cap { flex-direction: column; gap: .4rem; } }

/* ---------- Book ---------- */
.book { background: var(--espresso); color: var(--champagne); overflow: hidden; }
.book .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.book .logo3d { width: 100%; max-width: 440px; }
.book .perks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.book .perks li { display: flex; gap: .9rem; align-items: center; color: var(--taupe); }
.book .perks li::before { content: ""; width: 22px; height: 1px; background: var(--gold); flex: none; }
.panel { position: relative; background: rgba(235,223,208,.05); border: 1px solid var(--line-dark); border-radius: calc(var(--radius) + 6px); padding: clamp(1.8rem, 4vw, 3rem); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 50px 100px -60px rgba(0,0,0,.8); }
.panel::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201,169,124,.25); border-radius: var(--radius); pointer-events: none; }
.panel > * { position: relative; }
.field { position: relative; margin-bottom: 1.2rem; }
.field label { display: block; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); margin-bottom: .45rem; }
.field input, .field select {
  width: 100%; font: 300 1.05rem var(--sans); color: var(--champagne); background: rgba(43,33,27,.55);
  border: 1px solid var(--line-dark); border-radius: 12px; padding: .9rem 1rem; transition: border-color .3s, background .3s;
  color-scheme: dark;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); background: rgba(43,33,27,.8); }
.field input.err { border-color: #D98C6E; }
.field-err { margin: .45rem 0 0; font-size: .85rem; color: #E9A68A; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.panel .btn { width: 100%; justify-content: center; margin-top: .6rem; }
.confirm { text-align: center; padding: 2rem 0 1rem; }
.confirm h3 { font-size: 2.4rem; margin: 0 0 .6rem; }
.confirm a { color: var(--gold-2); }
.call-line { margin-top: 1.4rem; text-align: center; color: var(--taupe); font-size: .95rem; }
.call-line a { color: var(--champagne); }
@media (max-width: 860px) { .book .grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
footer { background: var(--espresso); color: var(--taupe); padding: clamp(3rem, 6vw, 5rem) 0 2rem; border-top: 1px solid var(--line-dark); font-size: .92rem; }
footer .top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line-dark); }
/* Logo footer: larghezza fissa + altezza automatica, così resta il rapporto originale 1263×882 */
footer .top .footer-logo { width: clamp(150px, 16vw, 220px); height: auto; aspect-ratio: 1263 / 882; object-fit: contain; flex: none; }
footer .big { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); color: var(--champagne); line-height: 1.05; max-width: 14em; }
footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; }
footer a { text-decoration: none; color: var(--champagne); }

/* Sticky mobile CTA */
.mobile-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: none; transform: translateY(140%); transition: transform .6s var(--ease); }
.mobile-cta .btn { width: 100%; justify-content: center; box-shadow: 0 20px 40px -15px rgba(0,0,0,.5); }
.show-cta .mobile-cta { transform: none; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav-cta .btn { display: none; }
  .mobile-cta { display: block; }
  .scroll-cue { display: none; }
}
@media (min-width: 1700px) { html { font-size: 112.5%; } .wrap { width: min(1480px, 100% - 8rem); } }
@media (min-width: 2300px) { html { font-size: 125%; } .wrap { width: min(1720px, 100% - 10rem); } }

/* Reveal fallbacks */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .marquee .track, .scroll-cue i::after, .flow .wave, .status.open i { animation: none; }
  .split .w > span { transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Portrait / mobile hero: 3D logo sits on top, copy below */
@media (max-aspect-ratio: 23/20) {
  .hero { align-items: flex-start; }
  .hero-inner { padding-top: calc(40vh + 24px); padding-top: calc(40svh + 24px); }
  .hero-media::after { background: linear-gradient(0deg, rgba(43,33,27,.94) 0%, rgba(43,33,27,.7) 45%, rgba(43,33,27,.25) 75%, rgba(43,33,27,.45) 100%); }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2.7rem, 12vw, 3.6rem); }
  .hero .ctas .btn { flex: 1 1 100%; justify-content: center; }
  .hero-meta { gap: 1.2rem 1.6rem; }
  .hero-meta div strong { font-size: 1.6rem; }
  .hero-meta div span { font-size: .66rem; letter-spacing: .16em; }
  .nav .brand img { height: 52px; }
}
h1, h2, .showcase blockquote, .quote blockquote { text-wrap: balance; }
