/* ==========================================================================
   Maison Velaria — foglio di stile
   Palette: avorio, bianco seta, champagne, nero morbido, oro tenue
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
  --avorio: #F8F4EE;
  --seta: #FFFFFF;
  --champagne: #E8DCCB;
  --nero: #1A1A1A;
  --oro: #B89B6A;
  --oro-scuro: #8C7348;   /* oro leggibile su fondi chiari, per testi piccoli */
  --grigio: #5E5A55;
  --linea: rgba(184, 155, 106, .45);

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Jost", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --section: clamp(96px, 14vw, 200px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--avorio);
  color: var(--nero);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--oro); outline-offset: 4px; }
::selection { background: var(--champagne); color: var(--nero); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--nero); color: var(--avorio); padding: 10px 18px; font-size: 14px; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* --- Tipografia --------------------------------------------------------- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 300; line-height: 1.04; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(46px, 8.2vw, 124px); }
h2 { font-size: clamp(40px, 6vw, 88px); }
h3 { font-size: clamp(30px, 3.4vw, 46px); }
em, .it { font-style: italic; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-weight: 400; font-size: 12px;
  letter-spacing: .32em; text-transform: uppercase; color: var(--oro-scuro);
  margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--oro); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--grigio); max-width: 34em; }

/* Le parole dei titoli vengono divise da main.js per l'animazione */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }

.rule { width: 100%; height: 1px; background: var(--linea); border: 0; margin: 0; transform-origin: left center; }

/* --- Pulsanti ----------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 34px;
  font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase;
  border: 1px solid var(--nero); background: var(--nero); color: var(--avorio);
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--oro); border-color: var(--oro); color: var(--seta); }
.btn--outline { background: transparent; color: var(--nero); }
.btn--outline:hover { background: var(--nero); border-color: var(--nero); color: var(--avorio); }
.btn--light { background: var(--seta); border-color: var(--seta); color: var(--nero); }
.btn--light:hover { background: var(--oro); border-color: var(--oro); color: var(--seta); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.7); color: var(--seta); }
.btn--ghost-light:hover { background: var(--seta); border-color: var(--seta); color: var(--nero); }
.btn svg { width: 18px; height: 18px; flex: none; }

.link-line {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase; font-weight: 400;
}
.link-line::after { content: ""; width: 34px; height: 1px; background: currentColor; transition: width .6s var(--ease); }
.link-line:hover::after { width: 60px; }

/* --- Header ------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h);
  display: flex; align-items: center;
  color: var(--seta);
  transition: background .6s var(--ease), color .6s var(--ease), box-shadow .6s var(--ease), transform .6s var(--ease);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: none; }
.header.is-solid, .header--solid { background: rgba(248, 244, 238, .94); color: var(--nero); box-shadow: 0 1px 0 var(--linea); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.logo { font-family: var(--serif); font-size: clamp(23px, 2.2vw, 28px); font-weight: 400; letter-spacing: .01em; line-height: 1; white-space: nowrap; }
.logo em { font-style: italic; color: inherit; }
.logo small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: .42em; text-transform: uppercase; margin-top: 6px; opacity: .75; }
.nav { display: none; }
.nav a { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 400; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--oro); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header .btn { min-height: 44px; padding: 0 22px; font-size: 11px; display: none; }
.header:not(.is-solid):not(.header--solid) .btn { background: transparent; border-color: rgba(255,255,255,.75); color: var(--seta); }
.header:not(.is-solid):not(.header--solid) .btn:hover { background: var(--seta); color: var(--nero); }

.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; margin-right: -10px; }
.burger span { display: block; width: 26px; height: 1px; background: currentColor; transition: transform .5s var(--ease), opacity .4s; }
.burger span:last-child { width: 18px; margin-left: auto; }

@media (min-width: 1024px) {
  .nav { display: flex; gap: clamp(24px, 3vw, 44px); }
  .header .btn { display: inline-flex; }
  .burger { display: none; }
}

/* Menu a schermo intero (mobile) */
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--avorio);
  display: flex; flex-direction: column; padding: 22px var(--gutter) 40px;
  visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0);
}
.menu.is-open { visibility: visible; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: calc(var(--header-h) - 22px); }
.menu__close { width: 44px; height: 44px; position: relative; margin-right: -10px; }
.menu__close::before, .menu__close::after { content: ""; position: absolute; left: 9px; top: 21px; width: 26px; height: 1px; background: var(--nero); transform: rotate(45deg); }
.menu__close::after { transform: rotate(-45deg); }
.menu__links { margin: auto 0; display: flex; flex-direction: column; gap: 6px; }
.menu__links a { font-family: var(--serif); font-size: clamp(44px, 12vw, 64px); font-weight: 300; line-height: 1.15; display: flex; align-items: baseline; gap: 18px; }
.menu__links a span { font-family: var(--sans); font-size: 12px; color: var(--oro-scuro); letter-spacing: .2em; }
.menu__foot { display: grid; gap: 18px; border-top: 1px solid var(--linea); padding-top: 26px; font-size: 14px; }
.menu__foot .btn { width: 100%; }

