/* =========================================================
   Atlas Procurement Advisory — Match provided wireframe
   Look: light grey canvas, white cards, soft shadow, big radius,
         calm typography, blue CTA
   ========================================================= */

/* ---------- Tokens ---------- */
:root{
  --bg: #F4F6F9;
  --card: #FFFFFF;
  --text: #0F172A;
  --text2:#334155;
  --muted:#64748B;

  --line: rgba(15, 23, 42, 0.10);
  --line2: rgba(15, 23, 42, 0.07);

  --blue:#2F63F7;
  --blueHover:#2557E6;

  --radiusXL: 22px;
  --radiusLG: 18px;
  --radiusMD: 14px;
  --radiusSM: 12px;

  --shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  --shadowSoft: 0 6px 18px rgba(15, 23, 42, 0.06);

  --max: 1100px;
}

/* ---------- Base ---------- */
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text2);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", sans-serif;
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img{ max-width:100%; height:auto; display:block; }
a{ color: var(--blue); text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

.section{ margin-top: 22px; }
.block{ margin-top: 18px; }

.card{
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: var(--radiusXL);
  box-shadow: var(--shadowSoft);
}
.pad{ padding: 22px 22px; }
@media (max-width:520px){
  .container{ padding:0 16px; }
  .pad{ padding:18px; }
}

/* ---------- Typography (match wireframe) ---------- */
h1,h2,h3{
  margin:0;
  color: var(--text);
}
h1,h2{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing: -0.2px;
}
h1{
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 10px;
}
h2{
  font-size: 20px;
  line-height: 1.25;
}
h3{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}

.kicker{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.p{
  color: var(--text2);
  margin: 0;
}
.muted{ color: var(--muted); font-size: 13px; line-height: 1.55; }
.hr{
  height:1px;
  background: var(--line2);
  margin: 14px 0;
}

/* ---------- Header (as wireframe) ---------- */
header{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244,246,249,0.90);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line2);
}
.navbar{
  height: 64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

/* brand */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 260px;
}
.brand img{
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  background:#fff;
  border: 1px solid var(--line2);
}
.brand .brand-title{
  display:flex;
  flex-direction:column;
  line-height:1.15;
}
.brand .brand-title strong{
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}
.brand .brand-title span{
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

/* nav links */
.nav-links{
  display:flex;
  align-items:center;
  gap: 18px;
}
.nav-links a{
  color: var(--text2);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 12px;
}
.nav-links a.active{
  background: rgba(15,23,42,0.05);
  color: var(--text);
}

/* language toggle (small pills) */
.lang-switch{
  display:flex;
  align-items:center;
  gap:6px;
  background:#fff;
  border: 1px solid var(--line2);
  padding: 6px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(15,23,42,.06);
}
.lang-switch button{
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 999px;
}
.lang-switch button.active{
  background: rgba(47,99,247,0.10);
  color: var(--blue);
}

@media (max-width: 900px){
  .brand{ min-width:unset; }
  .nav-links{ gap: 10px; }
}

/* ---------- Subnav tabs (Approach / Why us / Project experience) ---------- */
#subnav{
  border-bottom: 1px solid var(--line2);
  background: rgba(244,246,249,0.92);
}
.subnav-inner{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 0;
  overflow:auto;
}
.tab{
  flex: 0 0 auto;
  display:inline-flex;
  align-items:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration:none !important;
}
.tab.active{
  color: var(--text);
  border-color: rgba(47,99,247,0.22);
  box-shadow: 0 8px 18px rgba(15,23,42,0.06);
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  text-decoration:none !important;
  user-select:none;
}
.btn-primary{
  background: var(--blue);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(47,99,247,0.22);
}
.btn-primary:hover{ background: var(--blueHover); }
.btn-link{
  color: var(--blue) !important;
  font-weight: 800;
  font-size: 13px;
}
.btn-row{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* ---------- HERO (match wireframe exactly) ---------- */
.hero{
  margin-top: 16px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  align-items: stretch;
}
.hero-left{ padding: 22px 22px; }
.hero-left .hero-sub{
  max-width: 62ch;
  color: var(--text2);
}
.hero-note{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radiusMD);
  background: rgba(15,23,42,0.03);
  border: 1px solid var(--line2);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* right hero image card */
.hero-media{
  border-radius: var(--radiusXL);
  overflow: hidden;
  position: relative;
  min-height: 240px;
  background: rgba(15,23,42,0.04);
  border: 1px solid var(--line2);
  box-shadow: var(--shadowSoft);
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit: cover;
}
.hero-tag{
  position:absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line2);
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 900;
  color: var(--text);
  box-shadow: 0 10px 24px rgba(15,23,42,0.10);
}

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
}

/* ---------- Approach section (image left, text right) ---------- */
.approach{
  margin-top: 18px;
}
.approach-grid{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
}
.approach-media{
  border-radius: var(--radiusLG);
  overflow:hidden;
  background: rgba(15,23,42,0.04);
  border: 1px solid var(--line2);
  min-height: 180px;
}
.approach-media img{
  width:100%;
  height:100%;
  object-fit: cover;
}
.approach-text h2{ margin-bottom: 10px; }
.approach-text .muted{ margin-top: 6px; }
.approach-facts{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
@media (max-width: 980px){
  .approach-grid{ grid-template-columns: 1fr; }
}

/* ---------- Why clients involve us (two small cards) ---------- */
.why{
  margin-top: 18px;
  padding: 18px;
}
.why-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}
.mini{
  border-radius: var(--radiusLG);
  border: 1px solid var(--line2);
  background:#fff;
  padding: 14px;
}
.mini .mini-title{
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
  text-transform: none;
  margin-bottom: 10px;
}
.mini .kv{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.kv-row strong{
  display:block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.kv-row span{
  display:block;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}
@media (max-width: 980px){
  .why-grid{ grid-template-columns: 1fr; }
}

/* ---------- Project experience (3 case cards) ---------- */
.projects{
  margin-top: 18px;
  padding: 18px;
}
.projects-head{
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.case-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.case{
  border-radius: var(--radiusLG);
  border: 1px solid var(--line2);
  background:#fff;
  padding: 14px;
  box-shadow: 0 10px 22px rgba(15,23,42,0.06);
}
.case .case-title{
  font-size: 12px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 10px;
}
.case .case-label{
  font-size: 11px;
  font-weight: 900;
  color: var(--muted);
  text-transform: none;
  margin: 10px 0 6px;
}
.case p{
  margin:0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text2);
}
@media (max-width: 980px){
  .case-grid{ grid-template-columns: 1fr; }
}

/* ---------- Floating WhatsApp ---------- */
#wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line2);
  box-shadow: var(--shadow);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  color: var(--text);
  text-decoration:none !important;
  z-index: 80;
}
#wa-float:hover{ transform: translateY(-1px); }

/* ---------- Footer ---------- */
footer{
  margin-top: 22px;
  padding: 22px 0 40px;
  border-top: 1px solid var(--line2);
  background: #fff;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  align-items: start;
}
.footer-title{
  color: var(--text);
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 8px;
}
.footer-text{
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.footer-links{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content:flex-end;
}
.footer-links a{
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.footer-links a:hover{ color: var(--text); }
@media (max-width: 980px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-links{ justify-content:flex-start; }
}