:root {
  --navy-950: #07111f;
  --navy-900: #0b1829;
  --navy-800: #13243a;
  --navy-700: #203752;
  --blue-600: #205da8;
  --blue-500: #2b75c9;
  --sky-100: #e7f2fc;
  --orange-600: #c84608;
  --orange-500: #f47422;
  --orange-100: #fff0e5;
  --green-600: #168258;
  --ink: #0d1826;
  --muted: #5e6c7b;
  --line: #dce4ec;
  --paper: #f6f8fb;
  --white: #fff;
  --shadow: 0 24px 70px rgba(7, 17, 31, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -80px;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy-950);
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.container { width: var(--container); margin-inline: auto; }
.section { padding: 110px 0; }
.section-sm { padding: 72px 0; }
.section-dark { color: #fff; background: var(--navy-950); }
.section-soft { background: var(--paper); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--blue-600);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 22px;
  height: 2px;
  content: "";
  background: currentColor;
}
.section-dark .eyebrow, .hero-dark .eyebrow { color: #74b7ff; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }
h1 { margin-bottom: 24px; font-size: clamp(3rem, 6.5vw, 6.1rem); }
h2 { margin-bottom: 20px; font-size: clamp(2.25rem, 4vw, 4.15rem); }
h3 { margin-bottom: 12px; font-size: clamp(1.25rem, 2vw, 1.7rem); }
.lead { max-width: 700px; color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.3rem); }
.section-dark .lead, .hero-dark .lead { color: #bdc9d6; }
.accent { color: var(--orange-500); }
.text-link { color: var(--blue-600); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(220, 228, 236, .8);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand { display: inline-flex; width: 190px; flex: 0 0 auto; }
.brand img { width: 100%; height: 58px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: #344356;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--orange-600); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--orange-600); box-shadow: 0 12px 30px rgba(232, 93, 20, .22); }
.btn-primary:hover { background: #a63804; }
.btn-dark { color: #fff; background: var(--navy-950); }
.btn-outline { color: var(--ink); background: #fff; border-color: var(--line); }
.btn-ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.mt-10 { margin-top: 10px; }
.btn svg { width: 18px; height: 18px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 82px;
  background:
    linear-gradient(rgba(32, 93, 168, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 93, 168, .055) 1px, transparent 1px),
    radial-gradient(circle at 12% 20%, rgba(43,117,201,.12), transparent 28%),
    #fff;
  background-size: 48px 48px, 48px 48px, auto, auto;
}
.hero-grid { display: grid; align-items: center; grid-template-columns: 1.02fr .98fr; gap: clamp(42px, 6vw, 86px); }
.hero h1 { max-width: 760px; }
.hero .lead { max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px 26px; margin: 28px 0 0; padding: 0; color: #455568; font-size: .9rem; font-weight: 700; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { width: 8px; height: 8px; content: ""; background: var(--green-600); border-radius: 50%; box-shadow: 0 0 0 4px rgba(22,130,88,.12); }
.hero-visual { position: relative; min-height: 590px; }
.hero-photo {
  position: absolute;
  inset: 0 0 25px 36px;
  overflow: hidden;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero-photo::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 45%, rgba(7,17,31,.62)); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; }
.hero-badge {
  position: absolute;
  z-index: 2;
  right: -12px;
  bottom: 0;
  width: min(310px, 76%);
  padding: 22px;
  color: #fff;
  background: var(--navy-950);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  box-shadow: 0 22px 50px rgba(7,17,31,.32);
}
.hero-badge small { display: block; margin-bottom: 7px; color: #79bafd; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-badge strong { display: block; font-size: 1.16rem; line-height: 1.3; }
.hero-code {
  position: absolute;
  z-index: 2;
  top: 32px;
  left: 0;
  padding: 12px 16px;
  color: var(--navy-950);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(7,17,31,.12);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .8rem;
  font-weight: 800;
}

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { min-height: 124px; padding: 25px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; margin-bottom: 5px; color: var(--navy-900); font-size: 1rem; }
.trust-item span { color: var(--muted); font-size: .88rem; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-head > div { max-width: 790px; }
.section-head p:last-child { margin-bottom: 0; }

.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.service-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  grid-column: span 4;
  padding: 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-5px); border-color: #aebed0; box-shadow: var(--shadow); }
.service-card.featured { grid-column: span 6; color: #fff; background: var(--navy-900); border-color: var(--navy-900); }
.service-card .number { color: var(--orange-600); font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.service-card h3 { margin-top: auto; }
.service-card p { margin-bottom: 22px; color: var(--muted); }
.service-card.featured p { color: #b9c7d7; }
.service-card .arrow { color: var(--blue-600); font-weight: 900; }
.service-card.featured .arrow { color: #7dbdff; }
.service-card .line-art {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 92px;
  height: 92px;
  opacity: .12;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.service-card .line-art::before, .service-card .line-art::after { position: absolute; content: ""; background: currentColor; }
.service-card .line-art::before { width: 2px; height: 122px; left: 44px; top: -16px; transform: rotate(42deg); }
.service-card .line-art::after { width: 122px; height: 2px; left: -16px; top: 44px; transform: rotate(-18deg); }

.proof-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 22px; }
.project-main, .project-side { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.project-main { min-height: 670px; }
.project-stack { display: grid; gap: 22px; }
.project-side { min-height: 324px; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover img { transform: scale(1.025); }
.project-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 38%, rgba(7,17,31,.88)); }
.project-copy { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 32px; color: #fff; }
.project-copy small { color: #8bc7ff; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.project-copy h3 { margin: 8px 0; font-size: clamp(1.5rem, 2.7vw, 2.6rem); }
.project-copy p { max-width: 580px; margin: 0; color: #d4dde7; }
.project-main img { object-position: 50% 35%; }
.project-telecom img { object-position: 50% 20%; }
.project-climate img { object-position: 50% 45%; }

.method-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.method-list { display: grid; gap: 0; }
.method-step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.method-step:first-child { padding-top: 0; }
.method-step .step { display: grid; width: 46px; height: 46px; place-items: center; color: var(--orange-500); border: 1px solid rgba(255,255,255,.18); border-radius: 50%; font-weight: 900; }
.method-step h3 { margin-bottom: 7px; font-size: 1.25rem; letter-spacing: -.025em; }
.method-step p { margin: 0; color: #aebdcd; }

.commerce-box { display: grid; align-items: center; grid-template-columns: 1fr .8fr; gap: 56px; padding: 60px; background: var(--orange-100); border: 1px solid #ffd8bd; border-radius: var(--radius-lg); }
.commerce-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 26px 0; padding: 0; list-style: none; }
.commerce-list li { display: flex; gap: 10px; color: #5a4436; font-weight: 700; }
.commerce-list li::before { content: "✓"; color: var(--green-600); font-weight: 900; }
.commerce-visual { padding: 28px; color: #fff; background: var(--navy-950); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.commerce-visual .spec-row { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.commerce-visual .spec-row:last-child { border-bottom: 0; }
.commerce-visual span { color: #9fb0c2; }

.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 24px 44px 24px 0; cursor: pointer; font-size: 1.08rem; font-weight: 800; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; right: 4px; top: 25px; content: "+"; color: var(--orange-600); font-size: 1.5rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding: 0 44px 24px 0; color: var(--muted); }

.contact-wrap { display: grid; grid-template-columns: .76fr 1.24fr; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-copy { padding: 54px; color: #fff; background: var(--navy-950); }
.contact-copy p { color: #b5c3d2; }
.contact-list { display: grid; gap: 18px; margin-top: 38px; }
.contact-list a, .contact-list span { display: flex; align-items: start; gap: 12px; color: #fff; text-decoration: none; }
.contact-list small { display: block; color: #8ca0b5; }
.contact-form { padding: 54px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-group { display: grid; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
label { color: #354558; font-size: .86rem; font-weight: 800; }
input, select, textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: #fff; border: 1px solid #cbd6e1; border-radius: 10px; outline: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(43,117,201,.12); }
textarea { min-height: 120px; resize: vertical; }
.check-row { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .82rem; }
.check-row input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .78rem; }
.form-status { min-height: 24px; margin: 12px 0 0; color: var(--green-600); font-size: .88rem; font-weight: 800; }
.hp-field { position: absolute !important; left: -10000px !important; }

.page-hero { padding: 90px 0 74px; color: #fff; background: var(--navy-950); }
.page-hero-grid { display: grid; align-items: center; grid-template-columns: 1fr .72fr; gap: 70px; }
.page-hero h1 { max-width: 850px; font-size: clamp(3rem, 6vw, 5.8rem); }
.page-hero .hero-image { min-height: 460px; overflow: hidden; border-radius: var(--radius-lg); }
.page-hero .hero-image img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 26px; color: #8da2b8; font-size: .85rem; }
.breadcrumbs a { color: #c3d2e1; text-decoration: none; }
.service-details { display: grid; grid-template-columns: 1fr .72fr; gap: 70px; }
.bullet-list { display: grid; gap: 14px; padding: 0; list-style: none; }
.bullet-list li { position: relative; padding-left: 28px; color: #46566a; }
.bullet-list li::before { position: absolute; left: 0; content: "✓"; color: var(--orange-600); font-weight: 900; }
.sticky-quote { position: sticky; top: 108px; padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
.aside-image { margin: 14px 0 22px; border-radius: 14px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.capability { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.capability small { color: var(--orange-600); font-weight: 900; }

.site-footer { padding: 65px 0 24px; color: #c4d0dc; background: #050c15; }
.footer-grid { display: grid; grid-template-columns: 1.1fr repeat(3, .7fr); gap: 46px; }
.footer-brand img { width: 190px; height: 60px; object-fit: contain; }
.footer-brand p { max-width: 370px; margin-top: 18px; color: #8fa0b2; }
.footer-col h3 { margin-bottom: 17px; color: #fff; font-size: .86rem; letter-spacing: .09em; text-transform: uppercase; }
.footer-col a { display: block; margin: 10px 0; color: #aab8c6; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 46px; padding-top: 22px; color: #77899a; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
.footer-bottom-compact { margin-top: 0; }
.privacy-content { max-width: 820px; }
.page-center-dark { display: grid; min-height: 100vh; place-items: center; text-align: center; }
.centered-lead { margin-inline: auto; }
.centered-actions { justify-content: center; }


[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: .86rem; }
  .header-actions .btn-outline { display: none; }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 540px; }
  .method-grid, .faq-grid, .contact-wrap, .service-details { grid-template-columns: 1fr; gap: 48px; }
  .proof-grid { grid-template-columns: 1fr; }
  .project-main { min-height: 550px; }
  .project-stack { grid-template-columns: repeat(2, 1fr); }
  .commerce-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.2fr repeat(2, 1fr); }
  .footer-grid .footer-col:last-child { grid-column: 2; }
  .sticky-quote { position: static; }
}

@media (max-width: 780px) {
  :root { --container: min(100% - 28px, 680px); }
  .section { padding: 78px 0; }
  .site-header { backdrop-filter: blur(12px); }
  .nav-wrap { min-height: 68px; }
  .brand { width: 156px; }
  .brand img { height: 48px; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed;
    inset: 68px 0 auto;
    display: grid;
    max-height: 0;
    gap: 0;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: max-height .3s ease;
  }
  .main-nav.is-open { max-height: 420px; padding: 12px 20px 22px; }
  .main-nav a { padding: 13px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .hero { padding: 64px 0 60px; }
  .hero-visual { min-height: 480px; }
  .hero-photo { inset: 0 0 30px 16px; }
  .hero-code { top: 18px; }
  .hero-badge { right: 0; padding: 18px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-head { display: block; }
  .section-head .btn { margin-top: 14px; }
  .service-card, .service-card.featured { min-height: 300px; grid-column: span 12; }
  .project-stack { grid-template-columns: 1fr; }
  .project-main { min-height: 520px; }
  .commerce-box { padding: 34px 24px; }
  .commerce-list, .form-grid, .capability-grid { grid-template-columns: 1fr; }
  .contact-copy, .contact-form { padding: 36px 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid .footer-col:last-child { grid-column: auto; }
  .footer-bottom { display: grid; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  h2 { font-size: 2.35rem; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 430px; }
  .hero-photo { left: 0; }
  .hero-code { display: none; }
  .trust-item { min-height: 110px; padding: 20px 15px; }
  .project-copy { padding: 24px; }
  .project-main { min-height: 460px; }
  .project-side { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-grid .footer-col:last-child { grid-column: auto; }
}

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