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

:root {
  /* Colors – Light */
  --c-bg: #f8f9fb;
  --c-bg-alt: #ffffff;
  --c-bg-card: #ffffff;
  --c-bg-glass: rgba(255, 255, 255, 0.6);
  --c-text: #1a1a2e;
  --c-text-secondary: #555770;
  --c-text-muted: #8889a0;
  --c-primary: #2563eb;
  --c-primary-light: #3b82f6;
  --c-primary-bg: rgba(37, 99, 235, 0.08);
  --c-accent: #dc2626;
  --c-border: rgba(0, 0, 0, 0.08);
  --c-border-strong: rgba(0, 0, 0, 0.14);
  --c-shadow: rgba(0, 0, 0, 0.06);
  --c-shadow-lg: rgba(0, 0, 0, 0.1);
  --c-gradient-start: #3b82f6;
  --c-gradient-end: #1d4ed8;
  --c-tag-bg: #eff6ff;
  --c-tag-text: #2563eb;
  --c-success: #10b981;
  --c-error: #dc2626;
  --c-toast-bg: #1a1a2e;
  --c-toast-text: #ffffff;

  /* Spacing */
  --s-xs: 0.25rem;
  --s-sm: 0.5rem;
  --s-md: 1rem;
  --s-lg: 1.5rem;
  --s-xl: 2rem;
  --s-2xl: 3rem;
  --s-3xl: 4rem;
  --s-4xl: 6rem;

  /* Radius */
  --r-sm: 0.375rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px var(--c-shadow);
  --shadow-md: 0 4px 12px var(--c-shadow);
  --shadow-lg: 0 8px 30px var(--c-shadow-lg);
  --shadow-card: 0 2px 8px var(--c-shadow), 0 0 0 1px var(--c-border);

  /* Typography */
  --f-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  --f-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  --f-size-xs: 0.75rem;
  --f-size-sm: 0.875rem;
  --f-size-base: 1rem;
  --f-size-lg: 1.125rem;
  --f-size-xl: 1.25rem;
  --f-size-2xl: 1.5rem;
  --f-size-3xl: 2rem;
  --f-size-4xl: 2.5rem;
  --f-size-5xl: 3.25rem;

  /* Transitions */
  --t-fast: 150ms ease;
  --t-normal: 250ms ease;
  --t-slow: 400ms ease;

  /* Layout */
  --nav-height: 3.75rem;
  --max-width: 72rem;
}

/* --- Global --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + var(--s-lg));
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--f-sans);
  font-size: var(--f-size-base);
  line-height: 1.6;
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--c-primary-light);
}

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

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--s-lg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- Section --- */
.section {
  padding: var(--s-3xl) 0;
}

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

.section__header {
  text-align: center;
  margin-bottom: var(--s-2xl);
}

.section__label {
  display: inline-block;
  font-size: var(--f-size-sm);
  font-weight: 600;
  color: var(--c-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--s-sm);
}

.section__title {
  font-size: var(--f-size-2xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-text);
  margin-bottom: var(--s-sm);
}

.section__desc {
  font-size: var(--f-size-lg);
  color: var(--c-text-secondary);
  max-width: 36rem;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-sm);
  padding: 0.75rem 1.5rem;
  font-family: var(--f-sans);
  font-size: var(--f-size-base);
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--c-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.btn--primary:hover {
  transform: translateY(-1px);
  background: var(--c-primary-light);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  color: #ffffff;
}

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

.btn--secondary:hover {
  background: var(--c-primary-bg);
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.btn--ghost {
  background: transparent;
  color: var(--c-text-secondary);
  padding: 0.5rem 0.75rem;
}

.btn--ghost:hover {
  color: var(--c-primary);
  background: var(--c-primary-bg);
}

/* --- Badge / Tag --- */
.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: var(--f-size-xs);
  font-weight: 600;
  border-radius: var(--r-full);
  background: var(--c-tag-bg);
  color: var(--c-tag-text);
}

