/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --clr-bg: #f5f0eb;
  --clr-bg-alt: #ebe4db;
  --clr-text: #3a3a3a;
  --clr-text-light: #5c5c5c;
  --clr-accent: #8b7d6b;
  --clr-accent-light: #a89279;
  --clr-accent-dark: #6e6354;
  --clr-white: #ffffff;
  --clr-cream: #faf7f3;
  --bg-btn: #8b7d6b;
  --clr-btn: #ffffff;
  --radius-lg: 80px;
  --radius-md: 40px;
  --radius-sm: 20px;
  --container-max: 900px;
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-accent: 'Marck Script', cursive;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ===== UTILITIES ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section__header {
  text-align: center;
  margin-bottom: 40px;
}

.section__label {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 20px;
  color: var(--clr-accent-light);
  margin-bottom: 8px;
}

.section__title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 46px;
  text-align: center;
  margin-bottom: 16px;
  color: var(--clr-text);
  letter-spacing: 0.02em;
}

.section__subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  text-align: center;
  color: var(--clr-text-light);
  margin-bottom: 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  border: none;
  text-align: center;
}

.btn--primary {
  background: var(--bg-btn);
  color: var(--clr-btn);
  box-shadow: 0 4px 15px rgba(139, 125, 107, 0.2);
}

.btn--primary:hover {
  background: var(--clr-accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 125, 107, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--clr-accent);
  border: 1.5px solid var(--clr-accent);
}

.btn--outline:hover {
  background: var(--clr-accent);
  color: var(--clr-white);
  transform: translateY(-2px);
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
  position: relative;
  margin-top: -1px;
  z-index: 2;
  line-height: 0;
}

.section-divider svg {
  width: 100%;
  height: 40px;
  display: block;
}

/* ===== HERO ===== */
.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 3;
  padding: 80px 20px 60px;
  background: var(--clr-cream);
}

