/* ============================================
   SPAZIOVELO — base styles
   ============================================ */

@font-face {
  font-family: "Helvetica Now Display";
  src: url("/fonts/HelveticaNowDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Now Display";
  src: url("/fonts/HelveticaNowDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Now Display";
  src: url("/fonts/HelveticaNowDisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Now Display";
  src: url("/fonts/HelveticaNowDisplay-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0f0f0f;
  --pure-black: #000000;
  --white: #ffffff;
  --footer-input-bg: #4d4d4d;
  --footer-input-border: #a6a199;
  --pad: 16px;
  --font-sans: "Helvetica Now Display", -apple-system, Arial, sans-serif;
  --nav-h: 68px;
  --subnav-h: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

/* Every plain text link underlines in its own color on hover.
   Pill CTAs and the gallery cards have their own bespoke hover treatment. */
a:hover:not(.pill-btn):not(.wedding-card):not(.wedding-card *) {
  text-decoration: underline;
  text-decoration-color: currentColor;
}

.section-label {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.14px;
  margin: 0;
}

.divider {
  height: 1px;
  background: var(--pure-black);
  width: 100%;
  border: none;
  margin: 0;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.13px;
  padding: 10px 15px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.pill-btn:hover {
  opacity: 0.8;
}

.row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  gap: 16px;
  flex-wrap: wrap;
}

/* Pushes page content below the fixed navbar (+ divider). */
.content-offset {
  padding-top: calc(var(--nav-h) + 1px);
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 17px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
}

.navbar-divider {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: 1px;
  background: var(--pure-black);
  z-index: 999;
}

.navbar__logo img {
  height: 32px;
  width: auto;
}

.navbar__menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 44px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.13px;
  color: var(--black);
}

.navbar__menu a {
  padding-bottom: 2px;
}

.navbar__menu a.is-active {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Hamburger + mobile dropdown: hidden until the mobile breakpoint below,
   where it takes over the navbar__cta's spot (also hidden there). */
.navbar__hamburger {
  display: none;
}

.navbar__mobile-menu {
  display: none;
}

/* Gallery-style sub-nav (Highlights / Tutti i matrimoni) */
.subnav {
  height: var(--subnav-h);
  margin-top: calc(var(--nav-h) + 1px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.13px;
}

.subnav-divider {
  height: 1px;
  background: var(--pure-black);
}

.subnav button {
  background: none;
  border: none;
  font: inherit;
  color: var(--black);
  cursor: pointer;
  padding-bottom: 2px;
}

.subnav button.is-active {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   HERO (full-height crossfade slideshow)
   ============================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #ddd;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__title {
  position: absolute;
  left: var(--pad);
  bottom: 40px;
  right: var(--pad);
  margin: 0;
  font-weight: 900;
  color: var(--black);
  font-size: clamp(32px, 6.35vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  z-index: 2;
}

/* ============================================
   GALLERIA (home preview)
   ============================================ */

.galleria {
  padding-top: 40px;
  padding-bottom: 40px;
}

.galleria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 var(--pad);
  margin-top: 32px;
}

.wedding-card {
  display: block;
  cursor: pointer;
}

.wedding-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 477 / 318;
  overflow: hidden;
  border-radius: 5px;
}

.wedding-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.wedding-card:hover .wedding-card__media img {
  transform: scale(1.05);
}

.wedding-card__info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 12px;
  opacity: 0.3;
  transition: opacity 0.35s ease;
}

.wedding-card:hover .wedding-card__info {
  opacity: 1;
}

.wedding-card__names {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.14px;
  color: var(--pure-black);
  margin: 0 0 2px;
}

.wedding-card__place {
  font-weight: 400;
  font-size: 14px;
  color: var(--pure-black);
  margin: 0;
}

.wedding-card__year {
  font-weight: 400;
  font-size: 14px;
  color: var(--pure-black);
}

/* Touch devices never fire :hover — keep gallery legible by default */
@media (hover: none) {
  .wedding-card__info {
    opacity: 1;
  }
}

/* ============================================
   SERVIZIO (home preview)
   ============================================ */

.servizio {
  padding-top: 40px;
  padding-bottom: 56px;
}

.servizio__body {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px;
  padding: 0 var(--pad);
  margin-top: 32px;
  min-height: 280px;
  flex-wrap: wrap;
}

.servizio__heading {
  margin: 0;
  font-weight: 900;
  font-size: clamp(28px, 4.6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--black);
  max-width: 980px;
  min-height: 2.1em;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.servizio__heading.is-fading {
  opacity: 0;
}

.servizio__pills {
  position: absolute;
  left: 66.67%;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 33%;
}

.servizio__pill {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 400;
  color: var(--black);
  max-width: 100%;
}

/* ============================================
   CHI SIAMO (home preview)
   ============================================ */

.chi-siamo {
  padding-top: 40px;
  padding-bottom: 56px;
}

.chi-siamo__text {
  max-width: 666px;
  margin: 32px auto 0;
  padding: 0 var(--pad);
  text-align: center;
  font-size: 21px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--pure-black);
}

.chi-siamo__names {
  display: flex;
  justify-content: center;
  gap: 90px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.chi-siamo__name {
  text-align: center;
}

.chi-siamo__name p {
  margin: 0;
}

.chi-siamo__name-title {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.21px;
  color: var(--pure-black);
}

.chi-siamo__name-handle {
  display: block;
  font-weight: 400;
  font-size: 14px;
  opacity: 0.5;
  margin-top: 4px;
  color: var(--pure-black);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  position: relative;
  background: var(--pure-black);
  color: var(--white);
  padding: var(--pad);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 40px;
}

.site-footer__headline {
  grid-column: 1 / -1;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(36px, 5.9vw, 88.968px);
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 100%;
}

.site-footer__form-col {
  grid-column: 1;
  justify-self: center;
  max-width: 400px;
  width: 100%;
}

.site-footer__lead {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.18px;
  margin: 0 0 20px;
}

.site-footer__input {
  width: 100%;
  height: 52px;
  background: var(--footer-input-bg);
  border: 1px solid var(--footer-input-border);
  border-radius: 6px;
  padding: 0 18px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  margin-bottom: 16px;
}

.site-footer__input::placeholder {
  color: var(--footer-input-border);
}

.site-footer__send {
  width: 100%;
  height: 52px;
  background: var(--white);
  color: var(--pure-black);
  border: none;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.56px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.site-footer__send:hover {
  opacity: 0.85;
}

.site-footer__cols {
  grid-column: 2;
  justify-self: end;
  display: flex;
  gap: 90px;
  flex-wrap: wrap;
}

.site-footer__col-label {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.14px;
  opacity: 0.5;
  margin: 0 0 8px;
}

.site-footer__col a,
.site-footer__col p.strong {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin: 0;
}

.site-footer__contact-block + .site-footer__contact-block {
  margin-top: 22px;
}

.site-footer__contact-block .site-footer__col-label {
  margin-bottom: 4px;
}

.site-footer__contact-block .big {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.21px;
  margin: 0;
}

.site-footer__links a {
  font-weight: 700;
  font-size: 14px;
  padding: 3px 0;
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 76px;
  gap: 12px;
}

.site-footer__bottom-center {
  text-align: center;
}

.site-footer__bottom-spacer {
  width: 1px;
}

.site-footer__copy {
  font-weight: 700;
  font-size: 14px;
  opacity: 0.2;
  margin: 0;
}

/* Persistent brand mark, bottom-right of the viewport.
   mix-blend-mode: difference auto-inverts white<->black
   depending on whatever background sits behind it. */
.brand-mark {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 26px;
  z-index: 900;
  mix-blend-mode: difference;
  pointer-events: none;
}

.brand-mark img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   CONTATTACI MODAL
   ============================================ */

.contattaci-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contattaci-modal[hidden] {
  display: none;
}

.contattaci-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.contattaci-modal__card {
  position: relative;
  background: var(--white);
  width: 480px;
  max-width: calc(100vw - 32px);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 33px 40px 40px;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.contattaci-modal.is-open .contattaci-modal__scrim,
.contattaci-modal.is-open .contattaci-modal__card {
  opacity: 1;
  transform: none;
}

.contattaci-modal__close {
  position: absolute;
  top: 33px;
  right: 40px;
  background: none;
  border: none;
  font-size: 18px;
  color: #736e66;
  cursor: pointer;
  line-height: 1;
}

.contattaci-modal__title {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.26px;
  line-height: 1.25;
  margin: 0 0 30px;
  padding-right: 30px;
}

.contattaci-modal__input {
  width: 100%;
  height: 52px;
  background: var(--white);
  border: 1px solid #d9d9d4;
  border-radius: 6px;
  padding: 0 18px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--black);
  margin-bottom: 16px;
}

.contattaci-modal__input::placeholder {
  color: #a6a199;
}

.contattaci-modal__send {
  width: 100%;
  height: 52px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.56px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contattaci-modal__send:hover {
  opacity: 0.85;
}

/* ============================================
   GALLERIA PAGE (highlights / tutti i matrimoni)
   ============================================ */

.gallery-panel[hidden] {
  display: none;
}

.masonry {
  columns: 4;
  column-gap: 8px;
  padding: 0 var(--pad);
}

.masonry figure {
  position: relative;
  margin: 0 0 8px;
  break-inside: avoid;
  border-radius: 3px;
  overflow: hidden;
}

.masonry img {
  width: 100%;
  display: block;
}

.masonry figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.2s ease;
  pointer-events: none;
}

.masonry figure:hover::after {
  background: rgba(255, 255, 255, 0.25);
}

.tutti-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 16px;
  padding: 0 var(--pad);
}

/* ============================================
   SINGLE WEDDING PAGE
   ============================================ */

.wedding-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 0 var(--pad);
}

.wedding-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  flex: 0 0 220px;
  font-size: 14px;
}

.wedding-sidebar__name {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.21px;
  margin: 0 0 12px;
}

.wedding-sidebar__index {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wedding-sidebar__index li {
  padding: 2px 0;
}

.wedding-sidebar__index button {
  display: block;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  opacity: 0.2;
  transition: opacity 0.3s ease;
}

.wedding-sidebar__index button:hover {
  opacity: 0.6;
}

.wedding-sidebar__index button.is-current {
  opacity: 1;
  font-weight: 700;
}

.wedding-sections {
  flex: 1;
  min-width: 0;
}

.wedding-section {
  margin-top: 48px;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

.wedding-section:first-child {
  margin-top: 0;
}

.wedding-section__label {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.14px;
  margin: 0 0 12px;
}

.wedding-sections .masonry {
  padding: 0;
  columns: 3;
}

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__scrim {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.93);
}

.lightbox__stage {
  position: relative;
  z-index: 1;
  width: 80vw;
  max-width: 1217px;
  height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 3px;
  object-fit: contain;
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 28px;
  color: var(--black);
  z-index: 2;
  padding: 12px;
  line-height: 1;
}

.lightbox__arrow--prev { left: 24px; }
.lightbox__arrow--next { right: 24px; }

.lightbox__back {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.13px;
  color: var(--black);
  cursor: pointer;
  z-index: 2;
}

.lightbox__back:hover {
  text-decoration: underline;
}

/* ============================================
   SERVIZIO PAGE
   ============================================ */

.servizio-page {
  padding-bottom: 80px;
}

.servizio-page__body {
  display: flex;
  gap: 40px;
  padding: 32px var(--pad) 0;
  flex-wrap: wrap;
}

.servizio-list {
  flex: 1 1 500px;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.servizio-list__row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 18px;
}

.servizio-list__row:first-child {
  border-top: none;
}

.servizio-list__label {
  font-weight: 700;
  flex: 0 0 230px;
  white-space: nowrap;
}

.servizio-list__desc {
  opacity: 0.5;
  max-width: 554px;
}

.servizio-page__photo {
  position: relative;
  flex: 1 1 400px;
  min-width: 280px;
  aspect-ratio: 597 / 398;
  border-radius: 4px;
  overflow: hidden;
}

.servizio-page__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.servizio-badges {
  position: relative;
  margin-top: 64px;
  padding: 0 var(--pad);
}

.servizio-badge {
  display: inline-flex;
  align-items: center;
  border: 4px solid var(--pure-black);
  border-radius: 100px;
  padding: 17px 25px;
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 40px);
  letter-spacing: -1.2px;
  line-height: 0.92;
  white-space: nowrap;
  margin: 8px 12px;
  background: var(--white);
  color: var(--pure-black);
  transition: background 0.25s ease, color 0.25s ease;
  cursor: default;
}

.servizio-badge:hover {
  background: var(--pure-black);
  color: var(--white);
}

/* Touch devices: scroll position drives the same highlight instead of hover */
@media (hover: none) {
  .servizio-badge.is-scroll-active {
    background: var(--pure-black);
    color: var(--white);
  }
}

/* ============================================
   CHI SIAMO PAGE
   ============================================ */

.chi-siamo-page {
  padding-bottom: 80px;
}

.chi-siamo-page__heading {
  margin: 32px 0 0;
  padding: 0 var(--pad);
  font-weight: 900;
  font-size: clamp(32px, 6.35vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.chi-siamo-page__column {
  max-width: 967px;
  margin: 56px auto 0;
  padding: 0 var(--pad);
  font-size: 18px;
  line-height: 1.4;
}

.chi-siamo-page__column p {
  margin: 0 0 20px;
}

.chi-siamo-page__names {
  display: flex;
  justify-content: center;
  gap: 90px;
  margin: 56px 0 80px;
  flex-wrap: wrap;
}

.chi-siamo-page__story-title {
  font-weight: 700;
  margin-bottom: 20px !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1100px) {
  .masonry { columns: 3; }
  .wedding-sections .masonry { columns: 2; }
}

@media (max-width: 900px) {
  .navbar__menu {
    gap: 24px;
    font-size: 12px;
  }

  .subnav {
    gap: 24px;
  }

  .galleria__grid {
    grid-template-columns: 1fr;
  }

  .tutti-grid {
    grid-template-columns: 1fr;
  }

  .servizio__body {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
  }

  .servizio__pills {
    position: static;
    max-width: 100%;
  }

  .chi-siamo__names,
  .chi-siamo-page__names {
    gap: 40px;
  }

  .site-footer__mark,
  .brand-mark {
    display: none;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .site-footer__form-col,
  .site-footer__cols {
    grid-column: 1;
    justify-self: stretch;
  }

  .wedding-layout {
    flex-direction: column;
  }

  .wedding-sidebar {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
    /* .wedding-layout is column-direction here, so the 220px flex-basis
       from the desktop rule would reserve that much *height* instead of
       width, leaving a gap before the first section */
    flex: 0 0 0px;
  }

  .wedding-sidebar__index {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  .masonry { columns: 2; }
  .lightbox__stage { width: 92vw; height: 70vh; }
}

@media (max-width: 600px) {
  .navbar__menu {
    display: none;
  }

  /* Hamburger takes over the CTA pill's spot in the navbar; the CTA
     itself moves inside the mobile menu as its last item. */
  .navbar__cta {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
  }

  .navbar__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--pure-black);
  }

  .navbar__mobile-menu {
    position: fixed;
    top: calc(var(--nav-h) + 1px);
    left: 0;
    right: 0;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px var(--pad) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--pure-black);
    font-size: 15px;
    font-weight: 500;
  }

  .navbar__mobile-menu[hidden] {
    display: none;
  }

  .navbar__mobile-menu a.is-active {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .navbar__mobile-cta {
    margin-top: 4px;
  }

  /* Everything except the navbar itself (where the logo lives) blurs
     while the mobile menu is open */
  body.nav-menu-open > *:not(#site-navbar) {
    filter: blur(8px);
    pointer-events: none;
  }

  /* Hero title sits closer to the bottom edge on mobile */
  .hero__title {
    bottom: 15px;
  }

  /* Lightbox: prev/next arrows flank the BACK button along the bottom
     edge instead of sitting mid-screen */
  .lightbox__arrow {
    top: auto;
    bottom: 22px;
    transform: none;
  }

  .lightbox__arrow--prev { left: 24px; }
  .lightbox__arrow--next { right: 24px; }

  /* Wedding page: no section-jump links, just the couple's name */
  .wedding-sidebar__index {
    display: none;
  }

  /* Home "servizio" preview: cycling heading twice as large */
  .servizio__heading {
    font-size: clamp(56px, 9.2vw, 136px);
  }

  .site-footer__cols {
    gap: 40px;
  }

  .servizio-list__row {
    flex-direction: column;
    gap: 6px;
  }

  /* "Il servizio" page: label's row-layout flex-basis (230px) would
     otherwise reserve that much height once the row stacks in a column */
  .servizio-list__label {
    flex: 0 0 0px;
  }

  /* "Il servizio" page: badges stack, centered, wrapping instead of
     overflowing past the viewport edge (their inline margin-left offsets
     are desktop-only positioning and need !important to be overridden) */
  .servizio-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .servizio-badges br {
    display: none;
  }

  .servizio-badge {
    margin: 0 !important;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  /* Footer: full-width "Sei interessato?" with the same margin as the
     rest of the site, no gap before the lead text under it, no
     PIETRO/CHRISTINE/TOMMASO row — just the copyright line */
  .site-footer__headline {
    margin-bottom: -40px;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom-center,
  .site-footer__bottom-spacer {
    display: none;
  }

  .site-footer__copy {
    text-align: center;
  }

  .masonry { columns: 1; }
}
