/* =========================================================
   Black Empire — Centro estetico, Varese
   HTML + CSS + JavaScript, senza framework.
   ========================================================= */

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/hanken-grotesk-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/hanken-grotesk-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f7f3ee;          /* avorio */
  --surface: #ffffff;
  --nude: #e8d5c8;
  --nude-soft: #f1e7df;
  --ink: #1d1a1c;         /* nero del brand */
  --text: #3a3436;
  --muted: #6b6365;
  --line: #e5dbd2;
  --porpora: #6b1d45;     /* accento */
  --porpora-dark: #531434;
  --porpora-soft: #f4e8ee;

  --font: 'Hanken Grotesk', 'Helvetica Neue', Arial, system-ui, sans-serif;

  --fs-sm: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --fs-h2: clamp(1.875rem, 1.45rem + 1.5vw, 2.75rem);
  --fs-h1: clamp(2.375rem, 1.6rem + 2.6vw, 3.875rem);

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -28px rgba(74, 44, 30, 0.35);
  --shadow-sm: 0 10px 30px -18px rgba(74, 44, 30, 0.35);

  --container: 1240px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
svg { flex: none; }

::selection { background: var(--porpora); color: #fff; }
:focus-visible { outline: 2px solid var(--porpora); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 99px;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }

/* ---------- Tipografia ---------- */
h1, h2, h3 { color: var(--ink); font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; }
.h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -0.03em; font-weight: 380; }
.h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.025em; font-weight: 400; }
.h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 550; letter-spacing: -0.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); max-width: 34rem; text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--fs-sm); font-weight: 550; color: var(--porpora);
  margin-bottom: 1rem;
}
.kicker::before { content: ''; width: 22px; height: 1px; background: currentColor; }

.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head .lead { margin-top: 1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--center .kicker { justify-content: center; }

/* ---------- Bottoni ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.5rem;
  border-radius: 99px;
  font-size: 1rem; font-weight: 550; letter-spacing: .005em; line-height: 1;
  white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn svg { width: 20px; height: 20px; }
.btn--primary { background: var(--porpora); color: #fff; box-shadow: 0 12px 28px -14px rgba(107, 29, 69, .7); }
.btn--primary:hover { background: var(--porpora-dark); transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(107, 29, 69, .75); }
.btn--ghost { border: 1px solid rgba(29, 26, 28, .2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--nude-soft); }
.btn--sm { min-height: 44px; padding: 0 1.15rem; font-size: .9375rem; }
.btn--block { width: 100%; }
/* riflesso al passaggio */
.btn--primary::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn--primary:hover::after { transform: translateX(120%); transition: transform .9s var(--ease); }

.link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 550; color: var(--porpora);
}
.link svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s ease, box-shadow .4s ease, height .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(247, 243, 238, .86);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: inline-flex; flex-direction: column; line-height: 1; color: var(--ink); }
.logo__name { font-size: 1.0625rem; font-weight: 650; letter-spacing: .26em; }
.logo__sub { font-size: .6875rem; letter-spacing: .14em; color: var(--muted); margin-top: .45rem; font-weight: 500; }
.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.25rem); }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: .3rem; font-size: .9688rem; font-weight: 500; color: var(--ink); padding-block: .35rem; }
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--porpora); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current='page']::after, .nav__link.is-section::after { transform: scaleX(1); transform-origin: left; }
.header__right { display: flex; align-items: center; gap: 1rem; }
.header__phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 550; font-size: .9688rem; color: var(--ink); }
.header__phone svg { width: 17px; height: 17px; color: var(--porpora); }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(29, 26, 28, .18); place-items: center;
}
.burger span { position: relative; display: block; width: 18px; height: 1.5px; background: var(--ink); transition: background .3s; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .4s var(--ease);
}
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(6px); }
.burger[aria-expanded='true'] span { background: transparent; }
.burger[aria-expanded='true'] span::before { transform: rotate(45deg); }
.burger[aria-expanded='true'] span::after { transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  padding: calc(var(--header-h) + 1.5rem) var(--pad) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s linear .5s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.mobile-nav ul { display: grid; gap: .25rem; }
.mobile-nav ul a {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.75rem; font-weight: 400; letter-spacing: -0.02em; color: var(--ink);
  padding-block: .7rem; border-bottom: 1px solid var(--line);
}
.mobile-nav ul a svg { width: 20px; height: 20px; color: var(--porpora); }
.mobile-nav__foot { display: grid; gap: .75rem; }

@media (max-width: 980px) {
  .nav, .header__phone { display: none; }
  .burger { display: inline-grid; }
}
@media (max-width: 520px) {
  .header__cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3.5rem)); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__text { display: grid; gap: 1.5rem; }
