@font-face {
  font-family: Vazir;
  src: url("../fonts/Vazir.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #171b13;
  --muted: #545a50;
  --paper: #f4f4ec;
  --card: #fcfcf7;
  --line: #dedfd4;
  --dark: #111410;
  --dark-soft: #1a1e17;
  --dark-line: #343a2e;
  --lime: #d3f568;
  --lime-light: #e6ff9e;
  --gutter: clamp(20px, 5vw, 78px);
  --header-height: 76px;
  --max-width: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-block-start: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Vazir, Tahoma, sans-serif;
  font-size: 15px;
  line-height: 1.85;
}

body, button { font-family: Vazir, Tahoma, sans-serif; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font-size: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #536825; outline-offset: 4px; }

.shell {
  width: min(calc(100% - var(--gutter) * 2), var(--max-width));
  margin-inline: auto;
}

.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 20;
  padding: 8px 18px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 6px;
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 10;
  background: var(--dark);
  color: #fbfcf4;
  border-block-end: 1px solid var(--dark-line);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
}

.brand-mark {
  position: relative;
  flex: 0 0 48px;
  height: 48px;
  overflow: hidden;
  background: #f0f1e6;
  border: 1px solid #dfe4ce;
  border-radius: 9px;
}

.brand-mark img {
  position: absolute;
  top: 3%;
  left: -12%;
  width: 111%;
  max-width: none;
  height: auto;
}
.brand-type { display: grid; line-height: 1.35; }
.brand-type strong { font-size: 25px; }
.brand-type small { color: #b7bcae; font-size: 10px; white-space: nowrap; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2.4vw, 38px);
  color: #d6dacd;
  font-size: 14px;
}

.site-nav a { padding-block: 10px; transition: color .18s ease; }
.site-nav a:hover, .back-top:hover { color: var(--lime); }

.header-call {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding-inline: 16px;
  border: 1px solid #6b7748;
  border-radius: 8px;
  color: var(--lime);
  font-size: 13px;
  transition: background .18s ease, color .18s ease;
}

.header-call i { font-size: 20px; line-height: 1; }
.header-call:hover { background: var(--lime); color: var(--ink); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #192019;
  color: #fafbf3;
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
}

.hero::before {
  background: url("../pics/hero-security.webp") center 48% / cover no-repeat;
}

.hero::after {
  background:
    linear-gradient(270deg, rgba(14, 17, 13, .99), rgba(15, 20, 14, .92) 25%, rgba(15, 20, 14, .41) 56%, rgba(12, 15, 11, .04) 100%),
    linear-gradient(0deg, rgba(13, 16, 11, .55), transparent 28%);
}

.hero-inner {
  min-height: clamp(510px, 48vw, 660px);
  display: flex;
  align-items: center;
  padding-block: 72px 88px;
}

.hero-copy { max-width: 610px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
}

.hero-location {
  color: #dbe8c5;
  margin-block-end: 22px;
}

.hero-location i { color: var(--lime); font-size: 22px; line-height: 1; }

.hero h1 {
  font-size: clamp(58px, 7.1vw, 108px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.hero h1 em { color: var(--lime); font-style: normal; }

.hero-description {
  max-width: 380px;
  margin-block-start: 25px;
  color: #dfe4d8;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 31px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  min-height: 52px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s ease, border-color .2s ease;
}

.button i, .text-link i { font-size: 22px; line-height: 1; }
.button-primary { color: var(--ink); background: var(--lime); }
.button-primary:hover { background: var(--lime-light); }
.button-ghost { background: rgba(18, 22, 16, .43); border-color: #828b78; }
.button-ghost:hover { background: #2a3224; border-color: #b1baaa; }

.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible {
  outline-color: var(--lime);
}

.trustbar {
  background: var(--dark-soft);
  color: #eef0e5;
  border-block: 1px solid var(--dark-line);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 76px;
  padding: 0;
  list-style: none;
}

.trust-items li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 12px 8px;
  font-size: 14px;
}

.trust-items li + li { border-inline-start: 1px solid var(--dark-line); }
.trust-items i { color: var(--lime); font-size: 27px; line-height: 1; }

.section { padding-block: clamp(66px, 8vw, 115px); }
.section-mark { width: 16px; height: 3px; border-radius: 2px; background: #6b8638; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.section-head .eyebrow, .process .eyebrow, .faq .eyebrow { color: #4a6226; }

h2 {
  margin-block-start: 9px;
  font-size: clamp(33px, 4vw, 58px);
  line-height: 1.31;
  letter-spacing: -.025em;
}

.service-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #e9ebdf;
}

.filter-button {
  min-height: 42px;
  padding: 5px 15px;
  border: 0;
  border-radius: 7px;
  color: #4d5545;
  background: transparent;
  font-weight: 700;
  font-size: 13px;
  transition: background .18s ease, color .18s ease;
}

.filter-button:hover { background: #dce1cd; }
.filter-button[aria-pressed="true"] { background: #28321f; color: #fbfcf4; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-block-start: 31px;
}

.service-card {
  min-height: 218px;
  padding: clamp(20px, 2.5vw, 34px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  transition: border-color .2s ease, background .2s ease;
}

.service-card:hover { border-color: #a4af8d; background: #f8faee; }

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 8px;
  color: #3a4d25;
  background: #e9f1d4;
  font-size: 27px;
  line-height: 1;
}

.service-card h3 {
  margin-block-start: 18px;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.5;
}
.service-card p { margin-block-start: 5px; max-width: 32ch; color: var(--muted); line-height: 1.9; }

.process {
  background: #e9ecdf;
  border-block: 1px solid #dadfce;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 7vw, 106px);
}

.process-photo {
  overflow: hidden;
  aspect-ratio: 1.12;
  border-radius: 14px;
  background: #242b21;
}

.process-photo img { width: 100%; height: 100%; object-fit: cover; }
.process-list { margin-block: 24px 19px; padding: 0; list-style: none; }

.process-list li {
  display: flex;
  align-items: start;
  gap: 13px;
  padding-block: 13px;
  border-block-end: 1px solid #cfd5c4;
}

.step-number {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border: 1px solid #aeb995;
  border-radius: 50%;
  color: #3b5224;
  font-weight: 700;
}

.process-list h3 { font-size: 17px; }
.process-list p { color: #4f5849; line-height: 1.8; margin-block-start: 2px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  color: #3c5626;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #9caa85;
}

.text-link:hover { text-decoration-color: currentColor; }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr);
  align-items: start;
  gap: clamp(30px, 6vw, 100px);
}

.faq-intro > p:last-child { color: var(--muted); margin-block-start: 14px; }

.questions details { border-block-start: 1px solid var(--line); }
.questions details:last-child { border-block-end: 1px solid var(--line); }

.questions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 17px;
  list-style: none;
  font-weight: 700;
}

.questions summary::-webkit-details-marker { display: none; }
.questions details p { padding-block-end: 18px; padding-inline-end: 32px; color: var(--muted); }

.faq-toggle {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 29px;
  height: 29px;
  background: #e7ebd8;
  border-radius: 50%;
}

.faq-toggle::before, .faq-toggle::after {
  content: "";
  grid-area: 1 / 1;
  width: 11px;
  height: 1px;
  background: #45572e;
}

.faq-toggle::after { transform: rotate(90deg); }
details[open] .faq-toggle::after { transform: none; }

.contact { padding-block: 0 clamp(58px, 7vw, 100px); }

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  padding: clamp(25px, 5vw, 70px);
  border: 1px solid #242e1c;
  border-radius: 16px;
  background: radial-gradient(ellipse at 86% 30%, #2e3c21, transparent 62%), #171d14;
  color: #f7faec;
}

.contact-panel .eyebrow, .contact-panel .text-link { color: var(--lime); }
.contact-panel .section-mark { background: var(--lime); }
.contact-panel h2 { font-size: clamp(31px, 4vw, 58px); }

.contact-copy address {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-block: 16px 8px;
  color: #d6deca;
  font-style: normal;
}

.contact-copy address i { font-size: 20px; color: var(--lime); }
.contact-panel :focus-visible { outline-color: var(--lime); }

.contact-methods {
  overflow: hidden;
  border: 1px solid #536048;
  border-radius: 10px;
  background: #1e271a;
}

.contact-methods a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 15px 19px;
  transition: background .18s ease;
}

.contact-methods a:focus-visible { outline-offset: -3px; }
.contact-methods a + a { border-block-start: 1px solid #48543e; }
.contact-methods a:hover { background: #2b3823; }
.contact-methods span { display: inline-flex; align-items: center; gap: 7px; color: #e1e9d8; font-size: 13px; }
.contact-methods i { color: var(--lime); font-size: 19px; line-height: 1; }
.contact-methods bdi { color: #f2f6e8; font-size: clamp(15px, 1.8vw, 21px); font-weight: 700; white-space: nowrap; }

.site-footer { padding-block: 23px; background: var(--dark); color: #e3e6dc; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.back-top { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.back-top i { font-size: 21px; line-height: 1; }

@media (max-width: 800px) {
  :root { --header-height: 66px; }

  .header-inner { grid-template-columns: 1fr auto auto; gap: 10px; }
  .header-call { grid-row: 1; grid-column: 2; padding-inline: 11px; }
  .header-call i { font-size: 18px; }
  .brand-type strong { font-size: 23px; }
  .brand-mark { flex-basis: 42px; height: 42px; }

  .menu-toggle {
    display: grid;
    grid-column: 3;
    grid-row: 1;
    place-content: center;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--dark-line);
    border-radius: 8px;
    background: transparent;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: #f2f5e8;
    transition: transform .18s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .site-nav {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding-block-end: 8px;
  }

  #site-header[data-menu-open] .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    padding: 10px var(--gutter) 17px;
    background: var(--dark);
    border-block-end: 1px solid var(--dark-line);
  }

  #site-header[data-menu-open] .site-nav a { padding: 12px 3px; }
  #site-header[data-menu-open] .site-nav a + a { border-block-start: 1px solid var(--dark-line); }
  #site-header[data-menu-open="true"] .site-nav { display: grid; gap: 0; }
  .hero::before { background-position: 28% center; }
  .hero-inner { min-height: 510px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid, .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 570px) {
  .hero::before { background-position: 24% center; }
  .hero::after {
    background:
      linear-gradient(270deg, rgba(14, 17, 13, .94), rgba(14, 17, 13, .52) 65%, rgba(14, 17, 13, .30)),
      linear-gradient(0deg, rgba(14, 17, 13, .65), transparent 50%);
  }
  .hero-inner { min-height: 490px; align-items: end; padding-block: 59px 55px; }
  .hero h1 { font-size: clamp(48px, 14vw, 72px); }
  .hero-location { margin-block-end: 16px; }
  .hero-description { margin-block-start: 17px; max-width: 325px; }
  .hero-actions { margin-block-start: 25px; gap: 8px; }
  .button { padding-inline: 13px; gap: 7px; }
  .trust-items { min-height: 77px; }
  .trust-items li { flex-direction: column; justify-content: start; gap: 4px; padding-inline: 4px; text-align: center; font-size: 11px; }
  .trust-items i { font-size: 23px; }

  .section-head { align-items: start; flex-direction: column; gap: 20px; }
  .filter-button { padding-inline: 12px; }
  .service-grid { gap: 8px; margin-block-start: 19px; }
  .service-card { min-height: 0; padding: 15px; }
  .service-icon { width: 41px; height: 41px; font-size: 24px; }
  .service-card h3 { margin-block-start: 12px; font-size: 17px; }
  .service-card p { font-size: 13px; }

  .process-grid { grid-template-columns: 1fr; gap: 27px; }
  .process-photo { aspect-ratio: 1.37; }
  .questions details p { padding-inline-end: 0; }
  .contact-methods a { padding-inline: 12px; }
}

@media (max-width: 360px) {
  .header-call span { display: none; }
  .header-call { min-width: 44px; }
  .hero h1 { font-size: 46px; }
  .hero-actions .button { padding-inline: 9px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card p { max-width: none; }
  .filter-button { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
