/* =========================================================
   EFALIX LTD — MASTER STYLESHEET
   New Multi-Page Portfolio
   Intelligence. Innovation. Impact.
========================================================= */


/* =========================================================
   01. DESIGN TOKENS
========================================================= */

:root {
  /* Core */
  --black: #050807;
  --black-soft: #080c0a;
  --black-deep: #020403;

  /* EFALIX Green */
  --green: #39ff88;
  --green-soft: #19d96a;
  --green-dark: #0b7d40;

  /* EFALIX Red Accent */
  --red: #ff304f;
  --red-soft: #ff526a;
  --red-dark: #9d1830;

  /* Typography */
  --white: #ffffff;
  --white-soft: #edf4ef;
  --text: #f2f7f4;
  --muted: #9ca9a2;
  --muted-dark: #68756e;

  /* Borders */
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.055);
  --border-green: rgba(57, 255, 136, 0.25);
  --border-red: rgba(255, 48, 79, 0.28);

  /* Glows */
  --green-glow: rgba(57, 255, 136, 0.16);
  --red-glow: rgba(255, 48, 79, 0.16);

  /* Shadows */
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 20px 55px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.46);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Layout */
  --container: 1180px;
  --header-height: 78px;

  /* Motion */
  --transition-fast: 180ms ease;
  --transition: 240ms ease;
  --transition-slow: 500ms ease;
}


/* =========================================================
   02. RESET
========================================================= */

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

html {
  margin: 0;
  padding: 0;

  background: var(--black);

  color-scheme: dark;

  scroll-behavior: smooth;

  overflow-x: hidden;
}

body {
  min-width: 320px;
  min-height: 100vh;

  margin: 0;
  padding: 0;

  background: var(--black);

  color: var(--text);

  font-family:
    "Space Grotesk",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.65;

  overflow-x: hidden;
}

body,
button,
a,
input,
textarea,
select {
  font-family: inherit;
}

button,
input,
textarea,
select {
  font-size: inherit;
}

button {
  border: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--white);
  font-weight: 700;
}

::selection {
  background: rgba(57, 255, 136, 0.25);
  color: var(--white);
}


/* =========================================================
   03. ACCESSIBILITY
========================================================= */

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}


/* =========================================================
   04. GLOBAL CONTAINER
========================================================= */

.section-container {
  width: min(
    calc(100% - 40px),
    var(--container)
  );

  margin-inline: auto;
}

.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}


/* =========================================================
   05. GLOBAL BACKGROUND
========================================================= */

.background {
  position: fixed;
  inset: 0;

  z-index: -10;

  overflow: hidden;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 15% 12%,
      rgba(57, 255, 136, 0.065),
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 24%,
      rgba(255, 48, 79, 0.065),
      transparent 28%
    ),
    radial-gradient(
      circle at 50% 90%,
      rgba(57, 255, 136, 0.035),
      transparent 32%
    ),
    var(--black);
}


/* =========================================================
   06. BACKGROUND GRADIENTS
========================================================= */

.background-gradient {
  position: absolute;

  border-radius: 50%;

  filter: blur(100px);

  pointer-events: none;

  will-change: transform;
}

.gradient-one {
  width: 460px;
  height: 460px;

  top: -220px;
  left: -150px;

  background: rgba(57, 255, 136, 0.11);

  opacity: 0.55;

  animation:
    gradientFloatOne
    16s
    ease-in-out
    infinite
    alternate;
}

.gradient-two {
  width: 520px;
  height: 520px;

  top: 18%;
  right: -280px;

  background: rgba(255, 48, 79, 0.09);

  opacity: 0.48;

  animation:
    gradientFloatTwo
    19s
    ease-in-out
    infinite
    alternate;
}

.gradient-three {
  width: 440px;
  height: 440px;

  bottom: -240px;
  left: 38%;

  background: rgba(57, 255, 136, 0.065);

  opacity: 0.42;

  animation:
    gradientFloatThree
    21s
    ease-in-out
    infinite
    alternate;
}


@keyframes gradientFloatOne {

  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(90px, 70px, 0);
  }

}


@keyframes gradientFloatTwo {

  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-80px, 70px, 0);
  }

}


@keyframes gradientFloatThree {

  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(70px, -70px, 0);
  }

}


/* =========================================================
   07. RED ATMOSPHERIC LIGHT
========================================================= */

.red-light {
  position: absolute;

  width: 320px;
  height: 320px;

  border-radius: 50%;

  background: var(--red);

  filter: blur(90px);

  opacity: 0.10;

  pointer-events: none;

  mix-blend-mode: screen;

  animation:
    redFloat
    14s
    ease-in-out
    infinite
    alternate;
}

.red-light-one {
  top: 18%;
  left: -170px;
}

.red-light-two {
  top: 55%;
  right: -170px;

  animation-delay: -4s;
}

.red-light-three {
  bottom: -180px;
  left: 45%;

  animation-delay: -8s;
}


@keyframes redFloat {

  from {
    transform:
      translate3d(0, 0, 0)
      scale(0.92);
  }

  to {
    transform:
      translate3d(60px, -40px, 0)
      scale(1.08);
  }

}


/* =========================================================
   08. GRID OVERLAY
========================================================= */

.grid-overlay {
  position: absolute;
  inset: 0;

  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.022) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.022) 1px,
      transparent 1px
    );

  background-size: 72px 72px;

  opacity: 0.65;

  mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      rgba(0, 0, 0, 0.65) 55%,
      transparent 100%
    );

  -webkit-mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      rgba(0, 0, 0, 0.65) 55%,
      transparent 100%
    );
}


/* =========================================================
   09. PARTICLES
========================================================= */

.particles {
  position: absolute;
  inset: 0;

  pointer-events: none;

  opacity: 0.22;

  background-image:
    radial-gradient(
      circle,
      rgba(57, 255, 136, 0.7) 1px,
      transparent 1.5px
    );

  background-size: 90px 90px;

  animation:
    particleMove
    30s
    linear
    infinite;
}


@keyframes particleMove {

  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(90px, 90px, 0);
  }

}


/* =========================================================
   10. GLOBAL ACCENT
========================================================= */

