/* =====================================================
   AKIVI.COM.AU — ENTERPRISE DESIGN SYSTEM
   Inspired by: Kyndryl design language
   Font: Montserrat | Light backgrounds + deep sections
   ===================================================== */

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- DESIGN TOKENS --- */
:root {
  /* Core palette */
  --ink:          #0a0c10;
  --ink-80:       #1a1d24;
  --ink-60:       #2c3040;
  --mid:          #4a5068;
  --subtle:       #7a829c;
  --divider:      #e2e6ee;
  --surface:      #f5f7fc;
  --white:        #ffffff;

  /* Brand */
  --brand:        #1246d6;
  --brand-deep:   #0c35a8;
  --brand-light:  #e8eeff;
  --brand-glow:   rgba(18, 70, 214, 0.15);

  /* Accent */
  --accent:       #0099d6;
  --accent-warm:  #e8531d;

  /* Type */
  --font:         'Montserrat', sans-serif;

  /* Spacing */
  --max:          1280px;
  --pad:          clamp(1.5rem, 4vw, 3rem);

  /* Effects */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card:  0 1px 3px rgba(0,0,0,0.05), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lift:  0 4px 12px rgba(0,0,0,0.08), 0 24px 48px rgba(0,0,0,0.10);
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  font-size: 16px;
}

/* --- CONTAINER --- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* =====================================================
   TYPOGRAPHY SYSTEM
   ===================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.display-xl   { font-size: clamp(3rem, 6.5vw, 5.5rem); letter-spacing: -0.045em; line-height: 0.98; }
.display-lg   { font-size: clamp(2.4rem, 4.5vw, 3.8rem); }
.display-md   { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.display-sm   { font-size: clamp(1.4rem, 2vw, 1.8rem); }

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow-inv { color: rgba(255,255,255,0.5); }

.lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--mid);
}

.lead-inv { color: rgba(255,255,255,0.65); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 0;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

/* Solid dark */
.btn-dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-dark:hover {
  background: var(--ink-60);
  transform: translateY(-1px);
}

/* Outlined on dark bg */
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: white;
}

/* Solid brand */
.btn-brand {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}
.btn-brand:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(18,70,214,0.3);
}

/* Text link style */
.btn-link {
  background: transparent;
  color: var(--brand);
  border: none;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  gap: 0.4rem;
}
.btn-link::after { background: var(--brand); }
.btn-link:hover::after { transform: scaleX(1); }

.btn-link-inv {
  background: transparent;
  color: white;
  border: none;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  gap: 0.4rem;
}
.btn-link-inv::after { background: white; }
.btn-link-inv:hover::after { transform: scaleX(1); }

/* Arrow */
.arr { font-style: normal; transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(4px); }

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s var(--ease), border-color 0.3s;
}

/* Default: transparent over dark hero */
.navbar { background: rgba(10,12,16,0.0); border-bottom: 1px solid rgba(255,255,255,0.0); }

/* Scrolled state — triggered via tiny JS-free CSS trick using :target or checkbox */
.navbar.scrolled,
.navbar-light {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--divider);
}

/* Force light nav on light pages */
body.page-light .navbar {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--divider);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 3rem;
}

/* Logo */
.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--white);
  flex-shrink: 0;
  transition: color 0.25s;
}
.logo .dot { color: var(--accent); }

body.page-light .logo,
.navbar-light .logo { color: var(--ink); }

/* Nav links */
.nav-links {
  display: flex;
  gap: 2.5rem;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1.5px;
  background: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: white; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

body.page-light .nav-links a {
  color: var(--mid);
}
body.page-light .nav-links a::after { background: var(--brand); }
body.page-light .nav-links a:hover,
body.page-light .nav-links a.active { color: var(--brand); }

.nav-cta {
  margin-left: 1rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.72rem;
}

/* Hamburger */
.nav-toggle { display: none; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: white; transition: 0.3s; }
body.page-light .hamburger span { background: var(--ink); }

/* =====================================================
   HERO — HOMEPAGE
   ===================================================== */
.hero {
  background: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

/* Geometric grid overlay */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* Radial brand glow */
.hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18,70,214,0.25) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,153,214,0.12) 0%, transparent 70%);
  bottom: 100px; left: 5%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 0 5rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-headline {
  max-width: 780px;
  color: var(--white);
  margin-bottom: 2rem;
}

