@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-regular-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff2') format('woff2');
}

:root {
  --bg-0: #09090b;
  --bg-1: #0f0f12;
  --bg-2: #16161a;
  --bg-3: #1e1e24;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text-0: #fafafa;
  --text-1: #a1a1aa;
  --text-2: #71717a;
  --text-3: #3f3f46;

  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-dim: rgba(37, 99, 235, 0.12);
  --accent-glow: rgba(37, 99, 235, 0.35);

  --gradient-text: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);

  --f-heading: "Space Grotesk", "Inter", sans-serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: "JetBrains Mono", monospace;

  --nav-h: 76px;
  --container: 1400px;
  --gap: 24px;
  --section-py: 140px;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 100px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0.55, 0.45, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 0.35s;
}

body:not(.dark-theme) {
  --bg-0: #fafafa;
  --bg-1: #f5f5f5;
  --bg-2: #ffffff;
  --bg-3: #e8e8ec;
  --bg-card: rgba(0, 0, 0, 0.02);
  --bg-card-hover: rgba(0, 0, 0, 0.04);
  --border: rgba(0, 0, 0, 0.06);
  --border-hover: rgba(0, 0, 0, 0.12);
  --border-strong: rgba(0, 0, 0, 0.18);
  --text-0: #09090b;
  --text-1: #52525b;
  --text-2: #71717a;
  --text-3: #d4d4d8;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-dim: rgba(37, 99, 235, 0.08);
  --accent-glow: rgba(37, 99, 235, 0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  background: var(--bg-0);
  color: var(--text-0);
  line-height: 1.6;
  overflow-x: hidden;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

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

::selection {
  background: var(--accent);
  color: #fff;
}

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

.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(9, 10, 15, 0.78);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition:
    background var(--dur),
    border-color var(--dur),
    box-shadow var(--dur);
  will-change: transform;
}

body:not(.dark-theme) .nav-wrap {
  background: rgba(250, 250, 250, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-wrap.scrolled {
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 96%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 0;
  height: 100%;
}

.nav__logo-img {
  height: 44px;
  width: auto;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s;
}

.nav__logo-img:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

body:not(.dark-theme) .nav__logo-img {
  filter: brightness(0) saturate(100%) invert(18%) sepia(15%) saturate(800%)
    hue-rotate(190deg) brightness(90%);
  opacity: 0.85;
}

body:not(.dark-theme) .nav__logo-img:hover {
  opacity: 1;
}

.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}

body:not(.dark-theme) .nav__links {
  background: transparent;
  border: none;
}

.nav__link {
  position: relative;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-1);
  transition: color 0.3s var(--ease);
  text-decoration: none;
  background: none;
  display: inline-block;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-0);
  background: none;
}

/* Modern Business Animation (Smooth center-out expansion) */
.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-light, #3b82f6);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.45s cubic-bezier(0.25, 1, 0.5, 1) !important;
  pointer-events: none;
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link:hover::after {
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

/* Remove old pill stuff */
.nav__link::before { display: none; }
.nav__link .nav__link-bg { display: none; }
.nav__link-text { position: relative; z-index: 1; }

.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__theme {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  color: var(--text-1);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.nav__theme:hover {
  border-color: var(--accent);
  color: #ffffff;
  background: rgba(56, 189, 248, 0.15);
  transform: scale(1.05);
}

/* Modern Business Segmented Language Switch (Sliding Capsule Pill) */
.nav__lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 76px;
  height: 38px;
  padding: 3px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--f-body, sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

body:not(.dark-theme) .nav__lang {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

.nav__lang:hover {
  border-color: var(--accent);
}

/* The Sliding Capsule Pill */
.nav__lang::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: var(--r-full);
  background: var(--accent);
  box-shadow: 0 2px 8px var(--accent-glow);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1) !important;
  will-change: transform;
  z-index: 1;
}

/* Smooth Slide to EN */
.nav__lang.is-en::before,
html[lang="en"] .nav__lang::before {
  transform: translateX(100%);
}

.nav__lang .lang-divider {
  display: none;
}

.nav__lang .lang-opt {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-2);
  transition: color 0.45s var(--ease), opacity 0.45s var(--ease);
}

.nav__lang .lang-opt.active {
  color: #ffffff !important;
  font-weight: 700;
  opacity: 1;
}

.nav__lang .lang-opt:not(.active) {
  color: var(--text-2);
  opacity: 0.6;
}

