:root {
  --arena: #CEBDAB;
  --arcilla: #BE906F;
  --terracota: #A66841;
  --salvia: #9B9772;
  --musgo: #7D7648;
  --lino: #F8F3EC;
  --lino-2: #F1E9DD;
  --tinta: #322C22;
  --tinta-60: #5b5340;
  --tinta-40: #8a8170;
  --linea: #E2D6C6;
  --primary-d: #8d562f;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow: 0 18px 50px -28px rgba(50, 44, 34, .45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

body {
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--tinta);
  line-height: 1.7;
  background:
    radial-gradient(900px 700px at 88% -12%, rgba(190, 144, 111, .20), transparent 62%),
    radial-gradient(760px 620px at 0% 100%, rgba(155, 151, 114, .15), transparent 60%),
    var(--lino);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 64px 24px;
}

.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr);
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.brand {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
}

.brand .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 10px 4px;
  border-radius: 50%;
  background: var(--terracota);
}

.brand .italic {
  color: var(--terracota);
  font-style: italic;
}

.overline {
  margin-top: 72px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--terracota);
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  margin-top: 18px;
  max-width: 680px;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
}

h1 .italic {
  color: var(--terracota);
  font-style: italic;
}

.lede {
  max-width: 560px;
  margin-top: 26px;
  color: var(--tinta-60);
  font-size: 1.05rem;
}

.details {
  margin-top: 42px;
  display: grid;
  gap: 14px;
}

.detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--tinta-60);
  font-size: .94rem;
}

.detail-num {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--linea);
  border-radius: 50%;
  background: rgba(255, 255, 255, .42);
  color: var(--terracota);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
}

.form-shell {
  overflow: hidden;
  border: 1px solid var(--linea);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-head {
  padding: 34px 36px 28px;
  border-bottom: 1px solid var(--linea);
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(190, 144, 111, .16), transparent 55%),
    var(--lino-2);
}

.form-head .overline {
  margin: 0;
}

.form-head h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.form-head p {
  margin-top: 10px;
  color: var(--tinta-60);
  font-size: .95rem;
}

.availability-note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(226, 214, 198, .72);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .56);
  color: var(--tinta-60);
  font-size: .9rem;
}

.registration-form {
  padding: 34px 36px 38px;
}

.limit-note {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(125, 118, 72, .22);
  border-radius: var(--r-sm);
  background: rgba(155, 151, 114, .10);
  color: var(--tinta-60);
  font-size: .86rem;
  line-height: 1.5;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--tinta-60);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1.5px solid var(--linea);
  border-radius: var(--r-sm);
  background: var(--lino);
  color: var(--tinta);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--arcilla);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(190, 144, 111, .14);
}

.field input::placeholder {
  color: var(--tinta-40);
}

.check-field {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  margin-top: 22px;
  color: var(--tinta-60);
  font-size: .86rem;
  line-height: 1.55;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--terracota);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 16px 30px;
  border-radius: var(--r-pill);
  background: var(--terracota);
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--primary-d);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -14px rgba(166, 104, 65, .55);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: .62;
  transform: none;
  box-shadow: none;
}

.form-actions {
  margin-top: 24px;
}

.form-actions .btn {
  width: 100%;
}

.form-message,
.empty-state {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: .9rem;
  line-height: 1.55;
}

.form-message.is-visible,
.empty-state:not([hidden]) {
  display: block;
}

.form-message.success {
  border-color: rgba(125, 118, 72, .24);
  background: rgba(155, 151, 114, .13);
  color: var(--musgo);
}

.form-message.info,
.empty-state {
  border-color: rgba(190, 144, 111, .24);
  background: rgba(226, 214, 198, .34);
  color: var(--tinta-60);
}

.form-message.error {
  border-color: rgba(166, 104, 65, .26);
  background: rgba(166, 104, 65, .11);
  color: var(--primary-d);
}

@media (max-width: 920px) {
  .page {
    align-items: flex-start;
    padding-top: 42px;
  }

  .wrap {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .overline {
    margin-top: 44px;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 28px 16px 44px;
  }

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

  .form-head,
  .registration-form {
    padding-left: 24px;
    padding-right: 24px;
  }
}
