:root {
  --bg: #0a0a0b;
  --panel: #121214;
  --text: #f3ede4;
  --title: #e7d8c2;
  --muted: #b6a58f;
  --gold: #b98a58;
  --line: rgba(255, 255, 255, 0.12);
  --font-base: 17px;
  --topbar-offset: 86px;
  --polaroid-card-width: 280px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Calibri, "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: var(--font-base);
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
  padding: 0;
}

body.no-select {
  -webkit-user-select: none;
  user-select: none;
}

body.no-select input,
body.no-select textarea,
body.no-select [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

.site-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: var(--bg);
  box-shadow: none;
  min-height: 100vh;
  padding-top: var(--topbar-offset);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 20;
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 6, 7, 0.9);
  backdrop-filter: blur(8px);
}

.brand {
  position: relative;
  display: inline-grid;
  text-decoration: none;
  color: var(--title);
  line-height: 1;
  padding-left: 54px;
}

.brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background-color: #07070a;
  background-image: url("./assets/images/footer-logo-2024.webp");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.brand-main {
  display: block;
  font-family: "Cinzel", serif;
  font-size: clamp(28px, 2vw, 34px);
  white-space: nowrap;
}

.brand-sub {
  display: block;
  margin-top: -6px;
  color: var(--gold);
  font-size: 16px;
}

.main-nav {
  display: flex;
  gap: 22px;
  justify-content: center;
}

.main-nav a {
  color: var(--title);
  text-decoration: none;
  font-size: 15px;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--gold);
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  padding: 12px 20px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.btn-gold {
  background: var(--gold);
  color: #181515;
}

.btn-outline {
  color: var(--text);
  border-color: var(--line);
}

.btn-outline-dark {
  color: #1d1b18;
  border-color: rgba(0, 0, 0, 0.3);
}

.menu-toggle {
  display: none;
}

.hero {
  --hero-image: url("./assets/images/home-main.webp");
  min-height: calc(100vh - 76px);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(20px, 3vw, 40px);
  background-color: #060607;
}

.home-hero {
  min-height: calc(100vh - 76px);
}

.page-hero {
  min-height: calc(100vh - 76px);
}

.page-hero::after {
  background-size: 100% 100%, cover !important;
  background-position: center, top center !important;
}

.family-hero {
  --hero-image: url("./assets/images/hero-family-giulio.webp");
}

.family-hero::before {
  background-position: center top;
}

.portrait-hero {
  --hero-image: url("./assets/images/hero-portrait.webp");
}

.ceremonies-hero {
  --hero-image: url("./assets/images/hero-cerimonie-chiara-cesare.webp");
}

.ceremonies-hero::before {
  background-position: center top;
}

.party-hero {
  --hero-image: url("./assets/images/hero-lets-party-xmas.webp");
}

.party-hero::before {
  background-position: center top;
}

.photographers-hero {
  --hero-image: url("./assets/images/workshop-lighting.png");
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2%;
  background-image: var(--hero-image);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(18px) brightness(0.38) saturate(0.95);
  transform: scale(1.05);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.26) 50%, rgba(0, 0, 0, 0.18) 100%),
    var(--hero-image);
  background-size: 100% 100%, contain;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: clamp(0px, 4vw, 72px);
  padding: clamp(20px, 3vw, 40px) clamp(16px, 2.4vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(140deg, rgba(9, 9, 10, 0.42), rgba(10, 10, 11, 0.2));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(1.5px);
  will-change: transform, opacity;
  animation: heroOverlayIn 0.56s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero .hero-overlay {
  width: min(50vw, 860px);
  max-width: 50vw;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  left: -1px;
  top: clamp(24px, 4vw, 38px);
  bottom: clamp(24px, 4vw, 38px);
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(240, 220, 190, 0.95), rgba(240, 220, 190, 0.22));
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Cinzel", serif;
  color: var(--title);
  margin: 0 0 14px;
  line-height: 1.02;
}

h1 {
  font-size: clamp(40px, 4.2vw, 70px);
}

.page-hero h1 {
  max-width: 100%;
  font-size: clamp(48px, 4.8vw, 72px);
  line-height: 1.03;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* Family e Portrait: consenti capo naturale e bilanciato per titoli lunghi */
.family-hero h1,
.portrait-hero h1 {
  white-space: normal;
  text-wrap: balance;
  max-width: 18ch;
  line-height: 1.05;
}

/* Anche queste pagine devono andare a capo per restare dentro il box */
.ceremonies-hero h1,
.party-hero h1,
.photographers-hero h1,
.events-hero h1 {
  white-space: normal;
  text-wrap: balance;
  max-width: 18ch;
  line-height: 1.05;
}

.hero-text {
  max-width: 460px;
  color: #e0d9cf;
  font-size: 18px;
  line-height: 1.62;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
}

.hero-overlay > * {
  opacity: 0;
  transform: translateY(10px);
  will-change: transform, opacity;
  animation: heroItemIn 0.42s ease-out forwards;
}

.hero-overlay > *:nth-child(1) {
  animation-delay: 0.08s;
}

.hero-overlay > *:nth-child(2) {
  animation-delay: 0.16s;
}

.hero-overlay > *:nth-child(3) {
  animation-delay: 0.24s;
}

.hero-overlay > *:nth-child(4) {
  animation-delay: 0.32s;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.setting-card {
  min-height: 138px;
  padding: 20px;
  display: grid;
  align-content: end;
  gap: 4px;
  border-right: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.setting-card:last-child {
  border-right: 0;
}

.setting-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  border-color: rgba(185, 138, 88, 0.45);
}

.setting-card .index {
  font-size: 16px;
  color: var(--muted);
}

.setting-card h3 {
  font-size: 32px;
  line-height: 0.98;
}

.setting-card a {
  text-decoration: none;
  color: #e9dfd2;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-setting="family"] {
  background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78)),
    url("./assets/images/hero-family.webp");
}

[data-setting="portrait"] {
  background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78)),
    url("./assets/images/hero-portrait.webp");
}

[data-setting="cerimonie"] {
  background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78)),
    url("./assets/images/hero-cerimonie.jpeg");
}

[data-setting="party"] {
  background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78)),
    url("./assets/images/hero-party.jpeg");
}

[data-setting="eventi"] {
  background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78)),
    url("./assets/images/immagina-volantino.webp");
}

.highlights-ribbon {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 8% 12%, rgba(185, 138, 88, 0.2), transparent 32%), #09090b;
  padding: 24px;
}

.highlights-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.highlights-head h2 {
  margin: 0;
  font-size: clamp(28px, 2.4vw, 40px);
}

.highlights-head .eyebrow {
  font-size: 13px;
  letter-spacing: 0.15em;
}

.highlights-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.highlight-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 260px;
  padding: 18px;
  display: grid;
  align-content: end;
  gap: 10px;
  background-size: cover;
  background-position: center;
  flex: 0 0 26%;
  transition: transform 0.34s ease, box-shadow 0.34s ease, border-color 0.34s ease;
}

.highlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 8, 0.34), rgba(6, 6, 8, 0.9));
}

.highlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.highlight-card > * {
  position: relative;
  z-index: 1;
}

.highlight-card h3 {
  margin: 0;
  font-size: clamp(34px, 2.5vw, 42px);
}

.highlight-card p {
  margin: 0;
  color: #e6ddd1;
  max-width: 38ch;
}

.highlight-card .btn {
  justify-self: start;
  padding: 9px 14px;
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
  border-color: rgba(185, 138, 88, 0.58);
}

.highlight-immagina {
  background-image: url("./assets/images/immagina-volantino.webp");
  flex-basis: 48%;
  min-height: 320px;
  border-color: rgba(185, 138, 88, 0.75);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.highlight-matrimoni {
  background-image: url("./content/storie/chiara-cesare/ChiaraeCesare-754-web.webp");
  min-height: 248px;
}

.highlight-sala {
  background-image: url("./assets/images/sala-posa-studio.webp");
  min-height: 248px;
}

.about-studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.studio-preview-card {
  background: #0b0b0e;
  border-left: 1px solid var(--line);
  padding: 46px 34px;
  display: grid;
  gap: 14px;
}

.studio-preview-card h2 {
  margin: 0;
  font-size: clamp(34px, 3vw, 48px);
}

.studio-preview-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.studio-preview-carousel img {
  flex: 0 0 82%;
  min-width: 82%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  scroll-snap-align: start;
}

.studio-preview-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.testimonials-block {
  border-top: 1px solid var(--line);
}

.subsection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.subsection-grid article {
  background: #0d0d0f;
  min-height: 110px;
  padding: 0;
}

.sub-link {
  display: flex;
  width: 100%;
  min-height: 110px;
  align-items: end;
  padding: 16px 18px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.sub-link:hover {
  background: #141417;
  transform: translateY(-1px);
}

.subsection-grid h3 {
  font-size: clamp(22px, 2.2vw, 32px);
  margin: 0;
}

.subsection-grid p {
  margin: 0;
  color: #ddd3c5;
}


.detail-section {
  padding: 26px;
  border-top: 1px solid var(--line);
  background: #0b0b0d;
}

.detail-head h2 {
  font-size: clamp(34px, 3vw, 52px);
}

.detail-copy {
  max-width: 980px;
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.detail-copy p {
  margin: 0;
  color: #ddd3c5;
  line-height: 1.6;
  font-size: 16px;
}

.detail-copy h3 {
  margin: 4px 0 0;
  font-family: "Cinzel", serif;
  font-size: 20px;
  line-height: 1.35;
  color: #f0e5d6;
}

.detail-copy a {
  color: #e8d0b0;
}

.detail-gallery {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.detail-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.workshop-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.workshop-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #101014;
  display: grid;
}

.workshop-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.workshop-body {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.workshop-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.workshop-badge {
  border: 1px solid rgba(185, 138, 88, 0.52);
  border-radius: 999px;
  color: #f1dcc2;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
}

.workshop-body h3 {
  margin: 0;
  font-size: clamp(32px, 2.4vw, 42px);
}

.workshop-body p {
  margin: 0;
  color: #ded4c6;
}

.sala-posa-panel {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #101014;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.sala-posa-panel img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.sala-posa-content {
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 12px;
}

.sala-posa-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #ddd3c5;
}

.studio-hero .hero-text {
  max-width: 620px;
}

.studio-hero h1 {
  white-space: normal;
  text-wrap: balance;
  max-width: 18ch;
  line-height: 1.05;
}

.studio-hero-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.studio-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0b0b0e;
  padding: 24px;
}

.studio-head h2 {
  margin: 6px 0 0;
  font-size: clamp(34px, 3vw, 52px);
}

.studio-copy {
  margin-top: 10px;
  color: #ddd3c5;
  max-width: 920px;
}

.studio-spaces-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.studio-space-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #101014;
  display: grid;
}

.studio-space-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.studio-space-body {
  padding: 14px;
  display: grid;
  gap: 8px;
}

.studio-space-body h3 {
  margin: 0;
  font-size: clamp(30px, 2.2vw, 40px);
}

.studio-space-body p {
  margin: 0;
  color: #ddd3c5;
}

.studio-space-list {
  margin: 0;
  padding-left: 16px;
  color: #b9ac98;
  display: grid;
  gap: 6px;
}

.studio-pricing {
  border-top: 1px solid var(--line);
  background: #0a0a0d;
  padding: 24px;
}

.studio-pricing-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.studio-price-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #101014;
  padding: 16px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.studio-price-card h3 {
  margin: 0;
  font-size: clamp(30px, 2.2vw, 40px);
}

.studio-price-value {
  color: var(--gold);
  font-family: "Cinzel", serif;
  font-size: clamp(36px, 2.8vw, 50px);
  line-height: 0.95;
}

.studio-price-card p {
  margin: 0;
  color: #ddd3c5;
}

.studio-price-top {
  color: #ff7a1a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}

.studio-price-sub {
  color: #8f867a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
}

.studio-price-hourly {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 10px;
  color: #b7ad9f;
}

.studio-price-hourly strong {
  color: #f0e7db;
}

.studio-price-card.featured {
  border: 2px solid #ff6a00;
}

.studio-price-flag {
  margin: -16px -16px 8px;
  background: #ff6a00;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  text-align: center;
  padding: 8px 10px;
  font-weight: 700;
}

.studio-serial-pro {
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #202126;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.studio-serial-pro h3 {
  margin: 0 0 6px;
  font-size: clamp(34px, 2.5vw, 46px);
}

.studio-serial-pro p {
  margin: 0;
  color: #cfc4b5;
}

.studio-serial-pro .btn {
  min-width: 220px;
}

.studio-faq {
  border-top: 1px solid var(--line);
  background: #0b0b0e;
  padding: 24px;
}

.studio-faq-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.studio-faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101014;
  padding: 14px;
}

.studio-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #ece3d6;
}

