@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Pinyon+Script&family=Quattrocento:wght@400;700&display=swap");

/* Palette e layout base */
:root {
  --deep-teal: #4e6e6b;
  --dusty-olive: #64795d;
  --pale-oak: #c7b7a7;
  --alabaster-grey: #e6e6e8;
  --soft-white: #f8f6f3;
  --text-dark: #2c3a37;
  --shadow: 0 20px 50px rgba(46, 60, 58, 0.12);
  --radius: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scroll-padding-top: 0;
}

body {
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  font-family: "Quattrocento", "Georgia", serif;
  color: var(--text-dark);
  background: linear-gradient(160deg, #f8f6f3 0%, #e6e6e8 45%, #f8f6f3 100%);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
}

p {
  margin: 0 0 16px;
}

.mobile-break {
  display: none;
}

@media (max-width: 768px) {
  .mobile-break {
    display: block;
  }
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 6vw;
  background: transparent;
  border-bottom: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header:not(.is-scrolled) .logo,
.site-header:not(.is-scrolled) .site-nav a {
  color: #ffffff;
}

.site-header:not(.is-scrolled) .site-nav a::after {
  background: #ffffff;
}

.site-header:not(.is-scrolled) {
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.15) 70%,
      transparent 100%);
}

.site-header.is-scrolled {
  backdrop-filter: blur(12px);
  background: rgba(248, 246, 243, 0.9);
  border-bottom: 1px solid rgba(78, 110, 107, 0.1);
}

.logo {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.4rem;
  letter-spacing: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--deep-teal);
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a:focus::after,
.site-nav a.is-active::after {
  width: 100%;
}

.site-nav a.nav-rsvp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  line-height: 1;
  border: 1px solid currentColor;
  border-radius: 0;
}

.hero {
  min-height: 100vh;
  display: grid;
  padding: 0 6vw;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 0;
  scroll-snap-align: start;
  scroll-margin-top: 0;
  background: url("img/carousel/hero-x.png") center/cover no-repeat;
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.45) 30%,
      rgba(0, 0, 0, 0.2) 60%,
      transparent 100%);
  z-index: 1;
}

