/* ============================================
   KESFED BILISIM — Global Stylesheet
   Design System: Light / Modern / Corporate
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --bg-primary:    #ffffff;
  --bg-secondary:  #f8fafc;
  --bg-dark:       #0f172a;
  --text-primary:  #0f172a;
  --text-muted:    #475569;
  --text-light:    #94a3b8;
  --accent:        #4f46e5;
  --accent-hover:  #4338ca;
  --cyan:          #06b6d4;
  --cyan-hover:    #0891b2;
  --border:        #e2e8f0;
  --border-light:  #f1f5f9;

  /* Gradients */
  --gradient-main:    linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  --gradient-subtle:  linear-gradient(135deg, #eef2ff 0%, #ecfeff 100%);
  --gradient-dark:    linear-gradient(135deg, #1e1b4b 0%, #0c4a6e 100%);

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 10px 15px rgba(0,0,0,.08), 0 4px 6px rgba(0,0,0,.04);
  --shadow-xl:  0 20px 25px rgba(0,0,0,.09), 0 10px 10px rgba(0,0,0,.04);
  --shadow-accent: 0 8px 30px rgba(79,70,229,.25);

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Spacing */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   32px;
  --space-2xl:  48px;
  --space-3xl:  64px;
  --space-4xl:  96px;

  /* Typography */
  --font-base:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-xs:    .75rem;
  --text-sm:    .875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;
  --text-6xl:   3.75rem;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* Header */
  --header-h:  80px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

/* ---------- Skip Navigation Link (Accessibility) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: var(--accent);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  z-index: 10000;
}
.skip-link:focus {
  position: fixed;
  left: 8px;
  top: 8px;
  width: auto;
  height: auto;
  overflow: visible;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  font-family: var(--font-base);
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-base);
  font-size: var(--text-base);
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-dark {
  background: var(--bg-dark);
  color: #f8fafc;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--space-md);
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.section-title .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(79,70,229,.35);
  color: #fff;
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #eef2ff;
}

.btn-white {
  background: #fff;
  color: var(--accent);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  color: var(--accent-hover);
}

.btn-sm {
  padding: 10px 20px;
  font-size: var(--text-sm);
}

.btn-lg {
  padding: 18px 36px;
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

/* ---------- Badge / Tag ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  background: #eef2ff;
  color: var(--accent);
  border: 1px solid #c7d2fe;
}

.badge-cyan {
  background: #ecfeff;
  color: #0e7490;
  border-color: #a5f3fc;
}

.badge-green {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: var(--text-xs);
  font-weight: 500;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: #c7d2fe;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  flex-shrink: 0;
}

.card-icon svg { width: 28px; height: 28px; }

.card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.card-text {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: var(--text-sm);
}

/* ---------- Grid Layouts ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }

/* ---------- HEADER / NAVBAR ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: all var(--transition-base);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.header.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 72px;
  width: auto;
  display: block;
}

/* Fallback text logo (used if img fails) */
.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .brand-bold {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -.01em;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text .brand-thin {
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: #eef2ff;
}

.nav-cta {
  margin-left: var(--space-sm);
  padding: 9px 20px;
  background: var(--gradient-main);
  color: #fff !important;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
  box-shadow: var(--shadow-accent);
  transition: all var(--transition-base);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(79,70,229,.35);
  background: var(--gradient-main);
}

/* CTA butonu, aktif sayfada (.active) da okunur kalsin:
   .nav-link.active arka planini (acik lavanta) ezip gradyan + beyaz metni korur. */
.nav-link.nav-cta.active,
.nav-cta.active {
  background: var(--gradient-main);
  color: #fff !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.hamburger:hover { background: var(--bg-secondary); }

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) var(--space-lg) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-110%);
  opacity: 0;
  transition: all var(--transition-base);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav .nav-link {
  padding: 12px 16px;
  font-size: var(--text-base);
  border-radius: var(--radius-md);
}

.mobile-nav .nav-cta {
  margin: var(--space-sm) 0 0;
  padding: 14px 20px;
  text-align: center;
  border-radius: var(--radius-md);
}

/* Page offset for fixed header */
.page-top-offset {
  padding-top: var(--header-h);
}

/* Footer logo — dark bg üstünde PNG'yi beyaz zemin gibi göster */
.footer .logo-img {
  height: 64px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: var(--space-4xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.footer-brand .logo-text .brand-bold {
  -webkit-text-fill-color: transparent;
}

.footer-brand .logo-text .brand-thin {
  -webkit-text-fill-color: #94a3b8;
  color: #94a3b8;
}

.footer-desc {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: #94a3b8;
  margin-top: var(--space-md);
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: #94a3b8;
}

.social-link:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.social-link svg { width: 16px; height: 16px; }

.footer-heading {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #f1f5f9;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: var(--text-sm);
  color: #94a3b8;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-links a:hover { color: #fff; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: #94a3b8;
  margin-bottom: var(--space-md);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--cyan);
}

.footer-contact-item a { color: #94a3b8; }
.footer-contact-item a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copy {
  font-size: var(--text-sm);
  color: #64748b;
}

.footer-legal {
  display: flex;
  gap: var(--space-xl);
}

.footer-legal a {
  font-size: var(--text-sm);
  color: #64748b;
  transition: color var(--transition-fast);
}

.footer-legal a:hover { color: #fff; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  padding: var(--space-4xl) 0 var(--space-3xl);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .15;
}

.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -150px;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: var(--cyan);
  bottom: -100px;
  left: -100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--gradient-main);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.hero-title .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: var(--space-2xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
  height: 420px;
}

.hero-card-main {
  position: absolute;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 380px;
  top: 40px;
  right: 0;
}

.hero-card-stat {
  position: absolute;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  white-space: nowrap;
}

.hero-card-stat-1 { bottom: 60px; left: -20px; }
.hero-card-stat-2 { top: 20px; left: 20px; }

.hero-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-stat-icon.green { background: #f0fdf4; }
.hero-stat-icon.indigo { background: #eef2ff; }
.hero-stat-icon svg { width: 18px; height: 18px; }

.hero-stat-value {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #f87171; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #34d399; }

.mockup-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  margin: 8px 0;
}

.mockup-bar.accent { background: var(--gradient-main); }
.mockup-bar.w-full { width: 100%; }
.mockup-bar.w-3q { width: 75%; }
.mockup-bar.w-half { width: 50%; }
.mockup-bar.w-2q { width: 60%; }

.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: var(--space-md);
}

.mockup-block {
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--gradient-subtle);
  border: 1px solid var(--border);
}

/* ---------- STATS STRIP ---------- */
.stats-strip {
  background: var(--bg-dark);
  padding: var(--space-3xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: var(--text-sm);
  color: #94a3b8;
  font-weight: 500;
}

/* ---------- SERVICES OVERVIEW ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #c7d2fe;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  border: 1px solid #c7d2fe;
}

.service-icon svg { width: 32px; height: 32px; }

.service-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition-fast);
}

.service-link:hover { gap: 10px; }

.service-link svg { width: 16px; height: 16px; }

/* ---------- WHY KESFED ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.why-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #c7d2fe;
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.why-icon svg { width: 26px; height: 26px; }

.why-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.why-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- PROJECTS PREVIEW ---------- */
.project-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.project-thumb {
  height: 200px;
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-thumb-inner {
  width: 85%;
  height: 75%;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
}

.project-thumb-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.project-thumb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
}

.project-thumb-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.project-thumb-line {
  height: 6px;
  border-radius: 3px;
  background: var(--border);
}

.project-thumb-line.accent { background: var(--gradient-main); width: 40%; }
.project-thumb-line.w-full { width: 100%; }
.project-thumb-line.w-3q { width: 75%; }
.project-thumb-line.w-half { width: 50%; }

.project-body {
  padding: var(--space-xl);
}

.project-sector {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}

.project-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.project-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ---------- CTA BAND ---------- */
.cta-band {
  background: var(--gradient-dark);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(79,70,229,.2);
  filter: blur(80px);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.cta-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.cta-subtitle {
  font-size: var(--text-lg);
  color: #94a3b8;
  margin-bottom: var(--space-2xl);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ---------- ABOUT PAGE ---------- */
.about-hero {
  background: var(--gradient-subtle);
  padding: calc(var(--header-h) + var(--space-4xl)) 0 var(--space-4xl);
}

.about-hero-content {
  max-width: 700px;
}

.page-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

.page-title {
  font-size: clamp(var(--text-4xl), 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: var(--space-lg);
}

.page-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.7;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.story-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  font-size: var(--text-base);
}

.story-visual {
  position: relative;
}

.story-card-main {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-xl);
}

.story-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.timeline-item {
  display: flex;
  gap: var(--space-md);
}

.timeline-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-main);
  margin-top: 4px;
}

.timeline-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, #4f46e5, transparent);
  margin-top: 4px;
  min-height: 20px;
}

.timeline-year {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.timeline-event {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 2px;
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.vm-card {
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.vm-card-vision {
  background: var(--gradient-main);
  color: #fff;
}

.vm-card-mission {
  background: var(--gradient-dark);
  color: #fff;
}

.vm-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .7;
  margin-bottom: var(--space-sm);
}

.vm-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.vm-text {
  font-size: var(--text-sm);
  opacity: .85;
  line-height: 1.75;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.value-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #c7d2fe;
}

.value-num {
  font-size: var(--text-3xl);
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.value-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 6px;
}

.value-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--cyan));
}

.step-card {
  text-align: center;
  position: relative;
}

.step-num-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  box-shadow: var(--shadow-accent);
  position: relative;
  z-index: 1;
}

