* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #f5f0eb;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  font-family: sans-serif;
  font-family: "Roboto Serif", serif;
  font-size: 20px;
}
.phone-wrap {
  width: 390px;
  min-height: 100vh;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.hero {
  position: relative;
  width: 100%;
  height: 20vh;
  min-height: 500px;
  overflow: hidden;
  background-image: url("./images/PhotoPrueba8.png");
  background-size: cover;
  background-position: center top;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.hero-text {
  bottom: 60px;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0 20px;
}
.hero-names {
  font-family: "MonteCarlo", cursive;
  font-size: 64px;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  margin-bottom: 8px;
  animation: fadeUp 1.2s ease both;
}
.hero-subtitle {
  font-family: "Roboto Serif", serif;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.35em;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
  text-transform: uppercase;
  animation: fadeUp 1.2s ease 0.2s both;
}

.hero-space {
  height: 200px;
}

.invita {
  padding: 20px;
  text-align: center;
  overflow: hidden;
  background-image: url("./images/Bg-Follajes.png");
  background-size: cover;
  background-position: center top;
}

.mensaje {
  font-family: "Roboto Serif", serif;
  font-weight: 100;
  font-size: 16px;
  color: #400011;
}

.fecha {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 6px 0;
  margin-top: 20px;
}

.dia-semana,
.mes {
  font-size: 16px;
  font-weight: 100;
  color: #4a5a3a;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #4a5a3a;
  border-top: 1px solid #4a5a3a;
  padding-bottom: 2px;
}

.dia-semana {
  padding-right: 6px;
}

.mes {
  padding-left: 6px;
}

.numero {
  font-size: 50px;
  font-weight: 700;
  color: #3a4a2a;
  line-height: 1;
  padding: 0 4px;
}

/* ── COUNTDOWN SECTION ── */
.countdown-section {
  position: relative;
  padding: 10px 24px;
  text-align: center;
  overflow: hidden;
}

.countdown-title {
  font-family: "Roboto Serif", serif;
  font-size: 22px;
  font-weight: 400;
  color: #2b0a14;
  margin-bottom: 36px;
  letter-spacing: 0.01em;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.countdown-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ede8e3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Roboto Serif", serif;
  font-size: 24px;
  font-weight: 400;
  color: #2b0a14;
}

.countdown-label {
  font-family: "Roboto Serif", serif;
  font-size: 11px;
  font-weight: 300;
  color: #8b1a2e;
  letter-spacing: 0.05em;
}

.guests-section {
  padding: 48px 32px 52px;
  text-align: center;
}

.guests-count {
  font-family: "Roboto Serif", serif;
  font-size: 20px;
  font-weight: 200;
  color: #2b0a14;
  letter-spacing: 0.08em;
  text-transform: capitalize;
  margin-bottom: 6px;
}

.guests-title {
  font-family: "Roboto Serif", serif;
  font-size: 20px;
  font-weight: 200;
  color: #2b0a14;
  margin-bottom: 10px;
}

.guests-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
}

/* Cuando hay 1 solo invitado, ocupa toda la fila */
.guests-grid.single .guest-name {
  grid-column: 1 / -1;
}

.guest-name {
  font-family: "Roboto Serif", serif;
  font-size: 15px;
  font-weight: 300;
  color: #2b0a14;
  padding: 12px 8px;
  border-bottom: 1px solid #e8e0d8;
  text-align: center;
}

.ceremony-section {
  background: #e8ddd6;
  padding: 48px 32px 52px;
  text-align: center;
}

.ceremony-icon,
.gift-icon {
  display: inline-block;
  margin-bottom: 16px;
  animation: heartbeat 1.4s ease-in-out infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.18);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.12);
  }
  56% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}

.ceremony-title {
  font-family: "Roboto Serif", serif;
  font-size: 22px;
  font-weight: 400;
  color: #400011;
  margin-bottom: 6px;
}

.ceremony-time {
  font-family: "Roboto Serif", serif;
  font-size: 15px;
  font-weight: 600;
  color: #400011;
  margin-bottom: 20px;
}

.ceremony-address {
  font-family: "Roboto Serif", serif;
  font-size: 16px;
  font-weight: 300;
  color: #400011;
  line-height: 1.7;
  margin-bottom: 28px;
  padding: 0 10px;
}

