/* ============================================
   ALFERA İNŞAAT - Corporate Modern Stylesheet
   ============================================ */

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

:root {
  /* Primary Palette - Industrial Engineering */
  --color-bg: #0a0a0a;
  --color-bg-elevated: #131313;
  --color-bg-card: #1a1a1a;
  --color-surface: #f5f3ee;
  --color-surface-alt: #e8e4dc;
  
  /* Brand Colors */
  --color-accent: #d97706;          /* Construction amber */
  --color-accent-bright: #f59e0b;
  --color-accent-deep: #b45309;
  --color-steel: #2c3e50;
  --color-concrete: #6b6b6b;
  
  /* Text */
  --color-text: #f5f3ee;
  --color-text-dim: #a8a29e;
  --color-text-muted: #78716c;
  --color-text-dark: #1c1917;
  --color-text-dark-dim: #44403c;
  
  /* Borders */
  --color-border: rgba(245, 243, 238, 0.08);
  --color-border-strong: rgba(245, 243, 238, 0.18);
  --color-border-dark: rgba(28, 25, 23, 0.12);
  
  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Spacing */
  --container-max: 1400px;
  --section-pad: clamp(4rem, 8vw, 8rem);
  
  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--color-accent-bright);
}

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

section {
  padding: var(--section-pad) 0;
  position: relative;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: all 0.4s var(--ease-out);
  backdrop-filter: blur(0);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-text);
}

.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  /* Logo zaten turuncu, koyu nav'da iyi görünür */
  transition: opacity 0.2s;
}

.nav-brand:hover .nav-logo-img {
  opacity: 0.85;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 0.2rem;
  margin-right: 0.5rem;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.7rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.lang-btn:hover {
  color: var(--color-text);
}

.lang-btn.active {
  background: var(--color-accent);
  color: white;
}

/* Light backgrounds (page-header, capabilities) */
.page-header .lang-switch,
.section-light .lang-switch {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

/* ===== FOOTER LOGO ===== */
.footer-logo-img {
  height: 48px;
  width: auto;
  margin-bottom: 1.25rem;
  display: block;
  /* Filter to make it white-ish in dark footer */
  filter: brightness(1.1);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-bright);
  transition: width 0.3s var(--ease-out);
}

.nav-menu a:hover {
  color: var(--color-accent-bright);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s var(--ease-out);
  border: 1px solid var(--color-accent);
}

.nav-cta:hover {
  background: var(--color-accent-bright);
  border-color: var(--color-accent-bright);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: 0.3s;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  padding-top: 8rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(217, 119, 6, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(217, 119, 6, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(245, 243, 238, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 243, 238, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text .eyebrow {
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--color-accent-bright), var(--color-accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 500;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--color-text-dim);
  margin-bottom: 2.5rem;
  max-width: 540px;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all 0.4s var(--ease-out);
  border-radius: 2px;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background: var(--color-accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}

.btn-secondary:hover {
  border-color: var(--color-accent-bright);
  color: var(--color-accent-bright);
}

.btn-arrow {
  transition: transform 0.3s;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 600px;
  margin-left: auto;
}

.hero-visual-frame {
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-border-strong);
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-bg-elevated);
}

.hero-visual-image {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&q=80&w=1200');
  background-size: cover;
  background-position: center;
  filter: brightness(0.7) contrast(1.1);
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 10, 0.9) 100%);
}

.hero-visual-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-accent-bright);
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-top: 0.5rem;
}

.hero-marker {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 80px;
  height: 80px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  animation: rotate 20s linear infinite;
}

.hero-marker svg {
  width: 100%;
  height: 100%;
}

.hero-marker text {
  font-family: var(--font-mono);
  font-size: 9px;
  fill: white;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.3); transform-origin: top; }
}

/* ============================================
   Stats Bar
   ============================================ */
.stats-bar {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 3rem 0;
}

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

.stat-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--color-border);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--color-accent-bright);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-number sup {
  font-size: 0.5em;
  vertical-align: super;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-top: 0.75rem;
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: end;
}

.section-header-title h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-top: 1.5rem;
}

.section-header-title h2 .italic {
  font-style: italic;
  font-weight: 500;
  color: var(--color-accent-bright);
}

.section-header-text {
  color: var(--color-text-dim);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ============================================
   About Section
   ============================================ */
.about {
  background: var(--color-bg);
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.9);
}

.about-image-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--color-accent);
  color: white;
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-image-tag strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-top: 0.25rem;
}

.about-text h2 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  margin-bottom: 2rem;
  margin-top: 1.5rem;
}

.about-text p {
  color: var(--color-text-dim);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.principle {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.principle-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--color-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.principle-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent-bright);
  fill: none;
  stroke-width: 1.5;
}

.principle h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.principle p {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin: 0;
}

/* ============================================
   Services Section
   ============================================ */
