/* Solution overview and service detail pages */
.sp-hero { position: relative; overflow: hidden; padding: 10rem 0 5.4rem; background: radial-gradient(circle at 89% 20%, #d8f5ed, transparent 32%), radial-gradient(circle at 5% 80%, #e2f4f1, transparent 35%), #f1faf7; }
.sp-hero::after { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(5, 137, 125, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(5, 137, 125, .035) 1px, transparent 1px); background-size: 52px 52px; content: ''; }
.sp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(2.5rem, 5vw, 5.5rem); }
.sp-hero-copy { max-width: 640px; }
.sp-breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; color: #63817f; font: 700 .72rem Manrope, sans-serif; }
.sp-breadcrumb a { color: #477570; }
.sp-breadcrumb a:hover { color: var(--teal-deep); text-decoration: underline; }
.sp-hero h1 { margin: .65rem 0 1.3rem; font-size: clamp(2.8rem, 4.7vw, 5rem); font-weight: 800; line-height: 1.08; letter-spacing: -.065em; }
.sp-hero-copy > p { max-width: 590px; margin: 0; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.78; }
.sp-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.sp-hero-note { display: flex; align-items: center; gap: .6rem; margin-top: 1.6rem; color: #537a76; font: 700 .72rem Manrope, sans-serif; }
.sp-hero-note::before { width: 7px; height: 7px; border-radius: 50%; background: #0ca79b; content: ''; }
.sp-photo { position: relative; min-height: 440px; margin: 0; overflow: hidden; border: 1px solid #d9e8e3; border-radius: 21px; background: #dcebe7; box-shadow: 0 34px 66px -48px #0a4f50; }
.sp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sp-photo::after { position: absolute; inset: 48% 0 0; pointer-events: none; background: linear-gradient(transparent, rgba(4, 32, 39, .42)); content: ''; }
.sp-photo figcaption { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; padding: .48rem .68rem; border-radius: 6px; background: rgba(255, 255, 255, .92); color: #31565a; font: 700 .61rem Manrope, sans-serif; }
.sp-section { padding: 6rem 0; }
.sp-section--soft { background: #eff8f5; }
.sp-section-intro { max-width: 720px; margin-bottom: 2.5rem; }
.sp-section-intro h2, .sp-content h2 { margin: 0 0 .9rem; font-size: clamp(2rem, 3.3vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -.055em; }
.sp-section-intro p, .sp-content-intro > p { margin: 0; color: var(--muted); font-size: 1rem; }
.sp-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.sp-group + .sp-group { margin-top: 3.7rem; }
.sp-group-header { max-width: 760px; margin-bottom: 1.5rem; }
.sp-group-header h3 { margin: 0 0 .55rem; font: 800 clamp(1.4rem, 2.2vw, 1.9rem)/1.2 Manrope, sans-serif; letter-spacing: -.04em; }
.sp-group-header p { margin: 0; color: var(--muted); font-size: .92rem; }
.sp-service-card { display: flex; flex-direction: column; min-height: 242px; padding: 1.6rem; border: 1px solid var(--line); border-radius: 15px; background: #fff; transition: transform .25s, border-color .25s, box-shadow .25s; }
.sp-service-card--review { background: #fbfcfb; }
.sp-service-card:hover { transform: translateY(-4px); border-color: #8fd5c8; box-shadow: 0 20px 40px -30px #0a5b5c; }
.sp-card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sp-card-num { color: #5b7a76; font: 800 .65rem Manrope, sans-serif; letter-spacing: .12em; }
.sp-card-tag { display: inline-block; margin-top: 1rem; color: #657d80; font: 800 .62rem Manrope, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.sp-card-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #ceebe3; border-radius: 10px; background: #edf9f5; color: var(--teal-deep); }
.sp-card-icon svg { width: 20px; height: 20px; }
.sp-service-card h3 { margin: 1.15rem 0 .5rem; font: 800 1.22rem/1.25 Manrope, sans-serif; letter-spacing: -.035em; }
.sp-service-card p { max-width: 500px; margin: 0; color: var(--muted); font-size: .89rem; }
.sp-card-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: 1.1rem; color: var(--teal-deep); font: 800 .74rem Manrope, sans-serif; }
.sp-card-link svg { width: 16px; height: 16px; transition: transform .25s; }
.sp-service-card:hover .sp-card-link svg { transform: translateX(4px); }
.sp-guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.sp-guide { padding: 2rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.sp-guide h3 { margin: 0 0 1rem; font: 800 1.15rem Manrope, sans-serif; }
.sp-guide p { margin: 0; color: var(--muted); font-size: .92rem; }
.sp-guide-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.sp-guide-list li { display: flex; gap: .8rem; color: var(--ink-soft); font-size: .92rem; }
.sp-guide-list b { flex: none; color: var(--teal-deep); font: 800 .7rem Manrope, sans-serif; }
.sp-detail-wrap { padding: 5.7rem 0 6rem; }
.sp-detail-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: clamp(2.2rem, 5vw, 5rem); }
.sp-side { position: sticky; top: 6.3rem; max-height: calc(100vh - 7.3rem); overflow: auto; padding: 1.3rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.sp-side h2 { margin: 0 0 .75rem; color: #6b8c87; font: 800 .65rem Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.sp-side a { display: block; padding: .58rem .6rem; border-radius: 7px; color: #547078; font: 700 .75rem/1.4 Manrope, sans-serif; }
.sp-side a:hover, .sp-side a[aria-current="page"] { background: #e8f7f1; color: var(--teal-deep); }
.sp-side .sp-side-overview { margin-bottom: .45rem; border-bottom: 1px solid var(--line); border-radius: 0; }
.sp-content { min-width: 0; }
.sp-content-intro { max-width: 730px; margin-bottom: 2.2rem; }
.sp-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.sp-feature { padding: 1.35rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.sp-feature strong { display: inline-block; margin-bottom: .8rem; color: var(--teal-deep); font: 800 .65rem Manrope, sans-serif; letter-spacing: .1em; }
.sp-feature h3 { margin: 0 0 .55rem; font: 800 1rem/1.3 Manrope, sans-serif; }
.sp-feature p { margin: 0; color: var(--muted); font-size: .81rem; }
.sp-content-block { margin-top: 3.5rem; }
.sp-note { margin-top: 2rem; padding: 1.15rem 1.25rem; border-left: 3px solid var(--teal); border-radius: 0 9px 9px 0; background: #f0f8f5; color: var(--ink-soft); font-size: .85rem; }
.sp-note p { margin: 0; }
.sp-note a { color: var(--teal-deep); font-weight: 800; text-decoration: underline; }
.sp-content-block h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.sp-deliverables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1.3rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.sp-deliverables li { display: flex; gap: .7rem; color: var(--ink-soft); font-size: .9rem; }
.sp-deliverables li::before { flex: none; width: 7px; height: 7px; margin-top: .62rem; border-radius: 50%; background: var(--teal); content: ''; }
.sp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin-top: 1.5rem; }
.sp-step { padding: 1.15rem; border-top: 2px solid #92d8cc; background: #f4faf8; }
.sp-step span { color: var(--teal-deep); font: 800 .67rem Manrope, sans-serif; }
.sp-step h3 { margin: .7rem 0 .4rem; font: 800 .94rem Manrope, sans-serif; }
.sp-step p { margin: 0; color: var(--muted); font-size: .78rem; }
.sp-faq { margin-top: 1.35rem; border-top: 1px solid var(--line); }
.sp-faq details { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.sp-faq summary { cursor: pointer; color: var(--ink); font: 800 .92rem Manrope, sans-serif; }
.sp-faq p { max-width: 720px; margin: .7rem 0 0; color: var(--muted); font-size: .9rem; }
.sp-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 1.5rem; }
.sp-related a { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: 800 .8rem Manrope, sans-serif; }
.sp-related a:hover { border-color: #8fd5c8; color: var(--teal-deep); }
.sp-related svg { width: 15px; height: 15px; flex: none; color: var(--teal-deep); }
.mlm-network-block { margin: 0 0 2.25rem; }
.mlm-network-block h2 { margin: .3rem 0 1.2rem; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.mlm-tree { max-width: 1000px; margin: 0; overflow: hidden; border: 1px solid #cfe6df; border-radius: 16px; background: radial-gradient(circle at 50% 10%, #eaf8f3, #f8fcfa 65%); box-shadow: 0 20px 45px -38px #0d5b5a; }
.mlm-tree-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-color: #89cfc0 #e6f3ee; }
.mlm-tree-scroll:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.mlm-tree-svg { display: block; width: 100%; min-width: 740px; height: auto; }
.mlm-tree-edges path { fill: none; stroke: #78c6b9; stroke-width: 2.5; stroke-linecap: round; }
.mlm-tree-node rect { fill: #fff; stroke: #b8ddd3; stroke-width: 1.5; filter: drop-shadow(0 5px 9px rgba(9, 78, 72, .08)); }
.mlm-tree-node--root rect { fill: #0d615c; stroke: #0d615c; }
.mlm-tree--review .mlm-tree-node--root rect { fill: #72583f; stroke: #72583f; }
.mlm-tree-name, .mlm-tree-role { font-family: Manrope, sans-serif; text-anchor: middle; }
.mlm-tree-name { fill: #1c4142; font-size: 13px; font-weight: 800; }
.mlm-tree-role { fill: #638580; font-size: 10.5px; font-weight: 700; }
.mlm-tree-node--root .mlm-tree-name { fill: #fff; }
.mlm-tree-node--root .mlm-tree-role { fill: #c6eee7; }
.mlm-tree figcaption { padding: .9rem 1.15rem; border-top: 1px solid #dcece6; background: #fff; color: #526e6c; font-size: .78rem; line-height: 1.6; }
.mlm-tree-hint { display: none; }
.sp-cta { padding: 0 0 6rem; }
.sp-cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.7rem 3rem; border-radius: 18px; background: #10353d; }
.sp-cta-panel h2 { margin: 0 0 .5rem; color: #fff; font: 800 clamp(1.7rem, 2.6vw, 2.4rem)/1.2 Manrope, sans-serif; letter-spacing: -.05em; }
.sp-cta-panel p { max-width: 580px; margin: 0; color: #c3ddda; font-size: .93rem; }
.sp-cta-panel .btn { flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .sp-hero-copy > * { animation: spRise .8s cubic-bezier(.2, .7, .2, 1) backwards; }
  .sp-hero-copy > :nth-child(2) { animation-delay: 80ms; }
  .sp-hero-copy > :nth-child(3) { animation-delay: 160ms; }
  .sp-hero-copy > :nth-child(4) { animation-delay: 240ms; }
  .sp-photo { animation: spRise .9s cubic-bezier(.2, .7, .2, 1) 180ms backwards; }
  .mlm-tree.is-visible .mlm-tree-edges path { stroke-dasharray: 450; animation: mlmTreeLine 1.25s ease both; }
  .mlm-tree.is-visible .mlm-tree-node { animation: mlmTreeNode .55s ease both; animation-delay: calc(var(--mlm-node-order) * 80ms); }
}
@keyframes spRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes mlmTreeLine { from { stroke-dashoffset: 450; } to { stroke-dashoffset: 0; } }
@keyframes mlmTreeNode { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1050px) {
  .sp-detail-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 2rem; }
  .sp-feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .sp-hero-grid { grid-template-columns: 1fr; }
  .sp-hero-copy { max-width: 720px; }
  .sp-photo { min-height: 350px; }
  .sp-detail-layout { grid-template-columns: 1fr; }
  .sp-side { position: static; display: flex; gap: .35rem; max-height: none; overflow-x: auto; padding: .6rem; white-space: nowrap; }
  .sp-side h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .sp-side a { flex: none; }
  .sp-side .sp-side-overview { margin: 0; border: 0; border-radius: 7px; }
  .sp-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .sp-hero { padding: 7.8rem 0 4rem; }
  .sp-hero h1 { font-size: clamp(2.65rem, 10.5vw, 3.7rem); }
  .sp-hero-copy > p { font-size: .98rem; }
  .sp-hero-actions .btn { width: 100%; }
  .sp-photo { min-height: 270px; border-radius: 14px; }
  .sp-section, .sp-detail-wrap { padding: 4.2rem 0; }
  .sp-service-grid, .sp-guide-grid, .sp-feature-grid, .sp-deliverables, .sp-related { grid-template-columns: 1fr; }
  .mlm-tree-hint { display: block; padding: .5rem 1rem; color: #66847e; font-size: .7rem; }
  .sp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-cta { padding-bottom: 4.2rem; }
  .sp-cta-panel { display: block; padding: 2.2rem 1.5rem; }
  .sp-cta-panel .btn { margin-top: 1.5rem; }
}

/* Technology & AI page */
.tech-grid, .ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tech-card, .ai-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.tech-card h3, .ai-card h3 { margin: 1rem 0 .45rem; font: 800 1.1rem/1.25 Manrope, sans-serif; letter-spacing: -.02em; }
.ai-head { display: flex; align-items: center; gap: .85rem; }
.ai-head h3 { margin: 0; }
.tech-card p, .ai-card p { margin: 0 0 1rem; color: var(--muted); font-size: .88rem; }
.ai-card > p { margin-top: 1rem; }
.tech-icon { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border: 1px solid #ceebe3; border-radius: 10px; background: #eaf8f4; color: var(--teal-deep); }
.tech-icon svg { width: 20px; height: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.chips li { padding: .28rem .65rem; border: 1px solid #d5e8e3; border-radius: 99px; background: #f4faf8; color: #3f6a66; font: 700 .72rem/1.3 Manrope, sans-serif; }
.tech-disclaimer { max-width: 760px; margin: 2rem 0 0; color: #7a918f; font-size: .76rem; }
@media (max-width: 1050px) { .tech-grid, .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tech-grid, .ai-grid { grid-template-columns: 1fr; } }

.sp-section[id] { scroll-margin-top: 5rem; }

.chips li { display: inline-flex; align-items: center; gap: .4rem; }
.chips li img { flex: none; width: 15px; height: 15px; object-fit: contain; }
.ai-logo { display: grid; flex: none; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 6px 16px -12px rgba(16, 44, 53, .5); }
.ai-logo img { width: 26px; height: 26px; object-fit: contain; }

/* Meet the expert page */
.ex-photo { min-height: 520px; }
.ex-photo img { object-position: 50% 28%; }
.ex-photo::after { inset: 55% 0 0; background: linear-gradient(transparent, rgba(8, 40, 44, .78)); }
.sp-photo figcaption.ex-caption { right: 0; bottom: 0; left: 0; display: grid; gap: .15rem; padding: 1.2rem 1.4rem; border-radius: 0; background: none; color: #fff; font: inherit; }
.ex-caption strong { color: #fff; font: 800 1.2rem Manrope, sans-serif; }
.ex-caption span { color: #cfe9e5; font-size: .82rem; }
.ex-facts { display: flex; flex-wrap: wrap; gap: 1.6rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.ex-facts li { display: grid; gap: .1rem; }
.ex-facts b { color: var(--teal-deep); font: 800 1.45rem/1.1 Manrope, sans-serif; letter-spacing: -.03em; }
.ex-facts span { color: var(--muted); font-size: .78rem; }
.ex-message { max-width: 820px; margin: 0 auto; }
.ex-message h2 { margin: 0 0 1.6rem; font-size: clamp(2rem, 3.3vw, 3rem); font-weight: 800; line-height: 1.15; }
.ex-message blockquote { margin: 0; padding: .4rem 0 .4rem 1.6rem; border-left: 3px solid var(--teal); }
.ex-message blockquote p { margin: 0 0 1.1rem; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.75; }
.ex-message blockquote p:last-child { margin: 0; color: var(--ink); font-weight: 600; }
.ex-more { display: flex; flex-direction: column; justify-content: space-between; background: #f4faf8; }
.ex-values { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 820px) { .ex-photo { min-height: 420px; } .ex-values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ex-photo { min-height: 360px; } .ex-values { grid-template-columns: 1fr; } .ex-facts { gap: 1.1rem; } }

/* Blog */
.post-hero { padding-bottom: 3rem; }
.post-hero-inner { max-width: 860px; margin-inline: auto; }
.post-hero h1 { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.12; }
.post-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 0; color: #5c7a78; font: 600 .84rem Manrope, sans-serif; }
.post-lead { max-width: 640px; margin: 1.1rem 0 0; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.7; }
.post-wrap { width: min(100% - 2.5rem, 780px); margin: 0 auto; padding: 3rem 0 4.5rem; }
.post-body > :first-child { margin-top: 0; }
.post-body h2 { margin: 2.4rem 0 .8rem; font: 800 clamp(1.35rem, 2.2vw, 1.65rem)/1.25 Manrope, sans-serif; letter-spacing: -.03em; color: var(--ink); }
.post-body p, .post-body li { color: var(--ink-soft); font-size: 1.03rem; line-height: 1.8; }
.post-body p { margin: 0 0 1.15rem; }
.post-body ul, .post-body ol { margin: 0 0 1.3rem; padding-left: 1.4rem; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin: .45rem 0; }
.post-body li::marker { color: var(--teal-deep); }
.post-body a { color: var(--teal-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-body strong { color: var(--ink); }
.callout { margin: 1.8rem 0; padding: 1rem 1.3rem; border-left: 3px solid var(--teal); border-radius: 0 12px 12px 0; background: #f1faf7; }
.callout p { margin: 0; color: var(--ink); }
.post-table { width: 100%; margin: 1.5rem 0; border-collapse: collapse; font-size: .9rem; }
.post-table th, .post-table td { padding: .8rem .9rem; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; }
.post-table th { background: #eff9f6; color: var(--ink); font: 800 .8rem Manrope, sans-serif; }
.post-table td { color: var(--ink-soft); }
.post-related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.post-related h2 { margin: 0 0 1rem; color: #5b747b; font: 800 .72rem Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.post-related .sp-related { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.post-back { margin: 2rem 0 0; }
.post-back a { color: var(--teal-deep); font: 800 .88rem Manrope, sans-serif; }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.blog-card { display: flex; flex-direction: column; padding: 1.7rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .25s, border-color .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-4px); border-color: #8fd5c8; box-shadow: 0 20px 40px -30px rgba(10, 79, 80, .6); }
.blog-tag { align-self: flex-start; padding: .22rem .65rem; border-radius: 99px; background: #eaf8f4; color: var(--teal-deep); font: 800 .66rem Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.blog-card h2 { margin: 1rem 0 .6rem; font: 800 1.3rem/1.25 Manrope, sans-serif; letter-spacing: -.03em; color: var(--ink); }
.blog-card p { margin: 0 0 1rem; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.blog-meta { margin-top: auto; padding-bottom: .9rem; color: #7a918f; font-size: .78rem; }
@media (max-width: 820px) { .blog-grid, .post-related .sp-related { grid-template-columns: 1fr; } .post-table { display: block; overflow-x: auto; } }
