/* ==========================================================================
   Contact page
   ========================================================================== */

/* ---------- Split: details + form ---------- */
.contact-split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 60px; align-items: start; }
.contact-info .section-head { margin-bottom: 36px; }

.c-cards { display: grid; gap: 14px; }
.c-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 24px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.c-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.c-ic { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--rust); transition: background .35s, color .35s; }
.c-ic svg { width: 24px; height: 24px; }
.c-card:hover .c-ic { background: var(--rust); color: var(--white); }
.c-card > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.c-card small { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rust); }
.c-card address { font-style: normal; color: var(--title); font-size: 17px; font-weight: 500; line-height: 1.45; }
.c-big { color: var(--title); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; transition: color .3s; }
a.c-big:hover { color: var(--rust); }
.c-card p { color: var(--muted); font-size: 15px; }
.c-card .link-arrow { margin-top: 4px; font-size: 15px; }
.c-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.c-wa { --btn-ic: #25d366; --btn-ic-fg: var(--white); }
.c-wa .btn-ic svg { width: 18px; height: 18px; }
.c-wa:hover .btn-ic svg { transform: none; }

/* Form card */
.contact-form-card {
  position: sticky; top: 110px;
  padding: 40px; border-radius: var(--radius-xl);
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.cf-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
.cf-head h3 { font-size: var(--h4); letter-spacing: -0.02em; }
.contact-form-card .field input, .contact-form-card .field select, .contact-form-card .field textarea { background: var(--bg); }
.contact-form-card .field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23a04e12' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
}
.contact-form-card .field select:invalid { color: var(--muted); }
.contact-form-card .field select option { color: var(--title); }
.cf-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.cf-foot .form-note { flex: 1 1 220px; }
.cf-foot .form-note a, .form-success a { color: var(--rust); font-weight: 600; }

/* ---------- Map ---------- */
.contact-map .section-head { margin-bottom: 44px; }
.map-addr { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 420px; }
.map-addr .lead { color: var(--title); }
.map-wrap {
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--line); background: var(--line);
  box-shadow: var(--shadow); aspect-ratio: 16 / 7; min-height: 360px;
}
.map-wrap iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.85) sepia(.12); }

/* ---------- Service areas ---------- */
.areas-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.areas-split .section-head { margin-bottom: 0; }
.area-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.area-chips .chip { padding: 12px 18px; font-size: 15px; gap: 8px; border: 1px solid transparent; }
.area-chips .chip:not(.chip--dark):not(.chip--rust) { background: var(--white); border-color: var(--line); color: var(--title); }
.area-chips .chip svg { width: 16px; height: 16px; color: var(--rust); flex: none; }
.area-chips .chip--dark svg { color: var(--cream); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .contact-split { gap: 40px; }
  .contact-form-card { padding: 32px; }
}
@media (max-width: 900px) {
  .contact-split, .areas-split { grid-template-columns: 1fr; gap: 44px; }
  .contact-form-card { position: static; }
  .map-wrap { aspect-ratio: 4 / 3; min-height: 0; }
}
@media (max-width: 640px) {
  .c-card { padding: 18px; gap: 14px; }
  .c-ic { width: 44px; height: 44px; border-radius: 12px; }
  .c-ic svg { width: 20px; height: 20px; }
  .c-card address, .c-big { font-size: 16px; }
  .contact-form-card { padding: 24px 18px; border-radius: var(--radius-lg); }
  .map-wrap { aspect-ratio: 1 / 1; border-radius: var(--radius-lg); }
  .area-chips .chip { padding: 10px 14px; font-size: 14px; }
}
