:root {
  --ink: #171412;
  --muted: #6f6760;
  --line: #ded6cc;
  --paper: #fffaf4;
  --panel: #f4ede4;
  --charcoal: #211c18;
  --gold: #b89054;
  --gold-dark: #8a6535;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 20, 18, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(184, 144, 84, 0.16), transparent 32%),
    linear-gradient(315deg, rgba(33, 28, 24, 0.08), transparent 30%),
    var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

.form-page {
  min-height: 100vh;
  padding: 48px 20px;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 820px);
  gap: 24px;
  width: min(1220px, 100%);
  margin: 0 auto;
  align-items: start;
}

.form-intro {
  position: sticky;
  top: 24px;
  overflow: hidden;
  min-height: 640px;
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(rgba(24, 20, 17, 0.76), rgba(24, 20, 17, 0.88)),
    url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1200&q=80") center/cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.eyebrow,
.panel-label {
  display: inline-flex;
  margin: 0 0 14px;
  color: #ead7b9;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-intro h1 {
  max-width: 9ch;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 60px;
  line-height: 0.95;
}

.intro-copy {
  max-width: 32rem;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

.intro-panel {
  margin-top: 42px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(12px);
}

.intro-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.84);
}

.intro-panel li {
  position: relative;
  padding-left: 20px;
}

.intro-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.contact-strip {
  display: grid;
  gap: 8px;
  margin-top: 44px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.client-form {
  display: grid;
  gap: 18px;
}

.form-section {
  padding: 30px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(222, 214, 204, 0.88);
  border-radius: 18px;
  box-shadow: 0 16px 46px rgba(23, 20, 18, 0.07);
}

.section-heading {
  display: flex;
  gap: 16px;
  margin-bottom: 15px;
  align-items: flex-start;
}

.section-number {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--charcoal);
  border-radius: 50%;
  place-items: center;
  font-size: 0.84rem;
  font-weight: 700;
}

.section-heading h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.1;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.field-grid {
  display: grid;
  gap: 0px 10px;
}

.field-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
      gap: 5px;
    margin-bottom: 10px;
}

.field span,
.option-group legend {
  color: var(--charcoal);
  font-size: 0.93rem;
  font-weight: 700;
}

.field strong,
.option-group strong {
  color: var(--gold-dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fffdf9;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 144, 84, 0.16);
}

.option-group {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.option-group legend {
  margin-bottom: 12px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.option-grid label,
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 48px;
  padding: 13px 14px;
  color: var(--muted);
  //background: #fffdf9;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.option-grid label:hover,
.consent:hover {
  border-color: rgba(184, 144, 84, 0.62);
  background: #fff9ef;
  transform: translateY(-1px);
}

.option-grid input,
.consent input {
  accent-color: var(--gold-dark);
  margin-top: 3px;
}

.upload-field {
  display: grid;
  gap: 6px;
  padding: 26px;
  text-align: center;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(184, 144, 84, 0.09), transparent),
    #fffdf9;
  border: 1px dashed rgba(138, 101, 53, 0.58);
  border-radius: 14px;
  cursor: pointer;
}

.upload-field input {
  width: 100%;
  max-width: 340px;
  margin: 0 auto 8px;
}

.upload-title {
  color: var(--charcoal);
  font-weight: 700;
}

.upload-copy {
  font-size: 0.9rem;
}

.consent {
  margin-top: 8px;
  color: var(--charcoal);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 4px 0 0;
}

.button {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  box-shadow: 0 14px 28px rgba(138, 101, 53, 0.24);
}

.button.secondary {
  color: var(--charcoal);
  background: transparent;
  border-color: var(--line);
}

@media (max-width: 980px) {
  .form-shell {
    grid-template-columns: 1fr;
  }

  .form-intro {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .form-intro h1 {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .form-page {
    padding: 20px 12px;
  }

  .form-intro,
  .form-section {
    padding: 22px;
    border-radius: 14px;
  }

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

  .section-heading {
    display: grid;
  }

  .form-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