.studio-faq details p {
  margin: 10px 0 0;
  color: #d3c8b8;
}

.studio-gallery {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.studio-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.studio-contact {
  border-top: 1px solid var(--line);
  background: #09090b;
  padding: 24px;
}

.studio-contact-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: #101014;
  display: grid;
  gap: 12px;
}

.events-hero {
  --hero-image: url("https://images.unsplash.com/photo-1492684223066-81342ee5ff30?auto=format&fit=crop&w=1900&q=80");
}

.event-notices {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0b0b0d;
  padding: 24px;
}

.event-notices-head {
  margin-bottom: 16px;
}

.event-notices-head h2 {
  font-size: clamp(34px, 3vw, 52px);
  margin: 6px 0 0;
}

.event-notices-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.event-notice-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  min-height: 300px;
  display: grid;
  align-content: start;
  gap: 12px;
  background: #0f0f12;
}

.event-notice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(8, 8, 10, 0.18), rgba(8, 8, 10, 0.88)),
    var(--event-cover);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.event-notice-card > * {
  position: relative;
  z-index: 1;
}

.event-notice-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.event-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0e7da;
  background: rgba(0, 0, 0, 0.24);
}

.event-city {
  color: #d1c2ad;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-notice-card h3 {
  margin: 0;
  font-size: clamp(34px, 2.8vw, 50px);
}

.event-notice-card p {
  margin: 0;
  color: #e2d8c9;
}

.event-notice-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.event-page {
  background: #09090b;
}

.event-hero {
  min-height: calc(100vh - 76px);
}

.event-hero-immagina {
  --hero-image: url("./immagina/input_file_5.png");
}

.event-hero-maggio {
  --hero-image: url("./maggio/foto-reali/maternita-belly.jpg");
}

.event-hero-note {
  margin: 12px 0 0;
  max-width: 620px;
  font-size: 14px;
  color: #e6dccf;
}

.event-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.event-kpi {
  background: #0e0e11;
  padding: 18px 16px;
  display: grid;
  gap: 6px;
}

.event-kpi-label {
  color: #b7a791;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-kpi strong {
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.3;
}

.event-flow,
.event-offers,
.event-cta,
.event-trust {
  border-top: 1px solid var(--line);
  padding: 24px;
  background: #0b0b0e;
}

.event-flow-head h2 {
  font-size: clamp(34px, 3vw, 52px);
  margin: 8px 0 0;
}

.event-flow-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.event-flow-step {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  background: #101014;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.event-flow-step:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 138, 88, 0.56);
}

.event-step-index {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.event-flow-step h3 {
  margin: 6px 0 10px;
  font-size: clamp(30px, 2.2vw, 40px);
}

.event-flow-step p {
  margin: 0;
  color: #ddd3c5;
}

.event-gallery {
  padding: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #0a0a0c;
}

.event-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.event-offers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.event-offer-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #101014;
  display: grid;
}

.event-offer-card img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

.event-offer-body {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.event-offer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.event-offer-body h3 {
  margin: 0;
  font-size: clamp(34px, 2.5vw, 46px);
}

.event-offer-body p {
  margin: 0;
  color: #ded4c6;
}

.event-cta {
  position: relative;
  overflow: hidden;
}

.event-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: eventLine 4.6s linear infinite;
}

.event-cta-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(185, 138, 88, 0.62);
  padding: 7px 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f2dfc7;
  background: rgba(185, 138, 88, 0.13);
}

.event-cta h2 {
  margin: 14px 0 8px;
  font-size: clamp(38px, 3.3vw, 56px);
}

.event-cta p {
  margin: 0 0 14px;
  max-width: 760px;
  color: #e1d7c9;
}

.event-trust {
  border-bottom: 1px solid var(--line);
}

.event-trust-head h2 {
  margin: 8px 0 0;
  font-size: clamp(34px, 3vw, 52px);
}

.event-trust-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.event-trust-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  background: #101014;
}

.event-trust-item h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2vw, 32px);
}

.event-trust-item p {
  margin: 0;
  color: #ddd3c5;
}

.local-services-hero {
  --hero-image: url("./assets/images/studio3.webp");
}

.local-services-hero h1 {
  white-space: normal;
  text-wrap: balance;
  max-width: 18ch;
}

.local-services-page {
  background:
    radial-gradient(circle at 14% 20%, rgba(185, 138, 88, 0.18), transparent 30%),
    radial-gradient(circle at 84% 46%, rgba(231, 216, 194, 0.08), transparent 28%),
    linear-gradient(180deg, #0a0a0b 0%, #17130f 40%, #0a0a0b 100%);
}

.local-intro {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(56px, 8vw, 94px) clamp(26px, 6vw, 92px);
  border: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
    rgba(13, 13, 15, 0.64);
}

.local-intro h2,
.local-area-band h2,
.local-cta h2 {
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.02;
}

.local-intro-heading {
  display: grid;
  gap: 18px;
}

.local-studio-visual {
  margin: 6px 0 0;
  height: clamp(170px, 18vw, 240px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #0f0f12;
}

.local-studio-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}

.local-intro-copy {
  display: grid;
  gap: 18px;
  color: #efe5d6;
  font-size: clamp(18px, 1.45vw, 21px);
}

.local-intro-copy p {
  margin: 0;
}

.local-service-grid {
  width: 100%;
  margin: 0;
  padding: 36px clamp(18px, 4vw, 64px) clamp(68px, 8vw, 108px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.local-service-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.local-pathways {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: clamp(44px, 6vw, 82px) clamp(18px, 4vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    rgba(10, 10, 12, 0.9);
}

.local-pathways-copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.local-pathways-copy p {
  margin: 0;
  color: #d7ccbc;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.55;
  max-width: 42ch;
}

.local-pathways-copy h2 {
  margin: 0;
  max-width: 16ch;
}

.local-pathways-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.local-pathway-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.local-pathway-card:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 138, 88, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.local-pathway-media {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 16 / 9;
  background: #0f0f12;
}

.local-pathway-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.local-pathway-card h3 {
  margin: 0;
  font-size: clamp(22px, 1.9vw, 30px);
  line-height: 1.08;
}

.local-pathway-card p {
  margin: 0;
  color: #d7ccbc;
}

.local-pathway-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #eadfce;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.local-pathway-link::after {
  content: "→";
  color: var(--gold);
}

.local-service-card h3 {
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.05;
  margin: 2px 0 10px;
}

.local-service-card p {
  margin: 0 0 12px;
  color: #d7ccbc;
}

.local-service-card .btn {
  margin-top: auto;
}

.local-service-media {
  width: 100%;
  margin: 0 0 14px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0f0f12;
}

.local-service-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.local-service-short {
  color: #efe3d2;
  font-size: 15px;
  line-height: 1.45;
}

.local-service-card .btn-outline-dark {
  color: #f4eadb;
  border-color: rgba(185, 138, 88, 0.72);
  background: rgba(185, 138, 88, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.local-service-card .btn-outline-dark:hover {
  color: #0a0a0b;
  border-color: var(--gold);
  background: var(--gold);
}

.local-area-band {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(44px, 6vw, 76px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.local-area-band > div {
  align-self: center;
}

.local-map {
  grid-column: 2;
  grid-row: 1;
  height: clamp(250px, 24vw, 330px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #101014;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.local-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.86) contrast(1.02);
}

.local-area-list {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
  justify-content: center;
  margin: 0;
  margin-top: clamp(18px, 3vw, 30px);
  padding: 0;
  list-style: none;
}

.local-area-list li {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #eadfce;
  background: rgba(255, 255, 255, 0.045);
}

.local-cta {
  width: 100%;
  margin: 0;
  padding: clamp(68px, 8vw, 110px) 0;
  text-align: center;
}

.local-cta p {
  width: min(720px, 100%);
  margin: 0 auto 24px;
  color: #d7ccbc;
}

.local-cta .hero-actions {
  justify-content: center;
}

.local-faq {
  width: 100%;
  margin: 0;
  padding: clamp(54px, 7vw, 86px) clamp(18px, 4vw, 64px) clamp(70px, 9vw, 120px);
}

.local-faq h2 {
  margin-bottom: 20px;
  text-align: left;
}

.local-faq .eyebrow {
  text-align: left;
}

.local-faq-list {
  display: grid;
  gap: 12px;
}

@media (min-width: 900px) {
  .local-faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .local-faq-item:first-child {
    grid-column: 1 / -1;
  }
}

.local-faq-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  overflow: hidden;
}

.local-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-size: clamp(18px, 1.5vw, 24px);
  color: #efe5d6;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.local-faq-item summary::-webkit-details-marker {
  display: none;
}

.local-faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--gold);
  line-height: 1;
}

.local-faq-item[open] summary::after {
  content: "−";
}

.local-faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: #d7ccbc;
  line-height: 1.55;
  text-align: left;
}

.local-faq-item a {
  color: #eadfce;
  border-bottom: 1px solid rgba(185, 138, 88, 0.5);
  text-decoration: none;
}

.local-faq-item a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.wedding-hero {
  --hero-image: url("./assets/images/hero-cerimonie-chiara-cesare.webp");
}

.battesimi-hero {
  --hero-image: url("./content/settings/cerimonie/battesimi/ginevra-il-mio-battesimo-61-1756.jpg");
}

.battesimi-hero::before {
  background-position: center 42%;
}

/* Speciale Battesimi: direzione "Diario di una giornata". */
.battesimi-editorial-page {
  background: #080808;
}

.baptism-editorial-main {
  overflow: hidden;
  background: #080808;
  color: #eee4d7;
}

.baptism-editorial-main h1,
.baptism-editorial-main h2,
.baptism-editorial-main h3 {
  color: #f0e5d6;
}

.baptism-editorial-main .eyebrow {
  color: #c29663;
}

.baptism-editorial-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(460px, 1.25fr);
  min-height: min(860px, calc(100dvh - var(--topbar-offset)));
  border-bottom: 1px solid rgba(185, 138, 88, 0.68);
  background: #070707;
}

.baptism-hero-rail {
  position: absolute;
  inset: 0 auto 0 42px;
  z-index: 2;
  width: 1px;
  background: rgba(185, 138, 88, 0.74);
}

.baptism-hero-rail::before,
.baptism-hero-rail::after {
  content: "";
  position: absolute;
  left: -4px;
  width: 9px;
  height: 9px;
  border: 1px solid #d8b076;
  background: #080808;
  transform: rotate(45deg);
}

.baptism-hero-rail::before { top: 50%; }
.baptism-hero-rail::after { bottom: 34px; }

.baptism-hero-rail span {
  position: absolute;
  bottom: 74px;
  left: -8px;
  color: #c29663;
  font-size: 10px;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.baptism-hero-copy {
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(90px, 12vw, 200px) clamp(38px, 8vw, 150px) clamp(70px, 9vw, 130px) clamp(84px, 10vw, 190px);
}

.baptism-hero-copy h1 {
  margin: 14px 0 20px;
  font-size: clamp(74px, 9.4vw, 176px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.baptism-hero-kicker {
  margin: 0 0 22px;
  border-top: 1px solid rgba(194, 150, 99, 0.82);
  padding-top: 18px;
  color: #d5a971;
  font-family: "Cinzel", serif;
  font-size: clamp(15px, 1.5vw, 23px);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.baptism-hero-copy > p:not(.eyebrow, .baptism-hero-kicker) {
  max-width: 39ch;
  margin: 0;
  color: #d2c5b6;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.65;
}

.baptism-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
  border-bottom: 1px solid #bd8b53;
  padding: 0 0 8px;
  color: #e7d9c9;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.baptism-link:hover { color: #d1a16a; }

.baptism-hero-photo {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}

.baptism-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #070707 0%, transparent 32%, rgba(8, 8, 8, 0.12) 100%);
  pointer-events: none;
}

.baptism-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.04) brightness(0.78);
}

.baptism-chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 54px);
  max-width: 1420px;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 150px) clamp(28px, 5vw, 78px);
}

