/* =========================================================
   Liz & Fer digital invitation
   ========================================================= */

@font-face {
  font-family: 'Abramo Script';
  src: url('assets/fonts/Abramo-Script.otf') format('opentype');
}

@font-face {
  font-family: 'BDSans';
  src: url('assets/fonts/BDSans-Bold.otf') format('opentype');
  font-weight: 700;
}

@font-face {
  font-family: 'BDSans';
  src: url('assets/fonts/BDSans-Regular.otf') format('opentype');
  font-weight: 400;
}

@font-face {
  font-family: 'BDScript';
  src: url('assets/fonts/BDScript-Bold.otf') format('opentype');
}

@font-face {
  font-family: 'Bicers';
  src: url('assets/fonts/bicers.otf') format('opentype');
}

@font-face {
  font-family: 'MagicalWishes';
  src: url('assets/fonts/magical-wishes.ttf') format('truetype');
}

:root {
  --green: #636e56;
  --green-dark: #515b49;
  --sage: #747c67;
  --taupe: #ad9d92;
  --paper: #f6f4ef;
  --ink: #59614d;
  --soft-ink: #8c837a;
  --gold: #c7b584;
}

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

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  transition: opacity 550ms ease, visibility 550ms ease;
}

.site-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.preloader-logo {
  width: 108px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  animation: preloader-pulse 1.8s ease-in-out infinite;
}

.preloader-spinner {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: preloader-spin 900ms linear infinite;
}

@keyframes preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes preloader-pulse {

  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

body.is-loading {
  overflow: hidden;
}

html {
  background: #e9e5de;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #e9e5de;
  color: var(--ink);
  font-family: 'Bicers', serif;
  overflow-x: hidden;
}

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

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

.invitation-shell {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
}

.photo-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero-section {
  min-height: 100vh;
  min-height: 100svh;
  background-image: url('assets/img/Gallery/gallery-photo-10.jpg');
  background-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(32, 31, 25, 0.12), rgba(32, 31, 25, 0.04) 48%, rgba(32, 31, 25, 0.28));
}

.hero-content {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 60px 28px 62px;
  text-align: center;
  color: #fff;
}

.parents-section>*,
.palette-section>*,
.policy-section>*,
.song-band>*,
.dress-section>*,
.gifts-folder,
.gifts-card,
.rsvp-content>*,
.footer-section>* {
  position: relative;
  z-index: 1;
}

.hero-kicker,
.hero-date,
.countdown-label {
  margin: 0;
  font-family: 'BDSans', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1;
  letter-spacing: 0.07em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero-kicker {
  font-family: 'MagicalWishes', cursive;
  font-weight: 400;
  font-size: clamp(2.1rem, 9vw, 3.2rem);
  letter-spacing: 0.03em;
}

.hero-date {
  font-family: 'MagicalWishes', cursive;
  font-weight: 400;
  font-size: clamp(1.4rem, 6vw, 2.1rem);
  letter-spacing: 0.03em;
}

.countdown-label {
  font-family: 'MagicalWishes', cursive;
  font-size: clamp(2.35rem, 11vw, 4.15rem);
  letter-spacing: 0.06em;
}

.hero-logo {
  width: 186px;
  opacity: 0.86;
}

.hero-bottom {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.hero-names {
  margin: 0;
  font-family: 'BDScript', 'Abramo Script', cursive;
  font-weight: 700;
  font-size: 4.2rem;
  line-height: 0.8;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
}

.song-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 140px;
  padding: 26px 0;
  background: var(--green);
  color: #fff;
}

.song-band p {
  margin: 0;
  font-size: clamp(1.4rem, 5.5vw, 1.9rem);
  letter-spacing: 0.05em;
}

.song-toggle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 200ms ease, transform 150ms ease;
}

.song-toggle i {
  position: relative;
  left: 1px;
}

.song-toggle.is-playing i {
  left: 0;
}

.song-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.song-toggle:active {
  transform: scale(0.94);
}

