/* ============================================================
   Contact page - scoped to .contact-view
   Extends pages.css (hero, sections, form fields, FAQ, CTA, buttons).
   ============================================================ */

/* ---------- Hero ---------- */
.contact-view .ct-hero { padding: 46px 0 42px; }
.contact-view .ct-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.contact-view .ct-hero-actions .page-btn { font-variant-numeric: tabular-nums; }

/* ---------- Channel cards ---------- */
.contact-view .ct-channels {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.contact-view .ct-channel {
    display: flex;
    flex-direction: column;
    padding: 18px;
    border: 1px solid var(--pg-border);
    border-radius: 4px;
    text-decoration: none;
    transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.contact-view .ct-channel:hover {
    border-color: var(--pg-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}
.contact-view .ct-channel-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    background: #EAF4FB;
    border-radius: 4px;
    color: var(--pg-primary);
}
.contact-view .ct-channel-label {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pg-muted);
}
.contact-view .ct-channel-value {
    margin-top: 3px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--pg-ink);
    word-break: break-word;
    font-variant-numeric: tabular-nums;
}
.contact-view .ct-channel:hover .ct-channel-value { color: var(--pg-primary); }
.contact-view .ct-channel-note {
    margin-top: 8px;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--pg-muted);
}

/* ---------- Request shortcuts ---------- */
.contact-view .ct-requests {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.contact-view .ct-request {
    display: flex;
    flex-direction: column;
    padding: 18px;
    background: #F0F9FF;
    border: 1px solid var(--pg-border);
    border-radius: 4px;
}
.contact-view .ct-request-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid var(--pg-border);
    border-radius: 4px;
    color: var(--pg-primary);
}
.contact-view .ct-request h3 { margin: 0 0 6px; font-size: 0.98rem; font-weight: 700; }
.contact-view .ct-request p {
    margin: 0 0 14px;
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--pg-muted);
}
.contact-view .ct-request-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--pg-primary);
    text-decoration: none;
}
.contact-view .ct-request-cta:hover { color: var(--pg-primary-hover); text-decoration: underline; }

/* ---------- Form + store split ---------- */
.contact-view .ct-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 44px;
}
.contact-view .ct-form-lead {
    margin: -8px 0 18px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--pg-muted);
}
.contact-view .ct-form-note {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--pg-muted);
}
.contact-view .ct-form-note a { color: var(--pg-primary); font-weight: 700; text-decoration: none; }
.contact-view .ct-form-note a:hover { text-decoration: underline; }

/* ---------- Store card ---------- */
.contact-view .ct-store {
    border: 1px solid var(--pg-border);
    border-radius: 4px;
    overflow: hidden;
}
.contact-view .ct-store h2 {
    margin: 0;
    padding: 18px 22px;
    font-size: 1.35rem;
    font-weight: 700;
    border-bottom: 1px solid var(--pg-border);
}
.contact-view .ct-map {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #F0F9FF;
    border-bottom: 1px solid var(--pg-border);
}
.contact-view .ct-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.contact-view .ct-store-body { padding: 20px 22px 22px; }

.contact-view .ct-address {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--pg-muted);
    margin: 0 0 18px;
}
.contact-view .ct-address strong { font-size: 1rem; color: var(--pg-ink); }
.contact-view .ct-address-alt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 4px 9px;
    background: #F0F9FF;
    border: 1px solid var(--pg-border);
    border-radius: 4px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--pg-primary);
}

.contact-view .ct-store-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-view .ct-btn-outline {
    background: #fff;
    color: var(--pg-ink);
    border-color: var(--pg-border);
}
.contact-view .ct-btn-outline:hover { border-color: var(--pg-primary); color: var(--pg-primary); }

.contact-view .ct-store-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--pg-border);
    font-size: 0.84rem;
    line-height: 1.6;
    color: var(--pg-muted);
}
.contact-view .ct-store-note iconify-icon { flex-shrink: 0; margin-top: 2px; color: var(--pg-primary); }

.contact-view .contact-social a { color: var(--pg-ink); }
.contact-view .contact-social a:hover { color: var(--pg-primary); border-color: var(--pg-primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .contact-view .ct-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-view .ct-requests { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .contact-view .ct-split { grid-template-columns: minmax(0, 1fr); }
    .contact-view .ct-map { aspect-ratio: 16 / 9; }
}

@media (max-width: 600px) {
    .contact-view .ct-hero { padding: 34px 0 32px; }
    .contact-view .ct-hero-actions .page-btn { flex: 1 1 auto; justify-content: center; }
    .contact-view .ct-channels,
    .contact-view .ct-requests { grid-template-columns: minmax(0, 1fr); }
    .contact-view .ct-store h2 { padding: 16px; font-size: 1.2rem; }
    .contact-view .ct-store-body { padding: 16px; }
    .contact-view .ct-store-actions .page-btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
    .contact-view * { transition: none !important; }
    .contact-view .ct-channel:hover { transform: none; }
}
