:root {
  --accent: #c8202f;
  --accent-hover: #a91a27;
  --bg: #faf8f5;
  --dark: #171412;
  --dark-deep: #0f0d0b;
  --dark-surface: #221e1b;
  --dark-border: #3a342f;
  --text: #1a1816;
  --text-muted: #5c554e;
  --text-soft: #8a827a;
  --text-on-dark: #faf8f5;
  --text-on-dark-muted: #a89f95;
  --text-on-dark-soft: #d8d2ca;
  --line: #eae5de;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

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

a:hover {
  color: var(--accent-hover);
}

.page {
  font-family: "Archivo", Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

.section-label {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 28px 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header__logo {
  height: 72px;
  width: auto;
}

.header__badge {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
}

.hero {
  background: var(--dark);
  color: var(--text-on-dark);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 640px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 96px;
  gap: 28px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.hero__eyebrow-text {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.hero__title {
  margin: 0;
  font-size: 64px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__subtitle {
  margin: 0;
  font-size: 21px;
  line-height: 1.55;
  font-weight: 300;
  color: var(--text-on-dark-soft);
  max-width: 34em;
  text-wrap: pretty;
}

.hero__subtitle strong {
  font-weight: 600;
  color: var(--text-on-dark);
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}

.hero__note {
  font-size: 14px;
  color: var(--text-soft);
}

.hero__media {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--dark) 0%, rgba(23, 20, 18, 0) 35%);
}

.hero__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 32px;
  background: linear-gradient(0deg, rgba(23, 20, 18, 0.85), rgba(23, 20, 18, 0));
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-soft);
}

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  border-radius: 2px;
}

.btn--accent {
  background: var(--accent);
  color: #ffffff;
  padding: 18px 40px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn--accent:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

.btn--accent:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn--full {
  width: 100%;
  padding: 20px;
  margin-top: 4px;
}

.invito {
  padding: 110px 48px;
  display: flex;
  justify-content: center;
}

.invito__inner {
  max-width: 760px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.invito__title {
  margin: 0;
  font-size: 36px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.invito__body {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 40em;
  text-wrap: pretty;
}

.info-grid {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 48px;
}

.info-grid__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.info-card {
  padding: 8px 40px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-card:last-child {
  border-right: none;
}

.info-card__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
}

.info-card__value {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.info-card__detail {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 300;
}

.booking-intro {
  padding: 110px 48px 90px;
}

.booking-intro__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.booking-intro__text {
  margin: 0;
  font-size: 19px;
  line-height: 1.7;
  color: #3a3530;
  font-weight: 300;
  text-wrap: pretty;
}

.booking-intro__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 12px 24px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-section {
  background: var(--dark);
  color: var(--text-on-dark);
  padding: 100px 48px;
}

.form-section__inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.form-section__header[hidden] {
  display: none !important;
}

.form-section__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-section__title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.form-section__subtitle {
  margin: 0;
  font-size: 16px;
  color: var(--text-on-dark-muted);
  font-weight: 300;
}

.form-section.is-complete .form-section__header,
.form-section.is-complete .form {
  display: none !important;
}

.form-section.is-complete .form-section__inner {
  gap: 0;
}

.form[hidden] {
  display: none !important;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  font-weight: 500;
}

.form__input,
.form__select {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  color: var(--text-on-dark);
  padding: 16px 18px;
  font-size: 16px;
  font-family: "Archivo", Helvetica, sans-serif;
  border-radius: 2px;
}

.form__select {
  appearance: none;
  cursor: pointer;
}

.form__input:focus,
.form__select:focus {
  outline: none;
  border-color: var(--accent);
}

.form__input::placeholder {
  color: #6f6760;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  font-weight: 300;
}

.form__checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.form__checkbox a {
  color: var(--text-on-dark);
  text-decoration: underline;
}

.form__error {
  font-size: 14px;
  color: #e87722;
  font-weight: 500;
}

.second-person {
  padding-top: 8px;
  border-top: 1px solid var(--dark-border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.second-person[hidden] {
  display: none !important;
}

.second-person__title {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  font-weight: 600;
}

.second-person__hint {
  margin: -4px 0 0;
  font-size: 13px;
  color: var(--text-on-dark-muted);
  font-weight: 300;
}

.success-message[hidden] {
  display: none !important;
}

.success-message {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-top: 3px solid var(--accent);
  padding: 40px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 2px;
  animation: fadeUp 0.5s ease;
}

.success-message__title {
  font-size: 22px;
  font-weight: 600;
}

.success-message__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  font-weight: 300;
}

.footer {
  background: var(--dark-deep);
  color: var(--text-on-dark-muted);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__brand {
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  font-weight: 600;
}

.footer__contact {
  font-size: 14px;
  line-height: 1.8;
  font-weight: 300;
}

.footer__contact a {
  color: var(--text-on-dark-muted);
}

.footer__links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__links a {
  color: var(--text-soft);
}

@media (max-width: 900px) {
  .header {
    padding: 16px 24px;
    justify-content: flex-start;
  }

  .header__logo {
    height: 44px;
  }

  .header__badge {
    position: static;
    transform: none;
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    padding: 56px 24px 32px;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .hero__media {
    min-height: 360px;
  }

  .hero__cta {
    flex-wrap: wrap;
  }

  .invito,
  .booking-intro {
    padding: 72px 24px;
  }

  .invito__title {
    font-size: 28px;
  }

  .info-grid {
    padding: 48px 24px;
  }

  .info-grid__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .info-card {
    padding: 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
  }

  .info-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .form-section {
    padding: 72px 24px;
  }

  .form-section__title {
    font-size: 32px;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 32px 24px;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
