@font-face {
  font-family: "Noto Kufi";
  src: url("assets/fonts/NotoKufiArabic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Kufi";
  src: url("assets/fonts/NotoKufiArabic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Arabic";
  src: url("assets/fonts/NotoSansArabic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f8fbf8;
  --surface: #ffffff;
  --surface-2: #eef6ef;
  --text: #16231b;
  --muted: #5a6b62;
  --line: #dfe9e2;
  --green: #0f7c4a;
  --green-2: #15a45f;
  --leaf: #dff3e5;
  --gold: #c99635;
  --shadow: 0 24px 80px rgba(22, 35, 27, 0.12);
  --radius: 22px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans Arabic", system-ui, sans-serif;
  line-height: 1.8;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
  flex: 0 0 auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: var(--container);
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(223, 233, 226, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 40px rgba(22, 35, 27, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
}

.brand strong {
  display: block;
  font-family: "Noto Kufi", "Noto Sans Arabic", sans-serif;
  font-size: 0.95rem;
  line-height: 1.35;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.top-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
}

.top-nav a:hover {
  background: var(--leaf);
  color: var(--green);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}

.header-cta,
.btn.primary {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 124, 74, 0.24);
}

.btn.secondary {
  background: #fff;
  color: var(--green);
  border-color: var(--line);
}

.hero {
  width: var(--container);
  margin: 42px auto 0;
  min-height: 720px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: center;
}

.hero-copy {
  padding-block: 20px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 800;
  font-family: "Noto Kufi", "Noto Sans Arabic", sans-serif;
  font-size: 0.9rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Noto Kufi", "Noto Sans Arabic", sans-serif;
  line-height: 1.45;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.3rem, 5vw, 4.9rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
}

h3 {
  font-size: 1.1rem;
}

.lead {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.proof-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #284335;
  font-weight: 700;
  font-size: 0.9rem;
}

.proof-list svg {
  color: var(--green);
}

.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.52fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 620px;
}

.hero-card {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
  background: #fff;
}

.hero-card::after,
.gallery-item::after,
.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(22, 35, 27, 0.16));
  pointer-events: none;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-photo {
  grid-row: 1 / 3;
}

.side-photo.top {
  transform: translateY(34px);
}

.side-photo.bottom {
  transform: translateY(-34px);
}

.floating-note {
  position: absolute;
  right: 26px;
  bottom: 28px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--green);
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(22, 35, 27, 0.16);
}

.quick-strip {
  width: var(--container);
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.quick-strip article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  font-family: "Noto Kufi", "Noto Sans Arabic", sans-serif;
  font-size: 1.05rem;
}

.quick-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  width: var(--container);
  margin: 96px auto 0;
}

.split {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 32px;
  align-items: start;
}

.split > div:first-child p:last-child,
.section-head p,
.seo-content p,
.final-cta p {
  color: var(--muted);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.benefits-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 36px rgba(22, 35, 27, 0.06);
}

.benefits-grid svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 12px;
  color: var(--green);
  background: var(--leaf);
}

.benefits-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-head {
  max-width: 780px;
  margin-bottom: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(22, 35, 27, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.lead-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(135deg, #ffffff, #eef8f0);
  box-shadow: var(--shadow);
}

.lead-copy {
  align-self: center;
}

.lead-copy p:not(.section-kicker) {
  color: var(--muted);
}

.lead-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.lead-highlights span,
.keyword-cloud span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(15, 124, 74, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-weight: 800;
  font-size: 0.86rem;
}

.lead-form {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: #263f32;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  padding: 12px 13px;
  outline: none;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(15, 124, 74, 0.5);
  box-shadow: 0 0 0 4px rgba(15, 124, 74, 0.1);
}

.form-submit {
  width: 100%;
  border: 0;
  margin-top: 4px;
}

.seo-content {
  padding: 34px;
  border-radius: 34px;
  background: #fff;
  border: 1px solid var(--line);
}

.seo-columns {
  columns: 2 360px;
  column-gap: 38px;
}

.seo-columns p {
  margin-block: 12px;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--green);
  font-weight: 900;
}

.steps h3 {
  margin-top: 14px;
}

.steps p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-family: "Noto Kufi", "Noto Sans Arabic", sans-serif;
  font-weight: 700;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

.final-cta {
  position: relative;
  width: var(--container);
  margin: 96px auto 0;
  min-height: 420px;
  overflow: hidden;
  display: grid;
  align-items: end;
  border-radius: 36px;
  box-shadow: var(--shadow);
  background: #123122;
}

.final-cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.final-cta > div {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 34px;
  color: #fff;
}

.final-cta .section-kicker,
.final-cta p {
  color: #e3f6e8;
}

.site-footer {
  width: var(--container);
  margin: 42px auto 96px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--green);
  font-weight: 800;
}