.services {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
}

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

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.service-card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-4px);
  background: #1f1f1f;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent-bright);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  display: block;
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-accent-bright);
  fill: none;
  stroke-width: 1.2;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.service-card p {
  color: var(--color-text-dim);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ============================================
   Projects Section
   ============================================ */
.projects {
  background: var(--color-bg);
}

.projects-filter {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
  padding: 0.6rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
}

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

.project-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: var(--color-bg-card);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
  filter: brightness(0.85);
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 10, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: all 0.4s;
}

.project-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-bright);
  margin-bottom: 0.75rem;
}

.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.project-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.project-card-corner {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}

.project-card:hover .project-card-corner {
  opacity: 1;
  transform: translate(-4px, 4px);
}

.project-card-corner svg {
  width: 18px;
  height: 18px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

/* ============================================
   Capabilities Section
   ============================================ */
.capabilities {
  background: var(--color-surface);
  color: var(--color-text-dark);
  position: relative;
}

.capabilities .eyebrow {
  color: var(--color-accent-deep);
}

.capabilities .eyebrow::before {
  background: var(--color-accent-deep);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 4rem;
  border-top: 1px solid var(--color-border-dark);
  border-left: 1px solid var(--color-border-dark);
}

.capability-item {
  padding: 2rem;
  border-right: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all 0.3s;
  background: var(--color-surface);
}

.capability-item:hover {
  background: var(--color-surface-alt);
}

.capability-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent-deep);
  font-weight: 600;
  letter-spacing: 0.1em;
  padding-top: 0.25rem;
  min-width: 2rem;
}

.capability-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--color-text-dark);
}

.capability-content p {
  font-size: 0.85rem;
  color: var(--color-text-dark-dim);
  line-height: 1.6;
}

.capabilities .section-header-text,
.capabilities .section-header-title h2 {
  color: var(--color-text-dark);
}

.capabilities .section-header-text {
  color: var(--color-text-dark-dim);
}

/* ============================================
   Process / Timeline
   ============================================ */
.process {
  background: var(--color-bg);
}

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

.process-grid::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-border);
  z-index: 0;
}

.process-step {
  padding: 0 1.5rem 0 0;
  position: relative;
  z-index: 1;
}

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-accent-bright);
  margin-bottom: 2rem;
  transition: all 0.3s;
}

.process-step:hover .process-number {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}

.process-step h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--color-text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  position: relative;
  background: var(--color-bg-elevated);
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(217, 119, 6, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(217, 119, 6, 0.08) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.cta p {
  color: var(--color-text-dim);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
  background: var(--color-bg);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-info-list {
  list-style: none;
  margin-top: 3rem;
}

.contact-info-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-info-list li:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 2px;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent-bright);
  fill: none;
  stroke-width: 1.5;
}

.contact-info-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-size: 1rem;
  color: var(--color-text);
}

.contact-info-value a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info-value a:hover {
  color: var(--color-accent-bright);
}

.contact-form {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  border-radius: 4px;
}

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

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 0.6rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 2px;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent-bright);
  background: var(--color-bg-card);
}

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

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

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #050505;
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--color-text-dim);
  margin: 1.5rem 0;
  line-height: 1.7;
  font-size: 0.95rem;
  max-width: 400px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--color-text-dim);
  transition: fill 0.3s;
}

.footer-social a:hover svg {
  fill: white;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-bright);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--color-text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--color-accent-bright);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

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

.footer-bottom-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: var(--color-accent-bright);
}

/* ============================================
   Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .stat-card:nth-child(2)::after {
    display: none;
  }
  
  .section-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  .process-grid::before {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--color-bg-elevated);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: right 0.4s var(--ease-out);
    border-left: 1px solid var(--color-border);
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-toggle {
    display: flex;
    z-index: 101;
  }
  
  .services-grid,
  .projects-grid,
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-card::after {
    display: none;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .about-principles {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding-top: 6rem;
  }
  
  .container {
    padding: 0 1.25rem;
  }
}

/* ============================================
   Page-specific styles
   ============================================ */
.page-header {
  padding-top: 10rem;
  padding-bottom: 4rem;
  background: var(--color-bg-elevated);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(217, 119, 6, 0.1) 0%, transparent 50%);
}

.page-header-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-top: 1.5rem;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-dim);
  letter-spacing: 0.05em;
}

.breadcrumb a {
  color: var(--color-text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--color-accent-bright);
}

.breadcrumb span {
  margin: 0 0.5rem;
  color: var(--color-accent-bright);
}

/* Projects Table */
.projects-table-wrap {
  overflow-x: auto;
  margin: 3rem 0;
}

.projects-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.projects-table thead {
  background: var(--color-bg-elevated);
}

.projects-table th {
  text-align: left;
  padding: 1.25rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-bright);
  border-bottom: 1px solid var(--color-border);
  font-weight: 500;
}