/* Clean Text-Only Crossfade for Language Switch (Zero lag, pure opacity) */
body.i18n-fade-out [data-i18n]:not(.nav__link),
body.i18n-fade-out [data-i18n-html],
body.i18n-fade-out .section__title,
body.i18n-fade-out .section__tag,
body.i18n-fade-out .hero__title,
body.i18n-fade-out .hero__lead,
body.i18n-fade-out .hero__status,
body.i18n-fade-out .btn span,
body.i18n-fade-out .cert-item__title,
body.i18n-fade-out .cert-item__date,
body.i18n-fade-out .human-contact__title,
body.i18n-fade-out .human-contact__desc,
body.i18n-fade-out .footer__desc,
body.i18n-fade-out .footer__tagline,
body.i18n-fade-out .footer__col h4,
body.i18n-fade-out .footer__col a {
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

body.i18n-fade-out .nav__link {
  color: transparent !important;
  transition: color 0.3s ease !important;
}

[data-i18n]:not(.nav__link),
[data-i18n-html],
.section__title,
.section__tag,
.hero__title,
.hero__lead,
.hero__status,
.btn span,
.cert-item__title,
.cert-item__date,
.human-contact__title,
.human-contact__desc,
.footer__desc,
.footer__tagline,
.footer__col h4,
.footer__col a {
  transition: opacity 0.4s ease;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-full);
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
  text-decoration: none;
}

.nav__cta:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
  color: #ffffff;
}

.nav__cta svg {
  transition: transform 0.25s var(--ease);
}

.nav__cta:hover svg {
  transform: translate(2px, -2px);
}