.hero-headline em {
  font-style: normal;
  background: linear-gradient(90deg, #4da6ff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 520px;
  margin-bottom: 3rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* Hero bottom bar — stats */
.hero-stats-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem 0;
}

.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.hs-item {
  padding: 0 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hs-item:first-child { padding-left: 0; }
.hs-item:last-child  { border-right: none; }

.hs-num {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hs-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.page-hero {
  background: var(--ink);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-glow {
  position: absolute;
  width: 600px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18,70,214,0.2) 0%, transparent 70%);
  top: -100px; right: 0;
}

.page-hero .eyebrow { margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.8rem; }
.page-hero .eyebrow::before { content: ''; display: block; width: 24px; height: 1.5px; background: var(--accent); }
.page-hero .eyebrow { color: rgba(255,255,255,0.5); }

.page-hero h1 { color: white; max-width: 780px; margin-bottom: 1.5rem; }
.page-hero .lead { max-width: 560px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 3rem;
}
.breadcrumb a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.breadcrumb a:hover { color: white; }
.breadcrumb .sep { opacity: 0.3; }

/* =====================================================
   SECTION SYSTEM
   ===================================================== */
.section       { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-dark  { background: var(--ink); }
.section-ink   { background: var(--ink-80); }
.section-grey  { background: var(--surface); }
.section-white { background: var(--white); }

/* Section header */
.sh {
  margin-bottom: clamp(3rem, 5vw, 5rem);
}
.sh.sh-center { text-align: center; }
.sh.sh-center .sh-head { max-width: 700px; margin-left: auto; margin-right: auto; }
.sh.sh-center .lead     { max-width: 560px; margin: 1.2rem auto 0; }

.sh .eyebrow { margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.8rem; }
.sh .eyebrow::before { content: ''; display: block; width: 24px; height: 1.5px; background: var(--brand); flex-shrink: 0; }
.sh.sh-center .eyebrow { justify-content: center; }
.sh.sh-center .eyebrow::before { display: none; }

.sh-dark .eyebrow { color: rgba(255,255,255,0.45); }
.sh-dark .eyebrow::before { background: var(--accent); }
.sh-dark .sh-head { color: white; }
.sh-dark .lead { color: rgba(255,255,255,0.55); }

/* Divider line */
.rule { height: 1px; background: var(--divider); }
.rule-dark { height: 1px; background: rgba(255,255,255,0.08); }

/* =====================================================
   SERVICES — HOMEPAGE CARDS
   ===================================================== */
.services-strip { background: var(--surface); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.svc-card {
  padding: 3rem 2.2rem;
  border-right: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  position: relative;
  transition: background 0.25s var(--ease);
  display: block;
  overflow: hidden;
}
.svc-card:nth-child(4n) { border-right: none; }

.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.svc-card:hover { background: white; }
.svc-card:hover::before { transform: scaleX(1); }

.svc-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 2.5rem;
}

.svc-icon {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  display: block;
}

.svc-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.svc-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--mid);
  margin-bottom: 2rem;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2rem;
}
.svc-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 2px;
}

/* =====================================================
   WHY AKIVI — DARK SECTION
   ===================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 6rem;
  align-items: start;
}

.why-left h2 { color: white; margin-bottom: 1.5rem; }
.why-left p  { margin-bottom: 2.5rem; }

.why-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pillar {
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.2rem;
  align-items: start;
  transition: padding-left 0.25s var(--ease);
  cursor: default;
}
.pillar:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.pillar:hover { padding-left: 0.8rem; }

.pillar-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 0.25rem;
}

.pillar h4 { color: white; font-size: 1rem; margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.pillar p  { color: rgba(255,255,255,0.5); font-size: 0.88rem; }

/* =====================================================
   PROCESS STEPS
   ===================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.process-step {
  padding: 3rem 2.5rem 3rem 0;
  border-right: 1px solid var(--divider);
  position: relative;
}
.process-step:last-child { border-right: none; padding-right: 0; }
.process-step:not(:first-child) { padding-left: 2.5rem; }

.ps-num {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--brand-light);
  line-height: 1;
  margin-bottom: 1.2rem;
  display: block;
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.process-step p {
  font-size: 0.87rem;
  line-height: 1.7;
}

/* =====================================================
   CTA BAND — HOMEPAGE
   ===================================================== */