.sticky-whatsapp {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #0f7c4a, #13b465);
  box-shadow: 0 20px 60px rgba(15, 124, 74, 0.35);
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .top-nav {
    display: none;
  }

  .hero,
  .split,
  .lead-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    margin-top: 30px;
  }

  .hero-media {
    min-height: 500px;
    order: -1;
  }

  .quick-strip,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 230px;
  }
}

/* Shared layout compatibility for templates/header.html and templates/footer.html */
.site-header[data-shared-header] {
  grid-template-columns: auto auto 1fr auto;
}

.site-header[data-shared-header] .menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.site-header[data-shared-header] .menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.site-header[data-shared-header] .header-cta svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

.site-header[data-shared-header] .header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.site-header[data-shared-header] .call-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-weight: 900;
  white-space: nowrap;
}

.site-footer[data-shared-footer] {
  align-items: flex-start;
}

.site-footer[data-shared-footer] .footer-brand,
.site-footer[data-shared-footer] .footer-links,
.site-footer[data-shared-footer] .footer-contact {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer[data-shared-footer] .footer-brand {
  align-items: center;
  max-width: 420px;
}

.site-footer[data-shared-footer] .footer-links,
.site-footer[data-shared-footer] .footer-contact {
  justify-content: flex-end;
}

.site-footer[data-shared-footer] span {
  color: var(--muted);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  box-shadow: 0 10px 26px rgba(22, 35, 27, 0.08);
  transition: transform .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(22, 35, 27, 0.12);
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

.social-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.social-facebook {
  color: #1877f2;
}

.social-youtube {
  color: #ff0033;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .site-header[data-shared-header] {
    grid-template-columns: auto 1fr auto;
    border-radius: 24px;
  }

  .site-header[data-shared-header] .menu-toggle {
    display: inline-flex;
  }

  .site-header[data-shared-header] .top-nav {
    display: none;
  }

  .site-header[data-shared-header] .top-nav.is-open {
    display: flex;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .site-header[data-shared-header] .header-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .site-header[data-shared-header] {
    grid-template-columns: auto auto 1fr;
  }

  .site-header[data-shared-header] .brand {
    justify-content: flex-start;
  }

  .site-header[data-shared-header] .header-actions {
    grid-column: auto;
    justify-self: end;
  }

  .site-header[data-shared-header] .header-cta {
    flex: 0 0 auto;
    min-height: 44px;
    padding-inline: 14px;
  }

  .site-header[data-shared-header] .call-chip {
    display: none;
  }

  .site-footer[data-shared-footer] .footer-links,
  .site-footer[data-shared-footer] .footer-contact {
    justify-content: flex-start;
  }

  .site-footer[data-shared-footer] .footer-contact {
    align-items: center;
  }

  .footer-social {
    flex-direction: row;
  }

  .social-icon {
    flex: 0 0 46px;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100vw - 20px, 1180px);
  }

  body {
    line-height: 1.75;
  }

  .site-header {
    margin-top: 8px;
    border-radius: 22px;
    grid-template-columns: 1fr;
  }

  .brand {
    justify-content: center;
  }

  .header-cta {
    width: 100%;
  }

  .hero {
    gap: 22px;
  }

  h1 {
    font-size: 2.25rem;
  }

  .hero-actions .btn,
  .btn {
    width: 100%;
  }

  .hero-media {
    min-height: 430px;
    grid-template-columns: 1fr 0.58fr;
    gap: 8px;
  }

  .hero-card {
    border-radius: 22px;
  }

  .side-photo.top {
    transform: translateY(18px);
  }

  .side-photo.bottom {
    transform: translateY(-18px);
  }

  .floating-note {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    font-size: 0.82rem;
  }

  .quick-strip,
  .benefits-grid,
  .steps,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .section {
    margin-top: 68px;
  }

  .lead-panel,
  .seo-content {
    padding: 18px;
    border-radius: 24px;
  }

  .final-cta {
    min-height: 540px;
    border-radius: 26px;
  }

  .final-cta > div {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
    margin-bottom: 110px;
  }

  .sticky-whatsapp {
    left: 10px;
    right: 10px;
    justify-content: center;
  }
}
