/* ============================================================
   Stratica — Brand System
   Colors: Black #000000, Grey Cyan #355151, Teal #00AAA7,
           Pastel Grey #AFB9BA, White #FFFFFF
   Fonts:  Unbounded (display), Google Sans (body)
   ============================================================ */

@font-face {
  font-family: 'Unbounded';
  src: url('../assets/fonts/Unbounded-Variable.ttf') format('truetype-variations'),
       url('../assets/fonts/Unbounded-Variable.ttf') format('truetype');
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: 'Google Sans';
  src: url('../assets/fonts/GoogleSans-Variable.ttf') format('truetype-variations'),
       url('../assets/fonts/GoogleSans-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --black: #000000;
  --grey-cyan: #355151;
  --teal: #00aaa7;
  --teal-bright: #00c7c3;
  --pastel-grey: #afb9ba;
  --white: #ffffff;

  --bg: #060a0a;
  --bg-raised: #0c1414;
  --bg-card: #0f1a1a;
  --border-soft: rgba(175, 185, 186, 0.16);
  --text-body: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(175, 185, 186, 0.7);
  --ink: #ffffff;
  --ghost-border: rgba(255, 255, 255, 0.3);
  --header-scrolled-bg: rgba(6, 10, 10, 0.86);
  --scroll-cue-border: rgba(255, 255, 255, 0.35);
  --card-shadow: none;

  --font-display: 'Unbounded', 'Google Sans', sans-serif;
  --font-body: 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --gutter: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-full: 999px;

  --nav-pill-bg: rgba(6, 10, 10, 0.55);
}

:root[data-theme="light"] {
  --nav-pill-bg: rgba(255, 255, 255, 0.75);
  --bg: #ffffff;
  --bg-raised: #f2f6f6;
  --bg-card: #f7fafa;
  --border-soft: rgba(10, 25, 30, 0.1);
  --text-body: rgba(10, 25, 30, 0.72);
  --text-dim: rgba(53, 81, 81, 0.8);
  --ink: #0a1923;
  --ghost-border: rgba(10, 25, 30, 0.25);
  --header-scrolled-bg: rgba(255, 255, 255, 0.86);
  --scroll-cue-border: rgba(10, 25, 30, 0.3);
  --card-shadow: 0 1px 2px rgba(10, 25, 30, 0.06);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--teal);
  color: var(--black);
  padding: 10px 16px;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 500;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 500; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 500;
  margin: 0 0 14px;
}
.eyebrow::before { content: '/ '; }
.eyebrow.center { text-align: center; }

.section-title { margin-bottom: 56px; }
.section-title.center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 8px 8px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:not(.btn-icon-trailing) { padding: 15px 30px; }
.btn-primary {
  background: var(--teal);
  color: #012322;
}
.btn-primary:hover { background: var(--teal-bright); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 170, 167, 0.28); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ghost-border);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }

.btn-block { width: 100%; }

.btn-icon-trailing {
  padding: 8px 8px 8px 26px;
}
.btn-icon-trailing .btn-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #012322;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.btn-icon-trailing .btn-bubble svg { width: 15px; height: 15px; }
.btn-icon-trailing:hover .btn-bubble { transform: rotate(45deg); }
.btn-ghost.btn-icon-trailing .btn-bubble { background: var(--ink); color: var(--bg); }

/* ---------- Logo (inline SVG, theme-adaptive) ---------- */
.logo-svg { display: block; }
.logo-ink { fill: var(--ink); transition: fill 0.35s var(--ease); }
.logo-accent { fill: var(--teal); }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.theme-toggle:hover { border-color: var(--teal); color: var(--teal); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--gutter);
  transition: padding 0.3s var(--ease);
}
.site-header.scrolled { padding: 14px var(--gutter); }

.header-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-full);
  padding: 10px 10px 10px 28px;
  box-shadow: 0 10px 34px rgba(6, 10, 10, 0.12);
  transition: box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}
/* backdrop-filter lives on a pseudo-element (not .header-inner itself) so it
   doesn't become the containing block for the fixed-position mobile nav panel */
