/* =========================================================
   Studio 81 — livello "dinamico" (va caricato dopo style.css
   e static.css). Stessa palette e tipografia, più movimento.
   ========================================================= */
:root {
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dark: #1f1b1a;
}

/* ---------- Barra di avanzamento della lettura ---------- */
.scroll-progress {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- Header ---------- */
.header {
  transition:
    background 0.4s,
    border-color 0.4s,
    color 0.4s,
    transform 0.45s var(--ease-out),
    height 0.4s;
}
.header.is-hidden {
  transform: translateY(-100%);
}
.has-hero .header {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  border-color: transparent;
  color: #fff;
  height: 92px;
}
/* sulla foto: logo con scritte bianche e cubi colorati */
.has-hero .header .brand {
  background-image: url("logo-studio81-chiaro.png");
}
.has-hero .header .nav-contact {
  border-color: currentColor;
}
.has-hero .header.is-solid {
  background: rgb(247 245 241 / 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-color: var(--line);
  color: var(--ink);
  height: 76px;
}
.has-hero .header.is-solid .brand {
  background-image: url("logo-studio81.png");
}
.has-hero .menu-toggle {
  color: inherit;
}
.nav a:not(.nav-contact) {
  position: relative;
}
.nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav a:not(.nav-contact):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-contact {
  transition:
    background 0.3s,
    color 0.3s,
    padding 0.3s;
}
.nav-contact:hover {
  padding-inline: 10px;
  background: var(--ink);
  color: var(--paper) !important;
}

/* ---------- Hero a tutto schermo ---------- */
.hero-full {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
  display: flex;
  align-items: flex-end;
}
.hero-slides,
.hero-shade {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.12);
  transition:
    opacity 1.6s ease,
    transform 7.5s linear;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-shade {
  background:
    linear-gradient(180deg, rgb(20 16 15 / 0.45) 0%, rgb(20 16 15 / 0) 28%),
    linear-gradient(0deg, rgb(20 16 15 / 0.78) 0%, rgb(20 16 15 / 0.15) 55%, rgb(20 16 15 / 0) 75%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(110px, 16vh, 170px);
}
.hero-full .eyebrow {
  color: rgb(255 255 255 / 0.85);
}
.hero-full h1 {
  font-size: clamp(46px, 7.4vw, 124px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  max-width: 13ch;
}
.hero-full h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.hero-full h1 .line > * {
  display: inline-block;
}
.hero-full h1 em {
  color: #f0dcd0;
}
.hero-full .hero-description {
  margin-top: 26px;
  font-size: 16px;
  max-width: 40ch;
  color: rgb(255 255 255 / 0.88);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 36px;
  margin-top: 36px;
}
.button-light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.button-light:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.link-light {
  margin-top: 0;
  color: #fff;
  border-color: rgb(255 255 255 / 0.7);
}
.link-light:hover {
  color: #f0dcd0 !important;
}
.hero-bottom {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--gutter) 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.8);
}
.hero-dots {
  display: flex;
  gap: 10px;
}
.hero-dots button {
  position: relative;
  width: 46px;
  height: 22px;
  border: 0;
  padding: 0;
  background: none;
}
.hero-dots button::before,
.hero-dots button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: rgb(255 255 255 / 0.35);
}
.hero-dots button::after {
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
.hero-dots button.is-active::after {
  animation: dot-fill 6s linear forwards;
}
@keyframes dot-fill {
  to {
    transform: scaleX(1);
  }
}
.scroll-cue {
  width: 26px;
  height: 42px;
  border: 1px solid rgb(255 255 255 / 0.7);
  border-radius: 20px;
  position: relative;
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 2px;
  height: 8px;
  margin-left: -1px;
  background: #fff;
  border-radius: 2px;
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  80% {
    transform: translateY(14px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
/* entrata del testo dell'hero */
.hero-anim {
  animation: rise 1.1s var(--ease-out) both;
  animation-delay: calc(0.25s + var(--i, 0) * 0.13s);
}
h1 .hero-anim {
  animation-name: rise-line;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
}
@keyframes rise-line {
  from {
    transform: translateY(105%);
  }
}

/* ---------- Nastro di parole ---------- */
.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 34px;
  animation: marquee 38s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 38px);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee-track i {
  font-style: normal;
  font-size: 0.5em;
  color: var(--accent);
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Comparse allo scroll ---------- */
.js [data-reveal] {
  transition:
    opacity 1s var(--ease-out),
    transform 1s var(--ease-out),
    clip-path 1.3s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(42px);
}
.js .clip-reveal[data-reveal] {
  opacity: 1;
  transform: none;
}
.js .clip-reveal[data-reveal]:not(.is-in) {
  clip-path: inset(18% 12% 18% 12%);
}
.js .clip-reveal[data-reveal].is-in {
  clip-path: inset(0 0 0 0);
}

/* ---------- Fotografie: parallasse e zoom ---------- */
[data-parallax] > img {
  transform: translateY(var(--py, 0px)) scale(1.14);
  will-change: transform;
}
figure.photo > img {
  transition: filter 0.6s;
}
.story .photo > img,
.feelings-grid .photo > img {
  transition: transform 1.1s var(--ease-out);
}
.story:hover .photo > img {
  transform: scale(1.06);
}
.static-lightbox-image img,
.static-lightbox-image figure {
  transform: none !important;
  clip-path: none !important;
  opacity: 1 !important;
}
.static-lightbox-image figcaption {
  display: none;
}

/* ---------- Sezioni della homepage ---------- */
.has-hero .ease {
  padding-top: 130px;
}
.time .section-number {
  margin-bottom: 22px;
}
.feelings h2 {
  font-size: clamp(40px, 5vw, 76px);
  margin-bottom: 60px;
}
.feelings-grid {
  align-items: start;
}
.feelings-grid .photo {
  height: 380px;
}
.feelings-grid .photo:nth-child(2) {
  height: 480px;
  margin-top: 70px;
}
.feelings-grid .photo:nth-child(3) {
  margin-top: 20px;
}
.feelings-grid figcaption {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 14px;
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  text-shadow: 0 1px 12px rgb(0 0 0 / 0.45);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.45s,
    transform 0.45s var(--ease-out);
}
.feelings-grid .photo:not(.placeholder):hover figcaption,
.feelings-grid .photo:not(.placeholder):focus-visible figcaption {
  opacity: 1;
  transform: none;
}
.feelings-grid .placeholder figcaption {
  display: none;
}
.stories > .text-link {
  margin-top: 50px;
}
.story .photo {
  overflow: hidden;
}

/* percorso: linea che si riempie */
.journey ol {
  position: relative;
  --progress: 0;
}
.journey ol::before,
.journey ol::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 4px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.journey ol::after {
  background: var(--accent);
  transform-origin: top;
  transform: scaleY(var(--progress));
}
.journey li {
  position: relative;
  border-top: none;
  grid-template-columns: 20px 1fr;
  padding-left: 0;
}
.journey li .step-number {
  position: relative;
  z-index: 1;
  width: 19px;
  height: 19px;
  margin-top: 6px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0;
  transition:
    background 0.4s,
    border-color 0.4s,
    transform 0.4s var(--ease-out);
}
.journey li.is-reached .step-number {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.15);
}
.journey li div {
  transition: opacity 0.5s;
}
.js .journey li:not(.is-reached) div {
  opacity: 0.45;
}

/* recensioni */
.reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-block: 90px 100px;
}
.reviews-mark {
  font-family: var(--serif);
  font-size: 110px;
  line-height: 0.6;
  color: var(--accent);
  height: 50px;
}
.reviews > p {
  color: var(--muted);
}

/* consigli: segno + che ruota */
.details-sign {
  transition: transform 0.35s var(--ease-out);
}
summary {
  transition: color 0.25s;
}
summary:hover {
  color: var(--accent);
}
.tip-body {
  overflow: hidden;
}

/* ---------- Pulsanti ---------- */
.button {
  position: relative;
  overflow: hidden;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    transform 0.2s,
    gap 0.3s;
}
.button:hover {
  gap: 44px;
}
.text-link {
  transition:
    gap 0.3s var(--ease-out),
    color 0.2s;
}
.text-link:hover {
  gap: 40px;
}

/* ---------- Richiesta per il matrimonio ---------- */
.request {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(50px, 8vw, 130px);
  padding-block: 110px 120px;
  background: var(--rose);
  max-width: none;
}
.request > * {
  max-width: 760px;
}
.request-intro {
  justify-self: end;
  width: 100%;
  max-width: 520px;
}
.request-intro h2 {
  font-size: clamp(40px, 4.6vw, 70px);
}
.request-intro > p:not(.eyebrow) {
  margin-top: 28px;
  font-size: 15px;
  max-width: 38ch;
}
.request-next {
  list-style: none;
  margin: 36px 0;
  padding: 0;
  border-top: 1px solid #c6b5a8;
}
.request-next li {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #c6b5a8;
  font-size: 14px;
}
.request-next span {
  font-family: var(--serif);
  color: var(--accent);
}
.request .contact-note {
  border: 0;
  padding: 0;
  line-height: 2;
}
.request .contact-note .text-link {
  margin: 4px 22px 0 0;
}

/* modulo */
.wedding-form {
  position: relative;
  background: var(--paper);
  padding: clamp(26px, 4vw, 54px);
  box-shadow: 0 30px 60px -30px rgb(48 44 43 / 0.25);
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: start;
  scroll-margin-top: 100px;
}
.wf-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.wf-steps li {
  transition: color 0.3s;
}
.wf-steps span {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0;
}
.wf-steps .is-current {
  color: var(--ink);
}
.wf-steps .is-done {
  color: var(--accent);
}
.wf-bar {
  height: 2px;
  background: var(--line);
  margin-top: -12px;
}
.wf-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0.25);
  transition: transform 0.6s var(--ease-out);
}
.wf-step {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.wedding-form [hidden] {
  display: none !important;
}
.wf-step.is-active {
  animation: step-in 0.55s var(--ease-out);
}
@keyframes step-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
}
.wf-step legend {
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  padding: 0;
  margin-bottom: 4px;
}
.wedding-form .field input,
.wedding-form .field select,
.wedding-form .field textarea {
  transition: border-color 0.25s;
}
.wedding-form .field input:focus,
.wedding-form .field select:focus,
.wedding-form .field textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 1px 0 0 var(--accent);
}
.field.is-invalid input,
.field.is-invalid select {
  border-color: #a3352b;
}
.field[hidden] {
  display: none;
}
/* scelte a "pillola" */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill,
.service {
  position: relative;
  cursor: pointer;
}
.pill input,
.service input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.pill span {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid #b9a89c;
  border-radius: 40px;
  font-size: 13px;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.2s;
}
.pill:hover span {
  border-color: var(--ink);
}
.pill input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.pill input:focus-visible + span,
.service input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.service span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 16px 18px 16px 46px;
  border: 1px solid #cbbcb1;
  transition:
    border-color 0.25s,
    background 0.25s;
  position: relative;
}
.service span::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 19px;
  width: 16px;
  height: 16px;
  border: 1px solid #9b887c;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.service span::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 21px;
  width: 5px;
  height: 9px;
  border: solid var(--paper);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s var(--ease-out);
}
.service strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
}
.service small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.service:hover span {
  border-color: var(--ink);
}
.service input:checked + span {
  border-color: var(--accent);
  background: #f1e9e3;
}
.service input:checked + span::before {
  background: var(--accent);
  border-color: var(--accent);
}
.service input:checked + span::after {
  transform: rotate(45deg) scale(1);
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
}
.check input {
  margin: 3px 0 0;
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.check a {
  text-decoration: underline;
}
.check.is-invalid {
  color: #a3352b;
}
.wf-summary {
  margin: 0;
  display: grid;
  border-top: 1px solid var(--line);
}
.wf-summary > div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.wf-summary dt {
  color: var(--muted);
}
.wf-summary dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.wf-hint {
  margin: -10px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.field > span small {
  color: var(--muted);
}
.wf-error {
  margin: 0;
  font-size: 13px;
  color: #a3352b;
}
.wf-error:empty {
  display: none;
}
.wf-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}
.wf-nav .button {
  margin-left: auto;
}
.wf-nav [hidden] {
  display: none;
}
.wf-back {
  background: none;
  border: 0;
  padding: 10px 0;
  font-size: 13px;
  color: var(--ink);
}
.wf-back:hover {
  color: var(--accent);
}
.button.is-loading {
  pointer-events: none;
  color: transparent;
}
.button.is-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid rgb(255 255 255 / 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.wf-done {
  text-align: center;
  padding: 30px 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  outline: none;
  animation: step-in 0.6s var(--ease-out);
}
.wf-done[hidden] {
  display: none;
}
.wf-done-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 28px;
  animation: pop 0.6s var(--ease-out) 0.15s both;
}
@keyframes pop {
  from {
    transform: scale(0);
  }
}
.wf-done h3 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
}
.wf-done p {
  color: var(--muted);
  max-width: 42ch;
}
.wf-done .draft-actions {
  justify-content: center;
}