.projects-table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.projects-table tr:hover td {
  background: var(--color-bg-elevated);
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  border-radius: 2px;
  text-transform: uppercase;
}

.status-completed {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-ongoing {
  background: rgba(217, 119, 6, 0.15);
  color: var(--color-accent-bright);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.status-pending {
  background: rgba(107, 114, 128, 0.15);
  color: #9ca3af;
  border: 1px solid rgba(107, 114, 128, 0.3);
}

/* =========================================
   FOUNDER SECTION
   ========================================= */
.founder-section {
  padding: var(--section-pad) 2rem;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.founder-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217, 119, 6, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 119, 6, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.founder-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.founder-visual {
  position: sticky;
  top: 100px;
}

.founder-portrait {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-bg-elevated) 100%);
  border: 1px solid var(--color-border-strong);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=600&q=80');
  background-size: cover;
  background-position: center;
  filter: grayscale(0.4) contrast(1.05);
}

.founder-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 10, 0.95) 100%);
}

.founder-portrait-overlay {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: 2rem;
  width: 100%;
  color: var(--color-text);
}

.founder-portrait-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.founder-portrait-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-accent-bright);
  text-transform: uppercase;
}

.founder-corner-mark {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  color: var(--color-accent-bright);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.founder-corner-mark::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--color-accent-bright);
  vertical-align: middle;
  margin-right: 0.5rem;
}

.founder-content .eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-accent-bright);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.founder-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.founder-content .founder-subtitle {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--color-text-dim);
  text-transform: uppercase;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.founder-bio {
  color: var(--color-text-dim);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.founder-bio strong {
  color: var(--color-text);
  font-weight: 500;
}

.founder-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.founder-meta {
  padding-right: 1rem;
  border-right: 1px solid var(--color-border);
}

.founder-meta:last-child { border-right: none; }

.founder-meta-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--color-accent-bright);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.founder-meta-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.founder-meta-detail {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.founder-quote {
  position: relative;
  padding: 1.5rem 0 0 2.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text);
  letter-spacing: -0.005em;
}

.founder-quote::before {
  content: '"';
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 968px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .founder-visual {
    position: static;
    max-width: 380px;
    margin: 0 auto;
  }
  .founder-meta-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .founder-meta {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-right: 0;
    padding-bottom: 1.5rem;
  }
  .founder-meta:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* ===== PROJECT CARD FOUNDER NOTE ===== */
.project-founder-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-bright);
  padding: 0.25rem 0.5rem;
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 2px;
  margin-top: 0.5rem;
}

/* ===== NAV ACTIONS WRAPPER ===== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 1024px) {
  .lang-switch {
    margin-right: 0;
  }
  .nav-actions .btn {
    display: none;
  }
}

/* ===== MOBILE MENU TOGGLE ===== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: all 0.25s;
}

@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: var(--color-bg-elevated);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    border-left: 1px solid var(--color-border);
    transition: right 0.3s;
    z-index: 99;
  }

  .nav-menu.open { right: 0; }

  .mobile-menu-toggle { display: flex; }
}

/* =========================================
   HTML/CSS CLASS ALIASES — uyumluluk düzeltmeleri
   ========================================= */

/* Container alias for sections */
.container { 
  max-width: var(--container-max); 
  margin: 0 auto; 
  padding: 0 2rem; 
}

/* Section headers (HTML uses .section-head, CSS originally had .section-header) */
.section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--color-text-dim);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Inner wrappers */
.services-inner,
.projects-inner,
.about-inner,
.process-inner,
.capabilities-inner,
.stats-inner,
.cta-inner,
.footer-inner,
.page-header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* SERVICES — section + grid */
.services { padding: var(--section-pad) 0; background: var(--color-bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 968px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  padding: 2.5rem 2rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  position: relative;
  transition: all 0.3s var(--ease-out);
}
.service-card:hover {
  border-color: rgba(217, 119, 6, 0.4);
  transform: translateY(-4px);
}
.service-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent-bright);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.service-icon {
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  width: 48px;
  height: 48px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.service-card p {
  color: var(--color-text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* PROJECTS section + grid */
.projects { padding: var(--section-pad) 0; background: var(--color-bg-elevated); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 968px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .projects-grid { grid-template-columns: 1fr; } }

.project-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
.project-card:hover {
  border-color: rgba(217, 119, 6, 0.4);
  transform: translateY(-4px);
}
.project-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.project-card:hover .project-img img { transform: scale(1.05); }

.project-card .project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem 0.75rem;
  gap: 0.5rem;
}
.project-cat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-accent-bright);
  text-transform: uppercase;
}
.project-card h3 {
  padding: 0 1.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.project-client {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

/* ABOUT — section split layout */
.about { padding: var(--section-pad) 0; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 968px) {
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
}

.about-content .eyebrow { margin-bottom: 1rem; }
.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.about-content p {
  color: var(--color-text-dim);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.link-arrow {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-accent-bright);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.link-arrow:hover { color: var(--color-accent); }

.about-visual {
  position: relative;
}
.about-img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-stat-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-strong);
  padding: 1.75rem 2rem;
  border-radius: 4px;
}
.about-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent-bright);
  line-height: 1;
}
.about-stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--color-text-dim);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* STATS BAR */
.stats-bar {
  padding: 4rem 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 768px) { .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }

.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--color-accent-bright);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-plus {
  color: var(--color-text);
  font-size: 0.7em;
  margin-left: 0.1em;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-text-dim);
  text-transform: uppercase;
  margin-top: 0.75rem;
}

/* PROCESS section */
.process { padding: var(--section-pad) 0; background: var(--color-bg-elevated); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 968px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-steps { grid-template-columns: 1fr; } }

.process-step {
  padding: 2rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent-bright);
  margin-bottom: 1rem;
  line-height: 1;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.process-step p {
  color: var(--color-text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* CAPABILITIES section (light bg) */
.capabilities {
  padding: var(--section-pad) 0;
  background: var(--color-surface);
  color: var(--color-text-dark);
}
.capabilities-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}
.capabilities-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
  margin: 0.75rem 0 1rem;
}
.capabilities-head p {
  color: var(--color-text-dark-dim);
  font-size: 1.05rem;
  line-height: 1.7;
}
.eyebrow-dark { color: var(--color-accent-deep) !important; }

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);
}
@media (max-width: 968px) { .capabilities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .capabilities-grid { grid-template-columns: 1fr; } }

.cap-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-surface);
  color: var(--color-text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s;
}
.cap-item:hover { background: var(--color-surface-alt); }
.cap-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* CTA */
.cta {
  padding: var(--section-pad) 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.cta-content { flex: 1; min-width: 300px; }
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.cta-content p {
  color: var(--color-text-dim);
  font-size: 1.05rem;
  line-height: 1.6;
}
.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1rem;
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}
.btn-outline:hover {
  border-color: var(--color-accent-bright);
  color: var(--color-accent-bright);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}
.btn-ghost:hover {
  border-color: var(--color-accent-bright);
  color: var(--color-accent-bright);
}
.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
}