.paper-section {
  background: var(--paper) url('assets/img/paper-texture-background.png') center/cover no-repeat;
  text-align: center;
}

.parents-section {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 34px 54px;
}

.intro-text {
  margin: 0 0 42px;
  color: var(--green);
  font-family: 'BDScript', 'Abramo Script', cursive;
  font-size: clamp(2.2rem, 9vw, 3.45rem);
  line-height: 0.96;
  text-wrap: balance;
}

.section-title,
.palette-section h2,
.dress-section h2,
.policy-section p,
.rsvp-section h2,
.rsvp-section p {
  font-family: 'Bicers', serif;
  font-weight: 400;
}

.section-title {
  margin: 0 0 16px;
  color: var(--green-dark);
  font-size: clamp(1.85rem, 7vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.name-group {
  display: grid;
  gap: 6px;
  margin-bottom: 30px;
}

.name-group p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 4.2vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: 0.015em;
}

.parents-floral {
  width: clamp(150px, 38vw, 220px);
  margin: 22px auto 36px;
}

.hands-section {
  min-height: 78vh;
  min-height: 78svh;
  background-position: center 50%;
  --parallax-y: 0px;
  background-color: #2f322b;
}

.hands-section::before {
  content: "";
  position: absolute;
  inset: -16% 0;
  z-index: -2;
  background: url('assets/img/countdown-background.jpg') center 50% / cover no-repeat;
  transform: translate3d(0, var(--parallax-y), 0);
  will-change: transform;
}

.hands-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(38, 35, 29, 0.12);
}

.countdown-block {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 22px;
  color: #fff;
  text-align: center;
  transform: translateY(-50%);
}

.countdown-label {
  font-weight: 400;
}

