/* ==============================================================
   Luis & Toñi Wedding - Styles
   Color Palette (inspired by physical invite watercolor):
     terracotta:   #C75D3F   (primary deep orange-red)
     coral:        #E8997A   (medium peach)
     peach-soft:   #F4DCC9   (light peach wash)
     peach-bg:     #FAEEE3   (very light peach background)
     cream:        #FDFBF7
     dark-text:    #3D3D3D
     warm-accent:  #C9925E   (warm tan accent)
     leaf:         #7A8B6A   (subtle leaf green)
   ============================================================== */

/* Brand script font from the physical invitation */
@font-face {
  font-family: 'Emerald Cole';
  src: url('fonts/emerald-cole.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #3D3D3D;
  background-color: #FDFBF7;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 640px;
}

.script {
  font-family: 'Emerald Cole', 'Great Vibes', cursive;
}

/* ----- SECTIONS ----- */
.section {
  padding: 80px 0;
}

.section--cream {
  background-color: #FDFBF7;
}

.section--peach {
  background-color: #FAEEE3;
}

.section--terracotta {
  background: linear-gradient(160deg, #C75D3F 0%, #A84327 100%);
  color: #FDFBF7;
}

.section--terracotta-light {
  background: linear-gradient(160deg, #E8997A 0%, #C75D3F 100%);
  color: #FDFBF7;
}

.section__title {
  text-align: center;
  font-size: 3rem;
  font-weight: 400;
  color: #A84327;
  margin-bottom: 8px;
}

.section__title--light {
  color: #FDFBF7;
}

.section__ornament {
  width: 60px;
  height: 2px;
  background-color: #C9925E;
  margin: 0 auto 40px;
  border-radius: 1px;
}

.section__ornament--light {
  background-color: #FDFBF7;
  opacity: 0.7;
}

.section__ornament--flor {
  width: 150px;
  height: 124px;
  background-color: transparent;
  background-image: url('media/flor.png?v=2');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border-radius: 0;
  opacity: 1;
  margin: 4px auto 32px;
}

.section__subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: #5a5a5a;
  max-width: 600px;
  margin: -16px auto 40px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

.section__subtitle--light {
  color: rgba(253, 251, 247, 0.85);
}

.section__subtitle--light strong {
  color: #FDFBF7;
}

/* ==============================================================
   1. HERO
   ============================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #3D2A1F;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  text-align: center;
  z-index: 2;
}

.hero__portrait {
  width: min(82vw, 320px);
  height: min(82vw, 320px);
  border-radius: 22px;
  object-fit: cover;
  object-position: center 28%;
  border: 3px solid rgba(255,255,255,0.85);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  margin-bottom: 28px;
}

.hero__pretitle {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}

.hero__title {
  font-family: 'Emerald Cole', 'Great Vibes', cursive;
  font-size: 3.8rem;
  font-weight: 400;
  color: #fff;
  margin: 0 0 10px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

.hero__title {
  line-height: 1;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero__lettering {
  width: min(72vw, 340px);
  max-width: 100%;
  height: auto;
  /* lettering art is terracotta — lift it off the dark hero */
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0,0,0,0.45));
}

.hero__divider {
  width: 50px;
  height: 1px;
  background: rgba(255,255,255,0.6);
  margin: 8px auto 14px;
}

.hero__date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,0.95);
  margin: 0 0 4px;
}

.hero__venue {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

@media (min-width: 769px) {
  .hero__overlay {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 64px;
    padding: 0 48px;
    text-align: left;
  }
  .hero__portrait {
    width: 440px;
    height: 440px;
    border-radius: 28px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .hero__text {
    max-width: 480px;
  }
  .hero__divider {
    margin-left: 0;
    margin-right: 0;
  }
  .hero__title {
    font-size: 5.5rem;
  }
  .hero__pretitle {
    font-size: 1rem;
    letter-spacing: 6px;
  }
  .hero__date {
    font-size: 1.35rem;
  }
  .hero__venue {
    font-size: 0.8rem;
    letter-spacing: 5px;
  }
}

.scroll-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FDFBF7;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  opacity: 0.85;
  animation: scrollHintBounce 2s infinite;
  z-index: 10;
  text-transform: uppercase;
  cursor: pointer;
}

.scroll-hint svg {
  width: 22px;
  height: 22px;
  margin-top: 6px;
}

@keyframes scrollHintBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

/* ==============================================================
   2. STORY
   ============================================================== */
.invite-tagline {
  text-align: center;
  font-family: 'Emerald Cole', 'Great Vibes', cursive;
  font-size: 1.9rem;
  color: #C75D3F;
  margin: -16px auto 36px;
  max-width: 640px;
  line-height: 1.3;
  padding: 0 16px;
}

@media (min-width: 769px) {
  .invite-tagline { font-size: 2.4rem; }
}

.venue-card__quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  color: #5a4a40;
  max-width: 320px;
  margin: 0 auto 18px;
}


