:root {
  --sage: #6b7c5e;
  --sage-light: #8a9c7a;
  --sage-dark: #4a5840;
  --cream: #faf5e9;
  --cream-dark: #ede5d4;
  --blush: #e8a0a0;
  --blush-light: #f2c4c4;
  --brown: #7a5c3a;
  --text: #3a3228;
  --text-light: #394e3d;
  --green: #6b7c5c;
  --green-d: #556349;
  --rose: #c45c5c;
  --rose-l: #e8a0a0;
  --muted: #8a8a7a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "UnboundedRegular";
  overflow: hidden;
}
body.overflow {
  overflow: auto;
}
[type="text"],
textarea {
  font-family: "UnboundedRegular";
}
@font-face {
  font-family: "UnboundedRegular";
  src: url("/fonts/Unbounded/Unbounded-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ManropeMedium";
  src: url("/fonts/Manrope/Manrope-Medium.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ManropeRegular";
  src: url("/fonts/Manrope/Manrope-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ManropeBold";
  src: url("/fonts/Manrope/Manrope-Bold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.block-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: auto;
  background: #768763;
}
.block-1 .image-1 {
  height: 100%;
  margin: 0 40px 80px 40px;
  max-height: 820px;
  width: 100%;
  max-width: 850px;
}
/**************/
.block-2 {
  background: #faf5e9;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: auto;
}
.block-2 .block {
  background: #faf5e9;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  max-width: 560px;
  width: 100%;
}
.block-2 .title {
  font-size: 38px;
  font-weight: 400;
  color: #394e3d;
  text-align: center;
  margin: 40px 0 40px 0;
  line-height: 1.3;
}
.block-2 .text {
  font-family: "ManropeMedium";
  font-size: 18px;
  color: #394e3d;
  text-align: center;
  line-height: 1.65;
  margin-bottom: 12px;
}
.block-2 .text:last-of-type {
  margin-bottom: 48px;
}
.block-2 .dates {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.block-2 .date-side-far {
  font-size: 32px;
  font-weight: 400;
  color: #394e3d;
  opacity: 0.6;
}
.block-2 .date-side-near {
  font-size: 44px;
  font-weight: 700;
  color: #394e3d;
}
.block-2 .heart-wrap {
  position: relative;
  width: 180px;
  height: 164px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.block-2 .heart-wrap svg {
  position: absolute;
  top: 0;
  left: 0;
}
.block-2 .heart-label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -6px;
}
.block-2 .heart-label .day {
  font-size: 64px;
  font-weight: 400;
  color: #394e3d;
  line-height: 1;
}
.block-2 .heart-label .month {
  font-family: "ManropeMedium";
  font-size: 20px;
  font-weight: 500;
  color: #394e3d;
  letter-spacing: 1px;
  text-transform: uppercase;
}
/*******************/

.block-3 {
  background-color: #768763;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: auto;
  padding: 40px 32px;
}

.block-3 .venues-wrapper {
  width: 100%;
  max-width: 850px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Section */
.block-3 .venue-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.block-3 .venue-section__title {
  font-size: 28px;
  font-weight: 400;
  color: #faf5e9;
  text-align: center;
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin: 40px 0 40px 0;
}

.block-3 .venue-section__title-2 {
  font-size: 28px;
  font-weight: 400;
  color: #faf5e9;
  text-align: center;
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin: 5px 0 40px 0;
}

/* Card */
.block-3 .venue-card {
  width: 100%;
  background-color: #faf5e9;
  border-radius: 4px;
  position: relative;
  padding: 0 0 20px;
  overflow: visible;
}

/* Tape corners */
.block-3 .tape {
  position: absolute;
  width: 83px;
  height: 24px;
  background-color: rgba(245, 240, 232, 0.75);
  border-radius: 2px;
  transform-origin: center;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.block-3 .tape--tl {
  top: -4px;
  left: -32px;
  transform: rotate(-40deg);
}
.block-3 .tape--tr {
  top: -4px;
  right: -32px;
  transform: rotate(40deg);
}
.block-3 .tape--bl {
  bottom: -4px;
  left: -32px;
  transform: rotate(40deg);
}
.block-3 .tape--br {
  bottom: -4px;
  right: -32px;
  transform: rotate(-40deg);
}

/* Image placeholder */
.block-3 .venue-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #c9c5b8;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px 2px 0 0;
  overflow: hidden;
}

.block-3 .venue-card__img svg {
  opacity: 0.45;
}

/* Info */
.block-3 .venue-card__info {
  padding: 16px 16px 0;
  text-align: center;
}

.block-3 .venue-card__name {
  font-size: 16px;
  font-weight: 600;
  color: #3a3a3a;
  margin-bottom: 4px;
}

.block-3 .venue-card__address {
  font-size: 14px;
  font-weight: 400;
  color: #7a7a7a;
  line-height: 1.5;
}

/* Button */
.venue-btn {
  display: inline-block;
  background-color: #f98386e0;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 11px 36px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  font-family: "ManropeBold";
  transition: transform 0.2s ease;
  margin: 30px 0 40px 0;
}
.venue-btn:hover {
  background-color: #c96666;
  transform: scale(1.05);
}
/***************/
.block-5 {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: auto;
  background: #faf5e9;
}

.block-5 .schedule {
  background: #faf5e9;
  padding: 40px 30px;
  max-width: 520px;
  width: 100%;
  box-sizing: border-box;
}

.block-5 .schedule__title {
  text-align: center;
  font-size: 28px;
  font-weight: 400;
  color: #394e3d;
  margin: 40px 0 40px 0;
}

.block-5 .schedule__body {
  position: relative;
  min-height: 340px;
}

.block-5 .schedule__svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.block-5 .schedule__item {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
}

.block-5 .schedule__item--left-top {
  left: 0;
  top: 14px;
  max-width: 100px;
}

.block-5 .schedule__item--left-top .schedule__time {
  margin-left: 10px;
}

.block-5 .schedule__item--right-mid {
  right: 0;
  top: 120px;
  flex-direction: row-reverse;
  max-width: 100px;
}

.block-5 .schedule__item--left-bottom {
  left: 0;
  bottom: 0;
  max-width: 100px;
}

.block-5 .schedule__icon-top {
  width: 80px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 20px;
}
.block-5 .schedule__icon-mid {
  width: 80px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 36px;
}
.block-5 .schedule__icon-bottom {
  width: 70px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 36px;
}

.block-5 .schedule__text--right {
  text-align: right;
  margin-top: 25px;
  text-align: left;
}
.block-5 .schedule__text--left {
  margin-top: 25px;
  text-align: right;
}

.block-5 .schedule__time {
  font-size: 24px;
  font-weight: 700;
  color: #394e3d;
  line-height: 1;
}

.block-5 .schedule__label__right {
  font-size: 17px;
  color: #394e3d;
  margin-top: 2px;
  font-family: "ManropeRegular";
  position: absolute;
}
.block-5 .schedule__label__left {
  font-size: 17px;
  color: #394e3d;
  margin-top: 2px;
  font-family: "ManropeRegular";
  position: absolute;
  width: 163px;
  margin-left: -73px;
}
/***************/
.block-4 {
  background: #faf5e9;
  display: flex;
  justify-content: center;
  padding: 40px 16px;
}

.block-4 .card {
  background: #faf5e9;
  max-width: 460px;
  width: 100%;
}

/* ── РАСПИСАНИЕ ── */
.block-4 .section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 400;
  color: #394e3d;
  margin: 40px 0 40px 0;
  letter-spacing: 0.2px;
}

/* ── ДРЕСС-КОД ── */
.block-4 .dress-text {
  text-align: center;
  font-size: 16px;
  color: #394e3d;
  line-height: 1.8;
  margin-bottom: 14px;
  font-family: "ManropeMedium";
}

/* ── HEARTS ── */
.block-4 .hearts {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  margin: 40px 0 40px 0;
}
/***************/
.block-6 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  background: #faf5e9;
}

.block-6 .card {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* --- Верхний зелёный блок --- */
.block-6 .card__top {
  background: #768763;
  padding: 48px 32px 52px;
  text-align: center;
}

.block-6 .card__title {
  color: #fff;
  font-size: 28px;
  font-weight: 400;
  margin: 40px 0 40px 0;
  letter-spacing: 0.5px;
}

.block-6 .card__subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 20px;
  font-family: "ManropeMedium";
}

.block-6 .card__date-wrapper {
  display: inline-block;
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  padding-bottom: 6px;
  margin-bottom: 25px;
}

.block-6 .card__date {
  color: #fff;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 1px;
}

/* --- Нижний бежевый блок --- */
.block-6 .card__bottom {
  background: #faf5e9;
  padding: 28px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.block-6 .card__greeting {
  color: #768763;
  font-size: 28px;
  position: relative;
  z-index: 1;
  font-weight: 400;
  line-height: 100%;
  margin: 40px 0 40px 0;
}

.block-6 .card__heart {
  position: absolute;
}

.block-6 .card__heart--left {
  bottom: 0px;
  height: 338px;
}

.block-6 .card__heart--right {
  bottom: -28px;
  height: 178px;
  right: 0px;
  transform: rotate(-7deg);
}

.block-6 .heart-stroke {
  stroke: #d9766e;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
}
/***********************/
/* ── MODAL OVERLAY ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58, 50, 40, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ── MODAL BOX ── */
.modal {
  background: var(--cream);
  border-radius: 20px;
  width: 100%;
  max-width: 460px;
  padding: 48px 40px 40px;
  position: relative;
  transform: translateY(28px) scale(0.97);
  transition:
    transform 0.38s cubic-bezier(0.22, 0.8, 0.36, 1),
    opacity 0.35s ease;
  opacity: 0;
}
.modal .venue-btn {
  margin: 10px 0 10px 0;
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* decorative top border */
.modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--blush-light), var(--sage-light), var(--blush-light));
  border-radius: 0 0 3px 3px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  font-size: 22px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s;
}
.modal-close:hover {
  background: var(--cream-dark);
  color: var(--text);
}

.modal-hearts {
  text-align: center;
  font-size: 20px;
  letter-spacing: 6px;
  color: var(--blush);
  margin-bottom: 20px;
}

.modal-title {
  font-size: 28px;
  color: var(--sage-dark);
  text-align: center;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 0.5px;
}

/* ── FIELD ── */
.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.field input[type="text"] {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--cream-dark);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field input[type="text"]::placeholder {
  color: #b8ad9e;
}
.field input[type="text"]:focus {
  border-color: var(--sage-light);
  box-shadow: 0 0 0 3px rgba(138, 156, 122, 0.15);
}
.field textarea {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--cream-dark);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field textarea::placeholder {
  color: #b8ad9e;
}
.field textarea:focus {
  border-color: var(--sage-light);
  box-shadow: 0 0 0 3px rgba(138, 156, 122, 0.15);
}
/* ── CHECKBOXES ── */
.checkboxes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid var(--cream-dark);
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
  user-select: none;
}
.check-label:hover {
  border-color: var(--blush-light);
  background: #fdf8f6;
}
.check-label:has(input:checked) {
  border-color: var(--blush);
  background: #fdf4f4;
  box-shadow: 0 2px 12px rgba(232, 160, 160, 0.15);
}

.check-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--cream-dark);
  background: var(--cream);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    border-color 0.2s,
    background 0.2s;
  position: relative;
}
.check-label input[type="checkbox"]:checked {
  background: var(--blush);
  border-color: var(--blush);
}
.check-label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 8px;
  height: 12px;
  border: 2.5px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(42deg);
}

