/* ============================================================
   NOVA FRONTY — NEON TERMINAL DESIGN SYSTEM
   ============================================================ */


:root {
  
  --clr-bg:          #0d0f12;
  --clr-bg-alt:      #111418;
  --clr-bg-card:     #161b22;
  --clr-bg-tinted:   #0f1318;
  --clr-surface:     #1c2230;
  --clr-border:      #252d3a;
  --clr-border-glow: rgba(0, 255, 170, 0.25);

  --clr-green:       #00ffaa;
  --clr-green-dim:   #00cc88;
  --clr-green-glow:  rgba(0, 255, 170, 0.12);
  --clr-cyan:        #00d4ff;
  --clr-cyan-dim:    #00a8cc;
  --clr-cyan-glow:   rgba(0, 212, 255, 0.12);
  --clr-magenta:     #ff2d78;
  --clr-magenta-dim: #cc2260;
  --clr-magenta-glow:rgba(255, 45, 120, 0.12);

  --clr-text:        #d0dbe8;
  --clr-text-dim:    #8a9bb0;
  --clr-text-muted:  #4a5568;
  --clr-heading:     #edf2f7;

  
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.3);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.4);
  --shadow-glow:  0 0 20px rgba(0, 255, 170, 0.15), 0 0 60px rgba(0, 255, 170, 0.05);
  --shadow-cyan:  0 0 20px rgba(0, 212, 255, 0.2);
  --shadow-card:  0 2px 8px rgba(0,0,0,0.4), 0 1px 3px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);

  
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  28px;
  --radius-pill:999px;

  
  --font-mono: 'Courier New', 'Lucida Console', monospace;
  --font-body: 'Albert Sans', sans-serif;

  
  --transition-fast:  150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:  250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:  400ms cubic-bezier(0.4, 0, 0.2, 1);
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main { flex: 1; }

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

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

ul { list-style: none; }


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

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--clr-text); }
p:last-child { margin-bottom: 0; }

strong { color: var(--clr-heading); font-weight: 600; }


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

.container--narrow {
  max-width: 820px;
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  min-height: 44px;
}

.btn--primary {
  background: var(--clr-green);
  color: #0a0d10;
  border-color: var(--clr-green);
  box-shadow: 0 0 24px rgba(0, 255, 170, 0.2), 0 2px 8px rgba(0,0,0,0.3);
}

.btn--primary:hover {
  background: #1affc0;
  border-color: #1affc0;
  box-shadow: 0 0 40px rgba(0, 255, 170, 0.35), 0 4px 16px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--clr-green);
  border-color: var(--clr-green);
}

.btn--outline:hover {
  background: var(--clr-green-glow);
  box-shadow: 0 0 24px rgba(0, 255, 170, 0.2);
  transform: translateY(-2px);
}

.btn--large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn--submit {
  width: 100%;
  justify-content: center;
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
  margin-top: var(--space-sm);
}


.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  transition: padding var(--transition-base), background var(--transition-base);
}

.nav-wrapper.nav--scrolled {
  padding: 0.5rem 1.5rem;
  background: rgba(13, 15, 18, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: rgba(22, 27, 34, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 0.6rem 0.8rem 0.6rem 1.2rem;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(255,255,255,0.03);
  transition: all var(--transition-base);
}

.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 36px;
  width: auto;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.nav__link {
  color: var(--clr-text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
  color: var(--clr-heading);
  background: rgba(255,255,255,0.06);
}

.nav__link--active {
  color: var(--clr-green);
}

.nav__cta {
  display: none;
  flex-shrink: 0;
  font-size: 0.9rem;
  padding: 0.55rem 1.2rem;
}

.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  align-items: center;
  transition: background var(--transition-fast);
}

.nav__burger:hover { background: rgba(255,255,255,0.06); }

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text-dim);
  border-radius: 2px;
  transition: all var(--transition-base);
}


.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--clr-bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  border-bottom: 2px solid var(--clr-green);
}

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

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-xl) var(--space-md);
}

.mobile-menu__link {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 700;
  color: var(--clr-heading);
  opacity: 0;
  transform: translateY(-30px);
  transition: color var(--transition-fast), opacity 0.4s ease, transform 0.4s ease;
  display: block;
  padding: var(--space-xs) var(--space-md);
  text-align: center;
}