.hero-content h1 {
  font-family: "Pinyon Script", cursive;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  margin: 0;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 36px;
  letter-spacing: 0.45rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin: 10px 0 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-rsvp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  padding: 14px 52px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
  font-family: "Quattrocento", "Georgia", serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.35rem;
  text-indent: 0.35rem;
  /* Offset for letter-spacing to center text */
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.hero-rsvp-btn:hover,
.hero-rsvp-btn:focus {
  background: rgba(255, 255, 255, 0.15);
}

.hero-corner {
  position: absolute;
  bottom: 32px;
  font-family: "Quattrocento", serif;
  font-size: 19px;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.hero-corner-left {
  left: 6vw;
}

.hero-corner-right {
  right: 6vw;
  text-align: right;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.hero-date {
  font-size: 1rem;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
}

.hero-text {
  font-size: 1.1rem;
  max-width: 460px;
}

.section {
  padding: 80px 6vw;
  scroll-snap-align: start;
  scroll-margin-top: 0;
}

.section-viaggio {
  position: relative;
  min-height: 100vh;
  padding: 0;
  background: url("img/sections/6-section-travel.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.section-viaggio::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.viaggio-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 0 6vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.viaggio-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  margin-bottom: 24px;
  line-height: 1.2;
  max-width: 850px;
}

.viaggio-description {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.8;
  margin-bottom: 48px;
  opacity: 0.95;
  max-width: 850px;
}

/* RSVP TEASER */
.section-rsvp-teaser {
  background-color: #c7c0ad;
  /* Estimated beige from photo */
  min-height: 100vh;
  padding: 80px 0;
  color: #2c3a37;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
}

.rsvp-teaser-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6vw;
  width: 100%;
}

.rsvp-teaser-left {
  display: flex;
  justify-content: flex-end;
}

.rsvp-teaser-photo {
  width: 100%;
  max-width: 500px;
  height: auto;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.15);
}

.rsvp-teaser-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rsvp-teaser-title {
  font-family: "Quattrocento", serif;
  font-size: 2.5rem !important;
  /* Fixed for desktop */
  /* Fixed for desktop */
  line-height: 1.2;
  font-weight: 400;
  margin: 0;
  color: #2c3a37;
  max-width: 850px;
  /* Force 3-line wrap naturally */
}

.rsvp-teaser-description {
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.85;
  margin: 10px 0;
}

.rsvp-teaser-btn {
  display: inline-block;
  align-self: flex-start;
  padding: 15px 35px;
  border: 1px solid #2c3a37;
  color: #2c3a37;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.rsvp-teaser-btn:hover {
  background: #2c3a37;
  color: #fff;
}

.rsvp-teaser-deadline {
  font-family: "Quattrocento", serif;
  font-size: 1.15rem;
  opacity: 0.8;
  margin-top: 10px;
}




.viaggio-btn {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid #fff;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.viaggio-btn:hover {
  background: #fff;
  color: var(--text-dark);
}

.section-kicker {
  font-family: "Quattrocento", serif;
  font-size: 1.5rem;
  letter-spacing: 0.4rem;
  text-transform: uppercase;
  margin: 0;
  color: rgba(44, 58, 55, 0.7);
}

.section-ricevimento {
  background: #949574;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  scroll-snap-align: start;
}

.villabossi-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.villabossi-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding: 80px 6vw 80px 8vw;
}

.villabossi-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.villabossi-kicker {
  font-size: 1.5rem;
  letter-spacing: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

.villabossi-title {
  font-family: "Pinyon Script", cursive;
  font-size: clamp(4rem, 6vw, 5.5rem);
  color: #fff;
  margin: 0;
  line-height: 1;
}

.villabossi-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.villabossi-time-row {
  display: flex;
  align-items: baseline;
  gap: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 20px;
}

.villabossi-hour {
  font-family: "Quattrocento", serif;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 400;
  color: #fff;
  min-width: 110px;
  line-height: 1;
}

.villabossi-event {
  font-family: "Quattrocento", serif;
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  letter-spacing: 0.05rem;
  color: rgba(255, 255, 255, 0.85);
}

.villabossi-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 48px 6vw;
  background: #949574;
}

.villabossi-photo {
  width: 100%;
  max-width: 480px;
  height: auto;
  aspect-ratio: 4 / 3;
  /* Fixed aspect ratio to prevent jumping */
  object-fit: cover;
  display: block;
}

.villabossi-actions {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.villabossi-btn {
  font-family: "Quattrocento", serif;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.7);
  padding: 12px 28px;
  font-size: 0.85rem;
  letter-spacing: 0.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.villabossi-btn.is-active,
.villabossi-btn:hover {
  background: #fff;
  border-color: #fff;
  color: var(--text-dark);
}

.villabossi-texts {
  position: relative;
  max-width: 500px;
  min-height: 120px;
  /* Reserve space for about 4-5 lines of text */
}

.villabossi-text {
  font-family: "Quattrocento", serif;
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  display: none;
  white-space: pre-line;
  margin: 0;
}

.villabossi-text.is-active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .section-ricevimento {
    height: auto;
    min-height: 100vh;
  }

  .villabossi-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .villabossi-left {
    padding: 120px 6vw 24px;
    gap: 32px;
  }

  .villabossi-right {
    padding: 0 6vw 80px;
  }

  .villabossi-title {
    font-size: 3.2rem;
  }
}

/* ── US SECTION ─────────────────────────────────── */
.section-us {
  background: #c4b99a;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 6vw;
  gap: 48px;
}

.us-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1100px;
}

.us-name {
  font-family: "Quattrocento", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  color: var(--text-dark);
  line-height: 1.15;
  white-space: pre-line;
}

.us-name-left {
  text-align: center;
}

.us-name-right {
  text-align: center;
}

.us-photo-wrap {
  display: flex;
  justify-content: center;
}