.check-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.check-text strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.check-text span {
  font-size: 11px;
  color: var(--text-light);
}

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid #cfc8b8;
  margin: 0 0 10px;
}

/* ── SUBMIT ── */
.btn-full {
  width: 100%;
  padding: 15px;
  font-size: 13px;
}

/* ── SUCCESS STATE ── */
.modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0 8px;
}
.modal-success .success-icon {
  font-size: 52px;
  margin-bottom: 16px;
  animation: pop 0.4s cubic-bezier(0.36, 1.6, 0.6, 1) both;
}
.modal-success h3 {
  font-size: 26px;
  color: var(--sage-dark);
  margin-bottom: 10px;
}
.modal-success p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}
.modal-overlay .modal .venue-btn {
  width: 100%;
}

@keyframes pop {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ── LOADER ── */
.modal-loader {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 0 24px;
  gap: 28px;
}
.loader-envelope {
  position: relative;
  width: 80px;
  height: 58px;
  perspective: 300px;
}
.env-body {
  position: absolute;
  inset: 0;
  background: var(--cream-dark);
  border-radius: 6px;
  border: 2px solid var(--blush-light);
}
.env-flap {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 34px;
  background: #fff;
  border: 2px solid var(--blush-light);
  border-bottom: none;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  animation: env-flap 2s ease-in-out infinite;
}
.env-letter {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 34px;
  background: #fff;
  border-radius: 4px;
  border: 1.5px solid var(--blush-light);
  bottom: 6px;
  animation: letter-fly 2s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
}
.env-letter-line {
  height: 2px;
  background: var(--blush-light);
  border-radius: 2px;
  width: 100%;
}
.env-letter-line:last-child {
  width: 60%;
}
.env-heart {
  position: absolute;
  top: -14px;
  left: 50%;
  font-size: 15px;
  animation: heart-float 2s ease-in-out infinite;
  opacity: 0;
}
@keyframes env-flap {
  0%,
  100% {
    transform: rotateX(0deg);
  }
  20%,
  40% {
    transform: rotateX(-170deg);
  }
  60%,
  80% {
    transform: rotateX(0deg);
  }
}
@keyframes letter-fly {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  20% {
    transform: translateY(-32px);
    opacity: 1;
  }
  50% {
    transform: translateY(-32px);
    opacity: 1;
  }
  70% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes heart-float {
  0%,
  15% {
    opacity: 0;
    transform: translateX(-50%) translateY(0) scale(0.4);
  }
  30% {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px) scale(1);
  }
  55% {
    opacity: 0;
    transform: translateX(-50%) translateY(-26px) scale(0.7);
  }
  100% {
    opacity: 0;
  }
}
.loader-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}
.loader-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blush);
  animation: dot-pulse 1.2s ease-in-out infinite;
}
.loader-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.loader-dots span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes dot-pulse {
  0%,
  80%,
  100% {
    transform: scale(0.65);
    opacity: 0.35;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
.loader-text {
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 0.3px;
  margin-top: -10px;
}
/********************/
#hrloader {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  z-index: 99;
}

.hearts-loader {
  min-height: 100vh;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Jost", sans-serif;
  overflow: hidden;
}

/* ---- OVERLAY ---- */
#hrloader {
  transition:
    opacity 0.8s ease,
    visibility 0.8s;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.8s ease,
    visibility 0.8s;
}

