/* Centro Estetico Ayur — foglio di stile unico */

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* Colori presi dal centro: la parete rosa delle cabine, le divise antracite, il legno della reception */
  --paper: #FCF9F8;
  --white: #FFFFFF;
  --rose: #EED3CE;
  --rose-soft: #F6E7E4;
  --rose-deep: #9B4553;
  --rose-deeper: #7E3442;
  --ink: #2A2C2F;
  --ink-soft: #55585C;
  --wood: #8C6A4C;
  --line: #E7DAD7;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: .2em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 2px; }

h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 36em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { max-width: 40em; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { color: var(--ink-soft); }
.center { text-align: center; margin-top: 40px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Pulsanti */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--rose-deep); color: #fff; }
.btn-primary:hover { background: var(--rose-deeper); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-hero { min-height: 60px; padding: 16px 40px; font-size: 1.15rem; box-shadow: 0 8px 24px color-mix(in srgb, var(--rose-deep) 30%, transparent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { height: 44px; width: auto; margin-right: -2px; }
.brand-mark { font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; letter-spacing: .01em; }
.brand-sub { font-size: .75rem; line-height: 1.25; color: var(--ink-soft); padding-left: 12px; border-left: 1px solid currentColor; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav ul a { font-size: .95rem; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav ul a:hover, .nav ul a[aria-current="page"] { border-bottom-color: var(--rose-deep); }
.nav-cta { min-height: 42px; padding: 9px 20px; font-size: .95rem; }
.nav-toggle { display: none; }

@media (max-width: 1060px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 0; padding: 10px 0; font: 500 1rem var(--sans); color: var(--ink); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; inset: 100% 0 auto 0; display: none;
    flex-direction: column; align-items: stretch; gap: 20px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 28px; max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav ul a[aria-current="page"] { color: var(--rose-deep); border-bottom-color: var(--line); }
}

/* Hero home */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; min-height: min(86vh, 820px); background: var(--rose); }
.hero-text { padding: clamp(48px, 7vw, 110px) var(--gutter) clamp(48px, 6vw, 88px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: center; }
.hero-text .lead { color: var(--ink); }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.hero-facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .95rem; }
.hero-facts a { text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--ink) 35%, transparent); }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { aspect-ratio: 4 / 3.4; order: -1; }
  .hero-text { padding: 40px var(--gutter) 48px; }
}

/* Intro */
.intro { padding-bottom: 0; }
.intro-text { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.05rem); line-height: 1.4; max-width: 30em; margin: 0; }
.intro-text a { text-decoration-thickness: 1px; }

/* Tecnologie: macchinari “in piedi” su pannelli rosa, come nelle cabine */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.tech-card { text-decoration: none; display: flex; flex-direction: column; }
.tech-stage {
  aspect-ratio: 4 / 5; background: var(--rose); border-radius: 999px 999px var(--radius) var(--radius);
  border-bottom: 6px solid var(--wood);
  display: flex; align-items: flex-end; justify-content: center; padding: 14% 12% 0; margin-bottom: 22px; overflow: hidden;
  transition: background-color .25s;
}
.tech-stage img { max-height: 100%; width: auto; object-fit: contain; transition: transform .35s ease; }
.tech-card:hover .tech-stage { background: #E8C4BE; }
.tech-card:hover .tech-stage img { transform: translateY(-6px); }
.tech-card p { color: var(--ink-soft); }
.more { margin-top: auto; font-weight: 600; color: var(--rose-deep); border-bottom: 1.5px solid currentColor; align-self: flex-start; padding-bottom: 2px; }
@media (max-width: 760px) {
  .tech-grid { grid-template-columns: 1fr; gap: 48px; }
  .tech-stage { aspect-ratio: 4 / 3; padding-top: 10%; }
}

/* Trattamenti (home) */
.treat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.treat-list img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; background: var(--rose-soft); }
.treat-list p { color: var(--ink-soft); }
@media (max-width: 760px) {
  .treat-list { grid-template-columns: 1fr; }
  .treat-list li { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: start; }
  .treat-list img { margin: 0; }
}

/* Banda team */
.team-band { background: var(--ink); color: #F3ECEA; }
.team-band-grid { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.team-band img { border-radius: var(--radius); }
.team-band p { color: #D9D0CE; max-width: 34em; }
.team-band .btn-ghost { border-color: #F3ECEA; color: #F3ECEA; }
.team-band .btn-ghost:hover { background: #F3ECEA; color: var(--ink); }
@media (max-width: 800px) { .team-band-grid { grid-template-columns: 1fr; } }

/* Recensioni */
.reviews { columns: 3 300px; column-gap: clamp(20px, 3vw, 40px); }
.review { break-inside: avoid; margin: 0 0 clamp(20px, 3vw, 40px); padding-top: 20px; border-top: 1px solid var(--ink); }
.review blockquote { margin: 0 0 14px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; }
.review figcaption { font-size: .9rem; color: var(--ink-soft); }
.review figcaption::after { content: ", recensione Google"; }

/* Vieni a trovarci */
.visit { background: var(--rose-soft); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.visit-photo { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.contact-list { margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.contact-list dt { font-weight: 600; }
.contact-list dd { margin: 0; }
.hours { margin: 0; display: grid; gap: 4px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; max-width: 22em; }
.hours dt { font-weight: 400; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours-missing { margin: 0; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } .visit-photo { order: -1; } }

/* Pagine interne */
.page-hero { background: var(--rose); padding-block: clamp(48px, 7vw, 96px) 0; overflow: hidden; }
.page-hero-plain { padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.page-hero-grid > div { padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero-machine { max-height: 460px; width: auto; justify-self: center; }
.crumb { font-size: .9rem; color: var(--ink-soft); }
.page-hero .lead { color: var(--ink); }
@media (max-width: 760px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 0; }
  .page-hero-grid > div { padding-bottom: 32px; }
  .page-hero-machine { max-height: 300px; }
}
.prose-grid { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose { max-width: 36em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prose h2:not(:first-child) { margin-top: 1.4em; }
.prose-photo { border-radius: var(--radius); width: 100%; }
@media (max-width: 860px) { .prose-grid { grid-template-columns: 1fr; } }

/* Pagina trattamenti */
.feature { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; padding-block: 32px; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.feature p { color: var(--ink-soft); max-width: 34em; }
.feature-flip { grid-template-columns: 1fr minmax(0, 360px); }
.feature-flip img { order: 2; }
@media (max-width: 760px) {
  .feature, .feature-flip { grid-template-columns: 1fr; }
  .feature-flip img { order: 0; }
  .feature img { aspect-ratio: 3 / 2; }
}
.products { background: var(--rose-soft); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.product { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 20px; }
.product img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.product p { color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .product-grid { grid-template-columns: 1fr; } .product { grid-template-columns: 100px 1fr; } }

/* Chi siamo */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 56px); }
.person { display: grid; grid-template-columns: minmax(0, 200px) 1fr; gap: 24px; align-items: start; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.person h2 { font-size: 1.65rem; margin-bottom: .15em; }
.role { color: var(--rose-deep); font-weight: 600; margin-bottom: .6em; }
.person p:not(.role) { color: var(--ink-soft); }
.person p:last-child { margin: 0; }
.team-group { width: 100%; max-width: 560px; margin: clamp(56px, 7vw, 96px) auto 0; border-radius: var(--radius); }
@media (max-width: 980px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .person { grid-template-columns: 1fr; } .person img { max-width: 240px; } }

/* Contatti */
.contact-page { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: border-color .2s; }
.contact-card:hover { border-color: var(--ink); }
.contact-card h2 { font-family: var(--sans); font-size: 1.15rem; font-weight: 600; margin-bottom: .3em; }
.contact-card p { margin: 0; color: var(--ink-soft); }
.contact-card-main { grid-column: 1 / -1; background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.contact-card-main p { color: #F6E2E5; }
.contact-card-main:hover { background: var(--rose-deeper); border-color: var(--rose-deeper); }
.contact-side h2 { font-size: 1.6rem; }
.contact-side h2:not(:first-child) { margin-top: 1.4em; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: clamp(64px, 9vw, 120px); }
.photo-pair img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 760px) { .contact-page, .contact-cards, .photo-pair { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: #D9D0CE; padding-top: 64px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.brand-light { color: #fff; }
.brand-light .brand-sub { color: #D9D0CE; }
.footer-brand p { margin-top: 18px; max-width: 22em; }
.footer-title { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: #fff; margin-bottom: .8em; }
.site-footer a { color: #fff; }
.social { display: flex; gap: 10px; }
.social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid #6B6E72; border-radius: 50%; }
.social a:hover { border-color: #fff; }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.social svg .fill { fill: currentColor; stroke: none; }
.footer-legal { border-top: 1px solid #45484C; margin-top: 48px; padding-block: 24px 32px; font-size: .8rem; color: #A9A2A0; }
.footer-legal p { max-width: 70em; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Barra rapida su mobile */
.quickbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .quickbar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line);
  }
  .quickbar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 600; text-decoration: none; }
  .quickbar .quickbar-main { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
}

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