/* Asas Al Mateen Landing V2
   Light steel + orange identity, new layout
*/

:root{
  --bg:#f6f8fb;
  --card:#ffffff;
  --text:#0b1220;
  --muted:#5b6b7a;
  --line: rgba(16,24,40,.10);
  --shadow: 0 18px 45px rgba(16,24,40,.12);
  --shadow2: 0 10px 25px rgba(16,24,40,.10);
  --blue:#1E3A5F;
  --orange:#FF6A00;
  --orange2:#FF8A3D;
  --radius: 18px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:"Cairo", system-ui, -apple-system, Segoe UI, Tahoma, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 15% 8%, rgba(30,58,95,.10), transparent 60%),
    radial-gradient(700px 420px at 80% 18%, rgba(255,106,0,.10), transparent 60%),
    var(--bg);
  line-height:1.85;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.container{ width: min(1150px, calc(100% - 34px)); margin:0 auto; }

.topbar{
  position: sticky;
  top:0;
  z-index:50;
  background: rgba(246,248,251,.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbarInner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 250px;
}
.logo{
  width: 48px; height:48px;
  object-fit: contain;
}
.brandTxt{ display:flex; flex-direction:column; line-height:1.15; }
.brandAr{ font-weight: 900; color: var(--blue); }
.brandEn{ font-weight: 800; font-size: 13px; color: var(--muted); }

.menu{
  display:flex;
  align-items:center;
  gap: 14px;
}
.menu a{
  font-weight: 900;
  font-size: 14px;
  color: rgba(11,18,32,.80);
  padding: 8px 10px;
  border-radius: 999px;
  transition: .2s ease;
}
.menu a:hover{
  background: rgba(30,58,95,.08);
  color: var(--blue);
}

.ctaRow{ display:flex; gap: 10px; align-items:center; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: .22s ease;
  cursor: pointer;
  user-select:none;
}
.btnPrimary{
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #1b0b00;
  box-shadow: 0 16px 34px rgba(255,106,0,.22);
}
.btnPrimary:hover{ transform: translateY(-1px); filter: saturate(1.05); }
.btnOutline{
  background: rgba(255,255,255,.75);
  border-color: rgba(30,58,95,.20);
  color: var(--blue);
}
.btnOutline:hover{ background: rgba(30,58,95,.06); }
.btnSoft{
  background: rgba(30,58,95,.06);
  border-color: rgba(30,58,95,.10);
  color: var(--blue);
}
.btnSoft:hover{ background: rgba(30,58,95,.10); }
.wide{ width:100%; border-radius: 14px; padding: 12px 16px; }

.menuBtn{
  display:none;
  width: 44px; height:44px;
  border-radius: 14px;
  border: 1px solid rgba(30,58,95,.18);
  background: rgba(255,255,255,.75);
  align-items:center;
  justify-content:center;
  gap:5px;
}
.menuBtn span{
  width: 20px; height:2px;
  background: var(--blue);
  border-radius: 2px;
  display:block;
  opacity:.9;
}

/* Hero */
.hero{
  position:relative;
  padding: 34px 0 0;
  overflow:hidden;
}
.heroMedia{
  position:absolute;
  inset:0;
}
.heroMedia img{
  width:100%;
  height:100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.03);
  transform: scale(1.02);
}
.heroOverlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(246,248,251,.92) 0%, rgba(246,248,251,.75) 50%, rgba(246,248,251,.20) 100%),
    radial-gradient(900px 600px at 25% 35%, rgba(30,58,95,.30), transparent 55%),
    radial-gradient(650px 480px at 70% 30%, rgba(255,106,0,.25), transparent 60%);
}
.heroInner{
  position:relative;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  padding: 18px 0 40px;
  align-items: start;
}

.heroCard{
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(16,24,40,.10);
  box-shadow: var(--shadow);
  padding: 20px;
}
.heroMeta{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 10px;
  color: rgba(11,18,32,.75);
  font-weight: 900;
}
.chip{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(30,58,95,.08);
  color: var(--blue);
}
.dot{ width: 6px; height:6px; border-radius: 999px; background: var(--orange); }
.metaText{ font-weight: 800; color: rgba(11,18,32,.70); }

