/* ═══════════════════════════════════════════════════════
   BRAR STRATIFY DEVELOPMENTS — GLOBAL STYLESHEET
   Institutional Developer / Charcoal + Steel Blue
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --charcoal: #1a1a2e;
  --charcoal-light: #2d2d44;
  --slate: #3a3a52;
  --steel: #5b8ca8;
  --steel-light: #7ba8c4;
  --steel-dark: #456d85;
  --gray-100: #f7f8fa;
  --gray-200: #eceef2;
  --gray-400: #9a9eb4;
  --gray-600: #6b6f85;
  --white: #ffffff;
  --heading: 'Sora', sans-serif;
  --body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--body); color: var(--charcoal); background: var(--white); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─── PRELOADER ─── */
.preloader {
  position: fixed; inset: 0; z-index: 10000; background: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease;
}
.preloader.hidden { opacity: 0; pointer-events: none; }
.preloader-logo { height: 60px; animation: fadeIn 1.5s ease-in-out infinite alternate; }
@keyframes fadeIn { 0%{opacity:0.3} 100%{opacity:1} }

/* ─── NAV — clean horizontal bar ─── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px; transition: all 0.4s ease;
  background: transparent;
}
header.scrolled { background: rgba(26,26,46,0.97); backdrop-filter: blur(14px); padding: 16px 60px; }
.h-logo { height: 32px; }
.h-nav { display: flex; align-items: center; gap: 32px; }
.h-nav a {
  font-family: var(--heading); font-weight: 400; font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55);
  transition: color 0.3s;
}
.h-nav a:hover, .h-nav a.active { color: var(--white); }
.h-cta {
  background: var(--steel); color: var(--white); padding: 10px 24px;
  font-family: var(--heading); font-weight: 500; font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase; transition: background 0.3s;
}
.h-cta:hover { background: var(--steel-light); }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: 0.3s; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: var(--charcoal);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a { font-family: var(--heading); font-size: 1.4rem; color: var(--white); letter-spacing: 0.06em; }

/* ─── HERO — centered text overlay ─── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 120px 60px 80px;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,26,46,0.65);
}
.hero-inner { position: relative; z-index: 2; max-width: 800px; }
.hero-rule { width: 50px; height: 1px; background: var(--steel); margin: 0 auto 24px; }
.hero h1 {
  font-family: var(--heading); font-weight: 600;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.15;
  color: var(--white); margin-bottom: 20px; letter-spacing: -0.01em;
}
.hero p {
  font-weight: 300; font-size: clamp(0.88rem, 1.1vw, 1rem); line-height: 1.8;
  color: rgba(255,255,255,0.6); max-width: 580px; margin: 0 auto 36px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── INNER PAGE HERO ─── */
.inner-hero {
  position: relative; padding: 180px 60px 70px; background: var(--charcoal);
  text-align: center;
}
.inner-hero h1 {
  font-family: var(--heading); font-weight: 600;
  font-size: clamp(2rem, 3.5vw, 3rem); color: var(--white);
  letter-spacing: -0.01em; margin-bottom: 14px;
}
.inner-hero p { font-weight: 300; font-size: 0.95rem; color: var(--gray-400); max-width: 520px; margin: 0 auto; line-height: 1.7; }
.inner-hero .hero-rule { margin: 20px auto 0; }

/* ─── BUTTONS ─── */
.btn-steel {
  display: inline-block; background: var(--steel); color: var(--white);
  padding: 14px 34px; font-family: var(--heading); font-weight: 500;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.3s;
}
.btn-steel:hover { background: var(--steel-light); }
.btn-outline-w {
  display: inline-block; border: 1px solid rgba(255,255,255,0.3); color: var(--white);
  padding: 14px 34px; font-family: var(--heading); font-weight: 400;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: all 0.3s;
}
.btn-outline-w:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }
.btn-charcoal {
  display: inline-block; background: var(--charcoal); color: var(--white);
  padding: 14px 34px; font-family: var(--heading); font-weight: 500;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.3s;
}
.btn-charcoal:hover { background: var(--charcoal-light); }
.btn-outline-d {
  display: inline-block; border: 1px solid var(--gray-200); color: var(--charcoal);
  padding: 14px 34px; font-family: var(--heading); font-weight: 500;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: all 0.3s;
}
.btn-outline-d:hover { border-color: var(--steel); color: var(--steel); }