/* --- Card --- */
.card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
  transition: all var(--t-normal);
}

.card:hover {
  border-color: var(--c-border-strong);
  box-shadow: var(--shadow-md);
}

/* Glass card */
.card--glass {
  background: var(--c-bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: var(--c-bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--t-normal);
}

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

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--s-sm);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--f-size-xl);
  font-weight: 800;
  color: var(--c-text);
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  min-width: 0;
  max-width: calc(100% - 3rem);
}

.nav__logo-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  border-radius: 0.35rem;
}

.logo-czech {
  color: #b91c1c;
}

.logo-prog {
  color: #1d4ed8;
}

.nav__links {
  display: none;
  list-style: none;
  gap: var(--s-xs);
}

.nav__link {
  color: var(--c-text-secondary);
  font-size: var(--f-size-base);
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-md);
  transition: all var(--t-fast);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--c-primary);
  background: var(--c-primary-bg);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.25rem;
  height: 2.25rem;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  cursor: pointer;
  gap: 4px;
  padding: 0;
  transition: all var(--t-fast);
}

.nav__hamburger:hover {
  border-color: var(--c-primary);
  background: var(--c-primary-bg);
}

.nav__hamburger span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--c-text-secondary);
  border-radius: 1px;
  transition: all var(--t-fast);
}

.nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  bottom: auto;
  height: calc(100dvh - var(--nav-height));
  background: var(--c-bg);
  padding: calc(var(--s-xl) + env(safe-area-inset-top)) var(--s-lg) calc(var(--s-xl) + env(safe-area-inset-bottom));
  z-index: 1001;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.nav__mobile[aria-hidden="false"] {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

.nav__mobile-link {
  display: block;
  color: var(--c-text);
  font-size: var(--f-size-lg);
  font-weight: 500;
  padding: var(--s-md) var(--s-sm);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
  text-decoration: none;
}

.nav__mobile-link:hover {
  background: var(--c-primary-bg);
  color: var(--c-primary);
}

@media (max-width: 420px) {
  .nav__logo {
    font-size: 1.05rem;
    gap: 0.4rem;
  }

  .nav__logo-icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .nav__mobile-link {
    font-size: var(--f-size-base);
    padding: 0.85rem 0.6rem;
  }
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  padding-bottom: var(--s-2xl);
  overflow: hidden;
}

/* Background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Grid pattern */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--c-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
}

/* Floating orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.hero__orb--1 {
  top: 5%;
  right: 10%;
  width: 35vw;
  height: 35vw;
  max-width: 500px;
  max-height: 500px;
  background: var(--c-gradient-start);
  opacity: 0.15;
  animation: orbFloat1 20s ease-in-out infinite;
}

.hero__orb--2 {
  bottom: 10%;
  left: -5%;
  width: 30vw;
  height: 30vw;
  max-width: 400px;
  max-height: 400px;
  background: var(--c-gradient-end);
  opacity: 0.12;
  animation: orbFloat2 25s ease-in-out infinite;
}

.hero__orb--3 {
  top: 40%;
  left: 30%;
  width: 20vw;
  height: 20vw;
  max-width: 300px;
  max-height: 300px;
  background: linear-gradient(135deg, var(--c-gradient-start), var(--c-gradient-end));
  opacity: 0.08;
  animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 20px) scale(1.05); }
  66% { transform: translate(20px, -15px) scale(0.95); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-25px, 25px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__orb { animation: none; }
}

/* Hero layout */
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-2xl);
  align-items: center;
  width: 100%;
}

