:root {
  --ink: #14201a;
  --ink-soft: #3a4a42;
  --paper: #f4f7f5;
  --paper-2: #e7efe9;
  --foam: #ffffff;
  --emerald: #0f6b4c;
  --emerald-deep: #084533;
  --copper: #b86b2d;
  --sand: #d9c4a0;
  --ocean: #1a5f6e;
  --line: rgba(20, 32, 26, 0.12);
  --shadow: 0 24px 60px rgba(8, 40, 28, 0.14);
  --radius: 18px;
  --font-display: "Fraunces", "Noto Naskh Arabic", Georgia, serif;
  --font-body: "Manrope", "Vazirmatn", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(184, 107, 45, 0.12), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(26, 95, 110, 0.14), transparent 32%),
    linear-gradient(180deg, #eef5f1 0%, var(--paper) 42%, #f7faf8 100%);
  font-family: var(--font-body);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--emerald-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--copper);
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 245, 0.86);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand span {
  color: var(--emerald);
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--emerald);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--ocean));
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 107, 76, 0.28);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 18px 36px rgba(15, 107, 76, 0.36);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: min(92vh, 920px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 28, 22, 0.78) 0%, rgba(8, 28, 22, 0.42) 48%, rgba(8, 28, 22, 0.2) 100%),
    linear-gradient(0deg, rgba(8, 28, 22, 0.72), transparent 48%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 7rem 0 4.5rem;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.hero p {
  margin: 0 0 1.6rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.section {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 4.2rem 0;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  max-width: 42rem;
  color: var(--ink-soft);
}

.prose {
  max-width: 46rem;
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 2.4rem 0 0.9rem;
}

.prose h2 {
  font-size: clamp(1.55rem, 2.6vw, 2rem);
}

.prose h3 {
  font-size: 1.25rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.prose ul {
  padding-inline-start: 1.2rem;
}

.figure {
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.figure figcaption {
  padding: 0.85rem 1rem 1rem;
  background: var(--foam);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.cta-band {
  margin: 1rem auto 0;
  width: min(100% - 2rem, var(--max));
  border-radius: 28px;
  padding: clamp(1.6rem, 4vw, 2.8rem);
  background:
    linear-gradient(135deg, rgba(15, 107, 76, 0.95), rgba(26, 95, 110, 0.92)),
    url("../images/cta-texture.jpg") center/cover;
  color: #fff;
  display: grid;
  gap: 1rem;
  align-items: center;
}

.cta-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.cta-band p {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.9);
}

.grid-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.post-card {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.post-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.post-card .body {
  padding: 1.1rem 1.15rem 1.3rem;
}

.post-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
}

.post-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  background: #10231c;
  color: rgba(255, 255, 255, 0.86);
}

.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2.6rem 0 2rem;
  display: grid;
  gap: 1.4rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
}

.socials {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.socials a {
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 600;
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.legal {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.page-hero {
  padding: 4.5rem 0 1rem;
}

.page-hero h1 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
}

.lang-note {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--copper);
  font-weight: 700;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s ease forwards;
}

.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@media (max-width: 720px) {
  .nav-links {
    gap: 0.7rem;
  }

  .hero-content {
    padding-top: 5.5rem;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

.breadcrumbs{width:min(100% - 2rem,var(--max));margin:1rem auto 0;font-size:.9rem;color:var(--ink-soft)}
.breadcrumbs a{text-decoration:none;font-weight:600}
.faq-list details{background:var(--foam);border:1px solid var(--line);border-radius:14px;padding:.85rem 1rem;margin:.6rem 0}
.faq-list summary{cursor:pointer;font-weight:700}
