/* ============================================
   FLACKON Agency v8 — Spline 3D Robot Hero
   Background: #050508 | Accent: #FF3D00
   ============================================ */

/* ----- 1. Custom Properties ----- */
:root {
  /* Palette */
  --bg: #050508;
  --accent: #FF3D00;
  --accent-light: #ff6a3d;
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.45);
  --text-tertiary: rgba(255, 255, 255, 0.25);
  --border: rgba(255, 255, 255, 0.06);
  --card-bg: rgba(5, 5, 8, 0.85);

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --fs-hero: clamp(3rem, 2rem + 5vw, 5rem);
  --fs-title: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --fs-body: clamp(0.8125rem, 0.75rem + 0.3vw, 1rem);
  --fs-label: 10px;
  --fs-small: 11px;

  /* Spacing */
  --section-pad: clamp(48px, 6vw, 80px);
  --section-pad-x: clamp(20px, 5vw, 64px);
  --nav-h: 56px;

  /* Misc */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 4px;
  --transition: 0.25s ease;
  --gap: 14px;
  --card-border: rgba(255, 255, 255, 0.06);
  --text-primary: #ffffff;
}

/* ----- Molgan Font ----- */
@font-face {
  font-family: 'Molgan';
  src: url('../assets/fonts/Molgan-Regular.woff2') format('woff2'),
       url('../assets/fonts/Molgan-Regular.woff') format('woff'),
       url('../assets/fonts/Molgan-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ----- 2. Reset ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

/* Accent utility */
.accent {
  color: var(--accent);
}

/* ----- Fluid Canvas ----- */
#fluid-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ----- 3. Spline Hero — Fullscreen ----- */
.hero-spline {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  z-index: 2;
}

.spline-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.spline-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  pointer-events: none; /* Allow mouse events to pass through to Spline */
}

.hero-content {
  pointer-events: auto; /* But buttons are clickable */
  width: 100%;
}

.hero-bottom {
  padding: 0 var(--section-pad-x) 60px;
  background: linear-gradient(transparent 0%, rgba(5,5,8,0.8) 40%, var(--bg) 100%);
  padding-top: 120px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* ----- 4. Navigation ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--section-pad-x);
  height: var(--nav-h);
  background: rgba(5, 5, 8, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Molgan', sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 2px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  color: var(--text-secondary);
}

.nav-links a {
  transition: color var(--transition);
}

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

.nav-lang {
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
  transition: border-color var(--transition), color var(--transition);
}

.nav-lang:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  background: var(--accent);
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent-light);
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
}

.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.nav-burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.active span:nth-child(2) {
  opacity: 0;
}

.nav-burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----- 5. Mobile Menu ----- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(5, 5, 8, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu-links a {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.mobile-menu-links a:hover {
  color: var(--text);
}

.mobile-menu-cta {
  color: var(--accent) !important;
  font-weight: 800 !important;
}

/* ----- 6. Hero (Spline variant — text styles) ----- */
.hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 440px;
  line-height: 1.5;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ----- 7. Buttons ----- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

/* ----- 8. Marquee ----- */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  background: var(--card-bg);
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  flex-shrink: 0;
}

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

/* ----- 9. Stats ----- */
.stats {
  display: flex;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card-bg);
  position: relative;
  z-index: 1;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  font-size: 40px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.3px;
}

/* ----- 10. Section Containers ----- */
.section {
  padding: var(--section-pad) var(--section-pad-x);
  background: transparent;
  position: relative;
  z-index: 1;
}

.section-sm {
  padding: calc(var(--section-pad) * 0.6) var(--section-pad-x);
  background: transparent;
  position: relative;
  z-index: 1;
}

.label {
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.title {
  font-size: var(--fs-title);
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 12px;
}

.subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0 var(--section-pad-x);
  position: relative;
  z-index: 1;
}

/* ----- 11. Services — Flip Cards ----- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.svc-flip {
  height: 180px;
  perspective: 1000px;
  cursor: pointer;
}

.svc-flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.svc-flip:hover .svc-flip-inner,
.svc-flip.is-flipped .svc-flip-inner {
  transform: rotateY(180deg);
}

.svc-front,
.svc-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.svc-front {
  background: var(--card-bg);
  border: 1px solid var(--border);
  justify-content: space-between;
}

.svc-back {
  background: linear-gradient(135deg, rgba(255, 61, 0, 0.12), rgba(255, 61, 0, 0.04));
  border: 1px solid rgba(255, 61, 0, 0.25);
  transform: rotateY(180deg);
  justify-content: center;
}

.svc-icon {
  font-size: 28px;
  line-height: 1;
}

.svc-front h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.svc-hint {
  font-size: var(--fs-label);
  color: var(--text-tertiary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.svc-back p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ----- 12. Industries — Horizontal Scroll ----- */
.ind-scroll {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 20px 0;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ind-scroll::-webkit-scrollbar {
  display: none;
}

.ind-scroll:active {
  cursor: grabbing;
}

.ind-chip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color var(--transition), background var(--transition);
  user-select: none;
}

