
/* TruSec service-detail page styles.
   Load after assets/site.css. No external fonts or scripts are required. */

.service-hero {
  padding: 70px 0 76px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(45, 190, 187, .22), transparent 31rem),
    radial-gradient(circle at 7% 100%, rgba(232, 115, 47, .17), transparent 27rem),
    linear-gradient(135deg, #071827 0%, #0b2b40 100%);
}
.service-hero .breadcrumbs { margin-bottom: 42px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { color: rgba(255,255,255,.69); font-size: 13px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 9px; color: rgba(255,255,255,.38); }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.service-hero .eyebrow { color: #79d4d2; }
.service-hero h1 { max-width: 990px; margin: 0; color: #fff; font-size: clamp(42px, 6vw, 72px); line-height: 1.03; letter-spacing: -.045em; }
.service-lead { max-width: 860px; margin: 25px 0 0; color: #d9e5ec; font-size: clamp(18px, 2vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.service-hero .btn-outline { border-color: rgba(255,255,255,.42); color: #fff; background: rgba(255,255,255,.04); }
.service-hero .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.service-page .section-title { max-width: 900px; }
.service-page p { text-wrap: pretty; }
.service-overview-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 72px; align-items: start; }
.service-copy > p:not(.eyebrow) { color: #46596a; }
.service-copy .lead { margin-top: 22px; color: #172c3c; font-size: 20px; line-height: 1.65; }
.value-panel { padding: 32px; border: 1px solid #d8e1e7; border-radius: 18px; background: #f7f9fb; }
.value-panel h3 { margin: 0 0 18px; font-size: 21px; }
.value-list, .check-list { margin: 0; padding: 0; list-style: none; }
.value-list li, .check-list li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid #dfe6eb; color: #435567; }
.value-list li:last-child, .check-list li:last-child { border-bottom: 0; }
.value-list li::before, .check-list li::before { content: "✓"; position: absolute; left: 0; top: 9px; color: #d8651c; font-weight: 900; }

.section-soft { background: #f7f9fb; }
.section-dark { color: #fff; background: #071827; }
.section-dark .section-title, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p, .section-dark li { color: #c2ced7; }

.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 42px; }
.detail-card { min-height: 250px; padding: 28px; border: 1px solid #d8e1e7; border-radius: 16px; background: #fff; }
.detail-card .card-code { display: inline-flex; margin-bottom: 24px; color: #d8651c; font-size: 12px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.detail-card h3 { margin: 0 0 11px; font-size: 20px; line-height: 1.28; }
.detail-card p { margin: 0; color: #526475; font-size: 15px; line-height: 1.62; }

.trigger-list { columns: 2; column-gap: 42px; margin: 26px 0 0; padding-left: 22px; }
.trigger-list li { break-inside: avoid; margin: 0 0 12px; padding-left: 5px; color: #435567; }

.process-grid { counter-reset: phase; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 42px 0 0; padding: 0; list-style: none; border-top: 1px solid #d8e1e7; border-left: 1px solid #d8e1e7; }
.process-grid li { counter-increment: phase; min-height: 260px; padding: 29px; border-right: 1px solid #d8e1e7; border-bottom: 1px solid #d8e1e7; }
.process-grid li::before { content: "0" counter(phase); display: block; margin-bottom: 48px; color: #d8651c; font-size: 13px; font-weight: 850; letter-spacing: .12em; }
.process-grid h3 { margin: 0 0 10px; font-size: 19px; }
.process-grid p { margin: 0; color: #536575; font-size: 14px; line-height: 1.6; }

.deliverables-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 76px; align-items: start; }
.deliverables-grid .check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.section-dark .check-list li { border-color: rgba(255,255,255,.11); }
.section-dark .check-list li::before { color: #79d4d2; }

.framework-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.framework-row span { padding: 8px 13px; border: 1px solid #d8e1e7; border-radius: 100px; color: #536575; background: #fff; font-size: 12px; font-weight: 800; }

.faq-list { max-width: 940px; margin-top: 36px; border-top: 1px solid #d8e1e7; }
.faq-list details { border-bottom: 1px solid #d8e1e7; }
.faq-list summary { position: relative; padding: 22px 48px 22px 0; cursor: pointer; color: #102536; font-size: 18px; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 17px; color: #d8651c; font-size: 27px; font-weight: 400; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { max-width: 830px; margin: 0 0 23px; color: #526475; }

.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.related-card { display: flex; min-height: 160px; flex-direction: column; padding: 25px; border: 1px solid #d8e1e7; border-radius: 15px; text-decoration: none; background: #fff; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.related-card:hover { transform: translateY(-3px); border-color: #b9c8d1; box-shadow: 0 16px 34px rgba(7,24,39,.08); }
.related-card span { color: #d8651c; font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.related-card strong { margin-top: auto; color: #102536; font-size: 18px; line-height: 1.35; }

.cta-band { padding: 38px; border-radius: 20px; color: #fff; background: linear-gradient(125deg, #0a2438, #0f3b51); }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 38px; align-items: center; }
.cta-band h2 { margin: 0; color: #fff; font-size: clamp(30px, 4vw, 45px); line-height: 1.08; }
.cta-band p { max-width: 760px; margin: 14px 0 0; color: #cfdae1; }
.btn { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; padding: 12px 19px; border: 1px solid transparent; border-radius: 8px; font-size: 15px; font-weight: 850; text-decoration: none; }
.btn-accent { color: #fff; background: #e5722c; }
.btn-accent:hover { background: #cc5c18; }
.btn-outline { border-color: #bac7d0; color: #102536; background: transparent; }

@media (max-width: 980px) {
  .service-overview-grid, .deliverables-grid { grid-template-columns: 1fr; gap: 42px; }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .service-hero { padding: 46px 0 56px; }
  .service-hero .breadcrumbs { margin-bottom: 28px; }
  .service-hero h1 { font-size: 42px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .detail-grid, .process-grid, .deliverables-grid .check-list { grid-template-columns: 1fr; }
  .detail-card, .process-grid li { min-height: 0; }
  .process-grid li::before { margin-bottom: 28px; }
  .trigger-list { columns: 1; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-grid .btn { width: 100%; }
  .cta-band { padding: 28px; }
}

/* Staging theme alignment for dedicated service pages */
.service-hero {
  padding: 86px 0 92px;
  background:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px),
    radial-gradient(circle at 82% 12%, rgba(40,200,192,.25), transparent 31rem),
    radial-gradient(circle at 8% 100%, rgba(199,235,99,.12), transparent 28rem),
    linear-gradient(135deg, #07131f 0%, #0a3540 100%);
  background-size: 54px 54px, 54px 54px, auto, auto, auto;
}
.service-hero h1 { max-width: 1050px; font-size: clamp(46px, 6.5vw, 82px); letter-spacing: -.055em; text-wrap: balance; }
.service-hero .eyebrow { color: #8ce0db; }
.service-lead { color: #d0e0e6; }
.service-page .section-title { text-wrap: balance; }
.service-page .value-panel { border-color: rgba(19,35,49,.1); border-radius: 26px; background: linear-gradient(145deg, #f1f7f6, #fbfcfc); box-shadow: 0 18px 50px rgba(7,19,31,.07); }
.value-list li::before, .check-list li::before { color: #087d9d; }
.section-soft { background: linear-gradient(145deg, #f3f7f7, #f8faf9); }
.section-dark { background: linear-gradient(145deg, #07131f, #0b2c3a); }
.detail-card { border-color: rgba(19,35,49,.1); border-radius: 22px; box-shadow: 0 1px 0 rgba(7,19,31,.03); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.detail-card:hover { transform: translateY(-5px); border-color: rgba(8,125,157,.28); box-shadow: 0 18px 45px rgba(7,19,31,.09); }
.detail-card .card-code, .process-grid li::before, .faq-list summary::after, .related-card span { color: #087d9d; }
.process-grid { gap: 14px; border: 0; }
.process-grid li { border: 1px solid rgba(19,35,49,.1); border-radius: 20px; background: #fff; }
.framework-row span { border-color: rgba(19,35,49,.11); background: #fbfcfc; }
.related-card { border-color: rgba(19,35,49,.1); border-radius: 20px; }
.related-card:hover { border-color: rgba(8,125,157,.3); box-shadow: 0 18px 45px rgba(7,19,31,.09); }
.cta-band { padding: 46px; border-radius: 30px; background: linear-gradient(125deg, #07131f, #0a4651); }
.btn { border-radius: 999px; }
.btn-accent { color: #07131f; background: linear-gradient(135deg, #d8f47c, #c7eb63); }
.btn-accent:hover { color: #07131f; background: #dff78f; }

@media (max-width: 680px) {
  .service-hero { padding: 58px 0 66px; }
  .service-hero h1 { font-size: clamp(42px, 12vw, 58px); }
  .cta-band { padding: 30px; }
}
