:root {
  --ink: #16231d;
  --muted: #5d6b64;
  --paper: #fbfcf8;
  --line: #dfe7db;
  --green: #2f6f4f;
  --green-dark: #1d4f38;
  --gold: #c99638;
  --blue: #1e6079;
  --soft: #eef5ec;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(30, 60, 44, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.14rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

.main-nav a:hover { color: var(--green-dark); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 1.3rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  min-height: calc(100vh - 72px);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(42px, 6vw, 86px) clamp(18px, 4vw, 72px) 34px;
  background: linear-gradient(110deg, #f8fbf4 0%, #edf5ec 52%, #f8f3e7 100%);
}

.hero h1,
.page-hero h1,
.page-title h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.25rem, 5.6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p,
.page-title p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--green);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.ghost {
  color: var(--green-dark);
  background: var(--white);
}

.hero-image {
  width: min(620px, 100%);
  margin-left: auto;
  filter: drop-shadow(0 22px 32px rgba(37, 61, 45, 0.18));
}

.quick-links,
.status-panel,
.content-band,
.service-list,
.guide-list,
.post-grid,
.testimonial-grid,
.pricing-grid,
.policy {
  padding: clamp(48px, 7vw, 88px) clamp(18px, 4vw, 72px);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
}

.section-heading h2,
.split h2,
.content-band h2,
.page-title h1 + p {
  margin-top: 0;
}

.doc-grid,
.post-grid,
.testimonial-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.doc-card,
.post-card,
.testimonial-grid article,
.pricing-grid article,
.person-card,
.request-form,
.status-card,
.service-list article,
.guide-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(29, 79, 56, 0.06);
}

.doc-card {
  display: grid;
  gap: 8px;
  min-height: 158px;
  padding: 22px;
  text-decoration: none;
}

.doc-card span,
.post-card span {
  color: var(--blue);
  font-weight: 800;
  font-size: 0.85rem;
}

.doc-card strong {
  font-size: 1.35rem;
}

.doc-card small,
.status-card p,
.post-card p,
.pricing-grid p,
.testimonial-grid p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: start;
  padding: clamp(48px, 7vw, 96px) clamp(18px, 4vw, 72px);
  background: #f1f6ef;
}

.steps {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.steps li {
  display: grid;
  gap: 2px;
  padding-left: 18px;
  border-left: 4px solid var(--gold);
}

.steps span { color: var(--muted); }

.request-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.request-form h3 { margin: 0; font-size: 1.4rem; }

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
}

label small {
  color: var(--muted);
  font-weight: 400;
}

.check-row {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 400;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  background: var(--paper);
}

.form-result {
  border-radius: 8px;
  padding: 14px;
  background: #e8f4ee;
  color: var(--green-dark);
}

.form-result a {
  display: inline-block;
  margin: 8px 10px 0 0;
  font-weight: 800;
}

.status-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.status-card { padding: 22px; }

.status-card span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--white);
  background: var(--muted);
  font-weight: 800;
}

.status-card.active span { background: var(--green); }

.text-link {
  color: var(--green-dark);
  font-weight: 800;
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 430px);
  gap: 32px;
  align-items: center;
  padding: clamp(42px, 6vw, 80px) clamp(18px, 4vw, 72px);
  background: linear-gradient(110deg, #f7faf3 0%, #eef6ed 100%);
}

.page-title {
  padding: clamp(44px, 7vw, 84px) clamp(18px, 4vw, 72px) 28px;
}

.text-block {
  max-width: 860px;
}

.team-grid,
.service-list,
.guide-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.service-list,
.guide-list { margin-top: 0; }

.person-card,
.service-list article,
.guide-list article,
.post-card,
.testimonial-grid article,
.pricing-grid article {
  padding: 24px;
}

.service-list h2,
.guide-list h2,
.post-card h2,
.pricing-grid h2 {
  margin-top: 0;
}

.post-card a { font-weight: 800; color: var(--green-dark); }

.testimonial-grid article {
  border-left: 5px solid var(--gold);
}

.pricing-grid .featured {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.price {
  margin: 10px 0;
  color: var(--green-dark);
  font-size: 2rem;
  font-weight: 900;
}

.policy {
  max-width: 930px;
}

.policy h1 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1; }

.client-area {
  padding: clamp(28px, 5vw, 72px) clamp(18px, 4vw, 72px) clamp(56px, 7vw, 92px);
}

.client-area.two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.client-dashboard {
  display: grid;
  gap: 22px;
}

.lookup-form {
  max-width: 520px;
}

.order-summary,
.download-box,
.history-box,
.admin-order,
.admin-head {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(29, 79, 56, 0.06);
}

.order-summary,
.download-box,
.history-box,
.admin-order,
.admin-head {
  padding: 24px;
}

.status-track.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.status-track.compact .status-card {
  min-height: 120px;
}

.history-box {
  display: grid;
  gap: 14px;
}

.history-box article,
.client-order {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.history-box article span,
.client-order span {
  color: var(--muted);
  font-size: 0.9rem;
}

.client-order {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.client-order details {
  grid-column: 1 / -1;
}

.inline-request {
  box-shadow: 0 10px 28px rgba(29, 79, 56, 0.06);
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-list {
  display: grid;
  gap: 18px;
}

.admin-order {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.admin-update {
  display: grid;
  gap: 12px;
}

.notice {
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 700;
}

.notice.success {
  background: #e8f4ee;
  color: var(--green-dark);
}

.notice.error {
  background: #fff0e8;
  color: #8c3d1d;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 32px clamp(18px, 4vw, 72px);
  color: #eaf1ea;
  background: #173326;
}

.site-footer a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.site-footer p { margin: 6px 0; color: #cbd9d0; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }

  .main-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: flex; }

  .hero,
  .split,
  .page-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-image,
  .page-hero img {
    margin: 0 auto;
  }

  .doc-grid,
  .status-track,
  .status-track.compact,
  .team-grid,
  .service-list,
  .guide-list,
  .post-grid,
  .testimonial-grid,
  .pricing-grid,
  .client-area.two-columns,
  .admin-order {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .site-header { padding-inline: 14px; }

  .brand { font-size: 1rem; }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero h1,
  .page-hero h1,
  .page-title h1 {
    font-size: 2.35rem;
  }

  .doc-grid,
  .status-track,
  .status-track.compact,
  .team-grid,
  .service-list,
  .guide-list,
  .post-grid,
  .testimonial-grid,
  .pricing-grid,
  .client-area.two-columns,
  .client-order,
  .admin-order,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .request-form .button {
    width: 100%;
  }
}
