/* ==========================================================================
   Abraj Contracting Services — main stylesheet
   ========================================================================== */

:root {
  --navy-900: #0d0a22;
  --navy-800: #15113a;
  --navy-700: #1f1950;
  --navy-600: #2c2370;
  --steel-300: #b8c6dc;
  --steel-100: #e8eef7;
  --paper: #f6f8fb;
  --white: #ffffff;
  --ink: #0e1a2b;
  --ink-soft: #4a5a72;
  --accent: #a225ad;
  --accent-600: #861b90;
  --accent-soft: #f8ecf9;
  --line: #dde4ee;

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(21, 17, 58, .06);
  --shadow: 0 12px 32px rgba(21, 17, 58, .10);
  --shadow-lg: 0 24px 60px rgba(21, 17, 58, .18);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.accent-text { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--navy-900); box-shadow: 0 8px 22px rgba(162, 37, 173, .35); }
.btn-accent:hover { background: #b63fc1; box-shadow: 0 12px 28px rgba(162, 37, 173, .45); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: var(--white); }
.btn-dark { background: var(--navy-800); color: var(--white); }
.btn-dark:hover { background: var(--navy-900); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.is-scrolled {
  background: rgba(13, 10, 34, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand-mark { width: 38px; height: 38px; fill: var(--accent); flex: none; }
.brand-mark rect:nth-child(2) { fill: var(--white); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: .14em; }
.brand-text small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-300); }

.nav ul { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  display: block; padding: 8px 14px; border-radius: 8px;
  color: rgba(255,255,255,.82); font-weight: 500; font-size: .95rem;
  transition: color .2s, background .2s;
}
.nav a:not(.btn):hover, .nav a.is-current { color: var(--white); background: rgba(255,255,255,.08); }
.nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2); background: transparent;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.08);
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  .nav.is-open { max-height: 80vh; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 2px; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; }
  .site-header { background: rgba(13, 10, 34, .92); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 48px) 0 96px;
  display: flex; align-items: center;
  background: radial-gradient(1200px 600px at 80% 20%, #2c2370 0%, transparent 60%), linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, #1c1248 100%);
  color: var(--white);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.glow-1 { width: 420px; height: 420px; background: #a225ad; right: -120px; top: 10%; opacity: .18; }
.glow-2 { width: 520px; height: 520px; background: #4b3bd1; left: -200px; bottom: -200px; opacity: .22; }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { margin-bottom: 22px; }
.hero .lead { font-size: 1.15rem; color: var(--steel-300); max-width: 590px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges li {
  font-size: .82rem; color: var(--steel-100);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.hero-badges li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 7px; }

.hero-visual { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.tower-svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.waves .w { opacity: 0; animation: pulse 3s var(--ease) infinite; }
.waves .w2 { animation-delay: .4s; }
.waves .w3 { animation-delay: .8s; }
@keyframes pulse { 0% { opacity: 0; } 30% { opacity: 1; } 70% { opacity: .15; } 100% { opacity: 0; } }

.float-card {
  position: absolute; display: flex; flex-direction: column;
  background: rgba(255,255,255,.96); color: var(--ink);
  padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.fc-num { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--accent-600); line-height: 1; }
.fc-label { font-size: .78rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.3; }
.fc-1 { left: -6%; top: 52%; }
.fc-2 { right: -4%; top: 18%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--white); border-radius: 2px; animation: cue 1.8s infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 960px) {
  .hero { min-height: auto; padding: calc(var(--header-h) + 40px) 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 340px; }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .hero .lead { font-size: 1.02rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .fc-1 { left: 0; }
  .fc-2 { right: 0; }
}

/* ---------- Stats ---------- */
.stats { background: var(--white); position: relative; z-index: 2; margin-top: -48px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden;
  padding: 0;
}
.stat { padding: 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--navy-800); line-height: 1.1; }
.stat-label { display: block; font-size: .88rem; color: var(--ink-soft); margin-top: 6px; }
.stats .container { max-width: 1152px; padding: 0; }
.stats { padding: 0 24px; }
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) { .stats { padding: 0 16px; } .stat { padding: 20px 18px; } .stat-num { font-size: 1.8rem; } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-tint { background: var(--paper); }
.section-dark { background: var(--navy-800); color: var(--white); }
.section-dark .eyebrow { color: var(--accent); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow::before { display: none; }
.section-head-left { text-align: left; margin: 80px 0 32px; }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; }
.section-dark .section-sub { color: var(--steel-300); }
@media (max-width: 760px) { .section { padding: 76px 0; } .section-head { margin-bottom: 40px; } .section-head-left { margin-top: 56px; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: start; }
.about-copy > p { font-size: 1.08rem; color: var(--ink-soft); }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }
.mini-card {
  padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini-card p { font-size: .94rem; color: var(--ink-soft); margin: 0; }
.mini-num { display: inline-block; font-family: var(--font-head); font-weight: 800; color: var(--accent-600); margin-bottom: 10px; }

.approach {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--navy-800); color: var(--white);
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.approach::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(162, 37, 173,.35), transparent 70%);
}
.approach h3 { font-size: 1.35rem; margin-bottom: 24px; }
.approach-list { display: grid; gap: 22px; }
.approach-list li { display: flex; gap: 16px; }
.approach-list h4 { margin-bottom: 4px; }
.approach-list p { margin: 0; color: var(--steel-300); font-size: .94rem; }
.ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(162, 37, 173,.14);
}
.ic svg { width: 22px; height: 22px; fill: var(--accent); }

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .approach { position: static; }
}
@media (max-width: 600px) { .about-cards { grid-template-columns: 1fr; } .approach { padding: 28px 22px; } }

/* ---------- Services (tabs) ---------- */
.tabs {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  padding: 6px; border-radius: 999px; width: max-content; max-width: 100%; margin: 0 auto 44px;
}
.tab {
  border: 0; background: transparent; color: var(--steel-300);
  padding: 12px 22px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  transition: background .25s, color .25s;
}
.tab:hover { color: var(--white); }
.tab.is-active { background: var(--accent); color: var(--navy-900); }
.tab-k { opacity: .6; margin-right: 6px; font-size: .8rem; }
@media (max-width: 680px) {
  .tabs { flex-direction: column; border-radius: var(--radius); width: 100%; }
  .tab { border-radius: 10px; text-align: left; }
}

.tab-panel { animation: fadeUp .5s var(--ease); }
.tab-panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panel-intro { text-align: center; color: var(--steel-300); max-width: 720px; margin: 0 auto 36px; font-size: 1.05rem; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-grid-4 { grid-template-columns: repeat(2, 1fr); }
.service-card {
  position: relative; padding: 30px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--accent); transition: width .4s var(--ease);
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(162, 37, 173,.45); background: rgba(255,255,255,.08); }
.service-card:hover::before { width: 100%; }
.service-card p { color: var(--steel-300); margin: 0; font-size: .95rem; }
.sc-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: rgba(162, 37, 173,.85); line-height: 1; margin-bottom: 18px; }