.heroCard h1{
  margin: 0 0 8px;
  line-height: 1.2;
  font-size: clamp(26px, 3.4vw, 42px);
  color: var(--blue);
  letter-spacing: .2px;
}
.lead{
  margin: 0 0 16px;
  color: rgba(11,18,32,.78);
  font-weight: 700;
  max-width: 60ch;
}
.heroBtns{ display:flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }

.trust{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.tItem{
  display:flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: rgba(30,58,95,.05);
  border: 1px solid rgba(30,58,95,.10);
}
.tIcon{
  width: 40px; height:40px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  background: rgba(255,106,0,.10);
}
.tTitle{ font-weight: 900; color: var(--blue); line-height:1.2; }
.tSub{ font-weight: 800; font-size: 13px; color: var(--muted); }

.quickCard{
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(16,24,40,.10);
  box-shadow: var(--shadow2);
  padding: 18px;
}
.qcHead h2{ margin:0; font-size: 18px; color: var(--blue); }
.qcHead p{ margin: 4px 0 10px; color: var(--muted); font-weight: 700; }
.qcRow{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(16,24,40,.10);
  background: rgba(255,255,255,.70);
  margin-bottom: 10px;
  font-weight: 900;
}
.qcLabel{ color: var(--muted); font-weight: 900; font-size: 13px; }
.qcVal{ color: var(--text); }
.qcMiniGallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
}
.qcMiniGallery img{
  height: 92px;
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(16,24,40,.10);
}

.wave{
  height: 70px;
  background: linear-gradient(180deg, rgba(246,248,251,0), rgba(246,248,251,1));
  clip-path: polygon(0 35%, 12% 42%, 26% 55%, 40% 52%, 55% 40%, 70% 47%, 84% 60%, 100% 52%, 100% 100%, 0 100%);
}

/* Sections */
.section{ padding: 56px 0; }
.section.alt{
  background: linear-gradient(180deg, rgba(30,58,95,.05), rgba(255,106,0,.03));
  border-top: 1px solid rgba(16,24,40,.08);
  border-bottom: 1px solid rgba(16,24,40,.08);
}

.split{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: center;
}
h2{ margin:0 0 10px; font-size: 30px; color: var(--blue); }
p{ margin:0 0 12px; }
.txt p{ color: rgba(11,18,32,.78); font-weight: 700; }

.bullets{
  display:grid;
  gap: 10px;
  margin-top: 14px;
}
.bItem{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  color: rgba(11,18,32,.85);
}
.bMark{
  width: 10px; height:10px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255,106,0,.12);
}

.media{ position:relative; min-height: 340px; }
.photo{
  border-radius: 24px;
  overflow:hidden;
  border: 1px solid rgba(16,24,40,.10);
  box-shadow: var(--shadow);
}
.photo img{ width:100%; height: 340px; object-fit: cover; }
.photo.small{
  position:absolute;
  left: 18px;
  bottom: -18px;
  width: 52%;
  border-radius: 22px;
  box-shadow: var(--shadow2);
}
.photo.small img{ height: 220px; }

.head{
  text-align:center;
  margin-bottom: 18px;
}
.head h2{ margin:0 0 6px; }
.head p{ margin:0 auto; max-width: 70ch; color: var(--muted); font-weight: 800; }

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.box{
  border-radius: 22px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(16,24,40,.10);
  box-shadow: var(--shadow2);
  padding: 18px;
}
.boxTop{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 8px;
}
.boxIcon{
  width: 44px; height:44px;
  display:grid; place-items:center;
  border-radius: 16px;
  background: rgba(255,106,0,.12);
  border: 1px solid rgba(255,106,0,.25);
}
.box h3{ margin:0; font-size: 18px; color: var(--blue); }
.box p{ margin:0; color: rgba(11,18,32,.75); font-weight: 700; }