/* --- Hero --------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; color: var(--seta); background: #d8d2c8; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.08); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(26,26,26,.42) 0%, rgba(26,26,26,0) 26%),
    linear-gradient(0deg, rgba(26,26,26,.82) 0%, rgba(26,26,26,.55) 45%, rgba(26,26,26,.18) 75%);
}
.hero__content { position: absolute; z-index: 2; inset: auto 0 0 0; padding-bottom: clamp(96px, 12vh, 130px); }
.hero__eyebrow { color: var(--champagne); }
.hero__eyebrow::before { background: var(--champagne); }
.hero h1 { max-width: 11em; text-shadow: 0 2px 30px rgba(0,0,0,.18); }
.hero h1 em { font-weight: 300; }
.hero__sub { margin-top: 22px; font-size: clamp(16px, 1.4vw, 19px); letter-spacing: .04em; max-width: 30em; color: rgba(255,255,255,.92); }
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll { position: absolute; z-index: 2; right: var(--gutter); bottom: 40px; display: none; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero__scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--seta), transparent); }
@media (min-width: 900px) { .hero__scroll { display: flex; } }
@media (max-width: 560px) {
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* --- Sezioni ------------------------------------------------------------ */
.section { padding: var(--section) 0; position: relative; }
.section--white { background: var(--seta); }
.section--champagne { background: var(--champagne); }
.section__head { display: grid; gap: 28px; margin-bottom: clamp(56px, 8vw, 110px); }
@media (min-width: 900px) {
  .section__head--split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 60px; }
}

/* Manifesto / L'Atelier */
.manifesto { display: grid; gap: 64px; align-items: center; }
.manifesto__media { position: relative; }
.frame { position: relative; overflow: hidden; background: var(--champagne); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.manifesto__main { aspect-ratio: 4 / 5; }
.manifesto__small { position: absolute; width: 44%; aspect-ratio: 3 / 4; right: -6%; bottom: -10%; border: 10px solid var(--avorio); display: none; }
.manifesto__text h2 { margin-bottom: 40px; }
.signature { margin-top: 44px; display: flex; align-items: center; gap: 20px; }
.signature .serif { font-size: 34px; font-style: italic; }
.signature span:last-child { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--grigio); }
.values { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 0; border-top: 1px solid var(--linea); }
.values li { display: flex; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--linea); font-size: 15px; letter-spacing: .04em; }
.values b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 20px; color: var(--oro-scuro); min-width: 26px; }
@media (min-width: 900px) {
  .manifesto { grid-template-columns: 1fr 1fr; gap: clamp(60px, 9vw, 140px); }
  .manifesto__small { display: block; }
}