.ind-chip:hover {
  border-color: rgba(255, 61, 0, 0.3);
  background: rgba(255, 61, 0, 0.06);
}

.ico {
  font-size: 18px;
  line-height: 1;
}

/* ----- 13. Cases — Swiper Carousel ----- */
.cases-swiper {
  padding: 20px 0 40px;
  overflow: visible;
}

.cases-swiper .swiper-wrapper {
  align-items: stretch;
}

.case-card {
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.case-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.case-tag {
  font-size: 9px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.case-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.case-body {
  padding: 16px 20px;
  flex: 1;
}

.case-desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.case-metrics {
  display: flex;
  gap: 16px;
}

.case-metric {
  text-align: left;
}

.cm-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.cm-label {
  font-size: 9px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case-stack {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.cs-tag {
  font-size: 9px;
  padding: 3px 8px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Swiper navigation */
#cases {
  padding-bottom: 24px;
}

.swiper-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.swiper-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-btn:hover {
  border-color: var(--accent);
  background: rgba(255, 61, 0, 0.1);
}

/* ----- 14. Problems Section ----- */
.problems-grid {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  margin-top: 24px;
}

.problem-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
}

.problem-before {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.problem-stat {
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -1px;
  flex-shrink: 0;
  min-width: 70px;
}

.problem-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.problem-arrow {
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.problem-after {
  flex: 1;
}

.problem-solution {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}

/* ----- 14b. Process Cards ----- */
.process-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-top: 24px;
}

.process-card {
  padding: 28px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  border-top: 2px solid var(--accent);
}

.process-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.process-card-num {
  font-size: 32px;
  font-weight: 900;
  color: rgba(255, 61, 0, 0.2);
}

.process-card-time {
  font-size: 11px;
  color: var(--accent);
  background: rgba(255, 61, 0, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.process-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.process-card-result {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

/* ----- 14c. Tech Grid ----- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: var(--gap);
  margin-top: 24px;
}

.tech-card {
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  transition: border-color 0.3s, transform 0.3s;
}

.tech-card:hover {
  border-color: rgba(255, 61, 0, 0.2);
  transform: translateY(-2px);
}

.tech-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.tech-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.tech-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ----- 14d. FAQ ----- */
.faq-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: rgba(255, 61, 0, 0.2);
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ----- 15. About Grid ----- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.about-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
}

.about-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
}

.about-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
}

/* ----- 16. CTA Section ----- */
.cta-section {
  text-align: center;
  padding: 80px var(--section-pad-x);
  position: relative;
  overflow: hidden;
  background: transparent;
  z-index: 1;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 61, 0, 0.1) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 1.5rem + 3vw, 2.625rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
}

.cta-section .subtitle {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  position: relative;
  flex-wrap: wrap;
}

/* ----- 17. Footer ----- */
.footer {
  padding: 28px var(--section-pad-x);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-tertiary);
  background: rgba(5, 5, 8, 0.95);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-family: 'Molgan', sans-serif;
  font-weight: 400;
  letter-spacing: 2px;
}

/* ----- 18. Selection ----- */
::selection {
  background: rgba(255, 61, 0, 0.3);
  color: var(--text);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* --- Tablet & below (768px) --- */
@media (max-width: 768px) {
  /* Nav */
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  /* Spline Hero */
  .hero-spline {
    min-height: 70vh;
  }

  .hero-bottom {
    padding-top: 80px;
  }

  .hero-sub {
    font-size: 14px;
  }

  /* Stats */
  .stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .stat:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .stat:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .stat-num {
    font-size: 32px;
  }

  /* Services */
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Industries — touch scroll */
  .ind-scroll {
    padding-left: var(--section-pad-x);
    padding-right: var(--section-pad-x);
    margin-left: calc(var(--section-pad-x) * -1);
    margin-right: calc(var(--section-pad-x) * -1);
    -webkit-overflow-scrolling: touch;
  }

  /* Problems */
  .problem-card {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 20px;
  }
  .problem-before {
    flex-direction: column;
  }
  .problem-arrow {
    transform: rotate(90deg);
  }

  /* Process cards */
  .process-cards {
    grid-template-columns: 1fr;
  }

  /* Tech grid */
  .tech-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-title {
    letter-spacing: -1.5px;
  }

  .cta-glow {
    width: 280px;
    height: 280px;
  }
}

/* --- Small mobile (480px) --- */
@media (max-width: 480px) {
  .hero-spline {
    min-height: 60vh;
  }

  .hero-bottom {
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-ghost {
    width: 100%;
    text-align: center;
  }

  .stat {
    padding: 20px 12px;
  }

  .stat-num {
    font-size: 28px;
  }

  .section {
    padding: 40px var(--section-pad-x);
  }

  .section-sm {
    padding: 28px var(--section-pad-x);
  }

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

  .svc-flip {
    height: 160px;
  }

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

  .footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .cta-section {
    padding: 48px var(--section-pad-x);
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-ghost {
    width: 100%;
    text-align: center;
  }
}
