:root {
  --bg: #05070a;
  --bg-2: #0a0f14;
  --bg-3: #11181f;
  --bg-4: #172028;
  --blue: #00b4e6;
  --blue-dim: #0789b0;
  --blue-glow: rgba(0, 180, 230, 0.22);
  --green: #3a9b45;
  --green-2: #7cbf4a;
  --text: #eef4f8;
  --muted: #8b9aa8;
  --faint: #5d6b78;
  --line: rgba(0, 180, 230, 0.14);
  --line-2: rgba(255, 255, 255, 0.06);
  --danger: #e85d4c;
  --radius: 4px;
  --max: 1200px;
  --wide: 1440px;
  --header-h: 76px;
  --font-d: "Syne", system-ui, sans-serif;
  --font-b: "Outfit", system-ui, sans-serif;
  --font-m: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { 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(--font-d); letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 650; }
p { margin: 0 0 1em; color: var(--muted); }
p strong { color: var(--text); font-weight: 560; }

.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--blue); color: #041018; padding: 8px 14px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.wrap-wide { width: min(var(--wide), calc(100% - 40px)); margin-inline: auto; }

.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(5, 7, 10, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line-2);
}
.header-inner {
  width: min(var(--wide), calc(100% - 40px));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--muted);
  padding: 8px 12px; border-radius: 2px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.header-cta { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.header-cta .btn-ghost { white-space: nowrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border-radius: 2px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
  cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #031018; }
.btn-primary:hover { background: #33c6ef; }
.btn-green { background: var(--green); color: #06140a; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-wa { background: #128c4a; color: #fff; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); width: 44px; height: 44px; border-radius: 2px;
}
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); margin: 4px auto; }

.hero {
  position: relative; min-height: min(92vh, 860px);
  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(5,7,10,.35) 0%, rgba(5,7,10,.2) 30%, rgba(5,7,10,.92) 100%),
    radial-gradient(60% 50% at 80% 20%, rgba(0,180,230,.18), transparent 60%);
}
.topo {
  position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cpath fill='none' stroke='%2300b4e6' stroke-width='.6' d='M0 40c40 0 40 40 80 40s40-40 80-40 40 40 80 40M0 120c40 0 40 40 80 40s40-40 80-40 40 40 80 40M0 200c40 0 40 40 80 40s40-40 80-40 40 40 80 40'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; padding: 0 0 72px; width: min(var(--wide), calc(100% - 40px)); margin-inline: auto; }
.kicker {
  font-family: var(--font-m); font-size: 0.72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.hero h1 { max-width: 16ch; }
.hero .lede { max-width: 46ch; font-size: 1.12rem; color: #c5d2dc; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta {
  margin-top: 40px; display: flex; flex-wrap: wrap; gap: 28px;
  font-family: var(--font-m); font-size: 0.75rem; color: var(--faint); letter-spacing: .08em; text-transform: uppercase;
}
.hero-meta b { display: block; color: var(--text); font-size: 0.95rem; letter-spacing: 0; text-transform: none; font-family: var(--font-b); margin-top: 4px; }

.section { padding: 88px 0; position: relative; }
.section-head { display: grid; grid-template-columns: auto 1fr; gap: 18px 24px; align-items: end; margin-bottom: 40px; }
.num {
  font-family: var(--font-m); color: var(--blue); font-size: 0.8rem; letter-spacing: .18em;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { width: 100%; height: 420px; object-fit: cover; border: 1px solid var(--line); }
.frame { position: relative; }
.frame::before, .frame::after {
  content: ""; position: absolute; width: 28px; height: 28px; border: 1px solid var(--blue); z-index: 1; pointer-events: none;
}
.frame::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }

.feature-plankote {
  background: linear-gradient(180deg, #07131a 0%, #05070a 100%);
  border-block: 1px solid var(--line);
}
.feature-plankote .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.feature-plankote h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.feature-plankote p { font-size: 1.05rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--bg-2); border: 1px solid var(--line-2); padding: 24px 22px;
  transition: border-color .2s, transform .2s var(--ease);
}
.card:hover { border-color: var(--blue); transform: translateY(-3px); }
.card h3 { font-size: 1.15rem; }
.card p { font-size: 0.95rem; margin-bottom: 0; }
.card .more { display: inline-block; margin-top: 14px; color: var(--blue); font-size: 0.88rem; font-weight: 600; }

.process { counter-reset: step; }
.process ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.process li {
  display: grid; grid-template-columns: 72px 1fr; gap: 18px;
  padding: 22px 0; border-bottom: 1px solid var(--line-2);
}
.process li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-m); color: var(--blue); font-size: 1.1rem; padding-top: 4px;
}

