/* Shared service-page template (injected by build.mjs on /service/ pages).
   Palette matches the shared header/footer: #0b0e11 ink, #e5b020 accent,
   #60a5fa link-blue, #f6f7f9 tint. */

/* The legacy theme title banner duplicates the hero; this sheet only loads
   on /service/ pages, so hiding it here is already page-scoped. */
section.page_header_default { display: none; }

/* Full-bleed layout: dissolve the theme's boxed, fixed-width column so each
   template section is a full-viewport band (inner width set by .svc-wrap). */
#content.site-content { padding: 0 !important; margin: 0 !important; background: transparent !important; }
#content .auto-container, #content .auto_container { max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
#content .no-row { margin: 0 !important; display: block !important; }
#content #primary.content-area { padding: 0 !important; margin: 0 !important; width: 100% !important; max-width: 100% !important; float: none !important; }
#content .site-main { padding: 0 !important; margin: 0 !important; }
#content article[id^="post-"] { margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.entry-content.pro.ser { padding: 0 !important; margin: 0 !important; background: transparent !important; }
footer.footer_default { margin-top: 0 !important; }

.svc-page { font-size: 17px; line-height: 1.7; color: #26303c; }
.svc-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.svc-hero { background: #0b0e11; color: #fff; padding: 72px 0 64px; }
.svc-hero .svc-wrap { max-width: 880px; }
.svc-hero--media .svc-wrap { max-width: 1120px; }
.svc-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.svc-hero__media img { max-width: 100%; height: auto; border-radius: 16px; display: block; box-shadow: 0 18px 44px rgba(0,0,0,.45); }
@media (max-width: 900px) { .svc-hero__grid { grid-template-columns: 1fr; gap: 30px; } }
.svc-eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #e5b020; margin: 0 0 14px; font-weight: 600; }
.svc-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.15; margin: 0 0 18px; font-weight: 700; }
.svc-lede { font-size: 19px; line-height: 1.65; color: #c7cdd8; margin: 0; max-width: 760px; }

/* Sections */
.svc-section { padding: 64px 0; background: #fff; }
.svc-section--tint { background: #f6f7f9; }
.svc-section h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.25; color: #0b0e11 !important; margin: 0 0 22px; font-weight: 700; }
.svc-section > .svc-wrap h2::after { content: ""; display: block; width: 52px; height: 4px; border-radius: 2px; background: #e5b020; margin-top: 14px; }

/* Prose sections: heading left, copy right */
.svc-section--prose > .svc-wrap { display: grid; grid-template-columns: minmax(250px, .8fr) 1.7fr; gap: 24px 64px; align-items: start; }
.svc-section--prose h2 { margin-bottom: 0; }
.svc-prose > p:first-child { font-size: 18.5px; color: #1a222d !important; }
@media (max-width: 900px) { .svc-section--prose > .svc-wrap { display: block; } .svc-section--prose h2 { margin-bottom: 22px; } }

/* FAQ section: heading left, accordion right */
.svc-faq-grid { display: grid; grid-template-columns: minmax(250px, .8fr) 1.7fr; gap: 24px 64px; align-items: start; }
.svc-faq-grid .svc-faq { max-width: none; }
@media (max-width: 900px) { .svc-faq-grid { display: block; } .svc-faq__head { margin-bottom: 22px; } }
.svc-section h3 { font-size: 20px; color: #0b0e11 !important; margin: 30px 0 10px; font-weight: 700; }
/* The theme's dark_more_enable body class paints strong/headings white even on
   light backgrounds — force readable ink inside the template. */
.svc-section p, .svc-section li { color: #26303c !important; }
.svc-section strong, .svc-faq__body strong { color: #0b0e11 !important; }
.svc-hero h1, .svc-hero .svc-lede, .svc-cta h2 { color: inherit; }
.svc-section p { max-width: 780px; margin: 0 0 18px; }
.svc-section p:last-child { margin-bottom: 0; }
.svc-section a { color: #1d4fd7; text-decoration: underline; text-underline-offset: 2px; }
.svc-section figure { margin: 26px 0; }
.svc-section figure img { max-width: 100%; height: auto; border-radius: 12px; display: block; }
.svc-section hr { border: 0; border-top: 1px solid #e3e6ec; margin: 34px 0; }

/* Numbered section kickers */
.svc-kicker { font-size: 13px; font-weight: 700; letter-spacing: .18em; color: #e5b020; margin: 0 0 10px; font-variant-numeric: tabular-nums; }
.svc-kicker::after { content: ""; display: inline-block; width: 34px; height: 2px; background: #e5b020; opacity: .5; margin: 0 0 4px 10px; }

/* Card grids (h3+body runs and bold-lead runs) */
.svc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; margin: 28px 0 8px; }
.svc-card { position: relative; background: #fff; border: 1px solid #e3e6ec; border-radius: 14px; padding: 22px 22px 18px; box-shadow: 0 1px 2px rgba(11,14,17,.04); transition: transform .18s ease, box-shadow .18s ease; }
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11,14,17,.10); }

/* Icon chips per section intent */
.svc-cards-people .svc-card::before, .svc-cards-shield .svc-card::before, .svc-cards-spark .svc-card::before, .svc-cards-check .svc-card::before { content: ""; display: block; width: 42px; height: 42px; border-radius: 12px; background: #fbf0d0; margin: 0 0 14px; }
.svc-cards-people .svc-card::after, .svc-cards-shield .svc-card::after, .svc-cards-spark .svc-card::after, .svc-cards-check .svc-card::after { content: ""; position: absolute; top: 32px; left: 32px; width: 22px; height: 22px; background: #b3820a; }
.svc-cards-people .svc-card::after { -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm0 2c-3.3 0-8 1.7-8 5v3h16v-3c0-3.3-4.7-5-8-5z"/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm0 2c-3.3 0-8 1.7-8 5v3h16v-3c0-3.3-4.7-5-8-5z"/></svg>') center/contain no-repeat; }
.svc-cards-shield .svc-card::after { -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5zm-1.8 14.3-3.5-3.5 1.4-1.4 2.1 2.1 5.7-5.7 1.4 1.4z"/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5zm-1.8 14.3-3.5-3.5 1.4-1.4 2.1 2.1 5.7-5.7 1.4 1.4z"/></svg>') center/contain no-repeat; }
.svc-cards-spark .svc-card::after { -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2l2.4 7.2L22 12l-7.6 2.8L12 22l-2.4-7.2L2 12l7.6-2.8z"/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2l2.4 7.2L22 12l-7.6 2.8L12 22l-2.4-7.2L2 12l7.6-2.8z"/></svg>') center/contain no-repeat; }
.svc-cards-check .svc-card::after { -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9.3 18.5 3.6 12.8l2-2 3.7 3.7 9.1-9.1 2 2z"/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9.3 18.5 3.6 12.8l2-2 3.7 3.7 9.1-9.1 2 2z"/></svg>') center/contain no-repeat; }

/* Quote-style cards (pain statements) */
.svc-cards-quotes .svc-card { background: transparent; border: 0; box-shadow: none; padding: 6px 10px 6px 0; }
.svc-cards-quotes .svc-card:hover { transform: none; box-shadow: none; }
.svc-cards-quotes .svc-card::before { content: "\201C"; display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 58px; line-height: .6; height: 34px; color: #e5b020; }
.svc-section--tint .svc-card { border-color: #e6e9ef; }
.svc-card h3 { margin: 0 0 10px !important; font-size: 17.5px !important; line-height: 1.35; }
/* Linked card titles: the theme's dark.css sets `h3 a` to #fff, which is invisible on
   the white card. Two classes here outrank it without depending on the theme's class.
   Colour is the only available affordance — theme-css.css forces `a { text-decoration:
   unset !important }` site-wide, so an underline here cannot win. */
.svc-page .svc-card h3 a { color: #1d4fd7; }
.svc-card p { font-size: 15.5px; margin: 0 0 10px; max-width: none; }
.svc-card p:last-child { margin-bottom: 0; }

/* Numbered process steps */
.svc-section ol.svc-steps { list-style: none; counter-reset: svcstep; padding: 0; max-width: 860px; display: grid; gap: 14px; margin: 26px 0 8px; }
.svc-section ol.svc-steps > li { counter-increment: svcstep; position: relative; padding: 18px 20px 18px 68px; margin: 0; background: #fff; border: 1px solid #e3e6ec; border-radius: 14px; }
.svc-section ol.svc-steps > li::before { content: counter(svcstep); position: absolute; left: 18px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: #0b0e11; color: #e5b020; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.svc-section ol.svc-steps > li strong { display: block; margin: 0 0 4px; font-size: 16.5px; }

/* Hero CTA button */
.svc-hero__cta { margin-top: 28px; }

/* Lists → check cards (two columns when space allows) */
.svc-section ul, .svc-section ol { max-width: 820px; margin: 0 0 22px; padding: 0 0 0 4px; }
.svc-section ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.svc-section ul > li { position: relative; padding: 10px 14px 10px 40px; margin: 0; background: #fff; border: 1px solid #e3e6ec; border-radius: 10px; }
.svc-section--tint ul > li { background: #fff; }
.svc-section:not(.svc-section--tint) ul > li { background: #f6f7f9; border-color: #e9ecf1; }
.svc-section ul > li::before { content: ""; position: absolute; left: 14px; top: 16px; width: 16px; height: 16px; border-radius: 50%; background: #e5b020; -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M6.2 12.3 2.4 8.5l1.4-1.4 2.4 2.4 5.9-5.9 1.4 1.4z"/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M6.2 12.3 2.4 8.5l1.4-1.4 2.4 2.4 5.9-5.9 1.4 1.4z"/></svg>') center/contain no-repeat; }
.svc-section ol:not(.svc-steps) { padding-left: 22px; }
.svc-section ol:not(.svc-steps) > li { margin: 0 0 10px; }

/* FAQ accordion */
.svc-faq { max-width: 820px; }
.svc-faq__item { border: 1px solid #e3e6ec; border-radius: 12px; background: #fff; margin: 0 0 12px; overflow: hidden; }
.svc-faq__item summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 12px; padding: 16px 20px; font-weight: 600; color: #0b0e11; font-size: 16.5px; }
.svc-faq__item summary::-webkit-details-marker { display: none; }
.svc-faq__item summary::before { content: "+"; font-weight: 700; color: #e5b020; flex: 0 0 auto; font-size: 20px; line-height: 1; transition: transform .15s; }
.svc-faq__item[open] summary::before { content: "–"; }
.svc-faq__item[open] summary { border-bottom: 1px solid #eef0f4; }
.svc-faq__body { padding: 14px 20px 18px 46px; }
.svc-faq__body p { margin: 0 0 12px; }
.svc-faq__body p:last-child { margin-bottom: 0; }

/* Buttons (existing wp-block button markup, restyled) */
.svc-page .wp-block-buttons { margin: 26px 0 0; }
.svc-page .wp-block-button__link { display: inline-block; background: #e5b020; color: #0b0e11 !important; text-decoration: none !important; font-weight: 700; padding: 14px 28px; border-radius: 10px; transition: filter .15s; }
.svc-page .wp-block-button__link:hover, .svc-page .wp-block-button__link:focus { filter: brightness(1.07); }

/* CTA band */
.svc-cta { background: #0b0e11; color: #d1d5db; padding: 64px 0; text-align: center; }
.svc-cta h2 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); margin: 0 0 14px; font-weight: 700; }
.svc-cta p { max-width: 680px; margin: 0 auto 10px; }
.svc-cta .wp-block-buttons { display: flex; justify-content: center; }

/* Feature band: dark process section */
.svc-section--steps { background: #0b0e11; }
.svc-section--steps h2 { color: #fff !important; }
.svc-section--steps p, .svc-section--steps li { color: #c7cdd8 !important; }
.svc-section--steps strong { color: #fff !important; }
.svc-section--steps ol.svc-steps > li { background: #151a22; border-color: rgba(255,255,255,.09); }
.svc-section--steps ol.svc-steps > li::before { background: #e5b020; color: #0b0e11; }

/* Feature band: warm wash for the "Why choose" differentiators */
.svc-section--why { background: #fdf8ec; }
.svc-section--why .svc-card { border-color: #eee3c8; }
.svc-section--why .svc-card::before { background: #f6e5b3; }

/* Motion */
.svc-faq__item { transition: box-shadow .18s ease; }
.svc-faq__item[open] { box-shadow: 0 8px 20px rgba(11,14,17,.07); }
.svc-page .wp-block-button__link { transition: transform .15s ease, filter .15s ease; }
.svc-page .wp-block-button__link:hover { transform: translateY(-1px); }

@media (max-width: 640px) {
  .svc-hero { padding: 52px 0 44px; }
  .svc-section, .svc-cta { padding: 40px 0; }
  .svc-page { font-size: 16px; }
}
