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

:root {
  --c-bg: #060c18;
  --c-surface: #0b1222;
  --c-surface-2: #101b2e;
  --c-surface-3: #16243a;
  --c-accent: #3b82f6;
  --c-accent-light: #60a5fa;
  --c-accent-dim: rgba(59, 130, 246, 0.12);
  --c-text: #f0f4ff;
  --c-text-muted: #7088b0;
  --c-text-faint: #384870;
  --c-border: rgba(59, 130, 246, 0.14);
  --c-border-subtle: rgba(240, 244, 255, 0.06);
  --c-border-strong: rgba(59, 130, 246, 0.45);
  --header-h: 72px;
  --max-w: 1200px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ─── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.overline {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--c-text);
  margin-top: 0.6rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  max-width: 560px;
  margin-top: 1rem;
  line-height: 1.75;
}

/* ─── LAYOUT ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 100px 0; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

/* ─── FADE-IN ANIMATION ───────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-up.in { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
.fade-in.in { opacity: 1; }

.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.stagger.in > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.stagger.in > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.stagger.in > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
.stagger.in > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }
.stagger.in > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.4s; }
.stagger.in > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.5s; }
.stagger.in > *:nth-child(7) { opacity: 1; transform: none; transition-delay: 0.6s; }
.stagger.in > *:nth-child(8) { opacity: 1; transform: none; transition-delay: 0.7s; }

/* ─── HEADER ──────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

#site-header.scrolled {
  background: rgba(6, 12, 24, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(59, 130, 246, 0.15);
  border-color: var(--c-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.logo-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-text);
  line-height: 1;
}

.logo-tag {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  line-height: 1;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--c-text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

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

.nav-x {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--c-text-muted);
  transition: color 0.2s;
}
.nav-x:hover { color: var(--c-text); }
.nav-x svg { width: 16px; height: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.4rem;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--c-accent);
  color: #060c18;
}
.btn-primary:hover {
  background: var(--c-accent-light);
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--c-accent);
  border: 1px solid var(--c-border-strong);
}
.btn-outline:hover {
  background: var(--c-accent-dim);
  border-color: var(--c-accent);
}

.btn-ghost {
  background: transparent;
  color: var(--c-text-muted);
  border: 1px solid var(--c-border-subtle);
}
.btn-ghost:hover {
  background: var(--c-surface-2);
  color: var(--c-text);
}

/* ─── BURGER ──────────────────────────────────────────────── */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  height: 1.5px;
  background: var(--c-text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
  border-radius: 2px;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── MOBILE NAV ──────────────────────────────────────────── */
#mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: var(--c-bg);
  z-index: 999;
  overflow-y: auto;
  flex-direction: column;
  padding: 2rem;
}
#mobile-nav.open { display: flex; }

#mobile-nav a {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--c-text-muted);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--c-border-subtle);
  transition: color 0.2s;
}
#mobile-nav a:hover { color: var(--c-accent); }

#mobile-nav .mobile-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(59, 130, 246, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(20, 29, 53, 0.8) 0%, transparent 60%);
  pointer-events: none;
}

.hero-geo {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: 42vw;
  max-width: 600px;
  pointer-events: none;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-rule::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--c-accent);
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--c-text);
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--c-accent);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--c-text-muted);
  max-width: 520px;
  margin-top: 1.75rem;
  line-height: 1.75;
}

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-text-faint);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--c-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* ─── STATS BAR ───────────────────────────────────────────── */
.stats-bar {
  padding: 0;
  border-top: 1px solid var(--c-border-subtle);
  border-bottom: 1px solid var(--c-border-subtle);
  background: var(--c-surface);
}

.stats-inner {
  display: flex;
  align-items: stretch;
}

.stat-item {
  flex: 1;
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid var(--c-border-subtle);
  position: relative;
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-top: 0.5rem;
}

/* ─── INTRO / ABOUT TEASER ────────────────────────────────── */
.intro {
  background: var(--c-bg);
}

.intro-content blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  color: var(--c-text);
  line-height: 1.4;
  padding-left: 2rem;
  border-left: 2px solid var(--c-accent);
  margin-bottom: 2rem;
}

