:root {
  --bg: #070b10;
  --bg-2: #0c131b;
  --bg-3: #121b25;
  --ink: #e8eef3;
  --muted: #8d9aaa;
  --line: rgba(232, 238, 243, 0.1);
  --cyan: #3ec6f0;
  --cyan-2: #7ad8f5;
  --green: #2fa36b;
  --green-2: #4ec98a;
  --danger: #e25b4c;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --container: 1220px;
  --header: 76px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Syne", "Manrope", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 0.7em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--cyan);
  color: #041018;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.container-wide { width: min(calc(100% - 40px), 1440px); margin-inline: auto; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--cyan);
}

.lead { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cyan); color: #041018; }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.03); }
.btn-green { background: var(--green); color: #041018; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(7, 11, 16, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(calc(100% - 32px), 1440px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a,
.nav-toggle {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.nav > li > a:hover,
.nav > li:focus-within > a { color: var(--ink); }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  padding: 10px;
  background: #101820;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: none;
  max-height: 70vh;
  overflow: auto;
}
.nav > li:hover > .dropdown,
.nav > li:focus-within > .dropdown { display: grid; }
.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
}
.dropdown a:hover { background: rgba(62,198,240,.08); color: var(--ink); }
.header-cta { display: flex; gap: 8px; }
.nav-toggle, .menu-close { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; }

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,11,16,.28) 0%, rgba(7,11,16,.25) 35%, rgba(7,11,16,.88) 100%),
    radial-gradient(80% 60% at 15% 80%, rgba(62,198,240,.18), transparent 50%);
}
.topo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='800' viewBox='0 0 1400 800' fill='none'%3E%3Cpath d='M-20 620C180 520 340 700 560 610C780 520 900 680 1120 590C1280 530 1380 560 1460 600' stroke='%233ec6f0' stroke-width='1'/%3E%3Cpath d='M-20 540C200 470 380 610 600 530C820 450 980 600 1200 520C1320 480 1400 500 1460 530' stroke='%233ec6f0' stroke-width='1'/%3E%3Cpath d='M-20 460C220 410 420 540 640 460C860 380 1040 520 1260 450C1360 420 1420 430 1460 450' stroke='%232fa36b' stroke-width='1'/%3E%3C/svg%3E");
  background-size: cover;
  animation: topo-drift 28s linear infinite;
}
@keyframes topo-drift {
  from { background-position: 0 0; }
  to { background-position: 80px -30px; }
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 72px;
}
.hero-display {
  display: block;
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: .92;
  max-width: 14ch;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #d5e6ee;
  max-width: 28ch;
}
.hero-actions { margin-top: 28px; }
.hero-meta {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.hero-meta strong { display: block; color: var(--ink); font-size: 14px; font-family: var(--display); margin-bottom: 4px; }

.section { padding: 96px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); }

