:root {
  color-scheme: light;
  --navy: #101e35;
  --navy-light: #1c3151;
  --gold: #e4bd76;
  --gold-dark: #76501c;
  --cream: #fbf8f1;
  --ink: #17263c;
  --muted: #4e5968;
  --line: #e5dbca;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); line-height: 1.75; }
html[lang="ar"] { font-family: Cairo, Tahoma, Arial, sans-serif; }
html[lang="en"] { font-family: Inter, system-ui, sans-serif; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { line-height: 1.25; }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 3px solid #a57329; outline-offset: 4px; }
.shell { width: min(1120px, calc(100% - 56px)); margin-inline: auto; }
.header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand,.header-actions { display: flex; align-items: center; gap: 12px; }
.brand { line-height: 1.3; text-decoration: none; font-weight: 800; }
.brand small { display: block; font-size: .62rem; letter-spacing: .12em; color: var(--muted); margin-top: 4px; }
.header-actions a { font-weight: 700; text-decoration: none; }
.header-actions a:hover { text-decoration: underline; }
.lang { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; }
.hero {
  position: relative; isolation: isolate; overflow: hidden; text-align: center; color: white;
  background: radial-gradient(ellipse at 50% 10%, #243d61, var(--navy) 73%);
}
.hero::before,.hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inline-size: 360px; block-size: 360px;
  border: 1px solid #e4bd7635; border-radius: 48px; transform: rotate(45deg);
  box-shadow: 0 0 0 24px #e4bd760a, 0 0 0 48px #e4bd760d, 0 0 0 72px #e4bd7608;
}
.hero::before { inset-inline-start: -265px; top: -145px; }
.hero::after { inset-inline-end: -245px; bottom: -230px; }
.hero-inner { padding-block: clamp(55px,9vw,112px) clamp(72px,10vw,128px); }
.eyebrow { color: var(--gold); font-weight: 700; margin-bottom: 16px; }
.hero h1 { max-width: 18ch; margin-inline: auto; font-size: clamp(2.3rem,6vw,5rem); font-weight: 800; text-wrap: balance; }
html[lang="ar"] .hero h1 { max-width: 16ch; }
.intro { max-width: 58ch; margin: 20px auto 26px; color: #e1e8f2; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 24px; }
.actions>a:last-child { font-weight: 700; }
.button {
  display: inline-block; border: 0; border-radius: 8px; padding: 11px 20px; background: var(--gold);
  color: var(--navy); font: inherit; font-weight: 800; cursor: pointer; text-decoration: none;
}
.button:hover { background: #f3d397; }
.button:disabled { opacity: .65; cursor: default; }
.experience-wrap { position: relative; margin-top: -30px; }
.experience-bar { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 12px 30px #17263c0d; }
.experience-bar a { min-height: 65px; display: flex; gap: 9px; align-items: center; justify-content: center; padding: 10px; text-decoration: none; font-size: .9rem; font-weight: 800; line-height: 1.4; }
.experience-bar a+a { border-inline-start: 1px solid var(--line); }
.experience-bar a:hover { color: var(--gold-dark); text-decoration: underline; }
.section { padding-block: 52px; scroll-margin-top: 14px; }
.section h2 { font-size: clamp(1.65rem,3.2vw,2.55rem); margin-bottom: 23px; }
.subheading { margin: 34px 0 15px; font-size: 1.28rem; }
.production-grid,.cases { display: grid; gap: 14px; }
.production-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.cases,.hospital-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
article,.network-card { background: #fff; border: 1px solid var(--line); padding: 22px; border-radius: 10px; }
#web .production-grid article,#production article { border-block-start: 3px solid #bc924f; }
article h3 { margin-bottom: 9px; font-size: 1.12rem; }
article p,.network-card p,.contact p { color: var(--muted); }
.projects article { background: #f2eadd; }
.projects a { display: inline-block; margin-top: 10px; color: var(--gold-dark); font-weight: 800; }
#networks { border-block: 1px solid var(--line); }
.network-card { border-inline-start: 3px solid #bc924f; }
.work { background: #efe8dc; }
.stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: #344561; overflow: hidden; border-radius: 10px; margin-bottom: 18px; }
.stats div { background: var(--navy); text-align: center; padding: 14px 8px; color: white; }
.stats strong,.stats span { display: block; }
.stats strong { color: var(--gold); font-size: 1.6rem; line-height: 1.3; }
.stats span { font-size: .85rem; }
.icon { display: inline-block; margin-bottom: 8px; color: var(--gold-dark); font-weight: 800; }
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; }
.contact a { display: inline-block; margin-top: 8px; font-weight: 800; }
form { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
label { display: grid; gap: 4px; margin-bottom: 12px; font-weight: 700; }
input,select,textarea { width: 100%; min-width: 0; border: 1px solid #aaa090; border-radius: 6px; padding: 8px; background: #fff; color: var(--ink); font: inherit; }
textarea { resize: vertical; }
.privacy,.state { font-size: .85rem; margin-block: 8px; }
.footer { display: flex; justify-content: space-between; gap: 12px; padding-block: 20px; border-top: 1px solid var(--line); }
@media(max-width: 780px) { .contact { grid-template-columns: 1fr; } .production-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 560px) {
  .shell { width: calc(100% - 32px); }
  .brand img { width: 36px; height: 36px; }
  .header-actions { gap: 7px; font-size: .87rem; }
  .experience-bar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .experience-bar a:nth-child(3) { border-inline-start: 0; }
  .experience-bar a:nth-child(n+3) { border-block-start: 1px solid var(--line); }
  .production-grid,.cases,.fields { grid-template-columns: 1fr; }
  .section { padding-block: 34px; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
