/* ============================================================
   3D TACT | Core Stylesheet
   Theme: Industrial Dark — Accent #F5B800
   ============================================================ */

/* === DESIGN TOKENS === */
:root {
  --yellow: #f5b800;
  --yellow-dark: #d9a300;
  --yellow-bg: rgba(245, 184, 0, 0.08);
  --yellow-border: rgba(245, 184, 0, 0.25);

  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #1a1a1c;
  --bg-4: #242428;

  --text: #ffffff;
  --text-2: #d1d5db;
  --text-muted: #9ca3af;
  --text-faint: #6b7280;

  --border: #2c2c30;
  --border-2: #3a3a3e;

  --font:
    -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue",
    Arial, sans-serif;

  --container: 1400px;
  --px: clamp(1.25rem, 5.5vw, 5rem);
  --nav-h: 72px;

  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --t: 0.2s ease;
  --t-md: 0.35s ease;

  --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-y: 0 4px 24px rgba(245, 184, 0, 0.22);
}

/* === RESET === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
input,
textarea,
select {
  font-family: inherit;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
}
h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}
h4 {
  font-size: 1.125rem;
}
p {
  color: var(--text-2);
  line-height: 1.7;
}

/* Section h2 — slightly bolder/tighter */
.section-header h2 {
  letter-spacing: -0.03em;
}

/* === LAYOUT === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--px);
}
.section {
  padding: 5rem 0;
}
.section-dark {
  background: var(--bg-2);
}
.section-alt {
  background: var(--bg-3);
}
.narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* === SECTION HEADER === */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header h2 {
  margin-bottom: 1rem;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.875rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--t);
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-y);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.btn-dark {
  background: #000;
  color: var(--yellow);
  border-color: #000;
  font-weight: 700;
}
.btn-dark:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  border: none;
  color: var(--yellow);
  padding: 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  gap: 0.375rem;
  transition: gap var(--t);
}
.btn-ghost:hover {
  gap: 0.625rem;
}
.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}
.btn-sm {
  padding: 0.5625rem 1.25rem;
  font-size: 0.875rem;
}
.btn-full {
  width: 100%;
  justify-content: center;
}

/* === HEADER / NAV === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition:
    background var(--t-md),
    border-color var(--t-md),
    transform var(--t-md);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(10, 10, 11, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.header-hidden {
  transform: translateY(-100%);
}
.nav {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img {
  padding-top: 10px;
  height: 100px;
  width: auto;
  flex-shrink: 0;
}
.nav-wordmark {
  font-family: "Manrope", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.75px;
  line-height: 1;
  white-space: nowrap;
  color: #00708f;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}
.nav-menu li {
  display: flex;
  align-items: center;
}
.nav-link {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t);
  position: relative;
  padding-bottom: 2px;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text);
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--yellow);
  border-radius: 1px;
}
.nav-cta {
  margin-left: 1rem;
}
.nav-cta-mobile {
  display: none;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0.5rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t);
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === NAV DROPDOWN (Products) === */
.nav-item-dropdown {
  position: relative;
}
.nav-link-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}
.nav-dropdown-arrow {
  transition: transform var(--t);
  flex-shrink: 0;
}
.nav-item-dropdown:hover .nav-dropdown-arrow,
.nav-item-dropdown.open .nav-dropdown-arrow {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 210px;
  background: rgba(26, 26, 28, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--t),
    transform var(--t),
    visibility var(--t);
  z-index: 50;
}
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu li {
  list-style: none;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius);
  transition:
    background var(--t),
    color var(--t);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: var(--bg-4);
  color: var(--yellow);
}

/* Mobile: dropdown becomes an inline expanding list, not a hover popover */
@media (max-width: 1024px) {
  .nav-dropdown-menu {
    position: static;
    display: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0.25rem 0 0 1rem;
    min-width: 0;
  }
  .nav-item-dropdown.open .nav-dropdown-menu {
    display: block;
  }
  .nav-link-dropdown {
    justify-content: space-between;
    width: 100%;
  }
}