.story {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
}

.story__text {
  max-width: 620px;
}

.story__text p {
  font-size: 1.15rem;
  margin-bottom: 16px;
  text-align: center;
  line-height: 1.8;
}

.story__signature {
  font-size: 1.15rem;
  color: #C75D3F;
  margin-top: 28px;
  text-align: center;
}

.story__signature em {
  font-family: 'Emerald Cole', 'Great Vibes', cursive;
  font-size: 1.8rem;
  font-style: normal;
  color: #A84327;
}

/* Audio player */
.audio-player {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #C75D3F;
  border-radius: 30px;
  position: relative;
  z-index: 5;
}

.audio-button {
  width: 40px;
  height: 40px;
  background: #FDFBF7;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  padding: 0;
}

.audio-button:hover:not(:disabled) {
  transform: scale(1.1);
}

.audio-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.audio-icon {
  width: 18px;
  height: 18px;
  fill: #C75D3F;
}

.audio-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.audio-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: #FDFBF7;
  text-transform: uppercase;
}

.audio-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 15px;
}

.audio-wave span {
  width: 3px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  height: 5px;
}

.audio-player.playing .audio-wave span {
  animation: wave 0.5s ease-in-out infinite;
  background: #FDFBF7;
}

.audio-wave span:nth-child(1) { animation-delay: 0s; }
.audio-wave span:nth-child(2) { animation-delay: 0.1s; }
.audio-wave span:nth-child(3) { animation-delay: 0.2s; }
.audio-wave span:nth-child(4) { animation-delay: 0.3s; }
.audio-wave span:nth-child(5) { animation-delay: 0.4s; }

@keyframes wave {
  0%, 100% { height: 5px; }
  50% { height: 15px; }
}

/* ==============================================================
   3. COUNTDOWN + CALENDAR
   ============================================================== */
.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(253, 251, 247, 0.12);
  border: 1px solid rgba(253, 251, 247, 0.25);
  border-radius: 12px;
  padding: 20px 16px;
  min-width: 80px;
  backdrop-filter: blur(4px);
}

.countdown__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  color: #FDFBF7;
}

.countdown__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.75);
  margin-top: 6px;
}

/* Calendar */
.calendar {
  max-width: 380px;
  margin: 0 auto;
  background: #FDFBF7;
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(120, 40, 20, 0.28),
    0 2px 8px rgba(120, 40, 20, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.calendar__header {
  text-align: center;
  padding: 18px 24px 14px;
  background: #C75D3F;
  border-bottom: 3px solid #A84327;
  position: relative;
}

.calendar__header::before,
.calendar__header::after {
  content: '';
  position: absolute;
  top: -6px;
  width: 20px;
  height: 20px;
  background: #A84327;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  z-index: 1;
}

.calendar__header::before { left: 28px; }
.calendar__header::after { right: 28px; }

.calendar__month {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #FDFBF7;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  text-align: center;
  padding: 12px 16px 8px;
}

.calendar__day-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #C9925E;
  padding: 8px 0 6px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(199, 93, 63, 0.15);
}

.calendar__day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: #3D3D3D;
  padding: 6px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}

.calendar__day--empty { visibility: hidden; }

.calendar__day--weekend { color: #b8a89a; }

.calendar__day--highlight { position: relative; }

.calendar__day--highlight span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #C75D3F;
  color: #FDFBF7;
  border-radius: 50%;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 2px 14px rgba(199, 93, 63, 0.5);
  animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 2px 12px rgba(199, 93, 63, 0.45); }
  50% { box-shadow: 0 4px 22px rgba(199, 93, 63, 0.75); }
}

.calendar__note {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  color: #C9925E;
  padding: 8px 16px 16px;
  letter-spacing: 1px;
  border-top: 1px solid rgba(199, 93, 63, 0.1);
  margin: 0 16px;
}

/* ==============================================================
   4. VENUES
   ============================================================== */
.venues {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.venue-card {
  background: #FFFFFF;
  border: 1px solid rgba(199, 93, 63, 0.12);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  color: #3D3D3D;
  box-shadow: 0 8px 24px rgba(199, 93, 63, 0.08);
}

.venue-card__icon {
  margin-bottom: 16px;
  color: #C9925E;
  display: flex;
  justify-content: center;
}

.venue-card__icon svg {
  width: 72px;
  height: 72px;
}

.venue-card__illustration {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto;
}

.venue-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: #A84327;
  margin-bottom: 4px;
}

.venue-card__type {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(168, 67, 39, 0.7);
  margin-bottom: 20px;
}