.hero__petals {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__bg-layer {
  position: absolute;
  inset: -50px;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(168, 146, 121, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(168, 146, 121, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(235, 228, 219, 0.5) 0%, transparent 70%);
  pointer-events: none;
  will-change: transform;
}

/* Floating hearts */
.petal {
  position: absolute;
  width: 14px;
  height: 14px;
  color: #8b2035;
  opacity: 0.2;
  animation: floatHeart 12s ease-in-out infinite;
  pointer-events: none;
}

.petal--1 { top: 12%; left: 8%; animation-delay: 0s; animation-duration: 14s; width: 16px; height: 16px; }
.petal--2 { top: 22%; right: 12%; animation-delay: 2s; animation-duration: 11s; width: 12px; height: 12px; }
.petal--3 { top: 55%; left: 18%; animation-delay: 4s; animation-duration: 16s; }
.petal--4 { top: 65%; right: 8%; animation-delay: 1s; animation-duration: 13s; width: 18px; height: 18px; }
.petal--5 { top: 38%; left: 48%; animation-delay: 3s; animation-duration: 15s; width: 11px; height: 11px; }
.petal--6 { top: 8%; left: 40%; animation-delay: 5s; animation-duration: 12s; width: 10px; height: 10px; }
.petal--7 { top: 45%; right: 22%; animation-delay: 0.5s; animation-duration: 17s; width: 13px; height: 13px; }
.petal--8 { top: 75%; left: 35%; animation-delay: 3.5s; animation-duration: 14s; width: 15px; height: 15px; }
.petal--9 { top: 30%; left: 5%; animation-delay: 6s; animation-duration: 13s; width: 9px; height: 9px; }
.petal--10 { top: 50%; right: 5%; animation-delay: 1.5s; animation-duration: 16s; width: 11px; height: 11px; }

@keyframes floatHeart {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -30px) scale(1.15); }
  50% { transform: translate(-10px, -50px) scale(0.9); }
  75% { transform: translate(15px, -20px) scale(1.05); }
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__ornament {
  width: 150px;
  margin: 0 auto 10px;
  color: var(--clr-accent-light);
  opacity: 0.5;
}

.hero__ornament--flip {
  transform: scaleY(-1);
  margin: 10px auto 30px;
}

.hero__subtitle {
  font-family: var(--font-accent);
  font-size: 32px;
  color: var(--clr-accent);
  margin-bottom: 16px;
}

.hero__names {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 68px;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero__amp {
  display: block;
  font-family: var(--font-accent);
  font-size: 52px;
  color: var(--clr-accent);
  margin: 10px 0;
}

.hero__date {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 300;
  color: var(--clr-text-light);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.hero__btn {
  margin-top: 10px;
}

.hero__images {
  display: flex;
  gap: 30px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
  align-items: flex-start;
  justify-content: center;
}

/* Polaroid style */
.hero__polaroid {
  background: #fff;
  padding: 18px 14px 10px;
  flex-shrink: 0;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 16px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__polaroid--1 {
  transform: rotate(-5deg);
  z-index: 2;
}

.hero__polaroid--2 {
  transform: rotate(4deg) translateY(30px);
  z-index: 1;
}

.hero__polaroid:hover {
  z-index: 3;
  transform: rotate(0deg) scale(1.04);
}

.hero__polaroid-photo {
  overflow: hidden;
  background: var(--clr-bg-alt);
}

.hero__polaroid-photo img {
  width: 220px;
  height: 260px;
  object-fit: cover;
  display: block;
}

.hero__polaroid-caption {
  font-family: var(--font-accent);
  font-size: 16px;
  color: var(--clr-text-light);
  margin-top: 12px;
  width: 220px;
  text-align: center;
  line-height: 1.3;
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--clr-accent-light);
  opacity: 0.6;
  animation: fadeInUp 1s ease 1.5s both;
}

.hero__scroll-hint span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-dot {
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { cy: 8; opacity: 1; }
  50% { cy: 20; opacity: 0.3; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 0.6; transform: translateX(-50%) translateY(0); }
}

/* ===== DATE SECTION ===== */
.date-section {
  background: var(--clr-white);
}

.date-section__date {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 300;
  text-align: center;
  color: var(--clr-accent);
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

/* Calendar */
.calendar {
  max-width: 380px;
  margin: 0 auto 60px;
  background: var(--clr-cream);
  border-radius: var(--radius-md);
  padding: 35px;
  box-shadow: 0 8px 40px rgba(139, 125, 107, 0.08);
}

.calendar__header {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 24px;
  color: var(--clr-text);
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.calendar__day-name {
  font-size: 11px;
  font-weight: 400;
  color: var(--clr-accent-light);
  padding: 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calendar__day {
  font-family: var(--font-heading);
  font-size: 16px;
  padding: 6px 0;
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-light);
  font-weight: 300;
  transition: all 0.2s ease;
}

.calendar__day--active {
  background: var(--clr-accent);
  color: var(--clr-white);
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(139, 125, 107, 0.4);
  transform: scale(1.15);
}

.calendar__day--empty {
  visibility: hidden;
}

/* Locations */
.locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.location-card {
  background: var(--clr-cream);
  border-radius: var(--radius-md);
  padding: 44px 30px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(139, 125, 107, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(139, 125, 107, 0.12);
}

.location-card__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  color: var(--clr-accent);
}

.location-card__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 8px;
}

.location-card__name {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 18px;
  font-style: italic;
  color: var(--clr-accent);
  margin-bottom: 8px;
}

.location-card__address {
  font-size: 14px;
  color: var(--clr-text-light);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ===== PARALLAX BAND ===== */
.parallax-band {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, #d4c5b2 0%, #c4b5a0 30%, #b8a890 60%, #ccc0ae 100%);
  background-attachment: fixed;
  background-size: cover;
}

.parallax-band__overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 58, 58, 0.3);
  backdrop-filter: blur(1px);
}

.parallax-band__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px;
}

.parallax-band__quote {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 300;
  font-style: italic;
  color: var(--clr-white);
  line-height: 1.4;
  max-width: 600px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* ===== COUNTDOWN ===== */
.countdown-section {
  background: var(--clr-cream);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 620px;
  margin: 0 auto;
}

.countdown__item {
  background: var(--clr-white);
  border: 1px solid rgba(139, 125, 107, 0.15);
  border-radius: var(--radius-lg);
  padding: 35px 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(139, 125, 107, 0.06);
}

.countdown__item:hover {
  border-color: var(--clr-accent-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(139, 125, 107, 0.12);
}

.countdown__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 300;
  color: var(--clr-accent);
  line-height: 1;
  margin-bottom: 10px;
}

.countdown__label {
  font-size: 12px;
  color: var(--clr-text-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ===== TIMELINE ===== */
.timeline-section {
  background: var(--clr-white);
}

.timeline {
  max-width: 600px;
  margin: 0 auto;
}

.timeline__item {
  display: grid;
  grid-template-columns: 70px 24px 1fr;
  gap: 0 16px;
  margin-bottom: 0;
  min-height: 100px;
}

.timeline__item:last-child .timeline__line {
  display: none;
}

.timeline__left {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 4px;
}

.timeline__time {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--clr-accent);
  white-space: nowrap;
}

.timeline__center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--clr-white);
  border: 2px solid var(--clr-accent);
  box-shadow: inset 0 0 0 3px var(--clr-white), inset 0 0 0 5px var(--clr-accent);
  flex-shrink: 0;
  margin-top: 4px;
  transition: all 0.3s ease;
}

.timeline__item:hover .timeline__dot {
  background: var(--clr-accent);
  box-shadow: 0 0 0 4px rgba(139, 125, 107, 0.2);
}

.timeline__line {
  width: 1.5px;
  flex: 1;
  background: linear-gradient(to bottom, var(--clr-bg-alt), transparent);
  margin-top: 8px;
}

.timeline__right {
  padding-bottom: 36px;
  padding-top: 2px;
}

.timeline__right h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 6px;
}

.timeline__right p {
  font-size: 14px;
  color: var(--clr-text-light);
  line-height: 1.6;
}

.timeline__map-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--clr-accent);
  border-bottom: 1px solid var(--clr-accent-light);
  padding-bottom: 1px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.timeline__map-link:hover {
  color: var(--clr-accent-dark);
  border-color: var(--clr-accent-dark);
}