.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav__burger span {
  width: 22px;
  height: 1.5px;
  background: var(--text-0);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.nav__burger.active span:first-child {
  transform: rotate(45deg) translate(3px, 3px);
}

.nav__burger.active span:last-child {
  transform: rotate(-45deg) translate(3px, -3px);
}

@media (max-width: 768px) {
  .nav__right {
    gap: 8px;
  }

  .nav__lang {
    width: 66px;
    height: 32px;
    padding: 2px;
  }

  .nav__lang::before {
    top: 2px;
    bottom: 2px;
    left: 2px;
    width: calc(50% - 2px);
  }

  .nav__lang .lang-opt {
    font-size: 0.7rem;
  }

  .nav__burger {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 20px 18px 24px;
    gap: 6px;
    background: var(--bg-1);
    border: none;
    border-bottom: 1px solid var(--border);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(-130%);
    opacity: 0;
    transition:
      transform 0.4s var(--ease),
      opacity 0.4s;
  }

  body:not(.dark-theme) .nav__links {
    background: var(--bg-1);
    border: none;
    border-bottom: 1px solid var(--border);
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav__link {
    padding: 14px 20px;
    text-align: center;
    font-size: 1rem;
    width: 100%;
    border-radius: 0;
  }
  .nav__link::after {
    display: none;
  }
  .nav__link:hover,
  .nav__link.active {
    color: var(--accent);
  }
}

.hero--editorial {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
  background: var(--bg-0);
}

.hero__container {
  width: 94%;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Ambient & Entrance Keyframe Animations */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSubtle {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-8px);
  }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--r-full);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  font-family: var(--f-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: #4ade80;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

body:not(.dark-theme) .hero__status {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.25);
  color: #16a34a;
}

.hero__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseGreen 2.2s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 14px #22c55e;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.hero__title {
  font-family: var(--f-heading);
  font-size: clamp(2.8rem, 4.8vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-0);
  margin-bottom: 22px;
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.hero__title-accent,
.text-gradient {
  color: #2563eb;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: initial;
  background-clip: unset;
}

body:not(.dark-theme) .hero__title-accent,
body:not(.dark-theme) .text-gradient {
  color: #2563eb;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: initial;
  background-clip: unset;
}

.hero__lead {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.68;
  color: var(--text-1);
  max-width: 620px;
  margin-bottom: 34px;
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.hero__lead strong {
  color: var(--text-0);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

.hero__btn {
  font-size: 0.95rem;
  padding: 13px 26px;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s,
    border-color 0.3s;
}

.hero__btn:hover {
  transform: translateY(-3px);
}

.hero__btn .fa-arrow-right-long {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.hero__btn:hover .fa-arrow-right-long {
  transform: translateX(4px);
}

/* Hero Visual: Architectural Overlap Stage */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero__stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 54px;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.hero__stage-backdrop {
  position: absolute;
  top: 54px;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.015) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 50px -12px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  z-index: 1;
  pointer-events: none;
}

body:not(.dark-theme) .hero__stage-backdrop {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow:
    0 20px 40px -12px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero__stage-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  line-height: 0;
  margin-bottom: -22px;
}

.hero__stage-picture {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  line-height: 0;
}

.hero__stage-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__stage:hover .hero__stage-img {
  transform: translateY(-4px) scale(1.015);
}

.hero__stage-dock {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 15px 20px;
  background: #0e121a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 28px 28px;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.4);
}

body:not(.dark-theme) .hero__stage-dock {
  background: #ffffff;
  border-top-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.04);
}

.hero__stage-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition:
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.hero__stage-link i.fab,
.hero__stage-link i.fas:first-child {
  font-size: 0.92rem;
  color: var(--text-2);
  transition: color 0.25s var(--ease);
}

.hero__stage-arrow {
  font-size: 0.7rem;
  opacity: 0.6;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s var(--ease);
}

.hero__stage-link:hover {
  color: #2563eb;
}

.hero__stage-link:hover i.fab,
.hero__stage-link:hover i.fas:first-child {
  color: #2563eb;
}

.hero__stage-link:hover .hero__stage-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

body:not(.dark-theme) .hero__stage-link:hover,
body:not(.dark-theme) .hero__stage-link:hover i.fab,
body:not(.dark-theme) .hero__stage-link:hover i.fas:first-child {
  color: #2563eb;
}

.hero__stage-sep {
  color: var(--border-strong);
  font-size: 0.82rem;
  user-select: none;
  opacity: 0.6;
}

@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__visual {
    order: -1;
  }
  .hero__stage {
    max-width: 380px;
    padding-top: 46px;
  }
  .hero__stage-backdrop {
    top: 46px;
  }
  .hero__stage-dock {
    border-radius: 0 0 24px 24px;
    padding: 13px 18px;
  }
}

@media (max-width: 768px) {
  .hero--editorial {
    padding: calc(var(--nav-h) + 16px) 0 44px;
  }
  .hero__grid {
    gap: 22px;
  }
  .hero__stage {
    max-width: 100%;
    padding-top: 0;
    gap: 14px;
  }
  .hero__stage-backdrop {
    display: none;
  }
  .hero__stage-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0;
    border: 3px solid rgba(37, 99, 235, 0.85);
    background: #111520;
    box-shadow:
      0 10px 30px -5px rgba(0, 0, 0, 0.65),
      0 0 20px rgba(37, 99, 235, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  body:not(.dark-theme) .hero__stage-photo {
    background: #f1f5f9;
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow:
      0 10px 24px -6px rgba(0, 0, 0, 0.12),
      0 0 16px rgba(37, 99, 235, 0.2);
  }
  .hero__stage-picture {
    width: 100%;
    height: 100%;
    display: block;
  }
  .hero__stage-img {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    transform: none;
    display: block;
  }
  .hero__stage:hover .hero__stage-img {
    transform: none;
  }
  .hero__stage-dock {
    width: auto;
    background: transparent;
    border-top: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    gap: 14px;
  }
  .hero__stage-link {
    font-size: 0.82rem;
    gap: 5px;
  }
  .hero__stage-sep {
    font-size: 0.75rem;
    opacity: 0.4;
  }
  .hero__title {
    font-size: clamp(2rem, 7.5vw, 2.5rem);
    margin-bottom: 16px;
  }
  .hero__lead {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero__btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__status,
  .hero__title,
  .hero__lead,
  .hero__actions,
  .hero__stage,
  .hero__stage-img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--r-full);
  border: none;
  transition:
    background 0.35s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn--primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.btn--outline {
  background: transparent;
  color: var(--text-0);
  border: 1.5px solid var(--border-strong);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.section {
  padding: var(--section-py) 0;
  position: relative;
  contain: layout style;
}

#about,
#skills,
#contact {
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
}

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

.section__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.section__num {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
}

.section__tag {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-2);
}

.section__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section__header {
  margin-bottom: 64px;
}

.section__title {
  font-family: var(--f-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 500px;
  line-height: 1.7;
}

.section__cta {
  text-align: center;
  margin-top: 60px;
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tag {
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--r-full);
  color: var(--text-2);
}

.tag--accent {
  color: var(--accent);
  border-color: rgba(0, 212, 170, 0.25);
  background: var(--accent-dim);
}

/* ==========================================================================
   Projects Section - Showcase & Bento Grid
   ========================================================================== */
.projects-showcase {
  margin-top: 60px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* --- Flagship Project Spotlight --- */
.project-spotlight {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 18px;
  transition:
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    transform 0.4s var(--ease);
  position: relative;
}

.project-spotlight:hover {
  border-color: var(--accent);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(37, 99, 235, 0.12);
}

@media (min-width: 992px) {
  .project-spotlight {
    flex-direction: row;
    align-items: center;
    padding: 18px 20px;
    gap: 26px;
  }
}

.project-spotlight__visual {
  position: relative;
  overflow: hidden;
  background: transparent;
  border-radius: 12px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .project-spotlight__visual {
    flex: 1.2;
  }
}

.project-spotlight__visual img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

body:not(.dark-theme) .project-spotlight__visual img {
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.project-spotlight:hover .project-spotlight__visual img {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.55),
    0 0 20px rgba(37, 99, 235, 0.15);
}

.project-badge-flagship {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(18, 18, 24, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(37, 99, 235, 0.5);
  border-radius: var(--r-full);
  z-index: 2;
}

.project-badge-flagship .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.project-spotlight__content {
  flex: 1;
  padding: 4px 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-category {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.project-spotlight__title {
  font-family: var(--f-heading);
  font-size: clamp(1.18rem, 1.4vw, 1.42rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-0);
  margin-bottom: 8px;
}

.project-spotlight__desc {
  font-size: 0.84rem;
  line-height: 1.52;
  color: var(--text-2);
  margin-bottom: 12px;
}

.project-stats-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.project-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--text-1);
  font-weight: 500;
}

body:not(.dark-theme) .project-stat-pill {
  background: rgba(0, 0, 0, 0.03);
}

.project-stat-pill i {
  color: var(--accent);
  font-size: 0.68rem;
}

.project-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.project-tag-pill {
  padding: 3px 8px;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
}

body:not(.dark-theme) .project-tag-pill {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

.project-spotlight__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.project-spotlight__actions .btn {
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  min-height: 0;
}

/* --- 2x2 Bento Grid --- */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 14px;
  transition:
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  position: relative;
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow:
    0 14px 35px rgba(0, 0, 0, 0.3),
    0 0 24px rgba(37, 99, 235, 0.1);
}

.project-card__visual {
  position: relative;
  overflow: hidden;
  background: transparent;
  border: none;
  height: auto;
  padding: 0;
  display: block;
}

.project-card__visual img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

body:not(.dark-theme) .project-card__visual img {
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.project-card:hover .project-card__visual img {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.project-card__body {
  padding: 0 2px 2px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card__title {
  font-family: var(--f-heading);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-0);
  margin-bottom: 6px;
}

.project-card__desc {
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--text-2);
  margin-bottom: 12px;
}

.project-card__footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

body:not(.dark-theme) .project-card__footer {
  border-top-color: rgba(0, 0, 0, 0.06);
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-0);
  transition: color 0.3s var(--ease);
}

.project-card__link i {
  color: var(--accent);
  transition: transform 0.3s var(--ease);
  font-size: 0.76rem;
}

.project-card:hover .project-card__link {
  color: var(--accent);
}

.project-card:hover .project-card__link i {
  transform: translateX(4px);
}

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

.skill-categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.cat-chip {
  padding: 8px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--r-full);
  color: var(--text-2);
  transition: all 0.3s var(--ease);
  letter-spacing: 0.5px;
}

.cat-chip:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-1);
}

.cat-chip.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.skills-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.skill-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  transition:
    border-color 0.4s var(--ease-spring),
    transform 0.4s var(--ease-spring),
    box-shadow 0.4s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.skill-tile.is-hidden {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  visibility: hidden;
  position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
}

.skill-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.skill-tile:hover {
  border-color: var(--accent);
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(37, 99, 235, 0.15);
}

.skill-tile:hover::before {
  opacity: 1;
}

.skill-tile i {
  font-size: 1.4rem;
  color: var(--text-1);
  width: 28px;
  text-align: center;
  flex-shrink: 0;
  transition: color 0.3s var(--ease);
  position: relative;
  z-index: 1;
}

.skill-tile:hover i {
  color: var(--accent);
}

.skill-tile span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-1);
  position: relative;
  z-index: 1;
}

