/* APTIQ — website stylesheet
   Layout: Flexbox only, RTL, mobile-first breakpoints at 1024px (tablet) and 640px (phone).
   Brand: Dark Green #055754, Teal #24B6A8, White. Type: Alexandria (display) + IBM Plex Sans Arabic (body). */

:root {
  --green: #055754;
  --green-ink: #fff;
  --teal: #24b6a8;
  --teal-ink: #0e7a70;
  --teal-soft: #7fe0d5;
  --white: #ffffff;
  --ground: #f5f7f6;
  --field: #f7faf9;
  --line: #e1e8e7;
  --line-strong: #d3dedc;
  --text: #1f2d2c;
  --muted: #4a5857;
  --subtle: #5b6968;
  --on-dark: #c9dedb;
  --on-dark-muted: #a9c9c5;
  --ph-bg: #e4eae9;
  --ph-fg: #6f817f;

  --font-display:
    "Alexandria", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  --wrap: 1240px;
  --gutter: 40px;
  --section: 120px;
  --radius: 6px;
  --radius-lg: 12px;
  --header-h: 84px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  direction: rtl;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  color: var(--teal-ink);
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--green);
  margin: 0;
  text-wrap: balance;
  line-height: 1.35;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
.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;
}
.skip-link {
  position: absolute;
  top: -60px;
  right: 16px;
  z-index: 100;
  background: var(--green);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius);
}
.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-hero{

}

.section {
  padding-block: var(--section);
}
.section--ground {
  background: var(--ground);
}
.section--line {
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
  max-width: 760px;
}
.section-head--row {
  max-width: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.section-head--row > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1 520px;
  min-width: 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-ink);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal);
  flex: 0 0 auto;
}
.eyebrow--plain::before {
  display: none;
}
.h-xl {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.25;
}
.h-lg {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.4;
}
.h-md {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.4;
}
.h-sm {
  font-size: 22px;
  font-weight: 600;
}
.lead {
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
}
.body {
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
}
.num {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--teal-ink);
  font-variant-numeric: tabular-nums;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 16px;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn svg {
  flex: 0 0 auto;
}
.btn--primary {
  background: var(--teal);
  color: var(--green-ink);
}
.btn--primary:hover {
  background: #3cc7b9;
  color: var(--green-ink);
}
.btn--ghost {
  border-color: var(--green);
  color: var(--green);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal-ink);
}
.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn--ghost-light:hover {
  border-color: var(--teal);
  color: var(--teal-soft);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  color: var(--green);
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--teal);
}
.arrow {
  transition: transform 0.15s ease;
}
a:hover .arrow {
  transform: translateX(-6px);
}

/* Image placeholder — replace each .ph with <img loading="lazy" width height alt> */
.ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ph-bg);
  color: var(--ph-fg);
  border-radius: var(--radius);
}
.ph span {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 3px;
}

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(5, 87, 84, 0.08);
}
/* لما المنيو تتفتح على الموبايل: الهيدر (واللي جواه المنيو) يطلع فوق الخلفية الغامقة
   عشان اللينكات تبقى قابلة للضغط */
.site-header.menu-open,
.site-header:has(.nav.is-open) {
  z-index: 80;
}
.site-header .wrap {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand img {
  height: 52px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--green);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover {
  color: var(--teal-ink);
}
.nav a[aria-current="page"] {
  color: var(--teal-ink);
  font-weight: 600;
  border-bottom-color: var(--teal);
}
.header-cta {
  min-height: 48px;
  padding: 0 24px;
  font-size: 15px;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--green);
  cursor: pointer;
}
.drawer-head,
.drawer-foot {
  display: none;
}
.scrim {
  display: none;
}

/* Hero */
.hero {
  background: var(--ground);
  padding-block: 60px;
}

.hero .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.hero-text {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.6;
  color: var(--text);
}