.callout {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  margin-top: 28px; padding: 22px 26px; border-radius: var(--radius);
  background: rgba(162, 37, 173,.1); border: 1px dashed rgba(162, 37, 173,.5);
}
.callout strong { font-family: var(--font-head); color: var(--accent); white-space: nowrap; }
.callout span { color: var(--steel-100); flex: 1 1 320px; }

@media (max-width: 960px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .service-grid, .service-grid-4 { grid-template-columns: 1fr; } }

/* ---------- Vision & Mission ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card { padding: 44px 40px; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.vm-card .eyebrow::before { display: none; }
.vm-vision { background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: var(--white); }
.vm-vision .eyebrow { color: var(--accent); }
.vm-mission { background: var(--accent-soft); border: 1px solid #ebc9ee; }
.vm-text { font-family: var(--font-head); font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; line-height: 1.35; margin: 0; }
.vm-card::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 140px; height: 140px;
  border: 18px solid currentColor; border-radius: 50%; opacity: .06;
}
.commit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.commit { padding: 26px 24px; border-top: 3px solid var(--accent); background: var(--paper); border-radius: 0 0 var(--radius) var(--radius); }
.commit p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
@media (max-width: 960px) { .commit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .vm-grid, .commit-grid { grid-template-columns: 1fr; } .vm-card { padding: 32px 24px; } }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value {
  padding: 30px 28px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.v-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy-800); color: var(--accent); font-family: var(--font-head); font-weight: 800; margin-bottom: 16px;
}

.strategy {
  margin-top: 56px; padding: 44px; border-radius: var(--radius-lg);
  background: var(--navy-800); color: var(--white);
}
.strategy h3 { font-size: 1.5rem; margin-bottom: 28px; }
.strategy-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.strategy-steps li {
  counter-increment: s; position: relative; padding: 24px 22px 22px;
  border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  color: var(--steel-100);
}
.strategy-steps li::before {
  content: "0" counter(s); display: block; font-family: var(--font-head); font-weight: 800; color: var(--accent);
  font-size: 1.4rem; margin-bottom: 8px;
}
@media (max-width: 960px) { .values-grid { grid-template-columns: 1fr 1fr; } .strategy-steps { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .values-grid { grid-template-columns: 1fr; } .strategy { padding: 30px 20px; } }

/* ---------- Operations ---------- */
.ops-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.ops-grid > div > p { color: var(--ink-soft); font-size: 1.08rem; }
.org-flow { position: relative; display: grid; gap: 18px; }
.org-flow::before {
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px;
  background: linear-gradient(var(--accent), var(--navy-600));
}
.org-flow li {
  position: relative; display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 22px 20px 0;
}
.of-k {
  flex: none; position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--accent); color: var(--navy-800);
  font-family: var(--font-head); font-weight: 800;
}
.org-flow h3 { margin-bottom: 4px; }
.org-flow p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
@media (max-width: 960px) { .ops-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, #a225ad 0%, #c862d2 100%);
  padding: 90px 0; position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 2px, transparent 2px 22px);
}
.cta-inner { position: relative; text-align: center; max-width: 760px; }
.cta h2 { color: var(--navy-900); font-size: clamp(2rem, 4.5vw, 3.2rem); }
.cta p { color: #3a2a10; font-size: 1.12rem; margin-bottom: 28px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { display: grid; gap: 22px; margin: 26px 0 30px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list .ic { background: var(--accent-soft); }
.contact-list .ic svg { fill: var(--accent-600); }
.contact-list h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-list p { margin: 0; color: var(--ink-soft); }
.contact-list a { color: var(--navy-700); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-list a:hover { border-color: currentColor; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px; box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.35rem; margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: .97rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px rgba(162, 37, 173,.15);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #d64545; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-size: .93rem; min-height: 1.4em; }
.form-status.ok { color: #1c7c43; }
.form-status.err { color: #c03434; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; gap: 0; } .contact-form { padding: 26px 20px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--steel-300); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 { color: var(--white); margin-bottom: 16px; font-size: .95rem; letter-spacing: .04em; }
.site-footer ul { display: grid; gap: 10px; font-size: .93rem; }
.site-footer a:hover { color: var(--accent); }
.footer-tag { margin-top: 16px; font-size: .85rem; letter-spacing: .06em; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; padding-bottom: 22px; font-size: .85rem;
}
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .waves .w { opacity: .8; }
}

/* ---------- Brand palette overrides (purple from the Abraj logo) ---------- */
:root { --accent-bright: #d88be0; }
.skip-link, .btn-accent, .btn-accent:hover, .tab.is-active { color: var(--white); }
.btn-accent:hover { background: #b63fc1; }
.accent-text, .hero .eyebrow, .section-dark .eyebrow, .vm-vision .eyebrow,
.callout strong, .strategy-steps li::before, .v-num { color: var(--accent-bright); }
.hero-badges li::before { color: var(--accent-bright); }
.sc-num { color: rgba(216, 139, 224, .9); }
.ic svg { fill: var(--accent-bright); }
.contact-list .ic svg { fill: var(--accent-600); }
:focus-visible { outline-color: var(--accent-bright); }
.cta { background: linear-gradient(120deg, #7a1983 0%, #a225ad 55%, #c862d2 100%); }
.cta h2 { color: var(--white); }
.cta p { color: rgba(255,255,255,.88); }

/* Real logo in a white badge (the source logo has a white background) */
.brand-logo {
  display: inline-flex; align-items: center; background: var(--white);
  padding: 6px 12px; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.brand-logo img { height: 40px; width: auto; }
.brand-footer.brand-logo img { height: 48px; }
@media (max-width: 520px) { .brand-logo img { height: 34px; } }
