:root {
  --ink: #07111f;
  --ink-2: #0a1829;
  --panel: #0d1e31;
  --line: rgba(176, 211, 235, 0.14);
  --text: #f3f8fc;
  --muted: #9bafc2;
  --cyan: #44d9ff;
  --blue: #427dff;
  --violet: #7c6cff;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  width: min(calc(100% - 48px), var(--max));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: "Space Grotesk", sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.19em; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(68,217,255,.33); border-radius: 11px; background: rgba(68,217,255,.06); }
.brand-mark svg { width: 25px; height: 25px; fill: none; stroke: var(--cyan); stroke-width: 4.5; stroke-linecap: round; }
.brand-mark svg circle { fill: var(--violet); stroke: none; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: .86rem; font-weight: 600; }
.main-nav > a:not(.nav-cta) { color: #bdcad5; transition: color .2s ease; }
.main-nav > a:hover { color: var(--cyan); }
.nav-cta { padding: 10px 17px; border: 1px solid rgba(68,217,255,.3); border-radius: 9px; background: rgba(68,217,255,.06); }
.nav-cta span { margin-left: 6px; color: var(--cyan); }
.menu-button { display: none; border: 0; background: none; color: white; }

.hero {
  min-height: 700px;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 54px;
  position: relative;
  padding: 84px 0 106px;
}
.hero::before { content: ""; position: absolute; left: -50vw; right: -50vw; top: -93px; bottom: 0; z-index: -3; background-image: linear-gradient(rgba(82,129,176,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(82,129,176,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); }
.hero-glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(85px); opacity: .2; z-index: -2; }
.hero-glow-one { width: 430px; height: 430px; right: -120px; top: 80px; background: var(--blue); }
.hero-glow-two { width: 220px; height: 220px; left: -80px; top: 120px; background: var(--violet); opacity: .12; }
.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 10px; color: var(--cyan); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow > span { width: 28px; height: 1px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(3.4rem, 6vw, 5.85rem); line-height: .98; letter-spacing: -.055em; font-weight: 600; }
h1 em, .closing h2 em { color: transparent; font-style: normal; background: linear-gradient(90deg, var(--cyan), #92a8ff 75%); -webkit-background-clip: text; background-clip: text; }
.hero-intro { max-width: 620px; color: #adbdca; font-size: 1.08rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; margin: 34px 0 41px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 50px; padding: 0 22px; border-radius: 9px; font-size: .86rem; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #02101c; background: linear-gradient(100deg, var(--cyan), #7cc8ff); box-shadow: 0 14px 40px rgba(68,217,255,.14); }
.button-primary:hover { box-shadow: 0 16px 42px rgba(68,217,255,.24); }
.button-secondary { color: #dbe7ef; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.button-secondary:hover { border-color: rgba(68,217,255,.35); }
.trust-line { display: flex; flex-wrap: wrap; gap: 22px; color: #758da3; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.trust-line span { display: inline-flex; align-items: center; gap: 8px; }
.trust-line span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.hero-visual { position: relative; }
.visual-frame { position: relative; aspect-ratio: 1 / 1; border: 1px solid rgba(98,177,232,.17); border-radius: 34px; padding: 10px; background: linear-gradient(145deg, rgba(68,217,255,.08), rgba(124,108,255,.02)); transform: perspective(1200px) rotateY(-4deg); box-shadow: 0 35px 100px rgba(0,0,0,.35); }
.visual-frame::after { content: ""; position: absolute; inset: -14px; z-index: -1; border: 1px solid rgba(68,217,255,.08); border-radius: 41px; }
.visual-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 25px; opacity: .94; }
.signal-card { position: absolute; display: flex; align-items: center; gap: 12px; min-width: 170px; padding: 13px 16px; border: 1px solid rgba(147,202,235,.2); border-radius: 13px; background: rgba(7,17,31,.82); box-shadow: 0 18px 45px rgba(0,0,0,.3); backdrop-filter: blur(15px); }
.signal-card-top { top: 12%; right: -7%; }
.signal-card-bottom { bottom: 9%; left: -8%; }
.signal-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; color: var(--cyan); background: rgba(68,217,255,.1); font-size: 1.5rem; }
.signal-card small, .signal-card strong { display: block; }
.signal-card small { color: #6e889d; font-size: .58rem; letter-spacing: .15em; }
.signal-card strong { font-size: .78rem; }
.pulse-dot { width: 12px; height: 12px; margin: 10px; border-radius: 50%; background: #53f1b8; box-shadow: 0 0 0 7px rgba(83,241,184,.08), 0 0 18px rgba(83,241,184,.55); }
.scroll-cue { position: absolute; left: 0; bottom: 27px; display: flex; align-items: center; gap: 13px; color: #546d82; font-size: .61rem; font-weight: 700; letter-spacing: .19em; writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 37px; background: linear-gradient(var(--cyan), transparent); }

.section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 116px 0; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 70px; margin-bottom: 55px; }
.section h2 { margin-bottom: 0; font-size: clamp(2.5rem, 4.5vw, 4.3rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 600; }
.section-heading > p, .approach-intro > p:last-child { margin: 0 0 7px; color: var(--muted); max-width: 510px; }
.services { border-top: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 335px; padding: 30px; position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.service-card:hover { z-index: 2; transform: translateY(-5px); background: var(--panel); border-color: rgba(68,217,255,.28); }
.service-card.featured { background: linear-gradient(160deg, rgba(68,217,255,.11), rgba(66,125,255,.025)); }
.service-number { position: absolute; right: 25px; top: 21px; color: #425a70; font-family: "Space Grotesk"; font-size: .68rem; }
.service-icon { width: 52px; height: 52px; margin-bottom: 35px; display: grid; place-items: center; border: 1px solid rgba(68,217,255,.18); border-radius: 13px; background: rgba(68,217,255,.045); }
.service-icon svg { width: 29px; height: 29px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: 13px; font-size: 1.2rem; }
.service-card p { margin: 0; color: #8fa4b7; font-size: .88rem; }
.card-link { position: absolute; left: 30px; right: 30px; bottom: 25px; display: flex; justify-content: space-between; color: var(--cyan); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.service-cta { display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(145deg, rgba(66,125,255,.15), rgba(124,108,255,.11)); }
.service-cta .eyebrow { margin-bottom: auto; }
.service-cta h3 { font-size: 1.65rem; line-height: 1.2; }
.service-cta a { color: var(--cyan); font-size: .8rem; font-weight: 700; }

.approach { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; border-top: 1px solid var(--line); }
.approach-intro .eyebrow { margin-bottom: 27px; }
.approach-intro h2 { margin-bottom: 25px; }
.steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 55px 1fr; gap: 22px; padding: 24px 5px; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--cyan); font-family: "Space Grotesk"; font-size: .72rem; }
.steps h3 { margin: -4px 0 6px; font-size: 1.32rem; }
.steps p { margin: 0; color: var(--muted); font-size: .9rem; }

.about { padding-top: 60px; }
.about-card { min-height: 410px; display: grid; grid-template-columns: .72fr 1.28fr; overflow: hidden; border: 1px solid rgba(68,217,255,.17); border-radius: 30px; background: radial-gradient(circle at 10% 15%, rgba(68,217,255,.13), transparent 38%), linear-gradient(130deg, #0b2135, #0a1528 70%); }
.about-mark { display: grid; place-items: center; color: #dff9ff; font: 600 clamp(8rem, 18vw, 16rem)/1 "Space Grotesk"; letter-spacing: -.12em; opacity: .95; text-shadow: 0 0 60px rgba(68,217,255,.24); border-right: 1px solid var(--line); }
.about-mark span { color: var(--cyan); }
.about-copy { padding: 70px clamp(38px, 7vw, 90px); align-self: center; }
.about-copy h2 { margin-bottom: 29px; font-size: clamp(2.35rem, 4vw, 3.8rem); }
.about-copy > p:not(.eyebrow) { color: #a9bac8; max-width: 650px; }
.about-copy strong { color: var(--text); }

.closing { text-align: center; padding: 145px 0 150px; }
.closing .eyebrow { justify-content: center; }
.closing h2 { margin: 0 auto 40px; font-size: clamp(3rem, 6.3vw, 6.3rem); }
footer { width: min(calc(100% - 48px), var(--max)); min-height: 110px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; border-top: 1px solid var(--line); color: #6f8496; font-size: .74rem; }
footer > p:nth-child(2) { color: #c7d3dc; letter-spacing: .08em; }
footer > p:last-child { text-align: right; }

.inner-page {
  min-height: calc(100vh - 202px);
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 90px 0 115px;
  position: relative;
}
.inner-page::before { content: ""; position: absolute; left: -50vw; right: -50vw; top: -93px; height: 630px; z-index: -2; background-image: linear-gradient(rgba(82,129,176,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(82,129,176,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, #000 25%, transparent 100%); }
.page-intro { max-width: 760px; margin-bottom: 60px; }
.page-intro h1 { margin-bottom: 22px; font-size: clamp(3.3rem, 6vw, 5.8rem); }
.page-intro > p:last-child { max-width: 650px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.contact-layout { display: grid; grid-template-columns: 1.16fr .84fr; gap: 22px; align-items: start; }
.contact-panel { border: 1px solid var(--line); border-radius: 25px; background: linear-gradient(145deg, rgba(18,40,63,.86), rgba(9,23,39,.9)); box-shadow: 0 26px 75px rgba(0,0,0,.18); }
.form-panel { padding: clamp(30px, 5vw, 58px); }
.form-panel h2, .details-panel h2 { margin-bottom: 8px; font-size: clamp(1.85rem, 3vw, 2.55rem); }
.panel-intro { margin: 0 0 32px; color: var(--muted); font-size: .93rem; }
.contact-form { display: grid; gap: 19px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; gap: 8px; }
.field label { color: #d9e6ee; font-size: .78rem; font-weight: 700; letter-spacing: .045em; }
.field input, .field select, .field textarea { width: 100%; min-height: 51px; padding: 13px 15px; color: var(--text); border: 1px solid rgba(176,211,235,.17); border-radius: 9px; outline: none; background: rgba(3,13,24,.58); font: inherit; font-size: .9rem; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 145px; resize: vertical; }
.field select { color-scheme: dark; }
.field input::placeholder, .field textarea::placeholder { color: #587086; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(68,217,255,.75); box-shadow: 0 0 0 3px rgba(68,217,255,.08); }
.contact-form .button { border: 0; width: max-content; min-width: 170px; cursor: pointer; }
.contact-form .button:disabled { cursor: wait; opacity: .7; }
.form-status { min-height: 24px; margin: -4px 0 0; color: var(--muted); font-size: .8rem; }
.form-status.success { color: #68edbc; }
.form-status.error { color: #ff9f9f; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.details-panel { overflow: hidden; }
.details-content { padding: clamp(30px, 5vw, 48px); }
.contact-details { display: grid; margin: 32px 0 0; }
.contact-item { display: grid; grid-template-columns: 43px 1fr; gap: 16px; padding: 21px 0; border-top: 1px solid var(--line); }
.contact-item-icon { width: 43px; height: 43px; display: grid; place-items: center; color: var(--cyan); border: 1px solid rgba(68,217,255,.2); border-radius: 11px; background: rgba(68,217,255,.05); }
.contact-item-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-item small, .contact-item strong { display: block; }
.contact-item small { margin-bottom: 3px; color: #667f94; font-size: .64rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-item strong, .contact-item a { color: #e3edf4; font-size: .88rem; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--cyan); }
.consultation-card { padding: 38px; background: radial-gradient(circle at 92% 10%, rgba(68,217,255,.22), transparent 38%), linear-gradient(140deg, #12314d, #142240); border-top: 1px solid rgba(68,217,255,.14); }
.consultation-card .eyebrow { margin-bottom: 17px; }
.consultation-card h3 { margin-bottom: 11px; font-size: 1.65rem; line-height: 1.22; }
.consultation-card p { margin: 0 0 24px; color: #a9bbca; font-size: .87rem; }
.consultation-card .button { min-height: 46px; }
.blank-page { min-height: 100vh; background: var(--ink); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 30px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .approach { gap: 55px; }
  .about-card { grid-template-columns: .55fr 1.45fr; }
}

@media (max-width: 760px) {
  .site-header { width: min(calc(100% - 32px), var(--max)); height: 76px; }
  .menu-button { width: 42px; height: 42px; display: grid; place-content: center; gap: 7px; cursor: pointer; }
  .menu-button span { width: 23px; height: 1.5px; background: #e9f4fb; transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: absolute; left: 0; right: 0; top: 76px; display: none; padding: 24px; flex-direction: column; align-items: stretch; gap: 18px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 15px 15px; background: rgba(7,17,31,.98); backdrop-filter: blur(18px); }
  .main-nav.open { display: flex; }
  .hero { width: min(calc(100% - 32px), var(--max)); grid-template-columns: 1fr; min-height: unset; padding: 68px 0 105px; }
  h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .hero-visual { width: 90%; margin: 15px auto 0; }
  .signal-card-top { right: -4%; }
  .signal-card-bottom { left: -4%; }
  .scroll-cue { display: none; }
  .section { width: min(calc(100% - 32px), var(--max)); padding: 85px 0; }
  .section-heading, .approach { grid-template-columns: 1fr; gap: 32px; }
  .section-heading { margin-bottom: 40px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 285px; }
  .about { padding-top: 25px; }
  .about-card { grid-template-columns: 1fr; }
  .about-mark { min-height: 235px; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-copy { padding: 46px 28px; }
  footer { width: min(calc(100% - 32px), var(--max)); padding: 38px 0; grid-template-columns: 1fr; gap: 7px; }
  footer > p { margin: 0; }
  footer > p:last-child { text-align: left; }
  .inner-page { width: min(calc(100% - 32px), var(--max)); padding: 68px 0 90px; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .trust-line { align-items: flex-start; flex-direction: column; gap: 10px; }
  .visual-frame { border-radius: 23px; }
  .visual-frame img { border-radius: 16px; }
  .signal-card { min-width: 145px; padding: 10px 12px; }
  .signal-card strong { font-size: .7rem; }
  .service-card { padding: 26px; }
  .field-row { grid-template-columns: 1fr; }
  .form-panel, .details-content, .consultation-card { padding: 28px 22px; }
  .contact-form .button { width: 100%; }
}

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