/* ============================================================
   Innovia Labs — Design System & Layout
   Dark Premium Theme · Inter + Space Grotesk
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg-0:           #080412;
  --bg-1:           #0D0620;
  --bg-2:           #130B28;
  --bg-3:           #1C1238;
  --border:         rgba(126,200,232,0.13);
  --border-hi:      rgba(126,200,232,0.32);

  --txt-1:          #F4F0FF;
  --txt-2:          #A89EC4;
  --txt-3:          #5E5480;

  /* ── Feature flags (set to initial value to enable) ─────── */
  --show-roles:     none;   /* flip to 'inline-flex' to show project role labels */

  --accent:         #7EC8E8;
  --accent-glow:    rgba(126,200,232,0.22);
  --cyan:           #A8E4F8;
  --pink:           #F5A3BE;
  --coral:          #F49898;
  --brand-purple:   #3E105C;
  --purple:         #9B4FC8;
  --green:          #10B981;
  --amber:          #F59E0B;
  --rose:           #F43F5E;

  --gradient-brand: linear-gradient(90deg, var(--pink) 0%, var(--accent) 100%);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   26px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(79,142,247,0.2);

  --nav-h:       72px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--txt-1);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; }

/* ── Typography scale ───────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ── Utilities ──────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.pill--accent  { background: rgba(79,142,247,0.15);  color: var(--accent); }
.pill--cyan    { background: rgba(34,211,238,0.12);   color: var(--cyan); }
.pill--purple  { background: rgba(124,58,237,0.15);   color: var(--purple); }
.pill--green   { background: rgba(16,185,129,0.12);   color: var(--green); }
.pill--amber   { background: rgba(245,158,11,0.12);   color: var(--amber); }
.pill--rose    { background: rgba(244,63,94,0.12);    color: var(--rose); }
.pill--coral   { background: rgba(244,152,152,0.14);  color: var(--coral); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--bg-0);
  box-shadow: 0 4px 24px rgba(126,200,232,0.3);
}
.btn--primary:hover {
  background: #9fd8ef;
  box-shadow: 0 6px 32px rgba(126,200,232,0.45);
  transform: translateY(-2px);
}
.btn--ghost {
  border: 1.5px solid var(--border-hi);
  color: var(--txt-1);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

/* ── Sections ───────────────────────────────────────────────── */
.section {
  padding: 100px 0;
  position: relative;
}
.section--alt { background: var(--bg-1); }
.section__header {
  text-align: center;
  margin-bottom: 64px;
}
.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--txt-1);
  margin-bottom: 16px;
}
.section__subtitle {
  font-size: 1.05rem;
  color: var(--txt-2);
  max-width: 580px;
  margin: 0 auto;
}

/* ── Scroll animations ──────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(6,10,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
}
.nav__logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--brand-purple), var(--purple));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
/* Text wordmark (replaces logo image) */
.nav__wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1;
  transition: opacity var(--transition), transform var(--transition);
}
.nav__logo:hover .nav__wordmark {
  opacity: 0.85;
  transform: scale(1.03);
}
.nav__wordmark-innovia {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.nav__wordmark-labs {
  background: linear-gradient(90deg, #FFF0EB 0%, #F4966A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-left: 0.6em;
}
.nav__logo-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--txt-1);
  letter-spacing: -0.01em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav__link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--txt-2);
  transition: var(--transition);
}
.nav__link:hover {
  color: var(--txt-1);
  background: var(--bg-3);
}
.nav__link--cta {
  background: var(--accent);
  color: var(--bg-0) !important;
  padding: 9px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
}
.nav__link--cta:hover {
  background: #9fd8ef;
  transform: translateY(-1px);
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--txt-1);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
}

/* Dot grid background */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(rgba(62,16,92,0.75) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}

/* Glowing orbs */
.hero__orbs { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  animation: orb-drift 12s ease-in-out infinite;
}
.hero__orb--1 {
  width: 850px; height: 850px;
  background: radial-gradient(circle, var(--brand-purple), transparent 70%);
  top: -300px; right: -200px;
  animation-duration: 14s;
  opacity: 0.55;
}
.hero__orb--2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--pink), transparent 70%);
  bottom: -120px; left: -220px;
  animation-duration: 18s;
  animation-delay: -6s;
  opacity: 0.18;
}
.hero__orb--3 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: 35%; left: 33%;
  opacity: 0.14;
  animation-duration: 10s;
  animation-delay: -3s;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -30px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.97); }
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 860px;
}