.timeline__venue-photos {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.timeline__venue-photo {
  overflow: hidden;
  border-radius: 12px;
}

.timeline__venue-photo img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* ===== RSVP FORM ===== */
.rsvp-section {
  background: var(--clr-cream);
}

.rsvp-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 55px 45px;
  box-shadow: 0 12px 50px rgba(139, 125, 107, 0.08);
}

.rsvp-form__group {
  margin-bottom: 28px;
}

.rsvp-form__group:last-of-type {
  margin-bottom: 32px;
}

.rsvp-form__label {
  display: block;
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--clr-text);
}

.rsvp-form__input {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid var(--clr-bg-alt);
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--clr-text);
  background: var(--clr-cream);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.rsvp-form__input::placeholder {
  color: #b5b0a8;
}

.rsvp-form__input:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(139, 125, 107, 0.1);
}

.rsvp-form__textarea {
  min-height: 90px;
  resize: vertical;
  border-radius: var(--radius-sm);
}

/* Radio buttons */
.rsvp-form__radio-group {
  display: flex;
  gap: 14px;
}

.rsvp-form__radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 300;
  flex: 1;
  padding: 16px 20px;
  border: 1.5px solid var(--clr-bg-alt);
  border-radius: 30px;
  transition: all 0.3s ease;
}

.rsvp-form__radio:has(input:checked) {
  border-color: var(--clr-accent);
  background: rgba(139, 125, 107, 0.06);
  box-shadow: 0 2px 10px rgba(139, 125, 107, 0.1);
}

.rsvp-form__radio input {
  display: none;
}

.rsvp-form__radio-custom {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-bg-alt);
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.3s ease;
}