/* ---------- Blog ---------- */
.blog {
  padding-bottom: 90px;
}
.blog-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 28px;
}
.blog-card a {
  display: block;
}
.blog-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0 0 18px;
  background: var(--rose);
}
.blog-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.blog-card a:hover .blog-cover img {
  transform: scale(1.05);
}
.blog-meta {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.blog-card h3 {
  margin-top: 8px;
  font-size: 25px;
  transition: color 0.25s;
}
.blog-card a:hover h3 {
  color: var(--accent);
}
.blog-excerpt {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.blog-empty {
  padding: 40px 0 20px;
  font-family: var(--serif);
  font-size: 22px;
  max-width: 40ch;
}
.blog-empty[hidden],
.blog-home[hidden] {
  display: none;
}
.blog-home {
  padding-block: 90px 100px;
  border-top: 1px solid var(--line);
}
.blog-home-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 50px;
}
.blog-home-head .text-link {
  margin-top: 0;
}
.page-intro .blog-meta {
  margin-bottom: 20px;
}
.blog-nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 40px;
  padding-top: 30px;
  margin-bottom: 30px;
  border-top: 1px solid var(--line);
}
.blog-nav:empty {
  display: none;
}
.article-inline-photo {
  aspect-ratio: 3 / 2;
  margin: 30px 0;
  max-width: 900px;
}
@media (max-width: 1023px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 599px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .blog-home {
    padding-block: 60px 70px;
  }
}

