:root {
  --navy: #041e42;
  --gold: #dfc477;
  --cream: #faf8f2;
  --text: #2c2c2c;
  --text-light: #5a5a5a;
  --line: #e8e4da;
  --title: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --bs-body-font-family: var(--body);
  --bs-body-color: var(--text);
  --bs-body-bg: var(--cream);
  --bs-heading-color: var(--navy);
  --bs-primary: var(--gold);
  --bs-link-color: var(--gold);
  --bs-link-hover-color: #8d6e26;
  --bs-border-color: var(--line);
}

html {
  scroll-behavior: smooth;
}

body {
  font-weight: 300;
  line-height: 1.7;
  font-size: 1.125rem;
  background: var(--cream);
  color: var(--text);
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4 {
  font-family: var(--title);
  font-weight: 600;
  line-height: 1.3;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: #8d6e26;
}

::selection {
  background: var(--gold);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 40;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
}

.skip:focus {
  top: 12px;
  color: var(--navy);
}

.page {
  max-width: 800px;
}

.page-location {
  max-width: 1200px;
}

.hero {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 72px 24px 56px;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  margin: 1.75rem 0 0;
  padding: 4px;
  border: 1px solid rgba(223, 196, 119, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-option {
  display: inline-block;
  min-width: 7.25rem;
  padding: 0.48rem 1.05rem;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.2;
  color: rgba(223, 196, 119, 0.82);
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-option:hover {
  color: #fff;
}

.lang-option.is-selected {
  background: var(--gold);
  color: var(--navy);
}

.lang-option.is-selected:hover {
  color: var(--navy);
  filter: brightness(1.06);
}

.hero-supratitle {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  font-weight: 400;
}

.lodge-emblem {
  width: min(100%, 200px);
  height: auto;
  margin: 0 auto 1.25rem;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-family: var(--title);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.hero-date {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.section {
  padding: 60px 0;
}

.section:nth-child(even) {
  background: #fff;
}

.section h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  text-align: center;
}

.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0.75rem auto 0;
}

.welcome {
  text-align: center;
  font-size: 1.2rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 0.5rem;
}

.section:nth-child(even) .card {
  background: var(--cream);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.card h4,
.timeline-detail h4 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.address {
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.row .card {
  margin-top: 0;
}

.card ul {
  margin: 0.75rem 0 1rem;
  padding-left: 1.25rem;
}

.card li {
  margin-bottom: 0.3rem;
}

.btn-offer {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

.btn-offer:hover {
  background: var(--gold);
  color: var(--navy);
}

.timeline {
  margin-top: 0.5rem;
}

.timeline-day h3 {
  font-size: 1.4rem;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}

.timeline-event {
  display: grid;
  grid-template-columns: 4.75rem 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--line);
}

.timeline-event.highlight {
  border-left-color: var(--gold);
}

.timeline-event--text {
  grid-template-columns: 1fr;
}

.timeline-time {
  font-size: 1rem;
  color: var(--navy);
  padding-top: 0.15rem;
}

.timeline-detail p {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.timeline-detail p:last-child {
  margin-bottom: 0;
  color: var(--text-light);
}

.fee {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  padding: 0.2rem 0.75rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
}

.info-item {
  height: 100%;
  text-align: center;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-item h3 {
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.info-item p {
  margin-bottom: 0;
}

.rsvp {
  text-align: center;
}

.contact-card {
  display: inline-block;
  max-width: 360px;
  margin-top: 0.5rem;
  text-align: left;
}

.contact-card h3 {
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.contact-card p {
  margin-bottom: 0.4rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.form-label {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.form-control,
.form-select {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.4;
  min-height: 46px;
  border-color: #ddd6c8;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(168, 132, 47, 0.2);
}

.form-check-input:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}

.errorlist {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  color: #9b2c2c;
  font-size: 1rem;
}

.btn-gold {
  --bs-btn-color: var(--navy);
  --bs-btn-bg: var(--gold);
  --bs-btn-border-color: var(--gold);
  --bs-btn-hover-color: var(--navy);
  --bs-btn-hover-bg: var(--gold);
  --bs-btn-hover-border-color: var(--gold);
  --bs-btn-active-color: var(--navy);
  --bs-btn-active-bg: var(--gold);
  --bs-btn-active-border-color: var(--gold);
  display: inline-block;
  width: auto;
  margin-top: 0.5rem;
  padding: 0.75rem 2rem;
  font-family: var(--body);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 4px;
}

.btn-gold:hover {
  filter: brightness(1.08);
  color: var(--navy);
}

.register-modal .modal-content {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.register-modal .modal-header,
.register-modal .modal-footer {
  border-color: var(--line);
}

.register-modal .modal-title {
  font-family: var(--title);
  color: var(--navy);
  font-size: 1.8rem;
}

.register-modal .modal-footer {
  justify-content: space-between;
}

.register-modal .btn-gold {
  width: auto;
  margin-top: 0;
  margin-left: auto;
}

.register-step-label,
.payment-note {
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.register-back {
  border: 0;
  background: transparent;
  color: var(--navy);
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.75rem 0.25rem;
}

.field-error {
  min-height: 0;
  margin: 0.35rem 0 0;
  color: #9b2c2c;
  font-size: 0.95rem;
}

.field-error:empty {
  display: none;
}

.register-success {
  margin: 0.5rem 0 1rem;
  text-align: center;
  font-size: 1.25rem;
  color: var(--navy);
}

.alert-success {
  background: rgba(168, 132, 47, 0.12);
  border-color: rgba(168, 132, 47, 0.45);
  color: var(--navy);
  text-align: left;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  padding: 2rem 24px;
  font-size: 1rem;
}

.site-footer p {
  margin-bottom: 0.25rem;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .hero {
    padding: 48px 16px 36px;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .section {
    padding: 40px 0;
  }

  .section h2 {
    font-size: 1.6rem;
  }

  .timeline-event {
    grid-template-columns: 4.25rem 1fr;
    gap: 0.75rem;
  }
}
