/* ── CSS Reset & Variables ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark: #0f172a; /* Slate 900 */
  --bg-darker: #020617; /* Slate 950 */
  --bg-light: #f8fafc; /* Slate 50 */
  --surface-dark: #1e293b; /* Slate 800 */
  --surface-light: #ffffff;

  --text-primary-dark: #f8fafc;
  --text-secondary-dark: #cbd5e1; /* Slate 300 */
  --text-primary-light: #0f172a;
  --text-secondary-light: #475569; /* Slate 600 */

  --accent: #3b82f6; /* Blue 500 */
  --accent-hover: #2563eb; /* Blue 600 */
  --accent-glow: rgba(59, 130, 246, 0.4);
  --accent-secondary: #8b5cf6; /* Violet 500 */

  --border-dark: rgba(255, 255, 255, 0.1);
  --border-light: rgba(0, 0, 0, 0.1);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-width: 1200px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for sticky header */
}

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

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 600;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-primary-dark);
}

.section-light {
  background: var(--bg-light);
  color: var(--text-primary-light);
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  transition: padding 0.3s ease, background 0.3s ease;
}

.header.scrolled {
  padding: 12px 48px;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.logo-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary-dark);
}

.logo-highlight {
  font-weight: 300;
  color: var(--text-secondary-dark);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary-dark);
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger svg {
  width: 28px;
  height: 28px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary-dark);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--text-primary-dark);
}

nav a:hover::after {
  width: 100%;
}

.nav-contact {
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent) !important;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease !important;
}

.nav-contact::after {
  display: none;
}

.nav-contact:hover {
  background: var(--accent);
  color: white !important;
  box-shadow: 0 0 15px var(--accent-glow);
}


/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 10s infinite ease-in-out alternate;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.3);
  top: -100px;
  right: -100px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(139, 92, 246, 0.2);
  bottom: 10%;
  left: -50px;
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 30px) scale(1.1); }
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: left;
  max-width: 600px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary-dark);
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero .subtitle {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  color: var(--text-secondary-dark);
  margin-bottom: 40px;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px var(--accent-glow);
}

.cta-outline {
  background: transparent;
  border-color: var(--border-dark);
  color: var(--text-primary-dark);
}

.cta-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-primary-dark);
  box-shadow: none;
}


/* ── Hero Graphic ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 400px;
}

.tech-graphic {
  position: relative;
  width: 100%;
  height: 100%;
}

.main-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 1px dashed rgba(59, 130, 246, 0.4);
  animation: spin 20s linear infinite;
}

.main-circle::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.floating-element {
  position: absolute;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: float-element 6s ease-in-out infinite alternate;
}

.block-1 {
  top: 10%;
  left: 10%;
  width: 140px;
  padding: 16px;
  animation-delay: 0s;
}

.block-2 {
  bottom: 20%;
  right: 10%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  animation-delay: -2s;
}

.block-2 svg {
  width: 32px;
  height: 32px;
}

.block-3 {
  top: 30%;
  right: 5%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  animation-delay: -4s;
  overflow: hidden;
}

.code-line {
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  margin-bottom: 8px;
}

.code-line:last-child {
  margin-bottom: 0;
}

.w-70 { width: 70%; }
.w-40 { width: 40%; background: var(--accent); }
.w-90 { width: 90%; }

.node-network {
  position: relative;
  width: 100%;
  height: 100%;
}

.node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-secondary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-secondary);
}

.n1 { top: 20%; left: 20%; }
.n2 { top: 40%; left: 80%; background: var(--accent); }
.n3 { top: 80%; left: 50%; }
.n4 { top: 90%; left: 90%; }

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes float-element {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-20px); }
}

/* ── Generic Section Styles ── */
section {
  padding: 120px 0;
}

.section-header {
  margin-bottom: 64px;
  max-width: 600px;
}

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

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.section-title span {
  color: var(--accent);
}

.section-light .section-title span {
  color: var(--accent-hover);
}


/* ── About Section ── */
.about {
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
  border-radius: 50% 0 0 50%;
  z-index: 0;
}

.about .container {
  position: relative;
  z-index: 1;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .lead {
  font-size: 26px;
  font-weight: 400;
  color: var(--text-primary-light);
  margin-bottom: 24px;
  line-height: 1.4;
  border-left: 4px solid var(--accent);
  padding-left: 20px;
}

.about-text p {
  font-size: 18px;
  color: var(--text-secondary-light);
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

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

.stat-value {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--accent);
  margin-bottom: 4px;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-visual {
  position: relative;
}

.about-visual::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  bottom: 20px;
  left: 20px;
  border: 2px dashed rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
}

.mission-card h3 {
  font-size: 28px;
  margin-bottom: 32px;
  color: var(--text-primary-light);
  letter-spacing: -0.5px;
}

.mission-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mission-card li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 17px;
  color: var(--text-secondary-light);
  line-height: 1.5;
}

.mission-card li svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  background: rgba(59, 130, 246, 0.1);
  padding: 4px;
  border-radius: 6px;
}


/* ── Services — Split Sticky Layout ── */
.services {
  overflow: visible;
}

/* Two-column layout: left sticky panel + right cards */
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ── Left Panel ── */
.services-left {
  position: sticky;
  top: 100px;
}

.services-left .section-header {
  margin-bottom: 32px;
}

/* Showcase orbit */
.service-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 8px 0 28px;
}

.showcase-orbit {
  position: relative;
  width: 180px;
  height: 180px;
}

.showcase-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(59, 130, 246, 0.25);
  animation: spin 30s linear infinite;
}

.showcase-ring-outer::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12), transparent 70%);
}