.hero-text .body {
  max-width: 560px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

/* الصورة */
.hero-media {
  flex: 0 1 600px;          /* عرض أقصى للصورة */
  max-width: 600px;
  width: 100%;
  height: 380px;            /* ارتفاع معتدل */
  border-radius: 12px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
}

/* Page hero (inner pages) */
.page-hero {
    background: var(--ground);
    border-bottom: 1px solid var(--line);
    padding: 80px 0;
}
.page-hero .wrap {
  padding-block: 56px 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.page-hero-text {
  flex: 1 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page-hero-text h1 {
  font-size: 52px;
  font-weight: 700;
  max-width: 760px;
}
.page-hero-text .lead {
  max-width: 640px;
}
.page-hero-mark {
  flex: 0 0 auto;
  padding-inline: 24px;
}
.page-hero-mark img {
  height: 200px;
  width: auto;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.breadcrumb li + li::before {
  content: "/";
  color: #a3b1af;
}
.breadcrumb a {
  color: var(--subtle);
}
.breadcrumb [aria-current] {
  color: var(--teal-ink);
  font-weight: 600;
}
.breadcrumb {
  margin-bottom: 16px;
}

/* Service cards (home) */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.card {
  flex: 0 1 calc((100% - 48px) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  height: 100%; /* مهم عشان التساوي */
}

.card:hover {
  border-color: var(--teal);
  color: inherit;
}

/* الصورة */
.card img {
  width: 100%;
  height: 220px;          /* ارتفاع ثابت للصور */
  object-fit: cover;      /* الصورة بتغطي المساحة من غير ما تتقطع بشكل وحش */
  object-position: center;
  display: block;
  flex-shrink: 0;
}

.card .ph {
  height: 200px;
  border-radius: 0;
}

.card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 28px 28px;
}
.card-body h3 {
  font-size: 20px;
  font-weight: 600;
}
.card-body p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}
.card-more {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
}
.card:hover .card-more {
  color: var(--teal-ink);
}
.card:hover .arrow {
  transform: translateX(-6px);
}

/* Dark section (Why) */
.dark {
  background: var(--green);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.dark .wrap {
  position: relative;
}
.dark h2,
.dark h3 {
  color: var(--white);
}
.dark .eyebrow {
  color: var(--teal-soft);
}
.dark .lead {
  color: var(--on-dark);
}
.deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 40px;
}
.feature {
  flex: 1 1 calc((100% - 80px) / 3);
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.feature .num {
  color: var(--teal-soft);
}
.feature h3 {
  font-size: 22px;
  font-weight: 600;
}
.feature p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--on-dark);
}

/* Process timeline */
.timeline {
  display: flex;
  flex-wrap: wrap;
  row-gap: 48px;
}
.step {
  flex: 1 1 25%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 28px;
  border-top: 1px solid #cfe4e1;
  position: relative;
}
.step::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: -8px;
  background: var(--white);
  border: 3px solid var(--ground);
  box-shadow: 0 0 0 1px var(--teal);
  border-radius: 2px;
}
.step:first-child::before {
  background: var(--teal);
}
.step:last-child::before {
  background: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}
.step h3 {
  font-size: 20px;
  font-weight: 600;
}
.step p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

/* Contact */
.contact .wrap {
  padding-block: var(--section);
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: flex-start;
}
.contact-info {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 12px;
}
.contact-info h2 {
  font-size: 48px;
}
.steps-mini {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.steps-mini li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}
.steps-mini b {
  flex: 0 0 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  color: var(--teal-soft);
  font-family: var(--font-display);
  font-size: 15px;
}
.steps-mini li:first-child b {
  background: var(--teal);
  color: var(--green-ink);
}
.info-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.info-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.info-list li:last-child {
  border-bottom: 0;
}
.info-ic {
  flex: 0 0 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(36, 182, 168, 0.16);
  color: var(--teal-soft);
}
.info-list small {
  display: block;
  font-size: 13px;
  color: var(--on-dark-muted);
  line-height: 1.5;
}
.info-list strong {
  font-size: 16px;
  color: var(--white);
  font-weight: 600;
}
.social {
  display: flex;
  gap: 10px;
}
.social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: var(--white);
}
.social a:hover {
  border-color: var(--teal);
  color: var(--teal-soft);
}

