.section {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 95px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.container {
  width: min(100%, 940px);
  margin: auto;
  text-align: center;
}

.narrow {
  width: min(100%, 680px);
}

.hero {
  min-height: 100vh;
  margin: 0;
  padding: 0 22px 84px;
  align-items: flex-start;
  background: var(--white);
  color: var(--primary);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 53vh;
  background:
    url("../pareja.jpeg") center top / cover no-repeat;
  animation: kenBurns 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  top: 34vh;
  right: 0;
  left: 0;
  height: 24vh;
  background: linear-gradient(transparent, var(--white) 72%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 360px);
  margin: 0 auto;
  padding-top: 58vh;
  text-align: center;
}

.hero .floating-particles {
  display: none;
}

.hero-invite-text {
  margin: 0 0 18px;
  /* font-family: "Cormorant Garamond", serif; */
  font-family: "Great Vibes", cursive;
  font-size: clamp(42px, 9vw, 62px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: .2px;
  /* text-transform: uppercase; */
  color: var(--primary);
}

.hero-logo {
  display: block;
  width: min(68vw, 230px);
  height: auto;
  margin: 0 auto;
}

.hero-rings {
  display: block;
  width: min(29vw, 112px);
  height: auto;
  margin: -12px auto 0;
  opacity: .5;
}

.wedding-countdown {
  min-height: auto;
  padding: 42px 18px 54px;
  background: var(--white);
  color: var(--primary);
}

.countdown-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 390px);
  margin: 0 auto;
  text-align: center;
}

.countdown-title,
.countdown-box > p {
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-size: clamp(42px, 9vw, 62px);
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  color: var(--primary);
}

.countdown-date {
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-areas:
    "day year"
    "day month";
  align-items: end;
  justify-content: center;
  column-gap: 12px;
  row-gap: 4px;
  margin: 24px auto 28px;
  color: var(--primary);
}

.countdown-date-image {
  display: block;
  width: min(68vw, 240px);
  height: auto;
  margin: 20px auto 24px;
}

.countdown-date-day {
  grid-area: day;
  grid-row: span 2;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(58px, 14vw, 82px);
  font-weight: 600;
  line-height: .78;
  color: rgba(191,59,11,.66);
}

.countdown-date-month {
  grid-area: month;
  font-family: "Great Vibes", cursive;
  font-size: clamp(42px, 10vw, 62px);
  font-weight: 400;
  line-height: .92;
  color: var(--primary);
}

.countdown-date-year {
  grid-area: year;
  justify-self: center;
  align-self: end;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(12px, 3vw, 16px);
  font-weight: 700;
  line-height: .9;
  text-transform: uppercase;
  color: rgba(191,59,11,.66);
}

.countdown-calendar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 10px 26px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 13px 26px rgba(191,59,11,.2);
}

.countdown-calendar-btn span {
  font-size: 12px;
  line-height: 1;
}

.countdown-month-image {
  display: block;
  width: min(100%, 390px);
  max-width: 100%;
  height: auto;
  margin: 28px auto 0;
}

.countdown-month-card {
  position: relative;
  width: min(96vw, 430px);
  margin: 30px auto 0;
  padding: 26px 0 0;
  color: var(--primary);
}

.calendar-leaves {
  position: absolute;
  z-index: 0;
  display: block;
  height: auto;
  opacity: .82;
  pointer-events: none;
  user-select: none;
}

.calendar-leaves-top {
  top: -34px;
  left: -22%;
  width: min(31vw, 128px);
}

.calendar-leaves-bottom {
  right: -17%;
  bottom: -28px;
  width: min(27vw, 112px);
}

.calendar-month-heading,
.calendar-grid {
  position: relative;
  z-index: 1;
}

.calendar-month-heading {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--primary);
}

.calendar-month-heading span {
  font-family: "Great Vibes", "Segoe Script", cursive;
  font-size: clamp(48px, 13vw, 70px);
  font-weight: 400;
  line-height: .85;
}

.calendar-month-heading strong {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(26px, 6vw, 34px);
  font-weight: 500;
  letter-spacing: 1px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: min(100%, 394px);
  margin: 0 auto;
  color: rgba(191,59,11,.62);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(12px, 2.8vw, 15px);
  line-height: 1;
}

.calendar-grid span {
  display: grid;
  min-height: 28px;
  place-items: center;
  border-right: 1px solid rgba(191,59,11,.16);
  border-bottom: 1px solid rgba(191,59,11,.16);
}

.calendar-grid span:nth-child(7n) {
  border-right: 0;
}

.calendar-grid .calendar-weekday {
  min-height: 18px;
  border-right: 0;
  border-bottom: 1px solid rgba(191,59,11,.28);
  font-family: "Montserrat", sans-serif;
  font-size: 8px;
  font-weight: 600;
  color: rgba(191,59,11,.68);
}

.calendar-day.is-selected {
  position: relative;
  color: var(--primary);
}

.calendar-day.is-selected::before {
  content: "";
  position: absolute;
  inset: 3px 8px;
  border: 1px solid rgba(191,59,11,.72);
  border-radius: 999px;
}

.countdown-box {
  margin-top: 38px;
}

.countdown-box > p {
  margin-bottom: 22px;
  color: var(--primary);
}

.countdown-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  padding: 20px 14px 18px;
  border: 1px solid rgba(191,59,11,.72);
  border-radius: 18px;
}

.countdown-values span {
  display: grid;
  gap: 4px;
}

.countdown-values strong {
  font-family: "Great Vibes", cursive;
  font-size: clamp(42px, 11vw, 58px);
  font-weight: 400;
  line-height: .78;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.countdown-values small {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: #687157;
}

.hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(54px, 14vw, 126px);
  font-weight: 500;
  line-height: .9;
  letter-spacing: 1px;
}

.hero h1 span,
.hero h1 small {
  display: block;
}

.hero h1 small {
  margin: 10px 0;
  font-family: "Great Vibes", cursive;
  font-size: .55em;
  color: var(--gold-soft);
  font-weight: 400;
}

.hero-date {
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--paper);
}

.script {
  margin: 0 0 20px;
  font-family: "Great Vibes", cursive;
  font-size: clamp(38px, 9vw, 66px);
  color: var(--gold);
  font-weight: 400;
}

.invitation-message {
  min-height: 100vh;
  padding: 120px 24px;
  background: var(--white);
}

.invitation-message::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../assets/invitation-leaves-bg.png") center / cover no-repeat;
  opacity: .18;
  pointer-events: none;
}

.invitation-message .container {
  position: relative;
  z-index: 1;
}

.invitation-message .script {
  margin: 0 0 28px;
  font-family: "Great Vibes", cursive;
  font-size: clamp(62px, 9vw, 96px);
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  color: #c84a1b;
  letter-spacing: 0;
}

.invitation-message h2 {
  max-width: 560px;
  margin-bottom: 26px;
  font-size: clamp(34px, 8vw, 46px);
  color: var(--text);
}

.invitation-message p:not(.script) {
  max-width: 560px;
  margin: 0 auto;
  font-size: clamp(35px, 4.4vw, 33px);
  line-height: 1;
}

.invitation-copy {
  max-width: 720px;
  margin: 0 auto;
  color: #2f2a25;
  font-family: "Tangerine Local", cursive;
  font-size: clamp(30px, 4.8vw, 33px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: 0;
}

.invitation-copy p {
  margin: 0;
}

.invitation-message .invitation-copy p + p {
  margin-top: 34px;
}