.baptism-chapter { min-width: 0; }

.baptism-chapter-head {
  display: flex;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(194, 150, 99, 0.6);
  padding-bottom: 11px;
}

.baptism-chapter-head span {
  color: #c29663;
  font-family: "Cinzel", serif;
  font-size: clamp(28px, 2.5vw, 46px);
  line-height: 1;
}

.baptism-chapter-head p {
  margin: 0 0 3px;
  color: #b89a78;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.baptism-chapter figure {
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
}
.baptism-chapter figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.88);
}

.baptism-chapter h2 {
  margin: 22px 0 10px;
  font-size: clamp(25px, 2.3vw, 40px);
  font-weight: 400;
  line-height: 1.04;
}

.baptism-chapter > p {
  max-width: 34ch;
  margin: 0;
  color: #bcb0a2;
  line-height: 1.62;
}

.baptism-chapter--rite { padding-top: clamp(36px, 5vw, 84px); }
.baptism-chapter--celebration { padding-top: clamp(14px, 2vw, 30px); }

.baptism-filmstrip {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  overflow: hidden;
  border-top: 1px solid rgba(194, 150, 99, 0.6);
  border-bottom: 1px solid rgba(194, 150, 99, 0.6);
}

.baptism-filmstrip img {
  display: block;
  width: 100%;
  height: clamp(110px, 12vw, 190px);
  border-right: 4px solid #080808;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.82);
}

.baptism-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.25fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
  min-height: 520px;
  padding: clamp(62px, 7vw, 104px) max(6vw, calc((100vw - 1280px) / 2));
  background: #f1e9de;
  color: #29231e;
}

.baptism-story h2 { color: #332a23; font-size: clamp(42px, 4.4vw, 76px); line-height: 0.94; }
.baptism-story .eyebrow { color: #9a7047; }
.baptism-story-copy > p:not(.eyebrow) { max-width: 42ch; color: #68584b; font-size: 18px; line-height: 1.7; }
.baptism-link--dark { color: #463629; border-bottom-color: #a87542; }
.baptism-story-mark {
  position: absolute;
  top: 50%;
  left: max(2vw, calc((100vw - 1340px) / 2));
  color: #ba8a56;
  font-size: 28px;
  transform: translateY(-50%);
}
.baptism-story figure { margin: 0; }
.baptism-story figure img { display: block; width: 100%; min-height: 360px; object-fit: cover; }

.baptism-contact {
  display: grid;
  justify-items: center;
  padding: clamp(80px, 12vw, 170px) 24px;
  border-top: 1px solid rgba(194, 150, 99, 0.66);
  text-align: center;
}

.baptism-contact h2 { margin: 10px 0 16px; font-size: clamp(44px, 5.6vw, 92px); line-height: 0.92; }
.baptism-contact > p:not(.eyebrow) { max-width: 52ch; margin: 0; color: #c8bcad; font-size: 18px; }
.baptism-contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.baptism-contact .btn-outline { border-color: rgba(240, 229, 214, 0.38); color: #f0e5d6; }

@media (max-width: 900px) {
  .baptism-editorial-hero { grid-template-columns: 1fr; min-height: auto; }
  .baptism-hero-copy { min-height: 520px; padding: 120px 42px 70px 86px; }
  .baptism-hero-photo { min-height: 62vw; }
  .baptism-hero-photo::after { background: linear-gradient(180deg, #070707 0%, transparent 30%, rgba(8, 8, 8, 0.22) 100%); }
  .baptism-chapters { grid-template-columns: 1fr; max-width: 620px; }
  .baptism-chapter--rite, .baptism-chapter--celebration { padding-top: 0; }
  .baptism-chapter figure { aspect-ratio: 4 / 3; }
  .baptism-filmstrip { grid-template-columns: repeat(6, 180px); overflow-x: auto; }
  .baptism-story { grid-template-columns: 1fr; gap: 32px; padding: 72px 30px; }
  .baptism-story-mark { display: none; }
  .baptism-story figure { order: -1; }
}

@media (max-width: 560px) {
  .baptism-hero-rail { left: 22px; }
  .baptism-hero-copy { min-height: 450px; padding: 100px 28px 54px 52px; }
  .baptism-hero-copy h1 { font-size: clamp(46px, 12.8vw, 56px); }
  .baptism-hero-kicker { font-size: 13px; }
  .baptism-hero-photo { min-height: 82vw; }
  .baptism-chapters { padding: 64px 22px; }
  .baptism-story { padding: 58px 22px; }
  .baptism-story figure img { min-height: 0; aspect-ratio: 4 / 3; }
  .baptism-contact-actions { width: 100%; flex-direction: column; }
  .baptism-contact-actions .btn { width: 100%; }
}

.wedding-hero h1,
.battesimi-hero h1 {
  white-space: normal;
  text-wrap: balance;
  max-width: 16ch;
}

.wedding-hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.wedding-hero-notes span {
  border: 1px solid rgba(239, 229, 214, 0.28);
  background: rgba(10, 10, 11, 0.34);
  padding: 9px 13px;
  color: #efe5d6;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wedding-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(203, 167, 121, 0.26), transparent 28%),
    linear-gradient(180deg, #f8f2ea 0%, #fffaf4 42%, #f2e8dc 100%);
  color: #372f2a;
}

.wedding-page h2,
.wedding-page h3 {
  color: #342b26;
}

.wedding-page .eyebrow {
  color: #9b6f42;
}

.wedding-page .btn-outline {
  border-color: rgba(75, 55, 42, 0.34);
  color: #342b26;
}

.wedding-page .btn-outline:hover {
  border-color: rgba(151, 104, 58, 0.68);
  background: rgba(151, 104, 58, 0.12);
}

.wedding-hero .btn-outline,
.battesimi-hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.44);
  color: #f8f0e4;
}

.wedding-hero .btn-outline:hover,
.battesimi-hero .btn-outline:hover {
  border-color: rgba(201, 151, 92, 0.86);
  background: rgba(201, 151, 92, 0.16);
}

.wedding-promo,
.wedding-fit,
.wedding-flow,
.wedding-gallery,
.wedding-stories-callout,
.wedding-check-date,
.wedding-offer,
.wedding-partners,
.wedding-local-seo,
.wedding-faq,
.wedding-final-cta {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.wedding-promo {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 34px);
  align-items: center;
  margin-top: clamp(56px, 8vw, 92px);
  margin-bottom: clamp(42px, 6vw, 76px);
  padding: clamp(34px, 5vw, 64px);
  position: relative;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.78), rgba(244, 231, 213, 0.58)),
    #f6eadb;
  border: 1px solid rgba(95, 69, 48, 0.12);
  box-shadow: 0 28px 80px rgba(88, 61, 40, 0.12);
}

.wedding-promo::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(151, 104, 58, 0.13);
  pointer-events: none;
}

.wedding-promo-copy,
.wedding-promo-panel,
.wedding-offer,
.wedding-partners {
  border: 1px solid rgba(95, 69, 48, 0.14);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 236, 222, 0.72));
  box-shadow: 0 24px 70px rgba(88, 61, 40, 0.12);
}

.wedding-promo-copy {
  grid-column: 1 / 6;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.wedding-promo-copy h2,
.wedding-section-head h2,
.wedding-offer h2,
.wedding-final-cta h2 {
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.06;
}

.wedding-promo-copy p,
.wedding-section-head p,
.wedding-final-cta p {
  color: #5b5048;
}

.wedding-promo-copy > p:not(.eyebrow) {
  width: min(410px, 100%);
  margin-top: 22px;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.72;
}

.wedding-promo-photo,
.wedding-fit-photo,
.wedding-offer-photo,
.wedding-partners-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(95, 69, 48, 0.14);
  background: #eadfce;
  box-shadow: 0 24px 64px rgba(88, 61, 40, 0.15);
}

.wedding-promo-photo img,
.wedding-fit-photo img,
.wedding-offer-photo img,
.wedding-partners-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.wedding-promo-photo {
  grid-column: 6 / 9;
  align-self: stretch;
  min-height: 520px;
  position: relative;
  z-index: 2;
  transform: translateY(28px);
}

.wedding-promo-panel {
  grid-column: 9 / 13;
  display: flex;
  flex-direction: column;
  align-self: center;
  min-height: 0;
  padding: clamp(26px, 3vw, 38px);
  position: relative;
  z-index: 1;
  background:
    linear-gradient(145deg, rgba(255, 250, 244, 0.92), rgba(229, 207, 181, 0.58)),
    #fff7ed;
}

.wedding-promo-panel strong {
  display: block;
  margin-bottom: 16px;
  color: #342b26;
  font-family: "Cinzel", serif;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1.05;
}

.wedding-promo-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #4d433c;
}

.wedding-promo-panel li::before {
  content: "·";
  color: var(--gold);
  margin-right: 10px;
}

.wedding-promo-panel .btn {
  width: 100%;
  margin-top: 26px;
  justify-content: center;
}

.wedding-panel-note {
  margin: 18px 0 0;
  color: #6a5e54;
  font-size: 14px;
  line-height: 1.55;
}

.wedding-fit {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 0.9fr) minmax(260px, 0.62fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
  min-height: 470px;
  margin-bottom: clamp(48px, 7vw, 80px);
  padding: clamp(38px, 5vw, 66px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(95, 69, 48, 0.13);
  background:
    linear-gradient(105deg, rgba(255, 250, 244, 0.9) 0%, rgba(255, 250, 244, 0.78) 52%, rgba(255, 250, 244, 0.58) 100%),
    #f5eadc;
  box-shadow: 0 26px 76px rgba(88, 61, 40, 0.11);
}

.wedding-fit::before {
  content: "";
  position: absolute;
  inset: -14px;
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.76), rgba(255, 250, 244, 0.22)),
    url("./content/settings/cerimonie/matrimoni/Marina e Francesco-214.jpg") center right / cover no-repeat;
  filter: blur(3px);
  transform: scale(1.01);
  opacity: 0.82;
}

.wedding-fit::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(151, 104, 58, 0.13);
  pointer-events: none;
}

.wedding-fit > * {
  position: relative;
  z-index: 1;
}

.wedding-fit h2 {
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1.05;
}

.wedding-fit-list {
  display: grid;
  gap: 16px;
  color: #302925;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.65;
  margin-top: -10px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.wedding-fit-list p {
  margin: 0;
  padding-left: 18px;
  border-left: 1px solid rgba(151, 104, 58, 0.58);
}

.wedding-fit-output {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  background: rgba(255, 250, 244, 0.76);
  border: 1px solid rgba(95, 69, 48, 0.16);
  box-shadow: 0 20px 56px rgba(88, 61, 40, 0.12);
  backdrop-filter: blur(8px);
}

.wedding-contact-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1200;
}

.wedding-contact-modal.is-open {
  display: block;
}

.wedding-contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.62);
}

.wedding-contact-modal-dialog {
  position: relative;
  width: min(640px, calc(100% - 36px));
  margin: clamp(34px, 8vh, 80px) auto;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(95, 69, 48, 0.24);
  border-radius: 10px;
  background: #f8f3ea;
  box-shadow: 0 24px 64px rgba(34, 24, 16, 0.34);
}

.wedding-contact-modal-dialog h3 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.04;
}

.wedding-contact-modal-dialog p {
  margin: 0 0 22px;
  color: #4d433c;
}

.wedding-contact-form {
  display: grid;
  gap: 14px;
}

.wedding-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wedding-contact-form label {
  display: grid;
  gap: 7px;
  color: #3f352f;
  font-size: 14px;
}

.wedding-contact-form input,
.wedding-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(95, 69, 48, 0.24);
  background: rgba(255, 255, 255, 0.72);
  color: #2f2924;
  font-size: 16px;
  padding: 11px 12px;
}

.wedding-contact-form textarea {
  min-height: 108px;
  resize: vertical;
}