.venue-card__divider {
  width: 40px;
  height: 1px;
  background: #C9925E;
  margin: 0 auto 20px;
}

.venue-card__detail {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(61, 61, 61, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.venue-card__detail svg {
  flex-shrink: 0;
  opacity: 0.6;
  color: #C75D3F;
}

.venue-card__map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 10px 24px;
  border: 1px solid #C75D3F;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: #A84327;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.venue-card__map-link:hover {
  background: #C75D3F;
  color: #FDFBF7;
}

/* ==============================================================
   5. PROGRAMA
   ============================================================== */
.programa-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0 auto;
}

.programa-card {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 280px;
}

.programa-card img {
  width: 120px;
  height: auto;
  display: block;
  flex-shrink: 0;
  filter: hue-rotate(330deg) saturate(1.15);
}

.programa-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.programa-time {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  color: #C75D3F;
}

.programa-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.3;
  color: #3D3D3D;
}

.programa-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  opacity: 0.65;
  line-height: 1.3;
  color: #3D3D3D;
}

.programa-divider {
  width: 1px;
  height: 18px;
  background: rgba(199, 93, 63, 0.25);
}

.programa-note {
  margin-top: 28px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-style: italic;
  color: #888;
}

/* ==============================================================
   6. NOTICE (no kids)
   ============================================================== */
.notice {
  background: rgba(253, 251, 247, 0.95);
  border-radius: 18px;
  padding: 44px 36px;
  text-align: center;
  color: #3D3D3D;
  box-shadow: 0 16px 40px rgba(168, 67, 39, 0.18);
  position: relative;
  border: 1px solid rgba(168, 67, 39, 0.1);
}

.notice__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  color: #C75D3F;
}

.notice__icon svg {
  width: 56px;
  height: 56px;
}

.notice__title {
  font-family: 'Emerald Cole', 'Great Vibes', cursive;
  font-size: 2.2rem;
  font-weight: 400;
  color: #A84327;
  margin-bottom: 16px;
  line-height: 1.2;
}

.notice__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #3D3D3D;
  line-height: 1.7;
  margin-bottom: 12px;
}

.notice__text em {
  color: #C75D3F;
  font-style: italic;
}

.notice__text--small {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: #888;
  margin-top: 8px;
}

/* ==============================================================
   7. PARTICIPA (album + canción)
   ============================================================== */
.participa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .participa-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.participa-card {
  background: #FFFFFF;
  border: 1px solid rgba(199, 93, 63, 0.12);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(199, 93, 63, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.participa-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FAEEE3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C75D3F;
  margin-bottom: 16px;
}

.participa-card__icon svg {
  width: 32px;
  height: 32px;
}

.participa-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #A84327;
  margin-bottom: 10px;
}

.participa-card__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: #555;
  line-height: 1.6;
  margin-bottom: 14px;
}

.participa-card__note {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-style: italic;
  color: #888;
  margin-top: auto;
}

.participa-card__cta {
  display: inline-block;
  margin-top: auto;
  padding: 10px 22px;
  border: 1px solid #C75D3F;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #A84327;
  transition: all 0.3s;
}

.participa-card__cta:hover {
  background: #C75D3F;
  color: #FDFBF7;
}

/* ==============================================================
   8. RSVP
   ============================================================== */
.rsvp-btn {
  display: block;
  margin: 0 auto;
  padding: 18px 48px;
  background: #FDFBF7;
  color: #A84327;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(60, 20, 10, 0.25);
}

.rsvp-btn:hover {
  background: #FFFFFF;
  box-shadow: 0 6px 28px rgba(60, 20, 10, 0.35);
  transform: translateY(-2px);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s;
}

.modal--open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(60, 25, 15, 0.6);
  backdrop-filter: blur(4px);
}

.modal__container {
  position: relative;
  z-index: 1;
  width: 94%;
  max-width: 560px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  background: #FDFBF7;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(60, 25, 15, 0.25);
  transform: translateY(20px);
  transition: transform 0.35s;
}

.modal--open .modal__container {
  transform: translateY(0);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 16px;
  border-bottom: 1px solid rgba(199, 93, 63, 0.12);
  position: sticky;
  top: 0;
  background: #FDFBF7;
  border-radius: 20px 20px 0 0;
  z-index: 2;
}

.modal__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #A84327;
}

.modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  transition: all 0.2s;
}

.modal__close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #3D3D3D;
}

/* Form */
.rsvp-form {
  padding: 24px 28px 28px;
}

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

.rsvp-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rsvp-form__label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #A84327;
  margin-bottom: 6px;
}

.rsvp-form__hint {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  color: #999;
  margin-top: 6px;
  font-style: italic;
}