.form-card {
  flex: 1.4 1 560px;
  min-width: 0;
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-lg);
  border-top: 5px solid var(--teal);
  box-shadow: 0 30px 70px rgba(2, 30, 29, 0.35);
}
.form-card h3 {
  color: var(--green);
}
.form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 40px 44px 44px;
}
.form-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.form-top h3 {
  font-size: 26px;
  font-weight: 700;
}
.form-top p {
  font-size: 15px;
  color: var(--subtle);
}
.form-top img {
  height: 52px;
  width: auto;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.row > * {
  flex: 1 1 220px;
  min-width: 0;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}
.control {
  position: relative;
  display: flex;
}
.control svg {
  position: absolute;
  right: 16px;
  top: 17px;
  pointer-events: none;
  color: var(--teal);
}
.input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  min-height: 52px;
  padding: 0 46px 0 16px;
  border: 1.5px solid #dce5e4;
  border-radius: 8px;
  font-size: 15px;
  background: var(--field);
  color: var(--text);
}
.input[type="tel"],
.input[type="email"] {
  text-align: right;
  direction: ltr;
}
.input--plain {
  padding: 0 16px;
}
select.input {
  cursor: pointer;
}
textarea.input {
  padding: 14px 16px;
  min-height: 120px;
  resize: vertical;
  line-height: 1.7;
}
.input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 0;
  border-color: var(--teal);
  background: var(--white);
}
.input[aria-invalid="true"] {
  border-color: #b42318;
}
.error {
  font-size: 13px;
  font-weight: 500;
  color: #b42318;
}
.chips-set {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.chips-set legend {
  padding: 0;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}
.chips-hint {
  font-size: 13px;
  color: var(--subtle);
  margin-bottom: 10px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
  display: inline-flex;
}

.chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1.5px solid #dce5e4;
  border-radius: 8px;
  background: var(--white);
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

/* Hover */
.chip:hover span {
  border-color: var(--teal);
  color: var(--teal);
}

/* Selected */
.chip input:checked + span {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff; /* أو var(--green-ink) حسب ذوقك */
}

/* Focus للوصولية */
.chip input:focus-visible + span {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
.submit {
  width: 100%;
  min-height: 60px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  border-radius: 8px;
}
.privacy {
  margin-top: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--subtle);
  text-align: center;
}
.form-status {
  font-size: 14px;
  color: #b42318;
  text-align: center;
}
.success {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 48px 32px;
  text-align: center;
}
.success-ic {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--green-ink);
}
.success h3 {
  font-size: 28px;
}
.success p {
  max-width: 380px;
  color: var(--muted);
}
.summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.summary li {
  padding: 6px 12px;
  border-radius: 8px;
  background: #eef3f2;
  font-size: 14px;
  color: var(--green);
}

/* About */
/* =========================================
   PHILOSOPHY SECTION
========================================= */

.philosophy-section {
  width: 100%;
  background: var(--white);
}


/* =========================================
   SPLIT
========================================= */

.philosophy-section .split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 80px;
}


/* =========================================
   TEXT
========================================= */

.philosophy-section .split-text {
  flex: 1 1 520px;

  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 28px;
}


/* =========================================
   IMAGE
========================================= */

.philosophy-image {
  /*
    المقاس الموحد للصورة
  */
  flex: 0 0 440px;

  width: 440px;
  height: 440px;

  min-width: 0;

  overflow: hidden;

  border-radius: 6px;

  background: #f1f4f3;
}


/*
  الصورة نفسها
*/

.philosophy-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  border-radius: inherit;
}


/* =========================================
   QUOTE
========================================= */

