@font-face{font-family:Plex;src:url(./fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2);font-weight:400;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:Plex;src:url(./fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2);font-weight:600;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:Plex;src:url(./fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2);font-weight:700;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:Plex;src:url(./fonts/ibm-plex-sans-arabic-latin-400-normal.woff2);font-weight:400;font-display:swap}
@font-face{font-family:Plex;src:url(./fonts/ibm-plex-sans-arabic-latin-600-normal.woff2);font-weight:600;font-display:swap}
@font-face{font-family:Plex;src:url(./fonts/ibm-plex-sans-arabic-latin-700-normal.woff2);font-weight:700;font-display:swap}

:root {
  --ink: #102f3d;
  --petrol: #0d3441;
  --cream: #f9f5ec;
  --shadow: 0 18px 48px #183f3914;
  --muted: #425e63;
  --teal: #096b64;
  --bright: #a9e9d9;
  --gold: #d7ab65;
  --line: #d9e8e3;
  --wash: #e9f6f2;
  --paper: #fafcfa;
  font-family: Plex, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.18; }
h2 { font-size: clamp(1.85rem, 4vw, 3.05rem); letter-spacing: -.025em; }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
[dir=rtl] h2 { letter-spacing: normal; }
:focus-visible { outline: 3px solid #bc7941; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 84px)); margin-inline: auto; }
.skip { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 6; transform: translateY(-160%); background: white; padding: .5rem 1rem; }
.skip:focus { transform: none; }
.header { background: #fff; border-block-end: 1px solid var(--line); position: relative; z-index: 2; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; }
.header-inner { min-height: 87px; }
.brand { display: inline-flex; gap: .55rem; align-items: center; line-height: 1.35; flex-shrink: 0; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.03rem; }
.brand small { margin-block-start: .2rem; color: var(--muted); font-size: .73rem; }
.brand-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--cream); overflow: hidden; flex-shrink: 0; }
.brand img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.35); }
.symbol { display: grid; place-items: center; width: 44px; aspect-ratio: 1; border-radius: 15px; color: var(--teal); background: var(--wash); }
#navigation, .header-actions, .actions { display: flex; align-items: center; gap: clamp(.6rem, 1.7vw, 1.55rem); }
#navigation a { white-space: nowrap; padding-block: .4rem; font-size: .93rem; font-weight: 600; }
#navigation a:hover, #navigation [aria-current] { color: var(--teal); box-shadow: 0 2px var(--teal); }
.menu-toggle { display: none; }
.language, .menu-toggle { font: inherit; font-size: .84rem; font-weight: 700; padding: .45rem .65rem; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65em; min-height: 48px; border-radius: 12px; padding: .66rem 1.25rem; font: inherit; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: background .18s, transform .18s; white-space: nowrap; }
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .55; cursor: default; }
.primary { background: var(--teal); color: #fff; }
.primary:hover { background: #055751; }
.outline { border-color: #76a39a; color: var(--teal); }
.outline:hover { background: #dcefe8; }
.arrow { display: inline-block; width: .95em; height: .68em; position: relative; }
.arrow::before { content: ""; position: absolute; inset: 50% 0 auto; border-block-start: 1.5px solid currentColor; }
.arrow::after { content: ""; position: absolute; inset: 50% 0 auto auto; width: .35em; height: .35em; border-block-start: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor; transform: translateY(-45%) rotate(45deg); }
[dir=rtl] .arrow::after { border-inline-end: 0; border-right: 1.5px solid currentColor; }
[dir=rtl] .arrow { transform: scaleX(-1); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #fff7e9, transparent 66%), linear-gradient(120deg, #edf8f4, #fffdf9 83%);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -30% auto auto -9%;
  width: 620px;
  aspect-ratio: 1;
  border: 1px solid #137d6c20;
  border-radius: 50%;
  box-shadow: 0 0 0 42px #137d6c07, 0 0 0 100px #137d6c06;
}
.hero-grid { display: grid; grid-template-columns: 1fr minmax(310px, .82fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; min-height: 568px; padding-block: 42px 66px; }
.hero h1 { font-size: clamp(3rem, 6vw, 5.9rem); line-height: 1.12; }
.hero h1 em { color: var(--teal); font-style: normal; }
.eyebrow { font-weight: 700; color: var(--teal); margin-block-end: 1rem; }
.eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 1.8rem; height: 2px; margin-inline-end: .65rem; background: #b68f50; }
.hero .eyebrow { width: fit-content; padding: .38rem .8rem; border-radius: 7px; background: #dcefe9; }
.hero-description { margin-block: 1rem 1.75rem; font-size: clamp(1rem, 2vw, 1.22rem); max-width: 32rem; }
.hero .primary { box-shadow: 0 9px 20px #096b642b; }
.hero .outline { background: #ffffff87; }
.hero-visual {
  position: relative;
  background: radial-gradient(circle at 22% 8%, #248778, transparent 70%), var(--petrol);
  padding: 16px 16px 55px;
  border-radius: 28px 28px 78px 28px;
  box-shadow: 0 22px 42px #173b4833;
}
[dir=rtl] .hero-visual { border-radius: 28px 28px 28px 78px; }
.portrait { display: block; overflow: hidden; border-radius: 22px; background: #b0c8c1; }
.portrait img, .portrait-placeholder { width: 100%; height: auto; aspect-ratio: 4 / 4.35; object-fit: cover; object-position: center 7%; }
.hero .portrait { border-radius: 15px 15px 50px 15px; }
[dir=rtl] .hero .portrait { border-radius: 15px 15px 15px 50px; }
.hero .portrait img, .hero .portrait-placeholder { aspect-ratio: 1 / .95; }
.portrait-placeholder { display: grid; place-items: center; color: #fff; font-size: 6rem; background: radial-gradient(circle, #568b82, #164b4d); }
.hero-caption { position: absolute; inset-inline-start: 28px; inset-block-end: 14px; display: flex; align-items: center; gap: .75rem; padding: .65rem .9rem; border-radius: 13px; border: 1px solid #ffffffa8; background: #f6fffc; box-shadow: 0 10px 26px #062e3d38; max-width: calc(100% - 54px); pointer-events: none; }
.hero-caption strong, .hero-caption span { display: block; }
.hero-caption span { color: var(--muted); font-size: .82rem; }
.caption-mark { width: .65rem; height: .65rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px #d7ab6533; flex-shrink: 0; }
.strip { position: relative; margin-block-start: -24px; }
.strip .contact-grid { background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); border-radius: 18px; padding: .4rem 1.35rem; }
.contact-grid { display: grid; grid-template-columns: .72fr 1.16fr 1.25fr; gap: 1.25rem; }
.contact-grid > div { display: grid; align-content: start; gap: .18rem; padding-block: .95rem; }
.contact-grid > div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 1.25rem; }
.contact-grid span { color: var(--teal); font-size: .84rem; font-weight: 700; }
.contact-grid a, .contact-grid strong { font-weight: 600; }
.contact-grid a:hover, .footer a:hover { text-decoration: underline; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.services-section { background: linear-gradient(transparent, #eef7f4); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.35rem; margin-block-end: 2rem; }
.section-heading > p { max-width: 23rem; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.15rem; }
.service-card { display: flex; flex-direction: column; gap: .85rem; padding: 1.5rem; min-height: 220px; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: 0 8px 24px #17473c09; transition: transform .18s, border-color .18s, box-shadow .18s; }
a.service-card:hover { transform: translateY(-4px); border-color: #76a39a; box-shadow: 0 12px 22px #204e4020; }
.service-icon { display: grid; place-items: center; width: 46px; aspect-ratio: 1; border-radius: 13px; color: var(--teal); background: var(--wash); }
.service-icon::before { content: ""; width: 15px; height: 15px; border: 2px solid currentColor; border-radius: 50%; }
.icon-0::before { box-shadow: inset 0 0 0 3px var(--wash), inset 0 0 0 8px currentColor; }
.icon-1, .icon-4 { background: #faf0de; color: #825820; }
.icon-1::before { border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.icon-2::before { border-radius: 4px; transform: rotate(45deg); }
.icon-3::before { border: 0; border-radius: 0; width: 19px; height: 19px; background: linear-gradient(currentColor,currentColor) center/5px 100% no-repeat, linear-gradient(currentColor,currentColor) center/100% 5px no-repeat; }
.icon-4::before { border-radius: 50% 50% 50% 0; transform: rotate(135deg); }
.icon-5::before { border-radius: 50% 0; transform: rotate(45deg); }
.card-more { color: var(--teal); font-weight: 700; margin-block-start: auto; }
.compact { margin-block-start: 1.5rem; }
.compact .service-card { min-height: auto; }
.tint { background: var(--cream); }
.visit { background: linear-gradient(130deg, #0c3441, #14564f); color: #fff; }
.visit .contact-grid span { color: var(--bright); }
.visit .contact-grid > div { border-color: #ffffff40; }
.visit .primary { background: var(--bright); color: var(--ink); }
.visit .outline { color: #fff; }
.visit .outline:hover { background: #ffffff1a; }
.split { display: grid; grid-template-columns: minmax(250px,.72fr) 1fr; align-items: center; gap: clamp(2rem, 8vw, 7rem); }
.split p { margin-block: .95rem; }
.credential { color: var(--teal); font-weight: 600; }
.visit .contact-grid { margin-block: 1rem; }
.footer { background: #0c3037; color: #effaf7; padding-block: 1.8rem; }
.footer .brand small { color: #c1d8d3; }
.footer-inner > div, .footer-inner nav { display: grid; gap: .3rem; }
.page-head { padding-block: 2.1rem 3.4rem; background: radial-gradient(ellipse at 18% 5%, #fcf1dd, transparent 55%), linear-gradient(125deg,#e3f4ef,#f6fbf9); border-block-end: 1px solid var(--line); }
.page-head h1 { margin-block: .7rem .7rem; max-width: 20ch; font-size: clamp(2.45rem, 5vw, 4.45rem); }
.page-head p { font-size: 1.16rem; }
.crumb { display: flex; flex-wrap: wrap; gap: .6rem; font-size: .9rem; color: var(--muted); }
.crumb a { color: var(--teal); text-decoration: underline; }
.form-layout { display: grid; align-items: start; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.5rem; }
.form-layout > div > h2 { margin-block-end: 1.3rem; }
.form-card, .aside { padding: clamp(1.15rem, 3vw, 2rem); border-radius: 18px; border: 1px solid var(--line); }
.form-card { background: white; box-shadow: var(--shadow); }
.aside { display: grid; gap: 1rem; background: var(--wash); }
.aside h2 { font-size: 1.65rem; }
.aside .contact-grid { grid-template-columns: 1fr; gap: 0; }
.aside .contact-grid > div + div { border-inline-start: 0; border-block-start: 1px solid var(--line); padding-inline-start: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block-end: 1rem; }
label { display: grid; gap: .35rem; font-weight: 600; }
input, select, textarea { color: var(--ink); background: #fbfdfc; border: 1px solid #9bbcb3; border-radius: 8px; padding: .7rem .8rem; font: inherit; min-width: 0; width: 100%; }
textarea { resize: vertical; }
.form-note, .feedback { padding: .8rem 1rem; border-radius: 8px; background: var(--wash); margin-block: 1rem; }
.feedback a, .aside p a { text-decoration: underline; }
.article h2 { font-size: 1.65rem; margin-block-end: .5rem; }
.article p + h2 { margin-block-start: 1.45rem; }
details { border: 1px solid var(--line); padding: 1rem; border-radius: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin-block-start: .65rem; }
.stock { overflow: hidden; border-radius: 18px; margin-block-end: 1.2rem; background: var(--wash); }
.stock img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; }
figcaption { padding: .6rem .9rem; font-size: .86rem; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.15rem; align-items: start; }

@media (max-width: 1050px) {
  .wrap { width: min(1200px, calc(100% - 52px)); }
  .header-inner { flex-wrap: wrap; padding-block: .55rem; }
  #navigation { order: 4; width: 100%; justify-content: center; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 34px); }
  .header-inner { gap: .4rem; min-height: 68px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand strong { font-size: .88rem; }
  .brand small { display: none; }
  .header-actions { gap: .4rem; }
  .header-actions .button { display: none; }
  .menu-toggle:not([hidden]) { display: block; margin-inline-start: auto; }
  #navigation { flex-wrap: wrap; justify-content: start; padding: .45rem 0; }
  .menu-enhanced #navigation:not(.open) { display: none; }
  .hero-grid, .split, .form-layout { grid-template-columns: minmax(0,1fr); }
  .hero-grid { gap: 1.7rem; padding-block: 2rem 3.3rem; }
  .hero-visual { max-width: 480px; width: 100%; justify-self: center; }
  .hero .portrait img { aspect-ratio: 1 / .85; }
  .hero-visual { padding: 11px 11px 46px; }
  .hero-caption { inset-inline-start: 16px; inset-block-end: 10px; }
  .hero h1 { font-size: clamp(2.55rem, 9.5vw, 4.2rem); }
  .hero-description { margin-block-end: 1.2rem; }
  .actions { flex-wrap: wrap; }
  .contact-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-grid > div + div { border-inline-start: 0; border-block-start: 1px solid var(--line); padding-inline-start: 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .cards, .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-inner { align-items: start; flex-wrap: wrap; }
}
@media (max-width: 435px) {
  .cards, .gallery, .form-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: radial-gradient(ellipse at center, #1a655e 0%, var(--petrol) 62%, #092630 100%);
  animation: intro-curtain 1.92s ease both;
}

.intro-content { display: grid; justify-items: center; gap: 1.15rem; padding: 2rem; text-align: center; }
.intro-content p {
  color: #fff;
  font-size: clamp(1.4rem, 5vw, 2.25rem);
  font-weight: 700;
  animation: content-arrival .6s .23s both;
}
.intro-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(124px, 20vw, 158px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fffaf0;
  box-shadow: 0 0 70px #a9e9d943, 0 0 0 1px #ffe3b5;
  animation: logo-arrival .74s cubic-bezier(.2,.75,.26,1) both;
}
.intro-logo::before, .intro-logo::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid #f5ca88;
  border-radius: inherit;
  animation: intro-ring 1.38s .13s ease-out both;
}
.intro-logo::after { animation-delay: .34s; border-color: #a9e9d9; }
.intro-logo img { position: relative; width: 100%; height: auto; }
.intro-line {
  width: 76px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: intro-line 1.2s .24s ease both;
}

.page-motion .hero-copy > *, .page-motion .hero-visual, .page-motion .page-head .wrap > * {
  animation: content-arrival .72s var(--motion-delay, 0ms) cubic-bezier(.22,.66,.25,1) both;
}
.page-motion .hero-copy > :nth-child(2), .page-motion .page-head h1 { --motion-delay: 80ms; }
.page-motion .hero-copy > :nth-child(3), .page-motion .page-head p { --motion-delay: 155ms; }
.page-motion .hero-copy > :nth-child(4), .page-motion .hero-visual { --motion-delay: 220ms; }
.page-motion .hero-caption { animation: content-arrival .55s .48s both; }
.section-arrival { animation: content-arrival .64s cubic-bezier(.22,.66,.25,1) backwards; }
.service-card.section-arrival:nth-child(3n + 2) { animation-delay: 65ms; }
.service-card.section-arrival:nth-child(3n) { animation-delay: 130ms; }
.page-motion #navigation.open, .page-motion details[open] > p, .page-motion .feedback:not([hidden]) {
  animation: content-arrival .28s ease-out both;
}
.button .arrow, .card-more .arrow { transition: translate .2s ease; }
.button:hover .arrow, .service-card:hover .arrow { translate: 4px; }
[dir=rtl] .button:hover .arrow, [dir=rtl] .service-card:hover .arrow { translate: -4px; }
.portrait img { transition: transform .42s cubic-bezier(.22,.66,.25,1); }
a.portrait:hover img { transform: scale(1.035); }

@keyframes intro-curtain {
  0%, 72% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes logo-arrival {
  from { transform: translateY(16px) scale(.74); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes intro-ring {
  from { transform: scale(.94); opacity: .75; }
  to { transform: scale(1.55); opacity: 0; }
}
@keyframes intro-line {
  from { transform: scaleX(.15); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}
@keyframes content-arrival {
  from { transform: translateY(16px); opacity: .2; }
  to { transform: translateY(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .site-intro { display: none; }
  .button:hover, .button:hover .arrow, a.service-card:hover, .service-card:hover .arrow, a.portrait:hover img {
    transform: none;
    translate: none;
  }
}
