/* ──────────────────────────────────────────────────────────────
   landing.css  —  Fran & José
   ────────────────────────────────────────────────────────────── */

/* ─── Hero ───────────────────────────────────────────────────── */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 9rem 0 5.5rem;
  position: relative;
  overflow: visible;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  width: 100%;
}

/* "Nos casamos" label */
.hero-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Names + ampersand */
.hero-title {
  display: block;
  margin: 0;
  overflow: visible;
  line-height: 0.9;
}

.hero-name {
  display: inline;
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 10.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #12243d;
  line-height: 0.9;
}

.hero-amp {
  display: inline;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 11vw, 7.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--soft-coral);
  letter-spacing: -0.01em;
  margin: 0 0.06em;
}

/* Lead text */
.hero-lead {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 48ch;
  margin: 2.25rem auto 0;
  color: var(--muted);
  font-weight: 400;
}

/* ─── Countdown ──────────────────────────────────────────────── */

.countdown {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0.5rem;
  margin-top: 3rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem 1.1rem;
  min-width: 5.25rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(26, 51, 80, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.countdown-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 51, 80, 0.09), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

/* Remove legacy colored top-borders */
.countdown-coral,
.countdown-blue,
.countdown-navy,
.countdown-peach {
  border-top: 1px solid rgba(255, 255, 255, 0.72);
}

.countdown-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  transition: opacity 0.2s ease;
}

.countdown-value.is-flipping {
  opacity: 0.45;
}

.countdown-item small {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-sans);
  color: var(--muted);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.countdown-sep {
  display: flex;
  align-items: center;
  padding-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--muted);
  opacity: 0.35;
}

/* ─── Date ───────────────────────────────────────────────────── */

.hero-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
  font-family: var(--font-sans);
  font-size: 0.67rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.hero-date::before,
.hero-date::after {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  background: rgba(26, 51, 80, 0.2);
  flex-shrink: 0;
}

/* ─── Scroll Hint ────────────────────────────────────────────── */

.scroll-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
  color: var(--muted);
  opacity: 0.5;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.scroll-hint svg {
  animation: float 3s ease-in-out infinite;
}

.scroll-hint:hover {
  opacity: 0.85;
  transform: translateY(3px);
}

/* ─── Section Ornament (override) ───────────────────────────── */

.section-ornament {
  margin: 0 auto;
  padding: 0;
}

/* ─── Program / Timeline ─────────────────────────────────────── */

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  position: relative;
}

.timeline-track { display: none; }

.card-wide { grid-column: 1 / -1; }

/* ─── Location Section ───────────────────────────────────────── */

.section-soft {
  background: rgba(255, 255, 255, 0.44);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-block: 1px solid rgba(255, 255, 255, 0.42);
}

.location-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.location-venues {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.location-venues .location-block + .location-block {
  padding-top: 4rem;
  border-top: 1px solid var(--line);
}

.location-venue-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.location-text {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.venue-address {
  font-style: normal;
  margin: 0;
  line-height: 1.55;
}

.venue-address span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--navy-soft);
  font-weight: 400;
}

/* ─── Map ────────────────────────────────────────────────────── */

.map-panel {}

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(110, 150, 176, 0.18);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.map-iframe {
  display: block;
  width: 100%;
  height: min(360px, 56vw);
  min-height: 280px;
  border: 0;
}

.map-embed-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
}

.map-embed-hint {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--navy-soft);
  font-weight: 500;
  margin: 0;
}

.map-embed-actions {
  display: flex;
  gap: 0.5rem;
}

.map-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #fffefb 0%, #fef5ee 100%);
  border: 1px solid rgba(210, 165, 135, 0.35);
  box-shadow: 0 1px 4px rgba(90, 55, 40, 0.06);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.map-chip img {
  display: block;
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
}

.map-chip:hover {
  background: linear-gradient(180deg, #fef5ee 0%, #fce8dc 100%);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(90, 55, 40, 0.09);
}

.map-chip-waze {
  border-color: rgba(210, 165, 135, 0.35);
}

/* ─── RSVP Section ───────────────────────────────────────────── */

.section-rsvp {
  padding-bottom: 7rem;
}

.rsvp-panel {
  position: relative;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  padding: 4.5rem 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 40px 80px rgba(26, 51, 80, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.55) inset;
  overflow: hidden;
}

.rsvp-glow {
  position: absolute;
  inset: -60% -30%;
  background:
    radial-gradient(ellipse at 28% 38%, rgba(224, 122, 95, 0.10), transparent 52%),
    radial-gradient(ellipse at 72% 62%, rgba(110, 150, 176, 0.09), transparent 50%);
  pointer-events: none;
}

.rsvp-panel > *:not(.rsvp-glow) {
  position: relative;
  z-index: 1;
}

.rsvp-panel .eyebrow {
  margin-bottom: 0.75rem;
}

.rsvp-panel h2 {
  margin-top: 0.25rem;
}

.rsvp-text {
  margin: 1.25rem auto 2.5rem;
  max-width: 44ch;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.rsvp-text strong {
  color: var(--navy);
  font-weight: 600;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 820px) {
  .timeline {
    grid-template-columns: 1fr;
  }

  .card-wide {
    grid-column: auto;
  }

  .location-block {
    grid-template-columns: 1fr;
  }

  .countdown-sep {
    display: none;
  }

  .countdown-item {
    min-width: 4.5rem;
    padding: 1rem 1.1rem 0.85rem;
  }

  .countdown-value {
    font-size: 2.25rem;
  }

  .rsvp-panel {
    padding: 3rem 1.75rem;
  }

  .hero {
    padding: 7.5rem 0 4.5rem;
  }
}

@media (max-width: 540px) {
  .hero {
    padding: 6.5rem 0 4rem;
  }

  .countdown {
    gap: 0.35rem;
  }

  .countdown-item {
    min-width: 4rem;
    padding: 0.85rem 0.75rem 0.7rem;
  }

  .countdown-value {
    font-size: 1.9rem;
  }

  .rsvp-panel {
    padding: 2.5rem 1.25rem;
  }
}