.philosophy-section .quote {
  margin: 0;

  padding-right: 20px;

  border-right: 2px solid var(--teal);

  font-size: 19px;

  line-height: 1.9;

  color: var(--muted);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

  .philosophy-section .split {
    gap: 50px;
  }

  .philosophy-section .split-text {
    flex: 1 1 400px;
  }

  .philosophy-image {
    flex: 1 1 400px;

    width: 100%;
    height: 400px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

  .philosophy-section .split {
    flex-direction: column;

    align-items: stretch;

    gap: 36px;
  }


  .philosophy-section .split-text {
    flex: none;

    width: 100%;

    gap: 20px;
  }


  /*
    الصورة تظل بنسبة مربعة
  */

  .philosophy-image {
    flex: none;

    width: 100%;
    height: auto;

    aspect-ratio: 1 / 1;

    border-radius: 6px;
  }


  .philosophy-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
  }


  .philosophy-section .quote {
    padding-right: 16px;

    font-size: 16px;

    line-height: 1.9;
  }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 420px) {

  .philosophy-section .split {
    gap: 28px;
  }

  .philosophy-image {
    border-radius: 5px;
  }

  .philosophy-section .quote {
    font-size: 15px;
  }

}
.values {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.value {
  flex: 1 1 calc((100% - 48px) / 3);
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.value::before {
  content: "";
  position: absolute;
  top: 0;
  right: 32px;
  width: 40px;
  height: 3px;
  background: #cfe4e1;
}
.value:hover {
  border-color: var(--teal);
}
.value:hover::before {
  background: var(--teal);
}
.value-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--teal);
}
.value h3 {
  font-size: 22px;
  font-weight: 600;
}
.value p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}
.quality {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  align-items: flex-start;
}
.quality-head {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.quality-head h2 {
  font-size: 38px;
  line-height: 1.55;
}
.quality-list {
  flex: 1.3 1 560px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  column-gap: 40px;
}
.quality-list li {
  flex: 1 1 260px;
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #dce5e4;
  font-size: 16px;
  line-height: 1.7;
  color: #33413f;
}
.quality-list li:last-child {
  flex-basis: 100%;
  border-bottom: 0;
  color: var(--green);
  font-weight: 500;
}
.quality-list .num {
  flex: 0 0 28px;
  font-size: 14px;
}

/* Services page */
.jump {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  margin: auto;
}
.jump .wrap {
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.jump a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}
.jump a:hover {
  border-color: var(--teal);
}
/* =========================================
   SERVICES SECTION
========================================= */

.services-section {
  width: 100%;
  background: var(--white);
}

.services-wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: 32px 104px;
}


/* =========================================
   SERVICE
========================================= */

.service {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;

  padding-block: 72px;

  border-top: 1px solid var(--line);

  scroll-margin-top: calc(var(--header-h) + 16px);
}

.service:first-child {
  border-top: 0;
}


/* عكس ترتيب الصورة والنص في السيكشنات الزوجية */
.service:nth-child(even) {
  flex-direction: row-reverse;
}


/* =========================================
   SERVICE IMAGE
========================================= */

.service-image {
  /*
    نفس المقاس لكل الصور
  */
  flex: 0 0 460px;

  width: 460px;
  height: 400px;

  min-width: 0;

  overflow: hidden;

  border-radius: 6px;

  background: #f1f4f3;
}


/*
  جميع الصور بنفس المقاس
*/
.service-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  border-radius: inherit;
}


/* =========================================
   SERVICE TEXT
========================================= */

.service-text {
  flex: 1 1 480px;

  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 18px;
}


/* رقم الخدمة */

.service-text .num {
  display: block;

  font-size: 13px;
  font-weight: 600;

  line-height: 1;

  color: var(--teal-ink);

  letter-spacing: 0.08em;
}


/* عنوان الخدمة */

.service-text h2 {
  margin: 0;

  font-size: 30px;
  line-height: 1.35;

  font-weight: 600;

  color: var(--ink);
}


/* الوصف */