.intro-body {
  color: var(--c-text-muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 540px;
}

.intro-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-box-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1.1;
}

.intro-box-stack .box {
  position: absolute;
  border: 1px solid var(--c-border);
  border-radius: 2px;
}
.intro-box-stack .box-1 {
  inset: 0;
  background: var(--c-surface-2);
}
.intro-box-stack .box-2 {
  top: 5%; left: 5%; right: -5%; bottom: -5%;
  background: var(--c-surface-3);
  border-color: var(--c-border-subtle);
  z-index: -1;
}
.intro-box-stack .box-inner {
  position: absolute;
  inset: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}
.intro-box-stack .box-inner p {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}
.intro-box-stack .box-inner strong {
  display: block;
  color: var(--c-accent);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 1rem;
}
.intro-box-stack .box-accent {
  position: absolute;
  top: 2rem;
  right: -1rem;
  width: 60px;
  height: 60px;
  background: var(--c-accent);
  border-radius: 1px;
  opacity: 0.9;
}

/* ─── SERVICES ────────────────────────────────────────────── */
.services { background: var(--c-surface); }

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--c-border-subtle);
  border-radius: 4px;
  overflow: hidden;
}

.service-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--c-border-subtle);
  border-bottom: 1px solid var(--c-border-subtle);
  position: relative;
  transition: background 0.3s;
  cursor: default;
}

.service-card:hover { background: var(--c-surface-2); }

.service-card:nth-child(4n) { border-right: none; }
.service-card:nth-child(5),
.service-card:nth-child(6),
.service-card:nth-child(7),
.service-card:nth-child(8) { border-bottom: none; }

.service-num {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-accent);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 0.75rem;
  font-family: var(--serif);
}

.service-card p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-top: 1.25rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s, transform 0.2s;
}

.service-card:hover .service-card-link {
  opacity: 1;
  transform: translateX(0);
}

/* ─── SECTORS ─────────────────────────────────────────────── */
.sectors { background: var(--c-bg); }

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 3.5rem;
  background: var(--c-border-subtle);
}

.sector-block {
  background: var(--c-surface);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.sector-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--c-accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.sector-block:hover::before { transform: scaleX(1); }

.sector-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--c-border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.sector-icon svg { width: 22px; height: 22px; stroke: var(--c-accent); }

.sector-block h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 0.75rem;
}

.sector-block p {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* ─── PROCESS ─────────────────────────────────────────────── */
.process { background: var(--c-surface); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--c-border), var(--c-accent), var(--c-border), transparent);
}

.process-step {
  padding: 0 1.5rem;
  text-align: center;
}

.step-dot {
  width: 48px;
  height: 48px;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  background: var(--c-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-accent);
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.process-step h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* ─── CLIENTS SECTION ─────────────────────────────────────── */
.clients-section { background: var(--c-bg); }

.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.client-tag {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--c-border-subtle);
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--c-text-muted);
  background: var(--c-surface);
  transition: border-color 0.2s, color 0.2s;
}
.client-tag:hover { border-color: var(--c-accent); color: var(--c-text); }

.client-note {
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--c-text-faint);
  font-style: italic;
}

/* ─── TESTIMONIAL ─────────────────────────────────────────── */
.testimonial-section {
  background: var(--c-surface);
  padding: 80px 0;
}

.testimonial-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-block blockquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-style: italic;
  color: var(--c-text);
  line-height: 1.5;
}

.testimonial-attr {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.testimonial-attr strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-text);
}
.testimonial-attr span {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  letter-spacing: 0.05em;
}