#preloader.hidden,
#hrloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ---- HEARTS BACKGROUND ---- */
.hearts-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.h-dot {
  position: absolute;
  font-size: var(--sz);
  left: var(--lx);
  top: var(--ty);
  opacity: 0;
  animation: floatUp var(--dur) ease-in-out infinite;
  animation-delay: var(--dl);
  color: var(--rose-l);
  line-height: 1;
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }
  20% {
    opacity: 0.55;
  }
  80% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translateY(-90px) rotate(20deg);
  }
}

/* ---- POLAROID STACK ---- */
.polaroid-stack {
  position: relative;
  width: 130px;
  height: 140px;
  margin-bottom: 28px;
  opacity: 0;
  animation: slideDown 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.3s;
}

.polaroid {
  position: absolute;
  width: 110px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 10px 10px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.polaroid-1 {
  left: 0;
  top: 0;
  transform: rotate(-8deg);
}

.polaroid-2 {
  left: 20px;
  top: 4px;
  transform: rotate(5deg);
}

.polaroid .inner {
  width: 100%;
  height: 72px;
  background: var(--green);
  opacity: 0.25;
  border-radius: 2px;
}

.polaroid-2 .inner {
  background: var(--rose);
  opacity: 0.2;
}

/* Heart on top */
.heart-center {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 28px;
  color: var(--rose);
  animation: heartBeat 1.4s ease-in-out infinite 1.2s;
  filter: drop-shadow(0 2px 4px rgba(196, 92, 92, 0.3));
  line-height: 1;
}

@keyframes heartBeat {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  15% {
    transform: translateX(-50%) scale(1.22);
  }
  30% {
    transform: translateX(-50%) scale(1.05);
  }
  45% {
    transform: translateX(-50%) scale(1.18);
  }
}

/* ---- SCRIPT TITLE ---- */
.script-title {
  font-family: "Caveat", cursive;
  font-size: 46px;
  font-weight: 600;
  color: var(--green);
  text-align: center;
  line-height: 1;
  margin-bottom: 6px;
  margin-top: 18px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.8s;
}

.script-sub {
  font-family: "Caveat", cursive;
  font-size: 22px;
  font-weight: 400;
  color: var(--rose);
  text-align: center;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 1s;
}

/* ---- NAMES ---- */
.names {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 1.15s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.names-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rose-l);
}

