/* ===================================================
   TAILOR YOU — Beauty Personal Design
   =================================================== */

/* ---------- Fonts (self-hosted, nessuna richiesta a Google) ---------- */
@font-face {
  font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream:   #F8F4EF;
  --sand:    #EDE3D6;
  --sand-2:  #E3D6C5;
  --taupe:   #B6A48E;
  --gold:    #B0875C;
  --gold-dk: #97714A;
  --ink:     #2B2724;
  --ink-2:   #4A443E;
  --muted:   #6F675E;   /* ≈5:1 su --cream (prima #8C8378, 3.4:1) */
  --line:    rgba(43, 39, 36, 0.12);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', 'Helvetica Neue', Arial, sans-serif;

  --maxw: 1180px;
  --pad:  clamp(20px, 5vw, 72px);
  --sect: clamp(64px, 9vw, 130px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, html { overflow-x: hidden; }
a, button { -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink-2);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; color: var(--ink); line-height: 1.12; }

.overline {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 1.1rem;
}
.overline.light { color: rgba(255, 255, 255, 0.85); }

.section-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  letter-spacing: 0.01em;
}
.section-title.center { text-align: center; }

.section-head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 64px); text-align: center; }
.section-head .overline { text-align: center; }
.section-sub { color: var(--muted); margin-top: 1rem; }

.lead-text { font-size: 1.12rem; color: var(--ink-2); margin-bottom: 1.2rem; }

.section { padding-block: var(--sect); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1.05em 2.3em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.45s var(--ease);
}
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: var(--gold); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.65); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--gold); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), padding 0.5s var(--ease);
  padding-block: 22px;
}
.site-header.scrolled {
  background: rgba(248, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 12px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; flex-direction: column; line-height: 1; color: #fff; transition: color 0.5s var(--ease); }
.scrolled .brand { color: var(--ink); }
.brand-name { font-family: var(--font-serif); font-size: 1.42rem; font-weight: 600; letter-spacing: 0.28em; padding-left: 0.28em; }
.brand-sub { font-size: 0.58rem; letter-spacing: 0.32em; text-transform: uppercase; margin-top: 6px; opacity: 0.8; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav a {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  transition: color 0.4s var(--ease);
}
.scrolled .nav a { color: var(--ink-2); }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--gold); transition: width 0.4s var(--ease);
}
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { border: 1px solid currentColor; padding: 0.6em 1.4em; }
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: #fff !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 1.5px; background: #fff; transition: all 0.4s var(--ease); }
.scrolled .nav-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
/* Hero: sfondo nero pieno, testo bianco */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; background: #000; overflow: hidden; }
.hero-content { max-width: 1040px; padding-top: 80px; }
.hero-title { font-size: clamp(2.4rem, 9.2vw, 6.4rem); font-weight: 500; letter-spacing: 0.14em; padding-left: 0.14em; color: #fff; }
.hero-tag { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, 2.4vw, 1.6rem); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 0.6rem; color: rgba(255,255,255,0.92); }
.hero-lead { font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 30em; margin: 1.8rem 0 2.4rem; color: rgba(255,255,255,0.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
/* le prime 3 foto del carosello, sotto i pulsanti */
.hero-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 420px; margin-top: clamp(36px, 5vw, 56px); }
.hero-strip-item { aspect-ratio: 3 / 4; overflow: hidden; background: #141210; }
.hero-strip-item picture, .hero-strip-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
@supports not (aspect-ratio: 1) { .hero-strip-item { height: 180px; } }
.scroll-cue { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); padding: 10px 16px; color: #fff; font-size: 1.3rem; animation: bob 2.2s var(--ease) infinite; }
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,10px);} }

/* ---------- Layout helpers ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); }
.align-center { align-items: center; }
.align-stretch { align-items: stretch; }

/* ---------- Dream ---------- */
.tick-list { list-style: none; margin-top: 1.6rem; display: grid; gap: 0.7rem; }
.tick-list li { position: relative; padding-left: 1.8rem; color: var(--ink-2); }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 10px; height: 10px; border: 1px solid var(--gold); transform: rotate(45deg); }

.dream-images { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.dream-images img { width: 100%; height: 100%; object-fit: cover; }
.dream-images .img-tall { aspect-ratio: 3/4.4; grid-row: span 2; }
.dream-images .img-short { aspect-ratio: 3/4; margin-top: 42px; }

/* ---------- Values ---------- */
.values { background: var(--cream); }
.values .pillars-head { margin-top: clamp(80px, 10vw, 128px); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 60px); }
.value-card { border-top: 1px solid var(--line); padding-top: 2rem; }
.value-num { font-family: var(--font-serif); font-size: 1.2rem; color: var(--gold); letter-spacing: 0.2em; }
.value-card h3 { font-size: 2rem; margin: 0.5rem 0 1rem; }