.mobile-menu.is-open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(5) { transition-delay: 0.32s; }

.mobile-menu__link:hover { color: var(--clr-green); }

.mobile-menu__close {
  position: absolute;
  bottom: var(--space-xl);
  background: none;
  border: 2px solid var(--clr-border);
  color: var(--clr-text-dim);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  transition: all var(--transition-fast);
}

.mobile-menu__close:hover {
  border-color: var(--clr-green);
  color: var(--clr-green);
}


.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem var(--space-md) var(--space-3xl);
  background: linear-gradient(135deg, #0a0c10 0%, #0d1117 40%, #0a1020 100%);
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 170, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 170, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  animation: heroIn 0.9s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero__tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--clr-green);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--clr-green);
  animation: blink 1.1s step-end infinite;
  border-radius: 1px;
  vertical-align: middle;
}

.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  color: var(--clr-heading);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--clr-text-dim);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.hero__indicators {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero__indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  letter-spacing: 0.05em;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-green);
  box-shadow: 0 0 8px var(--clr-green);
  flex-shrink: 0;
}

.hero__dot--cyan { background: var(--clr-cyan); box-shadow: 0 0 8px var(--clr-cyan); }
.hero__dot--magenta { background: var(--clr-magenta); box-shadow: 0 0 8px var(--clr-magenta); }

.hero__visual {
  position: relative;
  z-index: 2;
  margin-top: var(--space-xl);
  animation: heroIn 0.9s 0.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero__terminal {
  background: #0d1117;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 255, 170, 0.08);
  max-width: 520px;
}

.hero__terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #161b22;
  border-bottom: 1px solid var(--clr-border);
}

.hero__terminal-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__terminal-btn--red    { background: #ff5f57; }
.hero__terminal-btn--yellow { background: #febc2e; }
.hero__terminal-btn--green  { background: #28c840; }

.hero__terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  margin-left: auto;
  margin-right: auto;
  padding-right: 2rem;
}

.hero__terminal-body {
  padding: var(--space-md) var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hero__terminal-line {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--clr-text-dim);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.hero__terminal-line--output {
  color: #4ade80;
  padding-left: 1rem;
}

.hero__terminal-line--accent {
  color: var(--clr-green);
  font-weight: 600;
}

.hero__term-prompt {
  color: var(--clr-green);
  font-weight: 700;
  flex-shrink: 0;
}

.hero__term-cmd {
  color: var(--clr-cyan);
}


.strip {
  background: var(--clr-bg-card);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--space-md) 0;
}

.strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.strip__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--clr-text-dim);
  white-space: nowrap;
}

.strip__icon {
  color: var(--clr-green);
  font-size: 1rem;
}

.strip__icon--cyan { color: var(--clr-cyan); }
.strip__icon--magenta { color: var(--clr-magenta); }

.strip__divider {
  width: 1px;
  height: 20px;
  background: var(--clr-border);
}


.section {
  padding: var(--space-3xl) 0;
}

.section--dark {
  background: var(--clr-bg-alt);
}

.section--tinted {
  background: var(--clr-bg-tinted);
}

.section--wide .container {
  max-width: 1400px;
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-2xl);
}

.section__label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--clr-green);
  letter-spacing: 0.1em;
  text-transform: lowercase;
  margin-bottom: var(--space-sm);
}

.section__title {
  margin-bottom: var(--space-md);
}

.section__intro {
  color: var(--clr-text-dim);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 0;
}

.section__cta {
  text-align: center;
  margin-top: var(--space-2xl);
}


.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-card);
}

.card:hover {
  border-color: var(--clr-border-glow);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transform: translateY(-3px);
}

.card--featured {
  border-color: rgba(0, 255, 170, 0.2);
  background: linear-gradient(135deg, var(--clr-bg-card), rgba(0, 255, 170, 0.04));
}

.card--featured:hover {
  border-color: rgba(0, 255, 170, 0.4);
}

.card--compact {
  padding: var(--space-md);
}

.card--contact {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--clr-green-glow);
  border: 1px solid rgba(0, 255, 170, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-green);
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
  transition: all var(--transition-base);
}

.card:hover .card__icon { box-shadow: 0 0 20px rgba(0, 255, 170, 0.2); }

.card__icon--cyan {
  background: var(--clr-cyan-glow);
  border-color: rgba(0, 212, 255, 0.2);
  color: var(--clr-cyan);
}

