/*
Theme Name: Lgeta Consulting
Theme URI: https://example.com/
Author: OpenAI
Description: A lightweight, responsive WordPress theme for ERP and technology consulting businesses.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: edge-consulting
*/

:root {
  --ink: #11243a;
  --muted: #617186;
  --navy: #102b4e;
  --blue: #1769aa;
  --teal: #18a99a;
  --pale: #f2f7fb;
  --line: #dce6ee;
  --white: #fff;
  --surface: #fff;
  --surface-raised: #fff;
  --surface-input: #fbfdfe;
  --shadow: 0 22px 60px rgba(16, 43, 78, .11);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body, button, input, textarea { font-family: Inter, "Segoe UI", Arial, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--teal); }
button, input, textarea { font-size: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { z-index: 99999; top: 12px; left: 12px; width: auto; height: auto; padding: 12px 18px; clip: auto; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 100px 0; }
.section--soft { background: var(--pale); }
.section-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-kicker::before { width: 24px; height: 2px; background: var(--teal); content: ""; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.13; letter-spacing: -.035em; }
h1 { max-width: 680px; margin-bottom: 24px; font-size: clamp(42px, 5.5vw, 68px); }
h2 { margin-bottom: 18px; font-size: clamp(32px, 4vw, 46px); }
h3 { margin-bottom: 12px; font-size: 21px; }
.section-lead { max-width: 650px; color: var(--muted); font-size: 18px; }
.section-heading { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-heading .section-lead { margin: 0 auto; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 1px solid transparent; border-radius: 8px; background: var(--blue); color: var(--white); font-size: 14px; font-weight: 750; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); background: #0f558f; color: var(--white); box-shadow: 0 10px 24px rgba(23,105,170,.2); }
.button--outline { border-color: rgba(255,255,255,.46); background: transparent; color: var(--white); }
.button--outline:hover { background: var(--white); color: var(--navy); }
.hero .button--outline { border-color: #b7c6d2; color: #28445e; }
.hero .button--outline:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.button--light { background: var(--white); color: var(--navy); }
.button--light:hover { background: #eaf3f8; color: var(--navy); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; }
.arrow { font-size: 18px; line-height: 1; }

/* Header */
.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(220,230,238,.8); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.header-inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { order: 0; display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font-size: 17px; font-weight: 850; letter-spacing: -.025em; }
.brand:hover { color: var(--navy); }
.brand .custom-logo-link { display: inline-flex; align-items: center; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: var(--navy); color: var(--white); font-size: 14px; font-weight: 850; letter-spacing: -.04em; }
.brand img { max-height: 45px; width: auto; }
.brand-logo-link { display: inline-flex; align-items: center; }
.brand-logo-full { display: block; width: auto; max-width: min(220px, 48vw); max-height: 48px !important; object-fit: contain; }
.brand-mark--image { overflow: hidden; padding: 2px; background: #fff; }
.brand-mark--image img { display: block; width: 100%; height: 100%; max-height: none; border-radius: 8px; object-fit: contain; }
.header-actions { order: 2; display: flex; align-items: center; gap: 12px; }
.main-navigation { order: 1; display: flex; align-items: center; gap: 30px; margin-left: auto; }
.main-navigation ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.main-navigation a { color: #42556a; font-size: 13px; font-weight: 700; }
.main-navigation a:hover { color: var(--blue); }
.main-navigation .button { padding: 11px 17px; color: var(--white); }
.theme-toggle { display: inline-grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--navy); font-size: 19px; line-height: 1; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.theme-toggle:hover { transform: rotate(-12deg); border-color: var(--blue); }
.theme-icon { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon--sun { display: none; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--navy); font-size: 25px; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 90px; background: linear-gradient(110deg, #f4f8fc 0%, #fff 54%, #edf7f7 100%); }
.hero::after { position: absolute; right: -150px; bottom: -310px; width: 650px; height: 650px; border: 1px solid rgba(24,169,154,.12); border-radius: 50%; box-shadow: 0 0 0 50px rgba(24,169,154,.025), 0 0 0 100px rgba(24,169,154,.025); content: ""; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 58px; }
.hero-copy > p:not(.section-kicker) { max-width: 600px; margin-bottom: 30px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 13px; }
.hero-note::before { display: inline-grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #dff5ef; color: #078b78; content: "✓"; font-weight: 800; }
.hero-art { position: relative; min-height: 430px; }
.art-orbit { position: absolute; top: 3%; right: 4%; width: 82%; aspect-ratio: 1; border: 1px solid rgba(23,105,170,.14); border-radius: 50%; }
.art-orbit::before, .art-orbit::after { position: absolute; inset: 12%; border: 1px solid rgba(24,169,154,.17); border-radius: 50%; content: ""; }
.art-orbit::after { inset: 25%; border-color: rgba(23,105,170,.12); }
.dashboard { position: absolute; top: 50%; left: 50%; width: min(94%, 430px); padding: 23px; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.9); border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: 0 32px 80px rgba(16,43,78,.17); }
.dashboard-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.dashboard-label { color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.dashboard-status { display: inline-flex; align-items: center; gap: 6px; color: #148b78; font-size: 11px; font-weight: 750; }
.dashboard-status::before { width: 7px; height: 7px; border-radius: 50%; background: #18b18a; content: ""; }
.dashboard-number { margin: 16px 0 3px; color: var(--navy); font-size: 32px; font-weight: 850; letter-spacing: -.04em; }
.dashboard-caption { color: var(--muted); font-size: 12px; }
.chart { display: flex; height: 122px; align-items: end; gap: 9px; margin-top: 24px; padding: 12px 10px 0; border-radius: 10px; background: linear-gradient(180deg,#f2f8fc,#fff); }
.chart span { flex: 1; min-width: 8px; border-radius: 5px 5px 0 0; background: linear-gradient(180deg,#22b5a0,#1769aa); opacity: .86; }
.dashboard-bottom { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 16px; }
.metric { padding: 10px; border-radius: 9px; background: #f5f8fb; }
.metric strong, .metric small { display: block; }
.metric strong { color: var(--navy); font-size: 13px; }
.metric small { color: var(--muted); font-size: 10px; }
.floating-card { position: absolute; right: 0; bottom: 10%; display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1px solid #edf1f4; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.floating-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: #e5f6f2; color: #148b78; font-size: 17px; font-weight: 800; }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { color: var(--navy); font-size: 12px; }
.floating-card small { color: var(--muted); font-size: 10px; }

/* Credibility strip */
.proof { padding: 23px 0; border-bottom: 1px solid var(--line); background: var(--white); }
.proof-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.proof-caption { max-width: 230px; color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.proof-item { display: flex; align-items: center; gap: 9px; color: #56697c; font-size: 13px; font-weight: 750; }
.proof-check { color: var(--teal); font-size: 17px; }

/* General sections */
.about-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 82px; }
.about-visual { position: relative; min-height: 390px; overflow: hidden; border-radius: 22px; background: linear-gradient(145deg,#102b4e,#1769aa); }
.about-photo { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-visual::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg,rgba(11,30,52,.08),rgba(11,30,52,.82)); content: ""; }
.about-visual::before { position: absolute; z-index: 2; right: -15%; bottom: -38%; width: 95%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.19); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.045),0 0 0 84px rgba(255,255,255,.04); content: ""; }
.about-visual-content { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; justify-content: end; padding: 38px; color: var(--white); }
.about-visual-content .big-word { margin-bottom: 8px; font-size: 54px; font-weight: 850; letter-spacing: -.06em; line-height: 1; }
.about-visual-content p { max-width: 260px; margin: 0; color: rgba(255,255,255,.76); }
.about-copy p:not(.section-kicker) { color: var(--muted); }
.check-list { display: grid; gap: 12px; margin: 25px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; color: #42556a; font-weight: 650; }
.check-list li::before { display: grid; flex: 0 0 21px; width: 21px; height: 21px; margin-top: 2px; place-items: center; border-radius: 50%; background: #e0f5ef; color: #078b78; content: "✓"; font-size: 12px; font-weight: 850; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.service-card { min-height: 250px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .2s ease, box-shadow .2s ease, border .2s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #b9d8e8; box-shadow: var(--shadow); }
.service-icon { display: grid; width: 48px; height: 48px; margin-bottom: 23px; place-items: center; border-radius: 14px; background: #eaf4fa; color: var(--blue); font-size: 19px; font-weight: 850; }
.service-card:nth-child(3n + 2) .service-icon { background: #e4f6f1; color: #118d7e; }
.service-card:nth-child(3n) .service-icon { background: #f0edfb; color: #6956ae; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.service-card .text-link { margin-top: 17px; font-size: 13px; }
.sap-solutions { margin-top: 56px; padding-top: 42px; border-top: 1px solid var(--line); }
.sap-solutions-heading { margin: 0 auto 26px; text-align: center; }
.sap-solutions-heading .section-kicker { margin-bottom: 10px; }
.sap-solutions-heading h3 { margin-bottom: 0; font-size: 26px; }
.sap-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 22px; }
.sap-tab { padding: 12px 20px; border: 1px solid #d9e4ec; border-radius: 999px; background: var(--surface); color: #52667a; font-size: 13px; font-weight: 750; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.sap-tab:hover { border-color: #9fc8dc; color: var(--blue); }
.sap-tab.is-active { transform: translateY(-1px); border-color: var(--navy); background: var(--navy); color: var(--white); box-shadow: 0 8px 20px rgba(16,43,78,.15); }
.sap-tab:focus-visible, .sap-panel:focus-visible { outline: 3px solid rgba(23,105,170,.35); outline-offset: 3px; }
.sap-panel { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 325px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-raised); box-shadow: 0 18px 48px rgba(16,43,78,.09); }
.sap-panel[hidden] { display: none; }
.sap-panel-image { display: block; width: 100%; height: 100%; min-height: 325px; object-fit: cover; }
.sap-panel-copy { align-self: center; padding: 40px 46px; }
.sap-panel-copy .section-kicker { margin-bottom: 12px; }
.sap-panel-copy h3 { margin-bottom: 14px; font-size: clamp(24px, 3vw, 32px); }
.sap-panel-copy > p:not(.section-kicker) { margin-bottom: 22px; color: var(--muted); font-size: 15px; }
.sap-panel-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.sap-panel-links .text-link { font-size: 14px; }
.approach-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 38px; margin-top: 60px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-raised); }
.approach-feature img { display: block; width: 100%; height: 260px; border-radius: 13px; object-fit: cover; }
.approach-feature > div { padding: 20px 30px 20px 0; }
.approach-feature h3 { margin-bottom: 12px; font-size: 25px; }
.approach-feature p:not(.section-kicker) { margin-bottom: 0; color: var(--muted); }
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 4px 20px 0 0; counter-increment: step; }
.step::before { display: grid; width: 44px; height: 44px; margin-bottom: 20px; place-items: center; border: 1px solid #b8d9e8; border-radius: 50%; background: var(--white); color: var(--blue); content: "0" counter(step); font-size: 12px; font-weight: 850; }
.step:not(:last-child)::after { position: absolute; top: 22px; left: 56px; width: calc(100% - 64px); height: 1px; background: var(--line); content: ""; }
.step p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.cta-band { position: relative; overflow: hidden; padding: 66px; border-radius: 22px; background: linear-gradient(110deg,#102b4e,#174d7d); color: var(--white); }
.cta-band::after { position: absolute; top: -180px; right: -80px; width: 390px; height: 390px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 40px rgba(255,255,255,.035),0 0 0 80px rgba(255,255,255,.035); content: ""; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta-band h2 { max-width: 620px; margin-bottom: 12px; color: var(--white); }
.cta-band p { max-width: 560px; margin-bottom: 0; color: rgba(255,255,255,.75); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.faq-intro p:not(.section-kicker) { color: var(--muted); }
.faq-list details { padding: 19px 0; border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; padding-right: 35px; color: var(--navy); font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 0; right: 4px; color: var(--blue); content: "+"; font-size: 23px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 12px 30px 0 0; color: var(--muted); font-size: 14px; }

/* Contact and footer */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 78px; }
.contact-info > p:not(.section-kicker) { color: var(--muted); }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-top: 25px; }
.contact-detail-icon { position: relative; display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; padding: 0; border-radius: 12px; background: #eaf4fa; color: var(--blue); font-size: 15px; font-weight: 850; line-height: 0; }
.contact-detail-icon svg { position: absolute; top: 50%; left: 50%; display: block; width: 20px; height: 20px; margin: 0; transform: translate(-50%,-50%); }
.contact-detail strong, .contact-detail span { display: block; }
.contact-detail strong { color: var(--navy); font-size: 13px; }
.contact-detail span { color: var(--muted); font-size: 13px; }
.contact-detail a { display: block; color: var(--muted); font-size: 13px; }
.contact-detail a:hover { color: var(--blue); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 14px 45px rgba(16,43,78,.06); }
.field { display: grid; gap: 7px; }
.field--wide { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: 12px; font-weight: 750; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #dbe4eb; border-radius: 7px; outline: 0; background: #fbfdfe; color: var(--ink); font-size: 14px; }
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,105,170,.1); }
.field textarea { min-height: 125px; resize: vertical; }
.contact-form .button { justify-self: start; border: 0; cursor: pointer; }
.form-message { grid-column: 1 / -1; padding: 12px 14px; border-radius: 7px; background: #e4f6ef; color: #13735d; font-size: 13px; }
.form-message--error { background: #fff0ef; color: #9a3428; }
.site-footer { padding: 58px 0 22px; background: #0c2037; color: rgba(255,255,255,.72); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; padding-bottom: 45px; }
.footer-brand { color: var(--white); }
.footer-about p { max-width: 350px; margin: 19px 0 0; color: rgba(255,255,255,.62); font-size: 13px; }
.footer-title { margin-bottom: 16px; color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: rgba(255,255,255,.67); font-size: 13px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: 11px; }
.footer-bottom p { margin: 0; }

/* WordPress content views */
.content-page { min-height: 55vh; padding: 72px 0; }
.content-page .entry-content { max-width: 780px; }
.content-page .entry-content > * { margin-bottom: 1.3em; }
.content-page .entry-content h2, .content-page .entry-content h3 { margin-top: 1.5em; }
.content-page .entry-title { margin-bottom: 30px; }
.post-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 25px; }
.post-card { padding: 25px; border: 1px solid var(--line); border-radius: 14px; }
.post-card h2 { font-size: 25px; }
.post-card p { color: var(--muted); }
.pagination { margin-top: 35px; }
.pagination .nav-links { display: flex; gap: 10px; }
.pagination a, .pagination span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; }

@media (max-width: 900px) {
  .hero-grid { gap: 24px; }
  .hero-art { min-height: 360px; }
  .about-grid, .faq-grid, .contact-grid { gap: 42px; }
  .steps-grid { grid-template-columns: repeat(2,1fr); row-gap: 36px; }
  .step:nth-child(2)::after { display: none; }
  .proof-inner { flex-wrap: wrap; justify-content: center; }
  .proof-caption { flex-basis: 100%; max-width: none; text-align: center; }
}
@media (max-width: 700px) {
  .wrap { width: min(100% - 36px, 560px); }
  .section { padding: 72px 0; }
  .header-inner { min-height: 68px; }
  .header-actions { order: initial; }
  .main-navigation { order: initial; margin-left: 0; }
  .menu-toggle { display: block; }
  .main-navigation { position: absolute; top: 68px; right: 0; left: 0; display: none; align-items: stretch; padding: 18px 24px 24px; border-bottom: 1px solid var(--line); background: var(--surface); box-shadow: 0 18px 25px rgba(16,43,78,.08); }
  .main-navigation.is-open { display: flex; flex-direction: column; }
  .main-navigation ul { align-items: stretch; flex-direction: column; gap: 0; }
  .main-navigation li { padding: 11px 0; border-bottom: 1px solid #edf1f4; }
  .main-navigation .button { align-self: flex-start; margin-top: 6px; }
  .hero { padding: 62px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 340px; margin-top: 5px; }
  .dashboard { width: min(91%, 410px); padding: 18px; }
  .floating-card { right: 0; bottom: 2%; }
  .proof-inner { gap: 15px 25px; }
  .proof-item { font-size: 11px; }
  .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { min-height: 280px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .sap-tabs { flex-wrap: wrap; justify-content: center; overflow: visible; padding: 3px 2px 8px; }
  .sap-tab { flex: 0 1 auto; }
  .sap-panel { grid-template-columns: 1fr; }
  .sap-panel-image { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .sap-panel-copy { padding: 26px; }
  .approach-feature { grid-template-columns: 1fr; gap: 18px; }
  .approach-feature img { height: auto; aspect-ratio: 16 / 9; }
  .approach-feature > div { padding: 8px 8px 18px; }
  .cta-band { padding: 38px 27px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px 22px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .contact-form { grid-template-columns: 1fr; padding: 22px; }
  .field--wide { grid-column: auto; }
}
@media (max-width: 450px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-art { min-height: 305px; }
  .dashboard { padding: 14px; }
  .dashboard-number { font-size: 26px; }
  .chart { height: 93px; }
  .metric { padding: 8px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-about { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Optional dark appearance. */
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e9f1f8;
  --muted: #aabbd0;
  --navy: #e8f1fa;
  --blue: #76bdf0;
  --teal: #42ccb7;
  --pale: #0e1a29;
  --line: #263a50;
  --surface: #0c1826;
  --surface-raised: #122237;
  --surface-input: #0a1522;
}
html[data-theme="dark"] body { background: #081321; color: var(--ink); }
html[data-theme="dark"] .skip-link:focus { background: #f4f7fb; color: #102b4e; }
html[data-theme="dark"] .site-header { border-color: var(--line); background: rgba(8,19,33,.96); }
html[data-theme="dark"] .main-navigation a { color: var(--muted); }
html[data-theme="dark"] .main-navigation a:hover { color: var(--blue); }
html[data-theme="dark"] .main-navigation .button { color: #fff; }
html[data-theme="dark"] .theme-toggle { border-color: #344a60; background: #14263a; color: #f3d47a; }
html[data-theme="dark"] .theme-icon--moon { display: none; }
html[data-theme="dark"] .theme-icon--sun { display: block; }
html[data-theme="dark"] .button { background: #1769aa; color: #fff; }
html[data-theme="dark"] .button:hover { background: #0f558f; color: #fff; }
html[data-theme="dark"] .button--light { background: #f4f7fb; color: #102b4e; }
html[data-theme="dark"] .button--light:hover { background: #dceaf5; color: #102b4e; }
html[data-theme="dark"] .button--outline:hover { background: #f4f7fb; color: #102b4e; }
html[data-theme="dark"] .hero { background: linear-gradient(110deg,#0c1b2a 0%,#101f30 54%,#0c242d 100%); }
html[data-theme="dark"] .hero .button { background: #1769aa; color: #fff; }
html[data-theme="dark"] .hero .button--outline { border-color: #52677b; background: transparent; color: var(--ink); }
html[data-theme="dark"] .hero .button--outline:hover { background: #1a3855; color: #fff; }
html[data-theme="dark"] .proof { border-color: var(--line); background: #0c1826; }
html[data-theme="dark"] .proof-item { color: var(--muted); }
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .sap-panel,
html[data-theme="dark"] .approach-feature,
html[data-theme="dark"] .contact-form,
html[data-theme="dark"] .post-card { border-color: var(--line); background: var(--surface-raised); }
html[data-theme="dark"] .sap-tab { border-color: var(--line); background: #122237; color: var(--muted); }
html[data-theme="dark"] .sap-tab:hover { border-color: #527d9d; color: var(--ink); }
html[data-theme="dark"] .sap-tab.is-active { border-color: #1769aa; background: #1769aa; color: #fff; }
html[data-theme="dark"] .sap-panel-copy .section-kicker,
html[data-theme="dark"] .approach-feature .section-kicker { color: var(--teal); }
html[data-theme="dark"] .sap-panel-links .button { background: #1769aa; color: #fff; }
html[data-theme="dark"] .dashboard { border-color: #30445a; background: rgba(15,32,50,.96); }
html[data-theme="dark"] .dashboard-top { border-color: var(--line); }
html[data-theme="dark"] .chart { background: linear-gradient(180deg,#172a3e,#102033); }
html[data-theme="dark"] .metric { background: #1a2d42; }
html[data-theme="dark"] .floating-card { border-color: #30445a; background: #122237; }
html[data-theme="dark"] .step::before { border-color: #38516b; background: #122237; color: var(--blue); }
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field textarea { border-color: #30445a; background: var(--surface-input); color: var(--ink); }
html[data-theme="dark"] .field input::placeholder,
html[data-theme="dark"] .field textarea::placeholder { color: #8397ad; }
html[data-theme="dark"] .contact-detail-icon { background: #172d43; color: var(--blue); }
html[data-theme="dark"] .faq-list details,
html[data-theme="dark"] .faq-list details:first-child { border-color: var(--line); }
html[data-theme="dark"] .form-message { background: #123a34; color: #9ce3cc; }
html[data-theme="dark"] .form-message--error { background: #482725; color: #ffc0b8; }
@media (max-width: 700px) {
  html[data-theme="dark"] .main-navigation { background: #0b1725; }
  html[data-theme="dark"] .main-navigation li { border-color: #263a50; }
}