.accent-text {
  color: var(--green);

  text-shadow:
    0 0 28px rgba(57, 255, 136, 0.10);
}


/* Red accent utility */

.red-accent {
  color: var(--red);

  text-shadow:
    0 0 24px rgba(255, 48, 79, 0.12);
}


/* =========================================================
   11. RESPONSIVE BASE
========================================================= */

@media (max-width: 680px) {

  .section-container {
    width: min(
      calc(100% - 32px),
      var(--container)
    );
  }

  .section-padding {
    padding-top: 72px;
    padding-bottom: 72px;
  }

}


@media (max-width: 400px) {

  .section-container {
    width: min(
      calc(100% - 24px),
      var(--container)
    );
  }

  .section-padding {
    padding-top: 64px;
    padding-bottom: 64px;
  }

}


/* =========================================================
   END OF PART 1
========================================================= */

/* =========================================================
   12. HEADER
========================================================= */

.header {
  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  height: var(--header-height);

  border-bottom: 1px solid transparent;

  background: rgba(5, 8, 7, 0.62);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(5, 8, 7, 0.92);

  border-color: var(--border);

  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   13. NAVIGATION
========================================================= */

.navbar {
  width: min(
    calc(100% - 40px),
    var(--container)
  );

  min-height: var(--header-height);

  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}


/* =========================================================
   14. BRAND
========================================================= */

.brand {
  display: inline-flex;
  align-items: center;

  gap: 11px;

  flex-shrink: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;

  object-fit: contain;

  border-radius: 10px;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;

  gap: 5px;

  color: var(--white);

  font-size: 1.05rem;
  font-weight: 700;

  letter-spacing: 0.14em;
}

.brand-wordmark small {
  color: var(--green);

  font-size: 0.55em;

  letter-spacing: 0.11em;
}


/* =========================================================
   15. NAV LINKS
========================================================= */

.nav-links {
  display: flex;
  align-items: center;

  gap: 5px;
}

.nav-link {
  position: relative;

  display: inline-flex;
  align-items: center;

  padding: 9px 13px;

  color: var(--muted);

  font-size: 0.88rem;
  font-weight: 500;

  border-radius: var(--radius-pill);

  transition:
    color var(--transition-fast),
    background var(--transition-fast);
}

.nav-link::after {
  content: "";

  position: absolute;

  left: 14px;
  right: 14px;
  bottom: 3px;

  height: 1px;

  border-radius: 99px;

  background: var(--green);

  transform: scaleX(0);

  transform-origin: center;

  transition:
    transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}


/* Contact navigation */

.nav-link-contact {
  margin-left: 7px;

  border: 1px solid var(--border-green);

  color: var(--green);

  background: rgba(57, 255, 136, 0.025);
}

.nav-link-contact::after {
  display: none;
}

.nav-link-contact:hover {
  color: var(--green);

  background: rgba(57, 255, 136, 0.08);

  border-color: rgba(57, 255, 136, 0.4);
}


/* =========================================================
   16. MOBILE MENU BUTTON
========================================================= */

.menu-btn {
  display: none;

  width: 44px;
  height: 44px;

  padding: 9px;

  border: 1px solid var(--border);

  border-radius: 13px;

  background: rgba(255, 255, 255, 0.025);

  cursor: pointer;

  transition:
    border-color var(--transition),
    background var(--transition);
}

.menu-btn:hover {
  border-color: var(--border-green);

  background: rgba(57, 255, 136, 0.05);
}

.menu-btn span {
  display: block;

  width: 100%;
  height: 2px;

  margin: 5px 0;

  border-radius: 99px;

  background: var(--white);

  transition:
    transform var(--transition),
    opacity var(--transition);
}

.menu-btn.open span:nth-child(1) {
  transform:
    translateY(7px)
    rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.open span:nth-child(3) {
  transform:
    translateY(-7px)
    rotate(-45deg);
}


/* =========================================================
   17. HERO SECTION
========================================================= */

.hero-section {
  position: relative;

  min-height: 100svh;

  display: flex;
  align-items: center;

  padding-top: 130px;
  padding-bottom: 80px;

  overflow: hidden;
}

.hero-content {
  width: min(
    calc(100% - 40px),
    var(--container)
  );

  margin-inline: auto;

  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(360px, 0.95fr);

  align-items: center;

  gap: 70px;
}


/* =========================================================
   18. HERO COPY
========================================================= */

.hero-copy {
  max-width: 700px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;

  margin-bottom: 22px;

  color: var(--muted);

  font-size: 0.72rem;
  font-weight: 600;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: "";

  width: 7px;
  height: 7px;

  margin-right: 10px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 0 5px rgba(57, 255, 136, 0.08),
    0 0 18px rgba(57, 255, 136, 0.65);

  animation:
    statusPulse
    2s
    ease-in-out
    infinite;
}

@keyframes statusPulse {

  50% {
    opacity: 0.45;
    transform: scale(0.72);
  }

}


.hero-copy h1 {
  margin-bottom: 24px;

  color: var(--white);

  font-size:
    clamp(
      3.5rem,
      7vw,
      6.8rem
    );

  line-height: 0.96;

  letter-spacing: -0.06em;
}

.hero-copy h1 .accent-text {
  display: block;

  color: var(--green);
}


/* =========================================================
   19. HERO DESCRIPTION
========================================================= */

.hero-description {
  max-width: 640px;

  margin-bottom: 30px;

  color: var(--muted);

  font-size: 1.02rem;

  line-height: 1.85;
}


/* =========================================================
   20. HERO ACTIONS
========================================================= */

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 12px;

  margin-bottom: 28px;
}

.btn {
  min-height: 50px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  padding: 0 21px;

  border-radius: var(--radius-pill);

  font-size: 0.88rem;
  font-weight: 600;

  cursor: pointer;

  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}


/* Primary */

.btn-primary {
  background: var(--green);

  color: #031108;

  box-shadow:
    0 12px 35px rgba(57, 255, 136, 0.16);
}

.btn-primary:hover {
  background: #65ffa5;

  box-shadow:
    0 16px 45px rgba(57, 255, 136, 0.25);
}


/* Secondary */

.btn-secondary {
  border: 1px solid var(--border);

  background: rgba(255, 255, 255, 0.025);

  color: var(--white);
}

.btn-secondary:hover {
  border-color: var(--border-green);

  background: rgba(57, 255, 136, 0.05);
}


/* =========================================================
   21. HERO SERVICES
========================================================= */

.hero-services {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 8px;
}

.hero-services span {
  display: inline-flex;
  align-items: center;

  min-height: 29px;

  padding: 5px 10px;

  border: 1px solid var(--border);

  border-radius: var(--radius-pill);

  background: rgba(255, 255, 255, 0.025);

  color: var(--muted);

  font-size: 0.68rem;

  line-height: 1;

  transition:
    color var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.hero-services span:hover {
  color: var(--green);

  border-color: var(--border-green);

  background: rgba(57, 255, 136, 0.045);
}


/* =========================================================
   22. HERO VISUAL
========================================================= */

.hero-visual {
  position: relative;

  width: 100%;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;
}


/* =========================================================
   23. PROFILE ORBIT
========================================================= */

.profile-orbit {
  position: relative;

  width: min(100%, 460px);

  aspect-ratio: 1;

  display: grid;
  place-items: center;
}


/* =========================================================
   24. ORBIT RINGS
========================================================= */

.orbit-ring {
  position: absolute;

  border-radius: 50%;

  pointer-events: none;
}


/* Outer red ring */

.orbit-ring-one {
  width: 91%;
  height: 91%;

  border: 1px solid rgba(255, 48, 79, 0.58);

  box-shadow:
    0 0 25px rgba(255, 48, 79, 0.055);

  animation:
    orbitRotate
    18s
    linear
    infinite;
}


/* Inner green ring */

.orbit-ring-two {
  width: 76%;
  height: 76%;

  border: 1px solid rgba(57, 255, 136, 0.25);

  transform: rotate(-22deg);

  animation:
    orbitCounterRotate
    14s
    linear
    infinite;
}


@keyframes orbitRotate {

  to {
    transform: rotate(360deg);
  }

}


@keyframes orbitCounterRotate {

  to {
    transform: rotate(-382deg);
  }

}


/* =========================================================
   25. ORBIT DOTS
========================================================= */

.orbit-dot {
  position: absolute;

  z-index: 2;

  width: 9px;
  height: 9px;

  border-radius: 50%;
}

.orbit-dot-one {
  top: 11%;
  left: 24%;

  background: var(--red);

  box-shadow:
    0 0 20px rgba(255, 48, 79, 0.75);
}

.orbit-dot-two {
  right: 13%;
  bottom: 28%;

  background: var(--green);

  box-shadow:
    0 0 20px rgba(57, 255, 136, 0.75);
}

.orbit-dot-three {
  left: 15%;
  bottom: 19%;

  width: 6px;
  height: 6px;

  background: var(--red-soft);

  box-shadow:
    0 0 16px rgba(255, 48, 79, 0.65);
}


/* =========================================================
   26. PROFILE GLOW
========================================================= */

.profile-glow {
  position: absolute;

  width: 64%;
  height: 64%;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(57, 255, 136, 0.10) 0%,
      rgba(255, 48, 79, 0.07) 35%,
      transparent 70%
    );

  filter: blur(20px);

  animation:
    profileGlow
    5s
    ease-in-out
    infinite
    alternate;
}


@keyframes profileGlow {

  from {
    transform: scale(0.92);

    opacity: 0.72;
  }

  to {
    transform: scale(1.08);

    opacity: 1;
  }

}


/* =========================================================
   27. PROFILE IMAGE
========================================================= */

.profile-image-wrap {
  position: relative;

  z-index: 4;

  width: 61%;
  aspect-ratio: 1;

  padding: 8px;

  border: 1px solid rgba(255, 255, 255, 0.18);

  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.20),
      rgba(255, 255, 255, 0.025)
    );

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 55px rgba(57, 255, 136, 0.08);

  animation:
    profileFloat
    6s
    ease-in-out
    infinite;
}


