/* TIH service pages: reuse the homepage palette, typography and shared chrome. */
.svc-section {scroll-margin-top:110px;}
.svc-section:nth-of-type(even) {background:var(--tih-card,var(--surface));}
.svc-hero {padding:clamp(2rem,6vw,5rem) 0;}
.svc-hero-grid {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:clamp(1.5rem,5vw,4rem);align-items:center;}
.svc-hero h1 {font-size:clamp(2rem,4.2vw,3.6rem);line-height:1.12;max-width:19ch;margin:.75rem 0 1.25rem;}
.svc-hero .lead {max-width:58ch;}
.svc-breadcrumb {font-size:.85rem;margin-bottom:1.75rem;color:var(--tih-copy);}
.svc-breadcrumb a {text-decoration:underline;text-underline-offset:3px;}
.svc-actions {display:flex;align-items:center;flex-wrap:wrap;gap:.8rem;margin-top:1.5rem;}
.svc-actions .btn {white-space:normal;}
html body.tih-branded :is(.svc-card,.svc-cta,.svc-note,.svc-filters,.hx-product,.hx-filter-bar) .btn-outline {background:var(--tih-card);border:1px solid var(--tih-border);color:var(--tih-ink);box-shadow:none;}
html body.tih-branded :is(.svc-card,.svc-cta,.svc-note,.svc-filters,.hx-product,.hx-filter-bar) .btn-outline:hover {background:var(--tih-soft);border-color:var(--tih-blue);color:var(--tih-ink);}
.svc-brief {background:var(--tih-panel);border-radius:24px;padding:clamp(1.5rem,3vw,2.5rem);color:#fff;box-shadow:0 20px 45px #7c163324;}
html body.tih-branded .svc-brief .section-label {color:#fff;}
.svc-brief strong {display:block;font-size:clamp(1.6rem,3vw,2.4rem);line-height:1.2;}
.svc-brief p,.svc-brief li {color:#fff;line-height:1.7;}
.svc-brief ul {padding-left:1.2rem;margin-top:1.5rem;}
.svc-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:1.25rem;}
.svc-card {display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:clamp(1.25rem,3vw,1.8rem);border:1px solid var(--tih-border);border-radius:16px;background:var(--tih-card);}
.svc-index {font-size:.8rem;font-weight:700;color:var(--tih-red);margin-bottom:1.2rem;}
.svc-card h3 {font-size:1.2rem;line-height:1.4;margin:0 0 .7rem;}
.svc-card p {color:var(--tih-copy);font-size:.95rem;line-height:1.75;margin:0 0 1rem;}
.svc-card .svc-text-link,.svc-card .btn {margin-top:auto;}
.svc-text-link {display:inline-flex;align-items:center;gap:.6rem;min-height:44px;font-weight:700;color:var(--tih-navy);text-decoration:underline;text-underline-offset:4px;}
html[data-theme=dark] .svc-text-link {color:#a9caff;}
.svc-split {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:2rem;align-items:start;}
.svc-checklist {list-style:none;padding:0;margin:0;}
.svc-checklist li {position:relative;padding:.9rem 0 .9rem 1.7rem;border-bottom:1px solid var(--tih-border);line-height:1.7;}
.svc-checklist li::before {content:'✓';position:absolute;left:0;font-weight:700;color:var(--tih-red);}
.svc-note {padding:1.6rem;background:var(--tih-soft);border:1px solid var(--tih-border);border-radius:16px;line-height:1.8;}
.svc-note h3 {margin-top:0;}
.svc-faq {max-width:880px;}
.svc-faq details {border:1px solid var(--tih-border);border-radius:12px;margin:.7rem 0;background:var(--tih-card);}
.svc-faq summary {padding:1.15rem 1.25rem;cursor:pointer;font-weight:650;line-height:1.5;}
.svc-faq details[open] summary {border-bottom:1px solid var(--tih-border);}
.svc-faq p {padding:1.2rem;margin:0;color:var(--tih-copy);line-height:1.8;}
.svc-cta {border-left:4px solid var(--tih-red);padding:1rem 0 1rem 1.5rem;max-width:780px;}
.svc-cta p {font-size:1.05rem;line-height:1.8;}
.svc-filters {display:flex;flex-wrap:wrap;align-items:end;gap:1rem;margin:1.5rem 0;}
.svc-filters>div {flex:1 1 230px;min-width:0;}
.svc-filters label {display:block;font-weight:650;margin-bottom:.5rem;}
.svc-filters input,.svc-filters select {width:100%;min-height:48px;border:1px solid var(--tih-border);border-radius:10px;padding:.75rem;background:var(--tih-card);color:var(--tih-ink);font:inherit;}
.svc-filters[hidden],.portfolio-card[hidden],#portfolio-empty[hidden],.project-context[hidden] {display:none!important;}
.svc-fieldset {padding:0;border:0;min-width:0;}
.project-context {border-left:3px solid var(--tih-red);background:var(--tih-soft);padding:1rem;line-height:1.7;}
#business-project-form {scroll-margin-top:110px;}
#business-project-form .cbox-item {align-items:flex-start;line-height:1.6;min-height:36px;}
#business-project-form .cbox-item input {margin-top:5px;}
@media(max-width:760px) {.svc-hero-grid,.svc-split {grid-template-columns:minmax(0,1fr);}.svc-hero h1 {max-width:none;}.svc-breadcrumb {margin-bottom:1.2rem;}.svc-actions .btn {justify-content:center;}.svc-brief {box-shadow:none;}}
@media(prefers-reduced-motion:reduce) {.svc-card,.svc-faq details {transition:none;}}