.district-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.district-grid a {
  display: block; padding: 16px 14px; background: var(--bg-2); border: 1px solid var(--line-2);
  font-weight: 600; font-size: 0.95rem;
}
.district-grid a span { display: block; font-weight: 400; color: var(--faint); font-size: 0.75rem; margin-top: 4px; }
.district-grid a:hover { border-color: var(--blue); color: var(--blue); }

.faq details {
  border-bottom: 1px solid var(--line-2); padding: 16px 0;
}
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-family: var(--font-m); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 8px; }

.cta-band {
  background:
    radial-gradient(50% 80% at 10% 50%, var(--blue-glow), transparent 60%),
    var(--bg-3);
  border-block: 1px solid var(--line);
  padding: 72px 0; text-align: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 52ch; margin: 0 auto 24px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.form { display: grid; gap: 12px; }
.form label { font-size: 0.82rem; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-2); padding: 12px 14px; border-radius: 2px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 1px solid var(--blue); border-color: var(--blue); }
.form textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--faint); }

.footer { border-top: 1px solid var(--line-2); padding: 56px 0 28px; background: #04060a; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer h2 { font-size: 0.78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); font-family: var(--font-m); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 8px 0; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line-2); padding-top: 18px; color: var(--faint); font-size: 0.82rem; }

.crumbs { padding: 18px 0 0; font-size: 0.82rem; color: var(--faint); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #3a4650; }
.crumbs a { color: var(--muted); }
.page-hero { padding: 36px 0 48px; }
.page-hero h1 { max-width: 18ch; }
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { color: var(--muted); padding-left: 1.2em; }
.prose li { margin: 0.4em 0; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.gallery img { width: 100%; height: 220px; object-fit: cover; }
.gallery figure:first-child { grid-row: span 2; }
.gallery figure:first-child img { height: 450px; }
.gallery figcaption { font-size: 0.75rem; color: var(--faint); margin-top: 6px; }

.equip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.equip div { padding: 22px; border: 1px solid var(--line-2); background: var(--bg-2); }
.equip h3 { font-size: 1rem; }

.toc {
  position: sticky; top: calc(var(--header-h) + 16px);
  font-size: 0.88rem; color: var(--muted);
}
.toc a { display: block; padding: 6px 0; border-left: 1px solid var(--line-2); padding-left: 12px; }
.toc a:hover { color: var(--blue); border-left-color: var(--blue); }
.layout-toc { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 0.82rem; padding: 6px 10px; border: 1px solid var(--line); color: var(--muted); }

.float-cta {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: flex; flex-direction: column; gap: 8px;
}
.float-cta a {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 700;
}
.float-cta .wa { background: #128c4a; }
.float-cta .call { background: var(--blue); color: #041018; }

.notice {
  font-size: 0.8rem; color: var(--faint); border: 1px dashed var(--line); padding: 10px 12px; margin: 16px 0;
}

@media (max-width: 1100px) {
  .header-cta .btn-ghost { display: none; }
}

@media (max-width: 1024px) {
  .split, .feature-plankote .wrap, .contact-grid, .layout-toc, .footer-grid { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; gap: 12px; overflow: auto; }
  .toc a { border: 0; white-space: nowrap; }
  .grid-4, .equip { grid-template-columns: repeat(2, 1fr); }
  .district-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-row: auto; }
  .gallery figure:first-child img, .gallery img, .split img { height: 240px; }
}

@media (max-width: 760px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .header.nav-open .nav {
    display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #070b10; padding: 16px; border-bottom: 1px solid var(--line);
  }
  .menu-toggle { display: block; }
  .grid-3, .grid-4, .equip, .district-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 78vh; }
  .section { padding: 56px 0; }
  .float-cta { right: 10px; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}
