/* =========================================================
   CONTACT PAGE — page-scoped styles (ct- prefix)
   Reuses brand tokens from custom.css (:root vars).
========================================================= */

:root {
    --ct-ink: #142832;
    --ct-paper: #f6fbfd;
    --ct-line: #d8eef6;
    
    --ct-open: #2fae66;
    --ct-closed: #b0bcc2;
}

/* ===================== HERO ===================== */
.ct-hero {
    position: relative;
    background: linear-gradient(135deg, var(--netfizz-blue-dark) 0%, var(--netfizz-blue) 100%);
    padding: 4rem 0 3.25rem;
    color: #fff;
    overflow: hidden;
}

/* =========================================================
   PATCH: merge these two declarations into the existing
   .ct-hero rule in contact.css (don't duplicate the selector,
   just add the two new lines below to the rule that's already there)
   ========================================================= */

.ct-hero {
    background-size: cover;
    background-position: center;
}

/* Keeps hero text readable if an admin uploads a very bright image
   even though the inline gradient overlay already handles contrast. */
.ct-hero-inner {
    position: relative;
    z-index: 1;
}


.ct-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(circle at 80% 30%, rgba(0, 0, 0, .9), transparent 65%);
    mask-image: radial-gradient(circle at 80% 30%, rgba(0, 0, 0, .9), transparent 65%);
    pointer-events: none;
}

/* .ct-hero-inner {
    position: relative;
} */

.ct-eyebrow {
    display: inline-block;
    font-family: var(--ct-mono);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .75);
    margin-bottom: .6rem;
}

.ct-hero-title {
    font-weight: 800;
    font-size: 2.3rem;
    max-width: 16ch;
    margin-bottom: .9rem;
}

.ct-hero-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, .88);
    max-width: 52ch;
    margin-bottom: 1.5rem;
}

.ct-live-chip {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 30px;
    padding: .5rem 1rem;
    font-family: var(--ct-mono);
    font-size: .82rem;
    backdrop-filter: blur(3px);
}

.ct-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffe27a;
    flex-shrink: 0;
}

.ct-dot.is-open {
    background: #6bffb0;
    box-shadow: 0 0 0 3px rgba(107, 255, 176, .25);
}

.ct-dot.is-closed {
    background: #ffc2c2;
}

/* ===================== ALT-CONTACT BANNER ===================== */
.ct-banner {
    position: relative;
    background: linear-gradient(115deg, #fff4f4 0%, var(--ct-paper) 55%, #eefaff 100%);
    padding: 2.75rem 0;
    overflow: hidden;
    border-bottom: 1px solid var(--ct-line);
}

.ct-banner-pattern {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg,
            rgba(58, 180, 220, .05) 0px,
            rgba(58, 180, 220, .05) 2px,
            transparent 2px,
            transparent 26px);
    pointer-events: none;
}

.ct-banner-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.ct-banner-eyebrow {
    display: block;
    font-family: var(--ct-mono);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--netfizz-red);
    margin-bottom: .3rem;
}

.ct-banner-copy h2 {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--ct-ink);
    margin: 0;
}

.ct-banner-options {
    display: flex;
    gap: .9rem;
    flex-wrap: wrap;
}

.ct-banner-opt {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: #fff;
    border: 1px solid var(--ct-line);
    border-radius: 12px;
    padding: .7rem 1.1rem;
    text-align: left;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ct-banner-opt:hover {
    transform: translateY(-3px);
    border-color: var(--netfizz-blue);
    box-shadow: 0 10px 26px rgba(58, 180, 220, .18);
}

.ct-banner-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--netfizz-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.ct-banner-opt:nth-child(1) .ct-banner-icon {
    background: #25d366;
}

.ct-banner-opt:nth-child(2) .ct-banner-icon {
    background: var(--netfizz-red);
}

.ct-banner-opt:nth-child(3) .ct-banner-icon {
    background: var(--netfizz-blue-dark);
}

.ct-banner-opt-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.ct-banner-opt-text strong {
    font-size: .88rem;
    color: var(--ct-ink);
}

.ct-banner-opt-text em {
    font-style: normal;
    font-size: .74rem;
    color: #8098a2;
}

/* ===================== CHANNEL BOARD ===================== */
.ct-board {
    background: var(--ct-paper);
    padding: 3rem 0 3.5rem;
    margin-top: -1px;
}

.ct-board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.ct-channel {
    background: #fff;
    border: 1px solid var(--ct-line);
    border-radius: 14px;
    padding: 1.4rem 1.3rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ct-channel:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(58, 180, 220, .15);
}

.ct-channel-head {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .75rem;
}

.ct-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ct-closed);
    flex-shrink: 0;
}

.ct-status-dot.is-open {
    background: var(--ct-open);
    box-shadow: 0 0 0 3px rgba(47, 174, 102, .18);
}

.ct-channel-status {
    font-family: var(--ct-mono);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #6c8792;
}

.ct-channel-status.is-open {
    color: var(--ct-open);
}

.ct-channel h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ct-ink);
    margin-bottom: .4rem;
}

.ct-channel-desc {
    font-size: .82rem;
    color: #5a7580;
    margin-bottom: .9rem;
    min-height: 2.4em;
}