.wedding-contact-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
  }

  .setting-card {
    min-height: 136px;
    padding: 14px 12px;
    border-right: 0;
    border-bottom: 0;
    display: grid;
    align-content: center;
    gap: 6px;
  }

  .setting-card .index {
    font-size: 16px;
    margin-bottom: 2px;
  }

  .setting-card h3 {
    font-size: clamp(24px, 6.8vw, 32px);
    line-height: 0.96;
    margin: 0;
  }

  .setting-card a {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .setting-card:last-child {
    grid-column: 1 / -1;
  }

  .wedding-page h1,
  .wedding-page h2,
  .wedding-page h3,
  .storybook-page h1,
  .storybook-page h2,
  .storybook-page h3 {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }

  .wedding-promo-copy h2,
  .wedding-fit h2,
  .wedding-offer h2,
  .wedding-local-seo h2 {
    font-size: clamp(34px, 8.4vw, 42px);
    line-height: 1;
    max-width: 100%;
  }

  .wedding-page {
    overflow-x: hidden;
  }

  .wedding-fit {
    padding: 22px 14px;
    gap: 18px;
  }

  .wedding-fit-list {
    font-size: 18px;
    line-height: 1.5;
  }

  .wedding-fit-output {
    padding: 18px 14px;
    gap: 12px;
  }

  .wedding-fit-output ul {
    font-size: 17px;
    line-height: 1.4;
  }

  .wedding-contact-modal-dialog {
    width: calc(100vw - 16px);
    margin: 8px auto;
    padding: 16px 12px;
    border-radius: 8px;
    max-height: calc(100vh - 16px);
    overflow-y: auto;
  }

  .wedding-contact-modal-dialog h3 {
    font-size: 34px;
    line-height: 0.98;
    margin-bottom: 8px;
  }

  .wedding-contact-modal-dialog p {
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .wedding-contact-form label {
    font-size: 13px;
  }

  .wedding-contact-form input,
  .wedding-contact-form textarea {
    font-size: 16px;
    padding: 10px 11px;
  }

  .wedding-contact-form textarea {
    min-height: 84px;
  }

  .wedding-contact-actions {
    flex-direction: column;
    gap: 8px;
  }

  .wedding-contact-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .storybook-page {
    overflow-x: hidden;
  }

  .storybook-reader {
    padding-top: 12px;
  }

  .storybook-reader-controls {
    gap: 12px;
    margin-bottom: 12px;
  }

  .storybook-cover {
    border-radius: 12px;
    overflow: hidden;
  }

  .storybook-cover-full-copy {
    padding: clamp(16px, 4.5vw, 22px);
  }

  .storybook-cover-full-copy h1 {
    font-size: clamp(56px, 15.5vw, 68px);
    line-height: 0.9;
  }

  .storybook-cover-full-copy > p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.35;
    max-width: 100%;
  }

  .storybook-meta {
    font-size: 13px;
  }

  .storybook-text-page,
  .storybook-photo-page,
  .storybook-photo-stack {
    min-height: 300px;
  }

  .storybook-text-page h2 {
    font-size: clamp(32px, 8.8vw, 40px);
    line-height: 0.98;
  }

  .storybook-text-page p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.5;
  }

  .storybook-photo-stack img,
  .storybook-photo-page img {
    min-height: 220px;
    object-fit: cover;
  }

  .storybook-photo-stack {
    display: block;
  }

  .storybook-photo-stack img + img {
    display: none;
  }

  .storybook-photo-stack-wide .storybook-photo-center {
    position: static;
    inset: auto;
    transform: none;
  }

  .wedding-story-cta .hero-actions {
    flex-direction: column;
  }

  .wedding-story-cta .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .wedding-contact-grid {
    grid-template-columns: 1fr;
  }
}

.wedding-fit-output span {
  color: #9b6f42;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wedding-fit-output ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #3f352f;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.45;
}

.wedding-fit-output li {
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(95, 69, 48, 0.12);
}

.wedding-fit-output li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.wedding-flow {
  padding: 42px 0 clamp(56px, 8vw, 90px);
}

.wedding-section-head {
  width: min(760px, 100%);
  margin-bottom: 24px;
}

.wedding-flow-grid,
.wedding-partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.wedding-flow-grid article,
.wedding-partner-card,
.wedding-offer-list article {
  border: 1px solid rgba(95, 69, 48, 0.14);
  background: rgba(255, 255, 255, 0.58);
  padding: 22px;
}

.wedding-flow-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: "Cinzel", serif;
  font-size: 24px;
}

.wedding-flow-grid h3,
.wedding-offer-list h3 {
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.05;
}

.wedding-flow-grid p,
.wedding-offer-list p,
.wedding-partner-card em {
  color: #665a51;
}

.wedding-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: clamp(56px, 8vw, 90px);
}

.wedding-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(95, 69, 48, 0.14);
  box-shadow: 0 18px 46px rgba(88, 61, 40, 0.14);
}

.wedding-stories-callout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
  align-items: stretch;
  padding: 0 0 clamp(56px, 8vw, 90px);
}

.wedding-stories-callout .wedding-section-head {
  grid-column: 1 / -1;
  width: min(760px, 100%);
  margin-bottom: clamp(8px, 1.4vw, 18px);
}

.wedding-stories-callout .wedding-section-head p:not(.eyebrow) {
  color: #5b5048;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.65;
}

.wedding-story-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(220px, 1.05fr);
  grid-template-rows: auto auto 1fr;
  gap: 8px 24px;
  min-height: 360px;
  height: clamp(340px, 26vw, 380px);
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(95, 69, 48, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(246, 236, 222, 0.72)),
    #fff7ed;
  color: #342b26;
  text-decoration: none;
  box-shadow: 0 22px 62px rgba(88, 61, 40, 0.12);
  width: 100%;
}

.wedding-story-card img {
  grid-row: 1 / 4;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(95, 69, 48, 0.14);
}

.wedding-story-card span {
  align-self: end;
  color: #9b6f42;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wedding-story-card strong {
  color: #342b26;
  font-family: "Cinzel", serif;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.02;
}

.wedding-story-card em {
  color: #665a51;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
}

.wedding-story-card:nth-of-type(2) img {
  aspect-ratio: 4 / 5;
}

.wedding-story-card:hover {
  border-color: rgba(151, 104, 58, 0.5);
  transform: translateY(-2px);
}

.wedding-check-date {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: calc(clamp(56px, 8vw, 90px) * -0.45);
  margin-bottom: clamp(56px, 8vw, 90px);
  border-top: 1px solid rgba(95, 69, 48, 0.15);
  border-bottom: 1px solid rgba(95, 69, 48, 0.15);
  padding: 22px 0;
}

.wedding-check-date p {
  margin: 0;
  color: #342b26;
  font-family: "Cinzel", serif;
  font-size: clamp(26px, 2.7vw, 42px);
  line-height: 1.05;
}

.wedding-offer {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 38px);
  align-items: stretch;
  padding: clamp(34px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.86), rgba(239, 222, 201, 0.62)),
    #f7ecdf;
  position: relative;
  overflow: hidden;
}

.wedding-offer::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(151, 104, 58, 0.13);
  pointer-events: none;
}

.wedding-offer > div,
.wedding-offer-photo {
  position: relative;
  z-index: 1;
}

.wedding-offer-photo {
  grid-column: 1 / 6;
  grid-row: 1 / span 2;
  aspect-ratio: auto;
  min-height: 560px;
  order: -1;
}

.wedding-offer-list {
  grid-column: 6 / 13;
  display: grid;
  gap: 0;
  counter-reset: weddingOffer;
}

.wedding-offer > div:first-child {
  grid-column: 6 / 13;
  align-self: end;
}

.wedding-offer-list article {
  counter-increment: weddingOffer;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px 0;
  border: 0;
  border-top: 1px solid rgba(95, 69, 48, 0.15);
  background: transparent;
}

.wedding-offer-list article::before {
  content: "0" counter(weddingOffer);
  color: #b7824d;
  font-family: "Cinzel", serif;
  font-size: clamp(28px, 2.4vw, 42px);
  line-height: 1;
}

.wedding-offer-list h3 {
  grid-column: 2;
  margin: 0 0 8px;
}

.wedding-offer-list p {
  grid-column: 2;
  margin: 0;
  max-width: 620px;
}

.wedding-partners {
  margin-top: clamp(56px, 8vw, 92px);
  padding: clamp(34px, 5vw, 64px);
  display: grid;
  gap: clamp(22px, 4vw, 42px);
}

.wedding-partners-hero {
  min-height: 360px;
  display: grid;
  align-content: end;
  padding: clamp(28px, 4vw, 46px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(95, 69, 48, 0.13);
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.88) 0%, rgba(255, 250, 244, 0.72) 48%, rgba(255, 250, 244, 0.22) 100%),
    url("./content/settings/cerimonie/matrimoni/Marina e Francesco-327.jpg") center right / cover no-repeat;
}

.wedding-partners-hero::before {
  content: "";
  position: absolute;
  inset: -12px;
  background: inherit;
  filter: blur(4px);
  transform: scale(1.02);
  opacity: 0.9;
}

.wedding-partners-hero::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(151, 104, 58, 0.13);
  pointer-events: none;
}

.wedding-partners-hero > * {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.wedding-partners-hero h2 {
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.01;
}

.wedding-partners-hero p:not(.eyebrow) {
  margin: 16px 0 0;
  color: #5b5048;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
}

.wedding-partners-photo {
  aspect-ratio: 4 / 3;
}

.wedding-partner-grid {
  grid-column: 1 / -1;
}

.wedding-partners .wedding-partner-grid {
  width: min(980px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
}

.wedding-partner-card {
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 230px;
  padding: clamp(22px, 3vw, 30px);
  color: #3f352f;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(95, 69, 48, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.48), rgba(255, 250, 244, 0.88)),
    var(--partner-image) center / cover no-repeat,
    #f6eadb;
  box-shadow: 0 18px 52px rgba(88, 61, 40, 0.12);
  isolation: isolate;
}

.wedding-partner-card span {
  color: #9b6f42;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wedding-partner-card strong {
  color: #342b26;
  font-family: "Cinzel", serif;
  font-size: clamp(23px, 2vw, 31px);
  line-height: 1.05;
}

.wedding-partner-card:hover {
  border-color: rgba(151, 104, 58, 0.54);
  transform: translateY(-2px);
}

.wedding-partner-card--aia {
  --partner-image: url("./assets/images/partners/partner-aia-cavicchio.jpg");
}

.wedding-partner-card--atmosphere {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.48), rgba(255, 250, 244, 0.88)),
    url("./assets/images/partners/partner-atmosphere.png") center 34% / min(72%, 340px) auto no-repeat,
    #f6eadb;
  color: #3f352f;
}

.wedding-partner-card--stimaty {
  --partner-image: url("./assets/images/partners/stimaty-instagram.jpg");
}

.wedding-partner-card--cavallo {
  --partner-image: url("./assets/images/partners/partner-cavallo-spose-web.jpg");
  background-position: center 42%;
}

.wedding-partner-card--atmosphere span,
.wedding-partner-card--atmosphere strong,
.wedding-partner-card--atmosphere em {
  color: inherit;
}

.wedding-local-seo {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(380px, 1.2fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  margin-top: clamp(56px, 8vw, 92px);
  padding: clamp(34px, 5vw, 64px) 0;
  border-top: 1px solid rgba(95, 69, 48, 0.14);
  border-bottom: 1px solid rgba(95, 69, 48, 0.14);
}

.wedding-local-seo h2 {
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.02;
}

.wedding-local-copy {
  display: grid;
  gap: 18px;
  color: #5b5048;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.68;
}

.wedding-local-map {
  width: 100%;
  max-width: 560px;
  margin: 4px 0 0 auto;
  border: 1px solid rgba(95, 69, 48, 0.16);
  background: rgba(255, 255, 255, 0.6);
  padding: 8px;
}

.wedding-local-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.wedding-local-copy p {
  margin: 0;
}

.wedding-local-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.wedding-local-copy li {
  border: 1px solid rgba(95, 69, 48, 0.16);
  background: rgba(255, 255, 255, 0.5);
  padding: 9px 12px;
  color: #3f352f;
  font-size: 14px;
  line-height: 1;
}

.wedding-faq {
  padding: clamp(56px, 8vw, 92px) 0 0;
}

.wedding-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wedding-faq details {
  border: 1px solid rgba(95, 69, 48, 0.14);
  background: rgba(255, 255, 255, 0.52);
  padding: 20px 22px;
}

.wedding-faq summary {
  cursor: pointer;
  color: #342b26;
  font-family: "Cinzel", serif;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.1;
}

.wedding-faq details p {
  margin: 14px 0 0;
  color: #665a51;
  line-height: 1.65;
}

.wedding-final-cta {
  padding: clamp(68px, 9vw, 118px) 0;
  text-align: center;
}

.wedding-final-cta p {
  width: min(720px, 100%);
  margin: 0 auto 24px;
}

.wedding-final-cta .hero-actions {
  justify-content: center;
}

.wedding-story-page {
  background: linear-gradient(180deg, #fbf5ec 0%, #fffaf4 48%, #f0e4d4 100%);
  color: #342b26;
}

.wedding-story-page h1,
.wedding-story-page h2,
.wedding-story-page h3 {
  color: #342b26;
}

.wedding-story-hero {
  min-height: calc(100vh - 86px);
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.wedding-story-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wedding-story-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.68), rgba(8, 8, 8, 0.18) 62%, rgba(8, 8, 8, 0.04));
}

