:root {
  --bg: #fbf8f4;
  --paper: #ffffff;
  --text: #1f1b17;
  --muted: #6c655d;
  --line: rgba(31, 27, 23, 0.08);
  --accent: #8d6b54;
  --accent-dark: #6f503c;
  --shadow: 0 18px 50px rgba(31, 27, 23, 0.08);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(251, 248, 244, 0.78);
  border-bottom: 1px solid rgba(31, 27, 23, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}

.brand,
.hero h1,
.section-heading h2,
.detail-card h3,
.location-card h3,
.gift-card h3,
.transfer-card h2,
.gift-modal-header h3,
.gift-selected-card h4,
.gift-payment-card h4 {
  font-family: 'Cormorant Garamond', serif;
}

.brand {
  font-size: 1.8rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.96rem;
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.74), transparent 32%),
    linear-gradient(135deg, rgba(141,107,84,0.88), rgba(93,72,58,0.82)),
    url('assets/hero-pattern.svg') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 10, 8, 0.15), rgba(15, 10, 8, 0.35));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding: 90px 0;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 7.2rem);
  line-height: 0.96;
}
.hero h1 span { opacity: 0.84; }
.hero-date {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 18px 0 12px;
}
.hero-copy {
  width: min(700px, 100%);
  margin: 0 auto;
  line-height: 1.75;
  color: rgba(255,255,255,0.92);
}

.hero-actions,
.gift-form-actions,
.location-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-actions { justify-content: center; margin-top: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.14);
}
.btn-secondary {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.btn-sm { min-height: 44px; padding: 0 16px; }
.btn-light { background: #f1ece5; color: var(--text); }

.section {
  padding: 88px 0;
}
.section-soft { background: linear-gradient(to bottom, #fffdfb, #f8f4ef); }
.section-heading {
  text-align: center;
  margin-bottom: 38px;
}
.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}
.section-subtitle {
  width: min(700px, 100%);
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.7;
}
.section-subtitle.left { margin: 0; }

.details-grid,
.gifts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.detail-card,
.gift-card,
.location-card,
.transfer-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-card {
  padding: 28px;
  text-align: center;
}
.detail-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #f3ece4;
  font-size: 1.55rem;
  margin-bottom: 12px;
}
.detail-card h3 { margin: 0 0 8px; font-size: 2rem; }
.detail-card p { margin: 6px 0; color: var(--muted); line-height: 1.6; }

.locations-grid {
  display: grid;
  gap: 28px;
}
.location-card {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 24px;
  padding: 24px;
  overflow: hidden;
}
.location-info { align-self: center; }
.location-tag,
.gift-step-pill {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f6efe8;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
}
.location-card h3 { margin: 14px 0 8px; font-size: 2rem; }
.location-card p { color: var(--muted); line-height: 1.6; margin: 0; }
.map-frame-wrap {
  min-height: 360px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f0ece7;
}
.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.gift-card { overflow: hidden; }
.gift-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, #d9c0ad, #f2e5d9);
}
.gift-card-body { padding: 22px; }
.gift-card h3 { margin: 0 0 10px; font-size: 1.9rem; }
.gift-price {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 600;
}

.transfer-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  padding: 32px;
  align-items: center;
}
.transfer-card h2 { margin: 0 0 10px; font-size: 3rem; }
.transfer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.transfer-grid div {
  background: #faf6f0;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}
.transfer-grid span {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 8px;
}
.transfer-grid strong { font-size: 1.05rem; }

.site-footer {
  padding: 30px 0 50px;
  text-align: center;
  color: var(--muted);
}

.hidden { display: none !important; }
.gift-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.gift-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 18, 15, 0.48);
  backdrop-filter: blur(4px);
}
.gift-modal-dialog {
  position: relative;
  width: min(700px, calc(100% - 24px));
  margin: 32px auto;
  max-height: calc(100vh - 64px);
  overflow: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.2);
  padding: 28px;
}
.gift-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: #f3eee7;
  font-size: 1.4rem;
  cursor: pointer;
}
.gift-modal-header { padding-right: 44px; }
.gift-modal-header h3 { margin: 12px 0 8px; font-size: 2.5rem; }
.gift-modal-subtitle,
.gift-selected-card p,
.gift-payment-note,
.gift-summary,
.form-row label,
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--muted);
}
.gift-selected-card,
.gift-payment-card {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fcfbf9;
}
.gift-selected-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-dark);
}
.gift-selected-card h4,
.gift-payment-card h4 { margin: 0 0 8px; font-size: 1.9rem; }
.gift-form { margin-top: 22px; }
.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-row label { font-weight: 600; color: var(--text); }
.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid #ded6cd;
  border-radius: 18px;
  background: white;
  padding: 14px 16px;
  outline: none;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(141,107,84,0.12);
}
.transfer-data {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
}
.gift-summary {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f7f1ea;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .details-grid,
  .gifts-grid,
  .transfer-card,
  .location-card {
    grid-template-columns: 1fr;
  }
  .map-frame-wrap,
  .map-frame-wrap iframe { min-height: 300px; }
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .section { padding: 72px 0; }
  .hero { min-height: auto; }
  .hero-content { padding: 110px 0 80px; }
  .hero h1 { font-size: 4.3rem; }
  .hero-actions,
  .gift-form-actions { flex-direction: column; }
  .hero-actions .btn,
  .gift-form-actions .btn,
  .gift-form-actions a { width: 100%; }
  .transfer-grid { grid-template-columns: 1fr; }
  .gift-modal-dialog {
    width: calc(100% - 16px);
    margin: 8px auto;
    max-height: calc(100vh - 16px);
    padding: 20px;
  }
}