/* ─── CTA BANNER ──────────────────────────────────────────── */
.cta-banner {
  background: var(--c-surface-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 80px 0;
  flex-wrap: wrap;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  max-width: 560px;
}

/* ─── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  padding: calc(var(--header-h) + 80px) 0 80px;
  background: var(--c-surface);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 1px;
  background: var(--c-border);
}

.page-hero-content {
  max-width: 640px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  margin-top: 1rem;
  max-width: 520px;
  line-height: 1.75;
}

/* ─── ABOUT PAGE ──────────────────────────────────────────── */
.about-mission {
  background: var(--c-bg);
}

.mission-statement {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-text);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.mission-statement span {
  color: var(--c-accent);
}

.about-values {
  background: var(--c-surface);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.value-card {
  padding: 2.5rem 2rem;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border-subtle);
  border-radius: 3px;
  transition: border-color 0.3s, transform 0.3s;
}

.value-card:hover {
  border-color: var(--c-border);
  transform: translateY(-4px);
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--c-text);
}

.value-card p {
  font-size: 0.84rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

.value-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--c-accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.about-story {
  background: var(--c-bg);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.story-body p {
  color: var(--c-text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

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

.tl-item {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--c-border-subtle);
  position: relative;
}

.tl-item:last-child { border-bottom: none; }

.tl-year {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-accent);
  flex-shrink: 0;
  width: 80px;
}

.tl-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 0.35rem;
}

.tl-content p {
  font-size: 0.84rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── SERVICES PAGE ───────────────────────────────────────── */
.services-page { background: var(--c-bg); }

.service-full-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--c-border-subtle);
  border-radius: 4px;
  overflow: hidden;
}

.service-full-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  border-bottom: 1px solid var(--c-border-subtle);
  transition: background 0.3s;
}

.service-full-item:last-child { border-bottom: none; }
.service-full-item:hover { background: var(--c-surface-2); }

.service-full-label {
  padding: 2.5rem 2.5rem;
  border-right: 1px solid var(--c-border-subtle);
}

.service-full-label .num {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.service-full-label h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--c-text);
}

.service-full-body {
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-full-body p {
  font-size: 0.92rem;
  color: var(--c-text-muted);
  line-height: 1.75;
  max-width: 600px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.service-tag {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--c-border);
  border-radius: 2px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--c-text-muted);
}

/* ─── CLIENTS PAGE ────────────────────────────────────────── */
.clients-page { background: var(--c-bg); }

.sector-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 3.5rem;
  background: var(--c-border-subtle);
}

.sector-detail-block {
  background: var(--c-surface);
  padding: 3rem;
}

.sector-detail-block h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--c-text);
}

.sector-detail-block p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.sector-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sector-list li {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  padding-left: 1rem;
  position: relative;
}
.sector-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  background: var(--c-accent);
  border-radius: 50%;
}

.confidentiality-note {
  margin-top: 4rem;
  padding: 2rem 2.5rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 3px;
  border-left: 3px solid var(--c-accent);
}

.confidentiality-note p {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

.approach-item {
  padding: 2.5rem;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border-subtle);
  border-radius: 3px;
}

.approach-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 0.75rem;
}

.approach-item p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* ─── CONTACT PAGE ────────────────────────────────────────── */
.contact-page { background: var(--c-bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: var(--c-text);
}

.contact-detail {
  margin-bottom: 1.75rem;
}
.contact-detail dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.35rem;
}
.contact-detail dd {
  font-size: 0.92rem;
  color: var(--c-text-muted);
}
.contact-detail dd a {
  transition: color 0.2s;
}
.contact-detail dd a:hover { color: var(--c-accent); }

.contact-social {
  margin-top: 2.5rem;
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--c-border-subtle);
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--c-text-muted);
  background: var(--c-surface);
  transition: border-color 0.2s, color 0.2s;
}
.social-link svg { width: 14px; height: 14px; }
.social-link:hover { border-color: var(--c-accent); color: var(--c-text); }

/* ─── FORM ────────────────────────────────────────────────── */
.contact-form {
  background: var(--c-surface);
  border: 1px solid var(--c-border-subtle);
  border-radius: 4px;
  padding: 3rem;
}

#form-body {}

#form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

#form-success.visible { display: block; }
#form-body.hidden { display: none; }

#form-success .success-icon {
  width: 60px;
  height: 60px;
  border: 1.5px solid var(--c-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
#form-success .success-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--c-accent);
}

