/* Service detail layout polish. Loaded after the original scoped Service CSS. */
#sertechs-service {
  --ss-radius: 24px;
  --ss-shadow: 0 20px 60px rgba(48,35,27,.09);
  --ss-section: clamp(56px,6vw,88px);
  background: #f2eae4;
}
#sertechs-service .sertechs-service__section { padding: var(--ss-section) 0; }
#sertechs-service .sertechs-service__section h2 { font-size: clamp(38px,4.2vw,60px); line-height: 1.03; }
#sertechs-service .sertechs-service__hero { padding-bottom: 44px; }
#sertechs-service .sertechs-service__hero-grid { background: #fffdf9; }
#sertechs-service .sertechs-service__hero-copy { padding: clamp(38px,5vw,78px); }
#sertechs-service .sertechs-service__hero-copy h1 { max-width: 560px; font-size: clamp(50px,5.5vw,84px); line-height: .97; }
#sertechs-service .sertechs-service__hero-copy .sertechs-service__lead { max-width: 530px; margin-top: 25px; font-size: clamp(17px,1.5vw,20px); }
#sertechs-service .sertechs-service__hero-copy .sertechs-service__button { margin-top: 28px; }

/* A service-aware integration diagram replaces the empty letter artwork. */
#sertechs-service .sertechs-service__hero-art {
  isolation: isolate;
  min-height: 610px;
  background: radial-gradient(circle at 50% 48%, rgba(255,106,0,.13), transparent 36%),linear-gradient(145deg,#fffaf5,#f1e6dc);
  border-left: 1px solid rgba(17,17,17,.07);
}
#sertechs-service .sertechs-service__hero-art::before,
#sertechs-service .sertechs-service__hero-art::after {
  position: absolute;
  z-index: -1;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg,transparent,rgba(255,106,0,.4),transparent);
  content: '';
}
#sertechs-service .sertechs-service__hero-art::before { transform: rotate(24deg); }
#sertechs-service .sertechs-service__hero-art::after { transform: rotate(-24deg); }
#sertechs-service .sertechs-service__art-orbit { position: absolute; width: min(72%,440px); aspect-ratio: 1; border: 1px dashed rgba(255,106,0,.2); border-radius: 50%; }
#sertechs-service .sertechs-service__art-core { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 154px; height: 154px; border: 12px solid rgba(255,255,255,.65); border-radius: 36px; background: #ff6a00; box-shadow: 0 24px 65px rgba(255,106,0,.28); color: #fff; transform: rotate(-5deg); }
#sertechs-service .sertechs-service__hero-art .sertechs-service__art-core span { display: block; width: auto; height: auto; border: 0; border-radius: 0; background: none; box-shadow: none; color: #fff; font-size: 76px; font-weight: 800; line-height: 1; transform: rotate(5deg); }
#sertechs-service .sertechs-service__art-core small { color: rgba(255,255,255,.85); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; transform: rotate(5deg); }
#sertechs-service .sertechs-service__art-node { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; min-width: 155px; padding: 13px 16px; border: 1px solid rgba(17,17,17,.06); border-radius: 15px; background: rgba(255,253,249,.94); box-shadow: 0 16px 42px rgba(48,35,27,.11); color: #222; font-size: 12px; font-weight: 700; }
#sertechs-service .sertechs-service__art-node b { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 10px; background: #fff0e6; color: #ff6a00; font-size: 12px; }
#sertechs-service .sertechs-service__hero-art .sertechs-service__art-node span { display: inline; width: auto; height: auto; border: 0; border-radius: 0; background: none; box-shadow: none; color: #222; font-size: 12px; font-weight: 700; }
#sertechs-service .sertechs-service__art-node--start { top: 17%; left: 8%; }
#sertechs-service .sertechs-service__art-node--end { right: 7%; bottom: 20%; }
#sertechs-service .sertechs-service__art-tools { position: absolute; inset: 0; pointer-events: none; }
#sertechs-service .sertechs-service__hero-art .sertechs-service__art-tools span { position: absolute; display: block; width: auto; max-width: 155px; min-width: 90px; height: 54px; overflow: hidden; padding: 17px 14px; border: 1px solid rgba(17,17,17,.06); border-radius: 13px; background: rgba(255,253,249,.95); box-shadow: 0 14px 32px rgba(48,35,27,.1); color: #322b26; font-size: 13px; font-weight: 800; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
#sertechs-service .sertechs-service__art-tools span:nth-child(1) { top: 15%; right: 12%; }
#sertechs-service .sertechs-service__art-tools span:nth-child(2) { top: 45%; right: 4%; }
#sertechs-service .sertechs-service__art-tools span:nth-child(3) { bottom: 12%; left: 13%; }
#sertechs-service .sertechs-service__art-tools span:nth-child(4) { top: 46%; left: 3%; }

