/* =========================
   BuildSupport – Executive Calm
   Section-based subtle tones
   ========================= */

:root{
  /* Core palette (same family, subtle shifts) */
  --bg-main:#070b14;
  --bg-a:#0b1220;   /* default section */
  --bg-b:#0e172a;   /* slightly deeper */
  --bg-c:#111c33;   /* deepest */
  --bg-d:#0a1428;   /* calm closing */

  --text:#e9f0ff;
  --muted:#a9b6d3;
  --line:rgba(255,255,255,.10);

  --accent:#e85b2a;
  --radius:16px;
  --shadow:0 18px 60px rgba(0,0,0,.55);

  --max:1100px;
}

/* Reset */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }

body{
  font-family: system-ui, -apple-system, "Segoe UI", Arial, Helvetica, sans-serif;
  color:var(--text);
  background: linear-gradient(180deg, var(--bg-main), #090f1c);
  line-height:1.75;
}

img{ max-width:100%; display:block; }

/* Layout */
.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 20px;
}

/* Top bar */
.topbar{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(7,11,20,.72);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.topbar .wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{ width:42px; }
.brand .name{ font-weight:700; font-size:14px; }
.brand .tag{ font-size:12px; color:var(--muted); }

.nav{ display:flex; gap:18px; }
.nav a{
  font-size:13px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:10px;
}
.nav a:hover{
  background:rgba(255,255,255,.06);
  color:var(--text);
}
.cta-mini{
  border:1px solid rgba(232,91,42,.45);
  background:rgba(232,91,42,.12);
  color:var(--text)!important;
}

/* Sections */
.section{
  padding:56px 0;
  background:var(--bg-a);
}
.section.alt{ background:var(--bg-b); }
.section.deep{ background:var(--bg-c); }
.section.soft{ background:var(--bg-d); }

.section h2{
  font-size:26px;
  margin-bottom:14px;
  letter-spacing:.3px;
}
}
.section p{
  color:var(--muted);
  margin-bottom:14px;
  max-width:960px;
}

/* Hero */
.hero{
  background:
    linear-gradient(180deg, rgba(7,11,20,.70), rgba(7,11,20,.92)),
    url("hero.jpg") center/cover no-repeat;
  border-bottom:1px solid var(--line);
}
.hero h1{
  font-size:42px;
  line-height:1.2;
  margin-bottom:12px;
}
.hero p{ max-width:780px; }

/* Grid */
.grid-2{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:22px;
}
@media(max-width:900px){
  .grid-2{ grid-template-columns:1fr; }
  .hero h1{ font-size:34px; }
}

/* Card */
.card{
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}

.list{ margin-left:18px; }
.list li{ margin-bottom:10px; }

/* Divider – refined for abstract network image */
.divider{
  position:relative;
  overflow:hidden;
}

.divider img{
  width:100%;
  max-height:480px;
  object-fit:cover;
  filter: grayscale(100%) contrast(1.1) brightness(.95);
}

.divider .overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(7,11,20,.25) 0%,
    rgba(7,11,20,.85) 100%
  );
}
.divider .text{
  position:absolute;
  bottom:24px;
  width:100%;
}
.divider .title{ font-size:18px; }
.divider .sub{ font-size:13px; color:var(--muted); }

/* Form */
.form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.form .full{ grid-column:1/-1; }
input, textarea{
  padding:12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(7,11,20,.6);
  color:var(--text);
}
textarea{ min-height:120px; }
.btn{
  grid-column:1/-1;
  padding:12px;
  border-radius:12px;
  border:1px solid rgba(232,91,42,.55);
  background:rgba(232,91,42,.18);
  color:var(--text);
}

/* Footer */
.footer{
  background:var(--bg-main);
  padding:26px 0;
  border-top:1px solid var(--line);
  font-size:12px;
  color:var(--muted);
}
.section{
  position: relative;
}

.section::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.08),
    transparent
  );
}
/* Balance image with text (Board-level) */
.grid-2 img{
  width:100%;
  max-height:320px;      /* هذا المفتاح */
  object-fit:cover;
  align-self:flex-start;
}