/* ── Hero background photo ──────────────────────────────────── */
.hero__photo-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  /* Strip colour, deeply darken – what remains is texture & silhouette */
  filter: saturate(0.1) brightness(0.32);
  transform: scale(1.04); /* tiny over-crop so the gradient edges are pixel-clean */
}
/* Multi-layer gradient — fades the photo into the brand colour story */
.hero__photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Hard seal at the bottom so it merges with the next section */
    linear-gradient(to top,
      var(--bg-0) 0%,
      rgba(8,4,18,0.93) 18%,
      rgba(8,4,18,0.55) 42%,
      transparent 68%
    ),
    /* Seal the top behind the nav */
    linear-gradient(to bottom,
      var(--bg-0) 0%,
      transparent 16%
    ),
    /* Side vignettes */
    linear-gradient(to right,
      var(--bg-0) 0%,
      transparent 16%,
      transparent 84%,
      var(--bg-0) 100%
    ),
    /* Brand-purple atmospheric wash — ties the photo into the palette */
    radial-gradient(ellipse 130% 85% at 50% 15%,
      rgba(62,16,92,0.65) 0%,
      rgba(8,4,18,0.15) 75%
    );
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border: 1px solid rgba(245,163,190,0.32);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
  background: rgba(245,163,190,0.07);
  margin-bottom: 28px;
  animation: fade-up 0.8s ease both;
}
.hero__badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}
.hero__title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  margin-bottom: 28px;
  animation: fade-up 0.8s ease 0.15s both;
}
.hero__title-line { display: block; }
.hero__title-line--accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--txt-2);
  max-width: 580px;
  margin: 0 auto 42px;
  line-height: 1.75;
  animation: fade-up 0.8s ease 0.3s both;
}
.hero__stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 36px;
  margin-bottom: 40px;
  animation: fade-up 0.8s ease 0.45s both;
}
.hero__stat {
  text-align: center;
  padding: 0 28px;
}
.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}
.hero__stat-number {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--txt-1);
  line-height: 1;
  margin-bottom: 5px;
}
.hero__stat-number .count { color: var(--accent); }
.hero__stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fade-up 0.8s ease 0.6s both;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--txt-3);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fade-up 1s ease 1.2s both;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--border-hi), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.2); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════════ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 220px 220px at 0px 0px, rgba(62,16,92,0.35), transparent);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 48px; height: 48px;
  background: rgba(62,16,92,0.45);
  border: 1px solid rgba(126,200,232,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.service-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--txt-1);
  margin-bottom: 12px;
}
.service-card__desc {
  font-size: 0.88rem;
  color: var(--txt-2);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   PROJECTS
═══════════════════════════════════════════════════════════════ */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.project-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}
.project-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-3);
}
.project-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card__img-wrap img {
  transform: scale(1.04);
}
.project-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6,10,20,0.0) 40%, rgba(6,10,20,0.85) 100%);
}
.project-card__year {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(240,244,255,0.75);
  background: rgba(6,10,20,0.7);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid var(--border);
}
.project-card__body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.project-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.project-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--txt-1);
  line-height: 1.3;
}
.project-card__desc {
  font-size: 0.87rem;
  color: var(--txt-2);
  line-height: 1.7;
  flex: 1;
}
.project-card__role {
  display: var(--show-roles);
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--txt-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px 9px;
}
.project-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}
.tech-tag {
  display: inline-block;
  padding: 3px 9px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--txt-2);
  transition: var(--transition);
}
.tech-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   TECH STACK
═══════════════════════════════════════════════════════════════ */
.stack__categories {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.stack__cat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.stack__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.stack-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--txt-1);
  transition: var(--transition);
}
.stack-badge:hover {
  border-color: var(--border-hi);
  background: var(--bg-3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.stack-badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.stack-badge__dot--cyan   { background: var(--cyan); }
.stack-badge__dot--purple { background: var(--purple); }
.stack-badge__dot--green  { background: var(--green); }
.stack-badge__dot--amber  { background: var(--amber); }
.stack-badge__dot--rose   { background: var(--rose); }

/* ═══════════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════════ */
.about__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}
.about__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.about__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--txt-1);
  margin-bottom: 24px;
}
.about__copy {
  font-size: 0.97rem;
  color: var(--txt-2);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about__copy strong { color: var(--txt-1); font-weight: 600; }
.about__founder {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding: 20px 22px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.about__founder-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-purple), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.about__founder-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--txt-1);
}
.about__founder-title {
  font-size: 0.8rem;
  color: var(--txt-3);
  margin-top: 2px;
}
.about__milestones {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.milestone {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: var(--transition);
}
.milestone:hover {
  border-color: var(--border-hi);
  transform: translateX(4px);
}
.milestone__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 5px;
}
.milestone__label {
  font-size: 0.82rem;
  color: var(--txt-2);
  font-weight: 500;
}
.milestone__accent--cyan   .milestone__number { color: var(--cyan); }
.milestone__accent--purple .milestone__number { color: var(--purple); }
.milestone__accent--green  .milestone__number { color: var(--green); }

/* ═══════════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════════ */
.contact {
  background: var(--bg-1);
}
.contact__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.contact__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--txt-1);
  margin-bottom: 18px;
}
.contact__subtitle {
  font-size: 1rem;
  color: var(--txt-2);
  max-width: 500px;
  margin: 0 auto 44px;
  line-height: 1.75;
}
.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
  align-items: center;
}
.contact__channel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 300px;
  transition: var(--transition);
  color: var(--txt-1);
}
.contact__channel:hover {
  border-color: var(--border-hi);
  background: var(--bg-3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.contact__channel-icon {
  width: 36px; height: 36px;
  background: rgba(62,16,92,0.5);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact__channel-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--txt-3);
  display: block;
  margin-bottom: 2px;
}
.contact__channel-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--txt-1);
}
.contact__cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--txt-2);
}
.footer__logo-mark {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--brand-purple), var(--purple));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}
.footer__copy {
  font-size: 0.82rem;
  color: var(--txt-3);
  text-align: center;
}
.footer__links {
  display: flex;
  gap: 20px;
}
.footer__link {
  font-size: 0.82rem;
  color: var(--txt-3);
  transition: var(--transition);
}
.footer__link:hover { color: var(--accent); }

/* ── Decorative divider line between sections ────────────────── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-hi), transparent);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__layout { grid-template-columns: 1fr; gap: 48px; }
  .about__milestones {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 72px 0; }
  .services__grid { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr; }
  .hero__stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px 28px;
  }
  .hero__stat-divider { width: 48px; height: 1px; }
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(6,10,20,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__link { padding: 12px 16px; border-radius: var(--radius-md); font-size: 1rem; }
  .nav__link--cta { text-align: center; margin-top: 8px; padding: 13px 20px; }
  .nav__hamburger { display: flex; }
  .about__milestones { grid-template-columns: 1fr; }
  .contact__channel { min-width: unset; width: 100%; max-width: 380px; }
  .footer__inner { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
}
