:root{--p:#02213d;--g:#c69a4b;--cream:#f0f2ef;--ink:#231822;--soft:#3e3540;--mist:#d3dbe3;--rule:#dcdfd9;--khaki:#373d20;--paper:#f8f3ed;--ice:#e8edf2;--gold-text:#e0bb7c}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--cream);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Noto Naskh Arabic","Segoe UI Arabic","Geeza Pro",Tahoma,sans-serif;line-height:1.65;font-size:17px}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px;width:100%}
a{color:var(--p)}
a:focus-visible{outline:3px solid var(--g);outline-offset:2px;border-radius:2px}

/* language strip (khaki rail colour) */
.strip{background:var(--khaki);color:#fff}
.langs{display:flex;justify-content:flex-end;gap:2px;font-size:14px}
.langs a{color:#fff;text-decoration:none;padding:6px 12px;border-bottom:3px solid transparent;line-height:1.4}
.langs a:hover{border-bottom-color:var(--gold-text)}
.langs a[aria-current]{border-bottom-color:var(--gold-text);font-weight:700}
.langs a:focus-visible{outline-color:#fff}

/* header */
.top{background:var(--paper);border-bottom:1px solid var(--rule)}
.bar{display:flex;align-items:center;gap:16px 40px;padding-block:10px}
.brand{display:block;flex:none;line-height:0}
.brand img{display:block;height:88px;width:auto}
nav{display:flex;flex:1;justify-content:flex-end;gap:4px 28px}
nav a{color:var(--p);text-decoration:none;font-weight:600;font-size:15px;line-height:1.3;padding:10px 0;border-bottom:3px solid transparent}
nav a:hover{border-bottom-color:var(--g)}
nav a[aria-current]{border-bottom-color:var(--g)}

/* hero band */
.hero{background:var(--p);color:#fff;border-bottom:5px solid var(--g)}
.hero-in{display:flex;align-items:center;justify-content:space-between;gap:40px;padding-block:44px 48px}
.hero-t{max-width:760px}
.head{display:flex;align-items:center;gap:18px}
.badge{flex:none;display:grid;place-items:center;width:64px;height:64px;border-radius:14px;background:var(--paper)}
.icon{display:block;width:40px;height:40px}
h1{color:#fff;font-size:clamp(26px,4.4vw,42px);line-height:1.2;margin:0;letter-spacing:-.01em;text-wrap:balance}
h1::after{content:"";display:block;width:72px;height:4px;background:var(--g);margin-top:16px;border-radius:2px}
.lead{color:#dfe6ed;font-size:clamp(17px,2vw,20px);margin:18px 0 0;max-width:62ch}
.cta{margin:26px 0 0}
.hero-mark{flex:none;background:var(--paper);border-radius:14px;padding:14px 22px;box-shadow:0 0 0 4px rgba(198,154,75,.55)}
.hero-mark img{display:block;height:240px;width:auto}

/* button */
.btn{display:inline-flex;align-items:center;gap:10px;background:var(--g);color:var(--p);font-weight:700;font-size:17px;line-height:1.3;text-decoration:none;padding:14px 26px;border-radius:10px;border:2px solid var(--g);box-shadow:0 2px 0 rgba(0,0,0,.25)}
.btn::before{content:"";flex:none;width:22px;height:22px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2302213D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 10h32a3 3 0 0 1 3 3v18a3 3 0 0 1-3 3H22l-9 8v-8H8a3 3 0 0 1-3-3V13a3 3 0 0 1 3-3z'/%3E%3C/svg%3E") center/contain no-repeat}
.btn:hover{background:#d8ae63;border-color:#d8ae63}
.btn:focus-visible{outline:3px solid #fff;outline-offset:3px}

/* body */
main.wrap{flex:1;padding-block:44px 64px}
.body p,.body li{max-width:68ch}
.body p{margin:0 0 18px}
.body>p:first-child{font-size:19px;color:var(--ink)}
ul{padding-inline-start:1.3em}
li::marker{color:var(--g)}
.body{max-width:none}

/* home: services as icon cards, call offer as a callout */
.page-home .body ul{list-style:none;padding:0;margin:30px 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;counter-reset:none}
.page-home .body li{max-width:none;background:#fff;border:1px solid var(--rule);border-top:4px solid var(--g);border-radius:10px;padding:22px 18px 20px;box-shadow:0 1px 2px rgba(2,33,61,.06);font-size:16px;line-height:1.5}
.page-home .body li::before{content:"";display:block;width:52px;height:52px;margin-bottom:14px;border-radius:12px;background:var(--ice) center/32px no-repeat}
.page-home .body li:nth-child(1)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2302213D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15 24 6l18 9v18l-18 9-18-9z'/%3E%3Cpath d='M6 15l18 9 18-9M24 24v18' stroke='%23C69A4B'/%3E%3C/svg%3E")}
.page-home .body li:nth-child(2)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2302213D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5h17l8 8v30H12z'/%3E%3Cpath d='M29 5v8h8' stroke='%23C69A4B'/%3E%3Cpath d='M18 24h14M18 30h14M18 36h9'/%3E%3C/svg%3E")}
.page-home .body li:nth-child(3)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2302213D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='14' y='5' width='20' height='38' rx='4'/%3E%3Cpath d='M20 10h8' stroke='%23C69A4B'/%3E%3Ccircle cx='24' cy='36' r='2' fill='%23C69A4B' stroke='none'/%3E%3C/svg%3E")}
.page-home .body li:nth-child(4)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2302213D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='21' cy='21' r='13'/%3E%3Cpath d='M31 31l12 12' stroke='%23C69A4B'/%3E%3Cpath d='M15 21l4 4 8-8'/%3E%3C/svg%3E")}
.page-home .body li:nth-child(5)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2302213D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='36' r='5'/%3E%3Ccircle cx='37' cy='12' r='5' stroke='%23C69A4B'/%3E%3Cpath d='M16 36h12a6 6 0 0 0 0-12h-8a6 6 0 0 1 0-12h12' stroke-dasharray='3 3'/%3E%3C/svg%3E")}
.page-home .body>p:last-child{max-width:none;background:#fff;border:1px solid var(--rule);border-inline-start:6px solid var(--g);border-radius:10px;padding:22px 26px;font-size:18px;margin-top:8px}

/* how we work: numbered steps, then the short recap as a tick list */
.page-how_we_work .body ul:first-of-type{list-style:none;padding:0;margin:0 0 40px;counter-reset:step;max-width:760px}
.page-how_we_work .body ul:first-of-type li{counter-increment:step;position:relative;max-width:none;padding:6px 0 34px;padding-inline-start:68px;font-size:18px;min-height:52px}
.page-how_we_work .body ul:first-of-type li::before{content:counter(step);position:absolute;inset-inline-start:0;top:0;width:48px;height:48px;border-radius:50%;background:var(--p);color:var(--gold-text);font-weight:700;font-size:20px;display:grid;place-items:center;line-height:1}
.page-how_we_work .body ul:first-of-type li::after{content:"";position:absolute;inset-inline-start:23px;top:54px;bottom:6px;width:2px;background:var(--g);opacity:.6}
.page-how_we_work .body ul:first-of-type li:last-child::after{display:none}
html[lang=ar] .page-how_we_work .body ul:first-of-type li::before{content:counter(step,arabic-indic)}
.page-how_we_work .body ul+ul{list-style:none;padding:26px 28px;margin:0;background:var(--p);color:#fff;border-radius:12px;max-width:760px;display:grid;gap:10px}
.page-how_we_work .body ul+ul li{max-width:none;position:relative;padding-inline-start:30px}
.page-how_we_work .body ul+ul li::before{content:"";position:absolute;inset-inline-start:2px;top:.62em;width:10px;height:10px;background:var(--g);transform:rotate(45deg)}

/* range */
.families{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.families li{max-width:none;background:#fff;border:1px solid var(--rule);border-top:4px solid var(--g);border-radius:10px;padding:18px 20px;font-weight:600}
.families a{color:var(--p)}
.pdf{display:inline-block;font-size:12px;font-weight:700;color:var(--p);background:var(--ice);border-radius:4px;padding:1px 7px;margin-inline-start:6px}

/* contact and legal */
.page-contact .body p:first-child{max-width:none;background:#fff;border:1px solid var(--rule);border-inline-start:6px solid var(--g);border-radius:10px;padding:22px 26px;font-size:19px;overflow-wrap:anywhere}
.mail{font-size:19px}
.page-legal .body p{font-size:17px}

/* footer */
.foot{background:var(--p);color:#fff;border-top:5px solid var(--g);padding:28px 0}
.foot-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 32px}
.mark{font-weight:700;letter-spacing:.2em;font-size:20px}
.contacts{display:flex;flex-wrap:wrap;gap:6px 28px}
.foot a{color:#fff;text-decoration:underline;text-decoration-color:var(--g);text-underline-offset:4px}
.foot a:hover{color:var(--gold-text)}

/* root language chooser */
.root .choose{text-align:center;padding-block:10vh;display:flex;flex-direction:column;align-items:center;justify-content:center}
.root .choose img{height:200px;width:auto;border-radius:12px;background:var(--paper)}
.root .btn{margin:6px;background:var(--p);color:#fff;border-color:var(--p)}
.root .btn::before{display:none}
.root .btn:hover{background:var(--g);color:var(--p);border-color:var(--g)}

@media (max-width:1000px){
  .bar{flex-wrap:wrap;gap:4px 16px}
  nav{flex:1 1 100%;justify-content:flex-start;gap:2px 22px;order:3;border-top:1px solid var(--rule);margin-top:4px}
  .hero-mark{display:none}
}
@media (max-width:640px){
  body{font-size:16px}
  .wrap{padding:0 16px}
  .brand img{height:64px}
  .bar{padding-block:6px}
  nav{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
  nav a{font-size:14px;padding:9px 0}
  .langs{justify-content:center}
  .hero-in{padding-block:30px 34px}
  .badge{width:52px;height:52px}
  .icon{width:32px;height:32px}
  .head{gap:14px}
  .btn{width:100%;justify-content:center}
  main.wrap{padding-block:30px 44px}
  .page-home .body ul{grid-template-columns:1fr}
  .page-home .body li{display:grid;grid-template-columns:52px 1fr;column-gap:14px;align-items:center;padding:14px 16px}
  .page-home .body li::before{margin:0}
  .page-how_we_work .body ul:first-of-type li{padding-inline-start:60px;font-size:17px}
  .foot-in{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:no-preference){.btn{transition:background .15s}}
.founder img{display:block;width:160px;max-width:100%;height:auto;border-radius:50%}
