/* ===== Quote Section ===== */

.quote-section {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  border-top: 1px solid var(--line);
}

.quote-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 34px;
  align-items: start;
}

.quote-aside {
  position: sticky;
  top: 94px;
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.quote-aside h2 {
  color: #fff;
  font-size: 34px;
}

.quote-aside p {
  color: #cbd7e6;
}

.quote-aside ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.quote-aside li {
  display: flex;
  gap: 10px;
  color: #d8e8fa;
}

.quote-aside li:before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(37, 167, 255, 0.22);
  color: #7dd3fc;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-weight: 900;
}

/* ===== Full Form Container ===== */

.full-form {
  display: grid;
  gap: 18px;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 36px rgba(7, 20, 38, 0.05);
}

.form-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.form-card-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.section-number {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 950;
  flex: 0 0 auto;
}

.head-title {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

/* ===== Form Grid & Elements ===== */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: #334155;
  margin: 0 0 6px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  background-color: #fff;
  color: #1f2937;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(37, 167, 255, 0.18);
  border-color: #77bfff;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

.field-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}

/* ===== Select Styling ===== */

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23637083' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
  line-height: 1.2;
}

select::-ms-expand {
  display: none;
}

/* ===== Privacy & Captcha ===== */

.privacy-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
}

.privacy-row input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.captcha-placeholder {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 295px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  padding: 14px 16px;
  color: #334155;
  font-size: 14px;
}

.captcha-box {
  width: 26px;
  height: 26px;
  border: 2px solid #64748b;
  border-radius: 3px;
  background: #fff;
  display: inline-block;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-success {
  text-align: center;
  padding: 40px;
  color: var(--ink);
}

.form-success strong {
  font-size: 22px;
}

.form-success p {
  margin-top: 12px;
  color: #526071;
}

.form-note {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* ===== Form Sections (Alternative Style) ===== */

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fs {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 22px 24px;
  box-shadow: 0 10px 30px rgba(7, 20, 38, 0.05);
}

.fs-h {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 16px;
}

.fs-n {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.fs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fs-grid .full {
  grid-column: 1 / -1;
}

.fs-grid label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
}

.fs-grid input,
.fs-grid select,
.fs-grid textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
}

.fs-grid input:focus,
.fs-grid select:focus,
.fs-grid textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 102, 216, 0.12);
}

.fs-grid textarea {
  resize: vertical;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.consent input {
  width: auto;
  margin-top: 3px;
}

.formnote {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
