/* ═══════════════════════════════════════════════════════════
   LILLA ESTETICA · Vittuone — stile principale
   Mobile-first · nessuna dipendenza esterna · font self-hosted
   ═══════════════════════════════════════════════════════════ */

/* ── Font self-hosted (nessuna chiamata a server esterni) ── */
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/jost-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/jost-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/jost-latin-600-normal.woff2") format("woff2");
}

:root {
  /* Palette (dal brand: lilla, bianco, prugna) */
  --lilla-50:  #F8F4FB;
  --lilla-100: #F0E7F8;
  --lilla-200: #DFCBEF;
  --lilla-300: #C9A9E2;
  --lilla:     #B48CD9;
  --lilla-600: #9268BD;
  --lilla-700: #7A54A3;
  --plum:      #3A2B4D;
  --plum-800:  #2E2140;
  --ink:       #4C4258;
  --muted:     #7C7288;
  --bg:        #FDFCFE;
  --surface:   #FFFFFF;
  --gold:      #C2A15C;
  --wa:        #15803D;
  --wa-dark:   #136C34;

  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 10px 30px -12px rgba(58, 43, 77, .18);
  --shadow-lg: 0 24px 60px -20px rgba(58, 43, 77, .28);

  --font-display: "Cormorant Garamond", "Didot", "Bodoni MT", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --header-h: 68px;
}

/* ── Reset essenziale ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--lilla-700); text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--lilla); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--plum); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 2.5rem); }

/* ── Tipografia ── */
h1, h2, h3, .brand__text { font-family: var(--font-display); color: var(--plum); font-weight: 600; line-height: 1.12; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); letter-spacing: .01em; margin-bottom: .5em; }
h2 em, h1 em { font-style: italic; color: var(--lilla-600); }
h3 { font-size: 1.35rem; margin-bottom: .35em; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--lilla-700); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--lilla); vertical-align: middle; margin-right: .7rem; }

