/* ============ CYBERG — shared stylesheet ============ */
:root {
  --red: #C10016;
  --red-deep: #8a000f;
  --red-soft: #e8414f;
  --navy: #192839;
  --navy-deep: #0f1a27;
  --navy-light: #26384d;
  --steel: #7195BD;
  --blue2: #B2C9DD;
  --charcoal: #393D47;
  --gray2: #545859;
  --text: #141414;
  --white: #FFFFFF;
  --bg: #FAFAF8;
  --bg-alt: #F3F3F0;
  --border: #E5E5E0;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --font: 'Montserrat', Arial, sans-serif;
  --font-body: 'Lato', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* Grid overlay */
body.show-grid::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  background-image:
    linear-gradient(to right, rgba(193,0,22,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(193,0,22,.06) 1px, transparent 1px);
  background-size: calc(100%/12) 80px;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  background: rgba(250,250,248,.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, padding .3s;
}
.nav.scrolled { padding: 10px 0; background: rgba(255,255,255,.95); border-bottom-color: var(--border); }
.nav-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 2px; align-items: center; position: relative; }
.nav-links > a, .nav-item > button {
  padding: 10px 16px; font-size: 13px; font-weight: 600;
  color: var(--charcoal); letter-spacing: .01em;
  border-radius: 6px; transition: background .2s, color .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-links > a:hover, .nav-item > button:hover { background: var(--bg-alt); color: var(--navy); }
.nav-links > a.active { color: var(--red); }
.nav-item { position: relative; }
.nav-item > button svg { transition: transform .2s; }
.nav-item:hover > button svg { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  min-width: 260px;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.2);
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 10;
}
.nav-item:hover .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-dropdown a {
  display: flex; gap: 14px; padding: 12px 14px;
  border-radius: 8px; transition: background .15s;
  align-items: flex-start;
}
.nav-dropdown a:hover { background: var(--bg-alt); }
.nav-dropdown .dd-ic {
  width: 32px; height: 32px; flex: none;
  background: var(--bg-alt); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
}
.nav-dropdown .dd-ic svg { width: 16px; height: 16px; }
.nav-dropdown .dd-title {
  font-size: 13px; font-weight: 700; color: var(--navy);
  letter-spacing: -.005em;
}
.nav-dropdown .dd-desc {
  font-family: var(--font-body);
  font-size: 12px; color: var(--gray2);
  margin-top: 2px; line-height: 1.4;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; background: var(--navy); color: var(--white);
  font-size: 13px; font-weight: 700; border-radius: 6px;
  transition: background .2s, transform .1s;
}
.nav-cta:hover { background: var(--red); }
.nav-cta:active { transform: translateY(1px); }
.hamburger { display: none; width: 28px; height: 28px; flex-direction: column; justify-content: center; gap: 5px; }
.hamburger span { height: 2px; background: var(--navy); border-radius: 2px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  font-family: var(--font);
  font-size: 14px; font-weight: 700;
  letter-spacing: .01em;
  border-radius: 8px;
  transition: all .2s;
  cursor: pointer;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(193,0,22,.5); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--red); }
.btn-light { background: var(--navy); color: var(--white); }
.btn-light:hover { background: var(--red); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============ HELPERS ============ */
.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--steel);
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(113,149,189,.3);
  border-radius: 100px;
  background: rgba(25,40,57,.4);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.2);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

.section-head {
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px;
  align-items: end;
  margin-bottom: 64px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.section-navy .section-head { border-bottom-color: rgba(255,255,255,.1); }
.section-head .tag {
  font-family: var(--mono); font-size: 12px; color: var(--red);
  letter-spacing: .12em; text-transform: uppercase; padding-bottom: 6px;
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
  max-width: 720px;
}
.section-head .meta {
  font-family: var(--mono); font-size: 11px;
  color: var(--gray2); letter-spacing: .08em;
}
.section-navy .section-head .meta { color: rgba(255,255,255,.5); }

/* ============ INNER-PAGE HERO (for sub-pages) ============ */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 180px 0 100px;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(193,0,22,.18), transparent 60%),
    linear-gradient(180deg, #0f1a27, #192839);
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .crumb {
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,.5);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.page-hero .crumb a { color: rgba(255,255,255,.5); transition: color .15s; }
.page-hero .crumb a:hover { color: white; }
.page-hero .crumb .sep { opacity: .4; }
.page-hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.05;
  max-width: 900px;
  margin-bottom: 24px;
}
.page-hero h1 .accent { color: var(--red-soft); }
.page-hero p.lede {
  font-family: var(--font-body);
  font-size: 19px;
  color: rgba(255,255,255,.75);
  line-height: 1.55;
  max-width: 680px;
  margin-bottom: 36px;
}
.page-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero .hero-img-float {
  position: absolute; right: -5%; top: 20%;
  width: 45%; max-width: 560px;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.5);
  z-index: 1;
  border: 1px solid rgba(255,255,255,.08);
}
.page-hero .hero-img-float img { width: 100%; height: 100%; object-fit: cover; }