.skill-tile:hover span {
  color: #fff;
}

.certs-catalog {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.certs-catalog__preview {
  position: sticky;
  top: 120px;
  padding: 40px;
  transition: all 0.4s var(--ease-spring);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.certs-catalog__preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 100%
  );
  pointer-events: none;
}

.cert-preview-inner {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  transition:
    opacity 0.15s var(--ease),
    transform 0.15s var(--ease);
}

.cert-preview-inner.is-fading {
  opacity: 0;
  transform: translateY(8px);
}

.cert-preview__date {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.cert-preview__title {
  font-family: var(--f-heading);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 24px;
  line-height: 1.2;
}

.cert-preview__desc {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 40px;
}

.cert-preview__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cert-preview__id {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 16px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-preview__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-0);
  background: var(--accent);
  padding: 10px 24px;
  border-radius: var(--r-full);
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.cert-preview__link:hover {
  background: var(--text-0);
  color: var(--bg-0);
  gap: 12px;
}

.certs-catalog__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px 32px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-align: left;
  width: 100%;
}

.cert-item:hover,
.cert-item.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(-8px);
}

.cert-item.active {
  border-left: 4px solid var(--accent);
}

.cert-item__date {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--text-2);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.cert-item__title {
  font-family: var(--f-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-0);
}