.profile-image-wrap::before {
  content: "";

  position: absolute;

  inset: -2px;

  z-index: -1;

  border-radius: 50%;

  border: 1px solid rgba(255, 48, 79, 0.32);

  opacity: 0.9;
}


.profile-image {
  width: 100%;
  height: 100%;

  object-fit: cover;

  border-radius: 50%;

  background: var(--black-soft);
}


@keyframes profileFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }

}


/* =========================================================
   28. PROFILE CAPTION
========================================================= */

.profile-caption {
  position: relative;

  z-index: 5;

  display: flex;
  flex-direction: column;

  align-items: center;

  gap: 2px;

  margin-top: 20px;

  text-align: center;
}

.profile-caption strong {
  color: var(--white);

  font-size: 1rem;

  font-weight: 600;
}

.profile-caption span {
  color: var(--muted-dark);

  font-size: 0.72rem;

  letter-spacing: 0.04em;
}


/* =========================================================
   29. DESKTOP HERO BALANCE
========================================================= */

@media (min-width: 1101px) {

  .hero-visual {
    transform: translateY(4px);
  }

  .profile-orbit {
    width: min(100%, 440px);
  }

}


/* =========================================================
   END OF PART 2
========================================================= */

/* =========================================================
   30. SECTION HEADINGS
========================================================= */

.section-heading {
  max-width: 760px;

  margin-bottom: 45px;
}

.section-heading-row {
  max-width: none;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 30px;
}

.section-label {
  display: inline-block;

  margin-bottom: 13px;

  color: var(--green);

  font-size: 0.7rem;
  font-weight: 700;

  letter-spacing: 0.17em;

  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 15px;

  color: var(--white);

  font-size:
    clamp(
      2.1rem,
      4.2vw,
      3.6rem
    );

  line-height: 1.04;

  letter-spacing: -0.045em;
}

.section-heading p {
  max-width: 650px;

  margin-bottom: 0;

  font-size: 0.98rem;

  line-height: 1.8;
}


/* =========================================================
   31. TEXT LINKS
========================================================= */