/* === HERO (Home) === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/homepage_background.png");
  background-size: cover;
  background-position: center center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(10, 10, 11, 0.72) 0%,
      rgba(10, 10, 11, 0) 16%
    ),
    linear-gradient(
      to right,
      rgba(10, 10, 11, 0.96) 0%,
      rgba(10, 10, 11, 0.85) 35%,
      rgba(10, 10, 11, 0.4) 65%,
      rgba(10, 10, 11, 0.04) 100%
    );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 4rem 0;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.hero-eyebrow-line {
  width: 32px;
  height: 2px;
  background: var(--yellow);
  border-radius: 1px;
  flex-shrink: 0;
}
.hero-eyebrow p {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0;
}
.hero-title {
  font-size: clamp(3.25rem, 7vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

/* Staggered entrance animations for hero elements */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-content .hero-eyebrow {
  animation: heroFadeUp 0.65s ease both 0.4s;
}
.hero-content .hero-title {
  animation: heroFadeUp 0.65s ease both 0.55s;
}
.hero-content .hero-subtitle {
  animation: heroFadeUp 0.65s ease both 0.72s;
}
.hero-content .hero-actions {
  animation: heroFadeUp 0.65s ease both 0.9s;
}
.hero-title em {
  font-style: normal;
  color: var(--yellow);
}
.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* === HERO STATS BAR (bottom horizontal) === */
.hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 clamp(1.5rem, 8vw, 10rem);
}
.hero-stats-bar {
  position: relative;
  z-index: 2;
  border-top: 2px solid rgba(245, 184, 0, 0.2);
  background: rgba(5, 5, 6, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-stats-row {
  display: flex;
  align-items: stretch;
  width: 100%;
}
.hero-stat {
  flex: 1;
  padding: 1.75rem 2rem;
  position: relative;
  text-align: center;
}
.hero-stat + .hero-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
}
.hero-stat-num {
  font-family: "Manrope", sans-serif !important;
  font-size: 2rem !important;
  font-weight: 600 !important;
  color: var(--yellow);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.hero-stat-lbl {
  font-size: 0.6875rem;
  font-weight: 300 !important;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  padding-top: calc(var(--nav-h) + 4.5rem);
  padding-bottom: 4.5rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle at top right,
    rgba(245, 184, 0, 0.06),
    transparent 65%
  );
  pointer-events: none;
}
.page-hero .label {
  display: block;
}
.page-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}

/* === CARDS === */
.card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition:
    border-color var(--t),
    transform var(--t);
}
.card:hover {
  border-color: var(--border-2);
}