@media (max-width: 992px) {
  .certs-catalog {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .certs-catalog__preview {
    position: relative;
    top: 0;
  }
}

@media (max-width: 768px) {
  .cert-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .section__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .skills-mosaic {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
}

.bento-contact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 24px;
  padding: 40px 0 80px;
}

.bento-item {
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition:
    border-color 0.4s var(--ease-spring),
    transform 0.4s var(--ease-spring),
    box-shadow 0.4s var(--ease-spring);
}

.bento-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.bento-item--main {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: space-between;
}

.bento-item--link {
  grid-column: span 1;
  grid-row: span 1;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.bento-item--wide {
  grid-column: span 2;
  grid-row: span 1;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.bento-item:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.15),
    0 0 20px rgba(37, 99, 235, 0.05);
}

.bento-item:hover::before {
  opacity: 1;
}

.contact-title {
  font-family: var(--f-heading);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.5;
  max-width: 90%;
}

.bento-item__bottom {
  margin-top: auto;
  padding-top: 24px;
}

.contact-email {
  display: inline-block;
  font-family: var(--f-heading);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 700;
  color: var(--text-0);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.contact-email::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s var(--ease);
}

.contact-email:hover::after {
  transform: scaleX(1);
  
}

.bento-social-icon {
  font-size: 2.5rem;
  color: var(--text-0);
  transition:
    color 0.3s var(--ease),
    transform 0.4s var(--ease-spring);
  position: relative;
  z-index: 1;
}

.bento-item--wide .bento-social-icon {
  font-size: 2rem;
}

.bento-item:hover .bento-social-icon {
  color: var(--accent);
  transform: scale(1.1);
}

.bento-social-info {
  position: relative;
  z-index: 1;
}

.bento-item--wide .bento-social-info {
  flex: 1;
}

.bento-social-info h4 {
  font-family: var(--f-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-0);
  margin-bottom: 2px;
}

.bento-social-info p {
  font-size: 0.85rem;
  color: var(--text-2);
}

.bento-social-arrow {
  font-size: 1.2rem;
  color: var(--text-2);
  opacity: 0;
  transform: translateX(-10px) rotate(-45deg);
  transition: all 0.4s var(--ease-spring);
  position: relative;
  z-index: 1;
}

.bento-item:hover .bento-social-arrow {
  opacity: 1;
  transform: translateX(0) rotate(0);
  color: var(--accent);
}

@media (max-width: 992px) {
  .bento-contact {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(180px, auto);
  }

  .bento-item--main {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento-item--link {
    grid-column: span 1;
  }

  .bento-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .bento-contact {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-item--main,
  .bento-item--link,
  .bento-item--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .bento-item--link {
    flex-direction: row;
    justify-content: flex-start;
    padding: 24px;
  }

  .bento-social-icon {
    font-size: 1.5rem;
  }
}

.footer {
  background: var(--bg-0);
  padding: 64px 0 0;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__logo-text {
  font-family: var(--f-heading);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1;
}

.footer__logo-dot {
  font-size: 2.2rem;
}

.footer__tagline {
  font-family: var(--f-heading);
  font-size: 1rem;
  font-weight: 700;
}

.footer__desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 300px;
}

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

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-2);
  margin-bottom: 4px;
}

.footer__col a,
.footer__col span {
  font-size: 0.9rem;
  color: var(--text-1);
  transition: color 0.3s;
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin-top: 0;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-2);
}

