/* ==========================================================================
   ركن الهليون للتجارة — Rukn Alhalyoon
   ألوان وخطوط الهوية البصرية المعتمدة. الصفحة من اليمين إلى اليسار.
   ========================================================================== */

/* ---------- الخطوط (مستضافة مع الموقع، لا طلبات خارجية) ---------- */
@font-face {
  font-family: "Noto Kufi Arabic";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/noto-kufi-arabic-arabic-400-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Noto Kufi Arabic";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/noto-kufi-arabic-arabic-700-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/inter-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- المتغيرات ---------- */
:root {
  --navy: #0C2243;
  --navy-deep: #071936;
  --blue: #1A375F;
  --ivory: #F7F4EF;
  --paper: #FFFFFF;
  --sand: #EDE6D8;
  --line: #E3DBCB;
  --gold: #B9853D;
  --gold-light: #E6C594;
  --gold-deep: #8C6224;
  --ink: #44506A;
  --ink-soft: #5F6980;
  --on-navy: #D0D5DE;
  --field-line: #8C8672;   /* حدّ الحقول والأزرار: تباين 3:1 على الأبيض والعاجي */

  --font: "Noto Kufi Arabic", "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --wrap: 73.75rem;
  --header-h: 4.75rem;
  --radius: 1rem;
  --space-section: clamp(4.5rem, 10vw, 8.5rem);
}

/* ---------- الأساس ---------- */
*, *::before, *::after { box-sizing: border-box; }
:root { color-scheme: only light; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.95;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--navy); font-weight: 700; margin: 0; line-height: 1.4; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 1.05rem + 2.7vw, 3.1rem); }
h3 { font-size: 1.3rem; line-height: 1.6; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
.num { font-family: "Inter", var(--font); font-feature-settings: "tnum"; letter-spacing: 0.01em; unicode-bidi: isolate; }
.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.lead { font-size: 1.3rem; line-height: 1.85; color: var(--navy); }

:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 6px; }
.promise :focus-visible, .clients :focus-visible, .site-footer :focus-visible, .line-card :focus-visible { outline-color: var(--gold-light); }
.skip {
  position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem; border-radius: 0.6rem; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* عنوان القسم مع سطر تمهيدي */
.head { display: grid; gap: 1rem; margin-bottom: clamp(2.25rem, 5vw, 4rem); max-width: 46rem; }
.head__text { font-size: 1.15rem; color: var(--ink); }
.head .lead { margin-top: -0.25rem; }
.head--on-navy h2, .head--on-navy .lead { color: #fff; }
.head--on-navy .head__text { color: var(--on-navy); }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0.7rem 1.6rem;
  border: 1.5px solid var(--navy); border-radius: 0.8rem;
  font: inherit; font-weight: 700; line-height: 1.4; text-decoration: none; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { background: var(--blue); border-color: var(--blue); }
.btn--line { background: transparent; color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }

/* ---------- الترويسة ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header::before { /* الخلفية على عنصر مستقل حتى تبقى قائمة الجوال منسوبة إلى الشاشة */
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1;
  background: rgba(247, 244, 239, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: block; flex: 0 1 auto; min-width: 0; }
.brand img { height: 3.1rem; width: auto; max-width: 100%; object-fit: contain; object-position: right center; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav__list a {
  display: block; padding: 0.5rem 0.1rem; color: var(--navy); text-decoration: none; font-size: 1rem;
  border-bottom: 2px solid transparent; transition: border-color 0.18s ease;
}
.nav__list a:hover, .nav__list a[aria-current="true"] { border-bottom-color: var(--gold-deep); }
.nav__cta { min-height: 2.75rem; padding-block: 0.4rem; }
.site-header__tools { display: none; align-items: center; gap: 0.5rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem;
  flex: none; border: 1.5px solid var(--field-line); border-radius: 0.8rem; background: transparent; color: var(--navy); cursor: pointer;
}
.icon-btn:hover { border-color: var(--navy); }
.menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: block; }

@media (max-width: 60rem) {
  .site-header__tools { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); right: 0; bottom: 0; left: 0; z-index: 49;
    display: none; flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1.5rem var(--gutter) 2.5rem; background: var(--ivory); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { padding: 1rem 0; font-size: 1.25rem; font-weight: 700; border-bottom: 1px solid var(--line); }
  .nav__list a:hover, .nav__list a[aria-current="true"] { border-bottom-color: var(--line); color: var(--gold-deep); }
  /* بلا JavaScript تبقى الروابط ظاهرة تحت الترويسة */
  .no-js .nav { position: static; display: flex; order: 3; flex-basis: 100%; padding: 0 0 1rem; }
  .no-js .site-header__in { flex-wrap: wrap; }
  .no-js .menu-btn { display: none; }
}

/* ---------- الواجهة ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(2.5rem, 6vw, 5.5rem); }
.hero__text { position: relative; z-index: 2; max-width: 52rem; }
.hero h1 { font-size: clamp(1.4rem, 8.2vw, 5rem); line-height: 1.32; letter-spacing: 0; }
.hero__line { display: block; }
.hero__lead { margin-top: 1.5rem; max-width: 36rem; font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.35rem); line-height: 1.9; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.25rem; }
.hero__place { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.75rem; color: var(--gold-deep); font-size: 1rem; }
.hero__place .icon { width: 1.2rem; height: 1.2rem; }
.hero__cloth { position: relative; z-index: 1; margin-top: clamp(-10rem, -9vw, -1rem); pointer-events: none; }
.hero__cloth img { width: 100%; }

/* لحظة الحركة الوحيدة في الصفحة: القماش ينفرد من اليمين إلى اليسار */
@media (prefers-reduced-motion: no-preference) {
  .hero__cloth img { animation: unroll 1.9s cubic-bezier(0.22, 0.72, 0.12, 1) 0.15s both; }
  .hero__text > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__text > :nth-child(2) { animation-delay: 0.12s; }
  .hero__text > :nth-child(3) { animation-delay: 0.22s; }
  .hero__text > :nth-child(4) { animation-delay: 0.32s; }
}
@keyframes unroll {
  from { clip-path: inset(0 0 0 100%); transform: translateX(2.5%); }
  to { clip-path: inset(0 0 0 0); transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 43.75rem) {
  .hero__cloth { height: 64vw; margin-top: 1.5rem; }
  .hero__cloth img { height: 100%; object-fit: cover; object-position: 22% 50%; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ---------- من نحن ---------- */
.about { padding-top: clamp(3rem, 7vw, 6rem); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2.5rem, 7vw, 6.5rem); align-items: start; }
.about__text { display: grid; gap: 1.25rem; align-content: start; max-width: 38rem; }
.about__text p:not(.lead) { font-size: 1.15rem; }

/* بطاقة البيانات على هيئة بطاقة لفّة القماش */
.tag {
  position: relative; background: var(--paper); border-radius: 0.9rem;
  padding: 3.4rem 1.75rem 1.6rem; transform: rotate(-1.4deg);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -22px rgba(12, 34, 67, 0.35);
}
.tag::before { /* الخيط */
  content: ""; position: absolute; top: -2.6rem; right: 50%; width: 1.5px; height: 4.1rem;
  background: var(--gold); transform: rotate(8deg); transform-origin: bottom;
}
.tag__hole {
  position: absolute; top: 1.1rem; right: 50%; transform: translateX(50%);
  width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--ivory);
  box-shadow: inset 0 1px 2px rgba(12, 34, 67, 0.28), 0 0 0 3px var(--sand);
}
.tag__name { color: var(--navy); font-weight: 700; font-size: 1.1rem; padding-bottom: 0.9rem; border-bottom: 1px dashed var(--gold-light); }
.tag__list > div { display: grid; gap: 0.1rem; padding-block: 0.85rem; border-bottom: 1px solid var(--line); }
.tag__list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.tag dt { font-size: 0.9rem; color: var(--gold-deep); line-height: 1.7; }
.tag dd { color: var(--navy); font-size: 1.05rem; line-height: 1.7; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(3.5rem, 8vw, 6.5rem); }
.pillar { padding-top: 1.5rem; border-top: 2px solid var(--navy); display: grid; gap: 0.6rem; align-content: start; }
.pillar h3 { font-size: 1.4rem; }

/* ---------- الوعد ---------- */
.promise {
  background: var(--navy-deep) url("../img/navy-lines.webp") center / cover no-repeat;
  color: #fff; text-align: center; padding-block: clamp(4.5rem, 11vw, 8.5rem);
}
.promise__in { display: grid; justify-items: center; gap: 1.75rem; }
.promise .knot { width: 3rem; height: 3rem; }
.promise blockquote { margin: 0; }
.promise blockquote p { font-size: clamp(1.45rem, 0.9rem + 2.5vw, 2.85rem); font-weight: 700; line-height: 1.75; color: #fff; text-wrap: balance; }
.promise blockquote span { display: block; }
.promise__by { color: var(--gold-light); font-size: 1.05rem; padding-top: 1.25rem; position: relative; }
.promise__by::before { content: ""; position: absolute; top: 0; right: 50%; transform: translateX(50%); width: 4rem; height: 2px; background: var(--gold); }
@media (max-width: 43.75rem) { .promise blockquote span { display: inline; } }

/* ---------- المنتجات ---------- */
.lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.line-card { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 5 / 4.6; background: var(--navy-deep); isolation: isolate; }
@supports not (aspect-ratio: 1) { .line-card { min-height: 17rem; } }   /* متصفحات لا تعرف aspect-ratio */
.line-card img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.line-card:hover img { transform: scale(1.045); }
.line-card::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; background: linear-gradient(to top, rgba(6, 9, 18, 0.86) 0%, rgba(6, 9, 18, 0.34) 40%, rgba(6, 9, 18, 0) 66%); }
.line-card__text { position: absolute; z-index: 2; right: 0; left: 0; bottom: 0; padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; gap: 0.35rem; }
.line-card h3 { color: #fff; font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.1rem); }
.line-card p { color: var(--on-navy); max-width: 26rem; }

.swatches { margin-top: clamp(3rem, 7vw, 5.5rem); display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.swatches__title { color: var(--navy); font-weight: 700; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); line-height: 1.7; }
.swatches__rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(0.6rem, 1.6vw, 1.25rem); }
.swatches__rail li {
  --tooth: 12px; aspect-ratio: 4 / 5.2; filter: drop-shadow(0 10px 12px rgba(12, 34, 67, 0.16));
}
.swatches__rail li:nth-child(even) { transform: translateY(1.1rem); }
.swatches__rail img {
  width: 100%; height: 100%; object-fit: cover;
  /* حافة مقصوصة بمقص الزيغزاغ كعيّنات القماش */
  -webkit-mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--tooth) 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--tooth) 51% repeat-x;
  mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--tooth) 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--tooth) 51% repeat-x;
}