/* Collezioni */
.collections { display: grid; gap: 40px; }
.card { display: block; position: relative; }
.card__media { aspect-ratio: 3 / 4.3; position: relative; overflow: hidden; background: var(--champagne); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), filter 1.2s var(--ease); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26,26,26,.42), transparent 50%); opacity: .55; transition: opacity .8s var(--ease); }
.card__cta {
  position: absolute; z-index: 2; left: 50%; bottom: 34px; transform: translate(-50%, 12px);
  color: var(--seta); font-size: 12px; letter-spacing: .32em; text-transform: uppercase; opacity: 0;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
}
.card__cta::after { content: ""; width: 1px; height: 26px; background: var(--seta); }
.card:hover .card__media img { transform: scale(1.06); }
.card:hover .card__media::after { opacity: 1; }
.card:hover .card__cta { opacity: 1; transform: translate(-50%, 0); }
.card__info { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 22px; border-bottom: 1px solid var(--linea); padding-bottom: 16px; }
.card__info h3 { font-size: clamp(34px, 3.4vw, 48px); }
.card__info p { margin: 0; font-size: 13px; color: var(--grigio); letter-spacing: .04em; text-align: right; max-width: 14em; line-height: 1.5; }
.card__num { font-family: var(--serif); font-style: italic; color: var(--oro-scuro); font-size: 18px; margin-bottom: 14px; display: block; }
@media (hover: none) { .card__cta { opacity: 1; transform: translate(-50%, 0); } .card__media::after { opacity: .85; } }
@media (min-width: 900px) {
  .collections { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
  .collections .card:nth-child(2) { margin-top: 120px; }
  .collections .card:nth-child(3) { margin-top: 48px; }
}

/* Esperienza */
.experience { display: grid; gap: 64px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; padding: 38px 0; border-top: 1px solid var(--linea); }
.step:last-child { border-bottom: 1px solid var(--linea); }
.step__num { font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 6vw, 84px); line-height: .9; color: var(--oro); grid-row: span 2; min-width: 1.4em; font-variant-numeric: lining-nums; }
.step h3 { font-size: clamp(26px, 2.6vw, 36px); }
.step p { color: var(--grigio); margin: 0; max-width: 30em; }
.experience__media { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .experience { grid-template-columns: 1.05fr .95fr; gap: clamp(60px, 8vw, 120px); align-items: center; }
  .experience__media { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* Galleria editoriale */
.gallery { columns: 2; column-gap: 12px; }
.gallery__item { break-inside: avoid; margin: 0 0 12px; display: block; width: 100%; padding: 0; position: relative; overflow: hidden; background: var(--champagne); cursor: zoom-in; }
.gallery__item img { width: 100%; transition: transform 1.4s var(--ease), opacity .6s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption { position: absolute; left: 14px; bottom: 12px; color: var(--seta); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; opacity: 0; transition: opacity .6s var(--ease); text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.gallery__item:hover figcaption { opacity: 1; }
@media (min-width: 900px) { .gallery { columns: 3; column-gap: 22px; } .gallery__item { margin-bottom: 22px; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(20, 19, 18, .96); display: none; align-items: center; justify-content: center; padding: 64px 16px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: min(100%, 1100px); width: auto; object-fit: contain; }
.lightbox__btn { position: absolute; color: var(--avorio); width: 52px; height: 52px; display: grid; place-items: center; opacity: .8; transition: opacity .4s; }
.lightbox__btn:hover { opacity: 1; }
.lightbox__btn svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1; }
.lightbox__close { top: 10px; right: 10px; }
.lightbox__prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 6px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: var(--champagne); font-size: 12px; letter-spacing: .3em; }
.lightbox__caption { position: absolute; left: 24px; top: 24px; color: var(--champagne); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; max-width: 60%; }

/* Testimonianze */
.quotes { text-align: center; max-width: 980px; margin: 0 auto; }
.quotes__mark { font-family: var(--serif); font-size: 120px; line-height: .6; color: var(--oro); display: block; height: 50px; }
.quotes__track { position: relative; display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; }
.quote.is-active { opacity: 1; visibility: visible; }
.quote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.32; margin: 0 0 34px; }
.quote footer { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--grigio); }
.quote[data-placeholder] p { color: #9a948c; }
.quotes__nav { margin-top: 54px; display: flex; justify-content: center; align-items: center; gap: 26px; }
.quotes__nav button { width: 46px; height: 46px; border: 1px solid var(--linea); border-radius: 50%; display: grid; place-items: center; transition: border-color .4s, background .4s; }
.quotes__nav button:hover { border-color: var(--oro); background: var(--seta); }
.quotes__nav svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.2; }
.quotes__dots { display: flex; gap: 10px; }
.quotes__dots button { width: 28px; height: 14px; border: 0; border-radius: 0; position: relative; }
.quotes__dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--linea); transition: background .4s; }
.quotes__dots button[aria-current="true"]::after { background: var(--nero); height: 1px; }