.section { padding: clamp(4rem, 3rem + 4vw, 7rem) 0; }
.section--tint { background: linear-gradient(180deg, var(--lilla-50), #fff); }
.section__intro { max-width: 56ch; color: var(--muted); margin-bottom: 2.5rem; }
.muted { color: var(--muted); }
.mini { font-size: .85rem; }
.note { margin-top: 2rem; font-size: .9rem; color: var(--muted); }
.note a { text-decoration: underline; text-underline-offset: 3px; }
.stars { color: var(--gold); letter-spacing: .12em; }

/* ── Bottoni ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--whatsapp { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(21, 128, 61, .55); }
.btn--whatsapp:hover { background: var(--wa-dark); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--plum); background: transparent; }
.btn--ghost:hover { background: var(--plum); color: #fff; border-color: var(--plum); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn--sm { padding: .5rem 1.1rem; font-size: .85rem; }
.btn--full { width: 100%; }
.textlink { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--lilla-300); }
.textlink:hover { color: var(--plum); }

/* ═══════════ HEADER ═══════════ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .25s ease, box-shadow .25s ease;
  color: #fff;
}
.header.scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 6px 24px -12px rgba(58, 43, 77, .25); color: var(--plum); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(1200px, 100% - 2.5rem); margin-inline: auto; }

.brand { display: inline-flex; align-items: center; gap: .6rem; color: inherit; }
.brand__mark { width: 40px; height: 40px; color: var(--lilla); flex: none; }
.header:not(.scrolled):not(.header--solid) .brand__mark { color: var(--lilla-200); }
.brand__text { display: flex; flex-direction: column; font-size: 1.45rem; letter-spacing: .34em; line-height: 1; color: inherit; }
.brand__text small { font-family: var(--font-body); font-size: .52rem; font-weight: 600; letter-spacing: .38em; opacity: .75; margin-top: .3em; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav > a:not(.btn) { color: inherit; font-weight: 600; font-size: .92rem; opacity: .92; position: relative; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--lilla); transition: width .22s ease; }
.nav > a:not(.btn):hover::after { width: 100%; }
.btn--nav { padding: .55rem 1.15rem; font-size: .88rem; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; z-index: 110; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 105;
    flex-direction: column; justify-content: center; gap: 1.9rem;
    background: linear-gradient(160deg, var(--plum) 0%, var(--plum-800) 100%);
    color: #fff !important;
    opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav > a:not(.btn) { font-size: 1.35rem; font-family: var(--font-display); letter-spacing: .05em; }
  body.nav-locked { overflow: hidden; }
  .header.nav-open { color: #fff; background: transparent; box-shadow: none; }
}

/* ═══════════ HERO ═══════════ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 50% 36%; z-index: -2; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(200deg, rgba(58,43,77,.18) 0%, rgba(58,43,77,.45) 55%, rgba(30,20,45,.85) 100%);
}
.hero__content { padding: 7rem 0 4.5rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: .45rem 1rem; border-radius: 999px; font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  margin-bottom: 1.4rem;
}
.hero__title { font-size: clamp(2.7rem, 1.8rem + 5.5vw, 5.2rem); color: #fff; text-wrap: balance; margin-bottom: 1.1rem; }
.hero__title em { color: var(--lilla-200); }
.hero__sub { max-width: 54ch; font-size: clamp(1rem, .95rem + .4vw, 1.15rem); opacity: .94; margin-bottom: 2rem; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.6rem; }
.hero .btn--ghost { color: #fff; }
.hero .btn--ghost:hover { background: #fff; color: var(--plum); border-color: #fff; }
.hero__status { font-size: .88rem; font-weight: 600; opacity: .95; min-height: 1.4em; }
.hero__status .dot { margin-right: .35rem; }

/* ═══════════ BARRA INFO ═══════════ */
.infobar { background: var(--plum); color: #EDE6F5; font-size: .88rem; }
.infobar__inner { display: flex; flex-wrap: wrap; gap: .5rem 2.2rem; padding: .8rem 0; }
.infobar__item { display: inline-flex; align-items: center; gap: .5rem; color: inherit; font-weight: 500; }
.infobar__item svg { width: 1.05em; height: 1.05em; opacity: .8; }
a.infobar__item:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.dot { display: inline-block; width: .6em; height: .6em; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .25); }
.dot--closed { background: #F87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, .22); }

/* ═══════════ CARDS SERVIZI ═══════════ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1.2rem; }
.card {
  background: var(--surface); border: 1px solid var(--lilla-100);
  border-radius: var(--radius); padding: 1.7rem 1.5rem 1.5rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--lilla-200); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--lilla-100), var(--lilla-200));
  color: var(--lilla-700); margin-bottom: 1.1rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card p { font-size: .92rem; color: var(--muted); }
.card__price { margin-top: .9rem; font-size: .9rem !important; }
.card__price strong { font-size: 1.25rem; color: var(--plum); font-family: var(--font-display); }
.card__link { margin-top: auto; padding-top: .9rem; font-size: .88rem; font-weight: 700; }
.card__link::after { content: " →"; }
.card__link:hover { color: var(--plum); }
.card--cta {
  background: linear-gradient(150deg, var(--lilla-600), var(--plum));
  border: 0; color: #fff; justify-content: center; align-items: flex-start; gap: .4rem;
}
.card--cta h3 { color: #fff; }
.card--cta p { color: rgba(255,255,255,.85); margin-bottom: 1rem; }

/* ═══════════ LISTINO (accordion) ═══════════ */
.accordion { display: grid; gap: .8rem; }
details {
  background: var(--surface); border: 1px solid var(--lilla-100);
  border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden;
}
details[open] { border-color: var(--lilla-200); }
summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.3rem; font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; color: var(--plum);
  transition: background .18s ease;
}
summary::-webkit-details-marker { display: none; }
summary:hover { background: var(--lilla-50); }
summary::after { content: "❯"; color: var(--lilla-600); font-size: .8em; transform: rotate(90deg); transition: transform .22s ease; flex: none; }
details[open] summary::after { transform: rotate(-90deg); }
summary .tag {
  font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  background: var(--lilla-100); color: var(--lilla-700); border-radius: 999px; padding: .3rem .8rem; white-space: nowrap;
  margin-left: auto;
}
.pricelist { padding: .3rem 1.3rem 1.2rem; }
.pricelist li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .6rem 0; border-bottom: 1px dashed var(--lilla-100); font-size: .95rem;
}
.pricelist li:last-child { border-bottom: 0; }
.pricelist small { display: block; color: var(--muted); font-size: .78rem; }
.pricelist strong { color: var(--plum); white-space: nowrap; }
.pricelist p { padding: .4rem 0 .6rem; font-size: .95rem; }

/* ═══════════ IL CENTRO ═══════════ */
.about { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.about__text p { margin-bottom: 1rem; }
.features { margin-top: 1.4rem; display: grid; gap: .65rem; }
.features li { display: flex; align-items: center; gap: .7rem; font-weight: 500; font-size: .95rem; }
.features svg { width: 22px; height: 22px; color: var(--lilla-600); flex: none; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: .8rem; }
@media (min-width: 900px) { .gallery { grid-auto-rows: 175px; } }
.gallery__item { position: relative; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img, .gallery__item video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.045); }
.gallery__item video { background: var(--plum); }

/* ═══════════ RECENSIONI ═══════════ */
.section--plum { background: radial-gradient(120% 140% at 85% -10%, var(--lilla-700) 0%, var(--plum) 45%, var(--plum-800) 100%); }
.section--plum h2 { color: #fff; }
.section--plum h2 em { color: var(--lilla-200); }
.section--plum .eyebrow { color: var(--lilla-200); }
.section--plum .eyebrow::before { background: var(--lilla-300); }

.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(320px, 82vw);
  gap: 1rem; overflow-x: auto; padding: .5rem .2rem 1.4rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--lilla-300) transparent; scrollbar-width: thin;
}
.reviews::-webkit-scrollbar { height: 6px; }
.reviews::-webkit-scrollbar-thumb { background: var(--lilla-600); border-radius: 3px; }
.review {
  scroll-snap-align: start; background: #fff; border-radius: var(--radius);
  padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .8rem;
  box-shadow: 0 16px 40px -18px rgba(0,0,0,.45);
}
.review blockquote { font-size: .98rem; color: var(--ink); flex: 1; text-wrap: pretty; }
.review footer { font-size: .85rem; color: var(--muted); }
.review footer strong { color: var(--plum); }
.review--summary { background: linear-gradient(160deg, var(--lilla-100), #fff); align-items: flex-start; justify-content: center; }
.review__big { font-family: var(--font-display); font-size: 3.6rem; font-weight: 700; color: var(--plum); line-height: 1; }
.review--summary p { color: var(--ink); font-weight: 500; }

/* ═══════════ CONTATTI ═══════════ */
.contact { display: grid; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.contact__info { display: grid; gap: 1.9rem; align-content: start; }
.contact__block h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; margin-bottom: .5rem; }
.contact__block h3 svg { width: 21px; height: 21px; color: var(--lilla-600); }
.contact__block p { margin-bottom: .3rem; }

.hours { border-collapse: collapse; width: 100%; max-width: 340px; font-size: .93rem; }
.hours td { padding: .42rem 0; border-bottom: 1px dashed var(--lilla-100); }
.hours td:last-child { text-align: right; color: var(--muted); }
.hours tr.today td { color: var(--plum); font-weight: 700; }
.hours tr.today td:first-child::before { content: "●"; color: var(--lilla); margin-right: .45rem; font-size: .7em; vertical-align: middle; }

.contact__form {
  background: var(--surface); border: 1px solid var(--lilla-100); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; box-shadow: var(--shadow-lg); align-self: start;
}
.contact__form h3 { margin-bottom: .2rem; }
.contact__form .muted { margin-bottom: 1.2rem; font-size: .88rem; }
.contact__form label { display: block; font-size: .82rem; font-weight: 700; color: var(--plum); margin: .9rem 0 .3rem; letter-spacing: .02em; }
.contact__form input, .contact__form select, .contact__form textarea {
  width: 100%; padding: .7rem .9rem; border: 1.5px solid var(--lilla-200); border-radius: 10px;
  font: inherit; color: var(--ink); background: var(--lilla-50); transition: border-color .18s ease, background .18s ease;
}
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus {
  outline: none; border-color: var(--lilla-600); background: #fff;
}
.contact__form button { margin-top: 1.3rem; }
.contact__form .mini { text-align: center; margin-top: .8rem; }

/* Mappa (caricamento su richiesta) */
.map {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(140deg, var(--lilla-100), var(--lilla-50));
  border: 1px solid var(--lilla-200);
  min-height: 340px; display: grid; place-content: center; justify-items: center; gap: .8rem; text-align: center;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__loader { background: #fff; }

/* ═══════════ FOOTER ═══════════ */
.footer { background: var(--plum-800); color: #C9BFD8; font-size: .92rem; }
.footer a { color: #E6DEF2; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__grid { display: grid; gap: 2rem; padding: 3.5rem 0 2rem; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; } }
.footer__grid p { line-height: 2; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .8rem; }
.brand--footer { color: #fff; margin-bottom: 1rem; }
.brand--footer .brand__mark { color: var(--lilla-300); }
.footer__legal { border-top: 1px solid rgba(255,255,255,.1); padding: 1.3rem 0 2rem; font-size: .8rem; color: #9C8FB0; }

/* ═══════════ FAB WhatsApp ═══════════ */
.fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 32px -8px rgba(21, 128, 61, .6);
  opacity: 0; transform: translateY(18px) scale(.9); visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.fab.show { opacity: 1; transform: none; visibility: visible; }
.fab:hover { background: var(--wa-dark); }
.fab svg { width: 30px; height: 30px; }

/* ═══════════ Animazioni reveal ═══════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2) { transition-delay: .06s; }
.cards .reveal:nth-child(3) { transition-delay: .12s; }
.cards .reveal:nth-child(4) { transition-delay: .18s; }
.cards .reveal:nth-child(6) { transition-delay: .06s; }
.cards .reveal:nth-child(7) { transition-delay: .12s; }
.cards .reveal:nth-child(8) { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .gallery__item img { transition: none; }
  * { animation: none !important; }
}

/* Piccoli schermi: rifiniture */
@media (max-width: 480px) {
  .hero__content { padding-bottom: 3.5rem; }
  .hero__cta .btn { width: 100%; }
  .brand__text { font-size: 1.25rem; }
  .infobar__inner { gap: .4rem 1.4rem; font-size: .82rem; }
}

/* ═══════════ PRENOTARE È FACILE (3 step) ═══════════ */
.steps { display: grid; gap: 1.2rem; margin-top: 3.5rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.step { position: relative; background: var(--surface); border: 1px solid var(--lilla-100); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.4rem; box-shadow: var(--shadow); }
.step__num {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1;
  color: var(--lilla-300); display: block; margin-bottom: .5rem;
}
.step h3 { font-size: 1.25rem; }
.step p { font-size: .92rem; color: var(--muted); }

/* ═══════════ TEAM ═══════════ */
.team { display: grid; gap: 1.2rem; margin-top: 1rem; }
@media (min-width: 720px) { .team { grid-template-columns: repeat(2, minmax(0, 420px)); gap: 1.5rem; } }
.member {
  display: flex; gap: 1.2rem; align-items: center;
  background: var(--surface); border: 1px solid var(--lilla-100); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow);
}
.member__avatar {
  width: 72px; height: 72px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--lilla-300), var(--lilla-700));
  color: #fff; font-family: var(--font-display); font-size: 2rem; font-weight: 600;
  box-shadow: 0 8px 20px -8px rgba(122, 84, 163, .6);
}
.member h3 { margin-bottom: .1em; }
.member__role { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }
.member .stars { font-size: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.chips span { font-size: .72rem; font-weight: 600; letter-spacing: .04em; background: var(--lilla-50); border: 1px solid var(--lilla-200); color: var(--lilla-700); padding: .22rem .6rem; border-radius: 999px; }

/* ═══════════ BARRA AZIONI MOBILE ═══════════ */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; grid-template-columns: 1fr 1.35fr 1fr; gap: .55rem;
  padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--lilla-100); box-shadow: 0 -8px 30px -12px rgba(58, 43, 77, .25);
}
.actionbar .btn { padding: .7rem .5rem; font-size: .85rem; gap: .4rem; }
.actionbar .btn--outline { border: 1.5px solid var(--lilla-200); color: var(--plum); background: #fff; }
.actionbar .btn--lilla { background: var(--lilla-600); color: #fff; }
@media (max-width: 820px) {
  .actionbar { display: grid; }
  .fab { display: none; }
  body { padding-bottom: 72px; }
  .footer__legal { padding-bottom: 2.6rem; }
}

/* ═══════════ LIGHTBOX GALLERIA ═══════════ */
.gallery__item--zoom { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 150; display: none;
  background: rgba(30, 20, 45, .93); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 84vh; border-radius: 12px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); object-fit: contain; }
.lightbox__btn {
  position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.25rem; line-height: 1; transition: background .18s ease;
}
.lightbox__btn:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: .8rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: .8rem; top: 50%; transform: translateY(-50%); }

/* ═══════════ PAGINE SERVIZIO ═══════════ */
.header--solid { background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 6px 24px -12px rgba(58, 43, 77, .18); color: var(--plum); }
.header--solid .brand__mark { color: var(--lilla); }

.page-hero {
  padding: calc(var(--header-h) + clamp(2.5rem, 2rem + 3vw, 5rem)) 0 clamp(2.5rem, 2rem + 3vw, 4.5rem);
  background: radial-gradient(130% 150% at 90% -20%, var(--lilla-700) 0%, var(--plum) 50%, var(--plum-800) 100%);
  color: #EDE6F5;
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.6rem + 3.4vw, 3.6rem); margin: .35em 0 .4em; text-wrap: balance; }
.page-hero h1 em { color: var(--lilla-200); }
.page-hero p { max-width: 62ch; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.4rem; }
.page-hero .btn--ghost { color: #fff; }
.page-hero .btn--ghost:hover { background: #fff; color: var(--plum); border-color: #fff; }
.price-chip {
  display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px; padding: .35rem 1rem; font-size: .85rem; font-weight: 600; margin-top: 1rem;
}

.breadcrumbs { font-size: .82rem; opacity: .85; }
.breadcrumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span[aria-current] { color: #fff; }

.service-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .service-layout { grid-template-columns: 1.25fr .9fr; gap: 3.5rem; } }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1rem; }
.prose ul { list-style: none; margin: 0 0 1rem; }
.prose ul li { padding-left: 1.4rem; position: relative; margin-bottom: .45rem; }
.prose ul li::before { content: "❀"; position: absolute; left: 0; color: var(--lilla); font-size: .85em; top: .15em; }

.sidebox { position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: 1.2rem; }
.sidebox__card { background: var(--surface); border: 1px solid var(--lilla-100); border-radius: var(--radius); padding: 1.5rem 1.4rem; box-shadow: var(--shadow); }
.sidebox__card h3 { font-size: 1.2rem; margin-bottom: .7rem; }
.sidebox__card .btn { margin-top: 1rem; }
.sidebox__card p { font-size: .92rem; }

.cta-band {
  background: linear-gradient(150deg, var(--lilla-600), var(--plum));
  border-radius: var(--radius); color: #fff; text-align: center;
  padding: clamp(2.2rem, 2rem + 2vw, 3.5rem) 1.5rem; margin-top: 3.5rem;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { opacity: .9; margin-bottom: 1.4rem; }
.cta-band .btn--ghost { color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--plum); border-color: #fff; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ═══════════ SCROLL-SPY NAV ═══════════ */
.nav > a.active:not(.btn) { opacity: 1; color: var(--lilla-600); }
.header:not(.scrolled) .nav > a.active:not(.btn) { color: var(--lilla-200); }
.nav > a.active:not(.btn)::after { width: 100%; }

/* ═══════════ CITAZIONE RECENSIONE (pagine servizio) ═══════════ */
.quote-callout {
  border-left: 3px solid var(--lilla-300);
  background: var(--lilla-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.3rem; margin: 1.4rem 0;
}
.quote-callout blockquote { font-family: var(--font-display); font-size: 1.15rem; font-style: italic; color: var(--plum); }
.quote-callout footer { font-size: .82rem; color: var(--muted); margin-top: .4rem; }

/* ═══════════ LINK APPROFONDIMENTO NEL LISTINO ═══════════ */
.pricelist-more { padding: .2rem 1.3rem 1.15rem; font-size: .88rem; }

/* ═══════════ PARALLAX HERO ═══════════ */
.hero__bg img { will-change: transform; transform: scale(1.06); }

/* ═══════════ BANNER AVVISO / FERIE ═══════════ */
.avviso-banner {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 98;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  background: var(--plum); color: #F2EAD9; border-bottom: 2px solid var(--gold);
  padding: .55rem 2.8rem .55rem 1rem; font-size: .88rem; font-weight: 500; text-align: center;
  box-shadow: 0 10px 30px -14px rgba(30, 20, 45, .6);
}
.avviso-banner button {
  position: absolute; right: .6rem; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: inherit; font-size: 1rem; cursor: pointer;
  width: 34px; height: 34px; border-radius: 50%;
}
.avviso-banner button:hover { background: rgba(255,255,255,.12); }

/* ═══════════ FOTO NELLE PAGINE SERVIZIO ═══════════ */
.page-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 1.6rem 0; }
.page-photo img { width: 100%; height: auto; max-height: 420px; object-fit: cover; object-position: center 40%; }

/* ═══════════ STAMPA ═══════════ */
@media print {
  .header, .fab, .actionbar, .map, .contact__form, .infobar, .nav-toggle,
  .hero__overlay, .hero__cta, .lightbox, .cta-band, video { display: none !important; }
  body { padding-bottom: 0; background: #fff; color: #000; }
  .hero { min-height: auto; color: var(--plum); }
  .hero__bg { display: none; }
  .hero__title, .hero__sub { color: var(--plum); opacity: 1; }
  .section { padding: 1.5rem 0; }
  .section--plum { background: none; }
  .section--plum h2 { color: var(--plum); }
  .review { box-shadow: none; border: 1px solid #ddd; }
  details { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}