/* ---------- الخدمات ---------- */
.services { background: var(--paper); }
.services__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 7vw, 6.5rem); align-items: start; }
.services__head { display: grid; gap: 1rem; align-content: start; position: sticky; top: calc(var(--header-h) + 2rem); }
.service { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; padding-block: 1.9rem; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service__icon { color: var(--gold); padding-top: 0.35rem; }
.service__icon .icon { width: 2rem; height: 2rem; }
.service h3 { font-size: 1.5rem; margin-bottom: 0.35rem; }

/* ---------- كيف نعمل: شريط القياس ---------- */
.tape {
  --tick: var(--navy);
  height: 2.5rem; border-radius: 0.3rem; background-color: #EFDCB6;
  box-shadow: inset 0 -1px 0 rgba(140, 98, 36, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  background-image:
    repeating-linear-gradient(to left, var(--tick) 0 2px, transparent 2px 20%),
    repeating-linear-gradient(to left, var(--tick) 0 1.5px, transparent 1.5px 10%),
    repeating-linear-gradient(to left, rgba(12, 34, 67, 0.7) 0 1px, transparent 1px 2%);
  background-size: 100% 62%, 100% 42%, 100% 24%;
  background-position: bottom; background-repeat: no-repeat;
}
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 1.4rem; }
.step { padding-inline-end: 1.25rem; display: grid; gap: 0.3rem; align-content: start; }
.step__n { font-family: "Inter", var(--font); font-weight: 700; font-size: 2.1rem; line-height: 1.2; color: var(--gold-deep); }
.step h3 { font-size: 1.25rem; }
.step p { font-size: 1rem; line-height: 1.85; }

@media (max-width: 56rem) {
  .process .wrap { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: 1.25rem; }
  .process .head { grid-column: 1 / -1; }
  .tape {
    height: auto; width: 2.25rem;
    background-image:
      repeating-linear-gradient(to bottom, var(--tick) 0 2px, transparent 2px 20%),
      repeating-linear-gradient(to bottom, var(--tick) 0 1.5px, transparent 1.5px 10%),
      repeating-linear-gradient(to bottom, rgba(12, 34, 67, 0.7) 0 1px, transparent 1px 2%);
    background-size: 62% 100%, 42% 100%, 24% 100%;
    background-position: left;
  }
  .steps { grid-template-columns: 1fr; grid-auto-rows: 1fr; margin-top: 0; }
  .step { padding: 0 0 1.5rem; }
}

/* ---------- العملاء ---------- */
.clients { background: var(--navy-deep); color: var(--on-navy); }
.segments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.segment { padding-top: 1.6rem; border-top: 1px solid rgba(230, 197, 148, 0.45); display: grid; gap: 0.5rem; align-content: start; }
.segment .icon { width: 2.1rem; height: 2.1rem; color: var(--gold-light); margin-bottom: 0.4rem; }
.segment h3 { color: #fff; font-size: 1.4rem; }
.segment p { font-size: 1.02rem; }

/* ---------- لماذا ركن الهليون ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.25rem, 4.5vw, 3.75rem) clamp(1.5rem, 4vw, 3.5rem); }
.reason { display: grid; gap: 0.5rem; align-content: start; }
.reason__icon { display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--navy); color: var(--gold-light); margin-bottom: 0.6rem; }
.reason h3 { font-size: 1.35rem; }

/* ---------- التواصل ---------- */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.contact__info { display: grid; gap: 1.25rem; align-content: start; }
.contact-list { display: grid; margin-top: 1rem; }
.contact-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; align-items: center; padding-block: 1.15rem; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list__icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--navy); color: var(--gold-light); }
.contact-list__label { display: block; font-size: 0.92rem; color: var(--gold-deep); line-height: 1.6; }
.contact-list a, .contact-list li div > span:last-child { color: var(--navy); font-size: 1.2rem; text-decoration: none; line-height: 1.7; }
.contact-list a { display: inline-block; border-bottom: 1.5px solid var(--gold-light); }
.contact-list a:hover { border-bottom-color: var(--gold); }