.showcase-icons-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-icon {
  position: absolute;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s ease, transform 0.5s ease;
  color: var(--accent);
}

.showcase-icon svg {
  width: 72px;
  height: 72px;
}

.showcase-icon.active {
  opacity: 1;
  transform: scale(1);
}

.showcase-label {
  text-align: center;
}

.showcase-number {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.showcase-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary-dark);
  transition: opacity 0.3s ease;
}

/* Progress dots */
.services-dots-nav {
  display: flex;
  gap: 8px;
}

.srv-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.35s ease;
  cursor: pointer;
}

.srv-dot.active {
  background: var(--accent);
  width: 24px;
}

/* ── Right Panel ── */
.services-right {
  overflow: hidden;
  /* height is managed by GSAP pin context */
}

.services-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Service Cards (new layout) ── */
.service-card-modern {
  background: var(--surface-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

/* Card header: always visible (icon + title in a row) */
.card-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.card-header h3 {
  font-size: 20px;
  margin: 0;
  font-weight: 600;
}

/* Card body: collapses on scroll */
.card-body {
  margin-top: 20px;
  overflow: hidden; /* Required for height animation */
}

.card-body p {
  color: var(--text-secondary-dark);
  margin-bottom: 20px;
}

/* Active state */
.service-card-modern.is-active {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(30, 41, 59, 0.9);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.08);
}

.service-card-modern.is-active .service-icon-wrapper {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 20px var(--accent-glow);
}

/* Collapsed state */
.service-card-modern.is-collapsed {
  border-color: rgba(255, 255, 255, 0.05);
}

/* Icon wrapper */
.service-icon-wrapper {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-icon-wrapper svg {
  width: 26px;
  height: 26px;
}

/* Feature list */
.service-features {
  list-style: none;
  border-top: 1px solid var(--border-dark);
  padding-top: 20px;
}

.service-features li {
  font-size: 14px;
  color: var(--text-secondary-dark);
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}


/* ── Tech Stack ── */
.stack {
  position: relative;
  background: var(--surface-dark); /* Darker background */
  color: var(--text-primary-dark);
}

.stack .section-title {
  color: var(--text-primary-dark);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.tech-category {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.tech-category:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.tech-category h3 {
  font-size: 20px;
  color: var(--text-primary-dark);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-dark);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tags span {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary-dark);
  border: 1px solid var(--border-dark);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tech-category:hover .tags span {
  background: rgba(59, 130, 246, 0.1);
  color: var(--text-primary-dark);
  border-color: rgba(59, 130, 246, 0.3);
}


/* ── Process Timeline ── */
.process {
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(0deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
  z-index: 0;
}

.process .container {
  position: relative;
  z-index: 1;
}

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

.timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.timeline-item {
  position: relative;
  z-index: 1;
}

.timeline-marker {
  width: 60px;
  height: 60px;
  background: var(--surface-dark);
  border: 2px solid var(--border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 24px;
  transition: all 0.3s ease;
  position: relative;
}

.timeline-marker::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  z-index: -1;
  transition: all 0.3s ease;
  filter: blur(15px);
}

.timeline-item:hover .timeline-marker {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.timeline-item:hover .timeline-marker::after {
  opacity: 0.6;
  width: 150%;
  height: 150%;
}

.timeline-content {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-dark);
  padding: 24px;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, background 0.3s ease;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-5px);
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(59, 130, 246, 0.3);
}

.timeline-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.timeline-content p {
  color: var(--text-secondary-dark);
  font-size: 15px;
}


/* ── Contact CTA ── */
.cta-container {
  text-align: center;
  max-width: 800px;
}

.cta-section h2 {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 20px;
  color: var(--text-secondary-light);
  margin-bottom: 48px;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary-light);
  text-decoration: none;
  padding: 24px 40px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.contact-link svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.contact-link:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.1);
  color: var(--accent);
}


/* ── Footer ── */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-dark);
  padding: 48px 0;
  color: var(--text-secondary-dark);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo p {
  margin-top: 8px;
  font-size: 14px;
}

.footer-links {
  font-size: 14px;
}


/* ── Responsive ── */
@media (max-width: 1024px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .services-left {
    position: static;
  }

  .service-showcase {
    flex-direction: row;
    align-items: center;
    gap: 32px;
    margin: 0 0 20px;
  }

  .showcase-orbit {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
  }

  .showcase-icon svg {
    width: 48px;
    height: 48px;
  }

  .showcase-label {
    text-align: left;
  }

  .services-dots-nav {
    margin-bottom: 8px;
  }

  .services-right {
    overflow: visible;
  }

  .card-body {
    overflow: visible !important;
    height: auto !important;
    opacity: 1 !important;
    margin-top: 20px !important;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 32px;
    position: relative;
  }

  .timeline::before {
    display: block;
    top: 0;
    left: 30px;
    width: 2px;
    height: 100%;
    right: auto;
  }

  .timeline-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }

  .timeline-marker {
    flex-shrink: 0;
    margin-bottom: 0;
    z-index: 2;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 16px 24px;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    border-left: 1px solid var(--border-dark);
  }

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

  .nav-menu a {
    font-size: 18px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .hero-visual {
    height: 300px;
    transform: scale(0.8);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta {
    width: 100%;
  }

  section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .about-text .lead {
    font-size: 20px;
  }

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

  .about-actions {
    flex-direction: column;
    width: 100%;
  }

  .service-card-modern {
    padding: 24px 20px;
  }

  .glass-card {
    padding: 32px 24px;
  }

  .contact-methods {
    flex-direction: column;
  }

  .contact-link {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }

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