/* Studio Bhumi: direzione editoriale ispirata alle immagini di riferimento. */
:root {
  --serif: "Newsreader", Georgia, serif;
  --graphite: #202930;
  --deep-green: #40545a;
  --green-2: #657476;
  --ivory: #f0eee7;
  --paper: #f0eee7;
  --terracotta: #8b4b38;
  --terracotta-soft: #bd9a80;
  --ink: #202930;
  --moss: #40545a;
  --sage: #c7ccc7;
  --red: #8b4b38;
  --clay: #bd9a80;
  --night: #202930;
}

/* Contrasto netto tra tipografia editoriale e dettagli funzionali. */
.section-heading h1, .section-heading h2, .page-banner h1,
.page-hero h1, .page-intro h2, .home-film__copy h1,
.home-film__copy h2, .home-welcome h2, .home-contact h2,
.prices-intro h2, .course-entry h3, .person-info h3,
.content-card h3, .price-card h3, .home-link strong {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.section-heading h2 i, .page-banner h1 i, .page-hero h1 em,
.page-intro h2 em, .home-film__copy h1 i, .home-film__copy h2 i,
.home-welcome h2 i, .home-contact h2 i, .prices-intro h2 i,
.price-card h3 i {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.055em;
}
.toplinks, .top-cta, .eyebrow, .site-menu .eyebrow,
.course-entry__top, .price-card-top { font-family: var(--sans); }
.home-film__copy h1, .home-film__copy h2 { line-height: 1.06; padding-bottom: .06em; }
.wordmark img { background: transparent; mix-blend-mode: multiply; }
.home-navigation .wordmark img {
  background: transparent;
  filter: grayscale(1) invert(1) contrast(1.3);
  mix-blend-mode: screen;
}

/* La fotografia dello studio introduce i corsi senza una fascia vuota. */
.section-page > .course-page {
  padding-top: 0;
  padding-bottom: 0;
  background: #202930;
}
.section-page > .course-page > .section-heading {
  position: relative;
  display: flex;
  align-items: center;
  width: 100vw;
  max-width: none;
  min-height: clamp(390px, 42vw, 570px);
  margin: 0 0 0 calc(50% - 50vw);
  padding: clamp(80px, 9vw, 126px) max(var(--pad), calc((100vw - 1120px) / 2));
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(22,32,27,.9) 0%, rgba(22,32,27,.72) 48%, rgba(22,32,27,.33) 100%),
    url("homepage3.jpg") center 43% / cover no-repeat;
  color: #f6f4ed;
  text-align: left;
  isolation: isolate;
}
.section-page > .course-page > .section-heading::before {
  position: absolute;
  top: clamp(42px, 5vw, 72px);
  right: max(var(--pad), calc((100vw - 1120px) / 2));
  left: max(var(--pad), calc((100vw - 1120px) / 2));
  display: block;
  width: auto;
  height: 1px;
  margin: 0;
  background: linear-gradient(90deg, #bd9a80 0 56px, rgba(246,244,237,.38) 56px 100%);
  content: "";
}
.section-page > .course-page > .section-heading::after {
  position: absolute;
  right: max(var(--pad), calc((100vw - 1120px) / 2));
  bottom: 44px;
  color: rgba(246,244,237,.8);
  font: 600 10px/1 var(--sans);
  letter-spacing: .18em;
  content: none;
}
.section-page > .course-page > .section-heading .eyebrow {
  justify-content: flex-start;
  margin: 0 0 18px;
  color: #d2b898;
}
.section-page > .course-page > .section-heading h2 {
  max-width: 850px;
  color: #f6f4ed;
  font-size: clamp(68px, 9vw, 130px);
  line-height: 1.04;
  letter-spacing: -.05em;
}
.section-page > .course-page > .section-heading h2 i { color: #d2b898; }
.section-page > .course-page .course-list { margin: 0; }
.section-page > .course-page .course-entry h3,
.section-page > .course-page .course-entry:nth-child(even) .course-entry__heading h3 {
  font-size: clamp(68px, 10vw, 132px);
  line-height: .96;
}
.section-page > .course-page .course-entry__description a {
  border-radius: 999px;
  background: rgba(31,41,37,.18);
  backdrop-filter: blur(8px);
  transition: background .25s, transform .3s;
}
.section-page > .course-page .course-entry__description a:hover {
  background: rgba(31,41,37,.55);
  transform: translateY(-3px);
}
body[data-page="courses"] > .footer {
  position: relative;
  z-index: auto;
  display: grid;
  min-height: 0;
  grid-template-columns: 1fr 1fr auto;
  grid-template-areas: none;
  align-items: center;
  justify-content: normal;
  gap: 20px;
  margin: 0;
  padding: 30px var(--pad) 26px;
  border-top: 1px solid rgba(34,40,33,.16);
  background: #f0eee7;
  color: #202930;
  text-align: left;
  text-shadow: none;
}
body[data-page="courses"] > .footer .wordmark {
  grid-area: auto;
  justify-self: start;
  align-self: center;
  color: #202930;
  text-shadow: none;
}
body[data-page="courses"] > .footer .wordmark small { color: #737a70; }
body[data-page="courses"] > .footer > p {
  grid-area: auto;
  grid-column: auto;
  grid-row: auto;
  justify-self: auto;
  width: auto;
  margin: 0;
  color: #656d63;
  font-size: 11px;
  white-space: normal;
}
body[data-page="courses"] > .footer > div {
  grid-area: auto;
  justify-self: auto;
  justify-content: flex-start;
}
body[data-page="courses"] > .footer > div a { color: #202930; }
body[data-page="courses"] > .footer > small {
  grid-area: auto;
  grid-column: 1 / -1;
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid rgba(34,40,33,.16);
  color: #656d63;
  text-align: left;
}

/* Le formule diventano card editoriali, con lo stesso hover per ogni prezzo. */
.section-page > .prices .prices-detail { gap: clamp(16px, 2vw, 28px); }
.section-page > .prices .price-card,
.section-page > .prices .price-card--private {
  padding: clamp(24px, 3vw, 38px);
  border: 0;
  border-radius: 18px;
  background: #e7e7dd;
  color: #202930;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.section-page > .prices .price-card--private { background: #e8e1d7; }
.section-page > .prices .price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(31,41,37,.11);
}
.section-page > .prices .price-options,
.section-page > .prices .price-options--two {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
}
.section-page > .prices .price-options--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section-page > .prices .price-options > div,
.section-page > .prices .price-card--private .price-options > div,
.section-page > .prices .price-options > div:nth-child(2),
.section-page > .prices .price-options > div:nth-child(3) {
  display: flex;
  min-height: 105px;
  aspect-ratio: auto;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(34,40,33,.12);
  border-radius: 12px;
  background: rgba(246,244,237,.68);
  text-align: left;
  transform: none;
  transition: transform .3s cubic-bezier(.22,1,.36,1), background .25s, box-shadow .3s;
}
.section-page > .prices .price-options > div:nth-child(3) {
  background: #8b4b38;
  border-color: #8b4b38;
}
.section-page > .prices .price-options > div:nth-child(3) span,
.section-page > .prices .price-options > div:nth-child(3) strong { color: #f6f4ed; }
.section-page > .prices .price-options > div:hover,
.section-page > .prices .price-options > div:nth-child(2):hover {
  transform: translateY(-6px);
  background: #f6f4ed;
  box-shadow: 0 12px 22px rgba(31,41,37,.1);
}
.section-page > .prices .price-options > div:nth-child(3):hover { background: #924932; }
.section-page > .prices .price-card h3 { font-size: clamp(39px, 4vw, 56px); }

/* Trattamento coerente per le altre pagine senza cambiare i contenuti. */
.page-banner { background-color: #202930; }
.person, .content-card, .contact-card, .teacher-profile {
  border-radius: 16px;
  overflow: hidden;
}
.content-card:not(.content-card--dark):not(.content-card--terracotta) {
  background: #eae8de;
  border-color: transparent;
}
.content-card { transition: transform .35s cubic-bezier(.22,1,.36,1); }
.content-card:hover { transform: translateY(-5px); }
.page-hero h1, .page-banner h1 { line-height: 1.02; }

@media (max-width: 950px) {
  .section-page > .course-page > .section-heading { min-height: 400px; }
  .section-page > .prices .price-options,
  .section-page > .prices .price-options--two { gap: 7px; }
  .section-page > .prices .price-options > div,
  .section-page > .prices .price-card--private .price-options > div { padding: 10px; }
}
@media (max-width: 650px) {
  .section-page > .course-page { padding: 0; }
  .section-page > .course-page > .section-heading {
    min-height: clamp(360px, 65svh, 520px);
    margin: 0 0 0 calc(50% - 50vw);
    padding: 90px 24px 54px;
    background-position: 54% center;
  }
  .section-page > .course-page > .section-heading::before { top: 50px; right: 24px; left: 24px; }
  .section-page > .course-page > .section-heading::after { right: 24px; bottom: 22px; font-size: 8px; }
  .section-page > .course-page > .section-heading h2 {
    font-size: clamp(56px, 13vw, 84px);
    line-height: 1;
  }
  .section-page > .course-page .course-entry h3,
  .section-page > .course-page .course-entry:nth-child(even) .course-entry__heading h3 {
    font-size: clamp(54px, 14vw, 82px);
    line-height: 1;
  }
  body[data-page="courses"] > .footer {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
    padding: 29px 20px;
    text-align: left;
  }
  body[data-page="courses"] > .footer .wordmark,
  body[data-page="courses"] > .footer > div { align-self: auto; justify-self: auto; }
  .section-page > .prices .prices-detail { grid-template-columns: 1fr; gap: 16px; }
  .section-page > .prices .price-card,
  .section-page > .prices .price-card--private { padding: 25px 20px; }
  .section-page > .prices .price-options > div,
  .section-page > .prices .price-card--private .price-options > div { min-height: 92px; }
  .section-page > .prices .price-options > div strong,
  .section-page > .prices .price-card--private .price-options > div strong { font-size: clamp(21px, 6vw, 28px); }
  .page-hero h1, .page-banner h1 { line-height: 1.07; }
}
@media (max-width: 390px) {
  .section-page > .prices .price-options > div,
  .section-page > .prices .price-card--private .price-options > div { padding: 9px 7px; }
  .section-page > .prices .price-options > div span { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .content-card, .section-page > .prices .price-card,
  .section-page > .prices .price-options > div,
  .section-page > .course-page .course-entry__description a { transition: none; }
}

/* La navigazione accompagna il video senza diventare una fascia scura. */
body[data-page="home"] .home-navigation,
body[data-page="home"].journey-scrolling .home-navigation {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
body[data-page="home"] .home-navigation .wordmark img {
  background: transparent;
  filter: none;
  mix-blend-mode: normal;
}
body[data-page="home"] .home-navigation .wordmark,
body[data-page="home"] .home-navigation .toplinks,
body[data-page="home"] .home-navigation .top-cta,
body[data-page="home"] .home-navigation .top-portal,
body[data-page="home"] .home-navigation .menu-toggle {
  text-shadow: 0 1px 10px rgba(10,22,18,.75);
}
body[data-page="home"] .home-navigation .top-portal { color: #f6f4ed; border-color: rgba(246,244,237,.72); }

/* L'apertura delle pratiche usa una foto originale dello studio diversa da Prezzi:
   i blocchi di legno in sequenza, come vie diverse sullo stesso parquet. */
.section-page > .course-page > .section-heading {
  background-image:
    linear-gradient(90deg, rgba(22,32,27,.86) 0%, rgba(22,32,27,.6) 46%, rgba(22,32,27,.22) 100%),
    url("pratiche-blocchi.jpg");
  background-position: 70% 50%;
}

/* Prenotazione diretta al gestionale dello studio. */
.site-menu > a.site-menu__portal {
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  padding: 15px 18px;
  border: 0;
  border-radius: 999px;
  background: #8b4b38;
  color: #f6f4ed;
  font: 700 11px/1.2 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-menu > a.site-menu__portal b { color: #f6f4ed; }
.site-menu > a.site-menu__portal:hover { background: #743f31; }
.top-portal {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid rgba(159,86,62,.62);
  border-radius: 999px;
  color: #743f31;
  font: 700 10px/1.2 var(--sans);
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s, background .2s, transform .2s;
}
.top-portal b { font-size: 12px; }
.top-portal:hover { transform: translateY(-1px); background: #8b4b38; color: #f6f4ed; }
.toplinks a[aria-current="page"] { color: #743f31; }

/* Indice e racconto della pagina Chi siamo. */
.about-index {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 19px var(--pad);
  border-block: 1px solid rgba(34,40,33,.16);
}
.about-index a { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.about-index a span { color: #8b4b38; font-size: 9px; letter-spacing: .1em; }
.about-index a b { margin-left: 5px; color: #8b4b38; }
.about-story {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1fr);
  gap: 24px clamp(34px,8vw,110px);
  padding: clamp(74px,9vw,118px) var(--pad);
  scroll-margin-top: 100px;
}
.about-story__heading .eyebrow { color: #8b4b38; }
.about-story__heading h2 { margin: 0; font: 400 clamp(52px,6.8vw,86px)/.96 var(--serif); letter-spacing: -.05em; }
.about-story__heading h2 i { color: #8b4b38; }
.about-story__copy { max-width: 650px; align-self: end; color: #5d665d; font-size: 14px; line-height: 1.85; }
.about-story__copy p + p { margin-top: 15px; }
.about-story__practices { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); grid-column: 1 / -1; gap: 0 18px; margin-top: 28px; border-top: 1px solid rgba(34,40,33,.17); }
.about-story__practices article { padding: 20px 10px 0 0; }
.about-story__practices article > span { color: #8b4b38; font-size: 9px; letter-spacing: .12em; }
.about-story__practices h3 { margin: 14px 0 8px; font: 400 clamp(21px,2.4vw,29px)/1.05 var(--serif); }
.about-story__practices h3 sup { font-size: .45em; }
.about-story__practices p { max-width: 230px; margin: 0; color: #657066; font-size: 11px; line-height: 1.7; }
.about-approach, .about-founders { scroll-margin-top: 98px; }
.about-collaborators { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1fr); gap: 28px clamp(30px,7vw,92px); margin-top: 48px; padding-top: 30px; border-top: 1px solid rgba(34,40,33,.18); }
.about-collaborators .eyebrow { margin-bottom: 13px; color: #8b4b38; }
.about-collaborators__intro h3 { margin: 0; font: 400 clamp(34px,4vw,52px)/1 var(--serif); letter-spacing: -.04em; }
.about-collaborators__intro h3 i { color: #8b4b38; }
.about-collaborators__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 30px; }
.about-collaborators__grid article { padding-top: 12px; border-top: 1px solid rgba(34,40,33,.16); }
.about-collaborators__grid h4 { margin: 0 0 8px; font: 400 24px/1 var(--serif); }
.about-collaborators__grid p { margin: 0; color: #636b62; font-size: 11px; line-height: 1.7; }

/* Due accessi chiari in apertura della pagina prezzi. */
.prices-portal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.prices-portal-actions .button { align-items: center; justify-content: center; gap: 10px; margin: 0; text-decoration: none; }
.prices-portal-actions .button b { font-size: 12px; }
.prices-portal-actions__account { border: 1px solid rgba(246,244,237,.72); background: transparent; color: #f6f4ed; }
.prices-portal-actions__account:hover { background: rgba(246,244,237,.14); }
.prices-portal-actions__personal { border: 1px solid rgba(246,244,237,.72); background: rgba(246,244,237,.09); color: #f6f4ed; }
.prices-portal-actions__personal:hover { background: rgba(246,244,237,.18); }

@media (max-width: 1100px) {
  .toplinks { gap: 5px; }
  .toplinks a { padding-inline: 10px; font-size: 14px; }
  .top-cta, .top-portal { padding: 10px; font-size: 9px; }
}
@media (max-width: 900px) {
  .about-index { gap: 12px; }
  .about-story__practices { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 16px; }
  .about-collaborators { grid-template-columns: 1fr; }
}
@media (max-width: 900px) and (min-width: 651px) {
  .topbar { gap: 10px; padding-inline: 16px; }
  .toplinks { flex: 1; justify-content: center; gap: 2px; }
  .toplinks a { padding: 8px 7px; font-size: 12px; }
  .top-cta { display: none; }
}

/* Presentazione del lavoro integrato tra le pratiche. */
.integrated-practice {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 8vw, 120px);
  width: 100vw;
  margin: 0 0 0 calc(50% - 50vw);
  padding: clamp(68px, 9vw, 124px) max(var(--pad), calc((100vw - 1120px) / 2));
  background: #e7e5de;
  color: #202930;
}
.integrated-practice .eyebrow { margin: 0 0 18px; color: #8b4b38; }
.integrated-practice h2 {
  max-width: 590px;
  margin: 0;
  font: 400 clamp(49px, 6vw, 82px)/.98 var(--serif);
  letter-spacing: -.05em;
}
.integrated-practice h2 i { color: #8b4b38; }
.integrated-practice__copy { max-width: 590px; color: #5d665d; font-size: clamp(14px, 1.25vw, 17px); line-height: 1.8; }
.integrated-practice__copy p + p { margin-top: 15px; }
.integrated-practice__copy a {
  display: inline-flex;
  gap: 10px;
  margin-top: 15px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(34,40,33,.36);
  color: #202930;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.integrated-practice__copy a b { color: #8b4b38; }

/* Ritmo flessibile spiegato accanto alle formule senza toccare gli importi. */
.price-reservation-note {
  grid-column: 1 / -1;
  margin: -8px 0 0;
  padding: 19px clamp(20px, 3vw, 38px);
  border-left: 2px solid #8b4b38;
  background: #e7e5de;
}
.price-reservation-note .eyebrow { margin: 0 0 7px; color: #8b4b38; font-size: 9px; }
.price-reservation-note p:last-child { max-width: 850px; margin: 0; color: #5d665d; font-size: 13px; line-height: 1.7; }

/* Profilo e metodo dello studio. */
.about-approach {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  column-gap: clamp(30px, 8vw, 112px);
  align-items: start;
  padding: clamp(66px, 8vw, 108px) var(--pad);
  background: #e7e5de;
}
.about-approach > .eyebrow { grid-column: 1 / -1; margin: 0 0 16px; color: #8b4b38; }
.about-approach h2 { grid-column: 1; margin: 0; font: 400 clamp(46px, 5.3vw, 72px)/.98 var(--serif); letter-spacing: -.05em; }
.about-approach h2 i { color: #8b4b38; }
.about-approach__copy { grid-column: 2; grid-row: 2 / span 2; max-width: 660px; color: #5d665d; font-size: 14px; line-height: 1.85; }
.about-approach__copy p + p { margin-top: 15px; }
.about-approach .about-text-link { grid-column: 1; justify-self: start; }

/* Contatto immediato via WhatsApp. */
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; }
.contact-actions .button { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.contact-whatsapp svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-whatsapp svg path + path { fill: currentColor; stroke: none; }
.contact-email { color: #59635d; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 650px) {
  .top-cta { display: none; }
  .top-portal { margin-left: auto; padding: 8px 10px; font-size: 8px; }
  .top-portal b { font-size: 10px; }
  .about-index { justify-content: flex-start; overflow-x: auto; padding: 16px 22px; }
  .about-index a { flex: 0 0 auto; font-size: 10px; }
  .about-story { display: block; padding: 66px 22px 72px; }
  .about-story__heading h2 { font-size: clamp(48px,12vw,67px); }
  .about-story__copy { margin-top: 22px; font-size: 13px; }
  .about-story__practices { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 16px; margin-top: 26px; }
  .about-story__practices article { padding-top: 16px; }
  .about-story__practices h3 { font-size: 22px; }
  .about-collaborators { gap: 22px; margin-top: 36px; padding-top: 23px; }
  .about-collaborators__grid { gap: 18px 15px; }
  .about-collaborators__grid h4 { font-size: 21px; }
  .about-collaborators__grid p { font-size: 10px; }
  .prices-portal-actions { align-items: stretch; flex-direction: column; width: min(100%,280px); }
  .prices-portal-actions .button { justify-content: space-between; }
  .integrated-practice { grid-template-columns: 1fr; gap: 24px; padding: 66px 22px 72px; }
  .integrated-practice h2 { font-size: clamp(48px, 12vw, 66px); }
  .integrated-practice__copy { font-size: 14px; }
  .price-reservation-note { padding: 17px 18px; }
  .about-approach { display: block; padding: 62px 22px 68px; }
  .about-approach h2 { font-size: clamp(45px, 11.5vw, 66px); }
  .about-approach__copy { margin-top: 22px; font-size: 13px; }
  .about-approach .about-text-link { margin-top: 16px; }
  .contact-actions { align-items: flex-start; flex-direction: column; gap: 15px; margin-top: 22px; }
}

/* Percorso guidato: palette più profonda, superfici nette e risposte locali. */
.section-page > .course-page > .section-heading h2 i { color: #bd9a80; }
.course-path-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 13px 16px;
  border: 1px solid rgba(240,238,231,.6);
  background: rgba(32,41,48,.45);
  color: #f0eee7;
  font: 700 10px/1.2 var(--sans);
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: background .2s, border-color .2s;
}
.course-path-cta:hover { border-color: #bd9a80; background: #8b4b38; }
.course-path-cta b { color: #bd9a80; font-size: 14px; }
.personal-path {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1fr);
  gap: clamp(34px,8vw,112px);
  width: 100vw;
  margin: 0 0 0 calc(50% - 50vw);
  padding: clamp(72px,9vw,118px) max(var(--pad),calc((100vw - 1120px)/2));
  border-top: 3px solid #8b4b38;
  background: #202930;
  color: #f0eee7;
  scroll-margin-top: 88px;
}
.personal-path__intro .eyebrow { color: #bd9a80; }
.personal-path__intro h2 { margin: 0; font: 400 clamp(48px,6.1vw,78px)/.98 var(--serif); letter-spacing: -.05em; }
.personal-path__intro h2 i { color: #bd9a80; }
.personal-path__intro > p:not(.eyebrow) { max-width: 440px; margin: 24px 0 0; color: rgba(240,238,231,.8); font-size: 14px; line-height: 1.8; }
.personal-path__intro .personal-path__privacy { color: rgba(240,238,231,.58); font-size: 11px; }
.personal-path__quiz-wrap { min-width: 0; padding: clamp(22px,3vw,38px); border: 1px solid rgba(240,238,231,.23); background: rgba(240,238,231,.045); }
.personal-path__progress { display: flex; align-items: center; gap: 18px; color: #bd9a80; font: 700 9px/1.2 var(--sans); letter-spacing: .12em; }
.personal-path__progress-track { height: 2px; flex: 1; background: rgba(240,238,231,.18); }
.personal-path__progress-track i { display: block; width: 25%; height: 100%; background: #bd9a80; transition: width .25s ease; }
.personal-path__quiz fieldset { display: grid; gap: 9px; min-width: 0; margin: 29px 0 0; padding: 0; border: 0; }
.personal-path__quiz fieldset[hidden], .personal-path__result[hidden], .personal-path__error[hidden] { display: none; }
.personal-path__quiz legend { margin: 0 0 14px; padding: 0; font: 400 clamp(24px,3vw,34px)/1.08 var(--serif); letter-spacing: -.025em; }
.personal-path__question-note { margin: -4px 0 8px; color: rgba(240,238,231,.67); font-size: 12px; line-height: 1.65; }
.personal-path__quiz label { position: relative; display: flex; min-height: 58px; align-items: center; padding: 10px 14px; border: 1px solid rgba(240,238,231,.23); background: rgba(240,238,231,.025); cursor: pointer; transition: background .18s,border-color .18s; }
.personal-path__quiz label:hover, .personal-path__quiz label.is-selected { border-color: #bd9a80; background: rgba(189,154,128,.13); }
.personal-path__quiz label:focus-within { outline: 2px solid #bd9a80; outline-offset: 2px; }
.personal-path__quiz input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.personal-path__quiz label span { display: grid; gap: 3px; }
.personal-path__quiz label strong { font-size: 12px; font-weight: 600; }
.personal-path__quiz label small { color: rgba(240,238,231,.63); font-size: 10px; line-height: 1.45; }
.personal-path__error { margin: 12px 0 0; color: #e3b19a; font-size: 12px; }
.personal-path__controls { display: flex; justify-content: space-between; gap: 14px; margin-top: 21px; }
.personal-path__controls button, .personal-path__result > button { min-height: 43px; padding: 11px 15px; border: 1px solid rgba(240,238,231,.42); background: transparent; color: #f0eee7; font: 700 10px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.personal-path__controls button:last-child { margin-left: auto; border-color: #8b4b38; background: #8b4b38; }
.personal-path__controls button:hover, .personal-path__result > button:hover { border-color: #bd9a80; }
.personal-path__result .eyebrow { margin: 0 0 13px; color: #bd9a80; }
.personal-path__result h3 { margin: 0; font: 400 clamp(35px,4.5vw,54px)/.98 var(--serif); letter-spacing: -.04em; }
.personal-path__result h3 i { color: #bd9a80; }
.personal-path__result > p:not(.eyebrow) { color: rgba(240,238,231,.8); font-size: 13px; line-height: 1.75; }
.personal-path__practice-pair { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.personal-path__practice-pair span { padding: 9px 11px; border: 1px solid rgba(189,154,128,.7); color: #f0eee7; font: 700 10px/1.2 var(--sans); letter-spacing: .04em; }
.personal-path__result .personal-path__format { margin-top: 18px; }
.personal-path__format strong { color: #f0eee7; }
.personal-path__result .personal-path__disclaimer { margin: 20px 0; color: rgba(240,238,231,.56); font-size: 10px; }
.personal-path__result-cta, .personal-path__result-link { display: inline-flex; align-items: center; gap: 11px; margin: 5px 16px 17px 0; font: 700 10px/1.3 var(--sans); letter-spacing: .07em; text-transform: uppercase; }
.personal-path__result-cta { padding: 13px 15px; background: #8b4b38; color: #f6f4ed; }
.personal-path__result-cta:hover { background: #743f31; }
.personal-path__result-link { padding-bottom: 5px; border-bottom: 1px solid rgba(240,238,231,.38); }

.whatsapp-float {
  position: fixed;
  z-index: 1200;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid rgba(240,238,231,.26);
  border-radius: 999px;
  background: #202930;
  box-shadow: 0 10px 28px rgba(10,18,19,.25);
  color: #f6f4ed;
  font: 700 11px/1 var(--sans);
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.whatsapp-float:hover { transform: translateY(-2px); border-color: rgba(240,238,231,.55); background: #141d21; }
.whatsapp-float:focus-visible { outline: 3px solid #bd9a80; outline-offset: 3px; }
.whatsapp-float svg { width: 20px; height: 20px; fill: none; stroke: #35d276; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.whatsapp-float svg path + path { fill: #35d276; stroke: none; }

@media (max-width: 650px) {
  .whatsapp-float { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); min-height: 48px; padding-inline: 14px; }
}

@media (max-width: 760px) {
  .personal-path { grid-template-columns: 1fr; gap: 28px; padding: 68px 22px 74px; }
  .personal-path__intro h2 { font-size: clamp(49px,12vw,70px); }
  .personal-path__quiz-wrap { padding: 20px 16px; }
}

/* Barra superiore ispirata al sito storico: logo al centro, pagine divise ai lati,
   voci in Lato maiuscolo spaziato e area riservata in terracotta. */
.topbar .toplinks a, .topbar .topright a, .topbar .top-cta, .topbar .top-portal {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: auto;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #333;
  font: 400 12.5px/1 "Lato", var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: none;
  transition: color .2s;
}
.topbar .toplinks a::after, .topbar .topright a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  display: block;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  content: "";
}
.topbar .toplinks a:hover, .topbar .topright a:hover { background: transparent; color: #8b4b38; transform: none; }
.topbar .toplinks a:hover::after, .topbar .topright a:hover::after,
.topbar .toplinks a[aria-current="page"]::after, .topbar .topright a[aria-current="page"]::after { transform: scaleX(1); }
.topbar .toplinks a[aria-current="page"], .topbar .topright a[aria-current="page"] { background: transparent; color: #8b4b38; }
.topbar .top-cta b, .topbar .top-portal b { color: inherit; font: 400 11px/1 var(--sans); }
.topbar .topright .top-portal, .topbar .topright .top-portal:hover { color: #8b4b38; background: transparent; }
.topbar .topright .top-portal { font-weight: 700; }

.home-navigation .toplinks a, .home-navigation .topright a,
body[data-page="home"] .home-navigation .top-cta { color: #fffaf0; }
.home-navigation .toplinks a[aria-current="page"], .home-navigation .topright a:hover, .home-navigation .topright .top-portal,
.home-navigation .toplinks a:hover, body[data-page="home"] .home-navigation .top-portal { color: #efb59d; }
body[data-page="home"] .home-navigation .topright { text-shadow: 0 1px 10px rgba(10,22,18,.75); }

@media (min-width: 1001px) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(36px, 4vw, 64px);
    height: 96px;
  }
  .topbar .wordmark { grid-area: 1 / 2; display: block; }
  .topbar .wordmark img { display: block; width: 72px; height: auto; }
  .topbar .wordmark span {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .topbar .toplinks { grid-area: 1 / 1; justify-self: end; display: flex; gap: clamp(26px, 2.6vw, 42px); margin: 0; }
  .topbar .topright { grid-area: 1 / 3; justify-self: start; display: flex; align-items: center; gap: clamp(26px, 2.6vw, 42px); }
  .topbar .menu-toggle, .topbar .site-menu { display: none; }
}
@media (max-width: 1000px) {
  .topbar { display: flex; justify-content: flex-start; gap: 12px; }
  .topbar .toplinks { display: none; }
  .topbar .topright { display: flex; margin-left: auto; }
  .topbar .topright > a:not(.top-portal) { display: none; }
  .topbar .topright .top-portal {
    height: 38px;
    padding: 0 14px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 10px;
  }
  .topbar .topright .top-portal::after { display: none; }
  body[data-page="home"] .home-navigation .topright .top-portal { color: #fffaf0; }
  .topbar .menu-toggle { display: grid; flex: 0 0 auto; margin-left: 0; }
}

/* Il menu mobile ha sempre fondo chiaro: il testo non può restare bianco. */
.topbar .site-menu > a:not(.site-menu__portal),
body[data-page="home"] .home-navigation .site-menu > a:not(.site-menu__portal) { color: #202930; text-shadow: none; }
.topbar .site-menu > a:not(.site-menu__portal):hover { color: #8b4b38; }
.topbar .site-menu .eyebrow { text-shadow: none; }

/* Le frecce restano simboli tipografici anche su iOS. */
body { font-variant-emoji: text; }

/* WhatsApp: icona ufficiale, compatta su telefono. */
.whatsapp-float svg, .contact-whatsapp svg { stroke: none; }
.whatsapp-float svg { width: 22px; height: 22px; fill: #25d366; }
.contact-whatsapp svg { fill: currentColor; }
body[data-page="home"] .whatsapp-float { bottom: max(88px, calc(env(safe-area-inset-bottom) + 72px)); }
@media (max-width: 650px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    min-height: 0;
    padding: 0;
    border-radius: 50%;
    background: #25d366;
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(10,18,19,.3);
  }
  .whatsapp-float:hover { background: #1ebe5b; }
  .whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
  .whatsapp-float span, .whatsapp-float b { display: none; }
}

/* Menu mobile: stesse voci maiuscole e spaziate della barra desktop. */
.topbar .site-menu > a:not(.site-menu__portal) {
  font: 400 14px/1.2 "Lato", var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 17px 0;
}
.topbar .site-menu > a[aria-current="page"] { color: #8b4b38; }
.topbar .site-menu > a.site-menu__portal { font-family: "Lato", var(--sans); letter-spacing: .14em; }

/* Tipografia principale: un serif classico da libro (EB Garamond) per i titoli,
   con il corsivo vero, e Lato — il font del sito storico — per testi e menu.
   Spaziatura naturale, senza il tracking stretto tipico dei template. */
:root {
  --serif: "EB Garamond", Garamond, Georgia, serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
}
body { font-family: var(--sans); }
body :is(h1, h2, h3) {
  font-family: var(--serif) !important;
  font-weight: 400 !important;
  letter-spacing: -.012em !important;
}
body :is(h1, h2, h3) :is(i, em) {
  font-family: var(--serif) !important;
  font-style: italic !important;
  letter-spacing: -.01em !important;
}
.topbar .wordmark span { white-space: nowrap; font-family: var(--sans); }
.topbar .wordmark small { white-space: nowrap; }
@media (max-width: 440px) {
  .topbar { gap: 8px; padding-inline: 14px; }
  .topbar .wordmark { gap: 8px; }
  .topbar .wordmark img { width: 36px; height: auto; }
  .topbar .wordmark span { font-size: 9px; }
  .topbar .topright .top-portal { height: 34px; padding: 0 11px; gap: 0; font-size: 9px; letter-spacing: .1em; }
  .topbar .topright .top-portal b { display: none; }
  .topbar .menu-toggle { width: 38px; height: 38px; }
}

/* Scorrimento fluido: niente sfocature ricalcolate a ogni fotogramma sopra le foto. */
.topbar:not(.home-navigation) { background: #f3f0e7; backdrop-filter: none; -webkit-backdrop-filter: none; }
.section-page > .course-page .course-entry__description a { background: rgba(31,41,37,.42); backdrop-filter: none; -webkit-backdrop-filter: none; }
body[data-page="prices"] .section-page > .prices .price-card { background: rgba(243,240,231,.95); backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ——— Parliamone: apertura sfumata, contatti e mappa in anteprima ——— */
body[data-page="contact"] .page-banner--contact {
  min-height: clamp(360px, 48svh, 520px);
  background:
    radial-gradient(ellipse 60% 80% at 88% 18%, rgba(189,154,128,.34), transparent 62%),
    radial-gradient(ellipse 50% 70% at 0% 0%, rgba(64,84,90,.1), transparent 70%),
    linear-gradient(180deg, #f5f2ea 0%, #ece6da 100%);
}
.contact-studio {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  padding: clamp(64px, 8vw, 112px) var(--pad) clamp(76px, 9vw, 128px);
  background: linear-gradient(180deg, #ece6da 0%, #e4ddce 55%, #dcd6c8 100%);
  color: #242a26;
}
.contact-studio__info { display: grid; gap: 0; }
.contact-row { padding: 28px 0; border-top: 1px solid rgba(36,42,38,.16); }
.contact-row:last-child { border-bottom: 1px solid rgba(36,42,38,.16); }
.contact-row__index { display: block; margin-bottom: 14px; color: #a85c43; font: 700 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.contact-row strong { display: block; font: 400 clamp(26px, 2.6vw, 36px)/1.12 var(--serif); letter-spacing: -.01em; }
.contact-row p { margin: 12px 0 0; color: #5b645e; font-size: 14px; line-height: 1.75; }
.contact-row a { color: inherit; text-decoration: underline; text-decoration-color: rgba(168,92,67,.45); text-underline-offset: 4px; transition: color .2s; }
.contact-row a:hover { color: #a85c43; }

/* Cornice della mappa: finestra con barra, vetro chiaro e ombre stratificate. */
.map-card {
  --radius: 26px;
  position: relative;
  display: block;
  padding: 10px;
  border: 1px solid rgba(36,42,38,.1);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255,255,255,.78), rgba(236,230,218,.9));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 2px 4px rgba(32,41,48,.05),
    0 18px 36px -18px rgba(32,41,48,.28),
    0 44px 80px -40px rgba(32,41,48,.42);
  color: #242a26;
  text-decoration: none;
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s cubic-bezier(.22,1,.36,1);
}
.map-card:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 2px 4px rgba(32,41,48,.05),
    0 26px 44px -18px rgba(32,41,48,.32),
    0 60px 100px -40px rgba(32,41,48,.5);
}
.map-card:focus-visible { outline: 3px solid #bd9a80; outline-offset: 4px; }
.map-card__bar { display: flex; align-items: center; gap: 12px; padding: 6px 8px 12px; }
.map-card__dots { display: flex; gap: 6px; }
.map-card__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(36,42,38,.16); }
.map-card__dots i:first-child { background: #bd9a80; }
.map-card__address {
  flex: 1;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(36,42,38,.06);
  color: #6a716b;
  font: 500 11px/1 var(--sans);
  letter-spacing: .06em;
  text-align: center;
}
.map-card__live { display: inline-flex; align-items: center; gap: 7px; color: #5b645e; font: 700 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.map-card__live i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #3f9b6b; }
.map-card__live i::after { position: absolute; inset: -4px; border: 1px solid #3f9b6b; border-radius: 50%; animation: map-live 2.4s ease-out infinite; content: ""; }
@keyframes map-live { from { opacity: .8; transform: scale(.6); } to { opacity: 0; transform: scale(1.8); } }
.map-card__viewport {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--radius) - 10px);
  background: #e2ddd1;
  box-shadow: inset 0 0 0 1px rgba(36,42,38,.08);
}
.map-card__viewport iframe {
  position: absolute;
  /* Spostata in alto per nascondere la scheda informativa di Google: il segnaposto resta al centro. */
  top: -110px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 220px);
  border: 0;
  pointer-events: none;
  filter: grayscale(.55) sepia(.1) contrast(1.06) saturate(.9);
  transition: filter .6s ease;
}
.map-card:hover .map-card__viewport iframe { filter: grayscale(.15) sepia(0) contrast(1); }
.map-card__viewport::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 62%, rgba(32,41,48,.16));
  pointer-events: none;
  content: "";
}
.map-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 12px 8px; }
.map-card__footer small { display: block; margin-bottom: 5px; color: #a85c43; font: 700 9px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.map-card__footer strong { font: 400 20px/1.1 var(--serif); }
.map-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #202930;
  color: #f6f4ed;
  font: 700 10px/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .25s;
}
.map-card:hover .map-card__cta { background: #8b4b38; }
@media (max-width: 860px) {
  .contact-studio { grid-template-columns: 1fr; padding: 48px 20px 64px; }
  .map-card { --radius: 22px; }
  .map-card__viewport { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .map-card, .map-card__viewport iframe { transition: none; }
  .map-card__live i::after { animation: none; }
}

/* ——— Chi siamo: fasce alternate con passaggi sfumati ——— */
body[data-page="about"] .about-hero {
  background:
    radial-gradient(ellipse 55% 75% at 90% 10%, rgba(189,154,128,.32), transparent 62%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(64,84,90,.14), transparent 60%),
    linear-gradient(180deg, #f6f3ec, #efe9de);
}
body[data-page="about"] .about-index { background: #e7e0d2; }
body[data-page="about"] .about-story { background: linear-gradient(180deg, #f6f3ec 0%, #f1ece2 100%); }
body[data-page="about"] .about-approach {
  background:
    radial-gradient(ellipse 60% 90% at 100% 0%, rgba(189,154,128,.22), transparent 60%),
    linear-gradient(160deg, #26312d 0%, #202930 100%);
  color: #f0eee7;
}
body[data-page="about"] .about-approach > .eyebrow { color: #d2b898; }
body[data-page="about"] .about-approach h2 { color: #f6f4ed; }
body[data-page="about"] .about-approach h2 i { color: #d2b898; }
body[data-page="about"] .about-approach__copy { color: rgba(240,238,231,.78); }
body[data-page="about"] .about-approach .about-text-link { border-color: rgba(240,238,231,.45); color: #f6f4ed; }
body[data-page="about"] .about-approach .about-text-link b { color: #d2b898; }
body[data-page="about"] .about-founders { background: linear-gradient(180deg, #e9e2d4 0%, #e2dac9 100%); }
body[data-page="about"] .about-person { background: #f7f4ee; box-shadow: 0 20px 40px -28px rgba(32,41,48,.35); }
body[data-page="about"] .about-close {
  max-width: none;
  background: radial-gradient(ellipse 70% 90% at 50% 100%, rgba(189,154,128,.3), transparent 65%), #f3efe7;
}
body[data-page="about"] .about-close > * { max-width: 760px; margin-inline: auto; }

/* ——— Prezzi: foto fissa su un livello proprio ———
   background-attachment: fixed obbliga il browser a ridipingere tutta la pagina a ogni
   scroll; un livello position: fixed viene composto una volta sola e resta identico. */
body[data-page="prices"] #contenuto.section-page {
  background: none;
  background-attachment: scroll;
}
body[data-page="prices"] #contenuto.section-page::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(26,29,28,.76), rgba(26,29,28,.48) 52%, rgba(26,29,28,.34)),
    url("homepage.jpg") center / cover no-repeat,
    #272a27;
  pointer-events: none;
  content: "";
}

/* ——— Menu da telefono ———
   Intestazione identica alla barra (logo a sinistra, chiusura dove c'era l'hamburger),
   voci su un unico asse centrale con ritmo di 8px, area riservata separata da un
   filetto corto e social in fondo. Stesso avorio del sito. */
@media (max-width: 1000px) {
  body .topbar .site-menu {
    position: fixed;
    inset: 0 !important;
    z-index: 50;
    display: flex;
    width: auto !important;
    max-width: none !important;
    height: 100dvh !important;
    flex-direction: column;
    align-items: center;
    padding: 0 16px calc(32px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background: #f3f0e7 !important;
    box-shadow: none;
    color: #1d1f1e;
    backdrop-filter: none;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity .22s ease, visibility 0s linear .22s;
  }
  body .topbar.menu-open .site-menu { opacity: 1; visibility: visible; transition: opacity .22s ease; }
  body .topbar .site-menu .eyebrow,
  body .topbar .site-menu > a b { display: none; }

  .site-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 82px;
    flex: 0 0 auto;
    border-bottom: 1px solid rgba(29,31,30,.1);
  }
  .site-menu__brand { display: inline-flex; align-items: center; gap: 12px; color: #1d1f1e; text-decoration: none; }
  .site-menu__brand img { width: 40px; height: auto; mix-blend-mode: multiply; }
  .site-menu__brand span { font: 700 11px/1 "Lato", var(--sans); letter-spacing: .24em; text-transform: uppercase; }
  .site-menu__close {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(29,31,30,.4);
    border-radius: 50%;
    background: transparent;
    color: #1d1f1e;
    cursor: pointer;
  }
  .site-menu__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }

  body .topbar .site-menu > a:not(.site-menu__portal):not(.site-menu__brand),
  body[data-page="home"] .home-navigation .site-menu > a:not(.site-menu__portal):not(.site-menu__brand) {
    display: block;
    padding: 16px 0;
    border: 0;
    color: #1d1f1e;
    font: 700 14px/1 "Lato", var(--sans);
    letter-spacing: .24em;
    text-transform: uppercase;
  }
  body .topbar .site-menu > a:not(.site-menu__brand):first-of-type { margin-top: auto; }
  body .topbar .site-menu > a:not(.site-menu__portal):not(.site-menu__brand)[aria-current="page"],
  body[data-page="home"] .home-navigation .site-menu > a:not(.site-menu__portal):not(.site-menu__brand)[aria-current="page"] { color: #a85c43; }

  body .topbar .site-menu > a.site-menu__portal {
    position: relative;
    align-self: center;
    margin: 32px 0 0;
    padding: 16px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #5b615c;
    font: 400 13px/1 "Lato", var(--sans);
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  body .topbar .site-menu > a.site-menu__portal::before {
    position: absolute;
    top: -16px;
    left: 50%;
    width: 32px;
    height: 1px;
    background: rgba(29,31,30,.25);
    transform: translateX(-50%);
    content: "";
  }
  .site-menu__social { display: flex; gap: 24px; margin-top: auto; padding-top: 32px; }
  .site-menu__social a { display: grid; width: 32px; height: 32px; place-items: center; color: #1d1f1e; }
  .site-menu__social svg { width: 22px; height: 22px; }

  body:has(.topbar.menu-open) { overflow: hidden; }
  body:has(.topbar.menu-open) .whatsapp-float { opacity: 0; pointer-events: none; }
}
@media (max-width: 650px) {
  .site-menu__head { height: 70px; }
  body .topbar .site-menu { padding-inline: 14px; }
}
@media (min-width: 1001px) {
  .site-menu__head, .site-menu__social { display: none; }
}

/* Icone social nella pagina Parliamone. */
.social-icons { display: flex; gap: 12px; margin-top: 16px; }
.social-icons a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(36,42,38,.2);
  border-radius: 50%;
  color: #242a26;
  transition: background .2s, border-color .2s, color .2s;
}
.social-icons a:hover { border-color: #a85c43; background: #a85c43; color: #fff; }
.social-icons svg { width: 20px; height: 20px; }

/* Menu da telefono: voci che entrano in sequenza e rispondono al passaggio. */
@media (max-width: 1000px) {
  body .topbar .site-menu > a:not(.site-menu__brand),
  .site-menu__social {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .35s ease, transform .45s cubic-bezier(.22,1,.36,1), color .25s ease, letter-spacing .35s cubic-bezier(.22,1,.36,1);
  }
  body .topbar.menu-open .site-menu > a:not(.site-menu__brand),
  body .topbar.menu-open .site-menu__social { opacity: 1; transform: none; }
  body .topbar.menu-open .site-menu > a:nth-of-type(2) { transition-delay: .04s, .04s, 0s, 0s; }
  body .topbar.menu-open .site-menu > a:nth-of-type(3) { transition-delay: .08s, .08s, 0s, 0s; }
  body .topbar.menu-open .site-menu > a:nth-of-type(4) { transition-delay: .12s, .12s, 0s, 0s; }
  body .topbar.menu-open .site-menu > a:nth-of-type(5) { transition-delay: .16s, .16s, 0s, 0s; }
  body .topbar.menu-open .site-menu > a:nth-of-type(6) { transition-delay: .2s, .2s, 0s, 0s; }
  body .topbar.menu-open .site-menu > a:nth-of-type(7) { transition-delay: .24s, .24s, 0s, 0s; }
  body .topbar.menu-open .site-menu__social { transition-delay: .3s, .3s; }

  /* Linea sottile che cresce dal centro, voce che si apre e diventa terracotta. */
  body .topbar .site-menu > a:not(.site-menu__brand) { position: relative; }
  body .topbar .site-menu > a:not(.site-menu__brand)::after {
    position: absolute;
    right: 50%;
    bottom: 8px;
    left: 50%;
    height: 1px;
    background: #a85c43;
    transition: left .35s cubic-bezier(.22,1,.36,1), right .35s cubic-bezier(.22,1,.36,1);
    content: "";
  }
  body .topbar .site-menu > a:not(.site-menu__brand):is(:hover, :focus-visible, [aria-current="page"])::after { right: 0; left: 0; }
  body .topbar .site-menu > a:not(.site-menu__portal):not(.site-menu__brand):is(:hover, :focus-visible),
  body[data-page="home"] .home-navigation .site-menu > a:not(.site-menu__portal):not(.site-menu__brand):is(:hover, :focus-visible) {
    color: #a85c43;
    letter-spacing: .32em;
  }
  body .topbar .site-menu > a.site-menu__portal:is(:hover, :focus-visible) { color: #a85c43; }
  .site-menu__social a { transition: transform .3s cubic-bezier(.22,1,.36,1), color .25s ease; }
  .site-menu__social a:is(:hover, :focus-visible) { color: #a85c43; transform: translateY(-3px); }
  .site-menu__close { transition: transform .35s cubic-bezier(.22,1,.36,1); }
  .site-menu__close:is(:hover, :focus-visible) { transform: rotate(90deg); }
}
@media (max-width: 1000px) and (prefers-reduced-motion: reduce) {
  body .topbar .site-menu > a, .site-menu__social, .site-menu__close { transition: none !important; transform: none !important; }
}

/* Firma tipografica comune a menu e sito: Lato in maiuscolo, spaziatura ampia,
   per occhielli, etichette e pulsanti; i titoli restano in EB Garamond. */
.eyebrow,
.button,
.contact-row__index,
.map-card__cta,
.about-text-link,
.about-personal-cta,
.home-film__scroll-note,
.home-film__progress-label,
.home-film__progress-cue {
  font-family: "Lato", var(--sans);
  letter-spacing: .22em;
}

/* Parliamone: WhatsApp ed email con lo stesso peso. */
body[data-page="contact"] .contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 12px; }
body[data-page="contact"] .contact-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid #8b4b38;
  background: #8b4b38;
  color: #f6f4ed;
  font-size: 11px;
  text-decoration: none;
  transition: background .25s, border-color .25s, transform .25s;
}
body[data-page="contact"] .contact-actions .button:hover { background: #743f31; border-color: #743f31; transform: translateY(-2px); }
body[data-page="contact"] .contact-actions svg { width: 19px; height: 19px; flex: 0 0 auto; }
body[data-page="contact"] .contact-mail svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
@media (max-width: 520px) {
  body[data-page="contact"] .contact-actions { grid-template-columns: 1fr; }
}

/* ——— Chi siamo, versione essenziale ———
   Fasce con fondi nettamente diversi (avorio, carta, grafite, sabbia, terracotta)
   così ogni parte si riconosce; testi ad alto contrasto; solo dissolvenze leggere. */
.about-simple { background: #f3f0e7; color: #1f2522; }
.about-simple .ab-wrap { width: min(1120px, 100%); margin: 0 auto; }
.about-simple .eyebrow { margin: 0 0 18px; color: #8b4b38; font-size: 11px; }
.about-simple h1, .about-simple h2 { margin: 0; color: inherit; line-height: 1.02; }
.about-simple h1 { font-size: clamp(52px, 8vw, 104px); }
.about-simple h2 { font-size: clamp(40px, 5.4vw, 70px); }
.about-simple :is(h1, h2) i { color: #8b4b38; }

.ab-hero { padding: clamp(72px, 11vw, 150px) var(--pad) clamp(48px, 7vw, 88px); max-width: calc(1120px + 2 * var(--pad)); margin: 0 auto; }
.ab-hero > p:not(.eyebrow) { max-width: 620px; margin: 28px 0 0; color: #3f4641; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.75; }

.ab-photo { margin: 0; }
.ab-photo img { display: block; width: 100%; height: clamp(300px, 56vw, 680px); object-fit: cover; object-position: center 40%; }

.ab-band { padding: clamp(72px, 9vw, 128px) var(--pad); }
.ab-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 7vw, 110px); align-items: start; }
.ab-copy p { margin: 0; color: #3f4641; font-size: 16px; line-height: 1.85; }
.ab-copy p + p { margin-top: 18px; }

.ab-studio { background: #fbf9f4; }

.ab-practices { background: #202930; color: #f3f0e7; }
.ab-practices .eyebrow { color: #d2b898; }
.ab-practices h2 i { color: #d2b898; }
.ab-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(243,240,231,.2); }
.ab-list li { padding: 26px 22px 0 0; }
.ab-list li + li { padding-left: 22px; border-left: 1px solid rgba(243,240,231,.14); }
.ab-list h3 { margin: 0 0 12px; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; color: #f6f4ed; }
.ab-list p { margin: 0; color: rgba(243,240,231,.72); font-size: 14px; line-height: 1.7; }
.ab-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 44px; padding-bottom: 6px; border-bottom: 1px solid currentColor; color: #f6f4ed; font: 700 11px/1 "Lato", var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; }
.ab-link:hover { color: #d2b898; }

.ab-people { background: #e7dfcf; }
.ab-founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 5vw, 64px); }
.ab-founders img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; margin-bottom: 22px; filter: grayscale(1); }
.ab-founders .eyebrow { margin-bottom: 10px; }
.ab-founders h3 { margin: 0 0 12px; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; }
.ab-founders p:not(.eyebrow) { margin: 0; color: #3f4641; font-size: 15px; line-height: 1.8; }
.ab-subtitle { margin: clamp(56px, 7vw, 88px) 0 24px; padding-top: 24px; border-top: 1px solid rgba(31,37,34,.18); color: #8b4b38; font: 700 11px/1 "Lato", var(--sans) !important; letter-spacing: .22em !important; text-transform: uppercase; }
.ab-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.ab-team img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 14px; filter: grayscale(1); }
.ab-team h4 { margin: 0 0 6px; font: 400 21px/1.15 var(--serif); }
.ab-team p { margin: 0; color: #4a514c; font-size: 13px; line-height: 1.6; }

.ab-close { background: #8b4b38; color: #f6f4ed; text-align: center; }
.ab-close .ab-wrap { max-width: 760px; }
.about-simple .ab-close h2 i { color: #f0d2c2; }
.ab-close p { margin: 24px auto 0; max-width: 520px; color: rgba(246,244,237,.86); font-size: 16px; line-height: 1.75; }
.ab-button { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; padding: 17px 28px; border: 1px solid rgba(246,244,237,.8); border-radius: 999px; color: #f6f4ed; font: 700 11px/1 "Lato", var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; transition: background .25s, color .25s; }
.ab-button:hover { background: #f6f4ed; color: #8b4b38; }

/* Solo una dissolvenza verso l'alto, niente scivolamenti laterali. */
.about-simple .reveal,
.about-simple .reveal[data-motion-side] { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.about-simple .reveal:is(.visible, .is-visible) { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .about-simple .reveal, .about-simple .reveal[data-motion-side] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  .ab-split { grid-template-columns: 1fr; }
  .ab-list { grid-template-columns: 1fr; border-top: 0; }
  .ab-list li, .ab-list li + li { padding: 22px 0; border-left: 0; border-top: 1px solid rgba(243,240,231,.18); }
  .ab-founders { grid-template-columns: 1fr; }
  .ab-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .ab-hero { padding: 56px 22px 40px; }
  .ab-band { padding: 64px 22px; }
  .ab-photo img { height: 62vw; min-height: 260px; }
}

/* Prezzi su telefono: niente livello fisso (Safari iOS lo ridimensiona con la barra
   degli indirizzi e lascia fasce vuote); la foto resta in alto e sfuma nel grafite. */
@media (max-width: 900px) {
  body[data-page="prices"] #contenuto.section-page::before { content: none; }
  body[data-page="prices"] #contenuto.section-page {
    background:
      linear-gradient(180deg, rgba(26,29,28,.55) 0, rgba(26,29,28,.72) 420px, #272a27 760px),
      url("homepage.jpg") center top / auto 760px no-repeat,
      #272a27;
  }
  body[data-page="prices"] .price-reservation-note { margin-top: 16px; }
}

/* Mappa con percorso in tempo reale. */
.map-card { cursor: default; }
.map-card:hover { transform: none; }
.map-card__viewport { cursor: pointer; }
.map-card__actions { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.map-card__route {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid #202930;
  border-radius: 999px;
  background: transparent;
  color: #202930;
  font: 700 10px/1 "Lato", var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.map-card__route::before { width: 7px; height: 7px; border-radius: 50%; background: #3f9b6b; content: ""; }
.map-card__route:hover, .map-card__route[aria-pressed="true"] { background: #202930; color: #f6f4ed; }
.map-card__route[aria-busy="true"] { opacity: .6; }
.map-card__cta { text-decoration: none; }
.map-card__modes { display: flex; gap: 6px; padding: 12px 8px 0; }
.map-card__modes[hidden] { display: none; }
.map-card__modes button {
  flex: 1;
  padding: 10px 8px;
  border: 1px solid rgba(32,41,48,.2);
  border-radius: 999px;
  background: transparent;
  color: #4a514c;
  font: 700 10px/1 "Lato", var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.map-card__modes button[aria-pressed="true"] { border-color: #8b4b38; background: #8b4b38; color: #f6f4ed; }
.map-card__status { margin: 4px 12px 0; color: #3f4641; font-size: 13px; line-height: 1.6; }
.map-card__note { margin: 8px 12px 6px; color: #7a817b; font-size: 11px; line-height: 1.55; }
/* In modalità percorso la mappa diventa interattiva e mostra tutto il tragitto. */
.map-card.is-route .map-card__viewport iframe { top: -2px; height: calc(100% + 4px); pointer-events: auto; filter: none; }
.map-card.is-route .map-card__viewport { aspect-ratio: 4 / 3; }
.map-card.is-route .map-card__viewport::after { display: none; }
@media (max-width: 520px) {
  .map-card__footer { flex-direction: column; align-items: flex-start; }
  .map-card__actions { width: 100%; justify-content: stretch; }
  .map-card__actions > * { flex: 1; justify-content: center; white-space: nowrap; padding-inline: 12px; letter-spacing: .1em; }
}

/* Icona di navigazione al posto del pallino. */
.map-card__route::before { content: none; }
.map-card__route svg { width: 15px; height: 15px; fill: currentColor; transform: rotate(0deg); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.map-card__route:hover svg { transform: translate(1px, -1px); }
.map-card__route[aria-pressed="true"] svg { fill: #6fd39b; }

/* Chi siamo: titoli di sezione su una riga e di misure diverse, un solo corsivo di chiusura. */
.about-simple .ab-studio h2 { font-size: clamp(34px, 4vw, 52px); max-width: 12ch; }
.about-simple .ab-practices h2 { font-size: clamp(30px, 3.2vw, 42px); }
.about-simple .ab-people h2 { font-size: clamp(38px, 4.6vw, 60px); }
.about-simple .ab-quote { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.15; }
.about-simple .ab-quote i { color: #f6f4ed; }

/* Foto con proporzioni fisse: l'altezza viene dal rapporto, non dall'attributo height. */
.ab-founders img, .ab-team img { height: auto; }

/* Prezzi: la foto resta dietro ai contenuti fino all'ultima riga, poi la pagina finisce.
   Livello sticky dentro la pagina (non fixed): su iPhone non lascia fasce vuote quando
   la barra degli indirizzi cambia altezza, e si ferma esattamente con i contenuti. */
body[data-page="prices"] #contenuto.section-page { background: #272a27; }
body[data-page="prices"] #contenuto.section-page::before {
  position: sticky;
  top: 0;
  inset: auto;
  z-index: -1;
  display: block;
  height: 100vh;
  height: 100lvh;
  margin-bottom: -100vh;
  margin-bottom: -100lvh;
  background:
    linear-gradient(100deg, rgba(26,29,28,.76), rgba(26,29,28,.48) 52%, rgba(26,29,28,.34)),
    url("homepage.jpg") center / cover no-repeat,
    #272a27;
  pointer-events: none;
  content: "";
}
body[data-page="prices"] > .footer { display: none; }
body[data-page="prices"] { background: #272a27; }

/* Corsi su telefono: il ritaglio verticale segue il soggetto, che nelle foto è a destra. */
@media (max-width: 650px) {
  body .section-page > .course-page .course-entry.course-entry--pilates:nth-child(n) .course-entry__image { background-position: 90% 48%; animation-name: course-drift-pilates; }
  body .section-page > .course-page .course-entry.course-entry--hatha:nth-child(n) .course-entry__image { background-position: 86% 48%; animation-name: course-drift-hatha; }
  body .section-page > .course-page .course-entry.course-entry--dainami:nth-child(n) .course-entry__image { background-position: 88% 48%; animation-name: course-drift-dainami; }
  /* La foto del massaggio, tagliata in verticale, non si legge: su telefono le mani sulla schiena. */
  body .section-page > .course-page .course-entry.course-entry--bmc:nth-child(n) .course-entry__image { background-image: url("course-bmc-unsplash.jpg"); background-position: 24% 48%; animation-name: course-drift-bmc; }
}
/* Stesso movimento verticale allo scorrimento, ma con il soggetto al centro. */
@keyframes course-drift-pilates { from { background-position: 90% 42%; } to { background-position: 90% 58%; } }
@keyframes course-drift-hatha { from { background-position: 86% 42%; } to { background-position: 86% 58%; } }
@keyframes course-drift-dainami { from { background-position: 88% 42%; } to { background-position: 88% 58%; } }
@keyframes course-drift-bmc { from { background-position: 24% 42%; } to { background-position: 24% 58%; } }