.form { background: var(--ivory); border-radius: 1.25rem; padding: clamp(1.5rem, 4vw, 2.75rem); display: grid; gap: 1.15rem; }
.form__title { font-size: 1.5rem; }
.field { display: grid; gap: 0.35rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field label { color: var(--navy); font-weight: 700; font-size: 0.98rem; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--navy); background: var(--paper);
  border: 1.5px solid var(--field-line); border-radius: 0.7rem; padding: 0.7rem 0.95rem; min-height: 3.1rem;
}
.field textarea { resize: vertical; line-height: 1.8; }
.field input[dir="ltr"] { text-align: right; }
.field ::placeholder { color: #6B7489; opacity: 1; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: #A8322B; border-width: 2px; }
.form__error { color: #8E241E; font-weight: 700; font-size: 0.98rem; }
.form__send { justify-self: start; margin-top: 0.35rem; }
.form__send .icon { width: 1.25rem; height: 1.25rem; transform: scaleX(-1); }
.form__note { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.8; }

/* ---------- التذييل ---------- */
.site-footer { background: var(--navy); color: var(--on-navy); padding-top: clamp(3rem, 7vw, 5rem); font-size: 1rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.site-footer__brand { display: grid; gap: 1.25rem; justify-items: start; align-content: start; max-width: 26rem; }
.logo-field { display: inline-block; background: #fff; border-radius: 0.8rem; padding: 0.9rem 1.2rem; }
.logo-field img { height: 2.75rem; width: auto; }
.site-footer__nav, .site-footer__contact { display: grid; gap: 0.5rem; align-content: start; justify-items: start; }
.site-footer a { color: #fff; text-decoration: none; border-bottom: 1px solid transparent; }
.site-footer a:hover { border-bottom-color: var(--gold-light); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.92rem; }

/* ---------- الشاشات المتوسطة والصغيرة ---------- */
@media (max-width: 60rem) {
  .about__grid, .services__grid, .contact__grid { grid-template-columns: 1fr; }
  .services__head { position: static; }
  .tag { max-width: 26rem; margin-top: 1.5rem; }
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .segments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swatches { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 43.75rem) {
  body { font-size: 1rem; }
  .lead { font-size: 1.15rem; }
  .pillars { grid-template-columns: 1fr; }
  .lines { grid-template-columns: 1fr; }
  .line-card { aspect-ratio: 5 / 4; }
  .reasons { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form__send { justify-self: stretch; }
  .swatches__rail { --w: 34vw; grid-template-columns: repeat(5, var(--w)); overflow-x: auto; padding: 0.5rem 0 2.5rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-snap-type: x proximity; scrollbar-width: none; }
  .swatches__rail::-webkit-scrollbar { display: none; }
  .swatches__rail li { scroll-snap-align: start; }
  .swatches__rail:focus-visible { outline-offset: -3px; }
}
@media (max-width: 30rem) {
  .segments { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 22.5rem) {
  .site-header__in { gap: 0.75rem; }
  .site-header__tools { gap: 0.4rem; }
  .icon-btn { width: 2.6rem; height: 2.6rem; }
  .hero__actions .btn { padding-inline: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .site-header, .hero__cloth, .form, .skip { display: none; }
  body { background: #fff; }
  .promise, .clients, .site-footer { background: #fff; color: var(--ink); }
  .promise blockquote p, .head--on-navy h2, .segment h3 { color: var(--navy); }
}