.cta-band {
  background: var(--brand);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.cta-band h2 { color: white; max-width: 600px; }
.cta-band p  { color: rgba(255,255,255,0.65); margin-top: 1rem; }
.cta-band-btns { display: flex; gap: 1rem; flex-shrink: 0; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: #050608; }

.footer-main {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  padding: 5rem 0 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand .logo { color: white; font-size: 1.6rem; margin-bottom: 1.2rem; display: block; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.35); max-width: 280px; line-height: 1.7; }

.footer-col h5 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 1.5rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
  font-weight: 500;
}
.footer-col ul a:hover { color: white; }

.footer-contact-info p { font-size: 0.88rem; color: rgba(255,255,255,0.45); margin-bottom: 0.5rem; }
.footer-contact-info a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-contact-info a:hover { color: white; }

.footer-bottom {
  padding: 1.8rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.2); }
.footer-bottom a { color: rgba(255,255,255,0.2); transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.5); }

.footer-legal { display: flex; gap: 2rem; }

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-intro {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 8rem;
  align-items: start;
}

.about-intro-left h2 { margin-bottom: 1.5rem; }
.about-intro-right p { margin-bottom: 1.2rem; }
.about-intro-right p:last-child { margin-bottom: 0; }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.value-item {
  padding: 3rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.value-item:last-child { border-right: none; }

.value-item .vi-icon { font-size: 1.6rem; margin-bottom: 1.5rem; display: block; }
.value-item h4 { color: white; font-size: 1rem; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.value-item p  { font-size: 0.87rem; color: rgba(255,255,255,0.45); line-height: 1.7; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: var(--divider);
}

.team-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}
.team-card:hover { background: var(--surface); }

.team-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.team-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.team-role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem !important;
  display: block;
}
.team-bio { font-size: 0.85rem; color: var(--mid); line-height: 1.7; }

/* Timeline */
.timeline { max-width: 900px; }

.tl-item {
  display: grid;
  grid-template-columns: 80px 1px 1fr;
  gap: 0 2.5rem;
  margin-bottom: 0;
}

.tl-year {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand);
  padding-top: 0.15rem;
  text-align: right;
  padding-right: 0;
}

.tl-line {
  background: var(--divider);
  position: relative;
  display: flex;
  justify-content: center;
}
.tl-line::before {
  content: '';
  position: absolute;
  top: 0.2rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand);
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid white;
  outline: 2px solid var(--brand);
  z-index: 1;
}

.tl-body {
  padding-bottom: 3rem;
}
.tl-body h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.tl-body p  { font-size: 0.87rem; color: var(--mid); }

/* =====================================================
   SERVICES PAGE
   ===================================================== */
.svc-detail-block {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 6rem;
  padding: clamp(4rem, 6vw, 6rem) 0;
  border-bottom: 1px solid var(--divider);
  align-items: start;
}
.svc-detail-block:last-child { border-bottom: none; }

.sdb-meta { position: sticky; top: 100px; }

.sdb-num {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--brand-light);
  line-height: 1;
  margin-bottom: 1.5rem;
  display: block;
}

.sdb-meta h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.sdb-meta p  { margin-bottom: 2rem; font-size: 0.9rem; }

.sdb-body p { margin-bottom: 1.2rem; }

.sdb-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--divider);
  margin-top: 2.5rem;
}

.sdb-list-item {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--divider);
  border-right: 1px solid var(--divider);
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--ink-60);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: background 0.2s;
}
.sdb-list-item:hover { background: var(--surface); }
.sdb-list-item:nth-child(2n) { border-right: none; }
.sdb-list-item:nth-last-child(-n+2) { border-bottom: none; }

.sdb-list-item::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

/* Highlight cards on services page */
.sdb-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--divider);
  margin-top: 2.5rem;
}

.sh-card {
  background: var(--surface);
  padding: 2rem 1.8rem;
  transition: background 0.2s;
}
.sh-card:hover { background: white; }
.sh-card .sh-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.sh-card h4 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.sh-card p  { font-size: 0.83rem; color: var(--mid); }

/* Social platform grid */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  margin-top: 2.5rem;
}

