/* ==========================================================================
   Al Ghadeer Technical Services LLC — design tokens
   Palette pulled from the brand mark: engineering blue + signal red.
   Type: Oswald (condensed, technical signage) / Inter (body) / IBM Plex Mono (data & labels)
   Signature element: the "pipe-divider" — a dashed refrigerant line with
   valve nodes, used instead of a plain hairline between sections.
   ========================================================================== */

:root{
  --blue-deep:   #0F2A4D;   /* ink / dark sections */
  --blue:        #1B4D8C;   /* primary brand blue */
  --blue-mid:    #2A63AE;
  --red:         #D91F2C;   /* signal accent, CTAs */
  --red-dark:    #A8121C;
  --cyan:        #6FCBE0;   /* cooling highlight, sparing use */
  --frost:       #F5F8FB;   /* page background */
  --white:       #FFFFFF;
  --steel:       #4A5568;   /* body copy */
  --steel-light: #7A8699;
  --line:        #DCE3EC;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --max-w: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--steel);
  background:var(--frost);
  -webkit-font-smoothing:antialiased;
  line-height:1.55;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--blue-deep);
  text-transform:uppercase;
  letter-spacing:0.02em;
  margin:0 0 0.5em;
  font-weight:600;
  line-height:1.15;
}
p{ margin:0 0 1em; }
.container{ max-width:var(--max-w); margin:0 auto; padding:0 24px; }
.eyebrow{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--red);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background:var(--red);
  display:inline-block;
}

:focus-visible{
  outline:2px solid var(--red);
  outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-family:var(--font-mono);
  font-size:13.5px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  padding:13px 24px;
  border-radius:3px;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--red); color:var(--white); box-shadow:0 6px 16px -6px rgba(217,31,44,.55); }
.btn-primary:hover{ background:var(--red-dark); }
.btn-outline{ background:transparent; border-color:rgba(255,255,255,.4); color:var(--white); }
.btn-outline:hover{ border-color:var(--white); background:rgba(255,255,255,.08); }
.btn-dark{ background:var(--blue-deep); color:var(--white); }
.btn-dark:hover{ background:var(--blue); }
.btn-wa{ background:#1FA855; color:var(--white); }
.btn-wa:hover{ background:#178a44; }
.btn svg{ width:16px; height:16px; flex:none; }

/* ---------- header / nav ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 24px;
  max-width:var(--max-w); margin:0 auto;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:44px; width:auto; }
.brand-text{ font-family:var(--font-display); font-size:15px; color:var(--blue-deep); line-height:1.2; }
.brand-text small{ display:block; font-family:var(--font-mono); font-size:10px; color:var(--steel-light); letter-spacing:.08em; text-transform:uppercase; margin-top:2px; }

.nav-links{ display:flex; align-items:center; gap:6px; }
.nav-links a{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--steel);
  padding:9px 14px;
  border-radius:3px;
  transition:color .15s, background .15s;
}
.nav-links a:hover{ color:var(--blue); background:var(--frost); }
.nav-links a.active{ color:var(--red); }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--blue-deep); margin:5px 0; transition:.2s; }

@media (max-width:900px){
  .nav-links{
    position:fixed; top:73px; left:0; right:0;
    background:var(--white);
    flex-direction:column; align-items:stretch;
    padding:10px 24px 20px;
    border-bottom:1px solid var(--line);
    transform:translateY(-8px);
    opacity:0; visibility:hidden;
    transition:.2s ease;
  }
  .nav-links.open{ transform:translateY(0); opacity:1; visibility:visible; }
  .nav-links a{ padding:12px 6px; border-bottom:1px solid var(--line); }
  .nav-toggle{ display:block; }
  .nav .btn-primary.nav-desktop-only{ display:none; }
}

/* ---------- hero ---------- */
.hero{
  position:relative;
  background:linear-gradient(160deg, var(--blue-deep) 0%, var(--blue) 62%, var(--blue-mid) 100%);
  color:var(--white);
  overflow:hidden;
  padding:88px 0 96px;
}
.hero .container{ position:relative; z-index:2; }
.hero-schematic{
  position:absolute; inset:0;
  opacity:.16;
  z-index:1;
  pointer-events:none;
}
.hero-schematic.small{ opacity:.14; }
.hero h1{
  color:var(--white);
  font-size:clamp(34px,5.4vw,60px);
  max-width:820px;
  margin-bottom:.35em;
}
.hero h1 em{ color:var(--cyan); font-style:normal; }
.hero .lead{
  font-size:17px;
  max-width:560px;
  color:rgba(255,255,255,.82);
}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top:30px; }
.page-hero{ padding:64px 0 60px; }
.page-hero h1{ font-size:clamp(30px,4.6vw,46px); margin-bottom:.3em;}
.page-hero .lead{ max-width:640px; }

/* ---------- stat strip ---------- */
.stat-strip{
  background:var(--blue-deep);
  border-top:1px solid rgba(255,255,255,.08);
}
.stat-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:0;
}
.stat{
  padding:26px 20px;
  text-align:left;
  border-left:1px solid rgba(255,255,255,.1);
}
.stat:first-child{ border-left:none; }
.stat .num{ font-family:var(--font-display); font-size:30px; color:var(--white); letter-spacing:.02em;}
.stat .label{ font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--cyan); margin-top:4px;}
@media (max-width:760px){
  .stat-grid{ grid-template-columns:repeat(2,1fr); }
  .stat:nth-child(3){ border-left:none; }
}