/* Editorial overview: no floating paragraph or oversized empty column. */
#sertechs-service .sertechs-service__section.sertechs-service__overview { background: #fffdf9; }
#sertechs-service .sertechs-service__overview .sertechs-service__split { grid-template-columns: minmax(0,1fr) minmax(0,.78fr); gap: clamp(36px,6vw,90px); align-items: end; }
#sertechs-service .sertechs-service__overview h2 { max-width: 560px; margin: 0; }
#sertechs-service .sertechs-service__overview .sertechs-service__prose { max-width: 570px; padding-bottom: 5px; color: #514b46; font-size: clamp(16px,1.35vw,18px); line-height: 1.7; }
#sertechs-service .sertechs-service__benefits { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(17,17,17,.12); }
#sertechs-service .sertechs-service__benefit { display: flex; align-items: center; gap: 10px; flex: 1 1 180px; min-width: 0; color: #26221f; font-size: 14px; line-height: 1.3; }
#sertechs-service .sertechs-service__benefit span { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 10px; background: #fff0e6; color: #f26600; font-size: 11px; font-weight: 800; }
#sertechs-service .sertechs-service__benefit strong { font-weight: 700; }

/* The grid uses its full width even when only one or two dynamic cards exist. */
#sertechs-service .sertechs-service__section.sertechs-service__section--capabilities { background: #f4ece5; }
#sertechs-service .sertechs-service__section--capabilities h2 { margin-bottom: 34px; }
#sertechs-service .sertechs-service__section--capabilities .sertechs-service__cards { gap: 22px; }
#sertechs-service .sertechs-service__section--capabilities .sertechs-service__card { min-height: 245px; padding: 30px; box-shadow: 0 18px 45px rgba(48,35,27,.07); transition: transform .25s,box-shadow .25s; }
#sertechs-service .sertechs-service__section--capabilities .sertechs-service__card:hover { transform: translateY(-4px); box-shadow: var(--ss-shadow); }
#sertechs-service .sertechs-service__section--capabilities .sertechs-service__card-mark { margin-bottom: 26px; }
#sertechs-service .sertechs-service__section--capabilities .sertechs-service__card h3 { font-size: clamp(23px,2vw,29px); font-weight: 700; }
#sertechs-service .sertechs-service__section--capabilities .sertechs-service__card p { max-width: 360px; font-size: 15px; }
#sertechs-service .sertechs-service__cards--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
#sertechs-service .sertechs-service__cards--1 { grid-template-columns: 1fr; }
#sertechs-service .sertechs-service__cards--1 .sertechs-service__card { position: relative; min-height: 200px; justify-content: center; overflow: hidden; padding-right: 32%; background: radial-gradient(circle at 88% 52%,rgba(255,106,0,.12),transparent 24%),#fffdf9; }
#sertechs-service .sertechs-service__cards--1 .sertechs-service__card::after { position: absolute; right: 10%; top: 50%; display: grid; width: 116px; height: 116px; place-items: center; border: 1px solid rgba(255,106,0,.3); border-radius: 30px; background: #fff0e6; box-shadow: 0 0 0 24px rgba(255,106,0,.045); color: #ff6a00; content: '↗'; font-size: 55px; transform: translateY(-50%); }
#sertechs-service .sertechs-service__cards--1 .sertechs-service__card--with-outcome::after { display: none; }
#sertechs-service .sertechs-service__card-outcome { position: absolute; top: 50%; right: 6%; width: 27%; padding-left: 26px; border-left: 1px solid rgba(17,17,17,.12); transform: translateY(-50%); }
#sertechs-service .sertechs-service__card-outcome span { display: block; margin-bottom: 10px; color: #e65f00; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
#sertechs-service .sertechs-service__card-outcome strong { display: block; max-width: 290px; font-size: clamp(22px,2.2vw,31px); line-height: 1.15; letter-spacing: -.045em; }