.service-text .body {
  margin: 0;

  max-width: 620px;

  font-size: 16px;
  line-height: 1.9;

  color: #52615f;
}


/* عنوان ماذا تستفيد */

.service-text h3 {
  margin: 10px 0 0;

  font-size: 17px;
  font-weight: 600;

  color: var(--ink);
}


/* =========================================
   BENEFITS
========================================= */

.benefits {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  column-gap: 28px;
  row-gap: 0;

  margin: 0;
  padding: 0;

  list-style: none;
}


/*
  بدون SVG
  نستخدم نقطة بسيطة بدل الأيقونة
*/
.benefits li {
  position: relative;

  display: flex;
  align-items: flex-start;

  gap: 10px;

  padding: 12px 0;

  border-top: 1px solid #e6eceb;

  font-size: 15px;
  line-height: 1.7;

  color: #33413f;
}


/* العلامة الصغيرة */

.benefits li::before {
  content: "";

  flex: 0 0 7px;

  width: 7px;
  height: 7px;

  margin-top: 9px;

  border-radius: 50%;

  background: var(--teal-ink);
}


/* =========================================
   BUTTON / LINK
========================================= */

.link-arrow {
  display: inline-flex;

  align-items: center;

  width: fit-content;

  margin-top: 8px;

  padding-bottom: 5px;

  border-bottom: 1px solid var(--teal-ink);

  color: var(--teal-ink);

  font-size: 15px;
  font-weight: 600;

  text-decoration: none;

  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}