/* Service Card */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-md);
}
.service-card {
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.service-card:hover::after {
  transform: scaleX(1);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 184, 0, 0.4);
  box-shadow:
    0 24px 48px rgba(245, 184, 0, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.4);
}
.service-icon {
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.service-card:hover .service-icon {
  background: rgba(245, 184, 0, 0.18);
  border-color: rgba(245, 184, 0, 0.55);
  box-shadow: 0 0 24px rgba(245, 184, 0, 0.25);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--yellow-bg);
  border: 1px solid var(--yellow-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  color: var(--yellow);
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* === PROCESS STEPS === */
.process-wrap {
  position: relative;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.process-connector {
  position: absolute;
  top: 27px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.process-step {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-4);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--yellow);
  margin: 0 auto 1.5rem;
  transition: all var(--t-md);
}
.process-step:hover .step-num {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
  transform: scale(1.08);
}
.step-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === 7-STEP PROCESS: SINGLE HORIZONTAL LINE WITH FLOATING BRANCH NODE === */
.process-wrap-7-single {
  position: relative;
  padding-top: 130px; /* reserved space for branch entry above the step line */
}

.process-steps-7 {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  position: relative;
  gap: 0;
}

.process-connector-7 {
  position: absolute;
  top: 157px; /* 130px reserved space + 27px to align with step-num circle center */
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.process-connector-7::after {
  content: "";
  position: absolute;
  right: -6px;
  top: -2px;
  width: 0;
  height: 0;
  border-left: 5px solid var(--border);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

/* Branch entry: card + connector line, reserved at a fixed height above the step row */
.branch-entry {
  position: absolute;
  top: 0;
  left: 64.29%; /* step 5 center in a 7-column grid: (5 - 0.5) / 7 */
  transform: translateX(-50%);
  height: 124px; /* stops ~6px short of the step-num circle */
  width: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.process-branch-node {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
}

.branch-node-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.branch-node-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Connector line fills remaining space between card and step 5's circle */
.branch-node-connector {
  flex: 1;
  width: 1px;
  min-height: 20px;
  background: var(--border);
  margin-top: 4px;
  position: relative;
}

.branch-node-connector::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid var(--border);
}

@media (max-width: 1024px) {
  .process-wrap-7-single {
    padding-top: 0;
  }

  .process-steps-7 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem 0;
  }

  .process-connector-7 {
    display: none;
  }

  .branch-entry {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: auto;
    height: auto;
    margin: 0 1rem 2rem;
  }

  .branch-node-connector {
    display: none;
  }
}

@media (max-width: 768px) {
  .process-wrap-7-single {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 0;
  }

  .process-connector-7 {
    display: none;
  }

  .process-steps-7 {
    display: contents;
  }

  .branch-entry {
    grid-row: 5;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    margin: 2rem 0;
    padding: 0 var(--px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .process-branch-node {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 0;
  }

  .branch-node-title {
    font-size: 0.8125rem;
  }

  .branch-node-desc {
    font-size: 0.75rem;
  }

  .branch-node-connector {
    display: none;
  }
}

/* === INDUSTRY GRID === */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.industry-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--t);
}
.industry-item:hover {
  border-color: var(--yellow);
  background: var(--bg-4);
  transform: translateX(3px);
}
.ind-icon {
  width: 40px;
  height: 40px;
  background: var(--yellow-bg);
  border: 1px solid var(--yellow-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--yellow);
}
.industry-item span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

/* === SPLIT SECTION (Services page) === */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.split:hover .split-img img {
  transform: scale(1.03);
}
.split-content .label {
  margin-bottom: 0.75rem;
}
.split-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  margin-bottom: 1rem;
}
.split-content p {
  margin-bottom: 1.5rem;
}

.gallery-grid {
  gap: 1rem;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  background: var(--bg-4);
}
.gallery-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* === TECH CARDS (Technology page) === */
.tech-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-3);
  transition:
    border-color var(--t),
    transform var(--t);
}
.tech-card:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
}
.tech-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.tech-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
.tech-card:hover .tech-card-img img {
  transform: scale(1.04);
}
.tech-card-body {
  padding: 1.75rem;
}
.tech-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  background: var(--yellow-bg);
  border: 1px solid var(--yellow-border);
  border-radius: 3px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.875rem;
}
.tech-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.tech-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.tech-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tech-spec {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-4);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.2rem 0.6rem;
}