.step-num {
  font-size: var(--text-xl);
  font-weight: 900;
  color: #fff;
}

.step-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 6px;
}

.step-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- SERVICES PAGE ---------- */
.services-hero {
  background: var(--gradient-subtle);
  padding: calc(var(--header-h) + var(--space-4xl)) 0 var(--space-4xl);
}

.service-section {
  padding: var(--space-4xl) 0;
  border-bottom: 1px solid var(--border);
}

.service-section:last-of-type { border-bottom: none; }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }

.service-detail-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--space-md);
}

.service-detail-title {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.service-detail-text {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.service-feature-item::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eef2ff;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234f46e5'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.service-visual {
  background: var(--gradient-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-visual-icon {
  width: 120px;
  height: 120px;
  background: var(--gradient-main);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
  margin: 0 auto;
}

.service-visual-icon svg { width: 60px; height: 60px; color: #fff; }

.service-visual-bg {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--gradient-main);
  opacity: .06;
  filter: blur(40px);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.tech-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #eef2ff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ---------- REFERENCES PAGE ---------- */
.references-hero {
  background: var(--gradient-subtle);
  padding: calc(var(--header-h) + var(--space-4xl)) 0 var(--space-4xl);
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.ref-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.ref-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: #c7d2fe;
}

.ref-card[data-hidden] {
  display: none;
}

.ref-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ref-thumb-gradient-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.ref-thumb-gradient-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.ref-thumb-gradient-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.ref-thumb-gradient-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.ref-thumb-gradient-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.ref-thumb-gradient-6 { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }
.ref-thumb-gradient-7 { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }
.ref-thumb-gradient-8 { background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%); }

.ref-thumb-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.ref-thumb-icon svg { width: 32px; height: 32px; color: #fff; }

.ref-body { padding: var(--space-xl); }

.ref-sector {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}

.ref-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.ref-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.ref-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ---------- MEDYA'DA BIZ (basin kartlari) ---------- */
/* .ref-thumb (180px) icindeki gorseli alani kaplayacak sekilde basar. */
.ref-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.medya-readmore {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
}

a.ref-card:hover .medya-readmore {
  text-decoration: underline;
}

/* Tiklanabilir medya karti */
.medya-card { cursor: pointer; }
.medya-card:hover .medya-readmore { text-decoration: underline; }
.medya-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- MEDYA DETAY MODALI ---------- */
.medya-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
.medya-modal.show { display: flex; }
.medya-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .6);
  backdrop-filter: blur(2px);
}
.medya-modal-box {
  position: relative;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: medyaModalIn .18s ease;
}
@keyframes medyaModalIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.medya-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  color: var(--text-primary);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.medya-modal-close:hover { background: #fff; }
.medya-modal-thumb {
  width: 100%;
  max-height: 320px;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: #f4f5f7;
}
.medya-modal-thumb img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}
.medya-modal-body { padding: var(--space-xl); }
.medya-modal-title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}
.medya-modal-desc {
  font-size: var(--text-base);
  color: var(--text-secondary, var(--text-muted));
  line-height: 1.75;
  white-space: pre-line;
  margin-bottom: var(--space-lg);
}

/* ---------- CONTACT PAGE ---------- */
.contact-hero {
  background: var(--gradient-subtle);
  padding: calc(var(--header-h) + var(--space-3xl)) 0 var(--space-3xl);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--header-h) + var(--space-lg));
}