.header-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--nav-pill-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: inherit;
}
.site-header.scrolled .header-inner { box-shadow: 0 14px 40px rgba(6, 10, 10, 0.2); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-icon { height: 26px; width: auto; flex-shrink: 0; }
.brand-mark { height: 20px; width: auto; }

.main-nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s var(--ease);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--teal);
  transition: width 0.25s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

.btn-nav { padding: 11px 22px; font-size: 0.82rem; }

.theme-toggle, .nav-toggle {
  border-radius: 50%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-soft);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.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); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 130px 12px 40px;
  background: var(--bg);
}
.hero-frame {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  min-height: 82vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02);
}
/* The hero always renders with its own dark-mode styling, regardless of the
   site-wide theme — these local variable overrides make every var(--ink) /
   var(--text-body) / etc. inside .hero resolve to their dark-theme values. */
[data-theme="light"] .hero {
  --ink: #ffffff;
  --text-body: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(175, 185, 186, 0.7);
  --bg-card: #0f1a1a;
  --border-soft: rgba(175, 185, 186, 0.16);
  --ghost-border: rgba(255, 255, 255, 0.3);
  --scroll-cue-border: rgba(255, 255, 255, 0.35);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(6,10,10,0.94) 0%, rgba(6,10,10,0.86) 26%, rgba(6,10,10,0.4) 46%, transparent 62%),
    linear-gradient(180deg, transparent 62%, rgba(6,10,10,0.7) 100%);
}

.hero-ghost-text {
  position: absolute;
  left: 4%;
  bottom: -6%;
  z-index: 0;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 16vw, 13rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.hero-content { position: relative; z-index: 1; max-width: 640px; padding: 70px 56px; }
.hero-content h1 { text-shadow: 0 2px 24px rgba(6, 10, 10, 0.3); }
.hero-sub { font-size: 1.15rem; color: var(--text-body); max-width: 480px; margin-bottom: 34px; text-shadow: 0 1px 16px rgba(6, 10, 10, 0.25); }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.hero-widget {
  position: absolute;
  z-index: 2;
  right: 6%;
  bottom: 9%;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 20px 50px rgba(6, 10, 10, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-widget-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal);
  color: #012322;
  flex-shrink: 0;
}
.hero-widget-icon svg { width: 20px; height: 20px; }
.hero-widget-text { display: flex; flex-direction: column; gap: 2px; }
.hero-widget-label { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.hero-widget-value { font-family: var(--font-display); font-size: 0.95rem; color: var(--ink); font-weight: 500; line-height: 1.3; }

.scroll-cue {
  position: relative;
  display: block;
  margin: 28px auto 0;
  width: 26px;
  height: 42px;
  border: 1px solid var(--scroll-cue-border);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  background: var(--teal);
  border-radius: 50%;
  animation: scrollcue 1.8s infinite;
}
@keyframes scrollcue {
  0% { top: 8px; opacity: 1; }
  80% { top: 24px; opacity: 0; }
  100% { top: 24px; opacity: 0; }
}

/* ============ CLIENT LOGOS ============ */
.clients { padding: 56px 0; border-bottom: 1px solid var(--border-soft); }
.clients-label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 30px;
}
.clients-marquee {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 0 8px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.clients-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: clients-scroll 46s linear infinite;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; }
}
.client-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding: 0 40px;
  flex-shrink: 0;
}
.client-chip img { height: 46px; width: auto; max-width: 150px; object-fit: contain; }
.client-chip-text {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--black);
  font-size: 0.95rem;
  padding: 14px 26px;
  white-space: nowrap;
}