/* Horizontal process reads as a timeline instead of four large cards. */
#sertechs-service .sertechs-service__section.sertechs-service__section--process { background: #fffdf9; }
#sertechs-service .sertechs-service__process-layout { display: grid; grid-template-columns: minmax(240px,.78fr) minmax(0,2fr); gap: clamp(38px,5vw,78px); align-items: center; }
#sertechs-service .sertechs-service__process-heading h2 { max-width: 330px; margin: 0; font-size: clamp(37px,3.5vw,52px); }
#sertechs-service .sertechs-service__timeline { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
#sertechs-service .sertechs-service__step { position: relative; min-width: 0; padding-top: 2px; }
#sertechs-service .sertechs-service__step:not(:last-child)::after { position: absolute; top: 22px; left: 52px; right: -9px; height: 1px; background: linear-gradient(90deg,rgba(255,106,0,.32),rgba(17,17,17,.12)); content: ''; }
#sertechs-service .sertechs-service__step-mark { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 22px; border-radius: 12px; background: #fff0e6; color: #ff6a00; font-size: 13px; font-weight: 800; }
#sertechs-service .sertechs-service__step h3 { margin-bottom: 10px; font-size: clamp(17px,1.45vw,21px); line-height: 1.18; letter-spacing: -.035em; }
#sertechs-service .sertechs-service__step p { color: #6d6762; font-size: 13px; line-height: 1.55; }

/* Tools remain compact and use only the configured names. */
#sertechs-service .sertechs-service__section.sertechs-service__section--technologies { padding: 50px 0 58px; background: #f5ede6; }
#sertechs-service .sertechs-service__tools-layout { grid-template-columns: minmax(0,1fr) minmax(0,.55fr); gap: 20px 60px; }
#sertechs-service .sertechs-service__section--technologies .sertechs-service__eyebrow { margin-bottom: 12px; }
#sertechs-service .sertechs-service__section--technologies h2 { font-size: clamp(32px,3.5vw,48px); }
#sertechs-service .sertechs-service__tools-intro { max-width: 360px; color: #6d6762; font-size: 14px; line-height: 1.6; }
#sertechs-service .sertechs-service__tools { grid-column: 1 / -1; gap: 10px; }
#sertechs-service .sertechs-service__tools li { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 8px 16px; border: 1px solid rgba(17,17,17,.07); border-radius: 13px; background: #fffdf9; box-shadow: 0 8px 22px rgba(48,35,27,.05); }
#sertechs-service .sertechs-service__tools li::before { display: block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #ff6a00; content: ''; }

/* Compact two-column CTA with neutral, service-specific project visual. */
#sertechs-service .sertechs-service__section.sertechs-service__final { padding: 42px 0 56px; background: #f5ede6; }
#sertechs-service .sertechs-service__final-card { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(250px,.8fr); align-items: center; gap: 36px; min-height: 390px; padding: clamp(34px,5vw,62px); background: radial-gradient(circle at 97% 90%,rgba(255,106,0,.25),transparent 30%),#151515; text-align: left; }
#sertechs-service .sertechs-service__final-copy { position: relative; z-index: 1; }
#sertechs-service .sertechs-service__final-copy h2 { max-width: 690px; margin: 0; font-size: clamp(36px,3.9vw,56px); }
#sertechs-service .sertechs-service__final-copy > p:not(.sertechs-service__eyebrow) { max-width: 540px; margin-top: 19px; color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.65; }
#sertechs-service .sertechs-service__final-copy .sertechs-service__button { margin-top: 24px; }
#sertechs-service .sertechs-service__final-visual { position: relative; min-height: 260px; display: grid; place-items: center; }
#sertechs-service .sertechs-service__visual-panel { width: min(100%,330px); padding: 28px; border: 1px solid rgba(255,255,255,.65); border-radius: 20px; background: #fffdf9; box-shadow: 0 25px 60px rgba(0,0,0,.28); color: #111; transform: rotate(3deg); }
#sertechs-service .sertechs-service__visual-kicker { display: block; margin-bottom: 14px; color: #ef6200; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
#sertechs-service .sertechs-service__visual-panel strong { display: block; font-size: clamp(22px,2vw,30px); line-height: 1.12; letter-spacing: -.04em; }
#sertechs-service .sertechs-service__visual-track { display: flex; gap: 6px; margin: 28px 0 12px; }
#sertechs-service .sertechs-service__visual-track i { display: block; height: 7px; flex: 1; border-radius: 20px; background: #ff6a00; }
#sertechs-service .sertechs-service__visual-track i:nth-child(2) { opacity: .5; }
#sertechs-service .sertechs-service__visual-track i:nth-child(3) { opacity: .2; }
#sertechs-service .sertechs-service__visual-note { color: #706964; font-size: 11px; }
#sertechs-service .sertechs-service__visual-chip { position: absolute; z-index: 2; padding: 11px 15px; border: 1px solid rgba(17,17,17,.07); border-radius: 12px; background: #fff; box-shadow: 0 14px 28px rgba(0,0,0,.18); color: #24211f; font-size: 11px; font-weight: 800; }
#sertechs-service .sertechs-service__visual-chip--one { top: 3%; right: -3%; }
#sertechs-service .sertechs-service__visual-chip--two { bottom: 1%; left: -2%; }