.rsvp-form__input,
.rsvp-form__select,
.rsvp-form__textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: #3D3D3D;
  background: #FFFFFF;
  border: 1.5px solid #e5d6c9;
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.rsvp-form__input:focus,
.rsvp-form__select:focus,
.rsvp-form__textarea:focus {
  border-color: #C75D3F;
  box-shadow: 0 0 0 3px rgba(199, 93, 63, 0.15);
}

.rsvp-form__input::placeholder,
.rsvp-form__textarea::placeholder {
  color: #bbb;
}

.rsvp-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23C75D3F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.rsvp-form__textarea {
  resize: vertical;
  min-height: 80px;
}

/* Attendees */
.rsvp-form__attendees {
  margin-bottom: 20px;
}

.attendee-field {
  background: rgba(199, 93, 63, 0.05);
  border: 1px solid rgba(199, 93, 63, 0.12);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.attendee-field__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #C75D3F;
  margin-bottom: 10px;
}

.attendee-field__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.attendee-field__row:last-child { margin-bottom: 0; }

.attendee-field__row .rsvp-form__input {
  font-size: 0.8rem;
  padding: 10px 12px;
}

/* Radios */
.rsvp-form__radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rsvp-form__radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: #3D3D3D;
}

.rsvp-form__radio input[type="radio"] { display: none; }

.rsvp-form__radio-mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ccc;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s;
}

.rsvp-form__radio input[type="radio"]:checked + .rsvp-form__radio-mark {
  border-color: #C75D3F;
}

.rsvp-form__radio input[type="radio"]:checked + .rsvp-form__radio-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #C75D3F;
}

/* Submit */
.rsvp-form__submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #C75D3F, #A84327);
  color: #FDFBF7;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 12px;
  transition: all 0.3s;
  margin-top: 8px;
}

.rsvp-form__submit:hover {
  box-shadow: 0 4px 16px rgba(199, 93, 63, 0.35);
  transform: translateY(-1px);
}

.rsvp-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Success / Error */
.rsvp-success,
.rsvp-error {
  padding: 48px 28px;
  text-align: center;
}

.rsvp-success__icon,
.rsvp-error__icon {
  margin-bottom: 20px;
}

.rsvp-success__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #A84327;
  margin-bottom: 12px;
}

.rsvp-success__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: #666;
  line-height: 1.6;
  margin-bottom: 28px;
}

.rsvp-success__close {
  padding: 12px 32px;
  background: #C75D3F;
  color: #FDFBF7;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 30px;
  transition: all 0.3s;
}

.rsvp-success__close:hover { background: #A84327; }

.rsvp-error__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #c0392b;
  margin-bottom: 12px;
}

.rsvp-error__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: #666;
  line-height: 1.6;
  margin-bottom: 28px;
}

.rsvp-error__retry {
  padding: 12px 32px;
  background: #c0392b;
  color: #FDFBF7;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 30px;
  transition: all 0.3s;
}

.rsvp-error__retry:hover { background: #a93226; }

/* ==============================================================
   FOOTER
   ============================================================== */
.footer {
  background: #3D2A1F;
  padding: 48px 24px;
  text-align: center;
}

.footer__monogram {
  line-height: 1;
}

.footer__monogram img {
  width: 116px;
  height: auto;
  margin: 0 auto;
  opacity: 0.92;
}

.footer__divider {
  width: 40px;
  height: 1px;
  background: rgba(253, 251, 247, 0.2);
  margin: 16px auto;
}

.footer__date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.55);
  margin-bottom: 4px;
}

/* ==============================================================
   SCROLL ANIMATIONS
   ============================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================================================
   RESPONSIVE
   ============================================================== */
@media (max-width: 480px) {
  .section__title { font-size: 2.4rem; }
  .countdown { gap: 12px; }
  .countdown__item { min-width: 65px; padding: 14px 10px; }
  .countdown__number { font-size: 2rem; }
  .calendar__day--highlight span { width: 32px; height: 32px; font-size: 0.95rem; }
  .rsvp-form__row { grid-template-columns: 1fr; }
  .programa-card { width: 250px; gap: 14px; }
  .programa-card img { width: 100px; }
  .programa-label { font-size: 0.95rem; }
  .notice { padding: 36px 24px; }
  .notice__title { font-size: 1.9rem; }
  .notice__text { font-size: 1rem; }
}

@media (min-width: 769px) {
  .section { padding: 100px 0; }
  .section__title { font-size: 3.5rem; }
  .countdown__number { font-size: 3rem; }
  .countdown__item { min-width: 100px; padding: 24px 20px; }
  .programa-card { width: 340px; gap: 22px; }
  .programa-card img { width: 140px; }
  .programa-time { font-size: 1.1rem; }
  .programa-label { font-size: 1.2rem; }
}

body.modal-open { overflow: hidden; }