.ct-channel-num {
    display: block;
    font-family: var(--ct-mono);
    font-weight: 600;
    font-size: .95rem;
    color: var(--netfizz-blue-dark);
    margin-bottom: .35rem;
}

.ct-channel-num:hover {
    color: var(--netfizz-red);
}

.ct-channel-hours {
    display: block;
    font-size: .74rem;
    color: #8098a2;
}

/* ===================== FORM + OFFICES ===================== */
.ct-main {
    padding: 4.5rem 0;
    background: #fff;
}

.ct-main-grid {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    gap: 3.5rem;
}

.ct-form h2,
.ct-offices h2 {
    font-weight: 800;
    color: var(--ct-ink);
    font-size: 1.5rem;
    margin-bottom: .35rem;
}

.ct-form-sub {
    color: #5a7580;
    font-size: .9rem;
    margin-bottom: 1.75rem;
}

.ct-field {
    position: relative;
    margin-bottom: 1.4rem;
}

.ct-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid var(--ct-line);
    background: transparent;
    padding: .65rem .1rem .5rem;
    font-family: 'Poppins', sans-serif;
    font-size: .95rem;
    color: var(--ct-ink);
    transition: border-color .2s ease;
}

.ct-field textarea {
    resize: vertical;
    min-height: 90px;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    outline: none;
    border-color: var(--netfizz-blue);
}

.ct-field label {
    position: absolute;
    left: .1rem;
    top: .65rem;
    font-size: .95rem;
    color: #8098a2;
    pointer-events: none;
    transition: top .18s ease, font-size .18s ease, color .18s ease;
}

.ct-field input:focus+label,
.ct-field input:not(:placeholder-shown)+label,
.ct-field textarea:focus+label,
.ct-field textarea:not(:placeholder-shown)+label {
    top: -.7rem;
    font-size: .72rem;
    color: var(--netfizz-blue-dark);
    font-weight: 600;
}

.ct-select-label {
    top: -.7rem !important;
    font-size: .72rem !important;
    color: var(--netfizz-blue-dark) !important;
    font-weight: 600;
}

.ct-field.has-error input,
.ct-field.has-error select,
.ct-field.has-error textarea {
    border-color: var(--netfizz-red);
}

.ct-submit {
    margin-top: .5rem;
}

.ct-form-note {
    margin-top: .9rem;
    font-size: .88rem;
    min-height: 1.2em;
}

.ct-form-note.is-success {
    color: var(--ct-open);
    font-weight: 600;
}

.ct-form-note.is-error {
    color: var(--netfizz-red);
    font-weight: 600;
}

/* Offices */
.ct-offices {
    display: flex;
    flex-direction: column;
}

.ct-office-card {
    border-top: 1px solid var(--ct-line);
    padding: 1.25rem 0;
}

.ct-office-card:first-of-type {
    margin-top: 1.4rem;
}

.ct-office-tag {
    font-family: var(--ct-mono);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--netfizz-red);
}

.ct-office-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ct-ink);
    margin: .3rem 0 .35rem;
}

.ct-office-card p {
    font-size: .85rem;
    color: #5a7580;
    margin-bottom: .5rem;
}

.ct-office-card a {
    font-size: .82rem;
    font-weight: 600;
    color: var(--netfizz-blue-dark);
}

.ct-office-card a:hover {
    color: var(--netfizz-red);
}

/* ===================== FAQ STRIP ===================== */
.ct-faq-strip {
    background: var(--ct-paper);
    padding: 3.5rem 0 4rem;
}

.ct-faq-strip h2 {
    font-weight: 800;
    color: var(--ct-ink);
    font-size: 1.4rem;
    margin-bottom: 1.75rem;
}

.ct-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.ct-faq-item h4 {
    font-size: .92rem;
    font-weight: 700;
    color: var(--ct-ink);
    margin-bottom: .35rem;
}

.ct-faq-item p {
    font-size: .84rem;
    color: #5a7580;
    margin: 0;
}

.ct-faq-link {
    font-weight: 700;
    font-size: .88rem;
    color: var(--netfizz-red);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: gap .2s ease;
}

.ct-faq-link:hover {
    gap: .7rem;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991.98px) {
    .ct-board-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ct-main-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ct-faq-grid {
        grid-template-columns: 1fr;
    }

    .ct-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ct-banner-options {
        width: 100%;
    }

    .ct-banner-opt {
        flex: 1 1 220px;
    }
}

@media (max-width: 575.98px) {
    .ct-hero-title {
        font-size: 1.8rem;
    }

    .ct-board-grid {
        grid-template-columns: 1fr;
    }

    .ct-field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ct-banner-opt {
        width: 100%;
    }
}


.ct-channel-num,
.ct-channel-num:hover,
.ct-channel-num:focus,
.ct-office-card a,
.ct-office-card a:hover,
.ct-office-card a:focus,
.ct-banner-opt,
.ct-banner-opt:hover,
.ct-banner-opt:focus,
.ct-faq-link,
.ct-faq-link:hover,
.ct-faq-link:focus,
.ct-hero a,
.ct-hero a:hover {
    text-decoration: none;
}