:root {
  --green: #123d35;
  --green-deep: #0d302b;
  --green-soft: #24574b;
  --gold: #a8844c;
  --gold-light: #d5bd8c;
  --cream: #f5f2e9;
  --ink: #1b302c;
  --muted: #71807a;
  --line: #e7e8df;
  --white: #fffefa;
  --shadow: 0 24px 70px rgba(19, 49, 42, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 7% 15%, rgba(168, 132, 76, .09), transparent 34%),
    radial-gradient(ellipse at 94% 84%, rgba(18, 61, 53, .07), transparent 29%),
    var(--cream);
  font-family: 'Tajawal', 'Inter', Arial, sans-serif;
  overflow-x: hidden;
}
button, input, textarea { font: inherit; }
a { color: inherit; }
.ambient { position: fixed; pointer-events: none; border: 1px solid rgba(168, 132, 76, .14); border-radius: 50%; z-index: -1; }
.ambient-one { width: 360px; height: 360px; top: -190px; inset-inline-start: 38%; }
.ambient-two { width: 520px; height: 520px; bottom: -340px; inset-inline-end: -210px; }
.topbar {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.top-email { display: inline-flex; align-items: center; gap: 10px; color: #61716a; font-family: 'Inter', sans-serif; font-size: 12px; text-decoration: none; letter-spacing: .02em; }
.mail-icon { display: grid; place-items: center; width: 30px; height: 30px; color: var(--gold); border: 1px solid rgba(168,132,76,.35); border-radius: 50%; font-size: 14px; }
.language-switch { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; color: var(--green); border: 1px solid rgba(18,61,53,.16); border-radius: 100px; background: rgba(255,254,250,.78); transition: .2s ease; font-size: 13px; font-weight: 700; }
.language-switch:hover { border-color: var(--gold); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(18,61,53,.07); }
.language-globe { font-size: 17px; color: var(--gold); }
.page-grid {
  width: min(1320px, calc(100% - 64px));
  margin: 8px auto 34px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  direction: ltr;
  align-items: stretch;
  gap: 22px;
}
.intro-panel, .contact-panel { min-width: 0; border-radius: 28px; overflow: hidden; position: relative; }
.intro-panel {
  background: linear-gradient(148deg, var(--green) 0%, #153e35 51%, #0e302b 100%);
  color: #fffef8;
  min-height: 700px;
  padding: clamp(32px, 4.2vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  direction: ltr;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.intro-panel::before {
  content: '';
  position: absolute;
  width: 430px; height: 430px;
  border: 1px solid rgba(213,189,140,.15);
  border-radius: 50%;
  inset-inline-start: -180px; bottom: -185px;
  z-index: -1;
}
.intro-panel::after {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  border: 1px solid rgba(213,189,140,.12);
  border-radius: 50%;
  inset-inline-start: -106px; bottom: -112px;
  z-index: -1;
}
.brand-logo-wrap { background: #f7f4eb; width: min(100%, 360px); border-radius: 14px; padding: 4px 12px; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.brand-logo { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.launch-badge { margin-top: 45px; display: flex; align-items: center; gap: 10px; color: #e3d0a9; letter-spacing: .11em; font-size: 10px; font-family: 'Inter', sans-serif; font-weight: 700; }
html[lang="ar"] .launch-badge { font-family: 'Tajawal', sans-serif; letter-spacing: 0; font-size: 13px; }
.pulse-dot { width: 7px; height: 7px; background: #d3b67b; border-radius: 50%; box-shadow: 0 0 0 5px rgba(211,182,123,.12); flex: 0 0 auto; }
h1 { margin: 24px 0 18px; font-size: clamp(32px, 3.45vw, 49px); line-height: 1.36; letter-spacing: -.035em; font-weight: 700; position: relative; z-index: 1; }
h1 em { color: #d9c08f; font-style: normal; }
html[lang="ar"] h1 { font-size: clamp(35px, 3.5vw, 50px); line-height: 1.42; letter-spacing: 0; direction: rtl; text-align: right; }
.intro-copy { margin: 0; max-width: 445px; color: rgba(255,255,248,.73); font-size: 16px; line-height: 2; position: relative; z-index: 1; }
.intro-footer { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 45px; color: #d6c39e; font-size: 13px; position: relative; z-index: 1; }
.intro-footer p { margin: 0; }
.footer-rule { width: 32px; height: 1px; display: inline-block; background: var(--gold-light); }
.decor-number { position: absolute; right: 38px; bottom: 22px; font: 700 90px/1 'Inter', sans-serif; color: rgba(255,255,255,.035); letter-spacing: -.1em; z-index: -1; }
.decor-number span { color: rgba(213,189,140,.13); }
.intro-orbit { position: absolute; border-radius: 50%; pointer-events: none; }
.orbit-one { width: 22px; height: 22px; border: 1px solid rgba(213,189,140,.5); top: 35%; right: 12%; }
.orbit-two { width: 7px; height: 7px; background: var(--gold-light); top: calc(35% + 8px); right: calc(12% + 8px); opacity: .8; }
.contact-panel {
  background: rgba(255,254,250,.94);
  padding: clamp(30px, 3.65vw, 52px) clamp(26px, 3.4vw, 48px) 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.85);
  direction: rtl;
}
html[lang="en"] .contact-panel { direction: ltr; }
.section-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
html[lang="ar"] .section-eyebrow { letter-spacing: 0; font-size: 13px; }
.eyebrow-line { width: 26px; height: 1px; background: var(--gold); }
h2 { color: var(--green); margin: 12px 0 8px; font-size: clamp(32px, 3vw, 42px); line-height: 1.2; letter-spacing: -.04em; }
html[lang="ar"] h2 { letter-spacing: 0; }
.contact-intro { margin: 0 0 28px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.contact-form { display: flex; flex-direction: column; gap: 17px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-group label { color: #253e37; font-weight: 700; font-size: 13px; }
.field-group input, .field-group textarea {
  width: 100%; min-width: 0;
  border: 1px solid #e3e6dd;
  outline: none;
  border-radius: 11px;
  color: #243c35;
  background: #fbfbf7;
  padding: 13px 14px;
  font-size: 13px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field-group input { min-height: 48px; }
.field-group textarea { min-height: 104px; resize: vertical; line-height: 1.8; }
.field-group input::placeholder, .field-group textarea::placeholder { color: #a4ada6; }
.field-group input:focus, .field-group textarea:focus { border-color: #9caa8d; background: #fff; box-shadow: 0 0 0 3px rgba(18,61,53,.06); }
.verification-box { background: #f7f7f0; border: 1px solid #e7e9de; border-radius: 13px; padding: 13px 15px; }
.verification-top { display: flex; align-items: center; gap: 10px; min-height: 25px; }
.verification-shield { display: grid; place-items: center; width: 23px; height: 23px; flex: 0 0 auto; border: 1px solid rgba(18,61,53,.2); background: white; border-radius: 7px; color: var(--green); font-size: 12px; }
.human-label { font-size: 12px; font-weight: 700; color: #334840; cursor: pointer; flex: 1; }
#human_confirm { appearance: auto; accent-color: var(--green); width: 16px; height: 16px; cursor: pointer; margin: 0; }
.math-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; margin-top: 11px; border-top: 1px dashed #dfe3d7; }
.math-row > label { color: #77847c; font-size: 11px; line-height: 1.5; }
.math-entry { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.math-question { color: var(--green); font: 700 14px 'Inter', sans-serif; white-space: nowrap; }
.math-entry input { width: 66px; height: 36px; border: 1px solid #dce1d5; border-radius: 8px; background: white; color: var(--green); text-align: center; font: 700 14px 'Inter', sans-serif; outline: 0; }
.math-entry input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168,132,76,.1); }
.submit-button { width: 100%; min-height: 53px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 11px; color: #fffef8; background: linear-gradient(110deg, #17473d, #0f342e); box-shadow: 0 10px 24px rgba(18,61,53,.14); font-size: 14px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.submit-button:hover { transform: translateY(-2px); box-shadow: 0 13px 28px rgba(18,61,53,.21); }
.submit-button:active { transform: translateY(0); }
.button-arrow { font-family: 'Inter', sans-serif; font-size: 17px; color: #d9c08f; }
.privacy-note { margin: -4px 0 0; color: #8d9991; font-size: 11px; display: flex; justify-content: center; align-items: center; gap: 7px; text-align: center; }
.lock-icon { color: var(--gold); font-size: 15px; }
.contact-bottom { margin-top: 27px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 15px; }
.bottom-label { color: #8a978f; font-size: 10px; letter-spacing: .1em; font-weight: 800; }
html[lang="ar"] .bottom-label { font-size: 12px; letter-spacing: 0; }
.contact-bottom a { display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; text-decoration: none; }
.contact-bottom a span { color: var(--gold); font-size: 15px; }
.notice { display: flex; gap: 10px; align-items: flex-start; margin: -6px 0 20px; padding: 12px 14px; border-radius: 10px; font-size: 13px; line-height: 1.7; }
.notice-success { color: #1e5c40; background: #edf7ef; border: 1px solid #cfe8d5; }
.notice-error { color: #8e3a32; background: #fff1ee; border: 1px solid #f1d2cb; }
.notice-icon { display: grid; place-items: center; flex: 0 0 auto; width: 21px; height: 21px; border-radius: 50%; background: rgba(0,0,0,.045); font-weight: 800; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.site-footer { width: min(1320px, calc(100% - 64px)); margin: 0 auto; padding: 0 0 24px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #87938c; font: 10px 'Inter', sans-serif; flex-wrap: wrap; }
.site-footer .txt-ar { font: 12px 'Tajawal', sans-serif; }
.footer-separator { color: var(--gold); }
.txt-en { display: none; }
html[lang="en"] .txt-ar { display: none !important; }
html[lang="en"] .txt-en { display: inline; }
html[lang="en"] p.txt-en, html[lang="en"] .intro-copy.txt-en { display: block; }
html[lang="en"] .site-footer .txt-en { display: inline; }
html[lang="en"] .intro-panel { direction: ltr; }
html[lang="en"] .intro-copy { text-align: left; }
html[lang="ar"] .site-footer .txt-en { display: none; }

@media (max-width: 980px) {
  .page-grid { width: min(760px, calc(100% - 36px)); grid-template-columns: 1fr; gap: 18px; margin-top: 0; }
  .intro-panel { min-height: auto; padding: 36px; }
  .brand-logo-wrap { width: min(320px, 78%); }
  .launch-badge { margin-top: 30px; }
  .intro-footer { margin-top: 35px; padding-top: 15px; }
  .decor-number { bottom: 14px; }
  .contact-panel { padding: 34px 36px 26px; }
  .topbar, .site-footer { width: calc(100% - 36px); }
}
@media (max-width: 560px) {
  .topbar { min-height: 68px; }
  .top-email { font-size: 10px; gap: 7px; }
  .mail-icon { width: 27px; height: 27px; }
  .language-switch { padding: 8px 11px; font-size: 12px; }
  .page-grid { width: calc(100% - 24px); }
  .intro-panel, .contact-panel { border-radius: 20px; }
  .intro-panel { padding: 25px 24px 28px; }
  .brand-logo-wrap { width: min(280px, 88%); }
  .launch-badge { margin-top: 26px; font-size: 9px; }
  html[lang="ar"] .launch-badge { font-size: 12px; }
  h1, html[lang="ar"] h1 { font-size: 32px; margin-top: 20px; }
  .intro-copy { font-size: 14px; }
  .contact-panel { padding: 26px 21px 23px; }
  h2 { font-size: 34px; }
  .contact-intro { margin-bottom: 22px; font-size: 13px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { gap: 14px; }
  .math-row { align-items: flex-start; flex-direction: column; }
  .math-entry { align-self: flex-start; }
  .contact-bottom { align-items: flex-start; flex-direction: column; }
  .site-footer { line-height: 1.8; padding-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
