@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #102A43;
  --blue: #1769AA;
  --blue-dark: #0E4F8A;
  --pale-blue: #EAF3FB;
  --cool-gray: #F5F7FA;
  --text: #243447;
  --muted: #526579;
  --line: #D9E2EC;
  --white: #FFFFFF;
  --teal: #188A91;
  --shadow: 0 18px 50px rgba(16, 42, 67, .09);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); line-height: 1.65; background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
button, input, select, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.narrow { max-width: 850px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(217,226,236,.8); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; width: 210px; flex-shrink: 0; }
.brand img { width: 100%; max-height: 72px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { color: var(--text); font-size: .92rem; font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav .nav-cta { padding: 11px 17px; border: 1px solid var(--line); border-radius: 9px; color: var(--navy); }
.site-nav .nav-cta:hover { border-color: var(--blue); background: var(--pale-blue); }
.nav-toggle { display: none; border: 1px solid var(--line); background: white; color: var(--navy); padding: 9px 13px; border-radius: 8px; font-weight: 600; }
.hero { position: relative; overflow: hidden; background: linear-gradient(115deg, #fff 0%, #fff 50%, #F2F7FC 100%); padding: 86px 0 82px; }
.hero::before { content: ""; position: absolute; width: 500px; height: 500px; border: 1px solid rgba(23,105,170,.08); border-radius: 50%; right: -210px; top: -180px; box-shadow: 0 0 0 55px rgba(23,105,170,.025), 0 0 0 110px rgba(23,105,170,.02); }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 68px; position: relative; }
.eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 800; margin: 0 0 18px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 5vw, 4.55rem); margin-bottom: 24px; font-weight: 800; }
h1 span, h2 span { color: var(--blue); }
h2 { font-size: clamp(2rem, 3.2vw, 3rem); margin-bottom: 22px; font-weight: 750; }
h3 { font-size: 1.3rem; margin-bottom: 13px; }
.hero-lede { font-size: 1.17rem; line-height: 1.75; color: var(--muted); max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 14px 20px; border-radius: 9px; font-weight: 700; font-size: .94rem; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 8px 20px rgba(23,105,170,.18); }
.button-primary:hover { color: white; background: var(--blue-dark); }
.text-link { display: inline-flex; gap: 9px; align-items: center; font-weight: 700; color: var(--blue); }
.hero-note { font-size: .82rem; color: #6B7C8F; margin-top: 28px; margin-bottom: 0; }
.hero-visual { position: relative; min-height: 395px; border: 1px solid #DCE8F3; border-radius: 22px; padding: 27px; background: linear-gradient(145deg, #fff, #F0F6FC); box-shadow: var(--shadow); overflow: hidden; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(23,105,170,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(23,105,170,.055) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, black, transparent 88%); pointer-events: none; }
.visual-topline, .visual-footer { position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; color: #6B7C8F; font-size: .62rem; letter-spacing: .12em; font-weight: 800; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #2DAD87; box-shadow: 0 0 0 4px rgba(45,173,135,.12); }
.system-node { position: absolute; z-index: 2; display: grid; grid-template-columns: 42px 1fr; column-gap: 13px; align-items: center; width: 225px; padding: 14px; background: rgba(255,255,255,.94); border: 1px solid #D7E4F0; border-radius: 12px; box-shadow: 0 8px 25px rgba(16,42,67,.06); }
.system-node strong { color: var(--navy); font-size: .78rem; grid-column: 2; align-self: end; }
.system-node small { color: var(--muted); font-size: .66rem; grid-column: 2; }
.node-icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 42px; height: 42px; background: var(--pale-blue); border-radius: 9px; color: var(--blue); font-size: .65rem; font-weight: 800; }
.node-plc { left: 9%; top: 105px; }
.node-hmi { right: 7%; top: 190px; }
.node-scada { left: 16%; bottom: 35px; }
.connector { position: absolute; z-index: 1; height: 2px; background: #8AB8DF; transform-origin: left center; }
.connector-one { width: 130px; left: 48%; top: 159px; transform: rotate(24deg); }
.connector-two { width: 160px; left: 68%; top: 235px; transform: rotate(145deg); }
.visual-footer { position: absolute; bottom: 21px; left: 27px; right: 27px; }
.footer-line { height: 1px; background: #D2E0ED; flex: 1; }
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 70px; color: #64778B; font-size: .67rem; letter-spacing: .11em; font-weight: 800; }
.trust-inner i { width: 4px; height: 4px; background: #91A8BC; border-radius: 50%; }
.section { padding: 94px 0; }
.section-muted { background: var(--cool-gray); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: start; }
.intro-grid > div:nth-child(2) { padding-top: 8px; }
.intro-grid p:not(.section-lede) { color: var(--muted); }
.section-lede { color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-heading h2 { margin-bottom: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; background: white; border: 1px solid #E0E7EF; border-radius: var(--radius); padding: 29px 27px 26px; min-height: 300px; box-shadow: 0 4px 16px rgba(16,42,67,.025); }
.card-number { color: #8DA2B6; font-size: .73rem; font-weight: 800; letter-spacing: .1em; }
.line-icon { display: grid; place-items: center; width: 45px; height: 45px; margin: 22px 0 19px; background: var(--pale-blue); border-radius: 12px; color: var(--blue); font-size: 1.45rem; }
.service-card p { color: var(--muted); font-size: .92rem; }
.card-link { display: inline-flex; gap: 8px; margin-top: 8px; font-weight: 700; font-size: .85rem; }
.platform-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.platform-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: white; box-shadow: var(--shadow); }
.platform-label { color: #6B7C8F; font-size: .68rem; letter-spacing: .12em; font-weight: 800; margin-bottom: 20px; }
.platform-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.platform-list span { background: var(--cool-gray); border: 1px solid #E8EDF2; border-radius: 8px; padding: 12px 13px; font-size: .82rem; font-weight: 600; color: #334E68; }
.platform-target { margin-top: 24px; padding: 17px; border-radius: 11px; background: var(--pale-blue); display: flex; align-items: center; gap: 14px; }
.target-mark { display: grid; place-items: center; background: var(--blue); color: white; width: 42px; height: 42px; border-radius: 9px; font-weight: 800; font-size: 1.15rem; }
.platform-target strong, .platform-target small { display: block; }
.platform-target strong { color: var(--navy); font-size: .88rem; }
.platform-target small { color: var(--muted); font-size: .76rem; margin-top: 3px; }
.cta-section { background: var(--navy); padding: 65px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.cta-inner > div { max-width: 720px; }
.eyebrow-light { color: #93C5EB; }
.cta-inner h2 { color: white; margin-bottom: 13px; }
.cta-inner p:not(.eyebrow) { color: #C5D4E2; margin-bottom: 0; }
.button-light { background: white; color: var(--navy); flex-shrink: 0; }
.button-light:hover { color: var(--navy); background: #EAF3FB; }
.site-footer { background: #0B2033; color: #B8C7D5; padding: 37px 0 20px; }
.footer-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding-bottom: 27px; }
.footer-brand { color: white; font-size: 1.18rem; letter-spacing: .07em; font-weight: 800; }
.footer-brand span { display: block; font-size: .63rem; letter-spacing: .35em; color: #8FBDE2; }
.footer-main p { margin: 0; font-size: .8rem; }
.footer-main nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-main nav a { color: #D5E0E9; font-size: .78rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); padding-top: 17px; display: flex; justify-content: space-between; gap: 20px; color: #8FA4B8; font-size: .72rem; }
.page-hero { padding: 76px 0 70px; background: linear-gradient(110deg, #F5F9FD, white); border-bottom: 1px solid #E6EDF4; }
.page-hero h1 { max-width: 820px; font-size: clamp(2.65rem, 4.8vw, 4rem); }
.page-hero .hero-lede { max-width: 760px; margin-bottom: 0; }
.service-detail-list { display: grid; gap: 0; }
.service-detail { display: grid; grid-template-columns: 180px 1fr; gap: 55px; padding: 46px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.service-detail:first-child { padding-top: 0; }
.service-detail:last-child { border-bottom: 0; padding-bottom: 0; }
.detail-index { color: var(--blue); font-size: .74rem; letter-spacing: .13em; font-weight: 800; padding-top: 9px; }
.service-detail h2 { font-size: 2rem; }
.check-list { padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 25px; margin: 25px 0; }
.check-list li { position: relative; padding-left: 26px; color: #40566B; font-size: .92rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.small-note { color: #6B7C8F; font-size: .8rem; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.prose { color: var(--muted); }
.prose h2 { font-size: 1.45rem; margin-top: 38px; }
.prose h2:first-of-type { margin-top: 30px; }
.prose p { margin-bottom: 20px; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 35px; }
.principle-grid article { border-top: 2px solid #B9D5EC; padding-top: 20px; }
.principle-grid article > span { color: var(--blue); font-weight: 800; font-size: .75rem; letter-spacing: .1em; }
.principle-grid h3 { margin-top: 19px; }
.principle-grid p { color: var(--muted); font-size: .92rem; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; align-items: start; }
.contact-aside p { color: var(--muted); }
.contact-callout { display: flex; gap: 12px; margin-top: 28px; padding: 18px; background: var(--pale-blue); border-radius: 11px; }
.callout-mark { display: grid; place-items: center; width: 25px; height: 25px; flex-shrink: 0; border: 1px solid #A8CDEB; border-radius: 50%; color: var(--blue); font-weight: 800; font-size: .8rem; }
.contact-callout p { font-size: .83rem; margin: 0; }
.form-placeholder { border: 1px dashed #AFC4D6; border-radius: var(--radius); padding: 36px; background: #FBFDFF; }
.placeholder-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--pale-blue); color: var(--blue); font-size: 1.4rem; margin-bottom: 20px; }
.form-placeholder p { color: var(--muted); }
.form-placeholder code { background: #EEF3F7; padding: 2px 5px; border-radius: 4px; font-size: .88em; }
/* Contact form styles are ready for the HTML to be added later. */
.contact-form { display: grid; gap: 19px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: var(--navy); font-weight: 700; font-size: .88rem; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid #C8D4E0; border-radius: 8px; padding: 12px 13px; color: var(--text); background: white; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid rgba(23,105,170,.16); border-color: var(--blue); }
.form-field textarea { resize: vertical; min-height: 145px; }
.contact-form button { justify-self: start; border: 0; cursor: pointer; padding: 14px 22px; border-radius: 9px; background: var(--blue); color: white; font-weight: 700; }
.contact-form button:hover { background: var(--blue-dark); }
.form-disclaimer { color: #6B7C8F; font-size: .8rem; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 900px) {
  .hero-grid { gap: 35px; }
  .hero-visual { min-height: 360px; padding: 20px; }
  .system-node { width: 205px; }
  .node-plc { left: 5%; }
  .node-hmi { right: 4%; }
  .node-scada { left: 10%; }
  .intro-grid, .platform-layout, .about-grid { gap: 45px; }
  .footer-main { grid-template-columns: auto 1fr; }
  .footer-main nav { grid-column: 1 / -1; }
  .contact-layout { gap: 40px; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 34px, 1160px); }
  .header-inner { min-height: 74px; }
  .brand { width: 170px; }
  .brand img { max-height: 61px; }
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 22px 22px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 15px 20px rgba(16,42,67,.07); align-items: stretch; gap: 0; }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav a { padding: 12px 4px; }
  .site-nav .nav-cta { margin-top: 8px; text-align: center; }
  .hero { padding: 56px 0 48px; }
  .hero-grid, .intro-grid, .platform-layout, .about-grid, .contact-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 38px; }
  h1 { font-size: clamp(2.55rem, 12vw, 3.55rem); }
  .hero-lede { font-size: 1.05rem; }
  .hero-visual { min-height: 355px; }
  .system-node { width: 205px; }
  .node-plc { top: 84px; left: 5%; }
  .node-hmi { top: 169px; right: 4%; }
  .node-scada { left: 8%; bottom: 55px; }
  .connector-one { top: 143px; }
  .connector-two { top: 218px; }
  .trust-inner { min-height: auto; padding: 18px 0; flex-wrap: wrap; justify-content: center; text-align: center; gap: 10px 13px; font-size: .59rem; }
  .trust-inner i { display: none; }
  .section { padding: 65px 0; }
  .intro-grid { gap: 12px; }
  .section-heading { display: block; }
  .section-heading .text-link { margin-top: 20px; }
  .service-grid, .principle-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .platform-layout { gap: 25px; }
  .platform-panel { padding: 21px; }
  .platform-list { grid-template-columns: 1fr; }
  .cta-inner { align-items: flex-start; flex-direction: column; gap: 25px; }
  .cta-section { padding: 48px 0; }
  .footer-main { grid-template-columns: 1fr; gap: 17px; }
  .footer-main nav { grid-column: auto; gap: 14px 20px; }
  .footer-bottom { flex-direction: column; gap: 5px; }
  .page-hero { padding: 54px 0 48px; }
  .service-detail { grid-template-columns: 1fr; gap: 12px; padding: 35px 0; }
  .check-list { grid-template-columns: 1fr; }
  .contact-layout { gap: 32px; }
  .form-placeholder { padding: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