/* ---------- pipe divider — signature element ---------- */
.pipe-divider{
  display:block; width:100%; height:26px;
  margin:0; overflow:visible;
}

/* ---------- sections ---------- */
.section{ padding:78px 0; }
.section-tight{ padding:56px 0; }
.section-alt{ background:var(--white); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-dark{ background:var(--blue-deep); color:rgba(255,255,255,.85); }
.section-dark h2{ color:var(--white); }
.section-head{ max-width:640px; margin-bottom:44px; }
.section-head h2{ font-size:clamp(26px,3.4vw,36px); }
.section-head p{ color:var(--steel-light); font-size:16px; }

/* ---------- cards grid ---------- */
.grid{ display:grid; gap:22px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:900px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:620px){ .grid-3,.grid-4,.grid-2{ grid-template-columns:1fr; } }

.card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:4px;
  padding:28px 24px;
  transition:box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card:hover{ box-shadow:0 14px 30px -18px rgba(15,42,77,.35); transform:translateY(-3px); border-color:var(--blue-mid); }
.card .icon{ width:40px; height:40px; color:var(--red); margin-bottom:16px; }
.card h3{ font-size:17px; margin-bottom:8px; }
.card p{ color:var(--steel-light); font-size:14.5px; margin-bottom:0; }

/* ---------- timeline (about page) ---------- */
.timeline{ position:relative; padding-left:28px; border-left:2px dashed var(--line); }
.timeline-item{ position:relative; padding-bottom:36px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:""; position:absolute; left:-34px; top:2px;
  width:13px; height:13px; border-radius:50%;
  background:var(--white); border:3px solid var(--red);
}
.timeline-item .yr{ font-family:var(--font-mono); font-size:13px; color:var(--red); letter-spacing:.06em; }
.timeline-item h4{ margin:4px 0 6px; font-size:17px; }
.timeline-item p{ color:var(--steel-light); font-size:14.5px; margin:0; }

/* ---------- values ---------- */
.value-row{ display:flex; gap:18px; align-items:flex-start; padding:20px 0; border-top:1px solid var(--line); }
.value-row:last-child{ border-bottom:1px solid var(--line); }
.value-tag{ font-family:var(--font-mono); font-size:12px; color:var(--red); min-width:76px; padding-top:3px; letter-spacing:.04em;}
.value-row h4{ margin:0 0 4px; font-size:16px; }
.value-row p{ margin:0; color:var(--steel-light); font-size:14.5px; }

/* ---------- job cards (careers) ---------- */
.job-card{
  background:var(--white);
  border:1px solid var(--line);
  border-left:4px solid var(--red);
  border-radius:4px;
  padding:32px;
  margin-bottom:24px;
}
.job-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:16px; flex-wrap:wrap; margin-bottom:14px; }
.job-head h3{ font-size:22px; margin:0; }
.job-meta{ display:flex; gap:16px; flex-wrap:wrap; margin:10px 0 18px; }
.job-meta span{
  font-family:var(--font-mono); font-size:12px; letter-spacing:.05em; text-transform:uppercase;
  color:var(--steel); background:var(--frost); border:1px solid var(--line);
  padding:6px 10px; border-radius:3px;
}
.job-card ul{ margin:0 0 22px; }
.job-card li{
  position:relative; padding-left:20px; margin-bottom:8px; font-size:14.5px; color:var(--steel);
}
.job-card li::before{
  content:""; position:absolute; left:0; top:9px; width:7px; height:7px; background:var(--blue-mid);
}
.deadline-banner{
  display:flex; align-items:center; gap:12px;
  background:#FFF4F4; border:1px solid #F3C6C9; color:var(--red-dark);
  font-family:var(--font-mono); font-size:13px; letter-spacing:.03em;
  padding:14px 18px; border-radius:4px; margin-bottom:36px;
}
.apply-note{
  background:var(--frost); border:1px dashed var(--line); border-radius:4px;
  padding:18px 20px; font-size:14px; color:var(--steel); margin-top:36px;
}
.apply-note strong{ color:var(--blue-deep); }

