/* =========================================================
   Trinity FamilyCare — service detail page styles
   (used by all service-*.html pages, alongside site.css)
   ========================================================= */
.svc-detail { padding: 100px 0; }
.sd-grid { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }

.sd-main .sd-img { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 36px; aspect-ratio: 16 / 9; }
.sd-main .sd-img img { width: 100%; height: 100%; object-fit: cover; }
.sd-main h2 { font-size: 34px; margin-bottom: 16px; }
.sd-main h3 { font-size: 24px; margin: 40px 0 18px; }
.sd-main p { margin-bottom: 18px; font-size: 16.5px; line-height: 1.85; }

.sd-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; margin: 6px 0; }
.sd-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--navy); }
.sd-list .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--grad-soft); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.sd-list .tick svg { width: 14px; height: 14px; stroke: var(--teal); }

.sd-note { display: flex; gap: 14px; align-items: flex-start; background: var(--grad-soft); border: 1px solid #d7e8f6; border-left: 4px solid var(--teal); border-radius: 14px; padding: 20px 22px; margin-top: 32px; }
.sd-note svg { width: 22px; height: 22px; stroke: var(--teal); flex-shrink: 0; margin-top: 3px; }
.sd-note b { color: var(--navy); font-family: var(--ff-head); display: block; margin-bottom: 2px; }
.sd-note p { margin: 0; font-size: 14.5px; }

/* sidebar */
.sd-side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 104px; }
.sd-widget { background: #fff; border: 1px solid #eef2f8; border-radius: 20px; padding: 24px; box-shadow: var(--shadow-sm); }
.sd-widget h4 { font-size: 18px; margin-bottom: 16px; position: relative; padding-bottom: 12px; }
.sd-widget h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 3px; background: var(--grad); }
.sd-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 11px; font-family: var(--ff-head); font-weight: 700; font-size: 13.5px; color: var(--navy); transition: .2s; margin-bottom: 6px; background: #f6f9fe; }
.sd-nav a:last-child { margin-bottom: 0; }
.sd-nav a svg { width: 16px; height: 16px; stroke: currentColor; opacity: .55; transition: .2s; flex-shrink: 0; }
.sd-nav a:hover, .sd-nav a.active { background: var(--grad); color: #fff; transform: translateX(3px); }
.sd-nav a:hover svg, .sd-nav a.active svg { opacity: 1; }

.sd-help { background: var(--navy); color: #cdd6e6; border: none; position: relative; overflow: hidden; text-align: center; }
.sd-help::before { content: ''; position: absolute; inset: 0; background: radial-gradient(300px 200px at 100% 0, rgba(40,182,246,.25), transparent 60%); }
.sd-help > * { position: relative; }
.sd-help .hico { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; margin: 0 auto 14px; }
.sd-help .hico svg { width: 26px; height: 26px; stroke: #fff; }
.sd-help h4 { color: #fff; } .sd-help h4::after { display: none; }
.sd-help p { font-size: 14px; margin-bottom: 16px; }
.sd-help .ph { font-family: var(--ff-head); font-weight: 800; font-size: 22px; color: #fff; display: block; margin-bottom: 16px; }
.sd-help .btn { width: 100%; justify-content: center; }

/* ---- extra sections (benefits / process / faq) ---- */
.sd-band { padding: 100px 0; }
.sd-band.alt { background: linear-gradient(180deg, #f6fbff, #fff); }

.sd-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 50px; }

.sd-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px; }
.sd-step { background: #fff; border: 1px solid #eef2f8; border-radius: 20px; padding: 36px 30px; box-shadow: var(--shadow-sm); text-align: center; transition: transform .3s, box-shadow .3s; }
.sd-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.sd-step .num { width: 58px; height: 58px; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--ff-head); font-weight: 900; font-size: 21px; display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 10px 22px rgba(7,108,236,.3); }
.sd-step h4 { font-size: 19px; margin-bottom: 8px; }
.sd-step p { font-size: 14.5px; }

.sd-faq-list { max-width: 860px; margin: 50px auto 0; display: flex; flex-direction: column; gap: 14px; }
.sd-faq { background: #fff; border: 1px solid #eef2f8; border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.sd-faq[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.sd-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; font-family: var(--ff-head); font-weight: 700; font-size: 17px; color: var(--navy); }
.sd-faq summary::-webkit-details-marker { display: none; }
.sd-faq summary .qi { width: 30px; height: 30px; border-radius: 9px; background: var(--grad-soft); display: grid; place-items: center; flex-shrink: 0; transition: background .3s; }
.sd-faq summary .qi svg { width: 16px; height: 16px; stroke: var(--teal); transition: transform .3s, stroke .3s; }
.sd-faq[open] summary .qi { background: var(--grad); }
.sd-faq[open] summary .qi svg { stroke: #fff; transform: rotate(45deg); }
.sd-faq .a { padding: 0 26px 24px; color: var(--body); font-size: 15px; line-height: 1.75; }

@media (max-width: 1024px) { .sd-grid { grid-template-columns: 1fr; gap: 40px; } .sd-side { position: static; } .sd-benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .sd-steps { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .svc-detail { padding: 60px 0; } .sd-band { padding: 60px 0; } .sd-list, .sd-benefits { grid-template-columns: 1fr; } }
