/* ============================================================
   iStore — contact.css  (Contact, body-only)
   Зависит от переменных theme.css.
   ============================================================ */

.ct-crumb { width: 100%; max-width: 1280px; margin: 0 auto; padding: 18px 24px 0; font-size: 12px; color: var(--muted); }
.ct-crumb a { color: inherit; text-decoration: none; }
.ct-crumb a:hover { color: var(--text); }
.ct-crumb .sep { padding: 0 6px; }
.ct-crumb .cur { color: var(--text); }

.ct-head { width: 100%; max-width: 1280px; margin: 0 auto; padding: 32px 24px 8px; }
.ct-head__title { margin: 0; font-size: clamp(30px, 4vw, 42px); font-weight: 600; letter-spacing: -0.02em; }
.ct-head__sub { font-size: 15px; color: var(--muted); margin-top: 8px; max-width: 520px; }

/* contact cards */
.ct-cards {
    width: 100%; max-width: 1280px; margin: 0 auto; padding: 24px 24px 8px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
}
.ct-card {
    background: var(--surface); border-radius: 18px; padding: 20px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    text-decoration: none; color: inherit;
}
.ct-card--link { cursor: pointer; transition: box-shadow .2s; }
.ct-card--link:hover { box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.ct-card__icon {
    width: 42px; height: 42px; flex: none; border-radius: 50%;
    background: var(--surface-alt); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
}
.ct-card__body { display: flex; flex-direction: column; gap: 2px; }
.ct-card__label { font-size: 13px; font-weight: 600; }
.ct-card__value { font-size: 13px; color: var(--muted); }

/* map + form */
.ct-grid {
    width: 100%; max-width: 1280px; margin: 0 auto; padding: 32px 24px 8px;
    display: grid; grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto; column-gap: 32px; row-gap: 10px;
}
.ct-map-col { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 10px; }
.ct-map {
    flex: 1; min-height: 380px;
    border-radius: 24px; overflow: hidden; background: var(--surface-alt);
}
.ct-map iframe { display: block; width: 100%; height: 100%; min-height: 380px; }
.ct-apple { font-size: 13px; color: var(--accent); text-decoration: none; }
.ct-apple:hover { text-decoration: underline; }

.ct-form {
    grid-column: 2; grid-row: 1 / span 2;
    background: var(--surface); border-radius: 24px; padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    display: flex; flex-direction: column; gap: 18px;
}
.ct-form__title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.ct-form form { display: flex; flex-direction: column; gap: 18px; }
.ct-field { display: flex; flex-direction: column; gap: 6px; }
.ct-field label { font-size: 12px; color: var(--muted); }
.ct-field input,
.ct-field textarea {
    border-radius: 12px; border: 1px solid var(--border);
    background: var(--surface-alt); color: var(--text);
    font-size: 14px; outline: none; font-family: inherit;
}
.ct-field input { height: 44px; padding: 0 14px; }
.ct-field textarea { padding: 12px 14px; resize: vertical; }
.ct-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-submit {
    align-self: flex-start; padding: 14px 32px; border-radius: 980px;
    background: var(--accent); color: var(--accent-text);
    font-weight: 500; font-size: 15px; cursor: pointer; border: 0;
}
.ct-submit:hover { opacity: .85; }
.ct-form__message { font-size: 13px; color: var(--accent); margin: 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
    .ct-grid { grid-template-columns: 1fr; }
    .ct-map-col { grid-column: 1; grid-row: auto; }
    .ct-form { grid-column: 1; grid-row: auto; padding: 24px; }
    .ct-map, .ct-map iframe { min-height: 300px; }
}
@media (max-width: 560px) {
    .ct-field-row { grid-template-columns: 1fr; }
    .ct-head { padding-top: 24px; }
}