/* ---- PROGRESS ---- */
.progress-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 1.3s;
}

.progress-track {
  width: 180px;
  height: 2px;
  background: rgba(107, 124, 92, 0.15);
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--rose-l));
  border-radius: 99px;
  animation: fill var(--fill-dur, 2.5s) cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fill {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.progress-text {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 300;
}

/* ---- FLOWER DIVIDER ---- */
.flower-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 18px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 1.1s;
}

.flower-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 124, 92, 0.35));
}
.flower-line.r {
  background: linear-gradient(90deg, rgba(107, 124, 92, 0.35), transparent);
}

.flower-icon {
  font-size: 16px;
  color: var(--green);
  opacity: 0.7;
}

/* ---- ANIMS ---- */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
/* ── TIMER ── */
.timer {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 18px;
  flex-wrap: nowrap;
  z-index: 9;
}
.timer-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  position: relative;
}
.timer-cell + .timer-cell::before {
  content: ":";
  position: absolute;
  left: 0;
  top: 2px;
  transform: translateX(-50%);
  font-size: 29px;
  font-weight: 700;
  color: var(--blush);
  line-height: 1;
  /*animation: blink 1s step-start infinite;*/
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.15;
  }
}
.timer-num {
  font-size: 35px;
  font-weight: 700;
  color: var(--sage-dark);
  line-height: 1;
  letter-spacing: -1px;
  transition: transform 0.08s ease;
}
.timer-num.tick {
  transform: scale(0.94);
}
.timer-unit {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 500;
  white-space: nowrap;
}
.footer-divider {
  width: 40px;
  height: 2px;
  background: var(--blush-light);
  margin: 0 auto 20px;
  border-radius: 2px;
}
.footer-date-line {
  font-style: italic;
  font-size: 17px;
  color: var(--text-light);
}

/* ── MOBILE ── */
@media (max-width: 480px) {
  .block-2 .dates {
    flex-direction: column;
  }
  .block-5 .schedule__svg {
    display: none;
  }
  .modal {
    padding: 40px 22px 30px;
    border-radius: 20px 20px 0 0;
    max-width: 100%;
    align-self: flex-end;
    margin: 0;
  }
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .modal-overlay.open .modal {
    transform: translateY(0) scale(1);
  }
  .modal-overlay .modal {
    transform: translateY(100%);
  }
  .modal::before {
    left: 22px;
    right: 22px;
  }
  .timer-num {
    font-size: 38px;
  }
  .timer-unit {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .block-6 .card__heart--left {
    height: 100px;
  }

  .block-6 .card__heart--right {
    height: 78px;
  }
}

@media (min-width: 480px) and (max-width: 991px) {
  .block-6 .card__heart--left {
    height: 150px;
  }

  .block-6 .card__heart--right {
    height: 110px;
  }
}