/* Prenotazione */
.booking { display: grid; gap: 64px; }
.booking h2 { margin-bottom: 30px; }
.booking__aside { display: grid; gap: 34px; align-content: start; }
.contact-big { display: grid; gap: 14px; }
.contact-big .btn { width: 100%; min-height: 62px; }
.phone-link { font-family: var(--serif); font-size: clamp(34px, 3.4vw, 46px); font-weight: 300; line-height: 1; display: inline-block; border-bottom: 1px solid var(--oro); padding-bottom: 6px; }
.small-note { font-size: 14px; color: var(--grigio); }

.form { display: grid; gap: 4px 28px; grid-template-columns: 1fr; background: var(--avorio); padding: clamp(28px, 4vw, 56px); }
.field { position: relative; display: grid; padding-top: 10px; }
.field label, .field legend { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--grigio); font-weight: 400; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 17px; color: var(--nero); background: transparent;
  border: 0; border-bottom: 1px solid rgba(26,26,26,.25); border-radius: 0;
  padding: 10px 0 12px; outline: none; transition: border-color .4s; width: 100%;
  -webkit-appearance: none; appearance: none;
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--oro); }
.field textarea { resize: vertical; min-height: 96px; }
.field input[type="date"] { min-height: 49px; }
.field--full { grid-column: 1 / -1; }
fieldset.field { border: 0; margin: 0; padding: 18px 0 6px; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border: 1px solid rgba(26,26,26,.25); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: all .4s var(--ease); }
.choice input:checked + span { background: var(--nero); border-color: var(--nero); color: var(--avorio); }
.choice input:focus-visible + span { outline: 1px solid var(--oro); outline-offset: 3px; }
.consent { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--grigio); margin-top: 18px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--nero); flex: none; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form__submit { margin-top: 26px; display: grid; gap: 14px; }
.form__submit .btn { width: 100%; }
.form__status { font-size: 14px; color: var(--oro-scuro); min-height: 1.4em; margin: 0; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #a0473a; }
.form .err { color: #a0473a; font-size: 12px; letter-spacing: .04em; margin-top: 6px; display: none; }
.field.is-invalid .err { display: block; }
@media (min-width: 700px) { .form { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .booking { grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 7vw, 110px); align-items: start; } }

/* Dove siamo */
.where { display: grid; gap: 54px; }
.map { position: relative; min-height: 420px; background: var(--champagne); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.92) brightness(1.04) sepia(.08); }
.map__placeholder { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 20px; padding: 24px;
  background:
    linear-gradient(rgba(232,220,203,.88), rgba(232,220,203,.88)),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(184,155,106,.35) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(184,155,106,.35) 47px 48px);
}
.map__placeholder p { font-size: 14px; color: var(--grigio); max-width: 26em; margin: 0 auto; }
.info-list { display: grid; gap: 0; border-top: 1px solid var(--linea); margin-top: 40px; }
.info-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--linea); }
.info-list dt { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--oro-scuro); padding-top: 4px; }
.info-list dd { margin: 0; font-size: 16px; }
.info-list a { border-bottom: 1px solid transparent; transition: border-color .4s; }
.info-list a:hover { border-color: var(--oro); }
.todo { color: #9a948c; font-style: italic; }
@media (min-width: 1000px) { .where { grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 7vw, 110px); align-items: stretch; } .map { min-height: 560px; } }

/* Footer */
.footer { background: var(--nero); color: rgba(248,244,238,.78); padding: clamp(80px, 10vw, 130px) 0 40px; font-size: 15px; }
.footer .logo { color: var(--avorio); font-size: clamp(36px, 5vw, 64px); }
.footer__grid { display: grid; gap: 44px; margin-top: 60px; padding-top: 50px; border-top: 1px solid rgba(184,155,106,.35); }
.footer h4 { font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--oro); margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { transition: color .4s; }
.footer a:hover { color: var(--seta); }
.footer__bottom { margin-top: 70px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; font-size: 12px; letter-spacing: .08em; color: rgba(248,244,238,.5); }
.footer__bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
@media (max-width: 899px) { .footer { padding-bottom: 110px; } }