.us-photo {
  width: min(280px, 40vw);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.us-story {
  font-family: "Quattrocento", serif;
  font-size: 1.3rem;
  letter-spacing: 0.05rem;
  color: var(--text-dark);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.8;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .section-us {
    justify-content: flex-start;
    padding-top: 130px;
  }

  .us-layout {
    grid-template-columns: 1fr auto 1fr;
    justify-items: center;
    gap: 16px;
  }

  .us-name {
    font-size: 1.3rem;
  }

  .us-photo {
    width: min(140px, 36vw);
  }

  .us-story {
    font-size: 1.15rem;
  }
}

/* ── AROUND SECTION ──────────────────────────────── */
.section-around {
  background: #c4b99a;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  scroll-snap-align: start;
  padding: 0;
}

.around-inner {
  width: 100%;
  max-width: 1400px;
  padding: 0 2vw;
}

.around-track-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden; /* Prevent cards from showing outside */
}

.around-track {
  display: flex;
  gap: 48px;
  flex: 1;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.around-arrow {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 10;
}

.around-arrow svg {
  transition: transform 0.3s ease;
}

.around-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.around-arrow:active {
  transform: scale(0.95);
}

.around-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}

.around-card {
  flex: 0 0 calc((100% - 96px) / 3); /* Fixed width for 3 cards, accounting for 2 gaps of 48px */
  aspect-ratio: 3 / 4;
  perspective: 1000px;
  cursor: pointer;
}

.around-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
}

.around-card:hover .around-card-inner,
.around-card.is-flipped .around-card-inner {
  transform: rotateY(180deg);
}

.around-card-front,
.around-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 2px;
  overflow: hidden;
}

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

.around-card-back {
  transform: rotateY(180deg);
}

.around-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: blur(6px) brightness(0.45);
  transform: scale(1.08);
}

.around-card-back-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.around-card-year {
  font-family: "Quattrocento", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.15rem;
}