.countdown-numbers {
  font-family: 'MagicalWishes';
  display: flex;
  gap: clamp(18px, 6vw, 44px);
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.countdown-numbers span {
  display: grid;
  min-width: clamp(62px, 18vw, 92px);
}

.countdown-numbers strong {
  font-family: 'MagicalWishes', cursive;
  font-weight: 400;
  font-size: clamp(2.45rem, 11vw, 4.2rem);
  line-height: 1;
}

.countdown-numbers small {
  font-family: 'Bicers', serif;
  font-size: clamp(0.58rem, 2.2vw, 0.82rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wedding-day {
  font-family: 'BDSans', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.monogram-section {
  display: grid;
  min-height: 42vh;
  min-height: 42svh;
  place-items: center;
  background: var(--taupe);
}

.monogram-section img {
  width: clamp(190px, 48vw, 260px);
  filter: brightness(0) invert(1);
  opacity: 0.78;
}

.events-section {
  background: url('assets/img/events-lines-background.png') top center/100% auto repeat-y;
}

.events-photo {
  height: clamp(440px, 62vh, 600px);
  background: url('assets/img/events-photo-background.png') center/cover no-repeat;
}

.events-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 0 26px 40px;
  margin-top: -4px;
}

.event-card {
  width: min(340px, 88%);
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 22px;
  text-align: center;
  background: url('assets/img/event-card-background.png') center/100% 100% no-repeat;
}

.card-icon {
  width: 108px;
  object-fit: cover;
}

.icon-church {
  aspect-ratio: 545 / 593;
  object-position: 48% 53%;
}

.icon-arch {
  aspect-ratio: 545 / 593;
  object-position: 48% 53%;
}

.event-card h3 {
  margin: 0;
  color: var(--green-dark);
  font-family: 'MagicalWishes', cursive;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.05em;
}

.card-subtitle,
.card-time {
  margin: 0;
  color: var(--green-dark);
  font-size: 0.85rem;
  line-height: 1.4;
}

.card-time {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.event-card a {
  width: 195px;
  aspect-ratio: 148 / 36;
  background: url('assets/img/event-button-background.png') center/contain no-repeat;
}

.dress-section {
  padding: 29px 36px 42px;
  background: var(--green) url('assets/img/dress-section-background.png') center/cover no-repeat;
  color: #fff;
  text-align: center;
}

.dress-section h2 {
  margin: 0 0 26px;
  font-size: clamp(1.4rem, 6vw, 1.85rem);
  letter-spacing: 0.02em;
}

.dress-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.dress-photo {
  position: relative;
  width: min(330px, 88%);
  transform: rotate(-1deg);
}

.dress-photo>img:not(.dress-clip) {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.dress-clip {
  position: absolute;
  top: -22px;
  left: 50%;
  z-index: 2;
  width: 80px;
  transform: translateX(-50%);
  transition: opacity 0.5s ease;
}

.dress-icons {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.dress-icons div {
  display: flex;
  gap: 24px;
  align-items: end;
}

.dress-icons img {
  width: 118px;
}

.dress-icons p {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.palette-section {
  padding: 60px 48px 60px;
}

.palette-section h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.palette-subtitle {
  margin: 8px 0 20px;
  color: var(--soft-ink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.palette-swatches {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

.swatch {
  position: relative;
  display: block;
  width: 108px;
  aspect-ratio: 860 / 912;
  overflow: hidden;
  box-shadow: 0 5px 14px rgba(75, 67, 58, 0.08);
}

.swatch img {
  position: absolute;
  top: -20.07%;
  left: -21.63%;
  width: 140.58%;
  max-width: none;
  height: auto;
}

.swatch-blanco img {
  left: -20.35%;
}

.palette-floral {
  width: 150px;
  margin: 0 auto 40px;
}

.gallery-title {
  margin-top: 0 !important;
  font-size: 1.65rem !important;
  letter-spacing: 0.04em !important;
}

.gallery-quote {
  margin: 10px 0 0;
  color: var(--green);
  font-family: 'BDScript', 'Abramo Script', cursive;
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 0.85;
}

.gallery-modern {
  position: relative;
  padding: 8px 0 60px;
  background: var(--paper) url('assets/img/paper-texture-background.png') center/cover no-repeat;
  overflow: hidden;
}

.gallerySwiper {
  width: 100%;
  padding: 26px 0 52px;
}

.gallerySwiper .swiper-slide {
  width: clamp(198px, 56vw, 290px);
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: #ded9cf;
  box-shadow: 0 16px 32px rgba(60, 54, 43, 0.2);
  transition: box-shadow 350ms ease;
}

.gallerySwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 500ms ease;
}

.gallerySwiper .swiper-slide-active {
  box-shadow: 0 22px 44px rgba(60, 54, 43, 0.32);
}

.gallerySwiper .swiper-slide-active img {
  transform: scale(1.03);
}

.gallerySwiper .swiper-pagination {
  bottom: 4px !important;
}

.gallerySwiper .swiper-pagination-bullet {
  width: 6px !important;
  height: 6px !important;
  background: var(--soft-ink) !important;
  opacity: 0.55 !important;
}

.gallerySwiper .swiper-pagination-bullet-active {
  background: var(--green-dark) !important;
  opacity: 1 !important;
}

.gallery-nav-btn {
  position: absolute;
  top: 46%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border: none;
  border-radius: 50%;
  background: var(--paper);
  color: var(--green-dark);
  font-size: 0.85rem;
  box-shadow: 0 6px 16px rgba(60, 54, 43, 0.22);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, transform 150ms ease;
}

.gallery-nav-btn:hover {
  background: var(--green);
  color: #fff;
}

.gallery-nav-btn:active {
  transform: scale(0.92);
}

.gallery-prev {
  left: 8px;
}

.gallery-next {
  right: 8px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 19, 15, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background 200ms ease;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  font-size: 1.1rem;
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gifts-stripes-bg {
  display: grid;
  min-height: 320px;
  place-items: center;
  padding: 44px 12px 38px;
  background: url('assets/img/gifts-stripes-background.png') center/100% auto repeat-y;
}

.gifts-folder {
  position: relative;
  width: 100%;
  aspect-ratio: 290 / 178;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 34px 23px;
  text-align: center;
  background: url('assets/img/gift-note-background.png') center/100% 100% no-repeat;
}

.gift-pin {
  position: absolute;
  top: -1.2%;
  left: 50%;
  width: 10%;
  transform: translateX(-50%);
}

.gift-bow {
  position: absolute;
  top: -19px;
  right: -21px;
  width: 102px;
}

.gifts-folder h2 {
  margin: 0;
  color: #fff;
  font-size: 1.42rem;
  line-height: 0.95;
  font-weight: 400;
}

.gifts-folder p {
  margin: 0;
  color: #fff;
  font-size: 0.66rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.gifts-paper {
  display: grid;
  place-items: center;
  min-height: 370px;
  padding: 44px 0 58px;
  background: var(--paper) url('assets/img/paper-texture-background.png') center/cover no-repeat;
}

.gifts-card {
  position: relative;
  width: 270px;
  aspect-ratio: 500 / 505;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 70px;
  text-align: center;
  background: url('assets/img/gift-card-background.png') center/100% 100% no-repeat;
}

.gift-label,
.bank-label,
.gift-value,
.gift-number {
  margin: 0;
  color: var(--green-dark);
}

.gift-label,
.bank-label,
.gift-value,
.gift-number,
.bank-name {
  font-weight: 700;
}

.gift-label,
.bank-label {
  font-size: 0.88rem;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.gift-value {
  margin: 6px 0 16px;
  font-size: 0.78rem;
  line-height: 1.35;
}

.bank-name {
  margin-top: 0;
  font-size: 0.72rem;
}

.gift-number {
  margin-top: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.gift-present {
  position: absolute;
  bottom: -12%;
  left: 0;
  right: 0;
  width: 44%;
  margin: 0 auto;
}

.policy-section {
  display: grid;
  gap: 22px;
  padding: clamp(50px, 16vw, 70px) clamp(26px, 8vw, 40px) clamp(54px, 16vw, 74px);
  text-align: center;
  background: var(--green) url('assets/img/policy-section-texture.png') center/cover no-repeat;
}

.policy-section p {
  margin: 0;
  color: #fff;
  font-size: clamp(0.95rem, 4.6vw, 1.15rem);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.rsvp-section {
  min-height: clamp(500px, 118vw, 720px);
  background-image: url('assets/img/rsvp-background.png');
  background-position: center 22%;
}

.rsvp-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(36, 35, 29, 0.08), rgba(36, 35, 29, 0.24));
}

.rsvp-content {
  min-height: clamp(500px, 118vw, 720px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(8px, 2.5vw, 16px) clamp(28px, 9vw, 44px) clamp(18px, 5vw, 28px);
  text-align: center;
  color: #fff;
}

.rsvp-copy h2 {
  margin: 0 0 4px;
  font-size: clamp(1.6rem, 7.2vw, 2rem);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.38);
}

.rsvp-copy p,
.rsvp-footer p {
  margin: 0;
  font-size: clamp(0.85rem, 3.9vw, 1rem);
  line-height: 1.55;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.rsvp-actions {
  display: flex;
  gap: clamp(18px, 6vw, 28px);
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
}

.rsvp-actions a {
  width: clamp(136px, 38vw, 168px);
  transition: transform 180ms ease;
}

.rsvp-actions a:hover {
  transform: translateY(-2px);
}

.rsvp-footer {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.rsvp-footer img {
  width: clamp(52px, 14vw, 64px);
}

.footer-section {
  display: grid;
  min-height: 122px;
  place-items: center;
  background: var(--green) url('assets/img/footer-section-texture.png') center/cover no-repeat;
}

.footer-section img {
  width: 122px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

@media (min-width: 720px) {

  .hero-section,
  .hero-content {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-section {
    background-position: center 28%;
  }

  .hero-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 68px 40px 74px;
  }

  .countdown-label {
    font-size: 1.08rem;
  }

  .hero-date {
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  }

  .hero-kicker {
    font-size: clamp(2rem, 3.6vw, 3.2rem);
  }

  .countdown-label {
    font-size: clamp(2.2rem, 4.2vw, 4rem);
  }

  .hero-logo {
    width: clamp(210px, 22vw, 310px);
    margin-top: 32px;
  }

  .hero-names {
    font-size: clamp(3.8rem, 8.5vw, 6.8rem);
  }

  .song-band {
    min-height: 170px;
    gap: 22px;
  }

  .song-band p {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  }

  .song-toggle {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }

  .parents-section {
    min-height: 112vh;
    min-height: 112svh;
    padding: 76px 40px 64px;
  }

  .parents-section>.intro-text,
  .parents-section>.section-title,
  .parents-section>.name-group,
  .parents-section>.parents-floral {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }

  .parents-section>.intro-text {
    max-width: 820px;
    white-space: nowrap;
  }

  .intro-text {
    margin-bottom: 48px;
    font-size: clamp(3rem, 4.4vw, 4.7rem);
  }

  .section-title {
    margin-bottom: 18px;
    font-size: clamp(2.25rem, 3.2vw, 3.35rem);
  }

  .name-group {
    gap: 8px;
    margin-bottom: 38px;
  }

  .name-group p {
    font-size: clamp(0.95rem, 1.35vw, 1.28rem);
  }

  .parents-floral {
    width: clamp(190px, 18vw, 280px);
    margin-block: 28px 44px;
  }

  .hands-section {
    min-height: 86vh;
    min-height: 86svh;
    background-position: center 55%;
  }

  .countdown-block {
    top: 50%;
    gap: clamp(24px, 3vw, 42px);
  }

  .countdown-numbers {
    gap: clamp(22px, 5vw, 46px);
  }

  .countdown-numbers span {
    min-width: clamp(68px, 7vw, 96px);
  }

  .countdown-numbers strong {
    font-size: clamp(2.8rem, 5.4vw, 4.85rem);
  }

  .countdown-numbers small {
    font-size: clamp(0.72rem, 1vw, 0.95rem);
  }

  .monogram-section {
    min-height: clamp(430px, 48vw, 620px);
  }

  .monogram-section img {
    width: clamp(260px, 24vw, 390px);
  }

  .events-photo {
    height: clamp(460px, 66vw, 760px);
    background-position: center 34%;
  }

  .events-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    width: min(880px, 86vw);
    margin: -78px auto 0;
    gap: clamp(24px, 4vw, 48px);
    padding: 0 0 72px;
  }

  .event-card {
    width: 100%;
    padding: clamp(30px, 4.3vw, 48px);
  }

  .card-icon {
    width: clamp(130px, 12vw, 190px);
  }

  .event-card h3 {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  }

  .card-subtitle,
  .card-time {
    font-size: clamp(0.75rem, 1.2vw, 1rem);
  }

  .card-time {
    font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  }

  .event-card a {
    width: clamp(138px, 14vw, 190px);
  }

  .dress-section {
    padding: 58px 40px 72px;
  }

  .dress-section h2 {
    margin-bottom: 40px;
    font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  }

  .dress-content {
    display: grid;
    grid-template-columns: minmax(280px, 420px) auto;
    justify-content: center;
    align-items: center;
    gap: clamp(40px, 7vw, 90px);
  }

  .dress-photo {
    width: 100%;
  }

  .dress-clip {
    top: -30px;
    width: clamp(64px, 6.5vw, 96px);
  }

  .dress-icons {
    gap: 20px;
  }

  .dress-icons div {
    gap: 24px;
  }

  .dress-icons img {
    width: clamp(130px, 13vw, 210px);
  }

  .dress-icons p {
    font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  }

  .palette-section {
    padding: 72px 40px 64px;
  }

  .palette-section h2 {
    font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  }

  .palette-subtitle {
    margin: 10px 0 28px;
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  }

  .palette-swatches {
    gap: 16px;
    margin-bottom: 44px;
  }

  .swatch {
    width: clamp(150px, 16vw, 240px);
  }

  .palette-floral {
    width: clamp(160px, 16vw, 240px);
    margin-bottom: 40px;
  }

  .gallery-title {
    font-size: clamp(2rem, 3.8vw, 3.6rem) !important;
  }

  .gallery-quote {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
  }

  .gallery-modern {
    padding: 20px 0 76px;
  }

  .gallerySwiper {
    padding: 40px 0 64px;
  }

  .gallerySwiper .swiper-slide {
    width: clamp(240px, 22vw, 360px);
  }

  .gallery-nav-btn {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  .gallery-prev {
    left: 24px;
  }

  .gallery-next {
    right: 24px;
  }

  .gifts-stripes-bg {
    min-height: 380px;
    padding: 64px 40px 60px;
  }

  .gifts-folder {
    width: min(680px, 56vw);
    padding: 56px 76px 46px;
  }

  .gift-bow {
    top: -26px;
    right: -26px;
    width: clamp(100px, 11vw, 150px);
  }

  .gifts-folder h2 {
    font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  }

  .gifts-folder {
    gap: 16px;
  }

  .gifts-folder p {
    max-width: 520px;
    font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  }

  .gifts-paper {
    min-height: 560px;
    padding: 76px 0 96px;
  }

  .gifts-card {
    width: clamp(340px, 30vw, 470px);
    padding-top: clamp(90px, 9vw, 128px);
  }

  .gift-label,
  .bank-label {
    font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  }

  .bank-name {
    font-size: clamp(0.9rem, 1.05vw, 1.05rem);
  }

  .gift-value,
  .gift-number {
    font-size: clamp(0.98rem, 1.2vw, 1.18rem);
  }

  .gift-present {
    bottom: -7%;
    width: 36%;
  }

  .policy-section {
    gap: 30px;
    padding: clamp(70px, 8vw, 100px) 40px clamp(74px, 8vw, 104px);
  }

  .policy-section p {
    font-size: clamp(1.25rem, 2.1vw, 1.8rem);
  }

  .rsvp-section,
  .rsvp-content {
    min-height: clamp(520px, 76vw, 760px);
  }

  .rsvp-section {
    background-position: center top;
  }

  .rsvp-content {
    width: min(720px, 100%);
    margin: 0 auto;
    padding: 70px 40px 48px;
  }

  .rsvp-copy h2 {
    font-size: clamp(1.65rem, 3.1vw, 2.85rem);
  }

  .rsvp-copy p,
  .rsvp-footer p {
    font-size: clamp(0.78rem, 1.3vw, 1.1rem);
  }

  .rsvp-actions {
    gap: clamp(28px, 6vw, 70px);
  }

  .rsvp-actions a {
    width: clamp(145px, 18vw, 230px);
  }

  .rsvp-footer img {
    width: 64px;
  }

  .footer-section {
    min-height: 180px;
  }

  .footer-section img {
    width: clamp(150px, 16vw, 240px);
  }
}

@media (min-width: 1100px) {
  .parents-section {
    padding-block: 88px 76px;
  }

  .events-photo {
    height: 780px;
    background-attachment: fixed;
  }

  .hero-section {
    background-attachment: fixed;
  }

  .dress-section {
    background-position: center 44%;
  }

  .rsvp-section {
    background-size: cover;
    background-position: center 12%;
  }
}

@media (max-width: 719px) {

  .hero-section,
  .hero-content {
    min-height: 100vh;
    min-height: 100svh;
  }

  .events-cards {
    padding-inline: 22px;
  }

  .palette-section {
    padding-inline: 34px;
  }
}

@media (max-width: 380px) {
  .parents-section {
    padding-inline: 24px;
  }

  .intro-text {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .name-group p {
    font-size: 0.95rem;
  }

  .parents-floral {
    width: 132px;
  }
}