:root {
  --navy: #071a2d;
  --navy-2: #0d344a;
  --accent: #c8a665;
  --accent-soft: #ead9b8;
  --paper: #f7f3ec;
  --white: #fff;
  --text: #102c3d;
  --muted: #687681;
  --line: rgba(7, 26, 45, .12);
  --shadow: 0 24px 70px rgba(7, 26, 45, .13);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }

header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
  background: rgba(7, 26, 45, .9);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
}
.nav { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; background: var(--white); border: 1px solid color-mix(in srgb, var(--accent) 65%, transparent); }
.brand strong { display: block; color: var(--white); font-size: .89rem; line-height: 1.35; }
.brand small { display: block; color: var(--accent-soft); font-size: .62rem; letter-spacing: .06em; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: .82rem; }
.nav-links a { color: rgba(255,255,255,.76); }
.nav-links a:hover { color: var(--white); }
.language-switch { padding: 9px 15px; border: 1px solid color-mix(in srgb, var(--accent) 65%, transparent); border-radius: 999px; color: var(--accent-soft) !important; font-weight: 700; }
.parent-link { padding: 10px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: var(--white) !important; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: transparent; color: white; cursor: pointer; }

.hero {
  min-height: 735px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 82% 20%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 34%), linear-gradient(125deg, #061522 0%, var(--navy-2) 62%, var(--navy) 100%);
  isolation: isolate;
}
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); border-radius: 50%; }
.hero::before { width: 620px; height: 620px; right: -280px; top: 75px; }
.hero::after { width: 300px; height: 300px; left: 8%; bottom: -170px; }
.hero-grid { padding-top: 112px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 68px; align-items: center; }
.hero h1 { margin: 20px 0 22px; max-width: 780px; font-size: clamp(2.55rem, 5vw, 4.9rem); line-height: 1.08; letter-spacing: -.04em; }
.hero h1 span { display: block; color: var(--accent); }
.hero-copy > p { max-width: 670px; margin: 0; color: rgba(255,255,255,.72); font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 23px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; transition: transform .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy); background: var(--accent); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.25); background: transparent; }
.hero-card { padding: 34px; border: 1px solid rgba(255,255,255,.15); border-radius: 32px; background: rgba(255,255,255,.08); box-shadow: 0 30px 90px rgba(0,0,0,.22); backdrop-filter: blur(16px); text-align: center; }
.hero-logo { display: block; width: 218px; height: 218px; margin: 0 auto 26px; object-fit: cover; border-radius: 50%; background: white; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.hero-card h2 { margin: 0; color: var(--white); font-size: 1.1rem; }
.hero-card p { margin: 7px 0 25px; color: color-mix(in srgb, var(--accent) 85%, white); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border-radius: 15px; }
.trust-row div { padding: 14px 7px; background: rgba(255,255,255,.07); }
.trust-row strong { display: block; color: var(--white); font-size: .78rem; }
.trust-row small { color: rgba(255,255,255,.5); font-size: .62rem; }

section { padding: 92px 0; }
.section-head { max-width: 790px; margin-bottom: 45px; }
.section-head h2, .about-copy h2 { margin: 14px 0 15px; color: var(--navy); font-size: clamp(1.9rem, 3.3vw, 3.15rem); line-height: 1.24; letter-spacing: -.03em; }
.section-head p, .about-copy p { margin: 0; color: var(--muted); font-size: .94rem; }
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 68px; align-items: center; }
.about-copy p + p { margin-top: 14px; }
.promise { display: grid; gap: 12px; }
.promise article { padding: 21px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.promise b { display: block; margin-bottom: 4px; color: var(--navy); }
.promise span { color: var(--muted); font-size: .82rem; }

.services { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.service-card { min-height: 224px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .22s ease, box-shadow .22s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-num { color: var(--accent); font-size: .76rem; font-weight: 700; letter-spacing: .05em; }
.service-card h3 { margin: 28px 0 9px; color: var(--navy); font-size: 1.01rem; line-height: 1.38; }
.service-card p { margin: 0; color: var(--muted); font-size: .8rem; }

.capabilities { color: var(--white); background: var(--navy); }
.capabilities .section-head h2 { color: var(--white); }
.capabilities .section-head p { color: rgba(255,255,255,.6); }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border-radius: var(--radius); }
.capability-grid article { min-height: 210px; padding: 28px; background: rgba(255,255,255,.07); }
.capability-grid small { color: var(--accent); font-weight: 700; }
.capability-grid h3 { margin: 42px 0 10px; color: var(--white); font-size: 1rem; }
.capability-grid p { margin: 0; color: rgba(255,255,255,.57); font-size: .78rem; }

.process { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.process-step { padding: 23px; border-top: 2px solid var(--accent); border-radius: 0 0 17px 17px; background: var(--paper); }
.process-step small { color: var(--accent); font-weight: 700; }
.process-step h3 { margin: 24px 0 8px; color: var(--navy); font-size: .94rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .76rem; }

.contact { background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 24px; align-items: start; }
.contact-intro { position: sticky; top: 105px; padding: 34px; border-radius: 26px; color: var(--white); background: linear-gradient(145deg, var(--navy), var(--navy-2)); box-shadow: var(--shadow); }
.contact-intro h2 { margin: 15px 0 12px; font-size: clamp(1.75rem, 3vw, 2.65rem); line-height: 1.28; }
.contact-intro > p { margin: 0; color: rgba(255,255,255,.63); font-size: .88rem; }
.contact-points { display: grid; gap: 10px; margin-top: 28px; }
.contact-point { padding: 12px 14px; border-radius: 13px; background: rgba(255,255,255,.075); color: rgba(255,255,255,.8); font-size: .78rem; }
.contact-point::before { content: "✓"; margin-right: 10px; color: var(--accent); font-weight: 700; }
.inquiry-form { padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: var(--white); box-shadow: var(--shadow); }
.inquiry-form h3 { margin: 0 0 4px; color: var(--navy); font-size: 1.3rem; }
.form-note { margin: 0 0 24px; color: var(--muted); font-size: .78rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: .76rem; font-weight: 700; }
.required { color: #b0453f; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--text); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; outline: none; }
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; color: var(--muted); font-size: .78rem; line-height: 1.65; }
.consent input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px; accent-color: var(--accent); }
.consent a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 20px; }
.form-actions .button-ghost { color: var(--navy); border-color: var(--line); }
.form-status { min-height: 24px; margin-top: 13px; color: var(--muted); font-size: .78rem; }

footer { padding: 28px 0; color: rgba(255,255,255,.62); background: #061522; font-size: .76rem; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 980px) {
  .menu-button { display: inline-grid; place-items: center; }
  .nav-links { display: none; position: absolute; inset: 80px 0 auto; padding: 23px 20px 28px; background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); }
  .nav-links.open { display: grid; gap: 16px; }
  .language-switch, .parent-link { width: fit-content; }
  .hero-grid, .about-grid, .contact-layout { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 142px 75px; gap: 42px; }
  .hero-card { max-width: 520px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-intro { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand strong { font-size: .78rem; }
  .brand small { font-size: .52rem; }
  .brand img { width: 48px; height: 48px; }
  section { padding: 68px 0; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 122px 64px; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.75rem); }
  .hero-copy > p { font-size: .91rem; }
  .hero-card { padding: 25px 18px; }
  .hero-logo { width: 180px; height: 180px; }
  .section-head { margin-bottom: 34px; }
  .section-head h2, .about-copy h2 { font-size: clamp(1.55rem, 7vw, 2rem); }
  .services-grid, .capability-grid, .process-grid, .form-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .capability-grid article { min-height: 180px; }
  .field.full { grid-column: auto; }
  .inquiry-form, .contact-intro { padding: 25px 19px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .footer-row { display: grid; }
}