/* ─── SECTIONS ─── */
.sec { padding: 100px 60px; }
.sec-sm { padding: 80px 60px; }
.sec-dark { background: var(--charcoal); color: var(--white); }
.sec-light { background: var(--gray-100); }
.sec-inner { max-width: 1140px; margin: 0 auto; }

/* ─── SECTION HEADERS ─── */
.sh { text-align: center; margin-bottom: 60px; }
.sh-tag {
  font-family: var(--heading); font-weight: 500; font-size: 0.65rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--steel);
  margin-bottom: 14px;
}
.sh h2 {
  font-family: var(--heading); font-weight: 600;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem); line-height: 1.15;
  letter-spacing: -0.01em; margin-bottom: 14px;
}
.sh p { font-weight: 300; font-size: 0.92rem; line-height: 1.75; color: var(--gray-600); max-width: 560px; margin: 0 auto; }
.sec-dark .sh p { color: var(--gray-400); }
.sh-line { width: 40px; height: 2px; background: var(--steel); margin: 18px auto 0; }

/* ─── TWO COLUMN ─── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; max-width: 1140px; margin: 0 auto; }
.tc-text .sh-tag { text-align: left; }
.tc-text h2 { font-family: var(--heading); font-weight: 600; font-size: clamp(1.6rem, 2.5vw, 2.4rem); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 16px; }
.tc-text p { font-weight: 300; font-size: 0.9rem; line-height: 1.85; color: var(--gray-600); margin-bottom: 12px; }
.sec-dark .tc-text p { color: var(--gray-400); }
.tc-img img { width: 100%; height: 420px; object-fit: cover; }
.tc-line { width: 40px; height: 2px; background: var(--steel); margin: 18px 0; }

/* ─── THREE COLUMN CARDS ─── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1140px; margin: 0 auto; }
.card-service {
  padding: 40px 32px; background: var(--white);
  border: 1px solid var(--gray-200); transition: border-color 0.3s, box-shadow 0.3s;
}
.card-service:hover { border-color: var(--steel); box-shadow: 0 8px 30px rgba(91,140,168,0.08); }
.card-service h3 { font-family: var(--heading); font-weight: 600; font-size: 1.1rem; margin-bottom: 14px; color: var(--charcoal); }
.card-service p { font-weight: 300; font-size: 0.85rem; line-height: 1.75; color: var(--gray-600); margin-bottom: 6px; }
.card-service .card-num {
  font-family: var(--heading); font-weight: 300; font-size: 2.5rem;
  color: var(--gray-200); margin-bottom: 20px; line-height: 1;
}

/* ─── PROJECT CARDS ─── */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1140px; margin: 0 auto; }
.project-card { position: relative; overflow: hidden; cursor: pointer; }
.project-card img { width: 100%; height: 320px; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover img { transform: scale(1.04); }
.project-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px; background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, transparent 100%);
}
.project-type {
  font-family: var(--heading); font-weight: 500; font-size: 0.6rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel-light);
  margin-bottom: 6px;
}
.project-info h3 { font-family: var(--heading); font-weight: 500; font-size: 1rem; color: var(--white); margin-bottom: 4px; }
.project-status { font-weight: 300; font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ─── HIGHLIGHT LIST ─── */
.highlight-list { max-width: 600px; }
.highlight-list.centered { margin: 0 auto; }
.hl-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--gray-200); }
.sec-dark .hl-item { border-color: rgba(255,255,255,0.06); }
.hl-marker { width: 6px; height: 6px; background: var(--steel); flex-shrink: 0; margin-top: 7px; }
.hl-item p { font-weight: 400; font-size: 0.9rem; color: var(--charcoal); }
.sec-dark .hl-item p { color: rgba(255,255,255,0.6); }