/* ============ ABOUT ============ */
.about { padding: 130px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about-media-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  background: var(--teal);
  color: #012322;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 220px;
}
.badge-number { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.badge-label { font-size: 0.78rem; line-height: 1.3; }

.about-copy .about-emphasis {
  color: var(--ink);
  font-weight: 500;
  border-left: 2px solid var(--teal);
  padding-left: 18px;
  margin: 24px 0;
}

.stat-row {
  display: flex;
  gap: 44px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--border-soft);
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-number, .stat-suffix {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1;
}
.stat-suffix { color: var(--teal); }
.stat-number + .stat-suffix { margin-left: 2px; }
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============ MISSION & VISION ============ */
.mission-vision { padding: 0 0 130px; }
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mv-card {
  background: var(--bg-raised);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 56px;
  position: relative;
}
.mv-index {
  display: block;
  font-family: var(--font-display);
  color: var(--teal);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.mv-card h3 { margin-bottom: 14px; }
.mv-card p { color: var(--text-body); font-size: 1.05rem; max-width: 440px; }

/* ============ VALUES ============ */
.values { padding: 0 0 130px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 44px 34px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.value-card:hover { border-color: var(--teal); transform: translateY(-4px); }
.value-icon {
  display: inline-flex;
  width: 48px; height: 48px;
  color: var(--teal);
  margin-bottom: 26px;
}
.value-icon svg { width: 100%; height: 100%; }
.value-card p { font-size: 0.96rem; }

.values-close {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin-top: 56px;
  font-weight: 400;
}

/* ============ PROCESS ============ */
.process { padding: 0 0 130px; }
.process-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-flow::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-soft) 8%, var(--border-soft) 92%, transparent);
}
.process-step {
  position: relative;
  padding: 0 20px;
  border-left: 1px solid var(--border-soft);
}
.process-step:first-child { border-left: none; }
.process-num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--teal);
  background: var(--bg);
  border: 1px solid var(--teal);
  border-radius: 50%;
  margin-bottom: 22px;
  z-index: 1;
}
.process-step h3 { margin-bottom: 10px; font-size: 1.1rem; }
.process-step p { font-size: 0.9rem; color: var(--text-dim); }

/* ============ SERVICES ============ */
.services { padding: 0 0 130px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg-raised);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card:hover { border-color: var(--teal); }
.service-card:hover { background: var(--bg-card); }
.service-icon {
  display: inline-flex;
  width: 44px; height: 44px;
  color: var(--teal);
  margin-bottom: 24px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; }

/* ============ PORTFOLIO ============ */
.portfolio { padding: 0 0 130px; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  transition: transform 0.35s var(--ease);
}
.case-card:hover { transform: translateY(-6px); }
.case-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.case-card:hover .case-card-img { transform: scale(1.06); }
.case-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,10,10,0) 42%, rgba(6,10,10,0.6) 68%, rgba(6,10,10,0.94) 100%);
  z-index: 1;
}
.case-index {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.22);
}
.case-sector {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  background: rgba(6,10,10,0.55);
  backdrop-filter: blur(4px);
  color: var(--teal-bright);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-weight: 600;
}
.case-body {
  position: relative;
  z-index: 2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  color: rgba(255, 255, 255, 0.85);
}
.case-body h3 { margin-bottom: 0; color: #fff; }
.case-tagline { color: var(--teal-bright); font-weight: 500; font-size: 0.95rem; margin: 0; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case-tags span {
  font-size: 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.8);
  padding: 5px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.case-body p:not(.case-tagline) {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.case-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #012322;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 6px 6px 16px;
  border-radius: var(--radius-full);
  margin-top: 6px;
  width: fit-content;
  transition: transform 0.25s var(--ease);
}
.case-more:hover { transform: translateY(-2px); }
.case-more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--teal);
  color: #012322;
  flex-shrink: 0;
}
.case-more-icon svg { width: 12px; height: 12px; }