.wedding-story-hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 44px));
  margin: 0 auto clamp(54px, 8vw, 96px);
  color: #fff4e4;
}

.wedding-story-hero-copy h1 {
  color: #fff4e4;
  font-size: clamp(54px, 7vw, 104px);
  line-height: 0.94;
}

.wedding-story-hero-copy p:not(.eyebrow) {
  width: min(620px, 100%);
  color: #f5e7d5;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.55;
}

.wedding-story-intro,
.wedding-story-chapter,
.wedding-story-wide,
.wedding-story-mosaic,
.wedding-story-final,
.wedding-story-cta {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.wedding-story-intro {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(28px, 6vw, 86px);
  padding: clamp(70px, 10vw, 128px) 0;
}

.wedding-story-intro h2,
.story-chapter-copy h2,
.wedding-story-wide h2,
.wedding-story-final h2,
.wedding-story-cta h2 {
  font-size: clamp(40px, 5vw, 78px);
  line-height: 1.02;
}

.wedding-story-intro > p,
.story-chapter-copy p,
.wedding-story-wide p,
.wedding-story-final p,
.wedding-story-cta p {
  color: #5b5048;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.7;
}

.wedding-story-chapter {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding-bottom: clamp(70px, 10vw, 128px);
}

.story-chapter-copy span {
  display: block;
  margin-bottom: 18px;
  color: #b7824d;
  font-family: "Cinzel", serif;
  font-size: clamp(32px, 3vw, 48px);
}

.story-image-pair {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 14px;
}

.story-image-pair img,
.wedding-story-wide img,
.wedding-story-mosaic img,
.story-large-photo img,
.wedding-story-final img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(95, 69, 48, 0.14);
  box-shadow: 0 22px 62px rgba(88, 61, 40, 0.13);
}

.story-image-pair img:first-child {
  aspect-ratio: 3 / 4;
}

.story-image-pair img:last-child {
  aspect-ratio: 5 / 4;
}

.wedding-story-wide {
  display: grid;
  grid-template-columns: minmax(420px, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  padding: clamp(34px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(95, 69, 48, 0.14);
}

.wedding-story-wide img {
  aspect-ratio: 16 / 10;
}

.wedding-story-mosaic {
  display: grid;
  grid-template-columns: 0.9fr 0.8fr 1.1fr;
  grid-template-rows: 360px 260px;
  gap: 14px;
  padding: clamp(70px, 10vw, 128px) 0;
}

.wedding-story-mosaic img:first-child {
  grid-row: span 2;
}

.wedding-story-mosaic img:nth-child(3) {
  grid-column: 2 / 4;
}

.wedding-story-chapter-reverse {
  grid-template-columns: minmax(420px, 1.15fr) minmax(300px, 0.85fr);
}

.wedding-story-chapter-reverse .story-chapter-copy {
  order: 2;
}

.story-large-photo {
  margin: 0;
}

.story-large-photo img {
  aspect-ratio: 16 / 10;
}

.wedding-story-final {
  display: grid;
  grid-template-columns: minmax(420px, 1.16fr) minmax(300px, 0.84fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding-bottom: clamp(70px, 10vw, 128px);
}

.wedding-story-final img {
  aspect-ratio: 16 / 9;
}

.wedding-story-cta {
  padding: clamp(70px, 10vw, 128px) 0;
  border-top: 1px solid rgba(95, 69, 48, 0.16);
  text-align: center;
}

.wedding-story-cta p {
  width: min(720px, 100%);
  margin: 0 auto 24px;
}

.wedding-story-cta .hero-actions {
  justify-content: center;
}

.storybook-page {
  background:
    radial-gradient(circle at 50% 10%, rgba(185, 138, 88, 0.12), transparent 34%),
    linear-gradient(180deg, #fbf6ee 0%, #fffaf4 52%, #f0e4d4 100%);
  color: #2c3444;
}

.storybook-page h1,
.storybook-page h2,
.storybook-page h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #2c3444;
  letter-spacing: 0;
}

.storybook-reader,
.storybook-intro,
.storybook-chapters,
.storybook-spread,
.storybook-gallery {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.storybook-reader {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: clamp(24px, 4vw, 48px);
}

.storybook-cover {
  width: 100%;
  height: clamp(640px, calc(100vh - var(--topbar-offset) - 118px), 760px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(69, 54, 40, 0.16) 50%, transparent 50.3%),
    #fbf6ee;
  border: 1px solid rgba(95, 69, 48, 0.16);
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(75, 53, 34, 0.16);
}

.storybook-cover[hidden] {
  display: none;
}

.storybook-cover.is-active {
  animation: storybookPageIn 0.32s ease both;
}

.storybook-cover .storybook-page {
  background: transparent;
  border-radius: 20px;
}

.storybook-cover-full {
  position: relative;
  grid-template-columns: 1fr;
  overflow: hidden;
  background-image:
    linear-gradient(120deg, rgba(8, 8, 9, 0.56), rgba(8, 8, 9, 0.22) 55%, rgba(8, 8, 9, 0.46)),
    url("./content/storie/chiara-cesare/copertina-orizzontale.jpg");
  background-size: cover;
  background-position: center;
}

.storybook-cover-full::before {
  content: "";
  position: absolute;
  inset: -18px;
  background-image: url("./content/storie/chiara-cesare/copertina-orizzontale.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(7px) saturate(1.04);
  transform: scale(1.03);
  opacity: 0.38;
}

.storybook-cover-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 6, 7, 0.46), rgba(6, 6, 7, 0.18) 52%, rgba(6, 6, 7, 0.38));
}

.storybook-cover-full-copy {
  position: relative;
  z-index: 2;
  max-width: min(860px, 100%);
  border: 0;
  border-radius: 20px;
  box-shadow: none;
  background: linear-gradient(95deg, rgba(8, 8, 9, 0.5), rgba(8, 8, 9, 0.08));
}

.storybook-cover-copy,
.storybook-cover-photo,
.storybook-text-page,
.storybook-photo-page,
.storybook-photo-stack {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: clamp(38px, 5vw, 64px);
  border: 1px solid rgba(95, 69, 48, 0.1);
  border-radius: 20px;
}

.storybook-cover-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.storybook-cover-copy h1 {
  margin: 18px 0 24px;
  font-size: clamp(68px, 8vw, 118px);
  line-height: 0.84;
}

.storybook-cover-full-copy .eyebrow {
  color: rgba(255, 241, 221, 0.82);
}

.storybook-cover-full-copy h1 {
  color: #fff2df;
  font-size: clamp(82px, 10vw, 152px);
  line-height: 0.8;
  text-shadow: 0 20px 42px rgba(0, 0, 0, 0.42);
}

.storybook-cover-full-copy > p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 245, 232, 0.9);
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.65;
}

.storybook-cover-full-copy {
  padding: clamp(52px, 6.5vw, 86px);
}

.storybook-cover-full-copy .storybook-meta {
  border-top-color: rgba(255, 236, 212, 0.35);
  color: rgba(255, 236, 212, 0.9);
}

.storybook-cover-copy > p:not(.eyebrow) {
  max-width: 470px;
  color: #505965;
  font-size: clamp(18px, 1.65vw, 23px);
  line-height: 1.75;
}

.storybook-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(95, 69, 48, 0.18);
  color: #8a6748;
  font-size: 13px;
}

.storybook-cover-photo {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(16px, 2vw, 24px);
  background: #f7efe4;
}

.storybook-cover-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
  filter: saturate(0.94);
}

.storybook-cover-photo > div {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(210px, 1fr);
  gap: 24px;
  align-items: end;
}

.storybook-cover-photo h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 0.96;
}

.storybook-cover-photo p {
  margin: 0;
  color: #505965;
  font-size: 15px;
  line-height: 1.72;
}

.storybook-text-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.storybook-text-page h2 {
  max-width: 460px;
  margin: 14px 0 clamp(20px, 2.4vw, 28px);
  font-size: clamp(46px, 5.3vw, 74px);
  line-height: 0.9;
}

.storybook-text-page p:not(.eyebrow) {
  max-width: 500px;
  margin: 0 0 20px;
  color: #505965;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.8;
}

.storybook-photo-page,
.storybook-photo-stack {
  display: grid;
  gap: 18px;
  background: #f7efe4;
}

.storybook-photo-page img,
.storybook-photo-stack img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}

.storybook-photo-center {
  object-position: center center;
}

.storybook-photo-page img {
  aspect-ratio: auto;
}

.storybook-photo-stack {
  grid-template-rows: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.storybook-photo-stack-wide {
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
}

.storybook-reader-controls {
  order: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0;
  color: #806249;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storybook-nav-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(95, 69, 48, 0.24);
  border-radius: 999px;
  background: #fbf6ee;
  color: #2c3444;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.storybook-nav-btn:disabled {
  cursor: default;
  opacity: 0.35;
}

@keyframes storybookPageIn {
  from {
    transform: translateX(14px);
  }
  to {
    transform: translateX(0);
  }
}

.storybook-intro {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(28px, 6vw, 88px);
  padding: clamp(70px, 9vw, 118px) 0;
}

.storybook-intro h2 {
  margin: 8px 0 0;
  font-size: clamp(46px, 5vw, 78px);
  line-height: 0.98;
}

.storybook-intro > p {
  margin: 0;
  color: #5b5048;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.85;
}

.storybook-chapters {
  display: grid;
  grid-template-columns: 250px 1fr;
  background: linear-gradient(90deg, #efe2d2 0 250px, #fffaf4 250px);
  border: 1px solid rgba(95, 69, 48, 0.14);
}

.storybook-index {
  position: sticky;
  top: calc(var(--topbar-offset) + 24px);
  align-self: start;
  padding: clamp(34px, 5vw, 58px) 34px;
  border-right: 1px solid rgba(95, 69, 48, 0.14);
}

.storybook-index h2 {
  margin: 10px 0 40px;
  font-size: clamp(34px, 3.3vw, 46px);
  line-height: 0.95;
}

.storybook-index ol {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.storybook-index a {
  color: #7f634b;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storybook-index a:hover {
  color: #b7824d;
}

.storybook-chapter-stream {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(34px, 5vw, 58px);
}

.storybook-chapter-card {
  display: grid;
  grid-template-rows: 330px auto;
  min-height: 620px;
  scroll-margin-top: calc(var(--topbar-offset) + 24px);
  border: 1px solid rgba(95, 69, 48, 0.14);
  background: #fffaf3;
}

.storybook-chapter-card:nth-child(even) {
  transform: translateY(42px);
}

.storybook-chapter-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.storybook-chapter-card div {
  padding: clamp(24px, 3vw, 34px);
}

.storybook-chapter-card span {
  color: #b7824d;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 38px;
  line-height: 1;
}

.storybook-chapter-card h3 {
  margin: 14px 0 18px;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 0.96;
}

.storybook-chapter-card p {
  margin: 0;
  color: #59606b;
  font-size: 16px;
  line-height: 1.75;
}

.storybook-spread {
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  padding: clamp(82px, 11vw, 150px) 0 clamp(58px, 8vw, 96px);
}

.storybook-spread figure {
  margin: 0;
}

.storybook-spread img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(95, 69, 48, 0.14);
  box-shadow: 0 24px 70px rgba(75, 53, 34, 0.16);
}

.storybook-spread h2 {
  margin: 10px 0 22px;
  font-size: clamp(46px, 5.2vw, 82px);
  line-height: 0.96;
}

.storybook-spread p:not(.eyebrow) {
  color: #5b5048;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.8;
}

.storybook-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  padding-bottom: clamp(70px, 9vw, 118px);
}

.storybook-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(95, 69, 48, 0.14);
}