.hero__content {
  max-width: 38rem;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  padding: 0.45rem 1.1rem 0.45rem 0.8rem;
  background: var(--c-bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  font-size: var(--f-size-sm);
  font-weight: 500;
  color: var(--c-text-secondary);
  margin-bottom: var(--s-xl);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 8px var(--c-success);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__badge-dot { animation: none; }
}

/* Title */
.hero__title {
  font-size: clamp(2rem, 6vw, var(--f-size-5xl));
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: var(--s-lg);
}

.hero__title-gradient {
  background: linear-gradient(135deg, var(--c-gradient-start), var(--c-gradient-end));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title-gradient { animation: none; }
}

/* Subtitle */
.hero__subtitle {
  font-size: var(--f-size-lg);
  color: var(--c-text-secondary);
  line-height: 1.65;
  margin-bottom: var(--s-xl);
  max-width: 30rem;
}

/* CTAs */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md);
  margin-bottom: var(--s-2xl);
}

.btn--lg {
  padding: 0.9rem 1.75rem;
  font-size: var(--f-size-base);
}

/* Stats bar */
.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--s-lg);
  padding: var(--s-lg) var(--s-xl);
  background: var(--c-bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  width: fit-content;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero__stat-number {
  font-size: var(--f-size-xl);
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -0.02em;
}

.hero__stat-label {
  font-size: var(--f-size-xs);
  color: var(--c-text-muted);
  font-weight: 500;
}

.hero__stat-divider {
  width: 1px;
  height: 2rem;
  background: var(--c-border-strong);
}

/* ---- Hero visual (right side) ---- */
.hero__visual {
  display: none;
}

.hero__visual-container {
  position: relative;
  width: 100%;
  height: 420px;
}

/* Code card */
.hero__code-card {
  position: absolute;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
  box-shadow: var(--shadow-lg);
  font-family: var(--f-mono);
  font-size: 0.8rem;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: cardFloat 8s ease-in-out infinite;
}

.hero__code-card--1 {
  top: 10%;
  left: 5%;
  right: 5%;
  z-index: 3;
}

.hero__code-dots {
  display: flex;
  gap: 6px;
  margin-bottom: var(--s-md);
}

.hero__code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero__code-dots span:nth-child(1) { background: #ff5f57; }
.hero__code-dots span:nth-child(2) { background: #febc2e; }
.hero__code-dots span:nth-child(3) { background: #28c840; }

.code-kw { color: var(--c-primary); }
.code-fn { color: var(--c-accent); }
.code-str { color: var(--c-success); }

/* Floating badges */
.hero__float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  padding: 0.6rem 1rem;
  background: var(--c-bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  font-size: var(--f-size-xs);
  font-weight: 600;
  color: var(--c-text);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  z-index: 4;
}

.hero__float-badge--1 {
  bottom: 28%;
  right: 8%;
  color: var(--c-success);
  animation: cardFloat 6s ease-in-out infinite 1s;
}

.hero__float-badge--2 {
  bottom: 12%;
  left: 10%;
  color: var(--c-primary);
  animation: cardFloat 7s ease-in-out infinite 2s;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__code-card,
  .hero__float-badge { animation: none; }
}

/* Orbital rings */
.hero__orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--c-border);
}

.hero__orbit--1 {
  width: 320px;
  height: 320px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

.hero__orbit--2 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  border-style: dashed;
}

/* Center glow */
.hero__center-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--c-gradient-start), transparent 70%);
  opacity: 0.15;
  filter: blur(40px);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--s-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--c-text-muted), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, transparent, var(--c-primary));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 110%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line::after { animation: none; }
}

/* ---- Hero responsive ---- */
@media (min-width: 640px) {
  .hero__stats {
    gap: var(--s-xl);
    padding: var(--s-lg) var(--s-2xl);
  }

  .hero__stat-number {
    font-size: var(--f-size-2xl);
  }
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-3xl);
  }

  .hero__visual {
    display: block;
  }
}

@media (min-width: 1280px) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero__visual-container {
    height: 480px;
  }

  .hero__code-card--1 {
    left: 0;
    right: 10%;
  }
}

/* ========================================
   ABOUT
   ======================================== */