.footer__socials {
  display: flex;
  gap: 8px;
}

.footer__socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-2);
  transition: all 0.3s var(--ease);
}

.footer__socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

@media (max-width: 992px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
    gap: 36px;
    padding-bottom: 36px;
  }

  .footer__brand {
    align-items: center;
    text-align: center;
    align-items: flex-start;
    text-align: left;
  }

  .footer__desc {
    max-width: 100%;
    max-width: 500px;
  }

  .footer__nav {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 44px 0 0;
  }

  .footer__top {
    gap: 28px;
    padding-bottom: 24px;
  }

  .footer__brand {
    align-items: flex-start;
    text-align: left;
  }

  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    gap: 24px 20px;
    text-align: left;
  }

  .footer__col {
    gap: 8px;
    min-width: 0;
  }

  .footer__col a,
  .footer__col span {
    font-size: 0.85rem;
  }

  .footer__bottom {
    padding: 16px 0;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    text-align: left;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 32px 0 0;
  }

  .footer__top {
    gap: 22px;
    padding-bottom: 20px;
  }

  .footer__brand {
    gap: 6px;
    align-items: flex-start;
    text-align: left;
  }

  .footer__logo-text {
    font-size: 1.55rem;
  }

  .footer__tagline {
    font-size: 0.88rem;
  }

  .footer__desc {
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-2);
  }

  .footer__nav {
    grid-template-columns: 1fr;
    text-align: center;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
    text-align: left;
  }

  .footer__col {
    gap: 6px;
    min-width: 0;
  }

  .footer__col h4 {
    font-size: 0.72rem;
    letter-spacing: 1px;
    color: var(--text-2);
    margin-bottom: 2px;
  }

  .footer__col a,
  .footer__col span {
    font-size: 0.82rem;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 0 16px;
    text-align: left;
  }

  .footer__bottom p {
    font-size: 0.73rem;
    margin: 0;
  }

  .footer__socials {
    gap: 6px;
  }

  .footer__socials a {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  .project-spotlight__actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .project-spotlight__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .btt {
    bottom: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
}

.btt {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--accent-glow);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  will-change: transform, opacity;
}

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

.btt:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.project-card.is-hidden {
  display: none;
}

/* Global CTA Box */
.cta-box {
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
@media (max-width: 576px) {
  .cta-box {
    padding: 26px 18px;
    gap: 14px;
  }
}
.cta-box__title {
  font-family: var(--f-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text-0);
}
@media (max-width: 576px) {
  .cta-box__title { font-size: 1.3rem; }
}
.cta-box__desc {
  font-size: 0.98rem;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.6;
}
@media (max-width: 576px) {
  .cta-box__desc { font-size: 0.9rem; }
}
.cta-box__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
@media (max-width: 576px) {
  .cta-box__actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .cta-box__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Home CTA (Large Typography) */
.home-cta {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.home-cta__title {
  font-family: var(--f-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-0);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.home-cta__desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-2);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 40px;
}
.home-cta__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 576px) {
  .home-cta {
    padding: 20px 0 40px;
  }
  .home-cta__title {
    font-size: 2.2rem;
  }
  .home-cta__actions {
    flex-direction: column;
    width: 100%;
  }
  .home-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}




.human-contact {
  padding: 40px 0 60px 0;
  display: flex;
  justify-content: center;
}
.human-contact__inner {
  max-width: 860px;
  text-align: center;
}
.human-contact__title {
  font-family: var(--f-heading);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  color: var(--text-0);
  margin-bottom: 16px;
}
.human-contact__desc {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 24px;
}
.human-contact__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-0);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--accent);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.human-contact__link:hover {
  color: var(--accent);
}
.human-contact__link i {
  font-size: 0.9em;
  color: var(--accent);
  transition: transform 0.3s ease;
}
.human-contact__link:hover i {
  transform: translateX(6px);
}
