:root{
  --bg: #0b0f14;
  --surface: rgba(255,255,255,.06);
  --surface-2: rgba(255,255,255,.09);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --brand: #f2b705;
  --brand-2: #38bdf8;
  --border: rgba(255,255,255,.12);
  --shadow: 0 18px 45px rgba(0,0,0,.45);
  --radius: 18px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: "Tajawal", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(1200px 800px at 12% 0%, rgba(56,189,248,.18), transparent 55%),
    radial-gradient(900px 700px at 75% 10%, rgba(242,183,5,.16), transparent 50%),
    linear-gradient(180deg, #070a0f 0%, var(--bg) 55%, #070a0f 100%);
  color: var(--text);
  line-height: 1.65;
}

.skip-link{
  position: absolute;
  inset-inline-start: 16px;
  top: 12px;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  border-radius: 12px;
  transform: translateY(-140%);
  transition: transform .2s ease;
  z-index: 1000;
}
.skip-link:focus{ transform: translateY(0); }

.container{
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(7,10,15,.55);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
}
.brand-logo{
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 6px;
}
.brand-text{ display: flex; flex-direction: column; }
.brand-name{
  font-weight: 800;
  letter-spacing: .2px;
}
.brand-location{
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;
}

.nav{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.nav-link{
  text-decoration: none;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: .2s ease;
  font-weight: 650;
  font-size: 14px;
}
.nav-link:hover{
  color: var(--text);
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
}

.lang-switch{ display: flex; gap: 10px; align-items: center; }
.header-actions{
  display: flex;
  gap: 14px;
  align-items: center;
}
.lang-btn{
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  transition: .2s ease;
}
.lang-btn.is-active{
  border-color: rgba(242,183,5,.55);
  color: #111;
  background: linear-gradient(180deg, rgba(242,183,5,.95), rgba(242,183,5,.70));
}
.lang-btn:hover{ color: var(--text); }

.lang-en{ display: none; }
.lang-ar{ display: block; }

body[data-lang="en"]{
  direction: ltr;
}
body[data-lang="en"] .lang-ar{ display: none; }
body[data-lang="en"] .lang-en{ display: block; }

main{ padding-bottom: 32px; }

.hero{
  padding: 44px 0 18px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: center;
}
.hero-copy{
  padding: 18px 0;
}
.hero-title{
  margin: 0 0 12px 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.3px;
}
.hero-sub{
  margin: 0 0 18px 0;
  color: var(--muted);
  font-size: 16px;
}
.hero-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  text-decoration: none;
  font-weight: 750;
  transition: .2s ease;
}
.btn-primary{
  color: #0a0d12;
  border-color: rgba(242,183,5,.55);
  background: linear-gradient(180deg, rgba(242,183,5,.95), rgba(242,183,5,.70));
}
.btn-primary:hover{ transform: translateY(-1px); }
.btn-ghost{
  color: var(--text);
  background: rgba(255,255,255,.05);
}
.btn-ghost:hover{
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
}

.hero-visual{
  position: relative;
  min-height: 330px;
  padding: 12px;
}
.img-card{
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
}
.img-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-card--big{
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 8px;
  width: 62%;
  height: 76%;
  transform: rotate(-2deg);
}
.img-card--small{
  position: absolute;
  width: 42%;
  height: 36%;
  inset-inline-end: 0;
}
.img-card--small:nth-of-type(2){
  inset-block-start: 0;
  transform: rotate(2deg);
}
.img-card--small:nth-of-type(3){
  inset-block-end: 0;
  transform: rotate(-2deg);
}

.section{
  padding: 42px 0;
}
.section-alt{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.section-grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: start;
}
.section-title{
  margin: 0 0 14px 0;
  font-size: clamp(22px, 2.7vw, 32px);
}
.section-copy p{
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.section-side{
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stat{
  padding: 16px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.stat-num{
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
  color: rgba(255,255,255,.95);
}
.stat-label{
  margin-top: 6px;
  color: var(--muted);
  font-weight: 650;
}

.prose p{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 75ch;
}

.icon-card-wrapper{
  margin-top: 10px;
}
.icon-card{
  --icon-color: var(--brand);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: 0 14px 35px rgba(0,0,0,.25);
}
.icon-card--vision{ --icon-color: var(--brand); }
.icon-card--mission{ --icon-color: var(--brand-2); }
.icon-card--goal{ --icon-color: #a78bfa; }

.icon-wrap{
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: var(--icon-color);
}
.icon-text p{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 75ch;
}

.icon-text{
  padding-top: 2px;
}

.section-heading{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.divider{
  width: 120px;
  height: 1px;
  background: rgba(255,255,255,.14);
}
.muted{
  margin: 0;
  color: var(--muted);
}

.product-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.product-card{
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.product-card img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.product-card figcaption{
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 750;
  border-top: 1px solid rgba(255,255,255,.10);
}
.product-card figcaption.lang-en{ display: none; }
body[data-lang="en"] .product-card figcaption.lang-ar{ display:none; }
body[data-lang="en"] .product-card figcaption.lang-en{ display:block; }

.section-contact{ padding-top: 54px; }
.contact-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: center;
}
.phone{
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(242,183,5,.35);
  background: linear-gradient(180deg, rgba(242,183,5,.16), rgba(255,255,255,.04));
  text-decoration: none;
  color: var(--text);
}
.phone-label{
  color: var(--muted);
  font-weight: 750;
}
.phone-number{
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .3px;
}
.contact-note{
  margin-top: 12px;
}

.form-wrap{
  margin-top: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  padding: 16px 16px;
}
.form-title{
  margin: 0 0 12px 0;
  font-size: 18px;
}
.contact-form{
  width: 100%;
}
.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field--full{
  grid-column: 1 / -1;
}
.field-label{
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}
.contact-form input,
.contact-form textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 12px 12px;
  font-family: inherit;
  outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color: rgba(255,255,255,.55);
}
.contact-form input:focus,
.contact-form textarea:focus{
  border-color: rgba(242,183,5,.60);
  box-shadow: 0 0 0 4px rgba(242,183,5,.18);
}
.form-btn{
  width: 100%;
  margin-top: 12px;
}
.form-status{
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  color: var(--muted);
  font-weight: 700;
}
.form-status.is-success{
  border-color: rgba(34,197,94,.35);
  color: rgba(209,250,229,.95);
  background: rgba(34,197,94,.10);
}
.form-status.is-error{
  border-color: rgba(239,68,68,.35);
  color: rgba(254,226,226,.98);
  background: rgba(239,68,68,.10);
}

.contact-visual{
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  overflow: hidden;
  padding: 14px;
  min-height: 320px;
}
.contact-visual img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.contact-badge{
  position: absolute;
  inset-inline-start: 14px;
  inset-block-start: 14px;
  z-index: 2;
  width: min(230px, 65%);
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
}
.badge-title{
  font-weight: 900;
  color: rgba(255,255,255,.95);
  margin-bottom: 6px;
}
.badge-sub{
  color: var(--muted);
  font-weight: 650;
}

.site-footer{
  padding: 26px 0 40px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-inner{
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}
.footer-logo{
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 6px;
}
.footer-text{
  color: var(--muted);
  font-weight: 650;
}

:root[data-theme="light"]{
  --bg: #f4f7ff;
  --surface: rgba(0,0,0,.03);
  --surface-2: rgba(0,0,0,.05);
  --text: rgba(10,16,30,.92);
  --muted: rgba(10,16,30,.68);
  --border: rgba(0,0,0,.10);
  --shadow: 0 18px 45px rgba(8,15,30,.12);
}

html[data-theme="light"] body{
  background:
    radial-gradient(1200px 800px at 12% 0%, rgba(56,189,248,.22), transparent 55%),
    radial-gradient(900px 700px at 75% 10%, rgba(242,183,5,.18), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 55%, #ffffff 100%);
  color: var(--text);
}

html[data-theme="light"] .site-header{
  background: rgba(255,255,255,.70);
  border-bottom: 1px solid var(--border);
}

html[data-theme="light"] .brand-logo{
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.08);
}

html[data-theme="light"] .nav-link{
  color: var(--muted);
}
html[data-theme="light"] .nav-link:hover{
  border-color: rgba(0,0,0,.12);
  background: rgba(0,0,0,.04);
}

html[data-theme="light"] .lang-btn{
  border: 1px solid rgba(0,0,0,.16);
}
html[data-theme="light"] .theme-btn{
  border: 1px solid rgba(0,0,0,.16);
}

html[data-theme="light"] .btn{
  border: 1px solid rgba(0,0,0,.14);
}
html[data-theme="light"] .btn-ghost{
  color: var(--text);
  background: rgba(0,0,0,.04);
}
html[data-theme="light"] .btn-ghost:hover{
  background: rgba(0,0,0,.07);
}

html[data-theme="light"] .img-card{
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.75);
}

html[data-theme="light"] .section-alt{
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,0));
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

html[data-theme="light"] .stat{
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.03);
}
html[data-theme="light"] .stat-num{
  color: rgba(10,16,30,.95);
}

html[data-theme="light"] .divider{
  background: rgba(0,0,0,.16);
}

html[data-theme="light"] .product-card{
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.75);
}
html[data-theme="light"] .product-card figcaption{
  border-top: 1px solid rgba(0,0,0,.08);
}

html[data-theme="light"] .phone{
  border: 1px solid rgba(242,183,5,.40);
  background: linear-gradient(180deg, rgba(242,183,5,.20), rgba(0,0,0,.02));
  color: var(--text);
}
html[data-theme="light"] .phone-label{
  color: var(--muted);
}

html[data-theme="light"] .contact-visual{
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.78);
}

html[data-theme="light"] .contact-badge{
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,0,0,.10);
}
html[data-theme="light"] .badge-title{
  color: rgba(10,16,30,.95);
}

