:root {
  --ink: #071421;
  --navy: #0c2238;
  --panel: #12304c;
  --line: rgba(255, 255, 255, 0.14);
  --lime: #d6ff4a;
  --lime-ink: #172000;
  --mint: #8dffe4;
  --paper: #f4f7f5;
  --card: #ffffff;
  --text: #122033;
  --muted: #5d6c7b;
  --danger: #b42318;
  --shadow: 0 18px 50px rgba(7, 20, 33, 0.12);
  --radius: 22px;
  --header: 76px;
  --header-bg: #f7f7f7;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  font-size: 1.05rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 0.6rem; }
p { margin: 0 0 0.9rem; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--header-bg);
  color: var(--text);
  border-bottom: 1px solid rgba(7, 20, 33, 0.08);
  box-shadow: none;
}
.header-bar { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: 1.25rem; }
.logo-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
}
.site-header .logo-shell {
  background: var(--header-bg);
}
.site-footer .logo-shell {
  margin-bottom: 12px;
}
.logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(200px, 48vw);
  object-fit: contain;
}
.site-footer .logo-img {
  height: 46px;
  max-width: 180px;
}
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--text); font-weight: 600; font-size: 0.98rem; }
.site-nav a:not(.btn):hover { color: var(--navy); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border-radius: 999px;
  font-weight: 700; border: 1px solid transparent; cursor: pointer; font-family: var(--font); font-size: 1rem;
}
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.site-nav .nav-cta {
  min-height: 42px;
  padding: 0 16px;
  background: var(--lime);
  color: var(--lime-ink);
}
.site-nav .nav-cta:hover {
  filter: brightness(1.05);
}

.hero {
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(7,20,33,.88) 0%, rgba(7,20,33,.45) 55%, rgba(7,20,33,.2) 100%),
    url("https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat,
    #0c2238;
  padding: 72px 0 64px;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--lime); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 16px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--lime); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 14ch; }
.hero-lead { max-width: 38rem; font-size: 1.2rem; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 180px)); gap: 18px; margin-top: 56px; }
.hero-stats strong { display: block; font-family: var(--display); font-size: 1.7rem; }
.hero-stats span { color: rgba(255,255,255,.72); font-size: 0.92rem; }