.card:hover .card__icon--cyan { box-shadow: var(--shadow-cyan); }

.card__icon--magenta {
  background: var(--clr-magenta-glow);
  border-color: rgba(255, 45, 120, 0.2);
  color: var(--clr-magenta);
}

.card__icon--sm {
  width: 40px;
  height: 40px;
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.card__icon--lg {
  width: 64px;
  height: 64px;
  font-size: 1.6rem;
  margin: 0 auto var(--space-md);
}

.card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--clr-heading);
}

.card__title--sm { font-size: 1rem; }

.card__text {
  color: var(--clr-text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.card__link {
  color: var(--clr-green);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.card__link:hover { color: var(--clr-green-dim); }

.card__meta {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  margin-top: 0.4rem;
  margin-bottom: 0;
}


.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}


.persona-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}


.card-grid--two {
  grid-template-columns: 1fr;
}


.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: var(--space-sm);
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  background: var(--clr-bg-card);
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16/7;
}

.gallery__item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery__item:hover .gallery__img {
  transform: scale(1.07);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__caption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--clr-green);
  letter-spacing: 0.06em;
}


.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--clr-green) 0%, var(--clr-cyan) 50%, transparent 100%);
  opacity: 0.3;
}

.step {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  position: relative;
}

.step__number {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--clr-green);
  background: var(--clr-bg);
  border: 1px solid rgba(0, 255, 170, 0.3);
  border-radius: var(--radius-sm);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  letter-spacing: 0.05em;
  box-shadow: 0 0 16px rgba(0, 255, 170, 0.1);
}

.step__content { flex: 1; padding-top: 0.5rem; }

.step__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--clr-heading);
}

.step__text {
  color: var(--clr-text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}


.values-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.value {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.value:hover {
  border-color: var(--clr-border-glow);
  transform: translateX(4px);
}

.value__num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(0, 255, 170, 0.15);
  flex-shrink: 0;
  line-height: 1;
  width: 56px;
  padding-top: 0.2rem;
}

.value__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--clr-heading);
}

.value__text {
  color: var(--clr-text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}


.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.two-col--reverse .two-col__visual { order: -1; }

.two-col__text h2 { margin-bottom: var(--space-md); }

.two-col__text p {
  color: var(--clr-text-dim);
  margin-bottom: var(--space-md);
}

.two-col__text .btn { margin-top: var(--space-sm); }

.two-col__img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border);
}


.project-types {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.project-type {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.project-type:hover {
  border-color: var(--clr-border-glow);
  box-shadow: var(--shadow-glow);
}

.project-type__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--clr-green-glow);
  border: 1px solid rgba(0, 255, 170, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-green);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.project-type__icon--cyan {
  background: var(--clr-cyan-glow);
  border-color: rgba(0, 212, 255, 0.2);
  color: var(--clr-cyan);
}

.project-type__icon--magenta {
  background: var(--clr-magenta-glow);
  border-color: rgba(255, 45, 120, 0.2);
  color: var(--clr-magenta);
}

.project-type__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--clr-heading);
}

.project-type__content p {
  color: var(--clr-text-dim);
  font-size: 0.95rem;
  margin-bottom: 0;
}


.problem-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.problem {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.problem:hover { border-color: var(--clr-border-glow); }

.problem__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-bottom: 1px solid var(--clr-border);
}

.problem__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--clr-green-glow);
  border: 1px solid rgba(0, 255, 170, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-green);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.problem__icon--cyan {
  background: var(--clr-cyan-glow);
  border-color: rgba(0, 212, 255, 0.2);
  color: var(--clr-cyan);
}

.problem__icon--magenta {
  background: var(--clr-magenta-glow);
  border-color: rgba(255, 45, 120, 0.2);
  color: var(--clr-magenta);
}

.problem__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-heading);
}

.problem__body {
  padding: var(--space-lg);
}

.problem__body p {
  color: var(--clr-text-dim);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: var(--space-sm);
}