/* ---------- Quote band ---------- */
.quote-band { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; padding: 0; min-height: 60vh; }
.quote-media { overflow: hidden; }
.quote-media img { width: 100%; height: 100%; object-fit: cover; }
.quote-text { background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 7vw, 96px); }
.quote-text blockquote { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.4rem); font-style: italic; line-height: 1.32; color: #fff; }

/* ---------- Services ---------- */
.services { background: var(--sand); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--cream); padding: clamp(28px, 3.4vw, 46px); transition: background 0.45s var(--ease); }
.service:hover { background: #fff; }
.service h3 { font-size: 1.5rem; margin-bottom: 0.7rem; }
.service p { color: var(--muted); font-size: 0.98rem; }
/* Lezioni e consulenze: due schede con elenco sotto la griglia principale */
.services-extra { margin-top: clamp(48px, 6vw, 80px); }
.services-extra .overline { text-align: center; }
.services-grid--2 { grid-template-columns: repeat(2, 1fr); }
.service-list { list-style: none; display: grid; gap: 0.5rem; margin-top: 0.3rem; }
.service-list li { position: relative; padding-left: 1.5rem; color: var(--muted); font-size: 0.98rem; }
.service-list li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.locations { text-align: center; margin-top: clamp(40px, 5vw, 72px); }
.locations .overline { text-align: center; }
.locations-list { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.6vw, 2rem); font-style: italic; color: var(--ink); }

/* ---------- Look Book ---------- */
.lookbook { background: var(--sand); }
.gallery { columns: 4; column-gap: 14px; padding-inline: var(--pad); max-width: 1500px; margin: 0 auto; }
.gallery-item { break-inside: avoid; margin-bottom: 14px; overflow: hidden; cursor: zoom-in; position: relative; }
.gallery-item img { width: 100%; transition: transform 0.7s var(--ease), filter 0.7s var(--ease); }
.gallery-item::after { content: "+"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 2rem; color: #fff; background: rgba(43,39,36,0.25); opacity: 0; transition: opacity 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }
.ig-cta { text-align: center; margin-top: clamp(40px, 5vw, 70px); }
.ig-cta p { margin-bottom: 1.2rem; color: var(--ink-2); font-size: 1.05rem; }

/* ---------- Pricing (listino gestito da /admin) ---------- */
.price-groups { display: grid; gap: clamp(56px, 7vw, 96px); }
.price-group-title { font-size: clamp(1.7rem, 2.8vw, 2.2rem); text-align: center; }
.price-group-intro { max-width: 640px; margin: 0.8rem auto 0; text-align: center; color: var(--muted); }
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; margin-top: clamp(28px, 3.4vw, 44px); }
.price-card { background: #fff; border: 1px solid var(--line); padding: clamp(28px, 3.2vw, 44px); }
.price-card h4 { font-size: 1.55rem; }
.price-figure { font-family: var(--font-serif); font-size: 2.5rem; color: var(--gold); line-height: 1; margin: 0.9rem 0 1.2rem; }
.price-figure small { font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-right: 0.5em; vertical-align: middle; }
.price-desc { color: var(--ink-2); margin-bottom: 1.1rem; }
.price-details { list-style: none; display: grid; gap: 0.55rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.price-details li { position: relative; padding-left: 1.5rem; font-size: 0.95rem; }
.price-details li::before { content: "✦"; position: absolute; left: 0; top: 0.1em; font-size: 0.8em; color: var(--gold); }
.price-lines { list-style: none; max-width: 720px; margin: clamp(24px, 3vw, 40px) auto 0; }
.price-lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 0.85rem 0; border-bottom: 1px dotted rgba(43, 39, 36, 0.25); }
.price-lines .price-val { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); white-space: nowrap; }
.price-note { max-width: 720px; margin: clamp(44px, 5vw, 68px) auto 0; text-align: center; font-size: 0.9rem; font-style: italic; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--sand-2); }
.contact-list { list-style: none; margin-top: 2.2rem; display: grid; gap: 1.6rem; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.c-label { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-dk); }
.contact-list a { font-family: var(--font-serif); font-size: 1.4rem; color: var(--ink); transition: color 0.4s var(--ease); }
.contact-list a:hover { color: var(--gold); }
.contact-list small { color: var(--muted); }