/* ============ SERVICE / OFFER GRID ============ */
.offers {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.offer {
  background: var(--white);
  padding: 36px 32px;
  grid-column: span 4;
  min-height: 280px;
  display: flex; flex-direction: column;
  transition: background .25s;
}
.offer:hover { background: var(--bg); }
.offer.big { grid-column: span 6; }
.offer.wide { grid-column: span 8; }
.offer-idx {
  font-family: var(--mono); font-size: 11px;
  color: var(--gray2); letter-spacing: .1em;
  margin-bottom: 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.offer-idx::after {
  content: ''; flex: 1;
  height: 1px; background: var(--border); margin-left: 12px;
}
.offer-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border-radius: 10px;
  margin-bottom: 20px; color: var(--red);
  transition: background .25s, color .25s;
}
.offer:hover .offer-icon { background: var(--red); color: white; }
.offer-icon svg { width: 22px; height: 22px; }
.offer h3 {
  font-size: 20px; font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.offer p {
  font-family: var(--font-body);
  font-size: 14.5px; color: var(--gray2);
  line-height: 1.6;
  flex: 1;
}

/* ============ TWO-COL CONTENT BLOCK ============ */
.two-col {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col .col-img {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
}
.two-col .col-img img { width: 100%; height: 100%; object-fit: cover; }
.two-col h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 20px;
}
.two-col .lede {
  font-family: var(--font-body);
  font-size: 17px; color: var(--gray2);
  line-height: 1.6;
  margin-bottom: 28px;
}
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li {
  display: grid; grid-template-columns: 24px 1fr; gap: 14px;
  font-size: 15px; color: var(--charcoal); line-height: 1.5;
  align-items: start;
}
.check-list li::before {
  content: ''; width: 20px; height: 20px; margin-top: 2px;
  border-radius: 6px;
  background: var(--red) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><polyline points='5 12 10 17 19 7'/></svg>") center/14px no-repeat;
}

/* ============ PROCESS STEPS ============ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.step {
  background: var(--white);
  padding: 36px 28px;
  position: relative;
}
.step-num {
  font-family: var(--mono); font-size: 11px;
  color: var(--red); letter-spacing: .1em;
  margin-bottom: 20px; font-weight: 500;
}
.step h4 {
  font-size: 18px; font-weight: 700;
  color: var(--navy); margin-bottom: 10px;
}
.step p {
  font-family: var(--font-body);
  font-size: 14px; color: var(--gray2);
  line-height: 1.55;
}

/* ============ CTA BAND ============ */
.cta-band {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; right: -200px; top: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(193,0,22,.3), transparent 60%);
  filter: blur(40px);
}
.cta-inner {
  position: relative; z-index: 2;
  padding: 100px 0;
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 80px; align-items: center;
}
.cta-inner h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.cta-inner p {
  font-family: var(--font-body);
  font-size: 18px;
  color: rgba(255,255,255,.7);
  line-height: 1.55;
  max-width: 520px;
}
.cta-right {
  background: rgba(15,26,39,.6);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 32px;
}
.cta-right h4 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.contact-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 14px;
}
.contact-row:first-of-type { border-top: none; }
.contact-row .ic {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(193,0,22,.15); color: var(--red-soft);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.contact-row .ic svg { width: 16px; height: 16px; }
.contact-row .lbl {
  font-family: var(--mono); font-size: 10.5px;
  color: rgba(255,255,255,.5);
  letter-spacing: .08em; text-transform: uppercase;
  display: block; margin-bottom: 2px;
}
.contact-row strong { font-weight: 600; letter-spacing: -.005em; }

/* ============ CONTACT FORM ============ */
.contact-info { margin-top: 32px; }
.contact-form { display: grid; gap: 16px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form .field { display: grid; gap: 6px; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label {
  font-family: var(--mono); font-size: 10.5px;
  color: rgba(255,255,255,.6); letter-spacing: .08em; text-transform: uppercase;
}
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: 14px;
  color: var(--white);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.35); }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--red-soft);
  background: rgba(255,255,255,.07);
}
.form-note {
  font-family: var(--font-body); font-size: 11.5px;
  color: rgba(255,255,255,.45); line-height: 1.5; margin-top: 2px;
}
@media (max-width: 760px) {
  .contact-form .field-row { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.7);
  padding: 72px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.foot-brand img { height: 38px; margin-bottom: 20px; }
.foot-brand p {
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.6;
  max-width: 300px; margin-bottom: 24px;
}
.foot h5 {
  color: var(--white);
  font-size: 13px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 18px;
}
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot a { font-size: 14px; transition: color .15s; }
.foot a:hover { color: var(--red-soft); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,.4); letter-spacing: .06em;
}

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
body.no-motion .reveal { opacity: 1; transform: none; transition: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .two-col, .cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .offers { grid-template-columns: repeat(6, 1fr); }
  .offer, .offer.big, .offer.wide { grid-column: span 3; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .page-hero .hero-img-float { display: none; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 0 20px; }
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .section-head .meta { display: none; }
  .offer, .offer.big, .offer.wide { grid-column: span 6; }
  .process { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { padding: 140px 0 70px; }
}