.problem__approach {
  background: rgba(0, 255, 170, 0.04);
  border: 1px solid rgba(0, 255, 170, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-top: var(--space-md);
}

.problem__approach-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--clr-green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.problem__approach p {
  margin-bottom: 0;
  font-size: 0.92rem;
}


.cta-block {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-block__title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.cta-block__text {
  color: var(--clr-text-dim);
  font-size: 1.05rem;
  margin-bottom: var(--space-lg);
}


.page-hero {
  padding: 10rem var(--space-md) var(--space-3xl);
  background: linear-gradient(135deg, #0a0c10 0%, #0d1117 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 170, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 170, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.page-hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--clr-text-dim);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 0;
}


.contact-page {
  padding: 8rem var(--space-md) var(--space-3xl);
}

.contact-page__inner {
  max-width: 680px;
  margin: 0 auto;
}

.contact-page__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.contact-page__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.contact-page__subtitle {
  color: var(--clr-text-dim);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-page__response-note {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-left: 3px solid var(--clr-cyan);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.contact-page__note-icon {
  color: var(--clr-cyan);
  font-size: 1.2rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.contact-page__response-note strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.contact-page__response-note p {
  color: var(--clr-text-dim);
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.65;
}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-heading);
  letter-spacing: 0.01em;
}

.form-field__input {
  width: 100%;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  color: var(--clr-heading);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-fast);
  min-height: 44px;
}

.form-field__input:focus {
  outline: none;
  border-color: var(--clr-green);
  box-shadow: 0 0 0 3px rgba(0, 255, 170, 0.1);
  background: rgba(0, 255, 170, 0.02);
}

.form-field__input::placeholder { color: var(--clr-text-muted); }

.form-field__input--textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.6;
}

.form-field__helper {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

.form-field--checkbox { flex-direction: row; }

.form-field__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  line-height: 1.5;
}

.form-field__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-field__checkbox-custom {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 4px;
  border: 2px solid var(--clr-border);
  background: var(--clr-bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  margin-top: 0.1rem;
}

.form-field__checkbox:checked + .form-field__checkbox-custom {
  background: var(--clr-green);
  border-color: var(--clr-green);
}

.form-field__checkbox:checked + .form-field__checkbox-custom::after {
  content: '';
  width: 5px;
  height: 9px;
  border: 2px solid #0a0d10;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

.form-field__checkbox-text {
  font-size: 0.88rem;
  color: var(--clr-text-dim);
}

.form-field__link {
  color: var(--clr-green);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.form-field__link:hover { color: var(--clr-green-dim); }


.iti__country-list {
  background: var(--clr-bg-card) !important;
  border-color: var(--clr-border) !important;
  color: var(--clr-text) !important;
}

.iti__country.iti__highlight { background: var(--clr-surface) !important; }
.iti__dial-code { color: var(--clr-text-muted) !important; }
.iti__selected-flag { background: transparent !important; }
.iti__arrow { border-top-color: var(--clr-text-muted) !important; }


.contact-map {
  margin-top: var(--space-2xl);
}

.contact-map__title {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  color: var(--clr-heading);
}

.contact-map__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
}

.contact-map__address {
  margin-top: var(--space-sm);
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-map__address i { color: var(--clr-magenta); }


.thanks-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--space-md);
}

.thanks-page__content {
  text-align: center;
  max-width: 480px;
}

.thanks-page__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--clr-green-glow);
  border: 2px solid rgba(0, 255, 170, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-green);
  font-size: 2rem;
  margin: 0 auto var(--space-xl);
  box-shadow: 0 0 40px rgba(0, 255, 170, 0.15);
}

.thanks-page__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.thanks-page__text {
  color: var(--clr-text-dim);
  font-size: 1.1rem;
  margin-bottom: var(--space-2xl);
}


.legal-page {
  padding: 8rem var(--space-md) var(--space-3xl);
}

.legal-page__header {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--clr-border);
}

.legal-page__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.legal-page__meta {
  color: var(--clr-text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-xs);
}

.legal-page__date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--clr-green);
  letter-spacing: 0.06em;
  margin-bottom: 0;
}

.legal-section {
  margin-bottom: var(--space-2xl);
}

.legal-section__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: var(--space-md);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--clr-border);
}

.legal-section__title--plain {
  border-bottom: none;
}

.legal-section__subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-heading);
  margin: var(--space-md) 0 var(--space-sm);
}