/* --- Elementi fissi ----------------------------------------------------- */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 55;
  width: 58px; height: 58px; border-radius: 50%; display: none; place-items: center;
  background: var(--nero); color: var(--avorio); box-shadow: 0 10px 30px rgba(26,26,26,.22);
  transition: background .5s var(--ease), transform .5s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--oro); opacity: .7; }
.wa-float:hover { background: var(--oro); transform: translateY(-3px); }
.wa-float svg { width: 24px; height: 24px; }
@media (min-width: 900px) { .wa-float { display: grid; } }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: grid; grid-template-columns: 1fr 1fr;
  background: rgba(248,244,238,.97); border-top: 1px solid var(--linea);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%); transition: transform .7s var(--ease);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 400; }
.mobile-bar a + a { background: var(--nero); color: var(--avorio); }
.mobile-bar svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* Banner cookie */
.cookie {
  position: fixed; z-index: 110; left: 12px; right: 12px; bottom: 12px;
  background: var(--seta); border: 1px solid var(--linea); box-shadow: 0 20px 50px rgba(26,26,26,.12);
  padding: 24px; display: none; gap: 18px; font-size: 14px; line-height: 1.6; color: var(--grigio);
}
.cookie.is-visible { display: grid; }
.cookie strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--nero); margin-bottom: 6px; }
.cookie a { text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie__actions .btn { min-height: 46px; padding: 0 22px; font-size: 11px; flex: 1 1 auto; }
@media (min-width: 700px) { .cookie { left: auto; right: 26px; bottom: 26px; max-width: 420px; } }

/* --- Pagine secondarie --------------------------------------------------- */
.page-hero { padding: calc(var(--header-h) + clamp(70px, 10vw, 140px)) 0 clamp(60px, 8vw, 100px); }
.page-hero h1 { font-size: clamp(54px, 9vw, 130px); }
.page-hero .lead { margin-top: 30px; }
.crumbs { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--grigio); margin-bottom: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--nero); }
.crumbs span { color: var(--oro); }
.other-collections { display: grid; gap: 22px; }
@media (min-width: 800px) { .other-collections { grid-template-columns: 1fr 1fr; } }
.other-collections .card__media { aspect-ratio: 16 / 10; }

.legal { max-width: 780px; }
.legal h2 { font-size: clamp(28px, 3vw, 38px); margin: 56px 0 18px; }
.legal p, .legal li { color: #3d3a36; }
.legal ul { padding-left: 1.2em; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 20px 0; }
.legal th, .legal td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--linea); vertical-align: top; }
.legal th { font-weight: 400; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--oro-scuro); }

/* --- Stato iniziale delle animazioni (solo se Motion è attivo) ----------- */
.js-motion [data-reveal],
.js-motion [data-stagger] > *,
.js-motion [data-fade] { opacity: 0; }
.js-motion .w > span { transform: translateY(105%); }
.js-motion [data-photo] { clip-path: inset(10% 10% 10% 10%); }
.js-motion [data-photo] img { transform: scale(1.18); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero__media img { transform: none; }
}

/* Parallax: l'immagine è più alta della cornice per non lasciare vuoti */
.frame[data-parallax] img { position: absolute; left: 0; top: -7%; height: 114%; }
.js-motion [data-eyebrow] { opacity: 0; }
.js-motion .rule { transform: scaleX(0); }

/* Hero: su desktop foto orizzontale con la sposa a destra, testo a sinistra */
.hero picture { display: block; width: 100%; height: 100%; }
.hero__media img { object-position: 50% 45%; }
@media (min-width: 900px) {
  .hero__media img { object-position: 70% 14%; }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(26,26,26,.4) 0%, rgba(26,26,26,0) 24%),
      linear-gradient(90deg, rgba(26,26,26,.62) 0%, rgba(26,26,26,.3) 40%, rgba(26,26,26,0) 65%),
      linear-gradient(0deg, rgba(26,26,26,.35) 0%, rgba(26,26,26,0) 40%);
  }
}

/* Evita che i campi (es. data su iOS/Android) allarghino la pagina */
.form { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { min-width: 0; }
.field input { min-width: 0; max-width: 100%; }
.choice { position: relative; }
.footer__bottom button { font-size: inherit; letter-spacing: inherit; color: inherit; padding: 0; }
.footer__bottom button:hover { color: var(--seta); }