/* FOOTER */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding-top: 5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}
@media (max-width: 968px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-col-brand p {
  color: var(--color-text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-bright);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: var(--color-text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--color-accent-bright); }
.footer-contact li {
  color: var(--color-text-dim);
  font-size: 0.9rem;
}
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}
.footer-bottom-inner p {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}
.footer-bottom-inner a {
  color: var(--color-accent-bright);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* PAGE HEADER (for subpages) */
.page-header {
  padding: 9rem 0 4rem;
  background: var(--color-bg-elevated);
  border-bottom: 1px solid var(--color-border);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0.75rem 0 1rem;
}
.page-header p {
  color: var(--color-text-dim);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.breadcrumb a {
  color: var(--color-accent-bright);
  text-decoration: none;
}
.breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }

/* =========================================
   ✨ LIGHT THEME (DAY MODE) — toggleable
   ========================================= */
[data-theme="light"] {
  --color-bg: #fafaf7;
  --color-bg-elevated: #f5f3ee;
  --color-bg-card: #ffffff;
  --color-surface: #1a1a1a;
  --color-surface-alt: #131313;

  --color-text: #1c1917;
  --color-text-dim: #57534e;
  --color-text-muted: #78716c;
  --color-text-dark: #f5f3ee;
  --color-text-dark-dim: #d6d3d1;

  --color-border: rgba(28, 25, 23, 0.1);
  --color-border-strong: rgba(28, 25, 23, 0.22);
  --color-border-dark: rgba(245, 243, 238, 0.12);
}

/* Body bg follows theme */
body {
  background: var(--color-bg);
  color: var(--color-text);
  transition: background 0.4s ease, color 0.4s ease;
}

/* Light mode adjustments for specific zones */
[data-theme="light"] .hero-visual-frame {
  border-color: var(--color-border-strong);
}
[data-theme="light"] .capabilities {
  background: #1a1a1a;
  color: #f5f3ee;
}
[data-theme="light"] .capabilities-head h2 { color: #f5f3ee; }
[data-theme="light"] .capabilities-head p { color: #a8a29e; }
[data-theme="light"] .capabilities-grid {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}
[data-theme="light"] .cap-item {
  background: #1a1a1a;
  color: #f5f3ee;
}
[data-theme="light"] .cap-item:hover { background: #232323; }

/* Light mode footer keeps dark elegance */
[data-theme="light"] .footer {
  background: #0a0a0a;
  color: #f5f3ee;
  border-top-color: rgba(245, 243, 238, 0.08);
}
[data-theme="light"] .footer .footer-col h4 { color: var(--color-accent-bright); }
[data-theme="light"] .footer .footer-col ul li a,
[data-theme="light"] .footer .footer-col-brand p,
[data-theme="light"] .footer .footer-contact li { color: #a8a29e; }
[data-theme="light"] .footer .footer-bottom { border-top-color: rgba(245, 243, 238, 0.08); }
[data-theme="light"] .footer .footer-bottom-inner p { color: #78716c; }
[data-theme="light"] .footer-logo-img { filter: brightness(1.1); }

/* Light mode nav transparency tweak */
[data-theme="light"] .nav {
  background: rgba(250, 250, 247, 0.85);
  border-bottom-color: rgba(28, 25, 23, 0.06);
}
[data-theme="light"] .nav.scrolled {
  background: rgba(250, 250, 247, 0.95);
  border-bottom-color: rgba(28, 25, 23, 0.1);
}
[data-theme="light"] .mobile-menu-toggle span { background: var(--color-text); }
[data-theme="light"] .lang-switch {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Light mode card backgrounds — soft elevated cards */
[data-theme="light"] .service-card,
[data-theme="light"] .project-card,
[data-theme="light"] .process-step {
  background: var(--color-bg-card);
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04), 0 4px 12px rgba(28, 25, 23, 0.04);
}
[data-theme="light"] .service-card:hover,
[data-theme="light"] .project-card:hover {
  box-shadow: 0 8px 30px rgba(217, 119, 6, 0.12);
}

/* Light mode about-stat-card */
[data-theme="light"] .about-stat-card {
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.08);
}

/* Light mode stats-bar */
[data-theme="light"] .stats-bar {
  background: var(--color-bg);
  border-color: var(--color-border);
}

/* Light mode projects bg differential */
[data-theme="light"] .projects { background: #f0ede5; }
[data-theme="light"] .process { background: #f0ede5; }
[data-theme="light"] .page-header { background: #f0ede5; }

/* Light mode founder section */
[data-theme="light"] .founder-section {
  background: var(--color-bg);
}
[data-theme="light"] .founder-portrait {
  background: linear-gradient(135deg, #fff 0%, #f5f3ee 100%);
}
[data-theme="light"] .founder-quote { color: var(--color-text); }

/* Light mode hero radial overlay - softer */
[data-theme="light"] .hero::before {
  background:
    radial-gradient(circle at 20% 50%, rgba(217, 119, 6, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
}
[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(28, 25, 23, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 25, 23, 0.04) 1px, transparent 1px);
}

/* =========================================
   🌗 THEME TOGGLE BUTTON
   ========================================= */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  cursor: pointer;
  color: var(--color-text-dim);
  transition: all 0.25s var(--ease-out);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.theme-toggle:hover {
  color: var(--color-accent-bright);
  border-color: var(--color-accent);
  transform: rotate(15deg);
}
.theme-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease-out);
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

/* =========================================
   ✨ GRADIENT EFFECTS — animated orbs & mesh
   ========================================= */
.hero {
  position: relative;
  isolation: isolate;
}

/* Animated gradient orbs */
.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, rgba(217, 119, 6, 0.08) 35%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  animation: orbFloat 20s ease-in-out infinite;
  pointer-events: none;
}

.hero .hero-grid::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(180, 83, 9, 0.15) 0%, rgba(217, 119, 6, 0.05) 40%, transparent 70%);
  filter: blur(80px);
  animation: orbFloat 25s ease-in-out infinite reverse;
  pointer-events: none;
}

[data-theme="light"] .hero::after {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.1) 35%, transparent 70%);
}
[data-theme="light"] .hero .hero-grid::before {
  background: radial-gradient(circle, rgba(217, 119, 6, 0.18) 0%, rgba(245, 158, 11, 0.06) 40%, transparent 70%);
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 30px) scale(1.05); }
  66% { transform: translate(30px, -25px) scale(0.95); }
}

/* Gradient text accent for hero h1 */
.hero h1 {
  background: linear-gradient(180deg, var(--color-text) 0%, var(--color-text) 65%, rgba(245, 158, 11, 0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .hero h1 {
  background: linear-gradient(180deg, var(--color-text) 0%, var(--color-text) 65%, rgba(180, 83, 9, 0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section dividers with gradient lines */
.services::before,
.projects::before,
.process::before,
.founder-section::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(90%, 1400px);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
  opacity: 0.3;
}
.services, .projects, .process { position: relative; }

/* Card hover gradient glow */
.service-card,
.project-card {
  position: relative;
  overflow: hidden;
}
.service-card::before,
.project-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service-card:hover::before,
.project-card:hover::before { opacity: 1; }

/* CTA gradient background */
.cta {
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.18) 0%, rgba(217, 119, 6, 0.06) 30%, transparent 60%);
  filter: blur(50px);
  animation: orbFloat 18s ease-in-out infinite;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }

/* Accent badge for buttons - gradient bg */
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-bright) 0%, var(--color-accent) 50%, var(--color-accent-deep) 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  transition: background-position 0.5s, transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 10px 40px rgba(217, 119, 6, 0.35);
}

/* =========================================
   🌀 REFERENCES MARQUEE
   ========================================= */
.references-marquee {
  padding: 4rem 0;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.references-marquee::before,
.references-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.references-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-bg-elevated) 0%, transparent 100%);
}
.references-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--color-bg-elevated) 0%, transparent 100%);
}

