:root {
  --ivory: #fffaf1;
  --gold: #b98a38;
  --deep: #3a241d;
  --rose: #f6dfd7;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--deep);
  background: var(--ivory);
}

.verify-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at top, #fff, var(--rose), var(--ivory));
}

.verify-card {
  width: min(440px, 100%);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(185,138,56,0.35);
  border-radius: 28px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 25px 70px rgba(58,36,29,0.16);
}

.monogram {
  width: 86px;
  height: 86px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: var(--gold);
  font-size: 25px;
  letter-spacing: 2px;
}

.monogram.big {
  width: 112px;
  height: 112px;
  font-size: 34px;
}

input, select, textarea, button {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border-radius: 14px;
  border: 1px solid rgba(58,36,29,0.2);
  font-size: 16px;
}

button, .primary-btn {
  background: var(--gold);
  color: white;
  border: none;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  border-radius: 999px;
  padding: 14px 28px;
  cursor: pointer;
  font-weight: bold;
}

.hidden { display: none !important; }

.message { color: var(--gold); font-weight: bold; }

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 50px 18px;
  text-align: center;
  background:
    linear-gradient(rgba(58,36,29,0.45), rgba(58,36,29,0.55)),
    url('images/couple-background.jpg') center/cover;
}

.hero-content {
  max-width: 860px;
  color: white;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(42px, 9vw, 86px);
  line-height: 0.95;
  margin: 10px 0;
  font-weight: normal;
}

.hero h1 span { color: #ffd98f; }

.eyebrow, .date, .quote {
  font-size: clamp(17px, 3vw, 24px);
}

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

.countdown div {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 18px;
  padding: 16px 8px;
  backdrop-filter: blur(8px);
}

.countdown strong {
  display: block;
  font-size: 30px;
}

.section {
  padding: 70px 20px;
  max-width: 1050px;
  margin: auto;
  text-align: center;
}

.section h2 {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--gold);
  font-weight: normal;
}

.cards, .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card, .photo {
  background: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 15px 35px rgba(58,36,29,0.08);
  border: 1px solid rgba(185,138,56,0.18);
}

.photo {
  aspect-ratio: 4/5;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff, #f6dfd7);
}

.map-wrap {
  border-radius: 26px;
  overflow: hidden;
  border: 8px solid white;
  box-shadow: 0 18px 40px rgba(58,36,29,0.12);
  margin: 25px auto;
}

iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

.rsvp form {
  max-width: 560px;
  margin: auto;
}

footer {
  text-align: center;
  background: var(--deep);
  color: white;
  padding: 28px;
}

@media (max-width: 640px) {
  .countdown { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 48px 16px; }
}