.rsvp-form__radio input:checked + .rsvp-form__radio-custom {
  border-color: var(--clr-accent);
}

.rsvp-form__radio input:checked + .rsvp-form__radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-accent);
}

/* Checkboxes */
.rsvp-form__checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rsvp-form__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 300;
  padding: 14px 16px;
  border: 1.5px solid var(--clr-bg-alt);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.rsvp-form__checkbox:has(input:checked) {
  border-color: var(--clr-accent);
  background: rgba(139, 125, 107, 0.06);
}

.rsvp-form__checkbox input {
  display: none;
}

.rsvp-form__checkbox-custom {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--clr-bg-alt);
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.rsvp-form__checkbox input:checked + .rsvp-form__checkbox-custom {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
}

.rsvp-form__checkbox input:checked + .rsvp-form__checkbox-custom::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 6px;
  height: 10px;
  border: solid var(--clr-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.rsvp-form__checkbox--full {
  grid-column: 1 / -1;
}

/* Submit */
.rsvp-form__submit {
  width: 100%;
  font-size: 14px;
  padding: 18px;
}

.rsvp-form__message {
  text-align: center;
  margin-top: 16px;
  padding: 16px;
  border-radius: 30px;
  font-size: 15px;
}

.rsvp-form__message--success {
  background: #e8f5e9;
  color: #2e7d32;
}

.rsvp-form__message--error {
  background: #fce4ec;
  color: #c62828;
}

/* Conditional group */
.rsvp-form__group--conditional {
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;
}

.rsvp-form__group--conditional[hidden] {
  display: block;
  max-height: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.rsvp-form__group--conditional:not([hidden]) {
  max-height: 1200px;
  opacity: 1;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, var(--clr-accent-dark) 0%, var(--clr-accent) 100%);
  color: var(--clr-white);
  padding: 100px 20px;
  text-align: center;
}

.footer__ornament {
  width: 80px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.4);
}

.footer__text {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 300;
  margin-bottom: 12px;
}

.footer__names {
  font-family: var(--font-accent);
  font-size: 26px;
  margin-bottom: 30px;
  opacity: 0.85;
}

.footer__hearts {
  color: rgba(255, 255, 255, 0.5);
}

.footer__hearts svg {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.15); }
  30% { transform: scale(1); }
  45% { transform: scale(1.1); }
}

/* Footer polaroid */
.footer__polaroid {
  display: inline-block;
  background: #fff;
  padding: 14px 14px 10px;
  margin-bottom: 36px;
  transform: rotate(-2deg);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.15),
    0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.footer__polaroid:hover {
  transform: rotate(0deg) scale(1.03);
}

.footer__polaroid-photo {
  overflow: hidden;
}