.storybook-gallery img:nth-child(2) {
  margin-top: clamp(26px, 4vw, 54px);
}

.storybook-page .wedding-story-cta {
  border-top-color: rgba(95, 69, 48, 0.18);
}

@media (max-width: 900px) {
  .storybook-reader,
  .storybook-intro,
  .storybook-chapters,
  .storybook-spread,
  .storybook-gallery {
    width: min(100% - 28px, 1180px);
  }

  .storybook-cover,
  .storybook-cover.is-active,
  .storybook-intro,
  .storybook-chapters,
  .storybook-spread,
  .storybook-chapter-stream,
  .storybook-cover-photo > div {
    grid-template-columns: 1fr;
  }

  .storybook-cover {
    height: auto;
    min-height: 0;
    background: #fbf6ee;
  }

  .storybook-cover-full {
    background-position: 66% center;
  }

  .storybook-cover-full::before {
    inset: -8px;
    filter: blur(3px) saturate(1.03);
    opacity: 0.18;
  }

  .storybook-cover-full::after {
    background: linear-gradient(100deg, rgba(6, 6, 7, 0.58), rgba(6, 6, 7, 0.28) 52%, rgba(6, 6, 7, 0.44));
  }

  .storybook-reader-controls {
    padding-bottom: 2px;
  }

  .storybook-cover-copy,
  .storybook-cover-photo,
  .storybook-text-page,
  .storybook-photo-page,
  .storybook-photo-stack {
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 30px;
  }

  .storybook-cover-copy h1 {
    font-size: clamp(58px, 18vw, 82px);
  }

  .storybook-cover-full-copy h1 {
    font-size: clamp(62px, 18vw, 94px);
  }

  .storybook-cover-full-copy {
    background: linear-gradient(95deg, rgba(8, 8, 9, 0.42), rgba(8, 8, 9, 0.14));
  }

  .storybook-meta {
    flex-direction: column;
  }

  .storybook-cover-photo img {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .storybook-photo-stack,
  .storybook-photo-stack-wide {
    grid-template-rows: none;
  }

  .storybook-photo-stack img,
  .storybook-photo-page img {
    aspect-ratio: 4 / 3;
  }

  .storybook-text-page h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .storybook-intro {
    padding: 54px 0;
  }

  .storybook-chapters {
    background: #fffaf4;
  }

  .storybook-index {
    position: relative;
    top: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(95, 69, 48, 0.14);
  }

  .storybook-index ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .storybook-chapter-stream {
    padding: 22px;
  }

  .storybook-chapter-card,
  .storybook-chapter-card:nth-child(even) {
    min-height: 0;
    transform: none;
  }

  .storybook-chapter-card {
    grid-template-rows: auto auto;
  }

  .storybook-chapter-card img {
    aspect-ratio: 4 / 3;
  }

  .storybook-spread {
    padding: 64px 0 42px;
  }

  .storybook-gallery {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    scroll-snap-type: x mandatory;
  }

  .storybook-gallery img,
  .storybook-gallery img:nth-child(2) {
    flex: 0 0 min(78vw, 330px);
    margin-top: 0;
    scroll-snap-align: start;
  }
}

@keyframes eventLine {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(350%);
  }
}

.album-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #09090b;
}

.album-chip {
  background: transparent;
  color: #d8cfc0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.album-chip:hover,
.album-chip:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.album-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.portrait-wall {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.family-polaroid-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--polaroid-card-width), var(--polaroid-card-width)));
  justify-content: center;
  gap: 18px;
  padding: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0c0c0f;
}

.family-polaroid-card {
  width: var(--polaroid-card-width);
  max-width: 100%;
  background: #f2ede4;
  color: #1a1816;
  border-radius: 6px;
  padding: 10px 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.34);
  transform: rotate(0deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.family-polaroid-card:nth-child(4n + 1) {
  transform: rotate(-1.5deg);
}

.family-polaroid-card:nth-child(4n + 2) {
  transform: rotate(1.2deg);
}

.family-polaroid-card:nth-child(4n + 3) {
  transform: rotate(-0.8deg);
}

.family-polaroid-card:nth-child(4n + 4) {
  transform: rotate(1.6deg);
}

.family-polaroid-card:hover {
  transform: translateY(-4px) rotate(0deg);
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.46);
}

.family-polaroid-media {
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 3px;
  overflow: hidden;
  background: #ddd6cc;
}

.family-polaroid-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  object-position: center;
}

.family-polaroid-meta {
  padding: 10px 4px 6px;
}

.family-polaroid-meta .eyebrow {
  color: #6f747b;
}

.family-polaroid-meta h3 {
  margin: 0;
  font-size: clamp(30px, 2.1vw, 36px);
  line-height: 0.95;
  color: #6f747b;
}

.family-polaroid-card .btn {
  width: 100%;
}

.polaroid-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--polaroid-card-width), var(--polaroid-card-width)));
  justify-content: center;
  gap: 18px;
  padding: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0c0c0f;
}

.polaroid-wall.two-cols {
  grid-template-columns: repeat(auto-fill, minmax(var(--polaroid-card-width), var(--polaroid-card-width)));
}

.polaroid-card {
  width: var(--polaroid-card-width);
  max-width: 100%;
  background: #f2ede4;
  color: #1a1816;
  border-radius: 6px;
  padding: 10px 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.34);
  transform: rotate(0deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.polaroid-card:nth-child(3n + 1) {
  transform: rotate(-1.4deg);
}

.polaroid-card:nth-child(3n + 2) {
  transform: rotate(1.1deg);
}

.polaroid-card:nth-child(3n + 3) {
  transform: rotate(-0.7deg);
}

.polaroid-card:hover {
  transform: translateY(-4px) rotate(0deg);
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.46);
}

.polaroid-media {
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 3px;
  overflow: hidden;
  background: #ddd6cc;
}

.polaroid-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  object-position: center;
}

.polaroid-meta {
  padding: 10px 4px 6px;
}

.polaroid-meta .eyebrow {
  color: #6f747b;
}

.polaroid-meta h3 {
  margin: 0;
  font-size: clamp(30px, 2.1vw, 36px);
  line-height: 0.95;
  color: #6f747b;
}

.polaroid-actions {
  display: grid;
  gap: 8px;
}

.polaroid-card .btn {
  width: 100%;
}

.polaroid-link-btn {
  padding: 10px 12px;
  text-align: center;
  font-size: 12px;
}

.album-context-band {
  width: 100%;
  margin: 0;
  padding: 24px clamp(18px, 4vw, 64px) 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(10, 10, 12, 0.95);
}

.album-context-band h2 {
  margin: 8px 0 12px;
  text-align: left;
  max-width: 18ch;
}

.album-context-band p {
  margin: 0;
  color: #d7ccbc;
  max-width: 760px;
  line-height: 1.55;
  font-size: clamp(17px, 1.35vw, 20px);
}

.album-context-band .eyebrow {
  text-align: left;
}

.album-card {
  min-height: 240px;
  position: relative;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78)), var(--cover);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  transition: transform 0.22s ease;
  overflow: hidden;
}

.album-card:hover {
  transform: translateY(-2px);
}

.album-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78));
  z-index: 1;
}

.album-card > *:not(.album-card-image) {
  position: relative;
  z-index: 2;
}

.album-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.album-card h3 {
  font-size: clamp(30px, 2.2vw, 38px);
  margin-bottom: 0;
  color: #d4d9df;
}

.album-card .btn {
  align-self: start;
}

.album-drawer {
  border-top: 1px solid var(--line);
  padding: 24px;
  background: #0b0b0d;
}

.album-drawer:not(.is-open) {
  display: none !important;
}

.album-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.album-drawer-head h2 {
  font-size: clamp(34px, 3vw, 50px);
  margin-bottom: 0;
}

.album-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-info-btn {
  padding: 11px 22px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.service-info-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #181515;
}

.album-counter {
  color: var(--muted);
  letter-spacing: 0.08em;
  font-size: 14px;
}

.album-copy {
  max-width: 980px;
  margin: 10px 0 16px;
  color: #ddd3c5;
  line-height: 1.65;
  font-size: 16px;
}

.album-copy.is-inline-hidden {
  display: none;
}

.album-copy.is-inline-hidden + .album-stage {
  margin-top: 16px;
}

.album-stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #09090b;
  display: grid;
  place-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.album-main {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(320px, 80vh, 860px);
  object-fit: contain;
  display: block;
  transition: opacity 0.28s ease;
  background: transparent;
}

.album-main.is-changing {
  opacity: 0.55;
}

.album-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  margin: 0;
  padding: 12px 18px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  font-size: 15px;
  line-height: 1.35;
  text-align: center;
  pointer-events: none;
}

.album-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 10, 0.62);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.album-nav-btn.prev {
  left: 12px;
}

.album-nav-btn.next {
  right: 12px;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}

.service-modal.is-open {
  display: block;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.service-modal-dialog {
  position: relative;
  width: min(920px, calc(100vw - 30px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b0b0d;
  padding: 24px;
  overflow: auto;
}

.service-modal-dialog h3 {
  font-size: clamp(34px, 3vw, 50px);
  margin: 8px 0 14px;
}

.service-modal-dialog p {
  margin: 0;
  color: #ddd3c5;
  line-height: 1.7;
  font-size: 18px;
}

.service-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.album-thumbs {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.album-thumb {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  min-width: 88px;
  width: 88px;
  height: 112px;
  opacity: 0.72;
  padding: 0;
  cursor: pointer;
}

.album-thumb.is-active {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.42);
}

.album-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.family-drawer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "copy"
    "stage"
    "thumbs";
  gap: 12px;
}

.family-drawer .album-drawer-head {
  grid-area: head;
}

.family-drawer .album-copy {
  grid-area: copy;
}

.family-drawer .album-stage {
  grid-area: stage;
}

.family-drawer .album-main {
  max-height: clamp(380px, 72vh, 820px);
}

.family-drawer .album-thumbs {
  grid-area: thumbs;
  margin-top: 4px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 0 44px,
      rgba(0, 0, 0, 0.14) 44px 48px
    ),
    #0f1118;
  position: relative;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.family-drawer .album-thumb {
  min-width: 124px;
  width: 124px;
  height: 168px;
  margin-top: 0;
  border-radius: 12px;
  opacity: 0.9;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  scroll-snap-align: start;
}

.family-drawer .album-thumb:hover {
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.48);
}

.family-drawer .album-thumb.is-active {
  opacity: 1;
  border-color: rgba(185, 138, 88, 0.86);
  transform: translateY(-3px);
}

.family-drawer .album-thumb img {
  object-position: top center;
}

.film-drawer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "copy"
    "stage"
    "thumbs";
  gap: 12px;
}

.film-drawer .album-drawer-head {
  grid-area: head;
}

.film-drawer .album-copy {
  grid-area: copy;
}

.film-drawer .album-stage {
  grid-area: stage;
}

.film-drawer .album-main {
  max-height: clamp(380px, 72vh, 820px);
}

.film-drawer .album-thumbs {
  grid-area: thumbs;
  margin-top: 4px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 0 44px,
      rgba(0, 0, 0, 0.14) 44px 48px
    ),
    #0f1118;
  position: relative;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.film-drawer .album-thumb {
  min-width: 124px;
  width: 124px;
  height: 168px;
  margin-top: 0;
  border-radius: 12px;
  opacity: 0.9;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  scroll-snap-align: start;
}

.film-drawer .album-thumb:hover {
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.48);
}

.film-drawer .album-thumb.is-active {
  opacity: 1;
  border-color: rgba(185, 138, 88, 0.86);
  transform: translateY(-3px);
}

.film-drawer .album-thumb img {
  object-position: top center;
}

.gallery-slider {
  margin-top: 22px;
}

.slider-stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #09090b;
}

.slider-main {
  display: block;
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.slider-main.is-changing {
  opacity: 0.6;
  transform: scale(1.01);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.65);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.slider-nav.prev {
  left: 14px;
}

.slider-nav.next {
  right: 14px;
}

.slider-thumbs {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.thumb {
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
  min-width: 96px;
  width: 96px;
  height: 120px;
  overflow: hidden;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.thumb:hover,
.thumb.is-active {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
}

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

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

html.js.reveal-enabled .reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroOverlayIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroItemIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-overlay,
  .hero-overlay > *,
  .reveal,
  .setting-card,
  .highlight-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.about-card {
  background: #f3ede4;
  color: #1d1b18;
  padding: 46px 34px;
}

.about-card > .eyebrow {
  color: #1d1b18;
}

.about-card h2,
.testimonials-card h2,
.footer h2 {
  font-size: clamp(34px, 3.3vw, 56px);
}

.about-card h2 {
  color: #6f747b;
}

.about-card p {
  max-width: 520px;
}

.about-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: end;
}

.about-intro img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.18);
}

