/* ===== موقع رند (الصفحة العامة) ===== */
:root {
  --navy: #14305A;
  --navy-2: #0E2445;
  --green: #3E9E4F;
  --green-2: #2F7F3D;
  --cream: #F4EEDC;
  --paper: #FAF7EF;
  --ink: #1D2B3F;
  --muted: #55657A;
  --line: #E4DCC6;
  --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.site { margin: 0; background: var(--paper); color: var(--ink); font-family: "IBM Plex Sans Arabic", "Cairo", system-ui, sans-serif; font-size: 17px; line-height: 1.8; }
.site a { color: inherit; text-decoration: none; }
.site img { max-width: 100%; display: block; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.h-font, .site h1, .site h2, .site h3 { font-family: "Alexandria", "Cairo", sans-serif; line-height: 1.35; margin: 0; }

/* الهيدر */
.s-head { position: sticky; top: 0; z-index: 20; background: rgba(250, 247, 239, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.s-head.scrolled { border-bottom-color: var(--line); }
.s-head .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.s-logo img { height: 50px; width: auto; }
.s-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.s-nav a { padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 15.5px; color: var(--navy); }
.s-nav a:hover { background: var(--cream); }
.btn-s { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 12px; font-weight: 700; font-size: 15.5px; border: 2px solid transparent; transition: transform .15s, background .15s; white-space: nowrap; }
.btn-s:hover { transform: translateY(-2px); }
.btn-s svg { width: 18px; height: 18px; flex: none; }
.btn-navy { background: var(--navy); color: #fff !important; }
.btn-navy:hover { background: var(--navy-2); }
.btn-green { background: var(--green); color: #fff !important; }
.btn-green:hover { background: var(--green-2); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff !important; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.menu-btn { display: none; margin-inline-start: auto; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }

/* الواجهة: سلايدر الصور */
.kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(62,158,79,.22); color: #b6e6bf; border: 1px solid rgba(127,207,141,.45); padding: 5px 14px; border-radius: 99px; font-weight: 700; font-size: 14px; backdrop-filter: blur(4px); }
.kicker i { width: 7px; height: 7px; border-radius: 50%; background: #7fcf8d; }
.hero-slider { position: relative; overflow: hidden; background: var(--navy); color: #fff; height: clamp(560px, 86vh, 780px); isolation: isolate; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s 1.2s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s ease, visibility 0s; z-index: 2; }
.slide.was-active { visibility: visible; z-index: 1; }
.slide-img { position: absolute; inset: 0; background-size: cover; background-position: 32% 70%; transform: scale(1.12); transition: transform 7.5s linear; }
.slide.is-active .slide-img { transform: scale(1); }          /* حركة زووم بطيئة */
.slide::after { /* تغميق ناحية الكلام (يمين) عشان الكلام يبان */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(14,36,69,.92) 0%, rgba(14,36,69,.72) 34%, rgba(14,36,69,.18) 62%, rgba(14,36,69,0) 80%),
              linear-gradient(to top, rgba(14,36,69,.75) 0%, rgba(14,36,69,0) 32%);
}
.slide-cap { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-bottom: 120px; }
.slide-cap > * { max-width: 580px; opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.slide.is-active .slide-cap > * { opacity: 1; transform: none; }
.slide.is-active .slide-cap > :nth-child(1) { transition-delay: .35s; }
.slide.is-active .slide-cap > :nth-child(2) { transition-delay: .5s; }
.slide.is-active .slide-cap > :nth-child(3) { transition-delay: .65s; }
.slide-cap h1, .slide-cap h2 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; margin: 18px 0 16px; letter-spacing: -.5px; line-height: 1.3; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.slide-cap em { font-style: normal; color: #8fdc9c; }
.slide-cap .lead { font-size: clamp(17px, 1.6vw, 20px); color: #dbe3ee; margin: 0; }
.hero-cta { position: absolute; z-index: 5; inset-inline: 0; bottom: 112px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-ctrl { position: absolute; z-index: 5; inset-inline: 0; bottom: 40px; display: flex; align-items: center; gap: 14px; }
.h-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: rgba(14,36,69,.35); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.h-arrow:hover { background: var(--green); border-color: var(--green); }
.h-arrow svg { width: 22px; height: 22px; }
.h-prev svg { transform: scaleX(-1); }   /* في RTL: السابق يمين، التالي شمال */
.h-dots { display: flex; gap: 8px; }
.h-dot { width: 40px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.3); cursor: pointer; overflow: hidden; position: relative; }
.h-dot span { position: absolute; inset: 0; background: #8fdc9c; transform: scaleX(0); transform-origin: right; border-radius: inherit; }
.h-dot.is-active span { animation: hfill var(--dur, 6000ms) linear forwards; }
.hero-slider.paused .h-dot.is-active span { animation-play-state: paused; }
@keyframes hfill { to { transform: scaleX(1); } }

/* الأقسام */
section.s { padding: 96px 0; }
.s-title { max-width: 780px; margin-bottom: 48px; }
.s-title .tag { display: inline-flex; align-items: center; gap: 8px; color: var(--green-2); font-weight: 800; font-size: 14.5px; letter-spacing: .3px; margin-bottom: 10px; }
.s-title .tag svg { width: 18px; height: 18px; }
.s-title h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: var(--navy); }
.s-title p { color: var(--muted); margin: 12px 0 0; font-size: 18px; }
.center { text-align: center; margin-inline: auto; }

/* من نحن */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about .big { font-family: "Alexandria", sans-serif; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; color: var(--navy); line-height: 1.7; margin: 0 0 18px; }
.about .big b { color: var(--green-2); font-weight: 800; }
.about p { color: var(--muted); margin: 0 0 14px; }
.points { display: grid; gap: 14px; }
.point { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.point .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--cream); color: var(--navy); display: grid; place-items: center; }
.point .ic svg { width: 24px; height: 24px; }
.point h3 { font-size: 17.5px; color: var(--navy); font-weight: 700; margin-bottom: 2px; }
.point p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* الخدمات */
.services { background: #fff; border-block: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px 26px; transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.svc:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(20,48,90,.10); border-color: #cfe3d2; }
.svc .num { position: absolute; top: 14px; inset-inline-end: 18px; font-family: "Alexandria", sans-serif; font-weight: 800; font-size: 44px; color: rgba(20,48,90,.06); line-height: 1; }
.svc .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.svc .ic svg { width: 28px; height: 28px; }
.svc:nth-child(even) .ic { background: var(--green); }
.svc h3 { font-size: 19px; color: var(--navy); font-weight: 700; margin-bottom: 8px; }
.svc p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.75; }

/* المحاصيل */
.crops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.crop { border-radius: 22px; padding: 30px 28px; color: #fff; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.crop::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 26px, rgba(255,255,255,.06) 26px 27px); }
.crop > * { position: relative; z-index: 1; }
.crop .ic { position: absolute; top: 24px; inset-inline-start: 26px; width: 64px; height: 64px; opacity: .95; }
.crop h3 { font-size: 26px; font-weight: 800; }
.crop p { margin: 4px 0 0; color: rgba(255,255,255,.82); font-size: 15.5px; }
.crop.k1 { background: linear-gradient(160deg, #7a5a33, #4b3520); }
.crop.k2 { background: linear-gradient(160deg, #2F7F3D, #1c5527); }
.crop.k3 { background: linear-gradient(160deg, #d98a1c, #a35d0b); }

/* إزاي بنشتغل */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: st; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; inset-inline: 12%; border-top: 2px dashed #c8d0dc; }
.step { text-align: center; padding: 0 14px; position: relative; }
.step .dot { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy); color: var(--navy); display: grid; place-items: center; font-family: "Alexandria", sans-serif; font-weight: 800; font-size: 22px; position: relative; z-index: 1; }
.step:last-child .dot { background: var(--green); border-color: var(--green); color: #fff; }
.step h3 { font-size: 18px; color: var(--navy); font-weight: 700; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.75; }

/* شركاء النجاح */
.partners { background: #fff; border-block: 1px solid var(--line); overflow: hidden; }
.partners .s-title { margin-bottom: 40px; }
.p-track { position: relative; overflow: hidden; mask-image: linear-gradient(to left, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(to left, transparent, #000 10%, #000 90%, transparent); }
.p-belt { display: flex; gap: 18px; width: max-content; padding: 6px 0; animation: belt 34s linear infinite; }
.p-track:hover .p-belt { animation-play-state: paused; }
@keyframes belt { to { transform: translateX(calc(50% + 9px)); } }
.p-card { flex: none; width: 220px; height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s, transform .2s; }
.p-card:hover { border-color: #b9dcc0; box-shadow: 0 14px 30px rgba(20,48,90,.08); transform: translateY(-3px); }
.p-card img { max-height: 54px; max-width: 150px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.p-card:hover img { filter: none; opacity: 1; }
.p-mark { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: "Alexandria", sans-serif; font-weight: 800; font-size: 22px; }
.p-card:nth-child(even) .p-mark { background: var(--green); }
.p-card b { font-family: "Alexandria", sans-serif; color: var(--navy); font-size: 16.5px; font-weight: 700; }

/* تواصل: الفورم + الخريطة */
.contact-grid { display: grid; grid-template-columns: 1.25fr .95fr; gap: 24px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: 0 24px 50px rgba(20,48,90,.06); }
.form-title { display: flex; align-items: center; gap: 10px; font-size: 22px; color: var(--navy); font-weight: 800; margin-bottom: 22px !important; }
.form-title svg { color: var(--green); width: 22px; height: 22px; }
.req-form { display: grid; gap: 16px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-row.f-3 { grid-template-columns: 1.2fr .8fr 1fr; }
.fld { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.fld i { color: #c0392b; font-style: normal; }
.fld input, .fld select { height: 52px; }
.fld input, .fld select, .fld textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; width: 100%; transition: border-color .15s, box-shadow .15s, background .15s; }
.fld input[dir="ltr"] { text-align: right; }
.fld textarea { resize: vertical; min-height: 110px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(62,158,79,.15); }
.fld .input-validation-error { border-color: #d9534f; background: #fff7f6; }
.f-msg { color: #c0392b; font-size: 13.5px; font-weight: 500; min-height: 0; }
.form-err ul { margin: 0; padding: 12px 18px 12px 0; background: #fff3f2; border: 1px solid #f3c7c3; border-radius: 12px; color: #a5281b; font-size: 14.5px; list-style: none; }
.form-err.validation-summary-valid { display: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.f-send { justify-content: center; padding: 14px 22px; font-size: 16.5px; cursor: pointer; font-family: inherit; }
.f-send:disabled { opacity: .7; cursor: wait; transform: none; }
.form-done { text-align: center; padding: 36px 10px; }
.form-done .ic { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: #e6f4e8; color: var(--green); display: grid; place-items: center; }
.form-done h3 { font-size: 24px; color: var(--navy); font-weight: 800; margin-bottom: 8px; }
.form-done p { color: var(--muted); margin: 0 0 22px; }

.side-col { display: grid; gap: 16px; }
.map-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 24px 50px rgba(20,48,90,.06); }
.map-card iframe { display: block; width: 100%; height: 280px; border: 0; filter: saturate(.9); }
.map-soon { height: 280px; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--muted); font-weight: 600; background: repeating-linear-gradient(-18deg, var(--paper) 0 22px, #f0e9d6 22px 23px); }
.map-soon svg { color: var(--green); width: 34px; height: 34px; }
.map-foot { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-top: 1px solid var(--line); }
.map-foot .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--cream); color: var(--navy); display: grid; place-items: center; flex: none; }
.map-foot small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.map-foot b { color: var(--navy); font-size: 16px; }
.map-go { margin-inline-start: auto; padding: 9px 16px; font-size: 14.5px; }
.map-go svg { width: 16px; height: 16px; }
.c-list { display: grid; gap: 10px; }
.site .c-item { display: flex; align-items: center; gap: 14px; background: var(--navy); color: #fff; border-radius: 16px; padding: 14px 18px; transition: background .15s, transform .15s; }
a.c-item:hover { background: var(--navy-2); transform: translateY(-2px); }
.c-item .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--green); display: grid; place-items: center; flex: none; }
.c-item .ic svg { width: 21px; height: 21px; }
.c-item small { display: block; color: #9fb0c6; font-size: 13px; line-height: 1.4; }
.c-item b { font-size: 17px; direction: ltr; unicode-bidi: plaintext; }
.c-soon { color: var(--muted); background: var(--paper); border: 1px dashed #d6ccb0; border-radius: 16px; padding: 16px 18px; }

/* زرار واتساب العائم */
.wa-float { position: fixed; z-index: 30; bottom: 22px; left: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff !important; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* الفوتر */
.s-foot { padding: 56px 0 28px; background: var(--navy-2); color: #c9d3e0; }
.s-foot .top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.s-foot .top img { height: 64px; width: auto; }
.s-foot nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.s-foot nav a:hover { color: #fff; }
.s-foot .bot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: 14.5px; color: #8fa0b8; }
.s-foot .bot a { color: #c9d3e0; }

/* موبايل */
@media (max-width: 980px) {
  .about, .contact-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .steps::before { display: none; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .s-head .login-top { display: none; }
  .s-nav { display: none; position: absolute; top: 76px; inset-inline: 0; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; }
  .s-nav.open { display: flex; }
  .s-nav a { padding: 12px 14px; }
  .s-nav .login-mob { display: inline-flex !important; justify-content: center; margin-top: 8px; }
}
@media (max-width: 620px) {
  body.site { font-size: 16px; }
  section.s { padding: 64px 0; }
  .s-logo img { height: 42px; }
  .svc-grid, .crops { grid-template-columns: 1fr; }
  .crop { min-height: 170px; }
  .hero-slider { height: clamp(560px, 92svh, 720px); }
  .slide-img { background-size: auto 135%; background-position: 20% 100%; }
  .slide::after { background: linear-gradient(to top, rgba(14,36,69,.96) 0%, rgba(14,36,69,.85) 40%, rgba(14,36,69,.2) 62%, rgba(14,36,69,0) 80%); }
  .slide-cap { justify-content: flex-end; padding-bottom: 190px; }
  .hero-cta { bottom: 96px; }
  .hero-cta .btn-s { flex: 1; justify-content: center; padding: 11px 14px; }
  .hero-ctrl { bottom: 30px; }
  .h-arrow { width: 40px; height: 40px; }
  .h-dot { width: 28px; }
  .form-card { padding: 24px 18px; }
  .f-row, .f-row.f-3 { grid-template-columns: 1fr; }
  .p-card { width: 170px; height: 104px; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; left: 16px; }
}
.s-nav .login-mob { display: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .p-belt { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .slide-cap > * { opacity: 1; transform: none; } }
