:root {
  --ink: #071a2e;
  --ink-2: #0a2744;
  --blue: #1599e8;
  --lime: #a3d903;
  --white: #f7fbff;
  --muted: #a9bfd1;
  --line: rgba(161, 194, 218, 0.2);
  --page: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.page-shell { width: var(--page); margin-inline: auto; }
.section-pad { padding: 112px 0; }
.sr-only { 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 { position: fixed; left: 20px; top: -100px; z-index: 1000; padding: 12px 18px; background: var(--lime); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 20px; }

.site-header {
  position: fixed; z-index: 50; top: 0; left: 0; width: 100%;
  height: 90px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(32px, calc((100% - 1180px) / 2));
  transition: background .25s ease, height .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { height: 72px; background: rgba(7,26,46,.92); backdrop-filter: blur(18px); border-color: var(--line); }
.brand img { width: 250px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: .92rem; font-weight: 700; }
.site-nav > a:not(.nav-cta) { color: #d7e4ed; transition: color .2s ease; }
.site-nav > a:not(.nav-cta):hover { color: var(--lime); }
.nav-cta { border: 1px solid rgba(255,255,255,.35); padding: 11px 18px; border-radius: 999px; }
.nav-cta:hover { border-color: var(--lime); color: var(--lime); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); }
.menu-toggle span:not(.sr-only) { display: block; width: 21px; height: 2px; background: white; margin: 5px auto; }

.hero { min-height: 940px; height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-image { position: absolute; inset: 0; background: url("assets/bipv-facade.jpg") center right / cover no-repeat; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,18,34,.98) 0%, rgba(4,18,34,.92) 32%, rgba(4,18,34,.42) 66%, rgba(4,18,34,.12) 100%), linear-gradient(0deg, rgba(4,18,34,.86) 0%, transparent 30%); }
.hero-content { position: relative; z-index: 2; padding-top: 94px; }
.eyebrow, .section-kicker { margin: 0 0 22px; color: var(--blue); text-transform: uppercase; font-size: .76rem; letter-spacing: .16em; font-weight: 800; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 42px; height: 2px; background: var(--lime); }
.hero h1 { max-width: 840px; margin: 0; font-size: clamp(3.8rem, 7vw, 7.3rem); line-height: .98; letter-spacing: -.065em; font-weight: 800; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-copy { max-width: 690px; margin: 30px 0 0; color: #d0dfea; font-size: clamp(1.05rem, 1.4vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 54px; padding: 14px 22px; border-radius: 4px; font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: var(--ink); }
.button-primary:hover { background: #b9ee19; }
.button-ghost { border: 1px solid rgba(255,255,255,.36); background: rgba(7,26,46,.2); }
.button-ghost:hover { border-color: white; }
.hero-proof { display: flex; gap: 0; margin-top: 68px; border-top: 1px solid var(--line); max-width: 750px; }
.hero-proof div { width: 33.333%; padding: 22px 26px 0 0; }
.hero-proof strong { display: block; font-size: 1rem; color: white; }
.hero-proof span { display: block; margin-top: 4px; color: var(--muted); font-size: .84rem; }
.scroll-cue { position: absolute; z-index: 2; right: 34px; bottom: 34px; writing-mode: vertical-rl; font-size: .76rem; text-transform: uppercase; letter-spacing: .18em; color: #dce8f0; }
.scroll-cue span { color: var(--lime); margin-top: 10px; }

.intro { background: #f1f6f8; color: var(--ink); }
.intro-grid { display: grid; grid-template-columns: .38fr 1fr; gap: 80px; align-items: start; }
.intro h2, .section-heading h2, .approach h2, .contact h2 { margin: 0; letter-spacing: -.045em; line-height: 1.08; font-size: clamp(2.5rem, 4vw, 4.5rem); }
.intro-grid > div > p { max-width: 760px; margin: 26px 0 0; font-size: 1.18rem; color: #3a5265; }

.solutions { background: var(--ink); }
.section-heading { display: grid; grid-template-columns: .38fr 1fr; gap: 80px; margin-bottom: 70px; }
.section-heading h2 { max-width: 850px; }
.solution { display: grid; grid-template-columns: 1.06fr .94fr; min-height: 670px; margin-top: 34px; border: 1px solid var(--line); background: #09213a; overflow: hidden; }
.solution-media { position: relative; min-height: 590px; overflow: hidden; }
.solution-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,18,34,.45), transparent 50%); }
.solution-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.solution:hover .solution-media img { transform: scale(1.035); }
.solution-number { position: absolute; z-index: 2; left: 28px; bottom: 24px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 800; }
.solution-content { padding: 68px 62px; display: flex; flex-direction: column; justify-content: center; }
.solution-label { color: var(--blue); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.solution h3 { margin: 15px 0 22px; max-width: 510px; font-size: clamp(2.2rem, 3.4vw, 3.6rem); letter-spacing: -.05em; line-height: 1.04; }
.solution-content > p:not(.solution-label) { color: var(--muted); margin: 0; font-size: 1.04rem; }
.feature-list { list-style: none; padding: 0; margin: 34px 0; border-top: 1px solid var(--line); }
.feature-list li { display: flex; gap: 17px; padding: 14px 0; border-bottom: 1px solid var(--line); color: #dae6ed; }
.feature-list span { color: var(--lime); font-size: .78rem; font-weight: 800; padding-top: 3px; }
.text-link { width: fit-content; color: white; font-weight: 800; border-bottom: 1px solid var(--lime); padding-bottom: 6px; }
.text-link span { color: var(--lime); margin-left: 8px; }

.logic-band { padding: 46px 0; background: var(--lime); color: var(--ink); }
.logic-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 28px; }
.logic-grid div { text-align: center; }
.logic-grid span { font-size: 1.3rem; font-weight: 800; }
.logic-grid p { margin: 3px 0 0; font-size: .87rem; }
.logic-grid i { font-size: 1.8rem; font-style: normal; opacity: .5; }

.approach { background: #f1f6f8; color: var(--ink); }
.approach-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.approach-intro > p:last-child { color: #486173; max-width: 600px; margin-top: 24px; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid #c7d4dc; }
.steps li { display: grid; grid-template-columns: 62px 1fr; gap: 20px; padding: 27px 0; border-bottom: 1px solid #c7d4dc; }
.steps > li > span { color: #0b80c4; font-weight: 800; }
.steps h3 { margin: 0; font-size: 1.35rem; }
.steps p { margin: 5px 0 0; color: #526a7b; }

.audience { background: #06182a; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.audience article { min-height: 280px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience article > span { color: var(--lime); font-size: .8rem; font-weight: 800; }
.audience h3 { margin: 56px 0 12px; font-size: 1.5rem; }
.audience p { margin: 0; color: var(--muted); }

.contact { background: var(--ink); }
.contact-card { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; padding: 70px; background: linear-gradient(135deg, #0c3154, #081e35); border: 1px solid rgba(44,157,228,.4); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.contact-card > div:first-child > p:last-child { max-width: 690px; color: var(--muted); margin-top: 24px; }
.contact-actions .button { width: 100%; }
.contact-actions p { color: var(--muted); font-size: .9rem; margin-top: 24px; }
.contact-actions p a { color: white; border-bottom: 1px solid var(--lime); }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); background: #06172a; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 30px; color: var(--muted); font-size: .82rem; }
.footer-grid img { width: 210px; }
.footer-grid p:nth-child(2) { text-align: center; }
.footer-grid p:last-child { text-align: right; }

.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  :root { --page: min(100% - 36px, 720px); }
  .section-pad { padding: 82px 0; }
  .site-header { height: 72px; padding-inline: 18px; }
  .brand img { width: 210px; }
  .menu-toggle { display: block; cursor: pointer; }
  .site-nav { position: fixed; left: 0; right: 0; top: 72px; display: none; padding: 26px 22px 34px; background: rgba(7,26,46,.98); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 18px; }
  .site-nav.open { display: flex; }
  .nav-cta { text-align: center; }
  .hero { height: auto; min-height: 850px; padding: 120px 0 70px; align-items: flex-end; }
  .hero-image { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,18,34,.96), rgba(4,18,34,.48)), linear-gradient(0deg, rgba(4,18,34,.9), transparent 45%); }
  .hero h1 { font-size: clamp(3.15rem, 13vw, 5.5rem); }
  .hero-content { padding-top: 0; }
  .hero-proof { margin-top: 48px; }
  .scroll-cue { display: none; }
  .intro-grid, .section-heading, .approach-grid, .contact-card { grid-template-columns: 1fr; gap: 32px; }
  .solution, .solution-iot { grid-template-columns: 1fr; }
  .solution-iot .solution-content { order: 2; }
  .solution-iot .solution-media { order: 1; }
  .solution-media { min-height: 520px; }
  .solution-content { padding: 48px 34px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience article { min-height: 210px; }
  .audience h3 { margin-top: 35px; }
  .contact-card { padding: 46px 34px; }
}

@media (max-width: 560px) {
  :root { --page: calc(100% - 28px); }
  .brand img { width: 175px; }
  .hero { min-height: 780px; }
  .hero h1 { letter-spacing: -.055em; }
  .hero-copy { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: 1fr; }
  .hero-proof div { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .solution-media { min-height: 400px; }
  .solution-content { padding: 40px 24px; }
  .logic-grid { grid-template-columns: 1fr; gap: 8px; }
  .logic-grid i { transform: rotate(90deg); }
  .contact-card { padding: 38px 24px; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .footer-grid p:nth-child(2), .footer-grid p:last-child { text-align: left; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
