:root {
  --bg: #f4f1ea;
  --surface: #fbf7ef;
  --surface-strong: #ffffff;
  --text: #1e272e;
  --muted: #61707a;
  --primary: #284f43;
  --primary-dark: #19372f;
  --secondary: #b9783e;
  --accent: #8f4a38;
  --ink: #182229;
  --cream: #f5ead8;
  --line: rgba(30, 39, 46, 0.11);
  --shadow: 0 18px 48px rgba(30, 39, 46, 0.08);
  --shadow-strong: 0 28px 72px rgba(30, 39, 46, 0.14);
  --radius: 24px;
  --radius-sm: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(244, 241, 234, 0.88), rgba(244, 241, 234, 0.9)),
    url("https://images.pexels.com/photos/3183185/pexels-photo-3183185.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1800&h=1200") center / cover fixed,
    linear-gradient(90deg, rgba(30, 39, 46, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(30, 39, 46, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 18% 10%, rgba(185, 120, 62, 0.13), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(40, 79, 67, 0.1), transparent 28%),
    linear-gradient(135deg, #f6f1e8 0%, #ece2d3 56%, #f8f4ed 100%);
  background-size: auto, cover, 32px 32px, 32px 32px, auto, auto, auto;
  color: var(--text);
  line-height: 1.9;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.bg-orb {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.13;
  z-index: -1;
  animation: floatOrb 14s ease-in-out infinite;
}

.bg-orb-a {
  top: -70px;
  right: -50px;
  background: radial-gradient(circle, rgba(185, 120, 62, 0.42), transparent 68%);
}

.bg-orb-b {
  bottom: -70px;
  left: -30px;
  background: radial-gradient(circle, rgba(40, 79, 67, 0.32), transparent 68%);
  animation-delay: -6s;
}

.site-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 18px auto 28px;
}

.progress-line {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  z-index: 60;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  background: rgba(255, 252, 246, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  position: sticky;
  top: 14px;
  z-index: 40;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 42px rgba(30, 39, 46, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #1f463b, #9f6739);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 28px rgba(10, 106, 75, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text small {
  color: var(--muted);
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
}

main {
  display: grid;
  gap: 30px;
  margin-top: 24px;
}

.hero,
.page-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: center;
  padding: 48px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 240, 228, 0.95)),
    radial-gradient(circle at 14% 15%, rgba(185, 120, 62, 0.12), transparent 34%);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(30, 39, 46, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(30, 39, 46, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  pointer-events: none;
}

.page-hero {
  grid-template-columns: 1fr;
}

.hero-copy,
.page-hero {
  position: relative;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero p,
.page-hero p,
.card p,
.article-prose p,
.article-prose li,
.article-prose td,
.article-prose th {
  color: var(--muted);
  font-size: 1.03rem;
}

.eyebrow,
.tag {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(40, 79, 67, 0.08);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  border: 1px solid transparent;
  box-shadow: 0 14px 26px rgba(40, 79, 67, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hero-stats div {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  transition: transform 200ms ease;
}

.hero-stats div:hover {
  transform: translateY(-4px);
}

.hero-stats strong {
  display: block;
  color: var(--primary);
  font-size: 1.5rem;
}

.hero-media figure {
  margin: 0;
}

.hero-media img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  animation: floatCard 8s ease-in-out infinite;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  display: grid;
  gap: 22px;
}

.section-surface,
.site-footer,
.article-layout,
.related-posts,
.resource-box,
.summary-box,
.toc-box {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-surface,
.site-footer,
.related-posts,
.resource-box,
.summary-box,
.toc-box {
  padding: 28px;
}

.section-heading h2,
.card h2,
.card h3,
.article-prose h2 {
  margin: 0 0 12px;
  line-height: 1.3;
}

.info-grid,
.articles-grid,
.footer-grid,
.related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.articles-grid {
  align-items: stretch;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-chips span {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: linear-gradient(135deg, rgba(216, 138, 36, 0.16), rgba(7, 95, 70, 0.1));
  border: 1px solid rgba(7, 95, 70, 0.14);
  font-weight: 800;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card,
.feature-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::before,
.feature-card::before,
.article-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(185, 120, 62, 0.08), transparent 42%, rgba(40, 79, 67, 0.08));
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.card:hover::before,
.feature-card:hover::before,
.article-card:hover::before {
  opacity: 1;
}

.card {
  padding: 24px;
}

.feature-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.feature-card__content {
  padding: 24px;
}

.feature-card img {
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.featured-stack {
  display: grid;
  gap: 18px;
}

.article-card {
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.article-image img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 420ms ease, filter 220ms ease;
}

.article-card:hover .article-image img {
  transform: scale(1.028);
  filter: saturate(1.02) contrast(1.02);
}

.article-body {
  padding: 20px;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

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

.phone-number {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.quality-list,
.latest-list,
.contact-list,
.external-links,
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quality-list li,
.latest-list li,
.contact-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.quality-list li:last-child,
.latest-list li:last-child,
.contact-list li:last-child {
  border-bottom: 0;
}

.latest-list li,
.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  background: var(--surface);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-item p {
  margin: 12px 0 0;
}

.article-layout {
  padding: 32px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: var(--primary);
  font-weight: 800;
}

.article-header {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.article-cover {
  margin-bottom: 26px;
}

.article-cover img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
}

.article-cover figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-cover figcaption a {
  color: var(--primary);
  font-weight: 800;
}

.article-inline-image {
  margin: 28px 0;
}

.article-inline-image img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-inline-image figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-inline-image figcaption a {
  color: var(--primary);
  font-weight: 800;
}

.inline-resource-box {
  margin: 28px 0;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
}

.article-content-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 96px;
}

.article-prose h2 {
  margin-top: 28px;
  font-size: 1.55rem;
  scroll-margin-top: 100px;
}

.article-prose a {
  color: var(--primary);
  font-weight: 800;
}

.action-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 8px;
  list-style: none;
}

.action-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10, 106, 75, 0.06);
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 20px;
}

.summary-table th,
.summary-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: right;
}

.summary-table th {
  background: rgba(10, 106, 75, 0.08);
  color: var(--text);
}

.summary-table tr:last-child td {
  border-bottom: 0;
}

.external-links {
  display: grid;
  gap: 12px;
}

.external-links a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--primary);
  font-weight: 800;
}

.toc-list {
  display: grid;
  gap: 10px;
}

.toc-list a {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 800;
}

.author-box {
  margin-top: 28px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(10, 106, 75, 0.08), rgba(239, 154, 34, 0.08));
  border: 1px solid var(--line);
}

.author-box strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.editorial-photo {
  margin: 0;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.editorial-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.editorial-photo figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.related-links a {
  display: block;
  padding: 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(23, 35, 45, 0.14);
  font: inherit;
}

.site-footer {
  margin-top: 4px;
}

.site-footer h3 {
  margin-top: 0;
}

.site-footer a,
.site-footer span,
.site-footer p {
  color: var(--muted);
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-bottom: 10px;
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes floatOrb {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, 18px, 0); }
}

@media (max-width: 1024px) {
  .hero,
  .feature-card,
  .info-grid,
  .articles-grid,
  .footer-grid,
  .related-links,
  .two-column,
  .article-content-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-nav {
    border-radius: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 8px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero,
  .page-hero,
  .article-layout {
    padding: 24px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}