/* ============ TIMELINE ============ */
.timeline { padding: 0 0 130px; }
.timeline-list { max-width: 780px; margin: 0 auto; position: relative; }
.timeline-item {
  display: grid;
  grid-template-columns: 90px 40px 1fr;
  align-items: start;
  padding-bottom: 44px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year {
  font-family: var(--font-display);
  color: var(--teal);
  font-weight: 600;
  font-size: 1.15rem;
  padding-top: 2px;
}
.timeline-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.timeline-connector span {
  width: 12px; height: 12px;
  background: var(--bg);
  border: 2px solid var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}
.timeline-item:not(:last-child) .timeline-connector::after {
  content: '';
  flex: 1;
  width: 1px;
  background: var(--border-soft);
  margin-top: 8px;
}
.timeline-content h3 { font-size: 1.05rem; margin-bottom: 6px; }
.timeline-content h3 span { display: block; font-weight: 400; color: var(--text-dim); font-size: 0.85rem; margin-top: 2px; }
.timeline-content p { font-size: 0.92rem; color: var(--text-dim); }

/* ============ FACT COUNTERS ============ */
.facts {
  padding: 90px 0;
  background: var(--grey-cyan);
  background: linear-gradient(120deg, #0e1f1f 0%, var(--grey-cyan) 100%);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.fact-number, .facts .stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--white);
  font-weight: 600;
  line-height: 1;
}
.facts .stat-suffix { color: var(--teal-bright); }
.fact-label {
  display: block;
  margin-top: 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
}

/* ============ CONTACT ============ */
.contact { padding: 130px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
.contact-copy h2 { margin-bottom: 18px; }
.contact-list { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list a { font-size: 1.05rem; font-weight: 500; color: var(--ink); transition: color 0.2s var(--ease); }
.contact-list a:hover { color: var(--teal); }
.contact-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background-color: var(--teal);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.form-row input, .form-row textarea {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--ink);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.2s var(--ease);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.form-note { font-size: 0.85rem; color: var(--teal); min-height: 1.2em; margin: 0; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg-raised);
  border-top: 1px solid var(--border-soft);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.footer-icon { height: 24px; width: auto; flex-shrink: 0; }
.footer-mark { height: 18px; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; max-width: 220px; }
.footer-col h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { font-size: 0.9rem; color: var(--text-dim); }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-dim); }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .mv-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .process-flow { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process-flow::before { display: none; }
  .process-step { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .btn-nav { display: none; }
  .nav-toggle { display: flex; }

  .site-header { padding: 14px 12px; }
  .header-inner { padding: 8px 8px 8px 18px; gap: 10px; }
  .brand { gap: 6px; }
  .brand-icon { height: 20px; }
  .brand-mark { height: 15px; }
  .header-actions { gap: 8px; }
  .theme-toggle, .nav-toggle { width: 34px; height: 34px; }
  .theme-toggle svg { width: 15px; height: 15px; }

  .main-nav.open {
    display: block;
    position: fixed;
    top: 66px; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    padding: 40px var(--gutter);
    overflow-y: auto;
  }
  .main-nav.open ul { flex-direction: column; gap: 8px; }
  .main-nav.open a { display: block; padding: 16px 0; font-size: 1.1rem; border-bottom: 1px solid var(--border-soft); }
  .main-nav.open .btn { display: inline-flex; margin-top: 20px; }

  .values-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-flow { grid-template-columns: 1fr; }
  .stat-row { gap: 28px; }
  .facts-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .timeline-item { grid-template-columns: 70px 30px 1fr; }
  .about, .mission-vision, .values, .process, .services, .portfolio, .timeline, .contact { padding-top: 0; padding-bottom: 80px; }
  .contact { padding-top: 56px; }

  .hero { padding: 100px 12px 40px; }
  .hero-frame { min-height: 88vh; border-radius: var(--radius-md); }
  .hero-content { padding: 40px 24px; max-width: 100%; }
  .hero-widget { display: none; }
  .hero-ghost-text { display: none; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6,10,10,0.35) 0%, rgba(6,10,10,0.78) 55%, rgba(6,10,10,0.9) 100%);
  }
}

/* ============ WHATSAPP FAB ============ */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 10px 28px rgba(6, 10, 10, 0.3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.whatsapp-fab svg { width: 32px; height: 32px; }
.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 34px rgba(6, 10, 10, 0.38);
}

@media (max-width: 760px) {
  .whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-fab svg { width: 28px; height: 28px; }
}