.references-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.references-header .eyebrow { display: inline-block; margin-bottom: 0.5rem; }
.references-header h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.marquee-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marqueeScroll 50s linear infinite;
}
.references-marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ref-item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text-dim);
  transition: color 0.3s;
  flex-shrink: 0;
}
.ref-item:hover { color: var(--color-accent-bright); }

.ref-sep {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.6;
  flex-shrink: 0;
}

/* =========================================
   🏛️ NEW MODULE 1 — REFERENCE CLIENTS GRID
   ========================================= */
.clients-section {
  padding: var(--section-pad) 0;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.clients-section::before {
  content: '';
  position: absolute;
  top: 30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.12) 0%, transparent 60%);
  filter: blur(80px);
  animation: orbFloat 22s ease-in-out infinite;
  pointer-events: none;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
@media (max-width: 968px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }

.client-card {
  background: var(--color-bg-card);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 140px;
  transition: all 0.3s var(--ease-out);
  position: relative;
}
.client-card:hover {
  background: var(--color-bg-elevated);
  transform: translateY(-2px);
}
.client-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0) 0%, rgba(245, 158, 11, 0.04) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.client-card:hover::after { opacity: 1; }

.client-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.client-type {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--color-accent-bright);
  text-transform: uppercase;
}

/* =========================================
   🌍 NEW MODULE 2 — GEOGRAPHIC REACH
   ========================================= */
.reach-section {
  padding: var(--section-pad) 0;
  background: var(--color-bg-elevated);
  position: relative;
  overflow: hidden;
}

.reach-section::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}

.reach-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 968px) {
  .reach-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.reach-content .eyebrow { margin-bottom: 1rem; }
.reach-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.reach-content p {
  color: var(--color-text-dim);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.reach-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.reach-stat {
  padding: 1.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: border-color 0.3s;
}
.reach-stat:hover { border-color: var(--color-accent); }
.reach-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent-bright);
  letter-spacing: -0.02em;
  line-height: 1;
}
.reach-stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--color-text-dim);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.reach-map {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: visible;
  padding: 1.5rem;
}

.reach-map-svg {
  width: 100%;
  height: 100%;
}

.reach-province {
  fill: rgba(245, 158, 11, 0.15);
  stroke: rgba(245, 158, 11, 0.4);
  stroke-width: 0.5;
  transition: all 0.3s;
}
.reach-province.active {
  fill: var(--color-accent);
  stroke: var(--color-accent-bright);
  stroke-width: 1.5;
}
.reach-pin {
  fill: var(--color-accent-bright);
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
  animation: pinPulse 2.5s ease-in-out infinite;
}
@keyframes pinPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.reach-pin-label {
  font-family: var(--font-mono);
  font-size: 7px;
  fill: var(--color-text);
  letter-spacing: 0.1em;
}

/* =========================================
   🏆 NEW MODULE 3 — SECTORS WE SERVE
   ========================================= */
.sectors-section {
  padding: var(--section-pad) 0;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 968px) { .sectors-grid { grid-template-columns: 1fr; } }

.sector-card {
  padding: 2.5rem 2rem;
  background: linear-gradient(180deg, var(--color-bg-card) 0%, var(--color-bg-elevated) 100%);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
.sector-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-bright), var(--color-accent), var(--color-accent-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.sector-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.3);
}
.sector-card:hover::before { transform: scaleX(1); }

.sector-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(217, 119, 6, 0.05) 100%);
  border-radius: 8px;
  color: var(--color-accent-bright);
  border: 1px solid rgba(245, 158, 11, 0.18);
}
.sector-icon svg { width: 28px; height: 28px; }

.sector-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
.sector-card > p {
  color: var(--color-text-dim);
  line-height: 1.65;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.sector-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
}
.sector-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
}
.sector-list li::before {
  content: '→';
  color: var(--color-accent-bright);
  font-weight: bold;
  flex-shrink: 0;
}

.sector-meta {
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--color-accent-bright);
  text-transform: uppercase;
}

/* Mobile menu: include theme toggle */
@media (max-width: 1024px) {
  .theme-toggle { display: inline-flex; }
}

/* =========================================
   🗺️ TURKEY MAP — Real province SVG
   ========================================= */
