/* ============================================================
   NODsites — Clinical teal, quiet luxury
   ============================================================ */

:root {
  --bg: #F7FAF9;
  --bg-alt: #EBF2F0;
  --paper: #FFFFFF;
  --ink: #122B28;
  --text: #263B38;
  --text-soft: #61756F;
  --green: #0E6759;
  --green-deep: #0A4C42;
  --green-tint: #E1EEEA;
  --gold: #6E96A3;
  --line: rgba(18, 43, 40, 0.14);
  --line-soft: rgba(18, 43, 40, 0.08);
  --dark: #0C211D;
  --dark-2: #103029;
  --inv: #EFF5F2;
  --inv-soft: #9CB4AC;
  --line-dark: rgba(239, 245, 242, 0.14);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Arabic typography — no italics or letter-spacing in Arabic script */
html[lang="ar"] {
  --font-display: "Amiri", "Times New Roman", serif;
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
}
html[lang="ar"] .fancy, html[lang="ar"] em { font-style: normal; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3,
html[lang="ar"] .eyebrow, html[lang="ar"] .btn, html[lang="ar"] .link-arrow,
html[lang="ar"] .field label, html[lang="ar"] .price-label { letter-spacing: 0; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

::selection { background: var(--green); color: var(--inv); }

.container {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 420;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
  font-variation-settings: "opsz" 132;
}

h1 { font-size: clamp(3rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.3rem; line-height: 1.3; }

.fancy {
  font-style: italic;
  font-weight: 380;
  color: var(--green);
}

.eyebrow {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 2rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 30em;
}

.section { padding: clamp(6rem, 12vw, 11rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: clamp(3.5rem, 6vw, 5.5rem); }

.section-dark {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--inv);
}
.section-dark h2 { color: var(--inv); }
.section-dark .fancy { color: #A8C3AE; }
.section-dark .eyebrow { color: #A8C3AE; }
.section-dark .section-sub { color: var(--inv-soft); }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-solid {
  background: var(--green);
  color: #fff;
}
.btn-solid:hover { background: var(--green-deep); }
.btn-outline {
  background: transparent;
  color: var(--green);
  box-shadow: inset 0 0 0 1.5px var(--green);
}
.btn-outline:hover { background: var(--green-tint); }
.btn-lg { padding: 1.05rem 2.4rem; }
.btn-sm { padding: 0.62rem 1.3rem; font-size: 0.86rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--ink);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.link-arrow::after {
  content: "→";
  font-weight: 400;
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover { color: var(--green); border-color: var(--green); }
.link-arrow:hover::after { transform: translateX(4px); }

.btn:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.scrolled {
  background: rgba(250, 248, 243, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 520;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo em { font-style: italic; font-weight: 380; color: var(--green); }
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.logo-tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.site-nav a:not(.btn):hover { color: var(--ink); }

.header-tools { display: flex; align-items: center; gap: 1rem; margin-left: 1.25rem; }
[dir="rtl"] .header-tools { margin-left: 0; margin-right: 1.25rem; }
.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  background: var(--paper);
}
.lang-switch button {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active { background: var(--green); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 25px; height: 1.5px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(9rem, 16vw, 13rem);
  text-align: center;
}
.hero .eyebrow { animation: rise 0.9s var(--ease) both; }
.hero h1 {
  margin-inline: auto;
  margin-bottom: 2rem;
  animation: rise 1s 0.05s var(--ease) both;
}
.hero-sub {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: var(--text-soft);
  max-width: 34em;
  margin: 0 auto 2.75rem;
  animation: rise 1s 0.12s var(--ease) both;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  flex-wrap: wrap;
  animation: rise 1s 0.18s var(--ease) both;
}

.pulse-line {
  width: min(320px, 60%);
  height: 40px;
  margin: 2.75rem auto 0;
  color: var(--green);
  opacity: 0.55;
  animation: rise 1s 0.24s var(--ease) both;
}

.hero-stage {
  margin-top: clamp(3rem, 6vw, 5rem);
  animation: rise 1.1s 0.28s var(--ease) both;
}
.hero-stage .browser-frame {
  max-width: 880px;
  margin-inline: auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 880px;
  margin: 0 auto;
  padding: 2.25rem 0 clamp(4rem, 7vw, 6rem);
  border-top: 1px solid var(--line-soft);
  text-align: left;
}
.hero-stage .hero-stats { border-top: 0; }
.hero-stats div { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 460;
  color: var(--ink);
  line-height: 1.2;
}
.hero-stats dd { font-size: 0.9rem; color: var(--text-soft); margin-top: 0.25rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Browser mockup ---------- */

.browser-frame {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(28, 38, 32, 0.05),
    0 24px 64px -24px rgba(28, 38, 32, 0.22);
}
.browser-frame.small { box-shadow: none; border-bottom: 0; border-radius: 8px 8px 0 0; }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  background: #F4F1EA;
  border-bottom: 1px solid var(--line-soft);
}
.browser-bar .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #DDD8CC;
}
.browser-url {
  margin-inline: auto;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #877;
  color: #82806F;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 3px 22px;
  min-width: 40%;
  text-align: center;
}

.mockup-screen { background: var(--paper); color: var(--ink); text-align: left; }
.m-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line-soft);
}
.m-logo {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: 1rem;
  white-space: nowrap;
}
.m-links { display: flex; gap: 18px; margin-left: auto; }
.m-links i {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93917F;
}
.m-btn {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green);
  border-radius: 2px;
  padding: 8px 14px;
  white-space: nowrap;
}
.m-hero { display: flex; gap: 28px; padding: 34px 28px 28px; align-items: center; }
.m-hero-text { flex: 1.4; }
.m-kicker {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.m-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 420;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 9px;
}
.m-sub {
  display: block;
  font-size: 0.72rem;
  line-height: 1.6;
  color: #82806F;
  max-width: 30em;
  margin-bottom: 14px;
}
.m-cta {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green);
  border-radius: 2px;
  padding: 9px 16px;
}
.m-portrait {
  flex: 1;
  aspect-ratio: 0.95;
  max-width: 150px;
  border-radius: 6px;
  background: linear-gradient(155deg, #E5E9DE, #D2DCCC);
  color: #A3B39F;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.m-portrait svg { width: 72%; height: 72%; margin-top: 14%; }
.m-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-soft);
}
.m-card { padding: 14px 18px; border-right: 1px solid var(--line-soft); }
.m-card:last-child { border-right: 0; }
.m-card b { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 2px; }
.m-card i { font-style: normal; font-size: 0.6rem; color: #93917F; display: block; }

/* ---------- Split layout ---------- */

.split {
  display: grid;
  grid-template-columns: 5fr 6.5fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}
.split-head { position: sticky; top: 8rem; }

/* ---------- Problem ---------- */

.problem-list { list-style: none; }
.problem-list li {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding: 2.6rem 0;
  border-top: 1px solid var(--line);
}
.problem-list li:last-child { border-bottom: 1px solid var(--line); }
.problem-list .index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 380;
  color: var(--gold);
  line-height: 1.5;
  flex: none;
  min-width: 2.2rem;
}
.problem-list h3 { margin-bottom: 0.6rem; font-size: 1.45rem; }
.problem-list p { color: var(--text-soft); max-width: 30em; }

.statement {
  margin-top: clamp(5rem, 10vw, 8.5rem);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 420;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

/* ---------- What you get ---------- */

.offer-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.5rem, 4vw, 4rem) clamp(2rem, 4vw, 4rem);
}
.offer-item { border-top: 1px solid var(--line); padding-top: 1.75rem; }
.offer-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.offer-item h3 { margin-bottom: 0.7rem; }
.offer-item p { color: var(--text-soft); font-size: 0.98rem; }

/* ---------- How it works ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.5rem, 4vw, 4rem);
}
.step { border-top: 1px solid var(--line); padding-top: 2rem; }
.step-num {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border: 1px solid var(--green);
  border-radius: 50%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--green);
  margin-bottom: 1.5rem;
}
.step h3 { margin-bottom: 0.7rem; }
.step p { color: var(--text-soft); font-size: 0.98rem; }
.how-close {
  margin-top: clamp(4rem, 7vw, 6rem);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 420;
  color: var(--ink);
}

/* ---------- Portfolio ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.work-preview {
  position: relative;
  padding: 2.5rem 2.5rem 0;
  background: linear-gradient(180deg, #E7E3D7, #DFDACB);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.4s var(--ease);
}
a.work-card:hover .work-preview { transform: translateY(-4px); }
.work-preview .browser-frame { border-bottom: 0; }
.work-preview.empty {
  aspect-ratio: 4 / 3.4;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: var(--green-tint);
}
.empty-line {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 420;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
  opacity: 0.75;
}
.work-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0.25rem 0;
}
.work-meta h3 { font-size: 1.15rem; margin-bottom: 0.15rem; }
.work-meta p { color: var(--text-soft); font-size: 0.88rem; }
.work-meta .link-arrow { font-size: 0.7rem; margin-top: 0.35rem; flex: none; }

/* ---------- Clinics ---------- */

.clinic-list .index {
  font-style: normal;
  color: var(--green);
  font-size: 1.5rem;
  line-height: 1.3;
}
.clinics-cta { margin-top: 2.5rem; display: grid; gap: 1.25rem; justify-items: start; }
.clinics-note { font-size: 0.92rem; color: var(--text-soft); max-width: 26em; }

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 980px;
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(2.25rem, 4vw, 3.25rem);
}
.price-card.featured {
  border-color: var(--green);
  box-shadow: 0 24px 64px -32px rgba(14, 103, 89, 0.35);
}
.price-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 1.25rem;
}
.price { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 2rem; }
.price-amount {
  font-family: var(--font-display);
  font-size: clamp(3.75rem, 6vw, 5rem);
  font-weight: 420;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.price-amount.price-custom { font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1.2; }
.price-per { font-size: 1rem; color: var(--text-soft); }
.price-list { list-style: none; margin-bottom: 2.25rem; }
.price-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 2rem;
  font-size: 0.98rem;
  border-top: 1px solid var(--line-soft);
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem; top: 50%;
  translate: 0 -50%;
  width: 0.95rem; height: 0.95rem;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 8.5l3 3L13 4.5" fill="none" stroke="%2321503C" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / contain no-repeat;
}
.price-trust {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  text-align: center;
}

/* ---------- FAQ ---------- */

.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 440;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s ease;
}
.faq-list summary:hover { color: var(--green); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; position: relative; width: 20px; height: 20px; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--green);
  transition: transform 0.3s var(--ease);
}
.faq-icon::before { width: 14px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 14px; }
details[open] .faq-icon::after { transform: rotate(90deg); }
.faq-list details p {
  padding: 0 3rem 1.8rem 0;
  color: var(--text-soft);
  max-width: 44em;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.contact-direct { display: grid; margin-top: 2.5rem; }
.contact-chip {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem 0.25rem;
  text-decoration: none;
  color: var(--inv);
  border-top: 1px solid var(--line-dark);
  transition: padding 0.3s var(--ease);
}
.contact-chip:last-child { border-bottom: 1px solid var(--line-dark); }
.contact-chip:hover { padding-left: 0.85rem; }
.contact-chip svg { flex: none; color: #A8C3AE; }
.contact-chip span { display: grid; line-height: 1.45; }
.contact-chip strong { font-size: 1.02rem; font-weight: 600; }
.contact-chip small { color: var(--inv-soft); font-size: 0.86rem; }
.chip-arrow {
  margin-left: auto;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--inv-soft);
  transition: transform 0.3s var(--ease), color 0.3s ease;
}
.contact-chip:hover .chip-arrow { transform: translateX(5px); color: #A8C3AE; }

.contact-form {
  background: var(--paper);
  color: var(--text);
  border-radius: 8px;
  padding: clamp(1.9rem, 3vw, 2.75rem);
  display: grid;
  gap: 1.2rem;
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 440;
  color: var(--ink);
}
.field { display: grid; gap: 0.45rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 0.98rem;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.6rem 0.1rem;
  width: 100%;
  transition: border-color 0.25s ease;
}
.field select { cursor: pointer; appearance: none; -webkit-appearance: none; }
.field input::placeholder, .field textarea::placeholder { color: #ADB6B0; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-bottom-color: var(--green);
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.form-note { font-size: 0.85rem; color: var(--text-soft); text-align: center; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  padding: 3.5rem 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}
.footer-logo { font-size: 1.35rem; }
.footer-tag { font-size: 0.88rem; color: var(--text-soft); margin-top: 0.35rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 2rem; }
.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 0.84rem; color: var(--text-soft); width: 100%; }

/* ---------- RTL (Arabic) ---------- */

[dir="rtl"] .hero-stats { text-align: right; }
[dir="rtl"] .hero-stats div { border-left: 0; border-right: 1px solid var(--line); padding-left: 0; padding-right: 1.5rem; }
[dir="rtl"] .price-list li { padding: 0.85rem 2rem 0.85rem 0; }
[dir="rtl"] .price-list li::before { left: auto; right: 0.15rem; }
[dir="rtl"] .link-arrow::after { content: "←"; }
[dir="rtl"] .link-arrow:hover::after { transform: translateX(-4px); }
[dir="rtl"] .chip-arrow { transform: scaleX(-1); }
[dir="rtl"] .contact-chip:hover .chip-arrow { transform: scaleX(-1) translateX(5px); }
[dir="rtl"] .contact-chip:hover { padding-left: 0.25rem; padding-right: 0.85rem; }
[dir="rtl"] .faq-list details p { padding: 0 0 1.8rem 3rem; }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

.offer-grid .reveal.in:nth-child(2), .steps .reveal.in:nth-child(2),
.work-grid .reveal.in:nth-child(2), .problem-list .reveal.in:nth-child(2) { transition-delay: 0.12s; }
.offer-grid .reveal.in:nth-child(3), .steps .reveal.in:nth-child(3),
.work-grid .reveal.in:nth-child(3), .problem-list .reveal.in:nth-child(3) { transition-delay: 0.24s; }
.offer-grid .reveal.in:nth-child(4) { transition-delay: 0.06s; }
.offer-grid .reveal.in:nth-child(5) { transition-delay: 0.18s; }
.offer-grid .reveal.in:nth-child(6) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .split-head { position: static; }
  .offer-grid, .steps { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 1.2rem; }
  .site-nav a:not(.btn) { font-size: 0.85rem; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-header { background: rgba(250, 248, 243, 0.92); backdrop-filter: blur(14px); border-bottom-color: var(--line-soft); }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    padding: 0.75rem 1.5rem 1.5rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 0.95rem 0.25rem; font-size: 1.05rem; }
  .site-nav .btn { margin-top: 1rem; justify-content: center; padding: 1rem; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.2px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.2px) rotate(-45deg); }

  .hero { text-align: left; }
  .hero h1, .hero-sub { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; gap: 1.4rem; padding-top: 1.75rem; }

  .m-links { display: none; }
  .m-hero { flex-direction: row; padding: 24px 20px 20px; gap: 18px; }
  .m-portrait { max-width: 96px; }
  .m-cards { grid-template-columns: 1fr; }
  .m-card { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .m-card:last-child { border-bottom: 0; }

  .offer-grid, .steps, .work-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 1.12rem; }
  .faq-list details p { padding-right: 0; }
  .work-preview { padding: 1.75rem 1.75rem 0; }
}