/* === MATERIALS === */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.material-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color var(--t);
}
.material-card:hover {
  border-color: var(--border-2);
}
.material-card h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.material-card h4 svg {
  color: var(--yellow);
  flex-shrink: 0;
}
.material-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.material-item {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.material-item::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

/* === VALUE FEATURES === */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow-bg);
  border: 1px solid var(--yellow-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--yellow);
}
.feature-text h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}
.feature-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* === CTA SECTION === */
.cta-section {
  background: var(--yellow);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  pointer-events: none;
}
.cta-section::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-inner .label {
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 0.75rem;
}
.cta-inner h2 {
  color: #000;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  margin-bottom: 1rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.cta-inner p {
  color: rgba(0, 0, 0, 0.65);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* === ABOUT PAGE === */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.about-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.about-img img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  display: block;
}
.about-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--yellow);
  color: #000;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.875rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  transition: border-color var(--t);
}
.value-card:hover {
  border-color: var(--yellow);
}
.value-icon {
  width: 52px;
  height: 52px;
  background: var(--yellow-bg);
  border: 1px solid var(--yellow-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--yellow);
}
.value-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.value-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* === FOUNDER SECTION === */
.founder-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: flex-start;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}
.founder-photo {
  text-align: center;
}
.founder-photo img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--yellow);
  margin: 0 auto 1.25rem;
  display: block;
}
.founder-name {
  font-size: 1.375rem;
  margin-bottom: 0.375rem;
}
.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  justify-content: center;
  margin-top: 0.75rem;
}
.founder-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--yellow);
  background: var(--yellow-bg);
  border: 1px solid var(--yellow-border);
  border-radius: 3px;
  padding: 0.2rem 0.55rem;
}
.founder-affil {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.6;
}
.founder-bio {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}
.founder-role {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.375rem;
}
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.cred-item {
  background: var(--bg-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  transition: border-color var(--t);
}
.cred-item:hover {
  border-color: var(--yellow);
}
.cred-abbr {
  font-size: 1rem;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.cred-full {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* === CONTACT PAGE === */
.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.contact-info-card:last-child {
  margin-bottom: 0;
}
.contact-info-card h4 {
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1rem;
}
.contact-row:last-child {
  margin-bottom: 0;
}
.contact-row-icon {
  width: 36px;
  height: 36px;
  background: var(--yellow-bg);
  border: 1px solid var(--yellow-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--yellow);
}
.clabel {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-bottom: 0.25rem;
}
.contact-row-text a,
.contact-row-text span {
  font-size: 0.9375rem;
  color: var(--text-2);
  transition: color var(--t);
}
.contact-row-text a:hover {
  color: var(--yellow);
}
.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
}
.hours-row:last-child {
  border-bottom: none;
}
.hours-row span {
  color: var(--text-muted);
}
.hours-row strong {
  color: var(--text);
}

/* === FORMS === */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 0.4375rem;
}
.form-control {
  width: 100%;
  padding: 0.8125rem 1rem;
  background: var(--bg-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9375rem;
  transition:
    border-color var(--t),
    box-shadow var(--t);
  appearance: none;
}
.form-control::placeholder {
  color: var(--text-faint);
}
.form-control:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245, 184, 0, 0.12);
}
.form-control.error {
  border-color: #ef4444;
}
.form-error {
  font-size: 0.8125rem;
  color: #ef4444;
  margin-top: 0.375rem;
}
textarea.form-control {
  resize: vertical;
  min-height: 140px;
}
select.form-control option {
  background: var(--bg-4);
  color: var(--text);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.file-upload {
  border: 2px dashed var(--border-2);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: border-color var(--t);
}
.file-upload:hover {
  border-color: var(--yellow);
}
.file-upload > svg {
  color: var(--yellow);
  margin: 0 auto 0.75rem;
}
.file-upload p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}
.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* === FAQ / ACCORDION === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.accordion-item {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t);
}
.accordion-item.active {
  border-color: var(--yellow);
}
.accordion-header {
  padding: 1.375rem 1.75rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.accordion-header h4 {
  font-size: 0.9375rem;
  margin: 0;
}
.accordion-header span {
  font-size: 1.25rem;
  color: var(--yellow);
  flex-shrink: 0;
  transition: transform var(--t);
  font-weight: 300;
  line-height: 1;
}
.accordion-item.active .accordion-header span {
  transform: rotate(45deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-content p {
  padding: 0 1.75rem 1.375rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}

/* === FOOTER === */
.footer {
  background: #1c1c1e;
  border-top: none;
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}
.footer-logo img {
  height: 100px;
  width: auto;
  flex-shrink: 0;
}
.footer-wordmark {
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #00708f;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.footer-brand p {
  font-size: 0.9rem;
  color: #a0a0a0;
  line-height: 1.75;
  max-width: 270px;
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: 0.625rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: #2a2a2c;
  border: 1px solid #333336;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8a8a;
  transition: all var(--t);
}
.footer-social a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.25rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col ul a {
  font-size: 0.9rem;
  color: #8a8a8a;
  transition: color var(--t);
}
.footer-col ul a:hover {
  color: #ffffff;
}
.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1rem;
}
.footer-contact-item:last-child {
  margin-bottom: 0;
}
.fc-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}
.footer-contact-item a,
.footer-contact-item span {
  font-size: 0.9rem;
  color: #c0c0c0;
  transition: color var(--t);
}
.footer-contact-item a:hover {
  color: var(--yellow);
}
.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid #2e2e2e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.875rem;
  color: #606060;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.875rem;
  color: #606060;
  transition: color var(--t);
}
.footer-legal a:hover {
  color: #a0a0a0;
}

/* === PROSE (justified paragraph text for content pages) === */
.prose p {
  text-align: justify;
  hyphens: none;
  word-spacing: -0.5px;
}
.founder-bio {
  text-align: justify;
  hyphens: none;
  word-spacing: -0.5px;
}

/* === FLOATING WHATSAPP BUTTON === */
@keyframes waFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  opacity: 0;
  animation: waFadeUp 0.5s ease forwards;
  animation-delay: 2s;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  background: #20bd5a;
}