.text-link {
  display: inline-flex;
  align-items: center;

  color: var(--green);

  font-size: 0.84rem;

  font-weight: 600;

  white-space: nowrap;

  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
}

.text-link:hover {
  color: var(--white);

  transform: translateX(3px);
}


/* =========================================================
   32. INTRO SECTION
========================================================= */

.intro-section {
  position: relative;
}

.intro-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(280px, 0.95fr);

  align-items: start;

  gap: 60px;
}

.intro-text {
  max-width: 650px;
}

.intro-text p {
  margin-bottom: 20px;

  font-size: 1rem;

  line-height: 1.85;
}

.intro-text .text-link {
  margin-top: 8px;
}


/* =========================================================
   33. INTRO HIGHLIGHTS
========================================================= */

.intro-highlight {
  display: grid;

  gap: 12px;
}

.highlight-card {
  display: grid;

  grid-template-columns: 45px minmax(0, 1fr);

  gap: 16px;

  padding: 20px;

  border: 1px solid var(--border);

  border-radius: var(--radius-md);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.012)
    );

  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.highlight-card:hover {
  transform: translateX(4px);

  border-color: var(--border-green);

  background:
    linear-gradient(
      145deg,
      rgba(57, 255, 136, 0.045),
      rgba(255, 255, 255, 0.012)
    );
}

.highlight-card:nth-child(2):hover {
  border-color: var(--border-red);

  background:
    linear-gradient(
      145deg,
      rgba(255, 48, 79, 0.04),
      rgba(255, 255, 255, 0.012)
    );
}

.highlight-number {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  border: 1px solid var(--border-green);

  border-radius: 11px;

  background: rgba(57, 255, 136, 0.055);

  color: var(--green);

  font-size: 0.68rem;

  font-weight: 700;
}

.highlight-card:nth-child(2) .highlight-number {
  border-color: var(--border-red);

  background: rgba(255, 48, 79, 0.055);

  color: var(--red);
}

.highlight-card h3 {
  margin-bottom: 4px;

  font-size: 1rem;
}

.highlight-card p {
  margin: 0;

  font-size: 0.82rem;

  line-height: 1.6;
}


/* =========================================================
   34. PROJECT PREVIEW
========================================================= */

.projects-preview {
  position: relative;
}

.project-preview-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;
}


/* =========================================================
   35. PROJECT CARD
========================================================= */

.project-card {
  position: relative;

  min-width: 0;

  display: flex;
  flex-direction: column;

  padding: 27px;

  border: 1px solid var(--border);

  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.012)
    );

  overflow: hidden;

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.project-card::after {
  content: "";

  position: absolute;

  width: 170px;
  height: 170px;

  right: -100px;
  bottom: -100px;

  border-radius: 50%;

  background: rgba(57, 255, 136, 0.065);

  filter: blur(16px);

  pointer-events: none;

  transition:
    transform var(--transition-slow);
}

.project-card:nth-child(2)::after {
  background: rgba(255, 48, 79, 0.07);
}

.project-card:hover {
  transform: translateY(-6px);

  border-color: var(--border-green);

  box-shadow:
    var(--shadow-md);
}

.project-card:nth-child(2):hover {
  border-color: var(--border-red);
}

.project-card:hover::after {
  transform: scale(1.5);
}


/* =========================================================
   36. PROJECT CARD TOP
========================================================= */

.project-card-top {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin-bottom: 25px;
}

.project-number {
  color: var(--green);

  font-size: 0.72rem;

  font-weight: 700;

  letter-spacing: 0.13em;
}

.project-card:nth-child(2) .project-number {
  color: var(--red);
}

.project-status {
  padding: 5px 9px;

  border: 1px solid var(--border);

  border-radius: var(--radius-pill);

  color: var(--muted);

  font-size: 0.62rem;

  font-weight: 600;

  letter-spacing: 0.07em;

  text-transform: uppercase;
}


/* =========================================================
   37. PROJECT CARD CONTENT
========================================================= */

.project-card-content {
  position: relative;

  z-index: 2;

  flex: 1;
}

.project-category {
  margin-bottom: 9px;

  color: var(--muted-dark);

  font-size: 0.68rem;

  font-weight: 600;

  letter-spacing: 0.10em;

  text-transform: uppercase;
}

.project-card h3 {
  margin-bottom: 13px;

  color: var(--white);

  font-size: 1.32rem;

  line-height: 1.18;

  letter-spacing: -0.025em;
}

.project-card-content > p:not(.project-category) {
  margin-bottom: 0;

  font-size: 0.87rem;

  line-height: 1.72;
}


/* =========================================================
   38. PROJECT TAGS
========================================================= */

.project-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 7px;

  margin-top: 20px;
}

.project-tags span {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 30px;

  padding: 6px 10px;

  border: 1px solid rgba(255, 255, 255, 0.10);

  border-radius: var(--radius-pill);

  background: rgba(255, 255, 255, 0.035);

  color: rgba(255, 255, 255, 0.68);

  font-size: 0.66rem;

  line-height: 1;

  white-space: nowrap;

  transition:
    color var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.project-tags span:hover {
  color: var(--green);

  border-color: var(--border-green);

  background: rgba(57, 255, 136, 0.045);
}


/* =========================================================
   39. PROJECT CARD FOOTER
========================================================= */

.project-card-footer {
  position: relative;

  z-index: 3;

  margin-top: 25px;

  padding-top: 18px;

  border-top: 1px solid var(--border);
}

.project-card-footer .project-link {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  color: var(--green);

  font-size: 0.82rem;

  font-weight: 600;

  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
}

.project-card:nth-child(2) .project-card-footer .project-link {
  color: var(--red-soft);
}

.project-card-footer .project-link:hover {
  color: var(--white);

  transform: translateX(3px);
}


/* =========================================================
   40. SERVICE PREVIEW
========================================================= */

.services-preview {
  position: relative;
}

.service-preview-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 14px;
}