html[data-theme="light"] .icon-card{
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.75);
  box-shadow: none;
}
html[data-theme="light"] .icon-wrap{
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.03);
}

html[data-theme="light"] .form-wrap{
  background: rgba(0,0,0,.02);
  border: 1px solid rgba(0,0,0,.10);
}
html[data-theme="light"] .contact-form input,
html[data-theme="light"] .contact-form textarea{
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.03);
  color: var(--text);
}
html[data-theme="light"] .contact-form input::placeholder,
html[data-theme="light"] .contact-form textarea::placeholder{
  color: rgba(10,16,30,.50);
}
html[data-theme="light"] .form-status{
  border: 1px solid rgba(0,0,0,.10);
}

html[data-theme="light"] .site-footer{
  border-top: 1px solid rgba(0,0,0,.08);
}

html[data-theme="light"] .footer-logo{
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.10);
}

.theme-switch{ display: flex; gap: 10px; align-items: center; }
.theme-btn{
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  transition: .2s ease;
}
.theme-btn.is-active{
  border-color: rgba(242,183,5,.55);
  color: #111;
  background: linear-gradient(180deg, rgba(242,183,5,.95), rgba(242,183,5,.70));
}
.theme-btn:hover{ color: var(--text); }

@media (max-width: 980px){
  .nav{ display: none; }
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ min-height: 280px; }
  .section-grid{ grid-template-columns: 1fr; }
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-visual{ min-height: 260px; }
}

@media (max-width: 560px){
  .product-grid{ grid-template-columns: 1fr; }
  .header-inner{ align-items: flex-start; }
  .brand{ min-width: 0; }
  .brand-logo{ width: 46px; height: 46px; }
  .icon-card{
    flex-direction: column;
    align-items: flex-start;
  }
}