.hero__text .h1 { max-width: 13ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: .75rem 1.75rem;
  margin-top: 1.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.hero__facts li { display: flex; align-items: center; gap: .55rem; font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.hero__facts svg { width: 18px; height: 18px; color: var(--porpora); }

.hero__visual { position: relative; }
.hero__img {
  position: relative; overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 4 / 5;
  max-height: min(78vh, 680px);
  width: 100%;
  margin-left: auto;
  background: var(--nude-soft);
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 30%; transform-origin: 50% 40%; }
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 1rem 1.15rem;
}

.status { display: inline-flex; align-items: center; gap: .55rem; font-size: var(--fs-sm); font-weight: 550; color: var(--ink); }
.status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #b9adb0; }
.status.is-open .status__dot { background: #3f9a63; }
.status.is-open .status__dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid #3f9a63; animation: pulse 2s ease-out infinite;
}
@keyframes pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 520px; width: 100%; margin-inline: auto; }
  .hero__img { aspect-ratio: 1 / 1; }
    }
@media (max-width: 520px) {
  .hero__ctas .btn { width: 100%; }
}

/* ---------- Categorie ---------- */
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.1rem; }
.cat { position: relative; display: grid; gap: .9rem; }
.cat__img { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--nude-soft); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat:hover .cat__img img { transform: scale(1.06); }
.cat__img::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(to top, rgba(29, 26, 28, .35), transparent);
  opacity: 0; transition: opacity .5s var(--ease);
}
.cat:hover .cat__img::after { opacity: 1; }
.cat__body { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.cat__name { font-size: 1.1875rem; font-weight: 550; color: var(--ink); letter-spacing: -0.01em; }
.cat__count { font-size: var(--fs-sm); color: var(--muted); }
.cat__arrow {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.cat__arrow svg { width: 16px; height: 16px; }
.cat:hover .cat__arrow { background: var(--porpora); border-color: var(--porpora); color: #fff; transform: rotate(-45deg); }
.cat__link::after { content: ''; position: absolute; inset: 0; }

@media (max-width: 1080px) {
  .cats {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 42%);
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); padding-bottom: .5rem;
    scroll-padding-inline: var(--pad); scrollbar-width: none;
  }
  .cats::-webkit-scrollbar { display: none; }
  .cat { scroll-snap-align: start; }
}
@media (max-width: 560px) { .cats { grid-auto-columns: 68%; } }

/* ---------- Chi siamo ---------- */
.about { background: var(--surface); }
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about__media { position: relative; }
.about__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--nude-soft); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img2 {
  position: absolute; right: -1.5rem; bottom: -2rem; width: 42%;
  border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1;
  border: 6px solid var(--surface); box-shadow: var(--shadow);
}
.about__img2 img { width: 100%; height: 100%; object-fit: cover; }
.about__text { display: grid; gap: 1.25rem; }
.about__text p { color: var(--muted); max-width: 36rem; }
.checks { display: grid; gap: .85rem; margin-block: .5rem 1rem; }
.checks li { display: flex; gap: .85rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checks svg {
  width: 26px; height: 26px; padding: 5px; border-radius: 50%;
  background: var(--porpora-soft); color: var(--porpora); margin-top: -1px;
}
.quote {
  margin-top: .5rem; padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--porpora);
  background: var(--bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.125rem; line-height: 1.55; color: var(--ink);
}
.quote cite { display: block; margin-top: .6rem; font-style: normal; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .about__img2 { right: -.5rem; bottom: -1.5rem; width: 38%; }
}

/* ---------- Come prenotare ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; counter-reset: step; }
.step {
  position: relative; background: var(--surface); border-radius: var(--radius);
  padding: 2rem 1.75rem 1.9rem; display: grid; gap: .7rem; align-content: start;
}
.step__num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--porpora-soft); color: var(--porpora); font-weight: 650; margin-bottom: .6rem;
}
.step p { color: var(--muted); }
.steps-cta { display: flex; justify-content: center; margin-top: 2.5rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Domande frequenti ---------- */
.faq { background: var(--surface); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq__list { display: grid; gap: .6rem; }
.qa { background: var(--bg); border-radius: var(--radius-sm); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-weight: 550; color: var(--ink); font-size: 1.0313rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); flex: none; }
.qa__icon::before, .qa__icon::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--porpora);
  transform: translate(-50%, -50%); transition: transform .4s var(--ease);
}
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 1.35rem 1.25rem; color: var(--muted); max-width: 40rem; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- Contatti ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: stretch; }
.contact__info { display: grid; gap: 1.75rem; align-content: start; }
.contact__rows { display: grid; gap: .25rem; }
.crow {
  display: flex; align-items: center; gap: 1rem;
  padding: .95rem 0; border-bottom: 1px solid var(--line);
}
.crow__icon {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); color: var(--porpora); flex: none;
}
.crow__icon svg { width: 20px; height: 20px; }
.crow small { display: block; color: var(--muted); font-size: .8125rem; }
.crow strong { color: var(--ink); font-weight: 550; }
a.crow:hover strong { color: var(--porpora); }
.contact__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hours-card { background: var(--surface); border-radius: var(--radius); padding: 1.75rem; display: grid; gap: 1rem; align-content: start; }
.hours-card__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hours { display: grid; }
.hours div { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.hours div:last-child { border-bottom: 0; }
.hours dt { color: var(--text); }
.hours dd { color: var(--ink); font-weight: 550; }
.hours .is-today dt, .hours .is-today dd { color: var(--porpora); font-weight: 650; }
.contact__visual { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--nude-soft); }
.contact__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__visual .float-card { left: 1.25rem; right: 1.25rem; bottom: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.contact__visual .float-card strong { display: block; color: var(--ink); font-weight: 600; }
.contact__visual .float-card span { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__visual { min-height: 340px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #d9d1cc; padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; }
.footer .logo { color: #fff; }
.footer .logo__sub { color: #a69b98; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__about { display: grid; gap: 1.25rem; align-content: start; }
.footer__about p { color: #a69b98; max-width: 22rem; font-size: .9688rem; }
.footer h3 { color: #fff; font-size: .9375rem; font-weight: 600; letter-spacing: 0; margin-bottom: 1rem; }
.footer ul { display: grid; gap: .55rem; font-size: .9688rem; }
.footer a:hover { color: #fff; }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .8125rem; color: #8f8582;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }

/* ---------- Prenotazione fissa ---------- */
.fab {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 80;
  transform: translateY(160%); transition: transform .6s var(--ease);
}
.fab.is-visible { transform: none; }
.mbar {
  position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 80;
  display: none; grid-template-columns: auto 1fr; gap: .5rem;
  padding: .45rem; border-radius: 99px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px -18px rgba(29, 26, 28, .45);
  transform: translateY(160%); transition: transform .6s var(--ease);
}
.mbar.is-visible { transform: none; }
.mbar .btn { min-height: 48px; padding: 0 1.1rem; font-size: .9688rem; }
@media (max-width: 760px) {
  .fab { display: none; }
  .mbar { display: grid; }
  .footer { padding-bottom: 6.5rem; }
}

/* ---------- Animazioni ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal='img'] { transform: none; clip-path: inset(12% 0 0 0 round var(--radius)); transition: opacity 1s var(--ease), clip-path 1.3s var(--ease); }
.js [data-reveal='img'].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }

/* Ingresso della hero */
.js [data-in] { opacity: 0; transform: translateY(22px); }
.js.is-ready [data-in] {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js .hero__img { clip-path: inset(100% 0 0 0 round 28px); }
.js .hero__img img { transform: scale(1.18); }
.js.is-ready .hero__img { clip-path: inset(0 0 0 0 round 28px); transition: clip-path 1.5s var(--ease) .1s; }
.js.is-ready .hero__img img { transform: scale(1); transition: transform 2.2s var(--ease) .1s; }
.js .hero .float-card { opacity: 0; transform: translateY(16px) scale(.96); }
.js.is-ready .hero .float-card { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 900) * 1ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-in], .js .hero .float-card { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .hero__img { clip-path: none !important; }
  .js .hero__img img { transform: none !important; }
}

/* Header: nessun a capo */
.logo__name, .logo__sub, .nav__link, .header__phone { white-space: nowrap; }
@media (max-width: 1180px) {
  .header__phone { display: none; }
  .nav { gap: 1.35rem; }
}

/* =========================================================
   Pagine multiple
   ========================================================= */

/* ---------- Menu a tendina Trattamenti ---------- */
.nav__item { position: relative; }
.nav__chev { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.nav__item:hover .nav__chev, .nav__item:focus-within .nav__chev { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: calc(100% + 12px); left: -1rem; min-width: 210px;
  display: grid; gap: 2px; padding: .5rem;
  background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.nav__sub::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.nav__sub a { padding: .65rem .9rem; border-radius: 10px; font-size: .9688rem; font-weight: 500; color: var(--ink); transition: background .25s, color .25s; }
.nav__sub a:hover, .nav__sub a[aria-current='page'] { background: var(--porpora-soft); color: var(--porpora); }

.mobile-nav { overflow-y: auto; }
.mobile-nav ul a[aria-current='page'] { color: var(--porpora); }
.mobile-nav__sub { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 1rem !important; padding: .35rem 0 .75rem; border-bottom: 1px solid var(--line); }
.mobile-nav .mobile-nav__sub a { font-size: 1.0625rem; letter-spacing: 0; border: 0; padding: .4rem 0; color: var(--muted); }
.mobile-nav .mobile-nav__sub a[aria-current='page'] { color: var(--porpora); }
.mobile-nav > ul > li:has(.mobile-nav__sub) > a { border-bottom: 0; }

/* ---------- Intestazione delle pagine interne ---------- */
.page-head { padding-top: calc(var(--header-h) + clamp(1.75rem, 4vw, 3rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-head--center { text-align: center; padding-bottom: clamp(2rem, 4vw, 3rem); }
.page-head--center .lead { margin-inline: auto; }
.page-head--center .h1 { margin-top: 1rem; }
.page-head--center .lead { margin-top: 1.25rem; }
.page-head__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.page-head__text { display: grid; gap: 1.4rem; }
.page-head__text .h1 { max-width: 14ch; }
.page-head__img { border-radius: 28px; overflow: hidden; aspect-ratio: 1000 / 1150; max-height: min(74vh, 640px); background: var(--nude-soft); }
.page-head__img img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; font-size: var(--fs-sm); color: var(--muted); }
.page-head--center .crumbs { justify-content: center; }
.crumbs a:hover { color: var(--porpora); }
.crumbs [aria-current] { color: var(--ink); font-weight: 550; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips--center { justify-content: center; margin-top: 1.75rem; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem;
  border-radius: 99px; background: var(--surface); color: var(--ink);
  font-size: .9063rem; font-weight: 550; border: 1px solid var(--line);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.chip:hover { background: var(--porpora); border-color: var(--porpora); color: #fff; }
@media (max-width: 900px) {
  .page-head__grid { grid-template-columns: 1fr; }
  .page-head__img { order: -1; aspect-ratio: 4 / 3; max-height: none; }
  .page-head__text .h1 { max-width: none; }
}

/* ---------- Blocchi servizio ---------- */
.svc-list { display: grid; }
.svc { padding-block: clamp(3rem, 6vw, 5.5rem); scroll-margin-top: calc(var(--header-h) + 8px); }
.svc:nth-child(odd of .svc) { background: var(--surface); }
.svc__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.svc--rev .svc__media { order: 2; }
.svc__media { position: relative; }
.svc__img { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 900 / 1100; background: var(--nude-soft); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
a.svc__img:hover img { transform: scale(1.04); }
.svc__img2 {
  position: absolute; right: -1.5rem; bottom: -1.75rem; width: 38%;
  border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1;
  border: 6px solid var(--bg); box-shadow: var(--shadow);
}
.svc:nth-child(odd of .svc) .svc__img2 { border-color: var(--surface); }
.svc--rev .svc__img2 { right: auto; left: -1.5rem; }
.svc__img2 img { width: 100%; height: 100%; object-fit: cover; }
.svc__body { display: grid; gap: 1.1rem; align-content: start; }
.svc__body .h2 a:hover { color: var(--porpora); }
.svc__tag {
  justify-self: start; display: inline-flex; align-items: center; min-height: 30px; padding: 0 .85rem;
  border-radius: 99px; background: var(--porpora-soft); color: var(--porpora);
  font-size: .8125rem; font-weight: 600;
}
.svc__content { display: grid; gap: 1.1rem; color: var(--text); }
.svc__content > p { max-width: 38rem; }
.svc__group h3 { font-size: 1rem; font-weight: 650; color: var(--ink); letter-spacing: 0; margin-bottom: .65rem; }
.svc .facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.svc .facts div { background: var(--bg); }
.svc:nth-child(even of .svc) .facts div, .svc:nth-child(even of .svc) .ditems li { background: var(--surface); }
.svc .ditems li { background: var(--bg); }
.dlist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.tnames { display: flex; flex-wrap: wrap; gap: .45rem; }
.tnames a {
  display: inline-flex; min-height: 36px; align-items: center; padding: 0 .9rem; border-radius: 99px;
  background: var(--bg); border: 1px solid var(--line); font-size: .875rem; font-weight: 500; color: var(--ink);
  transition: border-color .3s, color .3s;
}
.svc:nth-child(even of .svc) .tnames a { background: var(--surface); }
.tnames a:hover { border-color: var(--porpora); color: var(--porpora); }

/* elementi riutilizzati nei blocchi servizio */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.facts div { border-radius: 12px; padding: .8rem 1rem; }
.facts dt { font-size: .8125rem; color: var(--muted); }
.facts dd { font-weight: 600; color: var(--ink); font-size: .9688rem; line-height: 1.35; }
.dlist { display: grid; gap: .45rem; }
.dlist li { position: relative; padding-left: 1.25rem; }
.dlist li::before { content: ''; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--porpora); }
.dsteps { display: grid; gap: .6rem; counter-reset: s; }
.dsteps li { display: grid; grid-template-columns: 30px 1fr; gap: .75rem; align-items: start; }
.dsteps li::before {
  counter-increment: s; content: counter(s);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--porpora-soft); color: var(--porpora); font-weight: 650; font-size: .875rem;
}
.ditems { display: grid; gap: .6rem; }
.ditems li { border-radius: 12px; padding: .9rem 1.1rem; }
.ditems strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: .15rem; }
.ditems span { color: var(--muted); font-size: .9688rem; }

@media (max-width: 900px) {
  .svc__grid { grid-template-columns: 1fr; }
  .svc--rev .svc__media { order: 0; }
  .svc__media { max-width: 560px; }
  .svc__img { aspect-ratio: 4 / 3.4; }
  .svc__img2 { width: 34%; right: -.5rem; bottom: -1.25rem; }
  .svc--rev .svc__img2 { left: auto; right: -.5rem; }
}
@media (max-width: 520px) {
  .dlist--cols { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* ---------- Galleria tra i blocchi ---------- */
.gallery { padding-block: clamp(2.5rem, 5vw, 4rem); }
.gallery__grid { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: clamp(.75rem, 1.6vw, 1.25rem); align-items: start; }
.gallery__item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--nude-soft); }
.gallery__item:nth-child(2) { margin-top: clamp(2rem, 5vw, 4.5rem); aspect-ratio: 3 / 4.2; }
.gallery__item:nth-child(3) { aspect-ratio: 1; margin-top: clamp(1rem, 2.5vw, 2rem); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
@media (max-width: 700px) {
  .gallery__grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad);
  }
  .gallery__grid::-webkit-scrollbar { display: none; }
  .gallery__item, .gallery__item:nth-child(2), .gallery__item:nth-child(3) { margin-top: 0; aspect-ratio: 4 / 5; scroll-snap-align: start; }
}

/* ---------- Card categorie: varianti ---------- */
@media (min-width: 1081px) { .cats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Pagina Domande ---------- */
.faq-page__grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-page__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.faq-page__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 700 / 860; background: var(--nude-soft); }
.faq-page__img img { width: 100%; height: 100%; object-fit: cover; }
.faq-page__ask { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .75rem; justify-items: start; }
.faq-page__groups { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
.faq-group__title { font-size: 1.25rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 1rem; }
.faq-page .qa { background: var(--surface); }
.faq-page .qa__icon { background: var(--bg); }
@media (max-width: 900px) {
  .faq-page__grid { grid-template-columns: 1fr; }
  .faq-page__aside { position: static; order: 2; }
  .faq-page__img { display: none; }
}

/* ---------- Chi siamo ---------- */
@media (min-width: 901px) {
  .about__media--right .about__img2 { right: auto; left: -1.5rem; }
}
.contact { background: var(--surface); }
.contact .crow__icon { background: var(--bg); }
.contact .hours-card { background: var(--bg); }

/* =========================================================
   Menu con sottomenu, hero, mosaico, fascia con foto
   ========================================================= */
.flip { transform: scaleX(-1); }
.btn svg.flip { transform: scaleX(-1); }

/* Sottomenu ricchi */
.nav__sub--mega { left: -1.5rem; width: 560px; padding: .75rem; }
.mega { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; }
.nav__sub .mega__item { display: flex; align-items: center; gap: .85rem; padding: .55rem; }
.mega__img { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex: none; background: var(--nude-soft); }
.mega__img img { width: 100%; height: 100%; object-fit: cover; }
.mega__item strong { display: block; color: var(--ink); font-weight: 600; font-size: .9688rem; }
.mega__item small { display: block; color: var(--muted); font-size: .8125rem; font-weight: 450; }
.mega__item:hover strong, .mega__item[aria-current='page'] strong { color: var(--porpora); }
.nav__sub .mega__all {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: .35rem; padding: .85rem .9rem .35rem; border-top: 1px solid var(--line); border-radius: 0;
  color: var(--porpora); font-weight: 600;
}
.nav__sub .mega__all:hover { background: none; }
.mega__all svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.mega__all:hover svg { transform: translateX(4px); }
.nav__sub--rich { min-width: 330px; }
.nav__sub .nav__sub-rich { display: flex; gap: .85rem; align-items: flex-start; padding: .8rem .9rem; }
.nav__sub-rich svg { width: 20px; height: 20px; color: var(--porpora); margin-top: 2px; }
.nav__sub-rich strong { display: block; color: var(--ink); font-weight: 600; font-size: .9688rem; }
.nav__sub-rich small { display: block; color: var(--muted); font-size: .8125rem; font-weight: 450; }

/* Menu mobile ad accordion */
.mnav { display: grid; }
.mnav__group { border-bottom: 1px solid var(--line); }
.mnav__group summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 1.75rem; letter-spacing: -0.02em; color: var(--ink); padding: .8rem 0;
}
.mnav__group summary::-webkit-details-marker { display: none; }
.mnav__group summary::after {
  content: ''; width: 10px; height: 10px; margin-right: 6px;
  border-right: 1.6px solid var(--porpora); border-bottom: 1.6px solid var(--porpora);
  transform: rotate(45deg) translateY(-3px); transition: transform .35s var(--ease);
}
.mnav__group[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.mobile-nav .mnav__group ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; padding: 0 0 1rem; }
.mobile-nav .mnav__group ul a { display: block; font-size: 1.0625rem; letter-spacing: 0; border: 0; padding: .45rem 0; color: var(--muted); }
.mobile-nav .mnav__group ul a:hover { color: var(--porpora); }

/* Hero: composizione con due foto */
.hero__visual { position: relative; padding-bottom: 2rem; }
.hero__img { width: calc(86% - 2rem); margin-right: 2.25rem; }
.hero__img2 {
  position: absolute; left: 0; bottom: 0; width: 36%;
  aspect-ratio: 520 / 640; border-radius: 20px; overflow: hidden;
  border: 8px solid var(--bg); box-shadow: var(--shadow);
}
.hero__img2 img { width: 100%; height: 100%; object-fit: cover; }
.hero__note {
  position: absolute; right: 0; top: 50%;
  writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  font-size: .8125rem; letter-spacing: .08em; color: var(--muted); white-space: nowrap;
}
.hero__note span { color: var(--muted); }
.hero__note { color: var(--porpora); font-weight: 600; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; font-size: var(--fs-sm); color: var(--muted); margin-top: .25rem; }
.hero__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--nude); }
.hero__facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem; border-top: 1px solid var(--line);
}
.hero__facts li { display: flex; gap: .85rem; align-items: flex-start; font-size: .875rem; color: var(--muted); line-height: 1.45; }
.hero__facts svg { width: 22px; height: 22px; color: var(--porpora); margin-top: 1px; }
.hero__facts strong { display: block; color: var(--ink); font-weight: 600; font-size: .9688rem; }
@media (max-width: 900px) {
  .hero__img { width: 100%; margin-right: 0; }
  .hero__img2 { width: 32%; left: -.25rem; bottom: -1rem; border-width: 6px; }
  .hero__note { display: none; }
  .hero__visual { padding-bottom: 0; }
  .hero__facts { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
}

/* Intestazione di sezione su due colonne */
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.section-head--split .h2 { max-width: 18ch; }
.section-head--split .lead { max-width: 24rem; margin-top: 0; }
@media (max-width: 760px) { .section-head--split { flex-direction: column; align-items: flex-start; gap: 1rem; } }

/* Mosaico categorie */
.bento {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: repeat(2, clamp(230px, 24vw, 330px)); gap: 1rem;
}
.bento__tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; isolation: isolate; background: var(--nude-soft); }
.bento__tile--viso { grid-row: span 2; }
.bento__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -1; }
.bento__tile:hover img { transform: scale(1.05); }
.bento__tile::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(29, 26, 28, .55), rgba(29, 26, 28, 0) 50%);
}
.bento__label { position: absolute; left: 1.35rem; bottom: 1.2rem; color: #fff; }
.bento__label strong { display: block; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); font-weight: 550; letter-spacing: -0.015em; line-height: 1.2; }
.bento__label small { font-size: .875rem; opacity: .85; }
.bento__go {
  position: absolute; right: 1.1rem; bottom: 1.1rem;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.bento__go svg { width: 18px; height: 18px; }
.bento__tile:hover .bento__go { background: var(--porpora); color: #fff; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: .75rem; }
  .bento__tile { aspect-ratio: 1 / 1.05; }
  .bento__tile--viso { grid-row: auto; grid-column: span 2; aspect-ratio: 16 / 10; }
  .bento__label { left: 1rem; bottom: .9rem; }
  .bento__go { width: 36px; height: 36px; right: .8rem; bottom: .8rem; }
}

/* Fascia finale con foto */
.cta-split {
  display: grid; grid-template-columns: 1fr 1.05fr; overflow: hidden;
  border-radius: 28px; background: var(--porpora); color: #f1e2e9;
}
.cta-split__img { position: relative; min-height: 340px; }
.cta-split__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-split__body { padding: clamp(2rem, 5vw, 3.75rem); display: grid; gap: 1rem; align-content: center; }
.cta-split .h2 { color: #fff; }
.cta-split p { max-width: 32rem; }
.cta-split .status { color: #fff; }
.cta-split .status__dot { background: #d9c1cc; }
.cta-split .status.is-open .status__dot { background: #8fe0ac; }
.cta-split .status.is-open .status__dot::after { border-color: #8fe0ac; }
.btn--outline-light { border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--porpora); border-color: #fff; }
@media (max-width: 820px) {
  .cta-split { grid-template-columns: 1fr; }
  .cta-split__img { min-height: 0; aspect-ratio: 16 / 9; }
}

/* Barra mobile con icone */
.mbar { grid-template-columns: auto auto 1fr; }
.mbar__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--porpora); }
.mbar__icon svg { width: 22px; height: 22px; }
.footer__about .btn { margin-top: .25rem; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   Pagina Prenotazioni
   ========================================================= */
.page-head--compact { padding-bottom: 1.5rem; }
.booking { padding-top: 1rem; }
.booking__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(1.25rem, 3vw, 2.25rem); align-items: start; }
.booking__main { background: var(--surface); border-radius: 28px; padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: var(--shadow-sm); min-width: 0; }

.bsteps { display: flex; gap: .5rem; margin-bottom: 2rem; }
.bsteps__item {
  flex: 1; display: flex; align-items: center; gap: .6rem;
  font-size: .9375rem; font-weight: 550; color: var(--muted);
  padding-bottom: .9rem; border-bottom: 2px solid var(--line);
  transition: color .3s, border-color .3s;
}
.bsteps__item span {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--bg); font-size: .8125rem; font-weight: 650; transition: background .3s, color .3s;
}
.bsteps__item.is-current { color: var(--ink); border-color: var(--porpora); }
.bsteps__item.is-current span { background: var(--porpora); color: #fff; }
.bsteps__item.is-done { color: var(--ink); border-color: var(--porpora-soft); cursor: pointer; }
.bsteps__item.is-done span { background: var(--porpora-soft); color: var(--porpora); }

.bstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.bstep__title { font-size: 1.375rem; font-weight: 550; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 1.25rem; padding: 0; }
.bstep__title:focus { outline: none; }
.bstep__hint { margin-top: 1.25rem; font-size: .9375rem; color: var(--muted); }
.bstep__hint a { color: var(--porpora); font-weight: 550; text-decoration: underline; text-underline-offset: 3px; }

.bcats { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.bcat {
  min-height: 42px; padding: 0 1.1rem; border-radius: 99px; border: 1.5px solid var(--line);
  font-weight: 550; font-size: .9375rem; color: var(--ink); background: var(--surface);
  transition: background .3s, color .3s, border-color .3s;
}
.bcat:hover { border-color: var(--porpora); }
.bcat[aria-checked='true'] { background: var(--porpora); border-color: var(--porpora); color: #fff; }

.btreat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.tpick {
  display: flex; align-items: center; gap: .9rem; text-align: left;
  padding: .7rem .9rem .7rem .7rem; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface);
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.tpick:hover { border-color: var(--nude); transform: translateY(-1px); }
.tpick img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.tpick__text { flex: 1; min-width: 0; }
.tpick__text strong { display: block; color: var(--ink); font-weight: 600; font-size: .9688rem; line-height: 1.3; }
.tpick__text small { display: block; color: var(--muted); font-size: .8438rem; line-height: 1.4; margin-top: .15rem; }
.tpick__check {
  width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center;
  border: 1.5px solid var(--line); color: transparent; transition: background .3s, border-color .3s, color .3s;
}
.tpick__check svg { width: 14px; height: 14px; }
.tpick[aria-checked='true'] { border-color: var(--porpora); background: var(--porpora-soft); }
.tpick[aria-checked='true'] .tpick__check { background: var(--porpora); border-color: var(--porpora); color: #fff; }

.bdate { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.cal__month { font-weight: 600; color: var(--ink); font-size: 1.0625rem; }
.cal__nav { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--ink); transition: border-color .3s; }
.cal__nav svg { width: 18px; height: 18px; }
.cal__nav--prev svg { transform: rotate(90deg); }
.cal__nav--next svg { transform: rotate(-90deg); }
.cal__nav:hover:not(:disabled) { border-color: var(--porpora); }
.cal__nav:disabled { opacity: .35; cursor: default; }
.cal__week { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: .75rem; color: var(--muted); font-weight: 550; margin-bottom: .35rem; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__day {
  aspect-ratio: 1; border-radius: 12px; font-weight: 550; font-size: .9375rem; color: var(--ink);
  font-variant-numeric: tabular-nums; transition: background .25s, color .25s;
}
.cal__day:hover:not(:disabled) { background: var(--porpora-soft); color: var(--porpora); }
.cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--nude); }
.cal__day[aria-pressed='true'] { background: var(--porpora); color: #fff; box-shadow: none; }
.cal__day:disabled { color: #c9c0bb; cursor: default; }
.cal__day.is-full { text-decoration: line-through; }

.slots__day { font-weight: 600; color: var(--ink); margin-bottom: 1rem; }
.slots__day::first-letter { text-transform: uppercase; }
.slots__group + .slots__group { margin-top: 1rem; }
.slots__label { font-size: .8125rem; color: var(--muted); font-weight: 550; margin-bottom: .45rem; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: .4rem; }
.slot {
  min-height: 42px; border-radius: 10px; border: 1.5px solid var(--line);
  font-weight: 550; font-size: .9375rem; color: var(--ink); font-variant-numeric: tabular-nums;
  transition: border-color .25s, background .25s, color .25s;
}
.slot:hover:not(:disabled) { border-color: var(--porpora); }
.slot[aria-pressed='true'] { background: var(--porpora); border-color: var(--porpora); color: #fff; }
.slot:disabled { color: #c9c0bb; background: var(--bg); border-color: transparent; text-decoration: line-through; cursor: default; }
.slots__empty { color: var(--muted); padding: 1rem 0; }
.slots__alert { background: var(--porpora-soft); color: var(--porpora); font-weight: 550; padding: .75rem 1rem; border-radius: 12px; margin-bottom: 1rem; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1rem; }
.field { display: grid; gap: .4rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg);
  font: inherit; color: var(--ink); transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--porpora); background: var(--surface); box-shadow: 0 0 0 4px var(--porpora-soft); }
.field [aria-invalid='true'] { border-color: #b3261e; }
.field__err { color: #b3261e; font-size: .8438rem; font-weight: 550; }
.field__err:empty { display: none; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9375rem; color: var(--text); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--porpora); flex: none; }

.bnav { display: flex; gap: .75rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.bnav [data-next] { margin-left: auto; }
.bnav .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.bdone { display: grid; justify-items: center; text-align: center; gap: 1rem; padding: 2rem 0 1rem; }
.bdone:focus { outline: none; }
.bdone .lead { margin-inline: auto; }
.bdone .lead strong { color: var(--ink); font-weight: 600; }
.bdone__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--porpora-soft); color: var(--porpora); }
.bdone__icon svg { width: 32px; height: 32px; }
.bdone .btn-row { justify-content: center; }

.bsum { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--surface); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-sm); }
.bsum__img { aspect-ratio: 720 / 520; background: var(--nude-soft); }
.bsum__img img { width: 100%; height: 100%; object-fit: cover; }
.bsum__body { padding: 1.5rem; display: grid; gap: 1rem; }
.bsum__title { font-size: 1.125rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.bsum__rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.bsum__rows dt { color: var(--muted); font-size: .875rem; }
.bsum__rows dd { color: var(--ink); font-weight: 600; font-size: .9375rem; text-align: right; }
.bsum__alt { border-top: 1px solid var(--line); padding-top: 1rem; display: grid; gap: .6rem; }
.bsum__alt .btn-row { margin-top: 0; }

@media (max-width: 1000px) {
  .booking__grid { grid-template-columns: 1fr; }
  .bsum { position: static; display: grid; grid-template-columns: 200px 1fr; }
  .bsum__img { aspect-ratio: auto; }
}
@media (max-width: 760px) {
  .btreat, .bdate, .fields { grid-template-columns: 1fr; }
  .bsteps__item { font-size: .8125rem; gap: .4rem; }
  .bsum { grid-template-columns: 1fr; }
  .bsum__img { display: none; }
}