.grid4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pCard{
  border-radius: 22px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(16,24,40,.10);
  padding: 16px;
  box-shadow: var(--shadow2);
}
.pTop{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.pCard h3{ margin:0; font-size: 17px; color: var(--blue); }
.tag{
  font-weight: 900;
  font-size: 12px;
  color: #1b0b00;
  background: linear-gradient(135deg, var(--orange2), var(--orange));
  padding: 6px 10px;
  border-radius: 999px;
}
.pCard p{ margin:0; color: rgba(11,18,32,.75); font-weight: 700; }

.masonry{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}
.masonry figure{
  margin:0;
  overflow:hidden;
  border-radius: 22px;
  border: 1px solid rgba(16,24,40,.10);
  box-shadow: var(--shadow2);
  background: rgba(255,255,255,.65);
}
.masonry img{
  width:100%;
  height:100%;
  object-fit: cover;
  min-height: 200px;
  transition: transform .25s ease;
}
.masonry figure:hover img{ transform: scale(1.04); }
.masonry figure:nth-child(1){ grid-column: span 7; }
.masonry figure:nth-child(2){ grid-column: span 5; }
.masonry figure:nth-child(3){ grid-column: span 4; }
.masonry figure:nth-child(4){ grid-column: span 8; }

/* Contact */
.contactSplit{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.formWrap, .mapWrap{
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(16,24,40,.10);
  box-shadow: var(--shadow);
  padding: 18px;
}
.muted{ color: var(--muted); font-weight: 800; }

.form{ margin-top: 10px; display:flex; flex-direction:column; gap: 10px; }
.two{ display:grid; grid-template-columns: 1fr 1fr; gap: 10px; }
label span{ display:block; margin:0 0 6px; font-weight: 900; color: rgba(11,18,32,.80); }
input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(16,24,40,.14);
  background: rgba(246,248,251,.80);
  color: var(--text);
  outline:none;
  font-family: inherit;
}
input:focus, textarea:focus{
  border-color: rgba(255,106,0,.45);
  box-shadow: 0 0 0 4px rgba(255,106,0,.12);
}
.hp{ display:none !important; }

.formStatus{
  margin-top: 6px;
  font-weight: 900;
  min-height: 22px;
}
.formStatus.ok{ color: #0a8a4b; }
.formStatus.bad{ color: #b42318; }

.mapHead{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.mapHead h3{ margin:0; color: var(--blue); }
.mapBox{
  border-radius: 20px;
  overflow:hidden;
  border: 1px solid rgba(16,24,40,.10);
  height: 360px;
}
.mapBox iframe{ width:100%; height:100%; display:block; }

.miniContact{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin-top: 12px;
  font-weight: 900;
  color: rgba(11,18,32,.78);
}
.sep{ width: 6px; height:6px; border-radius: 999px; background: var(--orange); }

/* Footer */
.footer{
  padding: 22px 0 34px;
  border-top: 1px solid rgba(16,24,40,.10);
  background: rgba(255,255,255,.65);
}
.footerInner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.fBrand{
  display:flex;
  align-items:center;
  gap: 12px;
}
.fBrand img{ width: 44px; height:44px; object-fit: contain; }
.fTitle{ font-weight: 900; color: var(--blue); }
.fSub{ font-weight: 800; font-size: 13px; color: var(--muted); }
.fCopy{ font-weight: 900; color: rgba(11,18,32,.70); }

.floatTop{
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(16,24,40,.12);
  box-shadow: var(--shadow2);
  color: var(--blue);
}

@media (max-width: 1020px){
  .heroInner{ grid-template-columns: 1fr; }
  .trust{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .media{ min-height: 0; }
  .photo img{ height: 300px; }
  .photo.small{ position: static; width: 100%; margin-top: 10px; }
  .grid4{ grid-template-columns: repeat(2, 1fr); }
  .grid3{ grid-template-columns: 1fr; }
  .contactSplit{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .menuBtn{ display:flex; }
  .ctaRow{ display:none; }

  .menu{
    position:absolute;
    top: 70px;
    right: 16px;
    left: 16px;
    display:none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(16,24,40,.12);
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow2);
  }
  .menu.open{ display:flex; }
  .menu a{ text-align:center; padding: 10px 12px; }
  .two{ grid-template-columns: 1fr; }
  .masonry{ grid-template-columns: repeat(6, 1fr); }
  .masonry figure:nth-child(1){ grid-column: span 6; }
  .masonry figure:nth-child(2){ grid-column: span 6; }
  .masonry figure:nth-child(3){ grid-column: span 6; }
  .masonry figure:nth-child(4){ grid-column: span 6; }
}