.link-arrow:hover {
  color: var(--teal);
  border-color: var(--teal);

  transform: translateX(-4px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

  .services-wrap {
    width: min(900px, calc(100% - 32px));
  }

  .service {
    gap: 40px;
  }

  .service-image {
    flex: 1 1 400px;

    width: 100%;
    height: 360px;
  }

  .service-text {
    flex: 1 1 400px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

  .services-wrap {
    width: min(100% - 28px, 600px);

    padding-block: 10px 70px;
  }


  .service,
  .service:nth-child(even) {
    flex-direction: column;

    align-items: stretch;

    gap: 32px;

    padding-block: 50px;
  }


  /*
    نفس مقاس الصور على الموبايل
    مع الحفاظ على نسبة العرض
  */

  .service-image {
    flex: none;

    width: 100%;

    height: 300px;

    border-radius: 6px;
  }


  .service-text {
    flex: none;

    width: 100%;

    gap: 15px;
  }


  .service-text h2 {
    font-size: 25px;
  }


  .service-text .body {
    font-size: 15px;

    line-height: 1.85;
  }


  .benefits {
    grid-template-columns: 1fr;

    column-gap: 0;
  }


  .benefits li {
    font-size: 14px;
  }


  .link-arrow {
    margin-top: 10px;
  }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 420px) {

  .services-wrap {
    width: calc(100% - 24px);
  }


  .service {
    padding-block: 42px;
  }


  .service-image {
    height: 250px;
  }


  .service-text h2 {
    font-size: 22px;
  }

}
/* CTA band */
.cta .wrap {
  padding-block: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}
.cta p {
  max-width: 720px;
}
.cta .tagline {
  margin-top: 20px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--teal-soft);
}

/* Footer */
.site-footer {
  background: var(--green);
  color: var(--white);
}
.site-footer .wrap {
  padding-block: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}
.footer-brand {
  flex: 1.4 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.logo-plate {
  align-self: flex-start;
  display: flex;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius);
}
.logo-plate img {
  height: 56px;
  width: auto;
}
.footer-brand p {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.8;
  color: var(--on-dark);
  max-width: 360px;
}
.footer-col {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-col h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--teal-soft);
  margin-bottom: 6px;
}
.footer-col a,
.footer-col span {
  font-size: 15px;
  color: var(--white);
}
.footer-col a:hover {
  color: var(--teal-soft);
}
.footer-col .dim {
  color: var(--on-dark);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-block: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
  color: var(--on-dark-muted);
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  :root {
    --gutter: 32px;
    --section: 96px;
    --header-h: 72px;
  }
  .brand img {
    height: 44px;
  }
  .menu-btn {
    display: inline-flex;
  }
  .header-cta {
    display: none;
  }
  .nav {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 70;
    width: min(340px, 86vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(env(safe-area-inset-top, 0px) + 0px) 24px
      calc(env(safe-area-inset-bottom, 0px) + 28px);
    background: var(--white);
    box-shadow: -20px 0 50px rgba(2, 30, 29, 0.18);
    transform: translateX(105%);
    visibility: hidden;
    transition:
      transform 0.2s ease,
      visibility 0.2s;
    overflow-y: auto;
  }
  .nav.is-open {
    transform: none;
    visibility: visible;
  }
  .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 12px;
  }
  .drawer-head img {
    height: 38px;
    width: auto;
  }
  .nav > a {
    min-height: 56px;
    display: flex;
    align-items: center;
    font-family: var(--font-display);
    font-size: 18px;
    border-bottom: 1px solid #f0f3f2;
  }
  .nav > a[aria-current="page"] {
    border-bottom-color: #f0f3f2;
  }
  .drawer-foot {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: auto;
    padding-top: 28px;
  }
  .scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(5, 30, 29, 0.45);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.2s,
      visibility 0.2s;
  }
  .scrim.is-open {
    opacity: 1;
    visibility: visible;
  }
  .h-xl {
    font-size: 48px;
  }
  .h-lg {
    font-size: 38px;
  }
  .page-hero-text h1 {
    font-size: 42px;
  }
  .page-hero-text {
    flex-basis: 380px;
  }
  .page-hero-mark img {
    height: 150px;
  }
  .hero-media {
    height: 440px;
    flex-basis: 100%;
  }
  .card {
    flex-basis: calc((100% - 24px) / 2);
  }
  .feature {
    flex-basis: calc((100% - 40px) / 2);
  }
  .step {
    flex-basis: 50%;
  }
  .split,
  .quality {
    gap: 48px;
  }
  .service {
    gap: 40px;
    padding-block: 56px;
  }
  .service:nth-child(even) {
    flex-direction: row;
  }
  .service > .ph {
    flex-basis: 100%;
    height: 360px;
  }
  .contact .wrap {
    gap: 48px;
  }
  .form-card {
    flex-basis: 100%;
  }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --section: 64px;
    --header-h: 68px;
  }
  body {
    font-size: 15px;
  }
  .brand img {
    height: 40px;
  }
  .h-xl {
    font-size: 36px;
  }
  .h-lg {
    font-size: 30px;
  }
  .h-md {
    font-size: 26px;
  }
  .hero .wrap {
    padding-block: 32px 48px;
    gap: 28px;
    flex-direction: column-reverse;
  }
  .hero-text,
  .hero-media {
    flex-basis: auto;
    width: 100%;
  }
  .hero-sub {
    font-size: 18px;
  }
  .hero-media {
    height: 260px;
  }
  .actions {
    flex-direction: column;
  }
  .actions .btn {
    width: 100%;
  }
  .section-head {
    margin-bottom: 32px;
  }
  .page-hero .wrap {
    padding-block: 32px 40px;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 20px;
  }
  .page-hero-text {
    flex-basis: auto;
  }
  .page-hero-text h1 {
    font-size: 32px;
  }
  .page-hero-mark {
    padding: 0;
  }
  .page-hero-mark img {
    height: 84px;
  }
  .card {
    flex-basis: 100%;
  }
  .card .ph {
    height: 210px;
  }
  .feature {
    flex-basis: 100%;
    min-width: 0;
    gap: 8px;
    padding-top: 20px;
  }
  .features {
    gap: 22px;
  }
  .timeline {
    flex-direction: column;
    row-gap: 0;
    border-right: 1px solid #cfe4e1;
    margin-right: 6px;
  }
  .step {
    flex-basis: auto;
    border-top: 0;
    padding: 0 22px 26px 0;
  }
  .step::before {
    position: absolute;
    right: -7px;
    top: 0;
    margin: 0;
    border-width: 0;
    width: 12px;
    height: 12px;
  }
  .contact-info h2 {
    font-size: 30px;
  }
  .contact .wrap {
    padding-inline: 16px;
    gap: 32px;
  }
  .form {
    padding: 26px 20px 28px;
    gap: 18px;
  }
  .form-top h3 {
    font-size: 22px;
  }
  .form-top img {
    height: 40px;
  }
  .chip span {
    font-size: 13px;
    padding: 0 12px;
  }
  .split > .ph {
    height: 260px;
    flex-basis: 100%;
  }
  .quote {
    font-size: 17px;
  }
  .value {
    flex-basis: 100%;
    min-width: 0;
    padding: 28px 24px;
  }
  .quality-head h2 {
    font-size: 26px;
  }
  .service > .ph {
    height: 240px;
  }
  .cta .wrap {
    padding-block: 64px;
  }
  .site-footer .wrap {
    padding-block: 56px 0;
    gap: 0;
    align-items: center;
    text-align: center;
  }
  .footer-cols {
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
  }
  .footer-brand,
  .footer-col {
    align-items: center;
    width: 100%;
    flex-basis: auto;
    padding-block: 28px;
  }
  .footer-brand {
    padding-top: 0;
  }
  .footer-col {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  .logo-plate {
    align-self: center;
  }
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }
}