:root {
  --map-completed: #22c55e;    /* green */
  --map-completed-glow: rgba(34, 197, 94, 0.5);
  --map-ongoing: #f59e0b;      /* amber */
  --map-ongoing-glow: rgba(245, 158, 11, 0.6);
  --map-inactive: rgba(245, 158, 11, 0.06);
  --map-inactive-stroke: rgba(245, 158, 11, 0.15);
}

[data-theme="light"] {
  --map-inactive: rgba(28, 25, 23, 0.04);
  --map-inactive-stroke: rgba(28, 25, 23, 0.18);
}

.turkey-map-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1010/580;
  background:
    radial-gradient(circle at 30% 40%, rgba(245, 158, 11, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(217, 119, 6, 0.04) 0%, transparent 60%);
  border-radius: 8px;
  padding: 1.5rem;
  overflow: visible;
}

.turkey-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.province {
  fill: var(--map-inactive);
  stroke: var(--map-inactive-stroke);
  stroke-width: 0.4;
  stroke-linejoin: round;
  transition: fill 0.25s ease, stroke 0.25s ease, transform 0.25s ease;
  transform-origin: center;
  transform-box: fill-box;
}

.province-inactive { pointer-events: none; }

.province-completed {
  fill: rgba(34, 197, 94, 0.22);
  stroke: rgba(34, 197, 94, 0.6);
  stroke-width: 0.8;
  cursor: pointer;
}

.province-ongoing {
  fill: rgba(245, 158, 11, 0.28);
  stroke: rgba(245, 158, 11, 0.7);
  stroke-width: 0.8;
  cursor: pointer;
}

.province-completed:hover {
  fill: rgba(34, 197, 94, 0.55);
  stroke: var(--map-completed);
  stroke-width: 1.4;
}

.province-ongoing:hover {
  fill: rgba(245, 158, 11, 0.65);
  stroke: var(--map-ongoing);
  stroke-width: 1.4;
}

/* Pulse pins */
.map-pin { cursor: pointer; pointer-events: all; }
.map-pin .pin-pulse {
  fill: var(--pin-color);
  opacity: 0.3;
  transform-origin: center;
  transform-box: fill-box;
  animation: pinPulseAnim 2.4s ease-in-out infinite;
}
.map-pin .pin-dot {
  fill: var(--pin-color);
  opacity: 0.85;
  filter: drop-shadow(0 0 6px var(--pin-color));
}
.map-pin .pin-core {
  fill: white;
}

@keyframes pinPulseAnim {
  0%, 100% { transform: scale(0.6); opacity: 0.4; }
  50% { transform: scale(1.4); opacity: 0; }
}

.map-pin-ongoing .pin-pulse { animation-delay: 0s; }
.map-pin-completed .pin-pulse { animation-delay: 0.6s; }

/* Tooltip */
.map-tooltip {
  position: absolute;
  z-index: 10;
  min-width: 280px;
  max-width: 360px;
  padding: 1rem 1.25rem;
  background: rgba(20, 20, 20, 0.97);
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(245, 158, 11, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 1rem)) scale(0.95);
  transform-origin: bottom center;
  transition: opacity 0.2s, transform 0.2s var(--ease-out);
}
.map-tooltip.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, calc(-100% - 1rem)) scale(1);
}
.map-tooltip::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(20, 20, 20, 0.97);
  border-right: 1px solid var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
}

[data-theme="light"] .map-tooltip {
  background: rgba(255, 255, 255, 0.97);
  color: #1c1917;
  box-shadow: 0 20px 60px rgba(28,25,23,0.18);
}
[data-theme="light"] .map-tooltip::after {
  background: rgba(255, 255, 255, 0.97);
}

.map-tooltip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}
.map-tooltip-province {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
[data-theme="light"] .map-tooltip-province { color: #1c1917; }

.map-tooltip-status {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.tip-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 100px;
  text-transform: uppercase;
}
.tip-completed {
  background: rgba(34, 197, 94, 0.18);
  color: var(--map-completed);
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.tip-ongoing {
  background: rgba(245, 158, 11, 0.18);
  color: var(--map-ongoing);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.map-tooltip-projects {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 200px;
  overflow-y: auto;
}
.tip-project {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  line-height: 1.4;
}
.tip-project + .tip-project { border-top: 1px dashed var(--color-border); }
.tip-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 0.45rem;
  flex-shrink: 0;
}
.tip-project-completed .tip-dot { background: var(--map-completed); }
.tip-project-ongoing .tip-dot { background: var(--map-ongoing); }

.tip-project-name {
  color: var(--color-text);
  font-weight: 500;
}
[data-theme="light"] .tip-project-name { color: #1c1917; }
.tip-project-meta {
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  margin-top: 0.15rem;
}

/* Legend */
.map-legend {
  position: absolute;
  bottom: 1.25rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
[data-theme="light"] .map-legend {
  background: rgba(255, 255, 255, 0.85);
  color: #1c1917;
}
.map-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-dim);
}
[data-theme="light"] .map-legend-item { color: #1c1917; }
.map-legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.map-legend-completed {
  background: var(--map-completed);
  box-shadow: 0 0 8px var(--map-completed-glow);
}
.map-legend-ongoing {
  background: var(--map-ongoing);
  box-shadow: 0 0 8px var(--map-ongoing-glow);
}

/* Mobile map adjustments */
@media (max-width: 768px) {
  .map-tooltip {
    min-width: 240px;
    max-width: 90vw;
  }
  .map-legend {
    bottom: 0.5rem;
    right: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.6rem;
  }
}

/* =========================================
   🎢 HERO SLIDER
   ========================================= */
.hero-slider {
  min-height: 92vh;
  max-height: 920px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background image slides — Ken Burns effect on active */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  transform: scale(1);
}

.hero-slide.is-active {
  opacity: 1;
  animation: kenBurns 12s ease-out forwards;
  z-index: 1;
}

@keyframes kenBurns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.5%, -1%); }
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.78) 35%, rgba(10, 10, 10, 0.45) 70%, rgba(10, 10, 10, 0.6) 100%),
    radial-gradient(circle at 70% 30%, rgba(217, 119, 6, 0.25) 0%, transparent 50%);
  pointer-events: none;
}

