/* TCC inner pages: services, funding and careers */
.detail-site { background:#fff; }
.detail-site .site-header { background:rgba(255,255,255,.95); }

/* ---------- Detail hero ---------- */
.detail-hero {
    --detail-hero-image:none;
    --detail-hero-position:center;
    position:relative;
    overflow:hidden;
    padding:64px 0 68px;
    border-bottom:1px solid rgba(72,29,91,.09);
    background-color:#fbf7fd;
    background-image:
        linear-gradient(90deg,rgba(255,255,255,.985) 0%,rgba(255,255,255,.965) 42%,rgba(250,244,253,.78) 67%,rgba(63,0,84,.15) 100%),
        var(--detail-hero-image);
    background-size:cover;
    background-position:var(--detail-hero-position);
}
.detail-hero--service {
    --detail-hero-image:url('https://images.unsplash.com/photo-1765896387387-0538bc9f997e?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=82&w=2000');
    --detail-hero-position:center 43%;
}
.detail-hero--funding {
    --detail-hero-image:url('https://images.unsplash.com/photo-1758686254563-5c5ab338c8b9?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=82&w=2000');
    --detail-hero-position:center 47%;
}
.detail-hero::before {
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(248,239,252,.16));
}
.detail-hero::after {
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    right:-190px;
    top:-230px;
    border-radius:50%;
    pointer-events:none;
    background:radial-gradient(circle,rgba(190,93,229,.17),rgba(190,93,229,0) 70%);
}
.detail-hero-grid {
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:minmax(0,1.12fr) minmax(350px,.88fr);
    gap:58px;
    align-items:center;
}
.detail-hero-copy { min-width:0; }
.detail-breadcrumbs {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:22px;
    color:#746879;
    font-size:.76rem;
    font-weight:700;
}
.detail-breadcrumbs a { color:var(--brand-dark); }
.detail-breadcrumbs a:hover { color:var(--brand); }
.detail-breadcrumbs span::before { content:"/"; margin-right:8px; color:#b6a8bd; }

/* Compact icon + section label: avoids the old tall icon stack. */
.detail-label {
    display:flex;
    align-items:center;
    gap:12px;
    width:max-content;
    max-width:100%;
    margin:0 0 17px;
}
.detail-label-icon {
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    flex:0 0 42px;
    border-radius:13px;
    color:var(--brand);
    background:rgba(255,255,255,.92);
    border:1px solid rgba(122,4,180,.13);
    box-shadow:0 9px 24px rgba(55,11,76,.09);
}
.detail-label-icon svg { width:21px; height:21px; }
.detail-label .eyebrow { margin:0; }
.detail-hero h1 {
    max-width:820px;
    margin:0 0 18px;
    color:var(--brand-deep);
    font:600 clamp(2.75rem,4.7vw,4.65rem)/1.02 var(--serif);
    letter-spacing:-.045em;
}
.detail-hero-lead {
    max-width:740px;
    margin:0;
    color:#55495c;
    font-size:1.05rem;
    line-height:1.76;
}
.detail-hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }

/* High-contrast summary card. */
.detail-summary-card {
    position:relative;
    overflow:hidden;
    padding:31px 32px;
    border-radius:26px;
    color:#fff;
    background:rgba(45,0,63,.94);
    border:1px solid rgba(255,255,255,.22);
    box-shadow:0 26px 62px rgba(44,0,60,.26);
    backdrop-filter:blur(12px);
}
.detail-summary-card::after {
    content:"";
    position:absolute;
    width:210px;
    height:210px;
    right:-100px;
    top:-120px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(205,111,240,.28),rgba(205,111,240,0) 70%);
    pointer-events:none;
}
.detail-summary-card > * { position:relative; z-index:1; }
.summary-card-kicker {
    display:block;
    margin-bottom:10px;
    color:#edc9fb;
    text-transform:uppercase;
    letter-spacing:.13em;
    font-size:.67rem;
    font-weight:800;
}
.detail-summary-card h2 { margin:0 0 13px; color:#fff; font:600 1.72rem/1.14 var(--serif); }
.detail-summary-card p { margin:0; color:#f7effa; line-height:1.72; font-size:.89rem; }
.detail-summary-list { display:grid; gap:11px; margin:23px 0 0; padding:0; list-style:none; }
.detail-summary-list li {
    display:grid;
    grid-template-columns:29px minmax(0,1fr);
    gap:10px;
    align-items:start;
    color:#fff;
    font-size:.84rem;
    line-height:1.5;
}
.detail-summary-list span {
    width:27px;
    height:27px;
    display:grid;
    place-items:center;
    border-radius:9px;
    color:#fff;
    background:rgba(197,106,232,.26);
    border:1px solid rgba(255,255,255,.16);
    font-weight:900;
}

/* ---------- Main content ---------- */
.detail-section { padding:78px 0; }
.detail-main-section { padding:82px 0 86px; }
.detail-section.soft { background:linear-gradient(180deg,#fbf8fd 0%,#fff 100%); }
.detail-copy-wide { max-width:980px; }
.detail-copy > .eyebrow,
.detail-section-head > .eyebrow,
.funding-ready-heading .eyebrow,
.support-fit-heading .eyebrow { margin-bottom:11px; }
.detail-copy h2,.detail-section-head h2 {
    margin:0 0 17px;
    color:var(--brand-deep);
    font:600 clamp(2.15rem,3vw,3.35rem)/1.08 var(--serif);
    letter-spacing:-.03em;
}
.detail-copy p,.detail-section-head p { max-width:820px; margin:0; color:var(--muted); line-height:1.82; }
.detail-section-head { max-width:820px; }

.detail-list {
    display:grid;
    gap:12px;
    margin:28px 0 0;
    padding:0;
    list-style:none;
}
.detail-list-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.detail-list li {
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    gap:12px;
    align-items:start;
    min-height:74px;
    padding:15px 16px;
    border:1px solid var(--line);
    border-radius:16px;
    background:#fff;
    color:#4e4254;
    font-size:.89rem;
    line-height:1.6;
    box-shadow:0 6px 18px rgba(55,11,76,.025);
}
.detail-list li::before {
    content:"✓";
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border-radius:9px;
    color:var(--brand);
    background:var(--brand-soft);
    font-weight:900;
}

/* Funding readiness: full-width to remove the old empty right column. */
.funding-ready-card,
.support-fit-card {
    margin-top:34px;
    padding:27px 28px;
    border:1px solid rgba(72,29,91,.12);
    border-radius:22px;
    background:linear-gradient(135deg,#fff 0%,#fdf9ff 100%);
    box-shadow:0 16px 40px rgba(55,11,76,.065);
}
.funding-ready-heading,
.support-fit-heading {
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
}
.funding-ready-icon,
.support-fit-icon {
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    flex:0 0 46px;
    border-radius:14px;
    color:var(--brand);
    background:var(--brand-soft);
    border:1px solid rgba(122,4,180,.08);
}
.funding-ready-icon svg,
.support-fit-icon svg { width:22px; height:22px; }
.funding-ready-heading h3,
.support-fit-heading h3 {
    margin:0;
    color:var(--brand-deep);
    font:600 clamp(1.35rem,2vw,1.75rem)/1.18 var(--serif);
}
.funding-ready-grid,
.support-fit-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px 18px;
    margin:0;
    padding:0;
    list-style:none;
}
.funding-ready-grid li,
.support-fit-item {
    display:grid;
    grid-template-columns:28px minmax(0,1fr);
    gap:10px;
    align-items:start;
    padding:13px 14px;
    border-radius:14px;
    background:#fff;
    border:1px solid rgba(72,29,91,.09);
    color:#5a4e60;
    font-size:.86rem;
    line-height:1.58;
}
.funding-ready-grid li > span,
.support-fit-item > span {
    width:27px;
    height:27px;
    display:grid;
    place-items:center;
    border-radius:9px;
    color:var(--brand);
    background:var(--brand-soft);
    font-weight:900;
}
.support-fit-item p { margin:0; }
.detail-note {
    margin-top:18px;
    padding:15px 16px;
    border-left:3px solid var(--brand);
    border-radius:0 12px 12px 0;
    background:#faf3fd;
    color:#64556c;
    font-size:.8rem;
    line-height:1.65;
}
.detail-note-wide { margin-top:19px; }

/* ---------- Process / contact ---------- */
.detail-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:31px; }
.detail-step {
    padding:25px;
    border-radius:20px;
    border:1px solid var(--line);
    background:#fff;
    box-shadow:0 10px 28px rgba(55,11,76,.04);
}
.detail-step-num {
    width:35px;
    height:35px;
    display:grid;
    place-items:center;
    margin-bottom:16px;
    border-radius:10px;
    color:#fff;
    background:linear-gradient(135deg,var(--brand),var(--brand-mid));
    font-weight:800;
}
.detail-step h3 { margin:0 0 8px; color:var(--brand-deep); font-size:1rem; }
.detail-step p { margin:0; color:var(--muted); font-size:.85rem; line-height:1.65; }

.detail-contact { background:linear-gradient(135deg,#340048 0%,#5d007f 48%,#851ab3 100%); }
.detail-contact-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:50px; align-items:center; }
.detail-contact-copy { color:#fff; }
.detail-contact-copy .eyebrow { margin-bottom:10px; color:#ecccf9; }
.detail-contact-copy h2 { margin:0 0 15px; color:#fff; font:600 clamp(2.25rem,3.5vw,3.6rem)/1.05 var(--serif); }
.detail-contact-copy p { margin:0; max-width:520px; color:rgba(255,255,255,.88); line-height:1.75; }
.detail-contact-points { display:grid; gap:12px; margin-top:25px; }
.detail-contact-point { display:flex; gap:10px; align-items:center; color:#fff; font-size:.85rem; }
.detail-contact-point span:first-child { width:30px; height:30px; display:grid; place-items:center; border-radius:9px; background:rgba(255,255,255,.14); }

.detail-form { display:grid; gap:15px; padding:28px; border-radius:24px; background:#fff; box-shadow:0 22px 60px rgba(30,0,42,.25); }
.detail-form h3 { margin:0; color:var(--brand-deep); font:600 1.55rem/1.15 var(--serif); }
.detail-form > p { margin:-4px 0 2px; color:var(--muted); font-size:.82rem; }
.detail-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.detail-form label { display:grid; gap:7px; color:#4d4053; font-weight:700; font-size:.77rem; }
.detail-form input,.detail-form select,.detail-form textarea { width:100%; padding:12px 13px; border:1px solid rgba(75,38,91,.16); border-radius:11px; outline:none; color:var(--ink); background:#fcfafc; transition:.2s ease; }
.detail-form input:focus,.detail-form select:focus,.detail-form textarea:focus { border-color:rgba(122,4,180,.48); box-shadow:0 0 0 4px rgba(122,4,180,.08); background:#fff; }
.detail-form textarea { min-height:120px; resize:vertical; }
.detail-form .hp-field { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-alert { padding:12px 14px; border-radius:12px; font-size:.8rem; line-height:1.55; }
.form-alert.success { color:#245a35; background:#eef9f1; border:1px solid #cdebd5; }
.form-alert.error { color:#7c2630; background:#fff2f3; border:1px solid #f2cbd0; }

/* ---------- Overview pages ---------- */
.index-hero {
    position:relative;
    overflow:hidden;
    padding:70px 0 60px;
    text-align:center;
    background-color:#faf4fd;
    background-size:cover;
    background-position:center;
}
.index-hero--services {
    background-image:linear-gradient(rgba(255,255,255,.91),rgba(250,244,253,.92)),url('https://images.unsplash.com/photo-1765896387387-0538bc9f997e?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=78&w=2000');
}
.index-hero--funding {
    background-image:linear-gradient(rgba(255,255,255,.91),rgba(250,244,253,.92)),url('https://images.unsplash.com/photo-1758686254563-5c5ab338c8b9?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=78&w=2000');
}
.index-hero .eyebrow { justify-content:center; margin-bottom:11px; }
.index-hero h1 { max-width:900px; margin:0 auto 18px; color:var(--brand-deep); font:600 clamp(2.8rem,5vw,4.6rem)/1.03 var(--serif); letter-spacing:-.04em; }
.index-hero p { max-width:760px; margin:0 auto; color:#5d5163; line-height:1.75; }
.index-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.index-card { display:flex; flex-direction:column; min-height:310px; padding:25px; border:1px solid var(--line); border-radius:22px; background:linear-gradient(180deg,#fff,#fdfafd); box-shadow:0 10px 28px rgba(55,11,76,.04); transition:.22s ease; }
.index-card:hover { transform:translateY(-5px); border-color:rgba(122,4,180,.24); box-shadow:var(--shadow-soft); }
.index-card-icon { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; color:var(--brand); background:var(--brand-soft); }
.index-card-icon svg { width:24px; height:24px; }
.index-card .mega-kicker { margin-top:18px; }
.index-card h2 { margin:7px 0 10px; color:var(--brand-deep); font:600 1.35rem/1.22 var(--serif); }
.index-card p { margin:0; color:var(--muted); font-size:.85rem; line-height:1.65; }
.index-card-link { display:inline-flex; gap:7px; align-items:center; margin-top:auto; padding-top:20px; color:var(--brand-dark); font-size:.8rem; font-weight:800; }
.funding-index-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.funding-index-grid .index-card { min-height:275px; }

/* ---------- Related pages ---------- */
.related-wrap { padding:78px 0 84px; background:#fff; }
.related-section-head { margin-bottom:28px; }
.related-section-head .eyebrow { margin-bottom:11px; }
.related-section-head h2 { margin-bottom:0; }
.related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.related-link { display:flex; align-items:center; gap:12px; min-height:72px; padding:16px; border:1px solid var(--line); border-radius:16px; background:#fff; transition:.2s ease; }
.related-link:hover { transform:translateY(-2px); border-color:rgba(122,4,180,.2); box-shadow:0 10px 24px rgba(55,11,76,.06); }
.related-link-icon { width:40px; height:40px; display:grid; place-items:center; flex:0 0 40px; border-radius:12px; color:var(--brand); background:var(--brand-soft); }
.related-link-icon svg { width:20px; height:20px; }
.related-link strong { color:var(--brand-deep); font-size:.82rem; line-height:1.3; }
.related-link span:last-child { margin-left:auto; color:var(--brand); }

@media (max-width:980px) {
    .detail-hero { background-position:center; }
    .detail-hero-grid,.detail-contact-grid { grid-template-columns:1fr; gap:36px; }
    .detail-summary-card { max-width:720px; }
    .detail-list-grid,.funding-ready-grid,.support-fit-grid { grid-template-columns:1fr; }
    .index-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:680px) {
    .detail-hero {
        padding:42px 0 46px;
        background-image:linear-gradient(rgba(255,255,255,.95),rgba(249,242,252,.94)),var(--detail-hero-image);
    }
    .detail-breadcrumbs { margin-bottom:18px; font-size:.71rem; }
    .detail-label { margin-bottom:14px; }
    .detail-label-icon { width:38px; height:38px; flex-basis:38px; border-radius:12px; }
    .detail-label-icon svg { width:19px; height:19px; }
    .detail-label .eyebrow { justify-content:flex-start; text-align:left; font-size:.68rem; }
    .detail-hero h1 { font-size:clamp(2.35rem,12vw,3.55rem); }
    .detail-hero-lead { font-size:.98rem; line-height:1.7; }
    .detail-section,.detail-main-section,.related-wrap { padding:58px 0; }
    .detail-summary-card,.detail-form,.funding-ready-card,.support-fit-card { padding:22px; border-radius:20px; }
    .funding-ready-heading,.support-fit-heading { align-items:flex-start; }
    .detail-steps,.index-grid,.funding-index-grid,.related-grid,.detail-form-grid { grid-template-columns:1fr; }
    .index-card { min-height:0; }

    /* Services + funding indexes: keep the icon on the left and all card copy on the right on phones. */
    .services-index-grid .index-card,
    .funding-index-grid .index-card {
        display:grid;
        grid-template-columns:48px minmax(0,1fr);
        grid-template-areas:
            "icon kicker"
            "icon title"
            "icon summary"
            "icon link";
        column-gap:14px;
        row-gap:0;
        align-items:start;
        padding:18px;
    }
    .services-index-grid .index-card-icon,
    .funding-index-grid .index-card-icon {
        grid-area:icon;
        align-self:start;
        width:48px;
        height:48px;
    }
    .services-index-grid .index-card .mega-kicker,
    .funding-index-grid .index-card .mega-kicker {
        grid-area:kicker;
        margin:1px 0 0;
        font-size:.6rem;
        line-height:1.35;
        letter-spacing:.11em;
    }
    .services-index-grid .index-card h2,
    .funding-index-grid .index-card h2 {
        grid-area:title;
        margin:5px 0 7px;
        font-size:1.12rem;
        line-height:1.22;
    }
    .services-index-grid .index-card p,
    .funding-index-grid .index-card p {
        grid-area:summary;
        margin:0;
        font-size:.8rem;
        line-height:1.55;
    }
    .services-index-grid .index-card-link,
    .funding-index-grid .index-card-link {
        grid-area:link;
        margin:0;
        padding-top:11px;
        font-size:.78rem;
    }
    .detail-contact-copy { text-align:left; }
    .detail-contact-copy .eyebrow,
    .detail-copy > .eyebrow,
    .detail-section-head > .eyebrow,
    .funding-ready-heading .eyebrow,
    .support-fit-heading .eyebrow { justify-content:flex-start; text-align:left; }
    .index-hero .eyebrow { justify-content:center; }
}

/* ==========================================================================\n   TCC V6 DETAIL PAGE POLISH\n   Stronger spacing + balanced two-column information layout + cache-busted.\n   ========================================================================== */

/* Hero readability and compact label treatment */
.detail-hero {
    padding: 68px 0 74px;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,.985) 0%, rgba(255,255,255,.97) 43%, rgba(251,247,253,.86) 67%, rgba(58,0,77,.28) 100%),
        var(--detail-hero-image);
}
.detail-label {
    gap: 10px;
    margin-bottom: 14px;
}
.detail-label-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(55,11,76,.08);
}
.detail-label-icon svg { width: 18px; height: 18px; }
.detail-hero h1 { margin-bottom: 20px; }
.detail-hero-lead { color: #4f4455; }

/* Summary card: no purple-on-purple blending. */
.detail-summary-card {
    padding: 34px 34px 32px;
    color: #fff;
    background: #3a004f;
    border: 1px solid rgba(255,255,255,.20);
    box-shadow: 0 26px 62px rgba(44,0,60,.24);
}
.summary-card-kicker { color: #f0cffc; }
.detail-summary-card h2 { color: #fff; }
.detail-summary-card p { color: #fff; opacity: .94; }
.detail-summary-list li { color: #fff; }

/* Balanced content area. This replaces the long full-width stack. */
.detail-main-section { padding: 90px 0 102px; }
.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(350px, .72fr);
    gap: 44px;
    align-items: start;
}
.detail-content-grid .detail-copy-wide { max-width: none; }
.detail-copy > .eyebrow,
.detail-section-head > .eyebrow { margin-bottom: 12px; }
.detail-copy h2,
.detail-section-head h2 { margin-bottom: 20px; }
.detail-copy p,
.detail-section-head p { line-height: 1.78; }

/* Compact two-column inclusion list so the right card and left content balance. */
.detail-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
}
.detail-list li {
    min-height: 78px;
    padding: 16px;
    align-items: center;
    background: #fff;
}

/* Funding/service side cards. Explicit resets prevent browser bullets / tiny raw icons. */
.funding-ready-card,
.support-fit-card {
    margin: 0;
    padding: 28px;
    border: 1px solid rgba(72,29,91,.13);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fcf8fe 100%);
    box-shadow: 0 18px 44px rgba(55,11,76,.08);
}
.funding-ready-heading,
.support-fit-heading {
    display: block;
    margin: 0 0 22px;
}
.funding-ready-heading .eyebrow,
.support-fit-heading .eyebrow {
    margin: 0 0 9px;
}
.funding-ready-heading h3,
.support-fit-heading h3 {
    margin: 0 0 10px;
    color: var(--brand-deep);
    font: 600 1.55rem/1.18 var(--serif);
    letter-spacing: -.02em;
}
.funding-ready-heading p,
.support-fit-heading > p {
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.65;
}
.funding-ready-grid,
.support-fit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none !important;
}
.funding-ready-grid li,
.support-fit-item {
    list-style: none !important;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 13px 14px;
    border: 1px solid rgba(72,29,91,.09);
    border-radius: 13px;
    background: #fff;
    color: #514657;
    font-size: .84rem;
    line-height: 1.55;
}
.funding-ready-grid li::marker { content: ""; }
.funding-ready-grid li > span,
.support-fit-item > span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    margin: 0;
    border-radius: 8px;
    color: var(--brand);
    background: var(--brand-soft);
    font-size: .82rem;
    font-weight: 900;
}
.support-fit-item p { margin: 0; }
.detail-note,
.detail-note-wide {
    margin-top: 18px;
    padding: 15px 16px;
    border-left: 3px solid var(--brand);
    border-radius: 0 12px 12px 0;
    background: #f8effc;
    color: #5d4f64;
    font-size: .78rem;
    line-height: 1.65;
}

/* Separate every major section more clearly. */
.detail-section.soft { padding: 86px 0 94px; }
.detail-contact { padding: 88px 0 92px; }
.related-wrap {
    padding: 94px 0 108px;
    background: #fff;
    border-top: 1px solid rgba(72,29,91,.08);
}
.related-section-head {
    margin-bottom: 32px;
    padding-top: 0;
}
.related-section-head .eyebrow { margin-bottom: 12px; }
.related-section-head h2 { margin: 0; }
.related-grid { gap: 16px; }
.related-link {
    min-height: 76px;
    padding: 17px 18px;
    border-radius: 17px;
}

/* Keep the footer visually separate from the related-content area. */
.detail-site .site-footer { margin-top: 0; }

@media (max-width: 1100px) {
    .detail-content-grid {
        grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
        gap: 30px;
    }
    .detail-list-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .detail-content-grid { grid-template-columns: 1fr; gap: 34px; }
    .funding-ready-card,
    .support-fit-card { max-width: none; }
    .detail-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .detail-hero { padding: 46px 0 52px; }
    .detail-main-section { padding: 64px 0 70px; }
    .detail-list-grid { grid-template-columns: 1fr; }
    .detail-list li { min-height: 0; }
    .funding-ready-card,
    .support-fit-card { padding: 22px; }
    .detail-section.soft { padding: 64px 0 70px; }
    .detail-contact { padding: 66px 0 72px; }
    .related-wrap { padding: 68px 0 78px; }
    .related-section-head { margin-bottom: 24px; }
}

/* =========================================================
   TCC V37 - CDHCI funding page refinement
   ========================================================= */
.cdhci-overview-card {
    padding: 32px 34px;
}
.cdhci-overview-card h2 {
    max-width: 430px;
    margin-bottom: 18px;
}
.cdhci-overview-copy {
    display: grid;
    gap: 13px;
}
.cdhci-overview-copy p {
    margin: 0;
    color: rgba(255,255,255,.94);
    font-size: .84rem;
    line-height: 1.62;
}

.cdhci-main-section {
    padding-top: 86px;
}
.cdhci-content-grid {
    grid-template-columns: minmax(0,1.12fr) minmax(390px,.88fr);
    gap: 42px;
}
.cdhci-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 13px;
    margin-top: 30px;
}
.cdhci-benefit-card {
    display: grid;
    grid-template-columns: 34px minmax(0,1fr);
    gap: 12px;
    align-items: start;
    padding: 18px;
    border: 1px solid rgba(62,37,113,.11);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(55,11,76,.045);
}
.cdhci-benefit-check {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--brand);
    background: var(--brand-soft);
    font-weight: 900;
}
.cdhci-benefit-card h3 {
    margin: 1px 0 6px;
    color: var(--brand-deep);
    font: 700 .94rem/1.35 var(--sans);
}
.cdhci-benefit-card p {
    margin: 0;
    color: var(--muted);
    font-size: .80rem;
    line-height: 1.58;
}

.cdhci-guide-card {
    padding: 28px;
}
.cdhci-guide-section + .cdhci-guide-section {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid rgba(62,37,113,.10);
}
.cdhci-guide-label {
    margin-bottom: 12px;
    color: var(--brand);
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.cdhci-cover-list {
    display: grid;
    gap: 9px;
}
.cdhci-cover-list article {
    display: grid;
    grid-template-columns: 32px minmax(0,1fr);
    gap: 11px;
    padding: 13px 14px;
    border: 1px solid rgba(62,37,113,.09);
    border-radius: 13px;
    background: #fff;
}
.cdhci-cover-list article > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--brand);
    background: var(--brand-soft);
}
.cdhci-cover-list article > span svg {
    width: 16px;
    height: 16px;
}
.cdhci-cover-list strong,
.cdhci-access-list strong {
    display: block;
    color: var(--brand-deep);
    font-size: .82rem;
    line-height: 1.35;
}
.cdhci-cover-list p,
.cdhci-access-list p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.5;
}
.cdhci-access-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: cdhci-step;
}
.cdhci-access-list li {
    display: grid;
    grid-template-columns: 32px minmax(0,1fr);
    gap: 11px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(62,37,113,.08);
}
.cdhci-access-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.cdhci-access-list li > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg,var(--brand),var(--brand-mid));
    font-size: .72rem;
    font-weight: 800;
    box-shadow: 0 7px 16px rgba(70,28,142,.15);
}

@media (max-width: 1100px) {
    .cdhci-content-grid { grid-template-columns: minmax(0,1fr) minmax(350px,.78fr); gap: 30px; }
    .cdhci-benefit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .cdhci-content-grid { grid-template-columns: 1fr; }
    .cdhci-benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
    .cdhci-overview-card { padding: 24px 22px; }
    .cdhci-overview-copy p { font-size: .82rem; }
    .cdhci-benefit-grid { grid-template-columns: 1fr; }
    .cdhci-benefit-card { padding: 15px; }
    .cdhci-guide-card { padding: 21px; }
}


/* Services consultation form — visual consistency polish */
.detail-form {
    padding:30px;
    border:1px solid rgba(75,38,91,.10);
    border-radius:24px;
    background:#fff;
    box-shadow:0 18px 45px rgba(55,11,76,.13);
}
.detail-form-heading { display:grid; gap:7px; }
.detail-form-kicker {
    color:var(--brand);
    text-transform:uppercase;
    letter-spacing:.13em;
    font-size:.67rem;
    font-weight:800;
}
.detail-form h3 { margin:0; font-size:1.6rem; line-height:1.15; }
.detail-form > p { margin:0 0 3px; line-height:1.5; }
.detail-form-grid { gap:14px; }
.detail-form label { gap:8px; font-size:.76rem; }
.detail-form input,
.detail-form select,
.detail-form textarea {
    box-sizing:border-box;
    min-height:50px;
    padding:13px 14px;
    border:1px solid rgba(75,38,91,.16);
    border-radius:12px;
    background:#fcfafc;
    font:500 .9rem/1.35 var(--sans);
}
.detail-form textarea { min-height:124px; line-height:1.55; }
.detail-form input::placeholder,
.detail-form textarea::placeholder { color:#8b8190; opacity:1; }
.detail-form-submit { width:100%; min-height:52px; margin-top:1px; }
@media (max-width:700px) {
    .detail-form { padding:22px; border-radius:20px; }
}
