/* ============================================================
   Ege Kumanyacılık - styles.css
   Corporate Blue/White Pastel Theme | Dark Mode Support
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS VARIABLES - LIGHT MODE
   ============================================================ */
:root {
  /* Primary Palette */
  --primary-50:  #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;

  /* Pastel Accents */
  --pastel-blue:   #e8f4fd;
  --pastel-sky:    #e0f2fe;
  --pastel-mint:   #ecfdf5;
  --pastel-lavender:#f0f4ff;
  --pastel-peach:  #fff7ed;
  --accent-gold:   #f59e0b;
  --accent-teal:   #0891b2;

  /* Backgrounds */
  --bg-primary:    #ffffff;
  --bg-secondary:  #f8fafc;
  --bg-tertiary:   #f1f5f9;
  --bg-card:       #ffffff;
  --bg-overlay:    rgba(255,255,255,0.92);

  /* Text */
  --text-primary:  #0f172a;
  --text-secondary:#334155;
  --text-muted:    #64748b;
  --text-light:    #94a3b8;
  --text-inverse:  #ffffff;

  /* Borders */
  --border-light:  #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus:  var(--primary-400);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.07), 0 4px 6px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.08), 0 10px 10px rgba(0,0,0,0.04);
  --shadow-blue: 0 4px 20px rgba(59,130,246,0.15);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 40%, #2563eb 70%, #0891b2 100%);
  --gradient-card: linear-gradient(135deg, var(--pastel-blue) 0%, var(--pastel-sky) 100%);
  --gradient-cta:  linear-gradient(135deg, var(--primary-600) 0%, var(--accent-teal) 100%);

  /* Spacing */
  --section-py: 96px;
  --container-max: 1240px;
  --container-px: 24px;

  /* Border Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  /* Nav */
  --nav-height: 72px;
  --nav-bg: rgba(255,255,255,0.95);
  --nav-border: var(--border-light);
  --nav-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* ============================================================
   DARK MODE VARIABLES
   ============================================================ */
[data-theme="dark"] {
  --bg-primary:    #0c1426;
  --bg-secondary:  #111827;
  --bg-tertiary:   #1a2540;
  --bg-card:       #162032;
  --bg-overlay:    rgba(12,20,38,0.95);

  --text-primary:  #f0f6ff;
  --text-secondary:#c8d8f0;
  --text-muted:    #8fa8cc;
  --text-light:    #5a7aa0;
  --text-inverse:  #0f172a;

  --border-light:  #1e3050;
  --border-medium: #2a4068;

  --pastel-blue:   #0d1e38;
  --pastel-sky:    #0a1928;
  --pastel-mint:   #0c1f1a;
  --pastel-lavender:#0e1530;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.5);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.6);

  --gradient-card: linear-gradient(135deg, #0d1e38 0%, #0a1f30 100%);

  --nav-bg: rgba(12,20,38,0.97);
  --nav-border: var(--border-light);
}

/* ============================================================
   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-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: background-color var(--transition-slow), color var(--transition-slow);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: var(--font-body);
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  padding: var(--section-py) 0;
}

.section--alt {
  background-color: var(--bg-secondary);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--pastel-blue);
  color: var(--primary-700);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-200);
  margin-bottom: 16px;
}

[data-theme="dark"] .badge {
  background: rgba(59,130,246,0.12);
  color: var(--primary-300);
  border-color: rgba(59,130,246,0.25);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-cta);
  color: white;
  box-shadow: var(--shadow-blue);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.35);
}

.btn--outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
}

.btn--ghost {
  color: var(--primary-600);
  background: var(--pastel-blue);
  border: 1px solid var(--primary-200);
}

.btn--ghost:hover {
  background: var(--primary-100);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--transition-slow), box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--nav-shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 24px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo__icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-cta);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo__icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--primary-800);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

[data-theme="dark"] .logo__name { color: var(--primary-200); }

.logo__tagline {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Desktop Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav__link {
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.main-nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--primary-500);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.main-nav__link:hover {
  color: var(--primary-600);
  background: var(--pastel-blue);
}

.main-nav__link:hover::after,
.main-nav__link.active::after {
  transform: scaleX(1);
}

.main-nav__link.active {
  color: var(--primary-600);
}

/* Header Controls */
.header__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.control-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.control-btn:hover {
  background: var(--bg-tertiary);
  color: var(--primary-600);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  padding: 3px;
  border: 1px solid var(--border-light);
}

.lang-btn {
  padding: 4px 10px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 4px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  gap: 5px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.hamburger:hover { background: var(--bg-tertiary); }

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  flex-direction: column;
  gap: 8px;
  animation: slideDown var(--transition-base) ease;
}

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

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-menu__link {
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu__link:hover {
  background: var(--pastel-blue);
  color: var(--primary-600);
}

.mobile-menu__divider {
  height: 1px;
  background: var(--border-light);
  margin: 8px 0;
}

.mobile-menu__controls {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100svh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(14,165,233,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(30,58,138,0.4) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg-primary);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: rgba(255,255,255,0.9);
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero__title-highlight {
  color: #ffffff;
  display: block;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  backdrop-filter: blur(8px);
  transition: all var(--transition-base);
}

.stat-card:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-2px);
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card__label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* Hero Visual */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero__img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 64px rgba(0,0,0,0.35);
  border: 2px solid rgba(255,255,255,0.15);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero__img-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__img-badge-icon {
  width: 44px;
  height: 44px;
  background: var(--pastel-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.hero__img-badge-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero__img-badge-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__image-wrapper {
  position: relative;
}

.about__img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about__img-decor {
  position: absolute;
  top: -16px;
  left: -16px;
  right: 32px;
  bottom: 32px;
  background: var(--pastel-blue);
  border-radius: var(--radius-xl);
  z-index: -1;
  border: 2px solid var(--primary-200);
}

[data-theme="dark"] .about__img-decor {
  background: rgba(59,130,246,0.06);
  border-color: rgba(59,130,246,0.2);
}

.about__content {}

.about__text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.about__feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature__icon {
  width: 44px;
  height: 44px;
  background: var(--pastel-blue);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
}

[data-theme="dark"] .feature__icon {
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.2);
}

.feature__body {}

.feature__title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-cta);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

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

.product-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.product-card__body {
  padding: 24px;
}

.product-card__icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 16px;
  border: 1px solid var(--primary-100);
}

[data-theme="dark"] .product-card__icon {
  background: rgba(59,130,246,0.08);
  border-color: rgba(59,130,246,0.15);
}

.product-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.product-card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: all var(--transition-base);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-300);
  background: var(--pastel-blue);
}