.service-card {
  position: relative;

  min-width: 0;

  padding: 25px 22px;

  border: 1px solid var(--border);

  border-radius: var(--radius-md);

  background:
    rgba(255, 255, 255, 0.025);

  overflow: hidden;

  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.service-card::after {
  content: "";

  position: absolute;

  width: 110px;
  height: 110px;

  right: -65px;
  bottom: -65px;

  border-radius: 50%;

  background: rgba(57, 255, 136, 0.06);

  filter: blur(12px);

  pointer-events: none;
}

.service-card:nth-child(3)::after {
  background: rgba(255, 48, 79, 0.07);
}

.service-card:hover {
  transform: translateY(-5px);

  border-color: var(--border-green);

  background:
    rgba(57, 255, 136, 0.035);
}

.service-card:nth-child(3):hover {
  border-color: var(--border-red);

  background:
    rgba(255, 48, 79, 0.035);
}


/* =========================================================
   41. SERVICE NUMBER
========================================================= */

.service-number {
  display: block;

  margin-bottom: 32px;

  color: var(--green);

  font-size: 0.7rem;

  font-weight: 700;

  letter-spacing: 0.13em;
}

.service-card:nth-child(3) .service-number {
  color: var(--red);
}

.service-card h3 {
  margin-bottom: 9px;

  font-size: 1.12rem;
}

.service-card p {
  margin-bottom: 0;

  font-size: 0.82rem;

  line-height: 1.7;
}


/* =========================================================
   42. SECTION ACTION
========================================================= */

.section-action {
  display: flex;

  justify-content: center;

  margin-top: 35px;
}


/* =========================================================
   43. JOURNEY PREVIEW
========================================================= */

.journey-preview {
  position: relative;
}

.journey-preview-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(300px, 0.8fr);

  align-items: center;

  gap: 70px;

  padding: 55px;

  border: 1px solid var(--border);

  border-radius: var(--radius-xl);

  background:
    radial-gradient(
      circle at 85% 50%,
      rgba(255, 48, 79, 0.065),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      rgba(57, 255, 136, 0.035),
      rgba(255, 255, 255, 0.012)
    );

  overflow: hidden;
}

.journey-copy {
  max-width: 650px;
}

.journey-copy h2 {
  margin-bottom: 17px;

  color: var(--white);

  font-size:
    clamp(
      2.2rem,
      4.4vw,
      3.7rem
    );

  line-height: 1.02;

  letter-spacing: -0.045em;
}

.journey-copy p {
  max-width: 600px;

  margin-bottom: 20px;

  line-height: 1.8;
}


/* =========================================================
   44. JOURNEY STATS
========================================================= */

.journey-stats {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 12px;
}

.stat-card {
  min-height: 125px;

  display: flex;
  flex-direction: column;

  justify-content: center;

  padding: 22px;

  border: 1px solid var(--border);

  border-radius: var(--radius-md);

  background: rgba(255, 255, 255, 0.025);

  transition:
    transform var(--transition),
    border-color var(--transition);
}

.stat-card:nth-child(2),
.stat-card:nth-child(4) {
  border-color: rgba(255, 48, 79, 0.16);
}

.stat-card:hover {
  transform: translateY(-4px);

  border-color: var(--border-green);
}

.stat-card:nth-child(2):hover,
.stat-card:nth-child(4):hover {
  border-color: var(--border-red);
}

.stat-card strong {
  margin-bottom: 5px;

  color: var(--green);

  font-size: 1.4rem;
}

.stat-card:nth-child(2) strong,
.stat-card:nth-child(4) strong {
  color: var(--red);
}

.stat-card span {
  color: var(--muted);

  font-size: 0.78rem;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}


/* =========================================================
   END OF PART 3
========================================================= */

/* =========================================================
   45. FINAL CTA
========================================================= */

.cta-section {
  position: relative;
}

.cta-card {
  position: relative;

  padding: clamp(35px, 6vw, 65px);

  border: 1px solid var(--border-green);

  border-radius: var(--radius-xl);

  background:
    radial-gradient(
      circle at 82% 50%,
      rgba(57, 255, 136, 0.09),
      transparent 34%
    ),
    radial-gradient(
      circle at 15% 85%,
      rgba(255, 48, 79, 0.055),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      rgba(57, 255, 136, 0.035),
      rgba(255, 255, 255, 0.012)
    );

  overflow: hidden;
}

.cta-card::before {
  content: "";

  position: absolute;

  width: 230px;
  height: 230px;

  right: -95px;
  top: -95px;

  border: 1px solid rgba(255, 48, 79, 0.30);

  border-radius: 50%;

  pointer-events: none;

  animation:
    ctaOrbit
    14s
    linear
    infinite;
}

.cta-card::after {
  content: "";

  position: absolute;

  width: 8px;
  height: 8px;

  top: 28%;
  right: 14%;

  border-radius: 50%;

  background: var(--red);

  box-shadow:
    0 0 18px rgba(255, 48, 79, 0.7);

  animation:
    ctaPulse
    2.5s
    ease-in-out
    infinite;
}

@keyframes ctaOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ctaPulse {
  50% {
    opacity: 0.45;
    transform: scale(0.72);
  }
}

.cta-card .section-label,
.cta-card h2,
.cta-card > p,
.cta-actions {
  position: relative;

  z-index: 2;
}

.cta-card h2 {
  max-width: 850px;

  margin-bottom: 18px;

  color: var(--white);

  font-size:
    clamp(
      2.3rem,
      5vw,
      4.5rem
    );

  line-height: 1;

  letter-spacing: -0.05em;
}

.cta-card > p {
  max-width: 680px;

  margin-bottom: 0;

  font-size: 0.98rem;

  line-height: 1.8;
}

.cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 30px;
}


/* =========================================================
   46. SITE FOOTER
========================================================= */

.site-footer {
  position: relative;

  margin-top: 35px;

  border-top: 1px solid var(--border);

  background:
    rgba(0, 0, 0, 0.18);
}

.footer-main {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 50px;

  padding-top: 55px;
  padding-bottom: 45px;
}


/* =========================================================
   47. FOOTER BRAND
========================================================= */

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: inline-flex;

  width: 46px;
  height: 46px;

  margin-bottom: 14px;
}

.footer-logo img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.footer-brand p {
  margin-bottom: 0;

  color: var(--muted);

  font-size: 0.78rem;

  letter-spacing: 0.04em;
}