/* Footer mobile-only elements (hidden on desktop) */
.footer-chevron {
  display: none;
}
.fc-icon {
  display: none;
}
.footer-wa-btn {
  display: none;
}

/* === UTILITIES === */
.text-center {
  text-align: center;
}
.text-yellow {
  color: var(--yellow);
}
.text-muted {
  color: var(--text-muted) !important;
}
.fw-bold {
  font-weight: 700;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-10 {
  margin-top: 2.5rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.flex {
  display: flex;
}
.items-center {
  align-items: center;
}
.gap-4 {
  gap: 1rem;
}

/* ============================================================
   DISPLAY TYPOGRAPHY — Heavy condensed headlines
   ============================================================ */
.display-title {
  font-family:
    Impact, "Franklin Gothic Heavy", "Arial Black", "Segoe UI Black", sans-serif;
  font-weight: 900;
  font-size: clamp(3.5rem, 9vw, 9rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.88;
  color: #0a0a0b;
}
.display-title em {
  font-style: normal;
  color: var(--yellow);
}

/* ============================================================
   LIGHT HERO — White background with dark/yellow typography
   ============================================================ */
.hero-light {
  background: #ffffff;
  padding-top: calc(var(--nav-h) + 3rem);
  overflow: hidden;
  border-bottom: 1px solid #ebebeb;
}
.hero-light .hero-content {
  padding: 0;
  max-width: 100%;
}
.hero-light .hero-eyebrow p {
  color: #374151;
}
.hero-light .hero-eyebrow-line {
  background: var(--yellow);
}
.hero-light .hero-subtitle {
  color: #4b5563;
  max-width: 580px;
}
.hero-light .btn-outline {
  border-color: #d1d5db;
  color: #111113;
}
.hero-light .btn-outline:hover {
  border-color: var(--yellow);
  color: #000;
}

/* Image gallery row below hero text */
.hero-gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 0.875rem;
  margin-top: 2.75rem;
  height: 320px;
}
.hero-gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.hero-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.hero-gallery-item:hover img {
  transform: scale(1.04);
}
.hero-gallery-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(10, 10, 11, 0.72);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}
.hero-stat-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--yellow);
  color: #000;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  font-family: Impact, "Franklin Gothic Heavy", sans-serif;
}
.hero-stat-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

/* ============================================================
   WHITE SECTION — Light background, dark text
   ============================================================ */
.section-white {
  background: #ffffff;
}
.section-white h1,
.section-white h2,
.section-white h3,
.section-white h4 {
  color: #0a0a0b;
}
.section-white p {
  color: #4b5563;
}
.section-white .label {
  color: var(--yellow);
}
.section-white .section-header p {
  color: #4b5563;
}
.section-white .step-num {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: var(--yellow);
}
.section-white .step-title {
  color: #0a0a0b;
}
.section-white .step-desc {
  color: #4b5563;
}
.section-white .process-connector {
  background: #e5e7eb;
}
.section-white .process-step:hover .step-num {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
}
.section-white .industry-item {
  background: #f9fafb;
  border-color: #e5e7eb;
}
.section-white .industry-item:hover {
  background: #fffbea;
  border-color: var(--yellow);
  transform: translateX(3px);
}
.section-white .industry-item span {
  color: #0a0a0b;
}
.section-white .card {
  background: #f3f4f6;
  border-color: #e5e7eb;
}
.section-white .card:hover {
  border-color: #d1d5db;
}

/* ============================================================
   NAV LIGHT MODE — Dark text on white/light hero pages
   ============================================================ */
.nav-light-page .header:not(.scrolled) .nav-link {
  color: #374151;
}
.nav-light-page .header:not(.scrolled) .nav-link:hover,
.nav-light-page .header:not(.scrolled) .nav-link.active {
  color: #0a0a0b;
}
.nav-light-page .header:not(.scrolled) .nav-link.active::after {
  background: var(--yellow);
}
.nav-light-page .header:not(.scrolled) .nav-toggle span {
  background: #0a0a0b;
}
.nav-light-page .header:not(.scrolled) .nav-logo img {
  filter: none;
}

/* Also make display headings work on dark sections */
.section-dark .display-title,
.section-alt .display-title {
  color: #ffffff;
}