/* ---------- Pulsante contatto sempre presente ---------- */
.floating-cta {
  position: fixed;
  z-index: 5;
  right: 22px;
  bottom: 22px;
  display: flex;
  gap: 8px;
  align-items: center;
  transform: translateY(160%);
  opacity: 0;
  transition:
    transform 0.5s var(--ease-out),
    opacity 0.4s;
}
.floating-cta.is-visible {
  transform: none;
  opacity: 1;
}
.floating-main,
.floating-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 40px;
  box-shadow: 0 14px 30px -10px rgb(0 0 0 / 0.45);
  transition:
    background 0.3s,
    transform 0.2s;
}
.floating-main {
  gap: 14px;
  padding: 0 24px;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.floating-wa {
  width: 50px;
  background: var(--accent);
}
.floating-main:hover,
.floating-wa:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.floating-wa:hover {
  background: var(--ink);
}
/* sull'hero scuro il pulsante principale diventa chiaro */
.has-hero .floating-cta.on-hero .floating-main {
  background: #fff;
  color: var(--ink);
}

/* ---------- Invito all'azione sotto ogni blocco ---------- */
.cta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  padding-block: 30px;
  margin-bottom: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: calc(1600px - 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: 0;
}
.cta-line > p {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 34ch;
}
.cta-line > p em {
  color: var(--accent);
}
.cta-line .button {
  flex-shrink: 0;
}
.cta-wrap {
  padding-inline: var(--gutter);
}

/* ---------- Mobile ---------- */
@media (max-width: 1100px) {
  .request {
    grid-template-columns: 1fr;
  }
  .request-intro {
    justify-self: start;
  }
}
@media (max-width: 767px) {
  /* Sul telefono la barra in alto è sempre fissa e piena: non si sovrappone
     alla foto e non sparisce durante lo scroll */
  .header,
  .has-hero .header,
  .has-hero .header.is-solid {
    position: sticky;
    top: 0;
    height: 72px;
    background: var(--paper);
    border-color: var(--line);
    color: var(--ink);
    transform: none !important;
  }
  .has-hero .header .brand {
    background-image: url("logo-studio81.png");
  }
  .has-hero .header .nav {
    color: var(--ink);
    top: 72px;
  }
  .has-hero .header .nav .nav-contact {
    border-color: var(--ink);
  }
  /* la foto iniziale parte sotto la barra e si allunga se il testo non ci sta */
  .hero-full {
    height: auto;
    min-height: calc(100svh - 72px);
  }
  .hero-inner {
    padding-top: 48px;
    padding-bottom: 104px;
  }
  .hero-full h1 {
    font-size: clamp(40px, 11vw, 60px);
  }
  .hero-full .hero-description {
    font-size: 14px;
    line-height: 1.6;
  }
  .hero-actions {
    margin-top: 28px;
  }
  /* pallini e "scorri" lasciano il posto al pulsante Contattatemi */
  .hero-bottom {
    display: none;
  }
  .marquee {
    padding: 16px 0;
  }
  .has-hero .ease {
    padding-top: 70px;
  }
  .feelings h2 {
    margin-bottom: 30px;
  }
  .feelings-grid .photo:nth-child(n) {
    margin-top: 0;
  }
  .feelings-grid .photo:nth-child(1),
  .feelings-grid .photo:nth-child(2) {
    height: 260px;
  }
  .feelings-grid figcaption {
    opacity: 1;
    transform: none;
    font-size: 16px;
  }
  .request {
    padding-block: 60px 70px;
    gap: 40px;
  }
  .request-intro h2 {
    font-size: 42px;
  }
  .wedding-form {
    margin-inline: calc(var(--gutter) * -0.5);
    padding: 26px 20px;
  }
  .wf-steps {
    font-size: 9px;
    gap: 6px;
  }
  .service-cards {
    grid-template-columns: 1fr;
  }
  .wf-summary > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .floating-cta {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .floating-main {
    flex: 1;
  }
  .cta-line {
    padding-block: 24px;
    margin-bottom: 20px;
  }
  .cta-line .button {
    width: 100%;
  }
  /* spazio in fondo perché il pulsante fisso non copra il piè di pagina */
  .footer {
    padding-bottom: 90px;
  }
  .reviews {
    padding-block: 60px 70px;
  }
}

/* ---------- Chi preferisce meno movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
    transform: none;
  }
  .marquee-track {
    animation: none;
  }
  [data-parallax] > img {
    transform: none;
  }
  .js [data-reveal]:not(.is-in) {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}
