body { background: #f5f1ed; }

/* ── LAYOUT ── */
.page {
  display: flex;
  flex-direction: column;
  padding-top: 96px;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

/* ── HERO ── */
.hero {
  width: 100%;
  padding: 0 21px;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #78716c;
  line-height: 16px;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 80px;
  line-height: 80px;
  letter-spacing: -4.8px;
  color: #1b1b1b;
}

/* ── CONTENT GRID ── */
.content-grid {
  width: 100%;
  padding: 0 21px;
  max-width: 1280px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 80px;
  align-items: start;
}

/* ── FORM CARD ── */
.form-card {
  grid-column: 1 / span 7;
  background: #fff;
  padding: 48px 48px 64px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.form-heading {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.75px;
  color: #1b1b1b;
}

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

/* Input rows */
.input-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.input-field {
  border: none;
  border-bottom: 1px solid #cfc4c5;
  background: transparent;
  padding: 14px 0 15px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #4c4546;
  outline: none;
  width: 100%;
}

.input-field::placeholder {
  color: rgba(76, 69, 70, 0.5);
}

/* Section label */
.field-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #4c4546;
  line-height: 16px;
  margin-bottom: 16px;
}

/* Toggle buttons (service / budget) */
.toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.toggle-btn {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #1b1b1b;
  border: 1px solid #cfc4c5;
  background: transparent;
  padding: 9px 25px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.toggle-btn:has(input:checked),
.toggle-btn:hover {
  background: #1b1b1b;
  color: #fff;
  border-color: #1b1b1b;
}

/* Date input */
.date-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.date-input {
  border: none;
  border-bottom: 1px solid #cfc4c5;
  background: transparent;
  padding: 12px 0 13px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: rgba(76, 69, 70, 0.5);
  outline: none;
  width: 100%;
}

/* Textarea */
.textarea-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.textarea-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #4c4546;
  line-height: 24px;
}

.textarea-label span {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
}

.textarea-field {
  border: none;
  border-bottom: 1px solid #cfc4c5;
  background: transparent;
  padding: 12px 0 85px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #4c4546;
  outline: none;
  width: 100%;
  resize: none;
}

.textarea-field::placeholder {
  color: rgba(76, 69, 70, 0.5);
}

/* Submit */
.submit-wrap { padding-top: 24px; }

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #000;
  border: 0.5px solid #616161;
  border-radius: 4px;
  padding: 8px 16px;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

.submit-btn img {
  width: 10.67px;
  height: 10.67px;
}

/* ── RIGHT COLUMN ── */
.info-col {
  grid-column: 8 / span 5;
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-bottom: 39.5px;
}

.info-image-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-image {
  width: 100%;
  height: 497.77px;
  overflow: hidden;
  background: #e2e2e2;
}

.info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-quote {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 29.25px;
  color: #4c4546;
  max-width: 448px;
  padding-bottom: 16px;
}

/* Contact details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #4c4546;
  line-height: 16px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon { flex-shrink: 0; }
.contact-icon img { display: block; }

.contact-item-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  color: #1b1b1b;
}

.contact-item-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #4c4546;
}

/* ── FORM CONTROLS ── */
fieldset {
  border: 0;
  min-width: 0;
}

.toggle-btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-btn:has(input:focus-visible) {
  outline: 2px solid #1b1b1b;
  outline-offset: 2px;
}

a.contact-item-title {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-btn:disabled { opacity: 0.5; cursor: wait; }

.form-status {
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #4c4546;
}

.form-status.is-error { color: #b42318; }

.form-success {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: #4c4546;
}

.form-success strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  line-height: 32px;
  color: #1b1b1b;
  margin-bottom: 8px;
}

/* ── TABLET / MOBILE ── */
@media (max-width: 1024px) {
  .content-grid { column-gap: 0; row-gap: 64px; }
  .form-card, .info-col { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .page { padding-top: 48px; }
  .main { gap: 48px; }
  .hero { padding: 0 16px; }
  .hero-title { font-size: 56px; line-height: 56px; letter-spacing: -3px; }
  .content-grid { padding: 0 16px; }
  .form-card { padding: 32px 20px 40px; gap: 32px; }
  .form-body { gap: 32px; }
  .input-row { grid-template-columns: 1fr; gap: 32px; }
  .toggle-group { gap: 8px; }
  .toggle-btn { padding: 8px 14px; }
  .info-image { height: 320px; }
  .info-quote { font-size: 16px; line-height: 26px; max-width: none; }
}