.trust {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding: 28px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust-item { padding-right: 16px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item span {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.service-card .media {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover img { transform: scale(1.06); }
.service-card .media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(7,11,16,.55));
  opacity: .7;
  transition: opacity .3s ease;
}
.service-card:hover .media::after { opacity: 1; }
.service-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.service-no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cyan);
  margin-bottom: 8px;
}
.service-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 15px; }
.service-card .more {
  margin-top: auto;
  color: var(--cyan);
  font-weight: 700;
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.split img, .frame img {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.frame { position: relative; }
.frame::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid rgba(62,198,240,.25);
  border-radius: 22px;
  z-index: -1;
}

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process article {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  min-height: 220px;
}
.process span {
  font-family: var(--mono);
  color: var(--green);
  font-size: 12px;
}

.equip-grid, .sector-grid, .project-grid, .blog-grid, .faq-list, .related-grid {
  display: grid;
  gap: 16px;
}
.project-grid, .blog-grid { grid-template-columns: repeat(3, 1fr); }
.equip-grid { grid-template-columns: repeat(4, 1fr); }
.equip-card, .sector-card, .blog-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.equip-card img, .blog-card img, .project-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.equip-card div, .sector-card, .blog-card .body { padding: 18px; }
.sector-grid { grid-template-columns: repeat(4, 1fr); }
.sector-card { min-height: 140px; }
.sector-card strong { display: block; font-family: var(--display); font-size: 1.2rem; margin-bottom: 6px; }
.sector-card p { color: var(--muted); font-size: 14px; margin: 0; }

.project-grid { grid-template-columns: repeat(3, 1fr); }
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 320px;
  cursor: pointer;
  border: 1px solid var(--line);
}
.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover img { transform: scale(1.05); }
.project-card .meta {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
  background: linear-gradient(180deg, transparent, rgba(7,11,16,.92));
}
.project-card small {
  font-family: var(--mono);
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.filter-btn.is-active, .filter-btn:hover { color: #041018; background: var(--cyan); border-color: var(--cyan); }

.faq-list { grid-template-columns: 1fr; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--ink);
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
}
.faq-item .answer { display: none; padding: 0 20px 18px; color: var(--muted); }
.faq-item.is-open .answer { display: block; }

.cta-band {
  background:
    linear-gradient(135deg, rgba(62,198,240,.16), rgba(47,163,107,.12)),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; }
.contact-card, .form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.form label { display: block; font-size: 13px; font-weight: 700; margin: 0 0 6px; }
.form input, .form select, .form textarea {
  width: 100%;
  background: #0a1118;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.form textarea { min-height: 120px; resize: vertical; }
.form-note { color: var(--muted); font-size: 13px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin: 22px 0 10px;
}
.breadcrumb a:hover { color: var(--cyan); }
.page-hero { padding: 28px 0 10px; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 4.2rem); max-width: 18ch; }
.page-banner {
  position: relative;
  min-height: 52vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  margin-bottom: 10px;
}
.page-banner .hero-media { position: absolute; inset: 0; }
.page-banner .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-banner .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,11,16,.25), rgba(7,11,16,.88));
}
.page-banner .page-hero { position: relative; z-index: 2; padding: 72px 0 48px; }
.prose { max-width: 76ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.8rem; }
.prose h3 { margin-top: 1.3em; font-size: 1.25rem; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 18px; list-style: disc; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }
.content-media { margin: 28px 0; }
.content-media figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; }
.related-grid { grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
.related-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: var(--bg-2);
}
.related-card:hover { border-color: rgba(62,198,240,.4); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  background: #06090d;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}
.site-footer h2, .site-footer h3 { font-size: 1rem; }
.site-footer a { color: var(--muted); display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.mobile-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.86);
  display: none;
  place-items: center;
  z-index: 60;
  padding: 24px;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; border-radius: 12px; }
.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #fff;
  color: #111;
  border: 0;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: #070b10;
    padding: 88px 24px 24px;
    overflow: auto;
    z-index: 45;
  }
  .nav.is-open .dropdown { position: static; display: grid; box-shadow: none; background: transparent; border: 0; padding: 0 0 8px 12px; }
  .nav-toggle, .menu-close { display: inline-flex; }
  .menu-close.is-open { display: inline-flex; position: fixed; top: 22px; right: 18px; z-index: 46; }
  .blog-grid, .content-two { grid-template-columns: 1fr !important; }
  .trust-grid, .service-grid, .process, .equip-grid, .sector-grid, .project-grid, .related-grid, .footer-grid, .contact-grid, .split {
    grid-template-columns: 1fr;
  }
  .service-grid, .project-grid, .related-grid, .equip-grid, .sector-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .mobile-cta { display: grid; }
  body { padding-bottom: 76px; }
}

@media (max-width: 640px) {
  .service-grid, .project-grid, .related-grid, .equip-grid, .sector-grid { grid-template-columns: 1fr; }
  .logo img { width: 138px; }
  .section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