.contact-form { background: var(--cream); padding: clamp(28px, 3.4vw, 48px); display: grid; gap: 1.1rem; align-content: start; }
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: 0.98rem; font-weight: 300; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 0.7em 0.1em; transition: border-color 0.4s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; }
.field .error { color: #b04a3c; font-size: 0.78rem; min-height: 0.9rem; }
.field input.invalid, .field textarea.invalid { border-color: #b04a3c; }
.form-note { text-align: center; font-size: 0.9rem; min-height: 1.2rem; }
.form-note.ok { color: var(--gold-dk); }
.form-note.err { color: #b04a3c; }
/* Honeypot anti-bot: fuori schermo, invisibile agli utenti e agli screen reader */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.78); padding-top: clamp(48px, 6vw, 80px); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; padding-bottom: 40px; }
.footer-brand .brand-name { color: #fff; display: block; }
.footer-brand .brand-sub { color: var(--gold); margin-top: 8px; display: block; }
.footer-nav, .footer-contact { display: grid; gap: 0.7rem; }
.footer-nav a, .footer-contact a { font-size: 0.9rem; letter-spacing: 0.04em; transition: color 0.4s var(--ease); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 24px; font-size: 0.78rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,17,15,0.94); display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.4s var(--ease); }
.lightbox.open { display: flex; opacity: 1; }
.lb-img { max-width: 88vw; max-height: 86vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lb-close, .lb-nav { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; opacity: 0.8; transition: opacity 0.3s var(--ease); }
.lb-close:hover, .lb-nav:hover { opacity: 1; }
.lb-close { top: 24px; right: 32px; font-size: 2.4rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 3.4rem; padding: 0 24px; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .values-grid, .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 3; }
  .quote-band { grid-template-columns: 1fr; }
  .quote-media { min-height: 50vh; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ---- Language switch ---- */
.lang-switch { display: inline-flex; gap: 1px; margin-left: 8px; border: 1px solid rgba(255,255,255,0.45); border-radius: 2px; overflow: hidden; }
.scrolled .lang-switch { border-color: var(--line); }
.lang-btn { background: none; border: 0; cursor: pointer; font-family: var(--font-sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; padding: 0.5em 0.7em; color: rgba(255,255,255,0.85); line-height: 1; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.scrolled .lang-btn { color: var(--ink-2); }
.lang-btn.active { background: var(--gold); color: #fff !important; }


/* ---- Instagram live feed (Behold.so) ---- */
.ig-feed { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.ig-feed[hidden] { display: none; }

@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--cream); flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 1.8rem; padding: 0 var(--pad);
    transform: translateX(100%); transition: transform 0.5s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,0.15);
  }
  .nav.open { transform: none; }
  .nav a { color: var(--ink-2); font-size: 1rem; padding-block: 0.6rem; }
  .nav-cta { color: var(--ink); }
  .nav .lang-switch { margin-left: 0; border-color: var(--line); }
  .nav .lang-btn { color: var(--ink-2); min-width: 48px; min-height: 44px; font-size: 0.75rem; }
  .nav .lang-btn.active { color: #fff !important; }
  .nav-toggle { display: flex; z-index: 110; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
  body.menu-open { overflow: hidden; }
  /* Fix menu rotto se aperto dopo lo scroll: il backdrop-filter dell'header
     (stato .scrolled) crea un containing block che fa collassare il menu fixed.
     Con il menu aperto lo neutralizziamo cosi' il pannello torna a tutta altezza. */
  body.menu-open .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  body.menu-open .nav-toggle span { background: var(--ink); }
  body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .grid-2 { grid-template-columns: 1fr; }
  .values-grid, .services-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .dream-images .img-short { margin-top: 0; }
  .hero-content { padding-top: 100px; }
  .hero-strip { max-width: none; gap: 8px; }
  .footer-nav a, .footer-contact a { padding-block: 4px; }

  /* Bottoni hero a tutta larghezza, piu' comodi da toccare */
  .hero-actions { gap: 12px; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }

  /* Campi form a 16px: evita lo zoom automatico di iOS al focus */
  .field input, .field select, .field textarea { font-size: 16px; }

  /* Lightbox: frecce e chiusura piu' vicine ai bordi su schermi piccoli */
  .lb-nav { font-size: 2.6rem; padding: 0 12px; }
  .lb-close { top: 16px; right: 18px; }
}

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

/* ---------- Consent checkbox (form GDPR) ---------- */
.field-consent { gap: 0.4rem; }
.field .consent-label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  cursor: pointer;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--ink-2);
  line-height: 1.55;
}
.consent-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1px solid var(--ink-2);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  margin-top: 2px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  flex-shrink: 0;
}
.consent-label input[type="checkbox"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent-label input[type="checkbox"]:checked {
  background: var(--ink);
  border-color: var(--ink);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23F8F4EF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}
.consent-label input[type="checkbox"].invalid { border-color: #b04a3c; }
.consent-text a { color: var(--gold-dk); text-decoration: underline; text-underline-offset: 2px; }
.consent-text a:hover { color: var(--ink); }

/* ---------- Footer legal links ---------- */
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a {
  font-size: 0.78rem; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.62);
  transition: color 0.3s var(--ease);
}
.footer-legal a:hover { color: var(--gold); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 300;
  background: var(--ink);
  color: rgba(255,255,255,0.86);
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  max-width: 720px;
  margin-inline: auto;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-inner { display: grid; gap: 12px; padding: 20px 24px; }
.cookie-title { font-family: var(--font-serif); color: #fff; font-size: 1.15rem; margin: 0; }
.cookie-desc { font-size: 0.86rem; line-height: 1.55; color: rgba(255,255,255,0.7); margin: 0; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-sm { padding: 0.7em 1.4em; font-size: 0.72rem; }
.btn-outline-dark { border: 1px solid rgba(255,255,255,0.45); color: #fff; background: transparent; }
.btn-outline-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }

@media (min-width: 640px) {
  /* titolo + testo a sinistra, bottoni a destra */
  .cookie-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "title actions" "desc actions";
    align-items: center; column-gap: 24px; row-gap: 4px;
  }
  .cookie-title { grid-area: title; }
  .cookie-desc { grid-area: desc; }
  .cookie-actions { grid-area: actions; justify-content: flex-end; flex-wrap: nowrap; }
}

/* ---------- Legal pages (privacy/cookie) ---------- */
.legal-page { padding-block: clamp(120px, 14vw, 180px) clamp(64px, 9vw, 110px); }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.4rem; }
.legal-page .legal-meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 2.5rem; }
.legal-page h2 { font-size: 1.4rem; margin-top: 2.2rem; margin-bottom: 0.8rem; color: var(--ink); }
.legal-page h3 { font-size: 1.05rem; margin-top: 1.4rem; margin-bottom: 0.5rem; color: var(--ink); font-family: var(--font-sans); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.legal-page p, .legal-page li { font-size: 0.98rem; line-height: 1.75; margin-bottom: 0.7rem; }
.legal-page ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-page a { color: var(--gold-dk); text-decoration: underline; text-underline-offset: 2px; }
.legal-page a:hover { color: var(--ink); }
.legal-page .back-home { display: inline-block; margin-top: 2.5rem; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.legal-page .back-home:hover { color: var(--ink); }

/* ---------- Pillars head ---------- */
.pillars-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 52px);
}
.pillars-head .lead-text { margin-top: 0.6em; }

/* ---------- Carousel ---------- */
.carousel-section {
  padding-block: clamp(48px, 7vw, 100px);
  background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
}
.carousel {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 72px);
}
.carousel-viewport {
  overflow: hidden;
  position: relative;
}
.carousel-viewport::before,
.carousel-viewport::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(0px, 2vw, 28px);
  z-index: 2;
  pointer-events: none;
}
.carousel-viewport::before { left: 0; background: linear-gradient(90deg, var(--sand), transparent); }
.carousel-viewport::after  { right: 0; background: linear-gradient(-90deg, var(--sand), transparent); }
.carousel-track {
  display: flex;
  gap: clamp(14px, 2.2vw, 28px);
  list-style: none;
  margin: 0;
  padding: 12px 0;
  transition: transform 700ms var(--ease);
  will-change: transform;
}
.carousel-card {
  flex: 0 0 auto;
  width: clamp(260px, 32vw, 380px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
  background: var(--sand-2);
  box-shadow: 0 14px 40px rgba(43, 39, 36, 0.12);
  transition: transform 600ms var(--ease), box-shadow 600ms var(--ease);
  opacity: 1;
  transform: scale(0.97);
}
.carousel-card.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 24px 60px rgba(43, 39, 36, 0.22);
}
.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(43, 39, 36, 0.78);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.carousel-btn:hover { background: var(--gold); transform: translateY(-50%) scale(1.05); }
.carousel-prev { left: clamp(4px, 1.5vw, 18px); }
.carousel-next { right: clamp(4px, 1.5vw, 18px); }
.carousel-count {
  margin-top: clamp(18px, 2.6vw, 28px);
  text-align: center;
  font-size: 0.78rem; letter-spacing: 0.24em; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
  .carousel-card { width: 78vw; }
  .carousel-btn { width: 44px; height: 44px; font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
  .carousel-card { transition: none; }
}

/* ---------- WhatsApp (pulsante fisso) ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 2.4vw, 28px); bottom: clamp(16px, 2.4vw, 28px); z-index: 150;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { background: var(--ink); transform: translateY(-2px); }
.wa-float:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
body.menu-open .wa-float { display: none; }
