/* Contact and thank-you pages. */

.quote-section {
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 8vw, 88px);
  background: linear-gradient(180deg, var(--silver) 0%, var(--white) 100%);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-header h1 {
  margin: 8px 0 12px;
  color: var(--navy-dark);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  letter-spacing: 0;
}

.quote-header p {
  margin: 0;
  color: var(--muted);
}

.contact-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-top: 24px;
}

.contact-trust-item {
  padding: 16px 18px;
  border: 1px solid rgba(50, 62, 107, .12);
  border-radius: 18px;
  background: linear-gradient(180deg, #f9fbff 0%, #f2f5fb 100%);
}

.contact-trust-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy-dark);
  font-size: .92rem;
}

.contact-trust-item span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

fieldset.form-group {
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label,
.form-label {
  color: var(--navy-dark);
  font-size: .86rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(50, 62, 107, .35);
  outline-offset: 0;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-size: .92rem;
}

.radio-option input {
  margin: 0;
}

.form-status {
  display: block;
  margin: 0 0 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.form-status--error {
  border: 1px solid #f5c2c0;
  background: #fdecea;
  color: #7d1d1d;
}

.test-mode-banner {
  margin: 0 0 1rem;
  padding: .8rem 1rem;
  border: 1px solid #ffd8a8;
  border-radius: 12px;
  background: #fff4e5;
  color: #663e00;
  font-weight: 700;
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-side-card {
  padding: clamp(22px, 3vw, 30px);
  border-radius: 24px;
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  color: #fff;
  box-shadow: 0 20px 48px rgba(22, 37, 77, .25);
}

.contact-side-card h2 {
  margin: 8px 0 18px;
  color: #fff;
  font-size: 1.35rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-methods a {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  transition: background .2s ease;
}

.contact-methods a:hover {
  background: rgba(255, 255, 255, .18);
}

.contact-methods span {
  display: block;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .85;
}

.contact-methods strong {
  font-size: 1.05rem;
}

.contact-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: .86rem;
  line-height: 1.55;
}

.map-section {
  padding: 90px 0;
  background: #f8fafc;
}

.map-section .section-header {
  margin-bottom: 40px;
  text-align: center;
}

.map-section .section-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
}

.map-section h2 {
  margin-bottom: 16px;
  color: #0f172a;
  font-size: 2.3rem;
  font-weight: 700;
}

.map-section p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.8;
}

.map-wrapper {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08), 0 4px 12px rgba(15, 23, 42, .05);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 500px;
  border: 0;
}

@media (max-width: 900px) {
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .contact-trust,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .map-wrapper iframe {
    min-height: 320px;
  }
}