.around-card-divider {
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.around-card-location {
  font-family: "Quattrocento", serif;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.35rem;
  text-transform: uppercase;
}

.around-card-km {
  font-family: "Quattrocento", serif;
  font-size: clamp(0.8rem, 1.1vw, 1rem);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.15rem;
  margin-top: 6px;
}

.around-track {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.around-track.slide-exit-left {
  opacity: 0;
  transform: translateX(-40px);
}

.around-track.slide-exit-right {
  opacity: 0;
  transform: translateX(40px);
}

.around-track.slide-enter-right {
  opacity: 0;
  transform: translateX(40px);
  transition: none;
}

.around-track.slide-enter-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: none;
}

.around-track.slide-active {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

@media (max-width: 768px) {
  .section-around {
    height: auto;
    min-height: 100vh;
    padding: 120px 0 60px;
  }

  .around-inner {
    padding: 0 4vw;
  }

  .around-track {
    gap: 0;
    flex: 1;
  }

  .around-track-wrap {
    position: relative;
    padding: 0 10px;
  }

  .around-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: rgba(0, 0, 0, 0.2); /* Slightly darker for better contrast on mobile */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
  }

  .around-arrow-prev {
    left: 10px;
  }

  .around-arrow-next {
    right: 10px;
  }

  .around-arrow svg {
    width: 20px;
    height: 20px;
  }

  .around-card {
    flex: 0 0 100%; /* Full width on mobile */
    max-width: none;
  }
}

/* ── COUNTDOWN SECTION ───────────────────────────── */
.section-countdown {
  min-height: 100vh;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8vh;
  background: url("img/sections/section-countdown.png") center / cover no-repeat;
  scroll-snap-align: start;
  overflow: hidden;
}


.countdown-intro {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05rem;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.countdown-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.countdown-boxes {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.countdown-box {
  min-width: 150px;
  width: 150px;
  padding: 28px 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.countdown-value {
  font-family: "Quattrocento", serif;
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: block;
  width: 100%;
  text-align: center;
}

.countdown-label {
  font-family: "Quattrocento", serif;
  font-size: 0.75rem;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  display: block;
  width: 100%;
  text-align: center;
}

.countdown-sep {
  font-family: "Quattrocento", serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  padding-top: 18px;
  line-height: 1;
}

@media (max-width: 768px) {
  .section-countdown {
    padding-bottom: 14vh;
  }

  .countdown-intro {
    font-size: 1.5rem;
    padding: 0 6vw;
  }

  .countdown-boxes {
    gap: 10px;
    flex-wrap: nowrap;
  }

  .countdown-sep {
    display: none;
  }

  .countdown-box {
    min-width: 86px;
    width: 86px;
    padding: 16px 4px 14px;
  }

  .countdown-value {
    font-size: 2.7rem;
  }

  .countdown-label {
    font-size: 0.75rem;
    letter-spacing: 0.1rem;
  }
}

/* ── CERIMONIA ───────────────────────────────────── */
.section-cerimonia {
  background: #949574;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  scroll-snap-align: start;
}

.cerimonia-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.cerimonia-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding: 80px 6vw 80px 8vw;
}

.cerimonia-left .section-kicker {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  letter-spacing: 0.4rem;
}

.cerimonia-times {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cerimonia-time-row {
  display: flex;
  align-items: baseline;
  gap: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 20px;
}

.cerimonia-hour {
  font-family: "Quattrocento", serif;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 400;
  color: #fff;
  min-width: 110px;
  line-height: 1;
}

.cerimonia-event-label {
  font-family: "Quattrocento", serif;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  letter-spacing: 0.05rem;
  color: rgba(255, 255, 255, 0.85);
}

.cerimonia-parking {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cerimonia-parking-title {
  font-family: "Quattrocento", serif;
  font-size: 0.9rem;
  letter-spacing: 0.35rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.cerimonia-parking-text {
  font-family: "Quattrocento", serif;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  white-space: pre-line;
}

.cerimonia-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 48px 6vw;
  background: #949574;
}

.cerimonia-location-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cerimonia-church-name {
  font-family: "Quattrocento", serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  color: #fff;
  margin: 0;
  letter-spacing: 0.05rem;
}

.cerimonia-location-detail {
  font-family: "Quattrocento", serif;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.cerimonia-photo {
  width: 100%;
  max-width: 480px;
  height: auto;
  max-height: 52vh;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.cerimonia-right-footer {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 16px;
  flex-wrap: wrap;
}

.cerimonia-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  font-family: "Quattrocento", serif;
  font-size: 0.68rem;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}

.cerimonia-map-btn:hover,
.cerimonia-map-btn:focus {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .section-cerimonia {
    height: auto;
    min-height: 100vh;
  }

  .cerimonia-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centering */
    text-align: center;
    padding: 130px 8vw 120px;
    /* Aligned with Ricevimento */
    height: auto;
  }

  .cerimonia-left,
  .cerimonia-right {
    display: contents;
    /* Ensure children are flex items of cerimonia-layout */
  }

  .section-cerimonia .section-kicker {
    order: 1 !important;
    display: block !important;
    margin-bottom: 24px;
    padding-top: 0;
    /* Parent has the padding */
  }

  .cerimonia-location-info {
    order: 2 !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
  }

  .cerimonia-photo {
    order: 3 !important;
    width: 100% !important;
    max-width: 480px !important;
    /* Keep it sane but centered */
    height: auto !important;
    max-height: none !important;
    margin-bottom: 40px;
  }

  .cerimonia-times {
    order: 4 !important;
    width: 100%;
    max-width: 380px;
    /* Aligned block width */
    margin: 0 auto 40px;
  }

  .cerimonia-time-row {
    justify-content: flex-start;
    text-align: left;
    gap: 32px;
  }

  .cerimonia-parking {
    order: 5 !important;
    width: 100%;
    margin-bottom: 40px;
  }

  .cerimonia-right-footer {
    order: 6 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
  }

  .cerimonia-map-btn {
    width: 100%;
    max-width: 320px;
  }



  .cerimonia-parking-text {
    font-size: 1.1rem;
  }

  .cerimonia-hour {
    font-size: 1.6rem;
    min-width: 100px;
    line-height: 1.1;
  }


  .cerimonia-event-label {
    font-size: 1rem;
  }
}


.hero-content {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  max-width: none;
  width: 100%;
  margin: 0 auto;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
}

.hero-countdown {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-countdown-box {
  min-width: 90px;
  width: 90px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  display: grid;
  gap: 4px;
  text-align: center;
  justify-items: center;
}

.hero-countdown-label {
  color: rgba(255, 255, 255, 0.85);
}

.hero-countdown-value {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}


.section-header {
  margin-bottom: 32px;
  max-width: 620px;
}

.section-lead {
  font-size: 1.05rem;
  color: #4a5a57;
}

.grid {
  display: grid;
  gap: 24px;
}

.two-cols {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.three-cols {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  background: var(--soft-white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(78, 110, 107, 0.08);
}

.card.highlight {
  background: linear-gradient(145deg, #f8f6f3, #e6e6e8);
}

.place {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.muted {
  color: #6d7a78;
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--deep-teal);
  color: #fff;
  box-shadow: 0 10px 20px rgba(78, 110, 107, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--deep-teal);
  border-color: var(--deep-teal);
}

.btn-secondary:hover,
.btn-secondary:focus {
  box-shadow: 0 10px 20px rgba(78, 110, 107, 0.15);
}

.image-placeholder {
  min-height: 280px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #c7b7a7, #e6e6e8);
  border: 1px dashed rgba(78, 110, 107, 0.4);
  position: relative;
  overflow: hidden;
}

.image-placeholder::after {
  content: "Inserisci qui una foto della location";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  color: #4a5a57;
  text-align: center;
  padding: 16px;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.timeline li {
  display: grid;
  grid-template-columns: minmax(120px, 160px) 1fr;
  gap: 16px;
  padding: 16px 20px;
  background: var(--soft-white);
  border-radius: 16px;
  border-left: 3px solid var(--dusty-olive);
  box-shadow: var(--shadow);
}

.timeline .time {
  font-weight: 600;
  color: var(--dusty-olive);
}

.timeline .event {
  font-size: 1rem;
}

.rsvp-form {
  max-width: 620px;
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(78, 110, 107, 0.3);
  font-family: inherit;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(78, 110, 107, 0.35);
  border-color: transparent;
}

.field-error {
  font-size: 0.85rem;
  color: #8b3a3a;
  min-height: 1em;
}

.form-success {
  font-weight: 600;
  color: var(--deep-teal);
  min-height: 1.2em;
}

.link {
  color: var(--deep-teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* CUSTOM FOOTER */
.custom-footer {
  background-color: #24221d;
  /* Dark espresso / deep grey */
  padding: 120px 6vw 80px;
  color: #fff;
  text-align: center;
  scroll-snap-align: end;
}

.custom-footer.is-short {
  padding: 60px 6vw;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.footer-waiting {
  font-family: "Pinyon Script", cursive;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 400;
  color: #fff;
  margin: 0;
  line-height: 1;
}

.footer-photo-wrap {
  width: 100%;
  max-width: 900px;
  overflow: hidden;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: "Quattrocento", serif;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  letter-spacing: 0.1rem;
  opacity: 0.6;
}

.footer-heart {
  font-size: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 2px;
    padding: 10px 2vw 6px;
  }

  .site-nav {
    flex-wrap: nowrap;
    justify-content: center;
    font-size: clamp(0.75rem, 3.1vw, 1.1rem);
    letter-spacing: clamp(0.1px, 0.15vw, 0.5px);
    gap: clamp(8px, 2.2vw, 16px);
    width: 100%;
    padding: 4px 1vw 0;
  }

  .site-nav a.nav-rsvp {
    padding: 4px 10px;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 0 4vw;
    background-position: 44% center;
  }

  .hero-content h1 {
    font-size: clamp(3rem, 14vw, 5rem);
    letter-spacing: 1px;
    white-space: normal;
  }

  .hero-subtitle {
    margin: 4px 0 0 !important;
    font-size: 24px !important;
  }

  .hero-rsvp-btn {
    padding: 12px 36px;
    font-size: 0.9rem;
    text-indent: 0.35rem;
    /* Match desktop offset */
    margin-top: 20px !important;
  }

  .hero-countdown {
    margin-top: 10px !important;
  }

  .hero-corner {
    font-size: 1rem !important;
    letter-spacing: 0.12rem !important;
    bottom: auto !important;
    top: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    white-space: nowrap;
  }

  .hero-corner-left {
    bottom: 120px !important;
  }

  .hero-corner-right {
    bottom: 88px !important;
  }

  .ricevimento-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ricevimento-content {
    text-align: center;
    max-width: none;
  }

  .programma-panel {
    width: 100%;
    max-width: none;
  }

  .viaggio-title {
    white-space: normal;
    font-size: 2.2rem;
  }

  /* RSVP TEASER MOBILE REFINEMENTS */
  .section-rsvp-teaser {
    padding-top: 120px;
    /* Visibility under nav */
    padding-bottom: 80px;
    height: auto;
    min-height: 100vh;
  }

  .rsvp-teaser-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .rsvp-teaser-left,
  .rsvp-teaser-right {
    display: contents;
  }

  .rsvp-teaser-title {
    order: 1;
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    max-width: 100%;
  }

  .rsvp-teaser-photo {
    order: 2;
    max-width: 85%;
    margin: 0 auto;
  }

  .rsvp-teaser-description {
    order: 3;
    font-size: 1.35rem;
    line-height: 1.6;
    padding: 0 10px;
    margin: 15px 0;
  }

  .rsvp-teaser-btn {
    order: 4;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px 30px;
    font-size: 0.85rem;
    white-space: nowrap;
    /* Explicitly avoid wrapping */
  }

  .rsvp-teaser-deadline {
    order: 5;
    font-size: 1.25rem;
    margin-top: 15px;
  }

  .section-kicker {
    display: block !important;
    font-size: 1.2rem !important;
    text-align: center !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }

  .villabossi-header {
    align-items: center !important;
    text-align: center !important;
  }

  .villabossi-left {
    padding: 130px 10vw 48px !important;
  }

  .villabossi-time-row {
    gap: 20px;
  }

  .villabossi-hour {
    min-width: 100px !important;
    font-size: 2rem !important;
  }

  .villabossi-event {
    font-size: 1.3rem !important;
  }

  .villabossi-btn {
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.15rem !important;
    flex: 1;
  }

  .villabossi-text {
    font-size: 1.25rem;
    line-height: 1.7;
    max-width: 100%;
  }

  /* ── MOBILE SCROLL FIX ─────────────────────────── */
  /* Disable mandatory snap on mobile so tall sections
     scroll naturally and anchor nav works correctly   */
  html,
  body {
    scroll-snap-type: none;
  }

  .hero,
  .section,
  .section-countdown,
  .section-viaggio {
    scroll-snap-align: none;
  }

  /* Section-us can overflow 100vh on small phones */
  .section-us {
    height: auto;
    min-height: unset;
    padding-bottom: 48px;
  }

  /* Viaggio: push content below fixed header */
  .viaggio-content {
    padding-top: 120px;
  }
}

/* ── HONEYMOON PAGE ──────────────────────────────── */
.section-honeymoon {
  background: rgb(196, 185, 154) !important;
  color: #2c3a37;
  padding: 140px 0 100px !important;
  min-height: 100vh;
}

.section-honeymoon::before {
  display: none !important;
}

.honeymoon-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4vw;
  text-align: center;
}

.honeymoon-header {
  max-width: 1000px;
  margin: 0 auto 80px;
}

.honeymoon-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: 0.15rem;
  margin: 20px 0 30px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #1a2523;
}

.honeymoon-intro {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #3e4d4a;
  opacity: 0.9;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.experience-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.experience-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.card-img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.experience-card:hover .card-img-wrap img {
  transform: scale(1.1);
}

.card-content {
  padding: 30px 24px;
  text-align: left;
}

.card-content h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  margin: 0 0 12px;
  color: #1a2523;
  letter-spacing: 0.1rem;
}

.card-content p {
  font-family: "Quattrocento", serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #3e4d4a;
  margin: 0;
}

@media (max-width: 768px) {
  .section-honeymoon {
    padding-top: 120px !important;
  }

  .experience-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .honeymoon-title {
    font-size: 2.5rem;
  }

  .card-content h3 {
    font-size: 1.8rem !important;
  }

  .card-content p {
    font-size: 1.25rem !important;
  }

  .gift-label {
    font-size: 1rem !important;
  }

  .gift-code {
    font-size: 1.2rem !important;
  }
}

.card-img-wrap {
  position: relative;
}

.card-gift-info {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(44, 58, 55, 0.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gift-label {
  font-family: "Quattrocento", serif;
  font-size: 0.8rem;
  color: #6d7a78;
  font-style: italic;
  line-height: 1.4;
}

.gift-code {
  font-family: "Quattrocento", serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--deep-teal);
  letter-spacing: 0.15rem;
  text-transform: uppercase;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Quattrocento", serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25rem;
  color: var(--deep-teal);
  margin-bottom: 8px;
  opacity: 0.9;
}

.card-location::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

/* Australia Flag */
.experience-card:nth-child(-n+4) .card-location::before {
  content: "🇦🇺";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: none;
  border: none;
}

/* Cook Islands Flag */
.experience-card:nth-child(n+5) .card-location::before {
  content: "🇨🇰";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: none;
  border: none;
  border-radius: 0;
}

/* Honeymoon Registry Section */
.registry-section {
  margin-top: 100px;
  padding: 80px 6vw;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.registry-intro,
.registry-closing {
  font-family: "Quattrocento", serif;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #3e4d4a;
  max-width: 750px;
  margin: 0 auto;
}

.registry-intro {
  margin-bottom: 50px;
}

.registry-closing {
  margin-top: 50px;
  font-style: italic;
}

.registry-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 40px 0;
}

.registry-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.registry-label {
  font-family: "Quattrocento", serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  font-size: 0.75rem;
  color: var(--deep-teal);
  opacity: 0.8;
}

.registry-value {
  font-family: "Quattrocento", serif;
  font-size: 1.1rem;
  color: #1a2523;
  white-space: pre-line;
  overflow-wrap: break-word;
}

.registry-note {
  font-family: "Quattrocento", serif;
  font-size: 0.85rem;
  color: #6d7a78;
  font-style: italic;
  margin-top: -4px;
}

.copy-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.copy-btn {
  background: none;
  border: 1px solid rgba(78, 110, 107, 0.2);
  color: var(--deep-teal);
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: var(--deep-teal);
  color: #fff;
  border-color: var(--deep-teal);
}

.copy-btn.copied {
  background: #64795d;
  color: #fff;
  border-color: #64795d;
}

@media (max-width: 768px) {
  .registry-section {
    margin-top: 60px;
    padding: 50px 6vw;
  }

  .registry-details {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .registry-label {
    font-size: 0.85rem !important;
  }

  .registry-value {
    font-size: 1rem !important;
    word-break: break-all;
    flex: 1;
  }

  .registry-note {
    font-size: 0.95rem !important;
  }
}

/* Honeymoon Tabs */
.honeymoon-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.tab-btn {
  background: none;
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  padding: 12px 30px;
  font-family: "Quattrocento", serif;
  font-size: 0.96rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.tab-btn.is-active,
.tab-btn:hover {
  background: var(--text-dark);
  color: #fff;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-pane.is-active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .honeymoon-tabs {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  .tab-btn {
    width: auto;
    max-width: none;
    padding: 14px 24px;
    font-size: 0.95rem;
    letter-spacing: 0.15rem;
    text-align: center;
  }
}

/* Registry Section Adjustments for Tabs */
.registry-section {
  margin-top: 0;
  /* Reset margin top as tabs provide spacing */
}

/* ── CERIMONIA LARGE SCREENS ────────────────────── */
@media (min-width: 1440px) {
  .cerimonia-left {
    gap: 48px;
    padding-left: 10vw;
  }

  .cerimonia-right {
    gap: 32px;
  }

  .cerimonia-church-name {
    font-size: 2.2rem;
  }

  .cerimonia-location-detail {
    font-size: 1.5rem;
  }

  .cerimonia-photo {
    max-width: 640px;
    max-height: 55vh;
  }

  .cerimonia-hour {
    font-size: 2.6rem;
  }

  .cerimonia-event-label {
    font-size: 1.8rem;
  }

  .cerimonia-parking-title {
    font-size: 1.1rem;
  }

  .cerimonia-parking-text {
    font-size: 1.5rem;
  }

  .cerimonia-map-btn {
    padding: 14px 22px;
    font-size: 0.85rem;
    letter-spacing: 0.2rem;
  }

  .cerimonia-right-footer {
    gap: 16px;
  }
}
/* ── TABLET OPTIMIZATIONS (iPad Mini 768px) ──────────────── */
@media (min-width: 600px) and (max-width: 1024px) {
  /* Increase header/title sizes */
  .section-kicker {
    font-size: 2rem !important;
    letter-spacing: 0.5rem !important;
  }

  .countdown-intro {
    font-size: 2.2rem !important;
    margin-bottom: 2rem !important;
  }

  /* Countdown numbers */
  .countdown-value {
    font-size: 3.2rem !important;
  }

  /* Ceremony details */
  .cerimonia-hour {
    font-size: 2.2rem !important;
    min-width: 140px !important;
  }

  .cerimonia-event-label {
    font-size: 1.4rem !important;
  }

  .cerimonia-parking-title {
    font-size: 1.1rem !important;
  }

  .cerimonia-parking-text {
    font-size: 1.4rem !important;
  }

  /* Villa Bossi details */
  .villabossi-title {
    font-size: 1.8rem !important;
  }

  .villabossi-text {
    font-size: 1.25rem !important;
  }

  /* Registry details */
  .registry-value {
    font-size: 1.3rem !important;
  }
}



/* ── Q&A SECTION ───────────────────────────────────── */
.section-qanda {
  padding: 100px 6vw;
  background-color: var(--soft-white);
}

.qanda-inner {
  max-width: 1100px; /* Wider for two columns */
  margin: 0 auto;
  text-align: center;
}

.qanda-intro {
  font-size: 1.15rem;
  color: #4a5a57;
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.8;
  white-space: pre-line;
}

.qanda-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  text-align: left;
  align-items: stretch;
}

.qanda-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(78, 110, 107, 0.08);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.qanda-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.qanda-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  background: none;
  border: none;
  cursor: default; /* Static on desktop */
  text-align: left;
  gap: 20px;
}

.qanda-q {
  font-family: "Quattrocento", serif;
  font-size: 1.25rem;
  color: var(--deep-teal);
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.qanda-toggle {
  display: none; /* Hidden on desktop */
}

.qanda-content {
  padding: 0 32px 24px;
  opacity: 1;
  visibility: visible;
  max-height: none;
}

.qanda-a {
  font-size: 1.05rem;
  color: #6d7a78;
  margin: 0;
  line-height: 1.7;
  white-space: pre-line;
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .section-qanda {
    padding: 80px 6vw;
  }
  
  .qanda-intro {
    font-size: 1.1rem;
    margin-bottom: 40px;
  }
  
  .qanda-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .qanda-header {
    padding: 20px 24px;
    cursor: pointer; /* Interactive on mobile */
  }
  
  .qanda-q {
    font-size: 1.15rem;
  }
  
  .qanda-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-family: "Quattrocento", serif;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--deep-teal);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
  }
  
  .qanda-item.is-active .qanda-toggle {
    transform: rotate(45deg);
  }
  
  .qanda-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  }
  
  .qanda-item.is-active .qanda-content {
    padding-bottom: 24px;
    opacity: 1;
    visibility: visible;
  }
  
  .qanda-a {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
  }
  
  .qanda-item.is-active .qanda-a {
    opacity: 1;
    transform: translateY(0);
  }
}