[data-theme="light"] .hero-slide-overlay {
  background:
    linear-gradient(90deg, rgba(250, 250, 247, 0.96) 0%, rgba(250, 250, 247, 0.85) 35%, rgba(250, 250, 247, 0.5) 70%, rgba(250, 250, 247, 0.7) 100%),
    radial-gradient(circle at 70% 30%, rgba(217, 119, 6, 0.18) 0%, transparent 50%);
}

/* Content layer */
.hero-slider .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
}

.hero-slider .hero-text {
  max-width: 720px;
}

/* Sliding title cards */
.hero-titles {
  position: relative;
  min-height: 380px;
  margin-bottom: 2rem;
}

.hero-title-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.7s var(--ease-out);
  pointer-events: none;
}

.hero-title-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  position: relative;
}

.hero-title-slide h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  /* Gradient text */
  background: linear-gradient(180deg, var(--color-text) 0%, var(--color-text) 65%, rgba(245, 158, 11, 0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-slide .hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 580px;
}

.hero-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--color-accent);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-accent-bright);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* SLIDER CONTROLS */
.hero-controls {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  z-index: 3;
  padding: 0.65rem 1rem;
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 243, 238, 0.1);
  border-radius: 100px;
}
[data-theme="light"] .hero-controls {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(28, 25, 23, 0.1);
}

.hero-arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.25s;
  padding: 0;
}
.hero-arrow svg { width: 18px; height: 18px; }
.hero-arrow:hover {
  background: var(--color-accent);
  color: white;
  transform: scale(1.05);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.25s;
  padding: 0;
}
.hero-dot-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-dim);
  letter-spacing: 0.05em;
  transition: color 0.25s;
}
.hero-dot:hover .hero-dot-num { color: var(--color-text); }

.hero-dot.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent-bright);
}
.hero-dot.is-active .hero-dot-num { color: white; font-weight: 700; }

/* Counter top-right corner */
.hero-counter {
  position: absolute;
  top: 6rem;
  right: 2.5rem;
  z-index: 3;
  font-family: var(--font-display);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--color-text);
}
.hero-counter-current {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent-bright);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-counter-divider {
  font-size: 1.5rem;
  opacity: 0.4;
}
.hero-counter-total {
  font-size: 1.2rem;
  opacity: 0.6;
}

@media (max-width: 968px) {
  .hero-counter { top: 5rem; right: 1.5rem; }
  .hero-counter-current { font-size: 2.2rem; }
  .hero-controls { bottom: 2rem; gap: 0.8rem; padding: 0.5rem 0.75rem; }
  .hero-dot { width: 30px; height: 30px; }
  .hero-arrow { width: 30px; height: 30px; }
  .hero-titles { min-height: 360px; }
}

/* Hide old hero-visual since slider replaces it */
.hero-slider .hero-visual { display: none; }

/* Scroll hint at bottom */
.hero-slider .hero-scroll {
  bottom: 1rem;
  position: absolute;
  left: 2.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-slider .hero-scroll-line {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent-bright), transparent);
  position: relative;
}
.hero-slider .hero-scroll-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 12px;
  height: 3px;
  background: var(--color-accent-bright);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(38px); opacity: 0.3; }
}

@media (max-width: 768px) {
  .hero-slider .hero-scroll { display: none; }
}

/* Hero arrow modifiers (no extra styles needed, base .hero-arrow applies) */
.hero-arrow-prev, .hero-arrow-next {}

/* Eyebrow above slider titles - keep visible across slides */
.hero-slide-eyebrow {
  display: inline-block;
  margin-bottom: 2rem;
  background: rgba(245, 158, 11, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-accent-bright);
}
