:root {
  --primary: #0d4f23;
  --primary-2: #166534;
  --accent: #22c55e;
  --mint: #dcfce7;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #dbe4ee;
  --canvas: #f8fafc;
  --card: #ffffff;
  --amber: #b45309;
  --amber-bg: #fffbeb;
  --blue: #0f766e;
  --shadow: 0 24px 55px rgba(15, 23, 42, 0.11);
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--canvas);
  font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Site Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 252, 0.93);
  border-bottom: 1px solid rgba(203, 213, 225, 0.75);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 14px 24px rgba(13, 79, 35, 0.22);
}

.brand-mark svg { width: 25px; height: 25px; }
.brand span { display: block; line-height: 1.05; }
.brand small { display: block; color: var(--muted); font-weight: 700; font-size: 11px; margin-top: 3px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active { color: var(--primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--primary); box-shadow: 0 16px 24px rgba(13, 79, 35, 0.18); }
.btn-primary:hover { background: #0a421d; }
.btn-secondary { color: var(--primary); background: #fff; border-color: var(--line); }
.btn-light { color: var(--ink); background: #fff; border-color: rgba(255, 255, 255, 0.3); }

/* ── Layout ── */

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-tight { padding: 56px 0; }
.section-title { max-width: 780px; margin-bottom: 34px; }
.eyebrow { color: var(--primary-2); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.1; letter-spacing: 0; }
h1 { font-size: clamp(42px, 6vw, 74px); margin-bottom: 22px; }
h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
h3 { font-size: 21px; margin-bottom: 10px; }
.lead { font-size: 18px; color: #475569; max-width: 700px; }
.muted { color: var(--muted); }

/* ── Hero ── */

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 41, 21, 0.92) 0%, rgba(13, 79, 35, 0.78) 45%, rgba(15, 23, 42, 0.28) 100%),
    url("https://images.unsplash.com/photo-1601758175576-648226072e90?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--canvas));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0 120px;
}

.hero h1, .hero .lead { color: #fff; }
.hero .lead { color: #e2e8f0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 36px; }

.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
  padding: 12px 15px;
  border-radius: var(--radius);
  background: #07140d;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.12);
}

.store-btn svg { width: 25px; height: 25px; flex: 0 0 auto; }

.store-btn span {
  display: block;
  font-size: 11px;
  line-height: 1.05;
  color: #cbd5e1;
  font-weight: 700;
}

.store-btn strong {
  display: block;
  margin-top: 2px;
  line-height: 1.1;
  font-size: 16px;
  color: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  max-width: 650px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
}

.hero-stats div { padding: 18px; border-right: 1px solid rgba(255, 255, 255, 0.14); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { display: block; color: #fff; font-size: 24px; line-height: 1; }
.hero-stats span { color: #dbeafe; font-size: 13px; font-weight: 700; }

/* ── Banner ── */

.banner {
  background: var(--ink);
  color: #e2e8f0;
}

.banner .section {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.banner strong { color: #fff; }

/* ── Grids & Cards ── */

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.card.featured {
  background: var(--primary);
  color: #dcfce7;
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.card.featured h3 { color: #fff; }

.icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--mint);
  margin-bottom: 18px;
}

.icon svg { width: 25px; height: 25px; stroke-width: 2.2; }

/* ── Split layout ── */

.split {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.visual {
  min-height: 470px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.08)),
    url("https://images.unsplash.com/photo-1528698827591-e19ccd7bc23d?auto=format&fit=crop&w=1200&q=80") center/cover;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

/* ── Workflow steps ── */

.workflow {
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.step {
  position: relative;
  padding: 24px 24px 24px 78px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

/* ── Page hero (inner pages) ── */

.page-hero {
  background:
    linear-gradient(90deg, rgba(13, 79, 35, 0.94), rgba(13, 79, 35, 0.72)),
    url("https://images.unsplash.com/photo-1580674285054-bed31e145f59?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #fff;
}

.page-hero .section { padding: 92px 0; }
.page-hero h1, .page-hero .lead { color: #fff; }

/* ── Service list ── */

.service-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #475569;
}

.service-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

/* ── Quote / contact panel ── */

.quote-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

label { display: block; color: var(--ink); font-size: 13px; font-weight: 800; margin-bottom: 8px; }

input, select, textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  background: #fff;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

textarea { min-height: 118px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-row { margin-bottom: 16px; }

/* ── Callout ── */

.callout {
  background: var(--amber-bg);
  border-left: 5px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px;
  color: #78350f;
}

/* ── Logo tiles ── */

.logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.logo-tile {
  min-height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-weight: 900;
}

/* ── Footer ── */

.footer {
  background: #07140d;
  color: #cbd5e1;
  padding: 62px 0 28px;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer h3 { color: #fff; font-size: 16px; }
.footer a { display: block; color: #cbd5e1; margin: 8px 0; font-size: 14px; }
.footer a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 13px;
  color: #94a3b8;
}

/* ── Legal pages ── */

.legal-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 72px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 72px);
}

.legal-header {
  border-bottom: 5px solid var(--primary);
  padding-bottom: 34px;
  margin-bottom: 38px;
}

.legal-header h1 {
  color: var(--primary);
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 18px;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 22px;
  font-size: 14px;
}

.legal-meta p { margin: 0; overflow-wrap: anywhere; }
.legal-meta strong { color: var(--ink); }

.legal-section { margin-bottom: 42px; }

.legal-section h2 {
  color: var(--primary);
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
  font-size: 26px;
  margin-bottom: 18px;
}

.legal-section h3 {
  color: var(--primary-2);
  font-size: 19px;
  margin: 26px 0 12px;
}

.legal-section p { margin-bottom: 18px; }
.legal-section ul { margin: 0 0 22px 24px; padding: 0; }
.legal-section li { margin-bottom: 10px; }

.legal-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.legal-table th {
  background: #f8fafc;
  color: var(--primary);
}

.danger-note {
  background: #fef2f2;
  border-left: 5px solid #dc2626;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px;
  color: #7f1d1d;
}

.policy-search {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 30px;
}

.policy-search input { flex: 1; min-width: 260px; }

/* ── Responsive ── */

@media (max-width: 900px) {
  .menu-toggle { display: inline-grid; place-items: center; }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.open { display: flex; }
  .nav-actions .btn { display: none; }
  .grid-2, .grid-3, .grid-4, .split, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .hero-stats div:last-child { border-bottom: 0; }
  .form-grid, .logos { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 62px 0; }
  .hero-inner { padding: 64px 0 96px; }
  h1 { font-size: 40px; }
  .card, .quote-panel { padding: 22px; }
  .brand small { display: none; }
}