/* =========================================================
   48. FOOTER LINKS
========================================================= */

.footer-links {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(110px, 1fr));

  gap: 55px;
}

.footer-column {
  display: flex;

  flex-direction: column;

  gap: 9px;
}

.footer-column h3 {
  margin-bottom: 7px;

  color: var(--white);

  font-size: 0.75rem;

  font-weight: 600;

  letter-spacing: 0.09em;

  text-transform: uppercase;
}

.footer-column a {
  color: var(--muted);

  font-size: 0.78rem;

  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
}

.footer-column a:hover {
  color: var(--green);

  transform: translateX(2px);
}


/* =========================================================
   49. FOOTER BOTTOM
========================================================= */

.footer-bottom {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding-top: 20px;
  padding-bottom: 25px;

  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;

  color: var(--muted-dark);

  font-size: 0.68rem;
}

.footer-bottom p:last-child {
  color: var(--muted);
}


/* =========================================================
   50. BACK TO TOP
========================================================= */

.back-to-top {
  position: fixed;

  right: 22px;
  bottom: 22px;

  z-index: 900;

  width: 45px;
  height: 45px;

  display: grid;
  place-items: center;

  border: 1px solid var(--border-green);

  border-radius: 50%;

  background:
    rgba(5, 8, 7, 0.88);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color: var(--green);

  font-size: 1rem;

  cursor: pointer;

  opacity: 0;
  visibility: hidden;

  transform: translateY(12px);

  transition:
    opacity var(--transition),
    visibility var(--transition),
    transform var(--transition),
    background var(--transition);
}

.back-to-top.visible {
  opacity: 1;

  visibility: visible;

  transform: translateY(0);
}

.back-to-top:hover {
  background:
    rgba(57, 255, 136, 0.08);
}


/* =========================================================
   51. REVEAL ANIMATION
========================================================= */

.reveal {
  opacity: 0;

  transform: translateY(22px);

  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}


/* =========================================================
   52. RESPONSIVE — 1050px
========================================================= */

@media (max-width: 1050px) {

  .hero-content {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(300px, 0.75fr);

    gap: 45px;
  }

  .hero-copy h1 {
    font-size:
      clamp(
        3.1rem,
        7vw,
        5.5rem
      );
  }

  .profile-orbit {
    width: min(100%, 390px);
  }

  .service-preview-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .journey-preview-grid {
    gap: 45px;

    padding: 45px;
  }

}


/* =========================================================
   53. RESPONSIVE — 900px
========================================================= */