.footer__polaroid-photo img {
  width: 260px;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations */
.locations .location-card:nth-child(2).visible {
  transition-delay: 0.15s;
}

.countdown .countdown__item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.countdown.visible .countdown__item { opacity: 1; transform: translateY(0); }
.countdown.visible .countdown__item:nth-child(1) { transition-delay: 0s; }
.countdown.visible .countdown__item:nth-child(2) { transition-delay: 0.1s; }
.countdown.visible .countdown__item:nth-child(3) { transition-delay: 0.2s; }
.countdown.visible .countdown__item:nth-child(4) { transition-delay: 0.3s; }

.hero__polaroid--1 { transition-delay: 0.2s; }
.hero__polaroid--2 { transition-delay: 0.4s; }

.hero__polaroid--1.animate-on-scroll.visible {
  transform: rotate(-5deg);
}
.hero__polaroid--2.animate-on-scroll.visible {
  transform: rotate(4deg) translateY(30px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  :root {
    --radius-lg: 40px;
    --radius-md: 24px;
  }

  .section {
    padding: 70px 0;
  }

  .section__title {
    font-size: 34px;
  }

  .section__label {
    font-size: 18px;
  }

  .hero {
    padding: 60px 16px 100px;
  }

  .hero__names {
    font-size: 44px;
  }

  .hero__subtitle {
    font-size: 24px;
  }

  .hero__amp {
    font-size: 38px;
  }

  .hero__date {
    font-size: 16px;
    letter-spacing: 0.1em;
  }

  .hero__ornament {
    width: 100px;
  }

  .hero__images {
    gap: 0;
    margin-top: 40px;
  }

  .hero__polaroid {
    padding: 12px 10px 8px;
  }

  .hero__polaroid-photo img {
    width: 160px;
    height: 190px;
  }

  .hero__polaroid-caption {
    font-size: 13px;
    width: 160px;
    margin-top: 10px;
  }

  .hero__scroll-hint {
    bottom: 20px;
  }

  .section-divider svg {
    height: 25px;
  }

  .locations {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .location-card {
    padding: 30px 24px;
  }

  .countdown {
    gap: 10px;
  }

  .countdown__item {
    padding: 24px 8px;
    border-radius: var(--radius-md);
  }

  .countdown__number {
    font-size: 38px;
  }

  .countdown__label {
    font-size: 10px;
  }

  .timeline__item {
    grid-template-columns: 55px 20px 1fr;
    gap: 0 10px;
  }

  .timeline__time {
    font-size: 17px;
  }

  .timeline__right h3 {
    font-size: 20px;
  }

  .parallax-band {
    height: 220px;
    background-attachment: scroll;
  }

  .parallax-band__quote {
    font-size: 24px;
    padding: 0 20px;
  }

  .rsvp-form {
    padding: 35px 24px;
  }

  .rsvp-form__radio-group {
    flex-direction: column;
  }

  .rsvp-form__checkbox-group {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 70px 20px;
  }

  .footer__text {
    font-size: 30px;
  }

  .footer__names {
    font-size: 22px;
  }

  .footer__polaroid-photo img {
    width: 200px;
    height: 250px;
  }
}

@media (max-width: 500px) {
  .hero {
    padding: 50px 16px 90px;
  }

  .hero__names {
    font-size: 34px;
  }

  .hero__amp {
    font-size: 30px;
    margin: 6px 0;
  }

  .hero__subtitle {
    font-size: 20px;
  }

  .hero__polaroid {
    padding: 10px 8px 6px;
  }

  .hero__polaroid--1 {
    transform: rotate(-5deg) translateX(12px);
  }

  .hero__polaroid--2 {
    transform: rotate(4deg) translateX(-12px) translateY(14px);
  }

  .hero__polaroid-photo img {
    width: 130px;
    height: 155px;
  }

  .hero__polaroid-caption {
    font-size: 11px;
    width: 130px;
    margin-top: 6px;
  }

  .hero__images {
    gap: 0;
    margin-top: 30px;
  }

  .btn {
    padding: 14px 30px;
    font-size: 12px;
  }

  .calendar {
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 40px;
  }

  .countdown__number {
    font-size: 28px;
  }

  .section__title {
    font-size: 26px;
  }

  .section__label {
    font-size: 16px;
  }

  .date-section__date {
    font-size: 20px;
  }

  .parallax-band {
    height: 180px;
  }

  .parallax-band__quote {
    font-size: 18px;
  }

  .rsvp-form {
    padding: 28px 18px;
    border-radius: var(--radius-md);
  }

  .rsvp-form__input {
    padding: 14px 16px;
    font-size: 14px;
  }

  .rsvp-form__radio {
    padding: 14px 16px;
    font-size: 14px;
  }

  .rsvp-form__checkbox {
    padding: 12px 14px;
    font-size: 14px;
  }

  .rsvp-form__label {
    font-size: 14px;
  }

  .footer__text {
    font-size: 26px;
  }

  .footer__names {
    font-size: 18px;
  }

  .timeline__right h3 {
    font-size: 18px;
  }

  .timeline__time {
    font-size: 15px;
  }

  .timeline__item {
    grid-template-columns: 50px 18px 1fr;
    gap: 0 8px;
  }
}