.btn-location {
  display: inline-block;
  font-family: "Roboto Serif", serif;
  font-size: 13px;
  font-weight: 400;
  color: #400011;
  background: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-location:hover {
  color: #fff;
  background: #400011;
}

.celebration-section {
  background: #fff;
  padding: 48px 32px 52px;
  text-align: center;
  background-image: url("./images/Bg-Follajes-.png");
  background-size: cover;
  background-position: center top;
}

.dress-celebration-section {
  padding: 50px 0px 0px 0px;
}

.btn-location-celebration {
  color: #400011;
  background: #e0cfc8;
}

.paleta-colores {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 24px;
}
.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.gallery-photos {
  gap: 8px;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
}

.gallery-photo {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}
.gallery-title {
  font-family: "Roboto Serif", serif;
  font-size: 22px;
  font-weight: 200;
  color: #400011;
  margin-bottom: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.gift-confirmation-section {
  background: #fff;
  padding: 48px 32px 10px;
  text-align: center;
  background-image: url("./images/Bg-Follajes-Final.png");
  background-size: cover;
  background-position: center top;
}

.gift-title {
  font-family: "Roboto Serif", serif;
  font-size: 20px;
  font-weight: 300;
  color: #525b40;
  margin-bottom: 6px;
}

.gift-description {
  font-family: "Roboto Serif", serif;
  font-size: 16px;
  font-weight: 300;
  color: #400011;
}

.confirmation-text {
  font-family: "Roboto Serif", serif;
  font-size: 22px;
  font-weight: 300;
  color: #525b40;
  margin-top: 70px;
}

/* ── RSVP SECTION ── */
.rsvp-section {
  padding: 20px;
  text-align: center;
}

.rsvp-title {
  font-family: "Roboto Serif", serif;
  font-size: 22px;
  font-weight: 400;
  color: #2b0a14;
  margin-bottom: 8px;
}

.rsvp-subtitle {
  font-family: "Roboto Serif", serif;
  font-size: 13px;
  font-weight: 300;
  color: #8b1a2e;
  letter-spacing: 0.05em;
  margin-bottom: 36px;
}

/* ── Fila por invitado ── */
.guest-row {
  margin-bottom: 28px;
  text-align: center;
}

.guest-row-name {
  font-family: "Roboto Serif", serif;
  font-size: 15px;
  font-weight: 400;
  color: #2b0a14;
  margin-bottom: 10px;
}

.radio-group {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* Radio personalizado */
.radio-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c8b89a;
  background: #e8e0d8;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.radio-option input[type="radio"]:checked {
  background: #8b1a2e;
  border-color: #8b1a2e;
  box-shadow: inset 0 0 0 3px #fff;
}

.radio-option span {
  font-family: "Roboto Serif", serif;
  font-size: 13px;
  font-weight: 300;
  color: #2b0a14;
  user-select: none;
}

/* ── Botón enviar ── */
.btn-send {
  display: none; /* oculto hasta que todos respondan */
  margin-top: 32px;
  width: 100%;
  padding: 14px;
  background: #8b1a2e;
  color: #fff;
  font-family: "Roboto Serif", serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-send:hover {
  background: #6e1424;
}
.btn-send.visible {
  display: block;
}

/* ── Estado de éxito ── */
.success-msg {
  display: none;
  margin-top: 24px;
  padding: 16px;
  background: #f0ebe5;
  border-radius: 6px;
  font-family: "Roboto Serif", serif;
  font-size: 14px;
  color: #2b0a14;
  line-height: 1.6;
}

.success-msg.visible {
  display: block;
}

/* ── Estado de error ── */
.error-msg {
  display: none;
  margin-top: 16px;
  font-family: "Roboto Serif", serif;
  font-size: 13px;
  color: #c0392b;
}

.error-msg.visible {
  display: block;
}

/* ── Loading ── */
.btn-send.loading {
  opacity: 0.7;
  pointer-events: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer {
  padding: 48px 32px 52px;
  text-align: center;
  background-image: url("./images/bg-Footer.png");
  background-size: cover;
  background-position: center top;
}

.footer-text {
  font-family: "Roboto Serif", serif;
  font-size: 18px;
  font-weight: 100;
  color: #400011;
}

.footer-text-novios {
  font-family: "MonteCarlo", cursive;
  font-size: 40px;
  color: #525b40;
  line-height: 1.1;
  margin-top: 8px;
}