@media (max-width: 900px) {

  .header {
    height: 72px;
  }

  .navbar {
    min-height: 72px;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;

    top: calc(100% + 9px);

    left: 20px;
    right: 20px;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 3px;

    padding: 10px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background:
      rgba(5, 8, 7, 0.97);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    box-shadow: var(--shadow-lg);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-10px);

    transition:
      opacity var(--transition),
      visibility var(--transition),
      transform var(--transition);
  }

  .nav-links.open {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
  }

  .nav-link {
    width: 100%;

    justify-content: center;

    padding: 12px 14px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link-contact {
    margin-left: 0;

    margin-top: 3px;
  }


  .hero-section {
    padding-top: 115px;
  }

  .hero-content {
    grid-template-columns: 1fr;

    gap: 45px;

    text-align: center;
  }

  .hero-copy {
    max-width: 760px;

    margin-inline: auto;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-copy h1 {
    font-size:
      clamp(
        3rem,
        10vw,
        5.5rem
      );
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-services {
    justify-content: center;
  }

  .hero-visual {
    max-width: 500px;

    margin-inline: auto;
  }

  .profile-orbit {
    width: min(72vw, 390px);
  }


  .intro-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .intro-text {
    max-width: 750px;
  }


  .project-preview-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .project-card:last-child {
    grid-column: 1 / -1;
  }


  .journey-preview-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }


  .footer-main {
    flex-direction: column;

    gap: 35px;
  }

}


/* =========================================================
   END OF PART 4
========================================================= */

/* =========================================================
   54. MOBILE — 680px
========================================================= */

@media (max-width: 680px) {

  /* -----------------------------------------
     HEADER
  ----------------------------------------- */

  .header {
    height: 70px;
  }

  .navbar {
    width: min(
      calc(100% - 28px),
      var(--container)
    );

    min-height: 70px;
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-wordmark {
    font-size: 0.95rem;

    letter-spacing: 0.11em;
  }

  .menu-btn {
    width: 44px;
    height: 44px;
  }


  /* -----------------------------------------
     HERO
  ----------------------------------------- */

  .hero-section {
    min-height: auto;

    padding-top: 108px;
    padding-bottom: 65px;
  }

  .hero-content {
    width: min(
      calc(100% - 32px),
      var(--container)
    );

    gap: 38px;
  }

  .hero-eyebrow {
    display: inline-flex;

    margin-bottom: 17px;

    font-size: 0.62rem;

    letter-spacing: 0.10em;

    line-height: 1.5;
  }

  .hero-copy h1 {
    margin-bottom: 19px;

    font-size:
      clamp(
        2.75rem,
        14vw,
        4.4rem
      );

    line-height: 0.98;
  }

  .hero-description {
    margin-bottom: 25px;

    font-size: 0.92rem;

    line-height: 1.72;
  }

  .hero-actions {
    display: grid;

    width: 100%;

    gap: 10px;

    margin-bottom: 24px;
  }

  .hero-actions .btn {
    width: 100%;

    min-height: 53px;
  }

  .hero-services {
    gap: 6px;
  }

  .hero-services span {
    min-height: 28px;

    padding: 5px 9px;

    font-size: 0.62rem;
  }


  /* -----------------------------------------
     PROFILE
  ----------------------------------------- */

  .hero-visual {
    min-height: 300px;
  }

  .profile-orbit {
    width: min(
      86vw,
      340px
    );
  }

  .orbit-ring-one {
    width: 92%;
    height: 92%;
  }

  .orbit-ring-two {
    width: 77%;
    height: 77%;
  }

  .profile-image-wrap {
    width: 62%;

    padding: 7px;
  }

  .profile-caption {
    margin-top: 14px;
  }

  .profile-caption strong {
    font-size: 0.92rem;
  }

  .profile-caption span {
    font-size: 0.67rem;
  }


  /* -----------------------------------------
     SECTIONS
  ----------------------------------------- */

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading-row {
    align-items: flex-start;

    flex-direction: column;

    gap: 8px;
  }

  .section-label {
    margin-bottom: 9px;

    font-size: 0.64rem;

    letter-spacing: 0.14em;
  }

  .section-heading h2 {
    margin-bottom: 12px;

    font-size:
      clamp(
        2rem,
        9vw,
        3rem
      );

    line-height: 1.05;
  }

  .section-heading p {
    font-size: 0.91rem;

    line-height: 1.7;
  }


  /* -----------------------------------------
     INTRO
  ----------------------------------------- */

  .intro-grid {
    gap: 22px;
  }

  .intro-text p {
    font-size: 0.92rem;

    line-height: 1.75;
  }

  .intro-highlight {
    gap: 10px;
  }

  .highlight-card {
    grid-template-columns: 40px minmax(0, 1fr);

    gap: 13px;

    padding: 17px;
  }

  .highlight-number {
    width: 35px;
    height: 35px;
  }

  .highlight-card h3 {
    font-size: 0.95rem;
  }

  .highlight-card p {
    font-size: 0.77rem;
  }


  /* -----------------------------------------
     PROJECTS
  ----------------------------------------- */

  .project-preview-grid {
    grid-template-columns: 1fr;

    gap: 13px;
  }

  .project-card:last-child {
    grid-column: auto;
  }

  .project-card {
    padding: 23px 20px;

    border-radius: 21px;
  }

  .project-card-top {
    margin-bottom: 21px;
  }

  .project-card h3 {
    font-size: 1.38rem;

    line-height: 1.12;
  }

  .project-card-content > p:not(.project-category) {
    font-size: 0.84rem;

    line-height: 1.7;
  }

  .project-tags {
    gap: 6px;

    margin-top: 17px;
  }

  .project-tags span {
    min-height: 29px;

    padding: 6px 9px;

    font-size: 0.62rem;
  }

  .project-card-footer {
    margin-top: 21px;

    padding-top: 16px;
  }


  /* -----------------------------------------
     SERVICES
  ----------------------------------------- */

  .service-preview-grid {
    grid-template-columns: 1fr;

    gap: 10px;
  }

  .service-card {
    padding: 22px 20px;

    border-radius: 19px;
  }

  .service-number {
    margin-bottom: 22px;
  }

  .service-card h3 {
    font-size: 1.05rem;
  }

  .service-card p {
    font-size: 0.79rem;

    line-height: 1.68;
  }


  /* -----------------------------------------
     JOURNEY
  ----------------------------------------- */

  .journey-preview-grid {
    gap: 25px;

    padding: 27px 21px;

    border-radius: 23px;
  }

  .journey-copy h2 {
    font-size:
      clamp(
        2.1rem,
        10vw,
        3rem
      );
  }

  .journey-copy p {
    font-size: 0.89rem;

    line-height: 1.72;
  }

  .journey-stats {
    gap: 9px;
  }

  .stat-card {
    min-height: 105px;

    padding: 17px;
  }

  .stat-card strong {
    font-size: 1.2rem;
  }

  .stat-card span {
    font-size: 0.67rem;
  }


  /* -----------------------------------------
     CTA
  ----------------------------------------- */

  .cta-card {
    padding: 31px 21px;

    border-radius: 23px;
  }

  .cta-card h2 {
    font-size:
      clamp(
        2.25rem,
        10vw,
        3.2rem
      );

    line-height: 1.02;
  }

  .cta-card > p {
    font-size: 0.89rem;

    line-height: 1.72;
  }

  .cta-actions {
    display: grid;

    gap: 10px;

    margin-top: 25px;
  }

  .cta-actions .btn {
    width: 100%;
  }


  /* -----------------------------------------
     FOOTER
  ----------------------------------------- */

  .site-footer {
    margin-top: 20px;
  }

  .footer-main {
    gap: 30px;

    padding-top: 40px;
    padding-bottom: 32px;
  }

  .footer-links {
    width: 100%;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 28px;
  }

  .footer-bottom {
    align-items: flex-start;

    flex-direction: column;

    gap: 7px;

    padding-bottom: 22px;
  }


  /* -----------------------------------------
     BACK TO TOP
  ----------------------------------------- */

  .back-to-top {
    right: 14px;
    bottom: 14px;

    width: 44px;
    height: 44px;
  }

}


/* =========================================================
   55. VERY SMALL PHONES — 400px
========================================================= */

@media (max-width: 400px) {

  .hero-section {
    padding-top: 98px;
  }

  .hero-content {
    width: min(
      calc(100% - 24px),
      var(--container)
    );
  }

  .hero-copy h1 {
    font-size: 2.72rem;
  }

  .hero-description {
    font-size: 0.88rem;
  }

  .profile-orbit {
    width: 300px;
  }

  .hero-visual {
    min-height: 275px;
  }

  .profile-caption {
    margin-top: 10px;
  }

  .journey-stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 85px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;

    gap: 22px 15px;
  }

}


/* =========================================================
   56. TOUCH DEVICES
========================================================= */

@media (hover: none) {

  .project-card:hover,
  .service-card:hover,
  .highlight-card:hover,
  .stat-card:hover,
  .btn:hover {
    transform: none;
  }

}


/* =========================================================
   57. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.001ms !important;
  }

}


/* =========================================================
   58. HIGH CONTRAST
========================================================= */

@media (prefers-contrast: more) {

  :root {
    --border: rgba(255, 255, 255, 0.20);

    --muted: #c3cec8;
  }

  .project-card,
  .service-card,
  .highlight-card,
  .journey-preview-grid,
  .cta-card {
    border-width: 2px;
  }

}


/* =========================================================
   59. SAFETY
========================================================= */

html,
body {
  max-width: 100%;
}

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

pre,
code {
  max-width: 100%;

  overflow-x: auto;
}

a,
p,
h1,
h2,
h3,
h4,
h5,
h6,
span {
  overflow-wrap: anywhere;
}


/* =========================================================
   60. PRINT
========================================================= */

@media print {

  .background,
  .header,
  .back-to-top {
    display: none !important;
  }

  body {
    background: #ffffff;

    color: #000000;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: #000000;
  }

  p {
    color: #333333;
  }

}


/* =========================================================
   END OF EFALIX MASTER STYLESHEET
========================================================= */

/* =========================================================
   MOBILE CARD TEXT FIX
   ========================================================= */

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

.highlight-card p {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
}

@media (max-width: 680px) {
  .highlight-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .highlight-card .highlight-number {
    grid-column: 1;
    grid-row: 1;
  }

  .highlight-card h3 {
    grid-column: 2;
    grid-row: 1;
  }

  .highlight-card p {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
  }
}

/* =========================================================
   FINAL MOBILE TEXT LAYOUT FIX
========================================================= */

.highlight-card {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.highlight-card .highlight-number {
  grid-column: 1;
  grid-row: 1;
}

.highlight-card h3 {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.highlight-card p {
  grid-column: 1 / -1;
  grid-row: 2;
  display: block;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
  white-space: normal;
}

@media (max-width: 680px) {
  .highlight-card {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 13px;
    padding: 17px;
  }

  .highlight-card .highlight-number {
    grid-column: 1;
    grid-row: 1;
  }

  .highlight-card h3 {
    grid-column: 2;
    grid-row: 1;
  }

  .highlight-card p {
    grid-column: 1 / -1;
    grid-row: 2;
    width: auto;
    max-width: none;
    margin: 0;
    overflow-wrap: normal;
    word-break: normal;
    white-space: normal;
  }
}

/* =========================================================
   SERVICES PAGE MOBILE REFINEMENT
========================================================= */

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.service-tags span {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(57, 255, 136, 0.22);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1;
  white-space: nowrap;
}

.services-core {
  padding-top: 30px;
}

.services-core + .section-padding {
  padding-top: 70px;
}

@media (max-width: 680px) {

  .services-core {
    padding-top: 10px;
  }

  .services-core .service-preview-grid {
    gap: 18px;
  }

  .services-core + .section-padding {
    padding-top: 70px;
  }

  .service-tags {
    gap: 7px;
    margin-top: 18px;
  }

  .service-tags span {
    padding: 7px 10px;
    font-size: 0.68rem;
  }
}

/* =========================================================
   MOBILE HEADER ALIGNMENT FIX
========================================================= */

@media (max-width: 680px) {

  .site-header {
    width: 100%;
  }

  .header-container {
    width: 100%;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .brand {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-logo {
    flex: 0 0 auto;
  }

  .brand-name {
    white-space: nowrap;
  }

  .menu-btn {
    display: flex;
    flex: 0 0 auto;
    margin-left: auto;
    position: relative;
  }
}

/* =========================================================
   FINAL MOBILE MENU ICON FIX
========================================================= */

@media (max-width: 680px) {

  .menu-btn {
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 6px;
    padding: 0;
    margin-left: auto;
  }

  .menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    min-width: 28px;
    min-height: 3px;

    margin: 0;
    padding: 0;

    border-radius: 999px;
    background: var(--white);

    transform: none;
  }
}

/* =========================================================
   JOURNEY — MOBILE SPACING REFINEMENT
========================================================= */

@media (max-width: 680px) {
  body.journey-page .hero-section {
    padding-top: 68px;
    padding-bottom: 28px;
  }

  body.journey-page .hero-content {
    gap: 24px;
  }

  body.journey-page .hero-visual {
    margin-top: 12px;
  }

  body.journey-page .profile-orbit {
    transform: scale(0.86);
    transform-origin: center top;
  }

  body.journey-page .section-padding {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  body.journey-page .hero-description {
    font-size: 1rem;
    line-height: 1.7;
  }

  body.journey-page .section-heading {
    margin-bottom: 28px;
  }
}

/* =========================================================
   JOURNEY — TIGHTER MOBILE SECTION SPACING
========================================================= */

@media (max-width: 680px) {

  body.journey-page .hero-visual {
    margin-bottom: 0;
  }

  body.journey-page .journey-preview {
    padding-top: 32px;
  }

  body.journey-page .journey-preview-grid {
    gap: 28px;
  }

  body.journey-page .services-preview {
    padding-top: 42px;
  }

  body.journey-page .projects-preview {
    padding-top: 42px;
  }

  body.journey-page .next-chapter-section {
    padding-top: 42px;
    padding-bottom: 28px;
  }

  body.journey-page .cta-section {
    padding-top: 28px;
  }

}

/* =========================================================
   JOURNEY — MOBILE SPACING REFINEMENT
========================================================= */

@media (max-width: 680px) {

  body.journey-page .hero-section {
    padding-bottom: 20px;
  }

  body.journey-page .hero-visual {
    margin-top: 20px;
    margin-bottom: 0;
  }

  body.journey-page .section-padding {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  body.journey-page .journey-preview,
  body.journey-page .services-preview,
  body.journey-page .projects-preview {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  body.journey-page .section-heading {
    margin-bottom: 22px;
  }

  body.journey-page .journey-preview-grid,
  body.journey-page .service-preview-grid,
  body.journey-page .project-preview-grid {
    gap: 22px;
  }

  body.journey-page .next-chapter-section {
    padding-top: 42px;
    padding-bottom: 20px;
  }

  body.journey-page .cta-section {
    padding-top: 20px;
    padding-bottom: 35px;
  }

}

/* =========================================================
   JOURNEY — FINAL MOBILE SPACING
========================================================= */

@media (max-width: 680px) {

  /* Tighten the space after the milestone cards */
  body.journey-page .journey-milestones {
    margin-bottom: 20px;
  }

  /* Tighten the space before the next chapter */
  body.journey-page .next-chapter-section {
    padding-top: 45px;
  }

  /* Keep the CTA from being pushed too far down */
  body.journey-page .cta-section {
    padding-top: 45px;
  }

}