:root {
        color-scheme: light dark;
        --blue: #0b4fd6;
        --blue-deep: #07337f;
        --blue-bright: #2e7cf6;
        --navy: #081c3d;
        --ink: #101c30;
        --muted: #4d5c74;
        --bg: #ffffff;
        --bg-soft: #eef3fb;
        --bg-card: #ffffff;
        --line: #d9e2f0;
        --accent: #f5a800;
        --on-blue: #ffffff;
        --shadow: 0 18px 40px -18px rgba(8, 28, 61, .35);
      }
      @media (prefers-color-scheme: dark) {
        :root {
          --ink: #eaf0fa;
          --muted: #a7b6cf;
          --bg: #060f22;
          --bg-soft: #0a1a38;
          --bg-card: #0c1e40;
          --line: #22365e;
          --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
        }
      }
      * { box-sizing: border-box; }
      html { scroll-behavior: smooth; }
      body {
        margin: 0;
        font-family: "Public Sans", "Vazirmatn", system-ui, -apple-system, "Segoe UI", sans-serif;
        background: var(--bg);
        color: var(--ink);
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
      }
      img { max-width: 100%; display: block; }
      a { color: inherit; }
      .wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
      h1, h2, h3, .brand-word { font-family: "Archivo", "Vazirmatn", "Public Sans", sans-serif; }

      /* ---------- header ---------- */
      header.site {
        position: sticky; top: 0; z-index: 50;
        background: color-mix(in srgb, var(--bg) 88%, transparent);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--line);
      }
      .nav {
        display: flex; align-items: center; gap: 1.5rem;
        padding: .8rem 0;
      }
      .brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-inline-end: auto; }
      .brand-mark { flex: none; }
      .brand-word { font-weight: 900; font-size: 1.28rem; letter-spacing: .02em; line-height: 1; text-transform: uppercase; }
      .brand-word span { color: var(--blue); }
      .brand small { display: block; font-family: "Public Sans", sans-serif; font-weight: 600; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }
      .nav-links { display: none; gap: 1.6rem; }
      .nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); }
      .nav-links a:hover { color: var(--blue); }
      .btn {
        display: inline-flex; align-items: center; gap: .5rem;
        font-weight: 700; font-size: .95rem; text-decoration: none;
        padding: .72rem 1.35rem; border-radius: 6px; border: 0; cursor: pointer;
        transition: transform .15s ease, background .15s ease;
      }
      .btn:active { transform: translateY(1px); }
      .btn-blue { background: var(--blue); color: var(--on-blue); }
      .btn-blue:hover { background: var(--blue-deep); }
      .btn-ghost { background: transparent; color: var(--on-blue); border: 1.5px solid rgba(255,255,255,.75); }
      .btn-ghost:hover { background: rgba(255,255,255,.12); }
      .btn-wa { background: #1faa55; color: #fff; }
      .btn-wa:hover { background: #178a44; }
      .nav .btn { padding: .6rem 1.1rem; }
      @media (min-width: 860px) { .nav-links { display: flex; } }

      /* ---------- hero ---------- */
      .hero {
        position: relative; color: #fff; isolation: isolate;
        background: var(--navy);
      }
      .hero::before {
        content: ""; position: absolute; inset: 0; z-index: -2;
        background: url("../images/hero.jpg") center 62% / cover no-repeat;
      }
      .hero::after {
        content: ""; position: absolute; inset: 0; z-index: -1;
        background: linear-gradient(100deg, rgba(5, 20, 48, .93) 30%, rgba(5, 20, 48, .62) 62%, rgba(5, 20, 48, .28));
      }
      .hero-inner { padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem); max-width: 44rem; }
      .hero .route-line {
        display: inline-flex; align-items: center; gap: .55rem;
        font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem;
        color: #bcd4ff; margin: 0 0 1.1rem;
      }
      .hero .route-line::before { content: ""; width: 2.2rem; height: 2px; background: var(--accent); }
      .hero h1 {
        margin: 0 0 1.1rem; font-weight: 900; text-transform: uppercase;
        font-size: clamp(2.5rem, 6.4vw, 4.3rem); line-height: 1.02; letter-spacing: .005em;
      }
      .hero h1 em { font-style: normal; color: var(--accent); }
      .hero p.lede { font-size: clamp(1.02rem, 2vw, 1.2rem); color: #d7e4fa; margin: 0 0 2rem; max-width: 36rem; }
      .hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
      .hero-stats {
        display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
        background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.22);
        margin-top: clamp(2.5rem, 6vw, 4rem);
      }
      .hero-stats div { background: rgba(6, 22, 50, .72); padding: 1rem 1.2rem; }
      .hero-stats b { display: block; font-family: "Archivo", sans-serif; font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
      .hero-stats span { font-size: .83rem; color: #b9cdec; }
      @media (min-width: 760px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }

      /* ---------- sections ---------- */
      section { padding: clamp(3.2rem, 7vw, 5.2rem) 0; }
      .sec-head { max-width: 42rem; margin-bottom: 2.4rem; }
      .sec-head .kicker {
        font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
        font-size: .76rem; color: var(--blue); margin: 0 0 .6rem;
        display: flex; align-items: center; gap: .55rem;
      }
      .sec-head .kicker::before { content: ""; width: 1.8rem; height: 2px; background: var(--accent); }
      .sec-head h2 { margin: 0 0 .7rem; font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; line-height: 1.15; text-transform: uppercase; }
      .sec-head p { margin: 0; color: var(--muted); }

      /* services */
      .svc-grid { display: grid; gap: 1.4rem; }
      @media (min-width: 700px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
      .svc {
        background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px;
        overflow: hidden; box-shadow: var(--shadow);
        display: flex; flex-direction: column;
      }
      .svc figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
      .svc figure img { width: 100%; height: 100%; object-fit: cover; }
      .svc figure.tall { aspect-ratio: 16 / 10; }
      .svc figure.tall img { object-position: center 30%; }
      .svc-body { padding: 1.4rem 1.5rem 1.6rem; }
      .svc-body h3 { margin: 0 0 .5rem; font-size: 1.22rem; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; display: flex; align-items: center; gap: .6rem; }
      .svc-body h3 svg { color: var(--blue); flex: none; }
      .svc-body p { margin: 0 0 .9rem; color: var(--muted); font-size: .96rem; }
      .svc-body ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
      .svc-body li {
        font-size: .8rem; font-weight: 600; color: var(--blue-deep);
        background: var(--bg-soft); border: 1px solid var(--line);
        padding: .28rem .65rem; border-radius: 999px;
      }
      @media (prefers-color-scheme: dark) { .svc-body li { color: #9dc0ff; } }

      /* steps band */
      .band { background: var(--navy); color: #e8eefb; }
      .band .sec-head h2 { color: #fff; }
      .band .sec-head p { color: #aec2e6; }
      .band .sec-head .kicker { color: #8fb4ff; }
      .steps { display: grid; gap: 1.6rem; counter-reset: step; }
      @media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
      .step { border-top: 3px solid var(--blue-bright); padding-top: 1rem; position: relative; }
      .step .num {
        font-family: "Archivo", sans-serif; font-weight: 900; font-size: 2rem;
        color: transparent; -webkit-text-stroke: 1.5px #6ea8ff; line-height: 1;
        display: block; margin-bottom: .6rem;
      }
      .step h3 { margin: 0 0 .4rem; font-size: 1.05rem; font-weight: 700; color: #fff; }
      .step p { margin: 0; font-size: .93rem; color: #aec2e6; }

      /* why / coverage */
      .split { display: grid; gap: 2.2rem; align-items: start; }
      @media (min-width: 920px) { .split { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; } }
      .split figure { margin: 0; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
      .split figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
      .check-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1rem; }
      .check-list li { display: flex; gap: .8rem; }
      .check-list svg { flex: none; margin-top: .2rem; color: var(--blue); }
      .check-list b { display: block; font-size: 1rem; }
      .check-list span { color: var(--muted); font-size: .94rem; }
      .lanes { margin-top: 1.6rem; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
      .lanes table { width: 100%; border-collapse: collapse; font-size: .94rem; }
      .lanes caption { text-align: start; font-weight: 700; padding: .9rem 1.1rem .2rem; font-family: "Archivo", sans-serif; text-transform: uppercase; letter-spacing: .04em; }
      .lanes th, .lanes td { text-align: start; padding: .65rem 1.1rem; border-top: 1px solid var(--line); vertical-align: top; }
      .lanes th { color: var(--muted); font-weight: 600; white-space: nowrap; }
      .lanes td { font-weight: 600; }

      /* quote */
      .quote { background: var(--bg-soft); }
      .quote-grid { display: grid; gap: 2.2rem; }
      @media (min-width: 920px) { .quote-grid { grid-template-columns: .9fr 1.1fr; gap: 3.5rem; } }
      .contact-rows { display: grid; gap: 1rem; margin-top: 1.6rem; }
      .contact-row { display: flex; gap: .9rem; align-items: flex-start; background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.15rem; }
      .contact-row svg { color: var(--blue); flex: none; margin-top: .15rem; }
      .contact-row b { display: block; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
      .contact-row a { font-weight: 700; text-decoration: none; font-size: 1.02rem; }
      .contact-row a:hover { color: var(--blue); }
      form.quote-form {
        background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px;
        box-shadow: var(--shadow); padding: 1.6rem;
        display: grid; gap: 1rem;
      }
      .form-row { display: grid; gap: 1rem; }
      @media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
      label { display: grid; gap: .35rem; font-size: .86rem; font-weight: 600; }
      input, select, textarea {
        font: inherit; font-size: .97rem; color: var(--ink);
        background: var(--bg); border: 1.5px solid var(--line); border-radius: 6px;
        padding: .65rem .8rem; width: 100%;
      }
      input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue-bright); outline-offset: 1px; border-color: var(--blue); }
      .form-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
      .form-note { margin: 0; font-size: .85rem; color: var(--muted); }

      /* footer */
      footer.site { background: var(--navy); color: #c6d6f2; padding: 2.6rem 0 2rem; }
      .foot { display: flex; flex-wrap: wrap; gap: 1.6rem 3rem; justify-content: space-between; align-items: flex-start; }
      footer.site .brand-word { color: #fff; }
      footer.site .brand small { color: #8fa8d4; }
      .foot nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
      .foot nav a { text-decoration: none; font-weight: 600; font-size: .93rem; }
      .foot nav a:hover { color: #fff; }
      .foot-contacts { font-size: .93rem; display: grid; gap: .3rem; }
      .foot-contacts a { text-decoration: none; }
      .foot-contacts a:hover { color: #fff; }
      .legal { border-top: 1px solid #1d3560; margin-top: 2rem; padding-top: 1.2rem; font-size: .85rem; color: #8fa8d4; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between; }

      .wa-float {
        position: fixed; inset-inline-end: 1.1rem; bottom: 1.1rem; z-index: 60;
        width: 3.4rem; height: 3.4rem; border-radius: 50%;
        background: #1faa55; color: #fff; display: grid; place-items: center;
        box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); text-decoration: none;
      }
      .wa-float:hover { background: #178a44; }
      /* ---------- language toggle / Persian (Vazirmatn) ---------- */
      .lang-toggle { display: inline-flex; flex: none; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--bg-card); }
      .lang-toggle button { font: inherit; font-size: .8rem; font-weight: 700; line-height: 1; padding: .5rem .68rem; background: transparent; color: var(--muted); border: 0; cursor: pointer; }
      .lang-toggle button[data-setlang="fa"] { font-family: "Vazirmatn", sans-serif; font-size: .88rem; }
      .lang-toggle button[aria-pressed="true"] { background: var(--blue); color: #fff; }
      html[lang="fa"] body { font-family: "Vazirmatn", "Public Sans", system-ui, sans-serif; line-height: 1.85; }
      html[lang="fa"] h1, html[lang="fa"] h2, html[lang="fa"] h3, html[lang="fa"] .brand-word,
      html[lang="fa"] .hero-stats b, html[lang="fa"] .lanes caption { font-family: "Vazirmatn", sans-serif; text-transform: none; letter-spacing: normal; }
      html[lang="fa"] .hero h1 { line-height: 1.3; }
      html[lang="fa"] .sec-head h2 { line-height: 1.4; }
      html[lang="fa"] .kicker, html[lang="fa"] .route-line, html[lang="fa"] .brand small, html[lang="fa"] .contact-row b { letter-spacing: normal; text-transform: none; }
      html[dir="rtl"] .hero::after { background: linear-gradient(260deg, rgba(5, 20, 48, .93) 30%, rgba(5, 20, 48, .62) 62%, rgba(5, 20, 48, .28)); }
      @media (max-width: 640px) {
        .nav { gap: .7rem; }
        .brand-word { font-size: 1.05rem; }
        .nav .btn { padding: .55rem .8rem; font-size: .86rem; }
        .lang-toggle button { padding: .44rem .55rem; }
      }
      @media (max-width: 470px) { .nav .btn { display: none; } }
      @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