.legal-section p {
  color: var(--clr-text-dim);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.legal-section ul {
  list-style: disc;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal-section ul li {
  color: var(--clr-text-dim);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.4rem;
}

.legal-summary {
  background: rgba(0, 255, 170, 0.06);
  border: 1px solid rgba(0, 255, 170, 0.2);
  border-left: 3px solid var(--clr-green);
  border-radius: var(--radius-sm);
  padding: 0.75rem var(--space-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-green);
  margin-bottom: var(--space-md);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.legal-summary--letter {
  border-left-color: var(--clr-cyan);
  color: var(--clr-cyan);
  background: rgba(0, 212, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.2);
  border-left: 3px solid var(--clr-cyan);
}

.legal-intro-box {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.legal-intro-box p {
  color: var(--clr-text-dim);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.legal-callout {
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-cyan);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.legal-link {
  color: var(--clr-green);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.legal-link:hover { color: var(--clr-green-dim); }


.cookie-table-wrapper {
  overflow-x: auto;
  margin: var(--space-md) 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.cookie-table th,
.cookie-table td {
  padding: 0.75rem var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--clr-border);
}

.cookie-table th {
  background: var(--clr-bg-card);
  color: var(--clr-heading);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.cookie-table td { color: var(--clr-text-dim); }
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table code {
  font-family: var(--font-mono);
  color: var(--clr-green);
  font-size: 0.85em;
}


.footer {
  background: #080a0d;
  border-top: 1px solid var(--clr-border);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer__logo {
  height: 36px;
  width: auto;
  margin-bottom: var(--space-sm);
}

.footer__tagline {
  color: var(--clr-text-dim);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

.footer__legal-short {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--clr-text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

.footer__heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--clr-green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  color: var(--clr-text-dim);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  padding: 0.2rem 0;
}

.footer__link:hover { color: var(--clr-green); }

.footer__text {
  color: var(--clr-text-muted);
  font-size: 0.82rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.footer__bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__copy {
  color: var(--clr-text-muted);
  font-size: 0.82rem;
  margin-bottom: 0;
}

.footer__gdpr {
  color: var(--clr-text-muted);
  font-size: 0.78rem;
  margin-bottom: 0;
}


.cookie-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.cookie-backdrop.is-visible { opacity: 1; }

.cookie-modal {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  max-width: 520px;
  max-height: 90%;
  overflow-y: auto;
  width: 100%;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 255, 170, 0.08);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-slow);
}

.cookie-backdrop.is-visible .cookie-modal {
  transform: translateY(0) scale(1);
}

.cookie-modal__icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  display: block;
}

.cookie-modal__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--clr-heading);
}

.cookie-modal__text {
  color: var(--clr-text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: var(--space-lg);
}

.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 0.75rem var(--space-md);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
}

.cookie-category__info { flex: 1; }

.cookie-category__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-heading);
  display: block;
  margin-bottom: 0.2rem;
}

.cookie-category__desc {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  line-height: 1.4;
}

.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--clr-border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.cookie-toggle input:checked + .cookie-toggle__slider {
  background: var(--clr-green);
}

.cookie-toggle input:checked + .cookie-toggle__slider::before {
  transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle__slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-modal__actions .btn {
  width: 100%;
  justify-content: center;
}

.cookie-modal__legal {
  margin-top: var(--space-md);
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  text-align: center;
  line-height: 1.5;
}

.cookie-modal__legal a {
  color: var(--clr-text-dim);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.cookie-modal__legal a:hover { color: var(--clr-green); }


.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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


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

@keyframes heroIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}


@media (min-width: 640px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .card-grid--two { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .persona-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
  .cookie-modal__actions { flex-direction: row; }
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }

  .hero {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .hero__visual { margin-top: 0; }

  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col--reverse .two-col__visual { order: 0; }

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

  .gallery__item--wide {
    grid-column: span 2;
    aspect-ratio: 16/7;
  }

  .gallery__item--tall { aspect-ratio: auto; }
}

@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(4, 1fr); }
  .persona-grid { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .gallery__item--tall {
    grid-row: span 2;
  }
}

@media (max-width: 639px) {
  .strip__divider { display: none; }
  .strip__inner { gap: var(--space-sm); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .step { gap: var(--space-md); }
  .steps::before { left: 20px; }
  .step__number { width: 40px; height: 40px; font-size: 0.7rem; }
  .problem__header { flex-wrap: wrap; }
  .value { flex-direction: column; }
  .value__num { width: auto; }
  .project-type { flex-direction: column; }
}