/* ─── ICON HIGHLIGHTS (homepage) ─── */
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1140px; margin: 0 auto; }
.icon-card { text-align: center; padding: 30px 20px; }
.icon-marker { width: 48px; height: 48px; background: var(--gray-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.icon-marker span { font-family: var(--heading); font-weight: 600; font-size: 1rem; color: var(--steel); }
.icon-card h4 { font-family: var(--heading); font-weight: 500; font-size: 0.85rem; margin-bottom: 6px; }
.icon-card p { font-weight: 300; font-size: 0.82rem; line-height: 1.65; color: var(--gray-600); }

/* ─── CTA BAND ─── */
.cta-band {
  padding: 80px 60px; text-align: center; background: var(--charcoal); color: var(--white);
}
.cta-band h2 {
  font-family: var(--heading); font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.cta-band p { font-weight: 300; font-size: 0.92rem; color: var(--gray-400); max-width: 460px; margin: 0 auto 32px; line-height: 1.7; }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; max-width: 1100px; margin: 0 auto; }
.c-info h3 { font-family: var(--heading); font-weight: 600; font-size: 1.6rem; margin-bottom: 16px; }
.c-block { margin-bottom: 22px; }
.c-label { font-family: var(--heading); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel); margin-bottom: 4px; }
.c-val { font-weight: 300; font-size: 0.95rem; color: var(--gray-600); line-height: 1.6; }
.c-val a { color: var(--charcoal); transition: color 0.3s; }
.c-val a:hover { color: var(--steel); }
.form-wrap { display: flex; flex-direction: column; gap: 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-field { display: flex; flex-direction: column; }
.f-field label { font-family: var(--heading); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 8px; }
.f-field input, .f-field select, .f-field textarea {
  padding: 12px 16px; border: 1px solid var(--gray-200); font-family: var(--body);
  font-size: 0.9rem; color: var(--charcoal); transition: border-color 0.3s; background: var(--white);
}
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: none; border-color: var(--steel); }
.f-field select { appearance: none; }
.f-submit {
  align-self: flex-start; background: var(--steel); color: var(--white); border: none;
  padding: 14px 40px; font-family: var(--heading); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background 0.3s;
}
.f-submit:hover { background: var(--steel-light); }

/* ─── FOOTER ─── */
footer { background: var(--charcoal); color: var(--white); padding: 60px 60px 30px; border-top: 1px solid rgba(255,255,255,0.05); }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.ft-brand p { font-weight: 300; font-size: 0.82rem; line-height: 1.7; color: var(--gray-400); max-width: 280px; margin-top: 14px; }
.ft-logo { height: 28px; margin-bottom: 4px; }
.ft-col h5 { font-family: var(--heading); font-weight: 500; font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); margin-bottom: 16px; }
.ft-col a { display: block; font-weight: 300; font-size: 0.85rem; color: var(--gray-400); margin-bottom: 10px; transition: color 0.3s; }
.ft-col a:hover { color: var(--steel-light); }
.ft-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.72rem; color: rgba(255,255,255,0.25); }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.15s; }
.reveal-d2 { transition-delay: 0.3s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .grid-3, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  header { padding: 16px 24px; }
  header.scrolled { padding: 14px 24px; }
  .h-nav { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 120px 24px 60px; }
  .inner-hero { padding: 140px 24px 50px; }
  .sec, .sec-sm { padding: 60px 24px; }
  .grid-3, .project-grid { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .f-row { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; }
  .ft-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-band { padding: 60px 24px; }
  .tc-img img { height: 300px; }
  .project-card img { height: 260px; }
  footer { padding: 40px 24px 24px; }
}
