/* Contact page styles */

.contact-hero {
  padding: 80px 0 40px;
  background:
    radial-gradient(800px 400px at 20% -20%, rgba(45,108,255,0.10), transparent 60%),
    var(--paper);
}
.contact-hero .eyebrow { margin-bottom: 16px; }
.contact-hero h1 { max-width: 18ch; margin-bottom: 18px; }
.contact-hero .lead { max-width: 60ch; }

/* Grid */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 28px;
}
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-main { padding: 48px 0 64px; }

/* Form */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-card-head { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-card-head h3 { color: var(--ink); margin-bottom: 6px; }
.form-card-head p { color: var(--ink-3); font-size: 14px; }
.form-banner {
  display: none; margin-bottom: 18px;
  padding: 12px 14px;
  background: var(--success-bg); color: #166534;
  border: 1px solid #BBF7D0; border-radius: var(--r-md);
  font-size: 13px; font-weight: 500;
}
.form-banner.is-show { display: block; animation: fadeUp .4s ease-out; }
.form-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 12px; gap: 16px; flex-wrap: wrap; }
.form-check { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-3); cursor: pointer; user-select: none; }
.form-check input { width: 16px; height: 16px; accent-color: var(--brand-blue); }

@media (max-width: 540px) {
  .form-card { padding: 24px; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }
}

/* Sidebar cards */
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.info-card, .response-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-xs);
}
.info-card h4 { color: var(--ink); margin-bottom: 18px; font-size: 16px; font-weight: 700; }
.info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-icon {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: var(--brand-soft); color: var(--brand-blue);
  display: grid; place-items: center; flex-shrink: 0;
}
.info-l { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-4); margin-bottom: 4px; }
.info-v { font-size: 14px; color: var(--ink); font-weight: 500; line-height: 1.4; }
.info-v a { color: var(--brand-blue); }
.info-v a:hover { text-decoration: underline; }

.response-card { background: linear-gradient(180deg, #fff 0%, var(--brand-soft) 200%); }
.response-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.response-t { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-4); }
.response-time { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1; margin-top: 2px; }
.response-bars { display: flex; flex-direction: column; gap: 14px; }
.rb-label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; color: var(--ink-3); margin-bottom: 6px; }
.rb-track { height: 6px; background: var(--line); border-radius: var(--r-pill); overflow: hidden; }
.rb-fill { height: 100%; border-radius: var(--r-pill); transition: width 1s cubic-bezier(.22,1,.36,1); }

/* Map */
.map-section { padding: 32px 0 64px; }
.map-card-large {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--brand-ink);
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--d-line-2);
  min-height: 380px;
  box-shadow: var(--shadow-lg);
}
.map-card-info { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.map-card-stats { display: flex; gap: 28px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--d-line); }
.map-card-stats strong { display: block; font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.map-card-stats span { font-size: 12px; color: var(--d-text-3); }

/* Phone + hours list inside the map card */
.map-info-list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--d-line);
}
.map-info-list li { display: flex; gap: 12px; align-items: flex-start; }
.map-info-icon {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: rgba(45,108,255,0.14); color: var(--brand-sky);
  display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid rgba(45,108,255,0.22);
}
.map-info-l { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--d-text-3); margin-bottom: 4px; }
.map-info-v { font-size: 14px; color: #fff; font-weight: 500; line-height: 1.4; }
.map-card-vis { position: relative; min-height: 380px; }
.map-card-vis svg { width: 100%; height: 100%; display: block; }
.map-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand-ink) 0%, transparent 20%); pointer-events: none; }
@media (max-width: 860px) {
  .map-card-large { grid-template-columns: 1fr; }
  .map-card-info { padding: 32px; }
  .map-card-vis { min-height: 280px; }
  .map-overlay { background: linear-gradient(180deg, var(--brand-ink) 0%, transparent 30%); }
}

/* CTA */
.contact-cta { padding-top: 16px; padding-bottom: 64px; }
.cta-card {
  background: linear-gradient(135deg, #EAF1FF 0%, #F4F6FA 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.cta-card h2 { color: var(--ink); margin-bottom: 8px; font-size: clamp(24px, 3vw, 32px); }
.cta-card p { color: var(--ink-3); font-size: 16px; max-width: 50ch; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .cta-card { padding: 32px; flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
}
