/* ============================================================
   Global "Ways to reach us" section
   ------------------------------------------------------------
   Markup: resources/views/frontend/inc/contact-channels.blade.php
   Self-contained; mobile-first. Lists are spaced with padding (the site resets list margins).
   Each card's accent comes from --c.
   ============================================================ */

.ccs {
    --cc-ink: #0f172a;
    --cc-text: #475569;
    --cc-muted: #64748b;
    --cc-line: #e6ebf3;
    --cc-blue: #2563eb;
    --cc-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
    --cc-shadow-hover: 0 18px 40px rgba(15, 23, 42, .1);
    padding: 56px 0;
    background: #fff;
    color: var(--cc-text);
}
.ccs--soft { background: #f7f9fd; }
.ccs *, .ccs *::before, .ccs *::after { box-sizing: border-box; }
.ccs a { text-decoration: none; }
.ccs :focus-visible { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px; border-radius: 6px; }

.ccs-head { max-width: 680px; margin: 0 auto; padding-bottom: 28px; text-align: center; }
.ccs-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #eff5ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cc-blue);
}
.ccs-head h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.2rem); font-weight: 900; line-height: 1.2; letter-spacing: -.01em; color: var(--cc-ink); }
.ccs-head p { margin: 0; font-size: 15.5px; line-height: 1.65; }
.ccs-head .ccs-status {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
    margin-top: 14px;
    padding: 6px 14px;
    border: 1px solid var(--cc-line);
    border-radius: 999px;
    background: #fff;
    font-size: 13.5px;
    line-height: 1.4;
}
.ccs-status b { color: var(--cc-ink); }
.ccs-status__dot { width: 9px; height: 9px; border-radius: 50%; background: #f97316; }
.ccs-status.is-open .ccs-status__dot { background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, .15); animation: ccs-pulse 2s ease-in-out infinite; }

.ccs-grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.ccs-card {
    --c: var(--cc-blue);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--cc-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--cc-shadow);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ccs-card::before { content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 3px; border-radius: 0 0 3px 3px; background: var(--c); }
.ccs-card:hover { transform: translateY(-4px); border-color: #cfdcf2; box-shadow: var(--cc-shadow-hover); }
.ccs-card__top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; }
.ccs-card__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #eff5ff;
    background: color-mix(in srgb, var(--c) 13%, #fff);
    color: var(--c);
    font-size: 20px;
}
.ccs-card h3 { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--cc-ink); }

.ccs-values { display: grid; gap: 4px; margin: 0; padding: 0 0 8px; list-style: none; }
.ccs-values a,
.ccs-values span { display: inline-block; max-width: 100%; font-size: 15.5px; font-weight: 800; line-height: 1.4; color: var(--cc-ink); overflow-wrap: anywhere; }
.ccs-values a:hover { color: var(--c); }
.ccs-card--office .ccs-values span { font-size: 14.5px; font-weight: 700; }
.ccs-text { flex: 1; margin: 0; padding-bottom: 14px; font-size: 14px; line-height: 1.6; }
.ccs-meta { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.ccs-meta span { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: currentColor; }
.ccs-meta--green { color: #15803d; }
.ccs-meta--orange { color: #c2410c; }
.ccs-meta--blue { color: #1d4ed8; }

.ccs-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 1.5px solid color-mix(in srgb, var(--c) 35%, #fff);
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    font-weight: 800;
    color: var(--c) !important;
    transition: background-color .2s, color .2s, border-color .2s;
}
.ccs-action i { font-size: 11px; transition: transform .2s; }
.ccs-action:hover { border-color: var(--c); background: var(--c); color: #fff !important; }
.ccs-action:hover i { transform: translateX(3px); }

@keyframes ccs-pulse { 50% { box-shadow: 0 0 0 7px rgba(22, 163, 74, .05); } }

@media (min-width: 576px) {
    .ccs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .ccs { padding: 72px 0; }
}
@media (min-width: 992px) {
    .ccs { padding: 88px 0; }
    .ccs-grid--3,
    .ccs-grid--5,
    .ccs-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
    .ccs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
    .ccs-grid--1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
}
@media (min-width: 1200px) {
    .ccs-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
    .ccs-grid--5 .ccs-card { padding: 20px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .ccs *, .ccs *::before, .ccs *::after { transition: none !important; animation: none !important; }
    .ccs-card:hover { transform: none; }
}