#form-success h3 {
  font-size: 1.5rem;
  color: var(--c-text);
  margin-bottom: 0.75rem;
}

#form-success p {
  color: var(--c-text-muted);
  font-size: 0.92rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 0.55rem;
}

.form-group label .req {
  color: var(--c-accent);
  margin-left: 0.15rem;
}

.form-control {
  width: 100%;
  background: var(--c-bg);
  border: 1px solid var(--c-border-subtle);
  border-radius: 3px;
  padding: 0.8rem 1rem;
  color: var(--c-text);
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control.error {
  border-color: #e05555;
  box-shadow: 0 0 0 3px rgba(224, 85, 85, 0.1);
}

.form-control::placeholder { color: var(--c-text-faint); }

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-error {
  font-size: 0.76rem;
  color: #e05555;
  margin-top: 0.35rem;
  display: none;
}
.form-error.visible { display: block; }

select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238090b4' stroke-width='1.5' d='m4 6 4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

select.form-control option {
  background: var(--c-surface);
  color: var(--c-text);
}

.form-submit { margin-top: 2rem; }

/* ─── LEGAL PAGES ─────────────────────────────────────────── */
.legal-page { background: var(--c-bg); }

.legal-content {
  max-width: 780px;
}

.legal-content h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--c-text);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--c-border-subtle);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  font-size: 0.92rem;
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  font-size: 0.92rem;
  color: var(--c-text-muted);
  line-height: 1.75;
  padding-left: 0.25rem;
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-date {
  font-size: 0.78rem;
  color: var(--c-text-faint);
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-border-subtle);
}

/* ─── FOOTER ──────────────────────────────────────────────── */
#site-footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: 60px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--c-border-subtle);
}

.footer-brand {}

.footer-brand .logo { margin-bottom: 1.25rem; }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 1.5rem;
}

.footer-x {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--c-text-muted);
  border: 1px solid var(--c-border-subtle);
  border-radius: 3px;
  padding: 0.4rem 0.9rem;
  background: var(--c-surface-2);
  transition: color 0.2s, border-color 0.2s;
}
.footer-x:hover { color: var(--c-text); border-color: var(--c-border); }
.footer-x svg { width: 13px; height: 13px; }

.footer-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-faint);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.84rem;
  color: var(--c-text-muted);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--c-accent); }

.footer-contact-item {
  margin-bottom: 0.85rem;
}
.footer-contact-item dt {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-faint);
  margin-bottom: 0.2rem;
}
.footer-contact-item dd a {
  font-size: 0.84rem;
  color: var(--c-text-muted);
  transition: color 0.2s;
}
.footer-contact-item dd a:hover { color: var(--c-accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--c-text-faint);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-links a {
  font-size: 0.78rem;
  color: var(--c-text-faint);
  transition: color 0.2s;
}
.footer-legal-links a:hover { color: var(--c-text-muted); }

/* ─── DECORATIVE ──────────────────────────────────────────── */
.section-divider {
  height: 1px;
  background: var(--c-border-subtle);
}

.accent-line {
  width: 40px;
  height: 2px;
  background: var(--c-accent);
  margin-bottom: 1.5rem;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card:nth-child(2n) { border-right: none; }
  .services-grid .service-card:nth-child(n+7) { border-bottom: none; }
  .services-grid .service-card:nth-child(5),
  .services-grid .service-card:nth-child(6) { border-bottom: 1px solid var(--c-border-subtle); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-steps::before { display: none; }
  .service-full-item { grid-template-columns: 1fr; }
  .service-full-label { border-right: none; border-bottom: 1px solid var(--c-border-subtle); }
}

@media (max-width: 900px) {
  .nav-links, .nav-actions .btn { display: none; }
  .burger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sector-detail-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 3rem; }
  .footer-right { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  section { padding: 70px 0; }
  .container { padding: 0 1.25rem; }
  .stats-inner { flex-wrap: wrap; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--c-border-subtle); width: 50%; flex: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--c-border-subtle); }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card { border-right: none; }
  .values-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-right { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .hero-geo { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
}
