/* Teklif page. Uses the tokens in styles.css */
.quote-hero {
  background:
    radial-gradient(800px 420px at 90% 0%, rgba(183, 12, 173, .26), transparent 60%),
    var(--plum-950);
  color: #fff;
  padding-top: calc(var(--header-h) + 64px);
}
.quote-hero-inner { padding-bottom: var(--s-8); }
.quote-hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.25rem);
  font-weight: 820; font-variation-settings: "wdth" 114;
  line-height: 1; letter-spacing: -0.02em;
  margin-bottom: var(--s-5);
}
.quote-hero p { max-width: 60ch; color: #D9CBE6; font-size: 1.125rem; margin: 0; }

.quote { background: var(--mist); padding-block: var(--s-8) var(--s-10); }
.quote-grid { display: grid; grid-template-columns: 1.45fr .85fr; gap: var(--s-7); align-items: start; }

.quote-card {
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow);
  padding: var(--s-7);
  margin-top: calc(-1 * var(--s-9));
  position: relative;
}
.quote-fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-5); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-select, .field-textarea, .field-text { grid-column: 1 / -1; }
.field label { font-weight: 620; font-size: .975rem; color: var(--plum-950); font-variation-settings: "wdth" 104; }
.field .req { color: var(--hera-magenta); }

.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  min-height: 50px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #9A90A6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #CDBFDA; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--hera-violet);
  box-shadow: 0 0 0 3px rgba(117, 9, 181, .18);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--hivis); outline-offset: 1px; box-shadow: none; border-radius: var(--r-sm);
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--plum-700); border-bottom: 2px solid var(--plum-700);
  transform: rotate(45deg); pointer-events: none;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.other-input { margin-top: 8px; }

.field .hint { margin: 0; font-size: var(--fs-sm); color: var(--ink-soft); }
.field .error { margin: 0; font-size: var(--fs-sm); color: #B3261E; font-weight: 550; min-height: 0; }
.field .error:empty { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }

.form-status { margin: var(--s-5) 0 0; color: var(--ink-soft); font-size: var(--fs-sm); }
.form-status:empty { display: none; }
.form-status.is-error {
  color: #B3261E; font-weight: 550;
  background: #FCEEEE; border-radius: var(--r-sm); padding: 12px 14px;
}
.quote-submit { margin-top: var(--s-5); min-width: 180px; }
.quote-submit:disabled { opacity: .6; cursor: not-allowed; }
.quote-submit.is-busy { cursor: progress; }
.form-note { margin: var(--s-4) 0 0; font-size: var(--fs-sm); color: var(--ink-soft); }
.form-note span { color: var(--hera-magenta); }

.quote-done { text-align: left; }
.quote-done:focus { outline: none; }
.done-icon { width: 56px; height: 56px; fill: none; stroke: var(--hera-violet); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: var(--s-4); }
.quote-done h2 { font-size: var(--fs-xl); margin-bottom: var(--s-4); }
.quote-done p { color: var(--ink-soft); max-width: 52ch; margin-bottom: var(--s-6); }

.quote-side { padding-top: var(--s-2); }
.quote-side h2 { font-size: var(--fs-lg); margin-bottom: var(--s-3); }
.quote-side > p { color: var(--ink-soft); margin-bottom: var(--s-3); }
.quote-side .contact-line { font-size: 1.0625rem; }

@media (max-width: 960px) {
  .quote-grid { grid-template-columns: 1fr; }
  .quote-card { margin-top: calc(-1 * var(--s-8)); padding: var(--s-6); }
}
@media (max-width: 600px) {
  .quote-fields { grid-template-columns: 1fr; }
  .quote-card { padding: var(--s-5); }
  .quote-submit { width: 100%; }
}