[data-theme="dark"] .service-card:hover {
  background: rgba(59,130,246,0.06);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--primary-50);
  border: 2px solid var(--primary-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

[data-theme="dark"] .service-card__icon {
  background: rgba(59,130,246,0.12);
  border-color: rgba(59,130,246,0.25);
}

.service-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-card__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   REFERENCES SECTION
   ============================================================ */
.references__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ref-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-base);
}

.ref-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-200);
}

.ref-card__icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  border: 1px solid var(--primary-100);
}

[data-theme="dark"] .ref-card__icon {
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.2);
}

.ref-card__name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--gradient-hero);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 80% 50%, rgba(14,165,233,0.25) 0%, transparent 60%);
  pointer-events: none;
}

.cta__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta__subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact__info {}

.contact__info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__item-icon {
  width: 46px;
  height: 46px;
  background: var(--pastel-blue);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

[data-theme="dark"] .contact__item-icon {
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.2);
}

.contact__item-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-600);
  margin-bottom: 4px;
}

.contact__item-value {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact__item-value a:hover {
  color: var(--primary-600);
}

/* Contact Form */
.contact__form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form__label {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 11px 16px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
  background: var(--bg-primary);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-light);
}

.form__btn {
  align-self: flex-start;
  padding: 14px 36px;
  background: var(--gradient-cta);
  color: white;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-blue);
}

.form__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.35);
}

.form__success {
  display: none;
  padding: 16px;
  background: var(--pastel-mint);
  border: 1px solid #6ee7b7;
  border-radius: var(--radius-md);
  color: #065f46;
  font-weight: 600;
  text-align: center;
}

[data-theme="dark"] .form__success {
  background: rgba(6,95,70,0.2);
  border-color: #065f46;
  color: #6ee7b7;
}

/* ============================================================
   MAP PLACEHOLDER
   ============================================================ */
.map-wrapper {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  height: 240px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary-900);
  color: rgba(255,255,255,0.8);
  padding: 72px 0 0;
}

[data-theme="dark"] .site-footer {
  background: #060e1c;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand {}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer__logo-icon {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__logo-name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
}

.footer__logo-tagline {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.5);
}

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  max-width: 300px;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__link::before {
  content: '›';
  color: var(--primary-400);
  font-size: 1.1em;
}

.footer__link:hover {
  color: rgba(255,255,255,0.9);
}

.footer__contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact-item {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.footer__contact-item strong {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.footer__contact-item a:hover {
  color: var(--primary-300);
}

.footer__bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

.footer__bottom a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

.footer__bottom a:hover {
  color: rgba(255,255,255,0.9);
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  width: 44px;
  height: 44px;
  background: var(--primary-600);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  opacity: 0;
  pointer-events: none;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--primary-700);
  transform: translateY(-3px);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-py: 72px;
    --container-px: 20px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero__subtitle { margin: 0 auto 40px; }
  .hero__actions  { justify-content: center; }
  .hero__stats    { max-width: 460px; margin: 40px auto 0; }
  .hero__visual   { max-width: 480px; margin: 0 auto; }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-py: 56px;
    --nav-height: 64px;
  }

  .main-nav  { display: none; }
  .hamburger { display: flex; }

  .hero__stats {
    grid-template-columns: 1fr 1fr;
  }

  .products__grid {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }

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

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .contact__form-wrapper {
    padding: 24px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero__img-badge {
    left: 0;
    bottom: -16px;
  }
}

@media (max-width: 480px) {
  .btn { padding: 12px 20px; font-size: 0.875rem; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 16px; }
  .stat-card__number { font-size: 1.625rem; }
  .references__grid { grid-template-columns: 1fr; }
}