.testimonials-card {
  background: #0e0e0f;
  padding: 46px 34px;
}

.testimonials-slider {
  margin-top: 8px;
}

.testimonials-slide {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.testimonials-slide.is-active {
  display: grid;
}

.quote-item {
  position: relative;
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonials-slide .quote-item:last-child {
  border-right: 0;
}

.quote-mark {
  display: inline-block;
  color: var(--gold);
  font-family: "Cinzel", serif;
  font-size: 42px;
  line-height: 1;
  margin-bottom: 8px;
}

.quote-item blockquote {
  margin: 0;
  color: #ddd3c5;
  font-size: 18px;
  line-height: 1.6;
  max-width: 320px;
}

.quote-item cite {
  display: block;
  color: #f0e8dd;
  font-style: normal;
  margin-top: 16px;
  font-size: 16px;
}

.testimonial-dots {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.testimonial-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.testimonial-dots .dot.is-active {
  background: var(--gold);
}

.awards-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #09090b;
  padding: 28px 24px 32px;
}

.awards-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.awards-head h2 {
  margin: 0;
  font-size: clamp(34px, 3vw, 50px);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.award-item {
  min-height: 170px;
}

.award-media {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.36);
  padding: 12px;
}

.award-badge {
  width: 100%;
  height: 100%;
  max-height: 180px;
  object-fit: contain;
  display: block;
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  padding: 34px;
  border-top: 1px solid var(--line);
  background: linear-gradient(120deg, #0a0a0b 0%, #121214 85%);
}

.footer h2 {
  margin-top: 10px;
}

.footer h3 {
  font-size: 34px;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #e3d9cb;
  line-height: 2;
}

.footer-compact {
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 20px;
  padding: 20px 28px;
}

.footer-compact h2 {
  font-size: clamp(26px, 2.1vw, 40px);
  margin: 4px 0 0;
  line-height: 0.95;
}

.footer-compact h3 {
  font-size: clamp(24px, 1.8vw, 34px);
  margin: 0 0 10px;
}

.footer-compact .eyebrow {
  margin: 0;
}

.footer-compact ul {
  line-height: 1.5;
  font-size: 18px;
}

.socials a {
  color: #e3d9cb;
  text-decoration: none;
}

.footer-home {
  grid-template-columns: clamp(120px, 12vw, 180px) 1.35fr 1fr 0.9fr;
  gap: 0;
  padding: 0;
}

.footer-home-col {
  padding: 28px 30px;
}

.footer-home .footer-home-col + .footer-home-col {
  border-left: 1px solid var(--line);
}

.footer-home h2 {
  font-size: clamp(40px, 3.4vw, 56px);
  margin: 6px 0 12px;
}

.footer-home h3 {
  font-size: 22px;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-family: "Cinzel", serif;
}

.footer-home-intro p {
  margin: 0 0 12px;
}

.footer-home-intro .btn {
  margin-top: 8px;
}

.footer-home-contacts ul {
  display: grid;
  gap: 10px;
}

.footer-home-contacts a {
  color: #eadfce;
  text-decoration: none;
  border-bottom: 1px solid rgba(185, 138, 88, 0.45);
}

.footer-home-contacts a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.footer-home-contacts a[href="/servizi-fotografici-bologna-imola.html"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 8px 12px;
  border: 1px solid rgba(185, 138, 88, 0.45);
  border-radius: 8px;
  background: rgba(185, 138, 88, 0.08);
  color: #f3e7d6;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.footer-home-contacts a[href="/servizi-fotografici-bologna-imola.html"]::after {
  content: "→";
  font-size: 16px;
  line-height: 1;
  opacity: 0.85;
}

.footer-home-contacts a[href="/servizi-fotografici-bologna-imola.html"]:hover {
  background: rgba(185, 138, 88, 0.16);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.icon-dot {
  display: inline-grid;
  place-items: center;
  width: 20px;
  margin-right: 10px;
  color: var(--gold);
}

.social-circles {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-circles a {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #f3ede4;
  font-size: 14px;
  font-weight: 600;
}

.social-circles svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-circles li:nth-child(2) svg,
.social-circles li:nth-child(3) svg,
.social-circles li:nth-child(4) svg {
  fill: currentColor;
  stroke: none;
}

.social-circles a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-home-decor {
  order: -1;
  border-right: 1px solid var(--line);
  border-left: 0;
  min-height: 230px;
  background-image: url("./assets/images/footer-logo-2024.webp");
  background-repeat: no-repeat;
  background-color: #07070a;
  background-size: 62% auto;
  background-position: center;
}

.studio-info-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}

.studio-info-modal.is-open {
  display: block;
}

.studio-info-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.studio-info-dialog {
  position: relative;
  width: min(920px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  margin: 14px auto;
  background: #0f0f12;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  overflow: auto;
}

.studio-info-dialog h2 {
  margin-top: 4px;
  font-size: clamp(38px, 3vw, 52px);
}

.studio-info-copy {
  display: grid;
  gap: 12px;
}

.studio-info-copy p {
  margin: 0;
  color: #ddd3c5;
}

.studio-info-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 10, 14, 0.75);
  color: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.footer-home-meta {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding: 16px 30px;
}

.footer-home-meta p {
  margin: 0;
  font-size: 14px;
  color: #d9cebf;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bio-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.bio-modal.is-open {
  display: block;
}

.bio-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.bio-dialog {
  position: relative;
  width: min(1100px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  border: 1px solid var(--line);
  background: #0c0c0f;
  border-radius: 14px;
  overflow: hidden;
  animation: popupIn 0.24s ease;
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.bio-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.bio-content {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  min-height: 0;
}

.bio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-text {
  padding: 30px 30px 24px;
  overflow: auto;
  max-height: calc(100vh - 40px);
}

.bio-text h2 {
  font-size: clamp(38px, 3vw, 50px);
  margin-bottom: 14px;
}

.bio-text p {
  margin: 0 0 14px;
  color: #ddd3c5;
  line-height: 1.6;
  font-size: 18px;
}

.event-popup {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
}

.event-popup.is-open {
  display: block;
}

.event-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
}

.event-popup-dialog {
  position: relative;
  width: min(960px, calc(100vw - 34px));
  margin: min(6vh, 46px) auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #0b0b0f;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  animation: popupIn 0.28s ease;
}

.event-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.64);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.event-popup-media {
  display: block;
  background: #0e0e11;
}

.event-popup-media img {
  width: 100%;
  height: 100%;
  max-height: min(84vh, 700px);
  object-fit: cover;
  display: block;
}

.event-popup-content {
  padding: 26px 24px;
  display: grid;
  align-content: center;
  gap: 10px;
}

.event-popup-content h2 {
  font-size: clamp(40px, 3.2vw, 56px);
  margin: 0;
}

.event-popup-content p {
  margin: 0;
  color: #ddd3c5;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #23c460;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

@media (max-width: 980px) {
  .hero::before {
    filter: blur(6px) brightness(0.62) saturate(1.02);
    transform: scale(1.02);
  }

  .hero::after {
    background-image:
      linear-gradient(90deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.14) 48%, rgba(0, 0, 0, 0.08) 100%),
      var(--hero-image);
    background-size: 100% 100%, cover;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
  }

  .hero-overlay {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: linear-gradient(145deg, rgba(9, 9, 10, 0.44), rgba(10, 10, 11, 0.2));
    border-color: rgba(255, 255, 255, 0.12);
  }

  .home-hero {
    --hero-image: url("./assets/images/home-main-mobile.webp");
  }

  .family-hero {
    --hero-image: url("./assets/images/hero-family-giulio-mobile.webp");
  }

  .portrait-hero {
    --hero-image: url("./assets/images/hero-portrait-mobile.webp");
  }

  .ceremonies-hero {
    --hero-image: url("./assets/images/hero-cerimonie-chiara-cesare-mobile.webp");
  }

  .party-hero {
    --hero-image: url("./assets/images/hero-lets-party-xmas-mobile.webp");
  }

  .highlight-card,
  .highlight-immagina,
  .highlight-matrimoni,
  .highlight-sala {
    background-image: linear-gradient(145deg, rgba(22, 18, 15, 0.96), rgba(8, 8, 10, 0.98)) !important;
  }

  .settings-grid .setting-card {
    background-image: linear-gradient(180deg, rgba(10, 10, 12, 0.25), rgba(10, 10, 12, 0.82)) !important;
  }

  :root {
    --topbar-offset: 72px;
    --polaroid-card-width: min(280px, calc(100vw - 42px));
  }

  body {
    padding: 0;
    background: var(--bg);
  }

  .topbar {
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    padding: 12px;
  }

  .brand-main {
    font-size: 30px;
  }

  .brand-sub {
    font-size: 14px;
  }

  .brand {
    padding-left: 44px;
  }

  .brand::before {
    width: 36px;
    height: 36px;
  }

  .menu-toggle {
    display: inline-block;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 4px;
    width: 42px;
    height: 36px;
  }

  .topbar .btn {
    padding: 10px 12px;
    font-size: 13px;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 63px;
    flex-direction: column;
    background: #090909;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 12px;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .hero {
    min-height: calc(88vh - 63px);
    background-position: center, center;
  }

  .hero:not(.page-hero) {
    min-height: calc(88vh - 63px);
  }

  .home-hero {
    min-height: calc(88vh - 63px);
  }

  .hero:not(.page-hero) .hero-overlay {
    padding: 18px 14px;
  }

  .hero-overlay {
    max-width: 100%;
    margin-left: 0;
    padding: 18px 14px;
    border-radius: 16px;
    border-color: rgba(255, 255, 255, 0.06);
    background: linear-gradient(145deg, rgba(9, 9, 10, 0.52), rgba(10, 10, 11, 0.28));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  }

  h1 {
    font-size: clamp(52px, 16vw, 72px);
  }

  .hero:not(.page-hero) h1 {
    font-size: clamp(34px, 9.6vw, 46px);
    margin-bottom: 8px;
    line-height: 1.01;
  }

  .page-hero h1 {
    font-size: clamp(28px, 8.2vw, 44px);
    line-height: 1.08;
    white-space: normal;
  }

  .page-hero .hero-overlay {
    width: 100%;
    max-width: 100%;
  }

  .hero:not(.page-hero) .hero-text {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .hero:not(.page-hero) .hero-actions .btn {
    padding: 9px 12px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
  }

  .setting-card {
    min-height: 136px;
    border-right: 0;
    border-bottom: 0;
  }

  .setting-card:last-child {
    grid-column: 1 / -1;
  }

  .highlights-ribbon {
    padding: 16px 14px;
  }

  .highlights-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .highlights-grid {
    gap: 10px;
  }

  .highlight-card {
    min-height: 220px;
    padding: 14px;
    flex-basis: 72%;
  }

  .highlight-immagina {
    flex-basis: 84%;
    min-height: 250px;
  }

  .local-intro,
  .local-area-band {
    grid-template-columns: 1fr;
  }

  .local-pathways {
    grid-template-columns: 1fr;
    padding: 34px 18px;
  }

  .local-pathways-grid {
    grid-template-columns: 1fr;
  }

  .local-service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 58px;
  }

  .local-service-card {
    min-height: 0;
  }

  .local-area-band {
    width: 100%;
    padding: 34px 18px;
  }

  .local-map {
    grid-column: 1;
    grid-row: auto;
    height: 300px;
  }

  .wedding-promo,
  .wedding-fit,
  .wedding-offer,
  .wedding-partners,
  .wedding-stories-callout,
  .wedding-local-seo {
    grid-template-columns: 1fr;
  }

  .wedding-promo {
    padding: 28px 22px;
  }

  .wedding-fit {
    min-height: 0;
    padding: 30px 22px;
    gap: 24px;
  }

  .wedding-fit-list {
    margin-top: 0;
  }

  .wedding-fit::after {
    inset: 10px;
  }

  .wedding-promo::before {
    inset: 10px;
  }

  .wedding-promo-copy,
  .wedding-promo-photo,
  .wedding-promo-panel {
    grid-column: 1;
  }

  .wedding-offer > div:first-child,
  .wedding-offer-list,
  .wedding-offer-photo {
    grid-column: 1;
    grid-row: auto;
  }

  .wedding-offer-photo {
    min-height: 320px;
    order: 0;
  }

  .wedding-offer-list article {
    grid-template-columns: 42px 1fr;
  }

  .wedding-partners-hero {
    min-height: 430px;
    padding: 28px 22px;
    background:
      linear-gradient(180deg, rgba(255, 250, 244, 0.82), rgba(255, 250, 244, 0.42)),
      url("./content/settings/cerimonie/matrimoni/Marina e Francesco-327.jpg") center / cover no-repeat;
  }

  .wedding-partners-hero::after {
    inset: 10px;
  }

  .wedding-partners-hero h2 {
    max-width: 100%;
    font-size: clamp(30px, 8.8vw, 36px);
    line-height: 1.04;
  }

  .wedding-partners .wedding-partner-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    width: 100%;
  }

  .wedding-faq-grid {
    grid-template-columns: 1fr;
  }

  .wedding-promo-photo {
    min-height: 0;
    transform: none;
  }

  .wedding-promo-photo,
  .wedding-partners-photo {
    aspect-ratio: 4 / 3;
  }

  .wedding-flow-grid,
  .wedding-partner-grid {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    scroll-snap-type: x mandatory;
  }

  .wedding-flow-grid article,
  .wedding-partner-card {
    flex: 0 0 min(82vw, 340px);
    scroll-snap-align: start;
  }

  .wedding-gallery {
    grid-template-columns: repeat(3, minmax(240px, 75vw));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .wedding-gallery img {
    scroll-snap-align: start;
  }

  .wedding-story-card {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    width: 100%;
  }

  .wedding-story-card img {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .wedding-local-map {
    max-width: 100%;
    margin-left: 0;
  }

  .wedding-local-map iframe {
    height: 240px;
  }

  .wedding-check-date {
    align-items: flex-start;
    flex-direction: column;
  }

  .wedding-story-hero {
    min-height: calc(92vh - 63px);
  }

  .wedding-story-hero-copy {
    width: min(100% - 28px, 760px);
    margin-bottom: 34px;
  }

  .wedding-story-hero-copy h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .wedding-story-intro,
  .wedding-story-chapter,
  .wedding-story-wide,
  .wedding-story-final {
    grid-template-columns: 1fr;
  }

  .wedding-story-intro,
  .wedding-story-chapter,
  .wedding-story-wide,
  .wedding-story-mosaic,
  .wedding-story-final,
  .wedding-story-cta {
    width: min(100% - 28px, 1180px);
  }

  .wedding-story-wide {
    padding: 22px;
  }

  .story-image-pair,
  .wedding-story-mosaic {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    scroll-snap-type: x mandatory;
  }

  .story-image-pair img,
  .wedding-story-mosaic img {
    flex: 0 0 min(82vw, 360px);
    height: 360px;
    scroll-snap-align: start;
  }

  .wedding-story-chapter-reverse .story-chapter-copy {
    order: 0;
  }

  .about-studio-grid {
    grid-template-columns: 1fr;
  }

  .studio-preview-card {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 26px 16px;
  }

  .studio-preview-carousel img {
    flex: 0 0 84%;
    min-width: 84%;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-intro img {
    max-height: 300px;
  }

  .awards-strip {
    padding: 20px 14px 24px;
  }

  .awards-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .awards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .award-item {
    min-height: 130px;
  }

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

  .family-polaroid-wall {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 14px;
    gap: 14px;
  }

  .polaroid-wall,
  .polaroid-wall.two-cols {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 14px;
    gap: 14px;
  }

  .family-polaroid-card,
  .polaroid-card {
    flex: 0 0 var(--polaroid-card-width);
    scroll-snap-align: center;
    position: relative;
    z-index: 1;
  }

  .family-polaroid-wall .family-polaroid-card + .family-polaroid-card,
  .polaroid-wall .polaroid-card + .polaroid-card {
    margin-left: -10px;
  }

  .family-polaroid-wall .family-polaroid-card:nth-child(odd),
  .polaroid-wall .polaroid-card:nth-child(odd) {
    z-index: 2;
  }

  .family-polaroid-wall .family-polaroid-card .btn,
  .polaroid-wall .polaroid-card .btn {
    position: relative;
    z-index: 4;
  }

  .event-notices {
    padding: 14px;
  }

  .event-notices-grid {
    grid-template-columns: 1fr;
  }

  .event-notice-card {
    min-height: 270px;
    padding: 16px;
  }

  .event-kpis {
    grid-template-columns: 1fr;
  }

  .event-flow,
  .event-offers,
  .event-gallery,
  .event-cta,
  .event-trust {
    padding: 14px;
  }

  .event-flow-grid,
  .event-offers-grid,
  .event-gallery,
  .event-trust-grid,
  .workshop-grid,
  .sala-posa-panel,
  .studio-spaces-grid,
  .studio-pricing-grid,
  .studio-faq-grid,
  .studio-gallery {
    grid-template-columns: 1fr;
  }

  .studio-wrap,
  .studio-pricing,
  .studio-faq,
  .studio-contact {
    padding: 14px;
  }

  .studio-hero-actions {
    flex-direction: column;
  }

  .studio-serial-pro {
    grid-template-columns: 1fr;
  }

  .studio-serial-pro .btn {
    min-width: 0;
    width: 100%;
  }

  .event-offer-card img {
    max-height: 260px;
  }

  .event-hero {
    min-height: calc(88vh - 63px);
  }

  .event-hero .hero-overlay {
    padding: 22px 16px;
  }

  .event-hero h1 {
    font-size: clamp(44px, 13vw, 60px);
  }

  .event-hero-immagina {
    min-height: calc(88vh - 63px);
  }

  .event-hero-immagina .hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    padding: 14px 12px;
    background: linear-gradient(180deg, rgba(9, 9, 10, 0) 0%, rgba(9, 9, 10, 0.7) 100%);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .event-hero-immagina .hero-overlay::before {
    display: none;
  }

  .event-hero-immagina .eyebrow,
  .event-hero-immagina h1,
  .event-hero-immagina .hero-text,
  .event-hero-immagina .event-hero-note {
    display: none;
  }

  .event-hero-immagina .hero-actions {
    margin: 0;
    width: 100%;
  }

  .event-hero-immagina .hero-actions .btn-outline {
    display: none;
  }

  .event-hero-immagina .hero-actions .btn-gold {
    width: 100%;
    text-align: center;
  }

  .sub-link {
    min-height: 96px;
    padding: 18px;
  }

  .detail-section {
    padding: 16px;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .album-nav {
    padding: 12px;
  }

  .album-wall {
    grid-template-columns: 1fr;
  }

  .album-card {
    min-height: 180px;
  }

  .album-drawer {
    padding: 14px;
  }

  .family-drawer .album-main {
    max-height: 68vh;
  }

  .family-drawer .album-thumbs {
    padding: 10px;
    gap: 10px;
  }

  .family-drawer .album-thumb {
    min-width: 84px;
    width: 84px;
    height: 114px;
  }

  .film-drawer .album-main {
    max-height: 68vh;
  }

  .film-drawer .album-thumbs {
    padding: 10px;
    gap: 10px;
  }

  .film-drawer .album-thumb {
    min-width: 84px;
    width: 84px;
    height: 114px;
  }

  .album-drawer-head {
    flex-direction: column;
    align-items: start;
  }

  .album-title-row {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .service-info-btn {
    padding: 10px 18px;
    font-size: 12px;
  }

  .album-copy {
    font-size: 15px;
  }

  .service-modal-dialog {
    width: calc(100vw - 14px);
    max-height: calc(100vh - 14px);
    margin: 7px auto;
    padding: 18px 14px;
  }

  .service-modal-dialog p {
    font-size: 17px;
  }

  .album-main {
    max-height: 62vh;
  }

  .album-thumb {
    min-width: 72px;
    width: 72px;
    height: 92px;
  }

  .slider-nav {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .thumb {
    min-width: 72px;
    width: 72px;
    height: 96px;
  }

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

  .testimonials-slide {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .testimonials-slide .quote-item {
    border-right: 0;
  }

  .testimonials-slide .quote-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 14px;
  }

  .quote-item {
    padding-right: 0;
  }

  .quote-item blockquote {
    font-size: 17px;
  }

  .footer {
    grid-template-columns: 1fr;
    padding: 24px 16px 96px;
  }

  .footer-home {
    grid-template-columns: 1fr;
  }

  .footer-home-col {
    padding: 20px 16px;
  }

  .footer-home .footer-home-col + .footer-home-col,
  .footer-home-decor {
    order: 0;
    border-right: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .footer-home-decor {
    min-height: 140px;
    background-size: 44% auto;
  }

  .footer-home-meta {
    padding: 14px 16px;
  }

  .footer-home-meta p {
    font-size: 12px;
    line-height: 1.5;
  }

  .footer-compact {
    padding: 16px 14px 30px;
    gap: 8px;
  }

  .footer-compact h2 {
    font-size: clamp(34px, 9vw, 42px);
  }

  .footer-compact h3 {
    font-size: 28px;
    margin-bottom: 4px;
  }

  .footer-compact ul {
    font-size: 16px;
  }

  .bio-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    margin: 8px auto;
  }

  .bio-content {
    grid-template-columns: 1fr;
  }

  .bio-image {
    max-height: 250px;
  }

  .bio-text {
    padding: 16px 16px 22px;
    max-height: calc(100vh - 210px);
  }

  .event-popup-dialog {
    width: calc(100vw - 14px);
    margin: 7px auto;
    max-height: calc(100vh - 18px);
    grid-template-columns: 1fr;
  }

  .event-popup-media img {
    max-height: 34vh;
  }

  .event-popup-content {
    padding: 12px 12px 14px;
    gap: 6px;
  }

  .event-popup-content .eyebrow {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .event-popup-content h2 {
    font-size: clamp(34px, 10.5vw, 48px);
    line-height: 0.94;
  }

  .event-popup-content p {
    font-size: 16px;
    line-height: 1.45;
    margin: 0;
  }

  .event-popup-content .hero-actions {
    margin-top: 4px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .event-popup-content .hero-actions .btn {
    padding: 9px 12px;
    font-size: 12px;
  }
}

@media (max-width: 1200px) and (min-width: 981px) {
  .settings-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .highlights-grid {
    gap: 12px;
  }

  .highlight-card {
    flex-basis: 30%;
  }

  .highlight-immagina {
    flex-basis: 40%;
    min-height: 290px;
  }

  .subsection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.footer-legal-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.footer-legal-links a {
  color: #c8b49c;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-legal-links a:hover {
  color: var(--gold);
}

.cookie-consent {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: grid;
  justify-items: center;
  pointer-events: none;
  animation: cookieFadeIn 0.24s ease;
}

.cookie-consent.is-closed {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cookie-consent-inner {
  pointer-events: auto;
  width: min(100%, 1060px);
  border: 1px solid rgba(185, 138, 88, 0.55);
  background: #1a1a1d;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.cookie-consent-inner h3 {
  margin: 0;
  font-size: clamp(36px, 2.6vw, 46px);
}

.cookie-consent-inner p {
  margin: 0;
  color: #ddd3c6;
}

.cookie-consent-inner p a {
  color: #f0dfca;
}

.cookie-consent-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  color: #e7dece;
}

.cookie-consent-categories label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-consent-actions .btn {
  min-width: 180px;
}

@keyframes cookieFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .cookie-consent {
    left: 8px;
    right: 8px;
    bottom: 8px;
    align-items: end;
  }

  .cookie-consent-inner {
    max-height: min(58vh, 430px);
    overflow: auto;
    padding: 12px;
    gap: 8px;
  }

  .cookie-consent-inner h3 {
    font-size: clamp(22px, 7vw, 30px);
    line-height: 0.95;
  }

  .cookie-consent-inner p {
    font-size: 13px;
    line-height: 1.35;
  }

  .cookie-consent-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
  }

  .cookie-consent-categories label {
    font-size: 12px;
    gap: 6px;
  }

  .cookie-consent-actions {
    gap: 8px;
  }

  .cookie-consent-actions .btn {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    font-size: 12px;
  }
}