/* =========================================================
   BUTTON EFFECTS — ripple + press + loading + shake
   ========================================================= */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:active:not(:disabled) {
  transform: scale(0.97);
}
.ripple {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.28;
  transform: scale(0);
  pointer-events: none;
  animation: aptiq-ripple 0.6s ease-out forwards;
}
.btn--primary .ripple {
  background: #fff;
  opacity: 0.35;
}
@keyframes aptiq-ripple {
  to { transform: scale(1); opacity: 0; }
}
.submit {
  box-shadow: 0 10px 24px -12px rgba(36, 182, 168, 0.75);
}
.submit:hover:not(:disabled) {
  box-shadow: 0 14px 30px -12px rgba(36, 182, 168, 0.9);
}
.submit .arrow {
  transition: transform 0.25s ease;
}
.submit:hover:not(:disabled) .arrow {
  transform: translateX(-4px);
}
.submit .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: aptiq-spin 0.7s linear infinite;
}
.submit.is-loading {
  cursor: progress;
  opacity: 0.92;
}
.submit.is-loading .arrow {
  display: none;
}
.submit.is-loading .spinner {
  display: inline-block;
}
.submit:disabled {
  pointer-events: none;
}
@keyframes aptiq-spin {
  to { transform: rotate(360deg); }
}
.submit.is-shake {
  animation: aptiq-shake 0.42s ease;
}
@keyframes aptiq-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

/* =========================================================
   FORM EXTRAS — required mark, counter, invalid chips
   ========================================================= */