.about__grid {
  display: grid;
  gap: var(--s-xl);
}

.about__intro {
  font-size: var(--f-size-lg);
  color: var(--c-text-secondary);
  line-height: 1.7;
}

.about__profiles {
  display: grid;
  gap: var(--s-lg);
}

.profile-card {
  display: flex;
  gap: var(--s-lg);
  align-items: flex-start;
}

.profile-card__avatar {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: var(--r-lg);
  object-fit: cover;
  display: block;
}

.profile-card__info h3 {
  font-size: var(--f-size-lg);
  font-weight: 700;
  margin-bottom: var(--s-xs);
}

.profile-card__role {
  font-size: var(--f-size-sm);
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: var(--s-sm);
}

.profile-card__desc {
  font-size: var(--f-size-sm);
  color: var(--c-text-secondary);
  line-height: 1.6;
}

.about__values {
  display: grid;
  gap: var(--s-md);
  margin-top: var(--s-xl);
}

.value-item {
  display: flex;
  gap: var(--s-md);
  align-items: flex-start;
}

.value-item__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-md);
  background: var(--c-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
}

.value-item__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.value-item h4 {
  font-size: var(--f-size-base);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.value-item p {
  font-size: var(--f-size-sm);
  color: var(--c-text-secondary);
}

/* ========================================
   SERVICES
   ======================================== */
.services__grid {
  display: grid;
  gap: var(--s-lg);
}

.service-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-md);
  background: var(--c-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  margin-bottom: var(--s-md);
}

.service-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-card h3 {
  font-size: var(--f-size-lg);
  font-weight: 700;
  margin-bottom: var(--s-sm);
}

.service-card p {
  font-size: var(--f-size-sm);
  color: var(--c-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--s-md);
}

.service-card__for {
  font-size: var(--f-size-xs);
  color: var(--c-text-muted);
  font-weight: 500;
}

/* ========================================
   PROCESS
   ======================================== */
.process__steps {
  display: grid;
  gap: var(--s-xl);
  position: relative;
}

.process__step {
  display: flex;
  gap: var(--s-lg);
  align-items: flex-start;
}

.process__number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-gradient-start), var(--c-gradient-end));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--f-size-lg);
  position: relative;
}

.process__step:not(:last-child) .process__number::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(var(--s-xl) + 0.5rem);
  background: linear-gradient(to bottom, var(--c-gradient-start), transparent);
  opacity: 0.3;
}

.process__content h3 {
  font-size: var(--f-size-lg);
  font-weight: 700;
  margin-bottom: var(--s-xs);
}

.process__content p {
  font-size: var(--f-size-sm);
  color: var(--c-text-secondary);
  line-height: 1.6;
}

/* ========================================
   PROJECTS
   ======================================== */
.projects__grid {
  display: grid;
  gap: var(--s-lg);
}

.project-card__preview {
  aspect-ratio: 3 / 2;
  border-radius: 0;
  margin-bottom: var(--s-lg);
  border: 1px solid var(--c-border);
  overflow: hidden;
}

.project-card__preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.project-card h3 {
  font-size: var(--f-size-lg);
  font-weight: 700;
  margin-bottom: var(--s-xs);
}

.project-card > p {
  font-size: var(--f-size-sm);
  color: var(--c-text-secondary);
  margin-bottom: var(--s-md);
  line-height: 1.5;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-xs);
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-xs);
  padding: var(--s-xs) var(--s-sm);
  background: var(--c-primary);
  color: var(--c-bg);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.project-card__link:hover {
  background: var(--c-primary-light);
  transform: translateY(-2px);
}

.project-card__link svg {
  flex-shrink: 0;
}



/* ========================================
   FAQ
   ======================================== */
.faq__list {
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

.faq__item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast);
}