.contact-info-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-lg);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gradient-subtle);
  border: 1px solid #c7d2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg { width: 20px; height: 20px; color: var(--accent); }

.contact-item-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 3px;
}

.contact-item-value {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.contact-item-value a {
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.contact-item-value a:hover { color: var(--accent); }

.contact-map-placeholder {
  height: 160px;
  background: var(--gradient-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-top: var(--space-lg);
}

.contact-map-placeholder svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
  opacity: .5;
}

.form-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-md);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.form-label .required {
  color: #ef4444;
  margin-left: 2px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,70,229,.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #94a3b8;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--font-base);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: var(--text-base);
  font-weight: 700;
  border-radius: var(--radius-md);
  background: var(--gradient-main);
  color: #fff;
  box-shadow: var(--shadow-accent);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  font-family: var(--font-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(79,70,229,.35);
}

.form-submit:active { transform: translateY(0); }

.form-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.form-submit .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}

.form-submit.loading .spinner { display: block; }
.form-submit.loading .btn-text { display: none; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Notification */
.form-notification {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-top: var(--space-md);
  display: none;
  align-items: center;
  gap: 10px;
}

.form-notification.show { display: flex; }

.form-notification.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.form-notification.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.form-notification svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .grid-4, .why-grid, .stats-grid, .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .hero-card-stack { height: 360px; }
  .hero-card-main { max-width: 320px; }
}

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
    --space-4xl: 64px;
    --space-3xl: 48px;
  }

  .logo-img { height: 60px; }
  .footer .logo-img { height: 52px; }

  .nav { display: none; }
  .hamburger { display: flex; }

  .hero-grid,
  .story-grid,
  .service-detail-grid,
  .contact-layout,
  .vm-grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .service-detail-grid.reverse { direction: ltr; }

  .hero-visual { display: none; }

  .hero-title { font-size: 2.25rem; }

  .services-grid,
  .projects-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-bottom: none; }

  .why-grid,
  .grid-4 { grid-template-columns: 1fr; }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-steps::before { display: none; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; align-items: flex-start; }

  .filter-bar { justify-content: flex-start; overflow-x: auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }

  .btn-lg {
    padding: 14px 24px;
    font-size: var(--text-base);
  }

  .hero-title { font-size: 1.875rem; }

  .cta-actions { flex-direction: column; align-items: center; }

  .footer-legal { flex-direction: column; align-items: center; gap: var(--space-sm); }
}