/* ---------- CTA band ---------- */
.cta-band{
  background:linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  color:var(--white); padding:56px 0; text-align:left;
}
.cta-band .container{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.cta-band h2{ color:var(--white); font-size:clamp(22px,3vw,30px); margin-bottom:6px; }
.cta-band p{ color:rgba(255,255,255,.88); margin:0; }
.cta-band .btn-outline{ border-color:rgba(255,255,255,.55); }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:40px; }
@media (max-width:820px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-card{ background:var(--white); border:1px solid var(--line); border-radius:4px; padding:30px; }
.contact-row{ display:flex; gap:14px; padding:16px 0; border-top:1px solid var(--line); }
.contact-row:first-child{ border-top:none; }
.contact-row .ic{ width:20px; height:20px; color:var(--red); flex:none; margin-top:2px; }
.contact-row h4{ margin:0 0 2px; font-size:14px; font-family:var(--font-mono); letter-spacing:.04em; text-transform:uppercase; color:var(--blue-deep); }
.contact-row p{ margin:0; font-size:14.5px; color:var(--steel-light); }
.map-box{
  border:1px solid var(--line); border-radius:4px; overflow:hidden; height:100%; min-height:320px;
}
.map-box iframe{ width:100%; height:100%; min-height:320px; border:0; display:block; }

/* ---------- footer ---------- */
.site-footer{ background:var(--blue-deep); color:rgba(255,255,255,.7); padding:56px 0 26px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:36px; margin-bottom:40px; }
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.footer-brand img{ height:40px; }
.footer-brand span{ font-family:var(--font-display); color:var(--white); font-size:15px; text-transform:uppercase; }
.site-footer h5{ font-family:var(--font-mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--cyan); margin:0 0 14px; }
.site-footer a{ display:block; padding:5px 0; font-size:14px; color:rgba(255,255,255,.7); }
.site-footer a:hover{ color:var(--white); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); padding-top:22px; font-size:12.5px; font-family:var(--font-mono); color:rgba(255,255,255,.5); display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;}

/* ---------- whatsapp floating button ---------- */
.wa-float{
  position:fixed; right:22px; bottom:22px; z-index:200;
  width:56px; height:56px; border-radius:50%;
  background:#1FA855; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 24px -8px rgba(31,168,85,.6);
  transition:transform .15s ease;
}
.wa-float:hover{ transform:scale(1.07); }
.wa-float svg{ width:26px; height:26px; }

/* ---------- misc ---------- */
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
@media (max-width:820px){ .two-col{ grid-template-columns:1fr; } }
.tag-pill{
  display:inline-block; font-family:var(--font-mono); font-size:11.5px; letter-spacing:.06em;
  text-transform:uppercase; color:var(--blue); background:#EAF1FA; border:1px solid #CFE0F2;
  padding:5px 10px; border-radius:3px; margin:0 8px 8px 0;
}
