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

#screen-main {
  display: none;
  background-color: #fff8ee;
  min-height: 100dvh;
}

/* ─── Main Screen ─── */
.main-screen {
  background-color: #fff8ee;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
}

/* ══════════════════════════════════════
   SECTION 1 — HERO
══════════════════════════════════════ */
.section-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 32px 44px;
  gap: clamp(14px, 4vw, 24px);
}

/* ─── Hero image stack (text arc + glass) ─── */
.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-yey {
  width: 92%;
  aspect-ratio: 654 / 252;
  object-fit: contain;
  position: relative;
  z-index: 2;
  margin-bottom: -52px; /* arc overlaps the top of the glass */
}

.hero-glass {
  width: 52%;
  aspect-ratio: 534 / 1029;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

/* ─── Valu & Joaco logo ─── */
.hero-logo {
  width: clamp(200px, 65vw, 340px);
}

/* ─── CTA Navigation ─── */
.cta-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 200px;
  gap: 0;
}

/* Button rows */
.cta-row {
  display: flex;
  width: 100%;
}

.cta-row--left  { justify-content: flex-start; }
.cta-row--right { justify-content: flex-end; }

/* Arrow connector rows */
.cta-connector {
  display: flex;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Right arrow: position controlled via margin-right on the arrow itself */
.cta-connector--right {
  justify-content: flex-end;
}

/* Left arrow: position controlled via margin-left on the arrow itself */
.cta-connector--left {
  justify-content: flex-start;
}

/* ─── Arrow images ─── */
.cta-arrow {
  width: 28px;
  display: block;
}

#arrow-1 { margin-top: -18px; margin-bottom: 4px; max-width: 16px; margin-right: 65px; }
#arrow-2 { margin-top: -16px; margin-bottom: 4px; margin-left: 55px; }
#arrow-3 { margin-top: -12px; margin-bottom: 8px; margin-right: 68px; }
#arrow-4 { margin-top: 6px; margin-bottom: -17px; margin-left: 143px; }

/* ─── Pill buttons ─── */
.cta-pill {
  font-family: 'Chivo', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.12em;
  padding: 10px 22px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.cta-pill:hover {
  transform: scale(1.05);
}

.cta-pill--outline {
  border: 2px solid #d95f67;
  color: #d95f67;
  background: transparent;
}

.cta-pill--filled {
  background: linear-gradient(to right, #d82e2e, #d9666f);
  color: #fff8ee;
  border: none;
}

.cta-pill--filled-dark {
  background: linear-gradient(to right, #d9666f, #d82e2e);
  color: #fff8ee;
  border: none;
}

/* ══════════════════════════════════════
   SECTIONS 2+ — SHARED
══════════════════════════════════════ */
.content-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 32px;
  gap: 35px;
}

/* ─── Section header: title + separator ─── */
.section-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.section-title {
  font-family: 'Chivo', sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: #2a1515;
  text-align: center;
  text-transform: uppercase;
}

.section-sep {
  border: none;
  border-top: 1.5px solid #590202;
  width: 100%;
}

/* ─── Date image ─── */
.date-img {
  width: 85%;
  max-width: 360px;
}

/* ─── Time text + underline ─── */
.time-text {
  font-family: 'Chivo', sans-serif;
  font-size: clamp(16px, 4.5vw, 20px);
  font-weight: 400;
  text-align: center;
  color: #2a1515;
}

.time-phrase {
  position: relative;
  display: inline-block;
}

.time-underline {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  margin-top: 4px;
}

/* ─── Dresscode text ─── */
.dresscode-text {
  font-family: 'Chivo', sans-serif;
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  color: #2a1515;
  text-align: center;
  line-height: 1.6;
}

/* ─── Calendar CTA ─── */
.cal-btn {
  display: block;
  background: linear-gradient(to right, #c05060, #c87078);
  color: #fff8ee;
  font-family: 'Chivo', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  text-align: center;
  width: 85%;
  max-width: 320px;
}

.cal-btn:hover {
  transform: scale(1.03);
  transition: transform 0.15s ease;
}

/* ─── Chart image ─── */
.chart-img {
  width: 100%;
  max-width: 420px;
}

/* ══════════════════════════════════════
   SECTION 4 — DÓNDE
══════════════════════════════════════ */
.venue-name {
  width: 88%;
  max-width: 380px;
}

/* ══════════════════════════════════════
   SECTION 5 — SPONSOR CARD
══════════════════════════════════════ */
.sponsor-card {
  position: relative;
  background: #590202;
  border-radius: 20px;
  padding: 28px 24px 28px;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  overflow: visible;
}

/* Pin — top-right corner, overflows card */
.sponsor-pin {
  position: absolute;
  top: -30px;
  right: -12px;
  width: 110px;
  z-index: 2;
}

/* "PODÉS SER" row with lines */
.sponsor-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}

.sponsor-rule {
  flex: 1;
  border: none;
  border-top: 1px solid rgba(240, 228, 208, 0.4);
}

.sponsor-label {
  font-family: 'Chivo', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: #f0e4d0;
  white-space: nowrap;
}

/* "SPONSOR OFICIAL" */
.sponsor-title {
  font-family: 'Chivo', sans-serif;
  font-size: clamp(26px, 7vw, 36px);
  font-weight: 900;
  font-style: italic;
  color: #fff8ee;
  text-align: center;
  line-height: 1;
}

/* "DE NUESTRA LUNA DE MIEL." */
.sponsor-subtitle {
  font-family: 'Chivo', sans-serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: #f0e4d0;
  text-align: center;
  text-transform: uppercase;
}

/* Description */
.sponsor-desc {
  font-family: 'Chivo', sans-serif;
  font-size: 13px;
  font-weight: 300;
  font-style: italic;
  color: #f0e4d0;
  text-align: center;
  line-height: 1.55;
}

/* "Quiero ser sponsor!" button */
.sponsor-btn {
  display: block;
  background: linear-gradient(to right, #d82e2e, #c94050);
  color: #fff8ee;
  font-family: 'Chivo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  text-align: center;
  width: 90%;
  margin-top: 6px;
  transition: transform 0.15s ease;
}

.sponsor-btn:hover { transform: scale(1.03); }

/* ══════════════════════════════════════
   SECTION 6 — CONFIRMAR + FOOTER
══════════════════════════════════════ */
.section-footer {
  padding-bottom: 56px;
}

/* "MUCHO MUY IMPORTANTE" */
.confirm-title {
  font-family: 'Chivo', sans-serif;
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 300;
  color: #590202;
  text-align: center;
  line-height: 1.2;
}

.confirm-title strong {
  font-weight: 900;
}

/* Form pill */
.confirm-pill {
  display: block;
  border: 1.5px solid #590202;
  border-radius: 100px;
  padding: 16px 24px;
  font-family: 'Chivo', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #590202;
  text-align: center;
  text-decoration: none;
  width: 90%;
  max-width: 360px;
  line-height: 1.5;
}

.confirm-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Deadline text */
.confirm-deadline {
  font-family: 'Chivo', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #606060;
  text-align: center;
}

/* Footer logo */
.footer-logo {
  width: clamp(180px, 55vw, 280px);
}

/* Closing image */
.footer-closing {
  width: 75%;
  max-width: 280px;
}

/* ══════════════════════════════════════
   SPONSOR MODAL
══════════════════════════════════════ */
.smodal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: flex-end;
  justify-content: center;
}

.smodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.smodal__sheet {
  position: relative;
  width: 100%;
  max-width: 430px;
  background: #590202;
  border-radius: 24px 24px 0 0;
  padding: 28px 28px 52px;
  z-index: 1;
}

.smodal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: rgba(240, 228, 208, 0.5);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  font-family: 'Chivo', sans-serif;
  line-height: 1;
}

.smodal__eyebrow {
  font-family: 'Chivo', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: rgba(240, 228, 208, 0.55);
  margin-bottom: 4px;
}

.smodal__heading {
  font-family: 'Chivo', sans-serif;
  font-size: 34px;
  font-weight: 900;
  font-style: italic;
  color: #fff8ee;
  margin-bottom: 28px;
  line-height: 1;
}

.smodal__choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.smodal__choice-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(240, 228, 208, 0.1);
  border: 1.5px solid rgba(240, 228, 208, 0.22);
  border-radius: 16px;
  padding: 20px 12px 16px;
  font-family: 'Chivo', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f0e4d0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.smodal__choice-btn:hover {
  background: rgba(240, 228, 208, 0.2);
}

.smodal__choice-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.smodal__back {
  background: none;
  border: none;
  color: rgba(240, 228, 208, 0.55);
  font-family: 'Chivo', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.15em;
  cursor: pointer;
  padding: 0;
  margin-bottom: 14px;
  display: block;
}

.smodal__screen--hidden {
  display: none;
}

.smodal__fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sfield__label {
  display: block;
  font-family: 'Chivo', sans-serif;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: rgba(240, 228, 208, 0.5);
  margin-bottom: 6px;
}

.sfield__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(240, 228, 208, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
}

.sfield__value {
  font-family: 'Chivo', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #f0e4d0;
  word-break: break-all;
  flex: 1;
}

.sfield__copy {
  flex-shrink: 0;
  background: rgba(240, 228, 208, 0.15);
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  font-family: 'Chivo', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f0e4d0;
  cursor: pointer;
  transition: background 0.15s ease;
  min-width: 52px;
  text-align: center;
}

.sfield__copy:hover {
  background: rgba(240, 228, 208, 0.28);
}