@media (max-width: 1100px) {
  #sertechs-service .sertechs-service__process-layout { grid-template-columns: 1fr; gap: 34px; }
  #sertechs-service .sertechs-service__process-heading h2 { max-width: 680px; }
  #sertechs-service .sertechs-service__timeline { gap: 24px; }
}
@media (max-width: 900px) {
  #sertechs-service { --ss-section: 64px; }
  #sertechs-service .sertechs-service__overview .sertechs-service__split { grid-template-columns: 1fr; gap: 18px; }
  #sertechs-service .sertechs-service__overview .sertechs-service__prose { max-width: 720px; }
  #sertechs-service .sertechs-service__hero-art { min-height: 410px; }
  #sertechs-service .sertechs-service__timeline { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
  #sertechs-service .sertechs-service__step:nth-child(2)::after { display: none; }
  #sertechs-service .sertechs-service__final-card { grid-template-columns: 1fr; }
  #sertechs-service .sertechs-service__final-visual { min-height: 250px; }
  #sertechs-service .sertechs-service__tools-layout { grid-template-columns: 1fr; }
  #sertechs-service .sertechs-service__tools-intro { max-width: 620px; }
}
@media (max-width: 600px) {
  #sertechs-service { --ss-section: 48px; }
  #sertechs-service .sertechs-service__hero { padding-bottom: 22px; }
  #sertechs-service .sertechs-service__hero-copy { padding: 38px 25px 42px; }
  #sertechs-service .sertechs-service__hero-copy h1 { font-size: clamp(43px,11vw,62px); }
  #sertechs-service .sertechs-service__hero-art { min-height: 330px; }
  #sertechs-service .sertechs-service__art-core { width: 112px; height: 112px; border-width: 8px; border-radius: 26px; }
  #sertechs-service .sertechs-service__hero-art .sertechs-service__art-core span { font-size: 55px; }
  #sertechs-service .sertechs-service__art-node { min-width: 0; padding: 8px; font-size: 10px; }
  #sertechs-service .sertechs-service__art-node b { width: 25px; height: 25px; flex-basis: 25px; font-size: 10px; }
  #sertechs-service .sertechs-service__art-node--start { top: 9%; left: 5%; }
  #sertechs-service .sertechs-service__art-node--end { right: 5%; bottom: 9%; }
  #sertechs-service .sertechs-service__hero-art .sertechs-service__art-tools span { max-width: 95px; min-width: 0; height: 38px; padding: 10px 8px; font-size: 10px; }
  #sertechs-service .sertechs-service__art-tools span:nth-child(1) { top: 10%; right: 5%; }
  #sertechs-service .sertechs-service__art-tools span:nth-child(2) { top: 43%; right: 1%; }
  #sertechs-service .sertechs-service__art-tools span:nth-child(3) { bottom: 7%; left: 4%; }
  #sertechs-service .sertechs-service__art-tools span:nth-child(4) { top: 48%; left: 1%; }
  #sertechs-service .sertechs-service__benefits { gap: 18px; }
  #sertechs-service .sertechs-service__benefit { flex: 1 1 130px; font-size: 12px; }
  #sertechs-service .sertechs-service__cards--1 .sertechs-service__card { padding-right: 25px; }
  #sertechs-service .sertechs-service__cards--2 { grid-template-columns: 1fr; }
  #sertechs-service .sertechs-service__cards--1 .sertechs-service__card::after { display: none; }
  #sertechs-service .sertechs-service__card-outcome { position: static; width: 100%; margin-top: 23px; padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(17,17,17,.12); transform: none; }
  #sertechs-service .sertechs-service__card-outcome strong { font-size: 23px; }
  #sertechs-service .sertechs-service__timeline { grid-template-columns: 1fr; gap: 25px; }
  #sertechs-service .sertechs-service__step { padding-left: 58px; min-height: 62px; }
  #sertechs-service .sertechs-service__step-mark { position: absolute; left: 0; top: 0; }
  #sertechs-service .sertechs-service__step:not(:last-child)::after { display: block; left: 21px; top: 52px; bottom: -20px; width: 1px; height: auto; background: rgba(255,106,0,.25); }
  #sertechs-service .sertechs-service__final { padding: 28px 0 42px; }
  #sertechs-service .sertechs-service__final-card { gap: 16px; padding: 36px 26px; }
  #sertechs-service .sertechs-service__final-visual { min-height: 220px; }
  #sertechs-service .sertechs-service__visual-panel { width: min(86%,280px); padding: 22px; }
  #sertechs-service .sertechs-service__visual-chip--one { right: 0; }
  #sertechs-service .sertechs-service__visual-chip--two { left: 0; }
}
