:root {
  color-scheme: light;
  --ink: #10243b;
  --muted: #536779;
  --navy: #071a2f;
  --blue: #075ea8;
  --cyan: #15b8c8;
  --pale: #edf6f8;
  --line: #d8e3e8;
  --white: #fff;
  --shadow: 0 22px 60px rgba(6, 35, 61, .13);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f8fbfc; font-size: 16px; line-height: 1.6; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; min-height: 76px; padding: .75rem max(4vw, 1.25rem); background: rgba(248, 251, 252, .94); border-bottom: 1px solid rgba(216, 227, 232, .9); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; line-height: 1.2; }
.brand-mark { display: block; width: 43px; height: 43px; border-radius: 12px; }
.brand strong, .brand small { display: block; }
.brand small { margin-top: .22rem; color: var(--muted); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
nav { display: flex; justify-content: flex-end; gap: clamp(.9rem, 2vw, 2rem); }
nav a { color: #29445a; font-size: .92rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--blue); }
.language-button { min-width: 44px; padding: .58rem .7rem; color: var(--blue); background: white; border: 1px solid #aac6d5; border-radius: 10px; font-weight: 800; cursor: pointer; }

main { overflow: hidden; }
.hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(290px, .65fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; min-height: 690px; padding: clamp(4rem, 8vw, 7rem) max(6vw, 1.4rem); background: radial-gradient(circle at 84% 18%, rgba(21,184,200,.16), transparent 27%), linear-gradient(135deg, #f8fbfc 56%, #eaf6f8); }
.eyebrow { margin: 0 0 1rem; color: var(--blue); font-size: .82rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; }
h1 { max-width: 900px; margin-bottom: 1.5rem; font-size: clamp(2.7rem, 5.7vw, 5.35rem); letter-spacing: -.052em; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 3.6vw, 3.65rem); letter-spacing: -.038em; }
h3 { font-size: 1.25rem; }
.hero-lead { max-width: 760px; margin: 0 0 2rem; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.2rem; border: 1px solid transparent; border-radius: 10px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 12px 25px rgba(7,94,168,.22); }
.button-secondary { color: var(--blue); background: white; border-color: #aac6d5; }
.button-neutral { color: #29445a; background: #edf3f5; border-color: #c7d7de; }
.button-danger { color: white; background: #a52d35; }
.button-danger-quiet { color: #8d2930; background: white; border-color: #d8aeb2; }
.trust-list { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; padding: 0; margin: 2rem 0 0; color: #3e5a6b; list-style: none; font-size: .92rem; }
.trust-list li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .55rem; background: var(--cyan); border-radius: 50%; vertical-align: .08rem; }
.profile-card { padding: 1.4rem; background: rgba(255,255,255,.86); border: 1px solid white; border-radius: 26px 8px 26px 8px; box-shadow: var(--shadow); }
.portrait-placeholder { display: grid; min-height: 260px; place-items: center; margin-bottom: 1.3rem; color: white; background: linear-gradient(145deg, #0a3153, #08759d); border-radius: 18px 4px 18px 4px; }
.portrait-placeholder span { display: grid; width: 92px; height: 92px; place-items: center; border: 2px solid rgba(255,255,255,.62); border-radius: 50%; font-size: 2rem; font-weight: 800; }
.profile-card p { margin: .25rem 0; color: var(--muted); }
.profile-card .profile-name { color: var(--ink); font-size: 1.35rem; font-weight: 850; }
.profile-card dl { margin: 1.25rem 0 0; border-top: 1px solid var(--line); }
.profile-card dl div { display: grid; grid-template-columns: 92px 1fr; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.profile-card dt { color: var(--muted); font-size: .82rem; font-weight: 750; text-transform: uppercase; }
.profile-card dd { margin: 0; font-weight: 750; }

.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 max(6vw, 1.4rem); background: var(--navy); border-radius: 24px 6px 24px 6px; box-shadow: var(--shadow); transform: translateY(-44px); }
.proof-strip article { min-height: 135px; padding: 1.6rem 2rem; color: white; border-right: 1px solid rgba(255,255,255,.12); }
.proof-strip article:last-child { border: 0; }
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip strong { color: #73e4ea; font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.1; }
.proof-strip span { margin-top: .6rem; color: #c9d8e2; }

.section { padding: clamp(4.5rem, 8vw, 8rem) max(6vw, 1.4rem); }
.section-heading { max-width: 850px; margin-bottom: 3rem; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.1rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.service-card { min-height: 265px; padding: clamp(1.5rem, 3vw, 2.4rem); background: white; border: 1px solid var(--line); border-radius: 18px 4px 18px 4px; }
.service-card.featured { color: white; background: linear-gradient(145deg, #08213a, #083c64); border-color: transparent; }
.service-card > span { display: inline-grid; width: 42px; height: 42px; place-items: center; margin-bottom: 2.5rem; color: var(--blue); background: var(--pale); border-radius: 11px 3px 11px 3px; font-weight: 850; }
.service-card.featured > span { color: white; background: rgba(255,255,255,.15); }
.service-card p { max-width: 560px; margin-bottom: 0; color: var(--muted); }
.service-card.featured p { color: #c9dbe8; }
.delivery-model { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-top: 1rem; padding: clamp(2rem, 4vw, 3.5rem); color: white; background: linear-gradient(125deg, #075ea8, #083a63); border-radius: 18px 4px 18px 4px; }
.delivery-model .eyebrow { color: #8af1f2; }
.delivery-model h3 { margin-bottom: 0; font-size: clamp(1.55rem, 2.6vw, 2.45rem); }
.delivery-model > p { margin: 0; color: #d4e8f1; font-size: 1.05rem; }

.experience-section { color: white; background: var(--navy); }
.experience-section .eyebrow { color: #73e4ea; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.15); }
.timeline article { min-height: 285px; padding: 2rem; background: var(--navy); }
.timeline span { display: block; margin-bottom: 2.7rem; color: #73e4ea; font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.timeline p { color: #b8cbd7; }

.case-study { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.case-lead { color: var(--muted); font-size: 1.12rem; }
.case-features { padding: 0; margin: 2rem 0 0; list-style: none; }
.case-features li { padding: .7rem 0 .7rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; }
.case-features li::before { content: ""; position: absolute; left: 0; top: 1.17rem; width: 9px; height: 9px; background: var(--cyan); border-radius: 2px; }
.case-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.system-visual { margin: 0; padding: 1rem; background: #dcecef; border-radius: 22px 6px 22px 6px; box-shadow: var(--shadow); transform: rotate(1deg); }
.system-window-bar { display: flex; align-items: center; gap: .35rem; height: 50px; padding: 0 1rem; color: white; background: #0b2842; border-radius: 13px 3px 0 0; }
.system-window-bar span { width: 8px; height: 8px; background: #71e0e6; border-radius: 50%; }
.system-window-bar strong { margin-left: auto; }
.system-visual img { display: block; width: 100%; aspect-ratio: 16 / 8.15; object-fit: cover; object-position: center; background: white; }
.system-visual figcaption { margin: .75rem .25rem 0; color: #4c6675; font-size: .84rem; }

.electsis-capabilities { color: white; background: linear-gradient(155deg, #061728 0%, #082b49 58%, #07536c 100%); }
.capabilities-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.capabilities-intro .eyebrow, .capability-heading .eyebrow, .operation-model .eyebrow { color: #79e8eb; }
.capabilities-intro h2 { margin-bottom: 0; }
.capabilities-intro > p { margin: 0; color: #d4e6ef; font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.business-fit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 3rem 0 4.5rem; }
.business-fit article { min-height: 190px; padding: 1.6rem; background: rgba(255,255,255,.075); border: 1px solid rgba(151,221,229,.22); border-radius: 16px 4px 16px 4px; }
.business-fit strong, .business-fit span { display: block; }
.business-fit strong { margin-bottom: .7rem; color: white; font-size: 1.15rem; }
.business-fit span { color: #c5dbe5; font-size: 1rem; }
.capability-heading { max-width: 820px; margin-bottom: 2rem; }
.capability-heading h3 { margin-bottom: 0; font-size: clamp(1.65rem, 3vw, 2.6rem); }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; background: rgba(158,219,227,.2); border: 1px solid rgba(158,219,227,.2); border-radius: 18px 5px 18px 5px; }
.capability-grid article { min-height: 265px; padding: 1.65rem; background: #0a2943; }
.capability-number { display: block; margin-bottom: 2rem; color: #79e8eb; font-size: .88rem; font-weight: 900; letter-spacing: .08em; }
.capability-grid h3 { margin-bottom: .75rem; color: white; font-size: 1.25rem; }
.capability-grid p { margin: 0; color: #bed3de; font-size: 1rem; }
.operation-model { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-top: 1.5rem; padding: clamp(1.6rem, 3vw, 2.5rem); background: rgba(5,17,29,.62); border-left: 5px solid var(--cyan); }
.operation-model h3 { margin-bottom: 0; color: white; font-size: clamp(1.45rem, 2.5vw, 2.15rem); }
.operation-model > p { margin: 0; color: #d1e3eb; font-size: 1.04rem; }

.download-section { background: linear-gradient(180deg, #eef7f9, #f8fbfc); border-top: 1px solid #d7e7eb; }
.download-heading { max-width: 920px; }
.download-heading > p:last-child { color: #365568; font-size: 1.12rem; }
.before-install { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; margin: -1rem 0 1.5rem; padding: 1.2rem 1.35rem; color: #29495d; background: white; border: 1px solid #bfd6df; border-left: 5px solid var(--blue); border-radius: 12px 4px 12px 4px; }
.before-install strong, .before-install span { display: block; }
.before-install strong { margin-bottom: .2rem; color: var(--navy); font-size: 1.05rem; }
.before-install span { font-size: 1rem; }
.before-install .button { flex: 0 0 auto; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.download-card { display: flex; min-height: 570px; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.5rem); background: white; border: 1px solid #cbdde4; border-radius: 22px 6px 22px 6px; box-shadow: 0 18px 45px rgba(12, 48, 70, .09); }
.download-card.desktop-download { border-top: 6px solid var(--blue); }
.download-card.management-download { border-top: 6px solid #118b98; }
.download-card-label { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; color: #29495d; font-size: .95rem; }
.download-card-label span { display: inline-grid; min-width: 58px; min-height: 40px; padding: .45rem .65rem; place-items: center; color: white; background: var(--navy); border-radius: 10px 3px 10px 3px; font-size: .78rem; font-weight: 900; letter-spacing: .04em; }
.management-download .download-card-label span { background: #0a737e; }
.download-card h3 { margin-bottom: .75rem; color: var(--navy); font-size: clamp(1.55rem, 2.5vw, 2.1rem); }
.download-description { min-height: 3.5rem; margin: 0 0 1.25rem; color: #3e5969; font-size: 1.06rem; }
.management-qr { display: grid; grid-template-columns: 170px 1fr; gap: 1.2rem; align-items: center; margin: 0 0 1.35rem; padding: 1rem; background: #eef8f9; border: 1px solid #b9dce0; border-radius: 14px 4px 14px 4px; }
.qr-image-link { display: block; padding: .55rem; background: white; border: 1px solid #a9cbd1; border-radius: 10px; box-shadow: 0 8px 22px rgba(7, 45, 67, .09); }
.qr-image-link:focus-visible { outline: 4px solid rgba(7,94,168,.25); outline-offset: 3px; }
.qr-image-link img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.management-qr strong { display: block; margin-bottom: .45rem; color: var(--navy); font-size: 1.08rem; line-height: 1.35; }
.management-qr p { margin: 0 0 .65rem; color: #365568; font-size: 1rem; line-height: 1.5; }
.management-qr small { display: block; color: #17613f; font-size: .9rem; font-weight: 800; }
.install-steps { display: grid; gap: .85rem; padding: 0; margin: 0 0 1.6rem; list-style: none; counter-reset: install-step; }
.install-steps li { position: relative; min-height: 42px; padding: .58rem 0 .58rem 3.2rem; color: #233f51; font-size: 1rem; line-height: 1.5; counter-increment: install-step; }
.install-steps li::before { content: counter(install-step); position: absolute; top: .45rem; left: 0; display: grid; width: 36px; height: 36px; place-items: center; color: var(--blue); background: #e7f3f7; border: 1px solid #b9d8e2; border-radius: 50%; font-weight: 900; }
.download-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: auto; }
.download-actions .button { min-height: 52px; font-size: 1rem; }
.download-actions .download-button { flex: 1 1 235px; }
.download-button.is-pending { opacity: .55; cursor: not-allowed; pointer-events: none; }
.download-note { margin: 1rem 0 0; color: #506b79; font-size: .95rem; }
.download-status { min-height: 1.5rem; margin: .75rem 0 0; color: #17613f; font-size: .95rem; font-weight: 750; }
.installation-help { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 1.5rem; align-items: center; margin-top: 1.25rem; padding: 1.2rem 1.35rem; color: #dcebf2; background: var(--navy); border-radius: 14px 4px 14px 4px; }
.installation-help strong { color: white; font-size: 1.05rem; }
.installation-help span { font-size: 1rem; }
.installation-help .button { color: white; background: transparent; border-color: #6a8da3; }

.process-section { background: #eef6f7; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 0; counter-reset: process; list-style: none; }
.process-list li { min-height: 220px; padding: 1.5rem; background: white; border-top: 4px solid var(--cyan); counter-increment: process; }
.process-list li::before { content: "0" counter(process); display: block; margin-bottom: 2rem; color: var(--blue); font-weight: 900; }
.process-list strong, .process-list span { display: block; }
.process-list strong { margin-bottom: .65rem; font-size: 1.15rem; }
.process-list span { color: var(--muted); }

.contact-section { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; padding: clamp(4rem, 8vw, 7rem) max(6vw, 1.4rem); color: white; background: linear-gradient(135deg, #075ea8, #08345c); }
.contact-section .eyebrow { color: #8af1f2; }
.contact-section h2 { max-width: 840px; }
.contact-section p:last-child { color: #d3e6f0; }
.contact-actions { display: grid; gap: 1rem; justify-items: start; }
.button-light { color: var(--blue); background: white; }
.contact-email { font-size: 1.05rem; font-weight: 800; text-underline-offset: .25rem; }
.contact-email-button { padding: 0; color: white; background: transparent; border: 0; text-decoration: underline; cursor: pointer; }
.contact-actions span { color: #d3e6f0; }

.dialog-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem; background: rgba(3, 17, 30, .72); backdrop-filter: blur(7px); }
.dialog-backdrop[hidden] { display: none; }
.contact-dialog { width: min(920px, 96vw); max-height: 92vh; overflow: auto; padding: clamp(1.35rem, 3vw, 2.4rem); background: white; border: 1px solid #d9e5e9; border-radius: 22px 6px 22px 6px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.dialog-header { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: start; }
.dialog-header h2 { margin-bottom: 0; font-size: clamp(1.65rem, 3vw, 2.55rem); }
.dialog-close { display: grid; width: 44px; height: 44px; place-items: center; color: #29445a; background: #edf3f5; border: 1px solid #cbdbe1; border-radius: 10px; font-size: 1.6rem; cursor: pointer; }
.dialog-intro { margin: 1rem 0 1.5rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid label { display: grid; gap: .42rem; color: #29445a; font-weight: 750; }
.form-grid input, .form-grid textarea { width: 100%; padding: .8rem .9rem; color: var(--ink); background: #fbfdfe; border: 1px solid #b9cdd6; border-radius: 9px; font: inherit; }
.form-grid input:focus, .form-grid textarea:focus { outline: 3px solid rgba(21,184,200,.22); border-color: var(--blue); }
.form-grid .field-invalid { border-color: #a52d35; background: #fffafa; }
.form-full { grid-column: 1 / -1; }
.form-message { min-height: 1.6rem; margin-top: 1rem; color: #8d2930; font-weight: 750; }
.form-message.success { color: #17613f; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.1rem; }
.discard-confirmation { margin-top: 1rem; padding: 1rem; color: #67232a; background: #fff2f2; border: 1px solid #e1b1b5; border-radius: 10px; }
.discard-confirmation p { margin-top: 0; font-weight: 750; }
.discard-confirmation > div { display: flex; flex-wrap: wrap; gap: .7rem; }
body.dialog-open { overflow: hidden; }

.managed-publications { background: #f4f8fa; }
.managed-publication-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.managed-publication-card { overflow: hidden; background: white; border: 1px solid #cfdee4; border-radius: 16px 4px 16px 4px; box-shadow: 0 14px 34px rgba(7,45,67,.08); }
.managed-publication-card img { display: block; width: 100%; height: 220px; object-fit: cover; background: #e9f0f3; }
.managed-publication-card > div { padding: 1.25rem; }
.managed-publication-card h3 { margin: 0 0 .65rem; color: var(--navy); font-size: 1.28rem; }
.managed-publication-card p { margin: 0 0 1rem; color: var(--muted); line-height: 1.65; }

footer { display: flex; justify-content: space-between; gap: 2rem; padding: 1.5rem max(6vw, 1.4rem); color: #b8cad7; background: #051524; font-size: .9rem; }

@media (max-width: 900px) {
  nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero, .case-study, .contact-section, .delivery-model { grid-template-columns: 1fr; }
  .capabilities-intro, .operation-model { grid-template-columns: 1fr; }
  .business-fit { grid-template-columns: 1fr; }
  .business-fit article { min-height: 0; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { min-height: 0; }
  .download-description { min-height: 0; }
  .installation-help { grid-template-columns: 1fr; justify-items: start; }
  .hero { padding-top: 3.5rem; }
  .profile-card { max-width: 570px; }
  .portrait-placeholder { min-height: 210px; }
  .proof-strip, .timeline { grid-template-columns: 1fr; }
  .proof-strip article { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .service-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  h1 { font-size: 2.62rem; }
  .brand small { display: none; }
  .hero-actions .button { width: 100%; }
  .trust-list { display: grid; }
  .process-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: auto; }
  .dialog-actions .button { width: 100%; }
  .case-actions .button { width: 100%; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: 0; }
  .before-install { align-items: stretch; flex-direction: column; }
  .before-install .button { width: 100%; }
  .management-qr { grid-template-columns: 1fr; text-align: center; }
  .qr-image-link { width: min(240px, 100%); margin: 0 auto; }
  .download-actions .button { width: 100%; flex-basis: 100%; }
  .installation-help .button { width: 100%; }
  footer { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