.req {
  color: #b42318;
  font-weight: 700;
}
.opt {
  font-weight: 400;
  color: var(--subtle);
}
.field-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.counter {
  margin-inline-start: auto;
  font-size: 12px;
  color: var(--subtle);
  direction: ltr;
  font-variant-numeric: tabular-nums;
}
.counter.is-near { color: #b54708; }
.counter.is-max { color: #b42318; font-weight: 600; }
.chips-set[aria-invalid="true"] .chip span {
  border-color: #f3b8b2;
}
select.input:invalid,
select.input option[value=""] {
  color: var(--subtle);
}
select.input option {
  color: var(--text);
}
input[type="date"].input {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  line-height: 52px;
  text-align: right;
}
input[type="date"].input::-webkit-date-and-time-value {
  text-align: right;
}

/* =========================================================
   POPUP MODAL
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(20px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 30, 29, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.modal-box {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 40px 28px 28px;
  border-radius: 16px;
  background: var(--white);
  border-top: 4px solid var(--teal);
  text-align: center;
  box-shadow: 0 30px 80px -20px rgba(2, 30, 29, 0.5);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  outline: none;
}
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-box { opacity: 1; transform: none; }
.modal-x {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #eef3f2;
  color: var(--green);
  cursor: pointer;
}
.modal-x:hover { background: #e1ebe9; }
.modal-ic {
  width: 80px;
  height: 80px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
}
.modal-ic--ok { display: inline-flex; background: var(--teal); box-shadow: 0 0 0 10px rgba(36, 182, 168, 0.14); }
.modal-ic--err { background: #d92d20; box-shadow: 0 0 0 10px rgba(217, 45, 32, 0.12); }
.modal.is-error .modal-ic--ok { display: none; }
.modal.is-error .modal-ic--err { display: inline-flex; }
.modal.is-error .modal-box { border-top-color: #d92d20; }
.modal-ic .check {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
}
.modal.is-open .modal-ic .check {
  animation: aptiq-draw 0.45s 0.18s ease forwards;
}
@keyframes aptiq-draw { to { stroke-dashoffset: 0; } }
.modal-box h3 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--green);
}
.modal-box p {
  margin: 0;
  color: var(--muted);
  max-width: 340px;
}
.modal-box .summary {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.modal-ok {
  width: 100%;
  margin-top: 8px;
  border-radius: 8px;
}

/* =========================================================
   RESPONSIVE — extra fixes for phones & tablets
   ========================================================= */
html, body {
  overflow-x: clip;
}
.info-list strong,
.footer-col span,
.footer-col a {
  overflow-wrap: anywhere;
}

/* Tablets (portrait & landscape) */
@media (min-width: 641px) and (max-width: 1024px) {
  .form-card {
    max-width: 720px;
    margin-inline: auto;
    width: 100%;
  }
  .contact-info {
    flex-basis: 100%;
  }
  .footer-cols {
    flex-wrap: wrap;
    row-gap: 40px;
  }
  .footer-brand,
  .footer-col {
    flex: 1 1 calc(50% - 24px);
    min-width: 0;
  }
}

/* Phones */
@media (max-width: 640px) {
  /* 16px يمنع iPhone من عمل zoom تلقائي عند الكتابة */
  .input,
  select.input,
  textarea.input {
    font-size: 16px;
  }
  .row {
    flex-direction: column;
    gap: 18px;
  }
  .row > * {
    flex-basis: auto;
    width: 100%;
  }
  .chip span {
    min-height: 44px;
  }
  .modal {
    align-items: flex-end;
    padding: 0;
  }
  .modal-box {
    max-width: none;
    border-radius: 20px 20px 0 0;
    padding: 36px 20px calc(24px + env(safe-area-inset-bottom));
    transform: translateY(100%);
  }
  .modal-box h3 { font-size: 22px; }
  .social a {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Small phones (iPhone SE / Galaxy mini ~320–380px) */
@media (max-width: 380px) {
  :root {
    --gutter: 16px;
  }
  .h-xl { font-size: 31px; }
  .h-lg { font-size: 26px; }
  .page-hero-text h1 { font-size: 28px; }
  .contact-info h2 { font-size: 26px; }
  .hero-sub { font-size: 16px; }
  .hero-media { height: 220px; }
  .btn { padding: 0 20px; }
  .form { padding: 22px 16px 24px; }
  .chips { gap: 6px; }
  .chip span { padding: 0 10px; font-size: 12.5px; }
  .form-top img { display: none; }
}

/* Phones in landscape */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-media { height: 240px; }
  .nav { padding-bottom: 16px; }
  .nav > a { min-height: 46px; }
  .modal { align-items: center; padding: 12px; }
  .modal-box { border-radius: 16px; padding: 24px 20px 20px; gap: 10px; }
  .modal-ic { width: 56px; height: 56px; }
  .modal-ic svg { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .modal-ic .check { stroke-dashoffset: 0; }
}