.faq__item:has([aria-expanded="true"]) {
  border-color: var(--c-border-strong);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
  padding: var(--s-lg);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--f-sans);
  font-size: var(--f-size-base);
  font-weight: 600;
  color: var(--c-text);
  transition: color var(--t-fast);
}

.faq__question:hover {
  color: var(--c-primary);
}

.faq__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--c-text-muted);
  transition: transform var(--t-normal);
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--t-normal), padding var(--t-normal);
}

.faq__answer[aria-hidden="false"] {
  max-height: 20rem;
}

.faq__answer-inner {
  padding: 0 var(--s-lg) var(--s-lg);
  font-size: var(--f-size-sm);
  color: var(--c-text-secondary);
  line-height: 1.7;
}

/* ========================================
   CONTACT
   ======================================== */
.contact__grid {
  display: grid;
  gap: var(--s-xl);
}

.contact__main,
.contact__info {
  height: 100%;
}

.contact__main-card {
  height: 100%;
}

.contact__main-card h3 {
  font-size: var(--f-size-2xl);
  font-weight: 700;
  margin-bottom: var(--s-md);
}

.contact__main-card > p {
  color: var(--c-text-secondary);
  margin-bottom: var(--s-xl);
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: var(--s-md);
  margin-bottom: 0;
}

.contact-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md);
}

.contact-form__field {
  display: grid;
  gap: 0.4rem;
  width: 100%;
}

.contact-form__field span {
  font-size: var(--f-size-sm);
  font-weight: 600;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  font: inherit;
  color: var(--c-text);
  background: var(--c-bg-alt);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-bg);
}

.contact-form--submitted .contact-form__field input:invalid,
.contact-form--submitted .contact-form__field textarea:invalid {
  border-color: var(--c-error);
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__submit {
  justify-self: start;
}

.contact-form__submit[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-form__status {
  min-height: 1.5rem;
  font-size: var(--f-size-sm);
  color: var(--c-text-secondary);
}

.contact-form__status--error {
  color: var(--c-error);
}

.contact-form__status--success {
  color: var(--c-success);
}

.contact__copy-area {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  padding: var(--s-md);
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  font-family: var(--f-mono);
  font-size: var(--f-size-sm);
  flex-wrap: wrap;
}

.contact__copy-btn {
  font-size: var(--f-size-sm);
  font-weight: 700;
  padding: 0.55rem 1rem;
  background: #e6e8ee;
  color: #2f3446;
  border: 1px solid #cfd5e3;
  border-radius: var(--r-md);
}

.contact__copy-btn:hover {
  background: #dbe0ea;
  border-color: #bcc5d7;
  color: #1f2536;
}

.contact__copy-btn svg {
  width: 15px;
  height: 15px;
}

.contact__email-row {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  flex-wrap: wrap;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
}

.contact__social-card {
  min-height: 8.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-md);
}

.contact__social-title {
  font-size: var(--f-size-sm);
  font-weight: 700;
  color: var(--c-text);
}

.contact__social-links {
  justify-content: center;
  width: 100%;
}

.contact__info-item {
  display: flex;
  gap: var(--s-md);
  align-items: flex-start;
}

.contact__info-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-md);
  background: var(--c-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
}

