/* contacts.css — уникальные блоки страницы «Контакты» */

/* ---------- BREADCRUMBS ---------- */

/* PAGE HEAD — общий компонент в components.css */

/* ---------- CONTACT CARDS ---------- */
.cc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.cc { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; background: var(--surface); border-radius: var(--radius); transition: .2s var(--ease); border: 1px solid transparent; }
.cc:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cc .ic { width: 48px; height: 48px; border-radius: 13px; background: #fff; color: var(--brand-ink); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.cc:hover .ic { background: var(--brand-soft); }
.cc .ic svg { width: 24px; height: 24px; }
.cc .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.cc .val { font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.cc .val a { transition: .15s; }
.cc .val a:hover { color: var(--brand-ink); }
.cc .sub { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }

/* ---------- MAIN GRID ---------- */
.main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }

/* Map */
.map-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 480px; background: var(--surface); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.1); }
.map-pin { position: absolute; left: 24px; bottom: 24px; right: 24px; z-index: 3; background: #fff; border-radius: 16px; padding: 20px 22px; box-shadow: var(--shadow-md); display: flex; gap: 15px; align-items: flex-start; }
.map-pin .ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.map-pin .ic svg { width: 24px; height: 24px; }
.map-pin b { display: block; font-size: 16px; margin-bottom: 4px; }
.map-pin p { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; margin-bottom: 10px; }
.map-pin a { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13.5px; color: var(--brand-ink); }
.map-pin a svg { width: 15px; height: 15px; }

/* Form / right column */
.right-col { display: flex; flex-direction: column; gap: 20px; }
.form-card { background: var(--graphite); color: #fff; border-radius: var(--radius); padding: 34px; }
.form-card .eyebrow { color: var(--brand); margin-bottom: 12px; }
.form-card h3 { font-size: 23px; margin-bottom: 8px; color: #fff; }   /* color: иначе h3 родителя merchant перебивает на тёмный */
.form-card > p { color: #b9bdc6; font-size: 14.5px; line-height: 1.55; margin-bottom: 22px; max-width: 440px; }
.c-form { display: grid; gap: 13px; }
.c-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12.5px; color: #9aa0aa; font-weight: 600; }
.field input,
.field textarea { border-radius: 12px; border: 1.5px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #fff; padding: 14px 16px; font-size: 15px; outline: none; transition: .15s; resize: none; }
.field input { height: 52px; padding-top: 0; padding-bottom: 0; }
.field input::placeholder,
.field textarea::placeholder { color: #7d828c; }
.field input:focus,
.field textarea:focus { border-color: var(--brand); background: rgba(255,255,255,.1); }
.c-form .btn { height: 54px; margin-top: 6px; }
.c-note { font-size: 12px; color: #7d828c; margin-top: 12px; line-height: 1.5; }
.c-form.done { display: none; }
.form-ok { display: none; align-items: center; gap: 14px; background: rgba(31,138,69,.16); border: 1px solid rgba(31,138,69,.4); border-radius: 14px; padding: 22px; }
.form-ok.show { display: flex; }
.form-ok .tk { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; }
.form-ok .tk svg { width: 22px; height: 22px; color: #fff; }
.form-ok b { display: block; font-size: 17px; color: #fff; margin-bottom: 3px; }
.form-ok span { font-size: 14px; color: #b9bdc6; }

/* Requisites */
.req-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; background: #fff; }
.req-card h3 { font-size: 19px; margin-bottom: 20px; display: flex; align-items: center; gap: 11px; }
.req-card h3 svg { width: 21px; height: 21px; color: var(--brand-ink); }
.req-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.req-row:last-child { border-bottom: none; }
.req-row .k { color: var(--ink-2); }
.req-row .v { font-weight: 700; text-align: right; }

/* ---------- HOURS / SOCIAL STRIP ---------- */
.strip { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-top: 20px; }
.hours { display: flex; gap: 16px; align-items: center; padding: 24px 26px; background: var(--surface); border-radius: var(--radius); }
.hours .ic { flex-shrink: 0; width: 50px; height: 50px; border-radius: 13px; background: #fff; color: var(--brand-ink); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.hours .ic svg { width: 26px; height: 26px; }
.hours b { display: block; font-size: 17px; margin-bottom: 3px; }
.hours span { font-size: 14px; color: var(--ink-2); }
.socials { display: flex; gap: 16px; align-items: center; padding: 24px 26px; background: var(--surface); border-radius: var(--radius); }
.socials .txt { flex: 1; }
.socials b { display: block; font-size: 16px; margin-bottom: 3px; }
.socials span { font-size: 13.5px; color: var(--ink-2); }
.socials .links { display: flex; gap: 10px; }
.socials .links a { width: 46px; height: 46px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--ink-2); box-shadow: var(--shadow-sm); transition: .15s; }
.socials .links a:hover { background: var(--brand); color: #fff; }
.socials .links svg { width: 21px; height: 21px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .cc-grid { grid-template-columns: 1fr 1fr; }
  .main-grid { grid-template-columns: 1fr; }
  .map-card { min-height: 380px; }
  .strip { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .cc-grid { grid-template-columns: 1fr; }
  .c-row { grid-template-columns: 1fr; }
  .form-card,
  .req-card { padding: 26px 22px; }
  .map-pin { left: 14px; right: 14px; bottom: 14px; padding: 16px 18px; }
  .socials { flex-direction: column; align-items: flex-start; }
}