.section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.muted { color: var(--muted); }
.dark { background: var(--ink); color: #fff; }
.dark .muted { color: rgba(255,255,255,.72); }

.pillar-grid, .app-grid, .why-grid, .project-grid, .split, .footer-grid { display: grid; gap: 18px; }
.pillar-grid { grid-template-columns: 1.15fr .85fr; }
.pillar {
  min-height: 340px; border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  background-size: cover; background-position: center; position: relative; overflow: hidden;
}
.pillar::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,20,33,.1), rgba(7,20,33,.82)); }
.pillar > * { position: relative; }
.pillar h3 { font-size: 2rem; }
.pillar-a { background-image: url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1400&q=80"); }
.pillar-b { background-image: url("https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1400&q=80"); }
.link-arrow { color: var(--lime); font-weight: 700; }

.app-grid { grid-template-columns: repeat(4, 1fr); }
.app-card, .why-card, .project-card, .panel {
  background: var(--card); border-radius: 18px; padding: 22px; box-shadow: var(--shadow);
}
.app-card { min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #e6ece8; transition: transform .2s ease; }
.app-card:hover { transform: translateY(-4px); }
.app-card h3 { font-size: 1.25rem; }
.icon-pill {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: #eef8d8; color: #243000; font-weight: 800; font-family: var(--display);
}

.why-grid { grid-template-columns: repeat(4, 1fr); }
.why-card { background: #10283f; color: #fff; border: 1px solid var(--line); box-shadow: none; }
.why-card span { color: var(--lime); font-family: var(--display); font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step { background: #fff; border-radius: 18px; padding: 22px 18px; border: 1px solid #e6ece8; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; color: #7a8b3a; font-family: var(--display); font-weight: 700; margin-bottom: 12px;
}
.step h3 { font-size: 1.15rem; }

.project-grid { grid-template-columns: 1.2fr .8fr .8fr; }
.project-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.project-card img { height: 210px; width: 100%; object-fit: cover; }
.project-card div { padding: 20px 22px 22px; }
.tag { display: inline-block; background: #eef8d8; color: #243000; border-radius: 999px; padding: 4px 10px; font-size: 0.82rem; font-weight: 700; margin-bottom: 10px; }
.project-card.featured img { height: 280px; }

.band {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.band-visual {
  min-height: 360px; border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(214,255,74,.2), transparent 40%),
    url("https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=1400&q=80") center/cover;
}

.cta {
  background: linear-gradient(120deg, #10283f, #0c2238 55%, #16381f);
  color: #fff; border-radius: 28px; padding: 42px; display: flex; justify-content: space-between; gap: 24px; align-items: center;
}
.cta h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 16ch; }

.page-hero { background: var(--ink); color: #fff; padding: 72px 0 56px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 16ch; }
.page-hero p { max-width: 40rem; color: rgba(255,255,255,.78); font-size: 1.15rem; }

.detail-list { display: grid; gap: 16px; }
.detail {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px;
  background: #fff; border-radius: 18px; padding: 24px; border: 1px solid #e6ece8;
}
.detail h2 { font-size: 1.5rem; }
.spec { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.spec span { background: var(--paper); border-radius: 999px; padding: 6px 10px; font-size: 0.88rem; font-weight: 600; }

.split { grid-template-columns: 1fr 1fr; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 12px 0 12px 28px; border-bottom: 1px solid #e6ece8; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 18px; width: 12px; height: 12px; border-radius: 4px; background: var(--lime); box-shadow: inset 0 0 0 2px #243000; }

.form {
  background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 0.92rem; }
input, select, textarea {
  width: 100%; border: 1px solid #d5ded8; border-radius: 12px; padding: 12px 14px;
  font: inherit; background: #fbfcfb; color: var(--text);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid #c6e35a; border-color: transparent; }
.field-error { color: var(--danger); font-weight: 600; font-size: 0.85rem; }
.success {
  background: #eef8d8; border: 1px solid #d3ea8a; border-radius: 16px; padding: 16px 18px; margin-bottom: 16px;
}

.site-footer {
  background: var(--header-bg);
  color: var(--muted);
  padding-top: 56px;
  border-top: 1px solid rgba(7, 20, 33, 0.08);
}
.footer-grid { grid-template-columns: 1.4fr .8fr .8fr 1fr; padding-bottom: 36px; }
.site-footer h2 { font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }
.site-footer a { display: block; margin: 8px 0; color: var(--text); font-weight: 600; }
.site-footer a:not(.btn):hover { color: var(--navy); }
.site-footer p { color: var(--muted); }
.footer-legal { font-size: 0.82rem; line-height: 1.45; margin-top: 12px; }
.footer-contact { margin-top: 14px; }
.footer-contact a { display: block; margin: 6px 0; font-weight: 600; color: var(--text); }
.footer-contact a:hover { color: var(--navy); }
.footer-address { font-size: 0.92rem; line-height: 1.5; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.site-footer .btn { display: inline-flex; margin-top: 8px; }
.footer-base {
  border-top: 1px solid rgba(7, 20, 33, 0.08);
  padding: 16px 0 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--muted);
}
.footer-base a { display: inline; margin: 0; font-weight: 600; }
.logo-light { color: var(--text); }

@media (max-width: 980px) {
  .pillar-grid, .app-grid, .why-grid, .project-grid, .band, .split, .footer-grid, .steps, .detail { grid-template-columns: 1fr 1fr; }
  .steps, .detail, .footer-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header);
    background: var(--header-bg); padding: 12px 20px 20px; flex-direction: column; align-items: flex-start; gap: 14px;
    border-bottom: 1px solid rgba(7, 20, 33, 0.1);
    box-shadow: 0 12px 24px rgba(7, 20, 33, 0.08);
  }
  .site-nav.is-open { display: flex; }
  .hero-stats, .app-grid, .why-grid, .pillar-grid, .form-row, .band, .split { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { min-height: auto; }
}