.contact__info-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.contact__info-item h4 {
  font-size: var(--f-size-sm);
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.contact__info-item p {
  font-size: var(--f-size-sm);
  color: var(--c-text-secondary);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  border-top: 1px solid var(--c-border);
  padding: var(--s-xl) 0;
  background: var(--c-bg-alt);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
  align-items: center;
  text-align: center;
}

.footer__logo {
  font-size: var(--f-size-base);
  font-weight: 700;
  color: var(--c-text);
}

.footer__tagline {
  font-size: var(--f-size-xs);
  color: var(--c-text-muted);
}

.footer__legal {
  display: grid;
  gap: 0.2rem;
  max-width: 38rem;
}

.footer__legal-item {
  font-size: var(--f-size-xs);
  line-height: 1.45;
  color: var(--c-text-secondary);
}

.footer__legal-item span {
  color: var(--c-text);
  font-weight: 600;
}

/* Social links (used in contact section) */
.social-links {
  display: flex;
  gap: var(--s-md);
  list-style: none;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: 3rem;
  border-radius: var(--r-lg);
  border: none;
  color: #ffffff;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.social-link svg {
  width: 1.375rem;
  height: 1.375rem;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

/* Brand colors */
.social-link--instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link--tiktok {
  background: #010101;
}

.social-link--threads {
  background: #101010;
}

.social-link--youtube {
  background: #ff0000;
}

.social-link--facebook {
  background: #1877f2;
}

.social-link--instagram:hover {
  box-shadow: 0 4px 20px rgba(225, 48, 108, 0.4);
}

.social-link--tiktok:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.social-link--threads:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.social-link--youtube:hover {
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.35);
}

.social-link--facebook:hover {
  box-shadow: 0 4px 20px rgba(24, 119, 242, 0.4);
}

.social-link--linkedin {
  background: #0a66c2;
}

.social-link--linkedin:hover {
  box-shadow: 0 4px 20px rgba(10, 102, 194, 0.4);
}

.social-link--x {
  background: #000000;
}

.social-link--x:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.footer__copy {
  font-size: var(--f-size-xs);
  color: var(--c-text-muted);
  margin-top: var(--s-md);
  text-align: center;
}

/* ========================================
   FLOATING CTA
   ======================================== */
.floating-cta {
  position: fixed;
  right: var(--s-lg);
  bottom: calc(var(--s-xl) + env(safe-area-inset-bottom));
  z-index: 1100;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity var(--t-normal), transform var(--t-normal);
  box-shadow: var(--shadow-lg);
}

.floating-cta--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 420px) {
  .floating-cta {
    right: var(--s-md);
    bottom: calc(var(--s-lg) + env(safe-area-inset-bottom));
    padding: 0.72rem 1.15rem;
    font-size: var(--f-size-sm);
  }
}

/* ========================================
   TOAST
   ======================================== */
.toast {
  position: fixed;
  bottom: var(--s-xl);
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--c-toast-bg);
  color: var(--c-toast-text);
  padding: 0.65rem 1.25rem;
  border-radius: var(--r-full);
  font-size: var(--f-size-sm);
  font-weight: 500;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: all var(--t-normal);
  box-shadow: var(--shadow-lg);
}

.toast--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========================================
   RESPONSIVE – Tablet (640px+)
   ======================================== */
@media (min-width: 640px) {
  .section__title {
    font-size: var(--f-size-3xl);
  }

  .hero__title {
    font-size: var(--f-size-4xl);
  }

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

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

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

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

  .contact__grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .contact-form__row .contact-form__field {
    flex: 1 1 0;
    min-width: 12rem;
  }
}

/* ========================================
   RESPONSIVE – Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  .nav__links {
    display: flex;
  }

  .nav__hamburger {
    display: none;
  }

  .section {
    padding: var(--s-4xl) 0;
  }

  .section__title {
    font-size: var(--f-size-4xl);
  }

  .hero__title {
    font-size: var(--f-size-5xl);
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .projects__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-lg);
  }

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

  .process__step:not(:last-child) .process__number::after {
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    width: calc(100% + var(--s-lg));
    height: 2px;
    background: linear-gradient(to right, var(--c-gradient-start), transparent);
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }

  .footer__copy {
    text-align: left;
  }
}

/* ========================================
   404 PAGE
   ======================================== */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s-xl);
}

.page-404__code {
  font-size: 6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--c-gradient-start), var(--c-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--s-md);
}

.page-404 h1 {
  font-size: var(--f-size-2xl);
  margin-bottom: var(--s-md);
}

.page-404 p {
  color: var(--c-text-secondary);
  margin-bottom: var(--s-xl);
}