.platform-item {
  padding: 2rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s;
}
.platform-item:hover { background: rgba(255,255,255,0.04); }
.platform-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.platform-item h4 { color: white; font-size: 0.95rem; margin-bottom: 0.2rem; }
.platform-item p  { font-size: 0.78rem; color: rgba(255,255,255,0.4); }

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 6rem;
  align-items: start;
}

.contact-left h2 { margin-bottom: 1.5rem; }
.contact-left > p { margin-bottom: 3rem; }

.contact-info { display: flex; flex-direction: column; gap: 0; }

.ci-row {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--divider);
  display: grid;
  grid-template-columns: 1.8rem 1fr;
  gap: 1rem;
  align-items: start;
}
.ci-row:first-child { border-top: 1px solid var(--divider); }

.ci-ico { font-size: 1rem; padding-top: 0.1rem; }
.ci-row h5 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 0.3rem;
}
.ci-row p, .ci-row a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}
.ci-row a:hover { color: var(--brand); }

/* Form */
.form-panel {
  background: var(--surface);
  padding: 3rem;
}

.form-panel h3 { font-size: 1.4rem; margin-bottom: 2.5rem; }

.cf { display: flex; flex-direction: column; gap: 0; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}

.fg {
  display: flex;
  flex-direction: column;
  background: white;
  margin-bottom: 1px;
}

.fg label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
  padding: 1rem 1.2rem 0;
}

.fg input,
.fg select,
.fg textarea {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.5rem 1.2rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  resize: none;
  -webkit-appearance: none;
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-bottom-color: var(--brand);
}

.fg textarea { padding-bottom: 1.5rem; }

.form-submit {
  margin-top: 2rem;
  width: 100%;
  padding: 1.1rem 2rem;
  font-size: 0.8rem;
}

/* Map placeholder */
.map-block {
  height: 320px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--divider) 1px, transparent 1px),
    linear-gradient(90deg, var(--divider) 1px, transparent 1px);
  background-size: 50px 50px;
}

.map-marker {
  position: relative;
  z-index: 1;
  background: white;
  border: 1px solid var(--divider);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-lift);
  text-align: center;
}
.map-marker strong { display: block; color: var(--brand); font-size: 0.95rem; margin-bottom: 0.3rem; }
.map-marker span { font-size: 0.83rem; color: var(--mid); }

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--divider);
}

.faq-item {
  background: white;
  padding: 2.5rem;
}

.faq-q {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.faq-a { font-size: 0.88rem; color: var(--mid); line-height: 1.75; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card:nth-child(2n) { border-right: none; }
  .svc-card:nth-child(3), .svc-card:nth-child(4) { border-bottom: none; }

  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { padding: 2.5rem; border-right: none; border-bottom: 1px solid var(--divider); }
  .process-step:nth-child(2n) { }

  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(2n) { border-right: none; }
  .value-item { border-bottom: 1px solid rgba(255,255,255,0.07); }

  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .hs-item:nth-child(2) { border-right: none; }
  .hs-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); }

  .about-intro { grid-template-columns: 1fr; gap: 3rem; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 3rem; }

  .svc-detail-block { grid-template-columns: 1fr; gap: 3rem; }
  .sdb-meta { position: static; }

  .why-grid { grid-template-columns: 1fr; gap: 4rem; }
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 4rem; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-band-btns { flex-wrap: wrap; }

  .sdb-list { grid-template-columns: 1fr; }
  .sdb-list-item { border-right: none !important; }
  .sdb-list-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--divider); }
  .sdb-list-item:last-child { border-bottom: none; }

  .sdb-highlights { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-cta  { display: none; }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--ink);
    padding: 2rem var(--pad);
    gap: 1.5rem;
    z-index: 999;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-toggle:checked ~ .nav-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
  body.page-light .nav-toggle:checked ~ .nav-links { background: white; border-top: 1px solid var(--divider); }
  body.page-light .nav-toggle:checked ~ .nav-links a { color: var(--mid); }

  .values-grid { grid-template-columns: 1fr; }
  .value-item { border-right: none; }
  .team-grid { grid-template-columns: 1fr; }

  .footer-main { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { border-right: none; }
}

@media (max-width: 540px) {
  .hero-stats-inner { grid-template-columns: 1fr 1fr; }
  .hs-item { padding: 1rem 1rem; }
  .platform-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .form-panel { padding: 2rem 1.5rem; }
}
