/* ============================================
   AHTC – FUTURE FLUID POWER
   Version 2.0 - Production Ready
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* --- Core Palette --- */
  --bg-void: #030303;
  --bg-deep: #0a0a0c;
  --bg-panel: rgba(15, 15, 20, 0.85);
  --bg-panel-solid: #0f0f14;
  --bg-panel-border: rgba(255, 255, 255, 0.06);
  --bg-panel-border-hover: rgba(201, 169, 97, 0.3);

  /* --- Ultra-Professional Corporate Colors --- */
  --accent-primary: #4FA8FF;
  /* High-Contrast Steel Blue */
  --accent-secondary: #214d76;
  /* Deep Support Blue */
  --accent-warm: #8a9ba8;
  /* Steel Gray */
  /* Steel Gray */
  --accent-gold: #c9a961;
  /* Professional Gold */
  --accent-safety: #FF6B35;
  /* Safety Orange - High Contrast Action */
  --accent-light: #d4c5a0;
  /* Light Gold for text */
  --accent-glow: rgba(201, 169, 97, 0.08);
  --accent-glow-strong: rgba(201, 169, 97, 0.2);

  /* --- Text Colors --- */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.85);
  /* Increased from 0.7 for better legibility */
  --text-muted: rgba(255, 255, 255, 0.55);
  /* Increased from 0.4 for better legibility */
  --text-dark: #0a0a0c;

  /* --- Typography --- */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* --- Spacing --- */
  --section-padding: clamp(80px, 12vw, 160px);
  --container-width: 1400px;

  /* --- Animation Curves --- */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) var(--bg-void);
}

html::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track {
  background: var(--bg-void);
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-gold), var(--accent-primary));
  border-radius: 4px;
}

body {
  font-family: var(--font-display);
  background-color: var(--bg-void);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-out-expo);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Loader removed */

/* ============================================
   TYPOGRAPHY
   ============================================ */
.text-display {
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.95;
}

.text-display--xl {
  font-size: clamp(3rem, 12vw, 10rem);
}

.text-display--lg {
  font-size: clamp(2.5rem, 8vw, 6rem);
}

.text-display--md {
  font-size: clamp(1.75rem, 4vw, 3rem);
}

.text-display--sm {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.text-mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.text-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-primary), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section--dark {
  background: var(--bg-deep);
}

.section--gradient {
  background: linear-gradient(180deg, var(--bg-void) 0%, var(--bg-deep) 50%, var(--bg-void) 100%);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 1000;
  transition: all 0.4s var(--ease-out-expo);
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 3, 3, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
  z-index: -1;
}

.header.scrolled::before {
  opacity: 1;
}

.header.scrolled {
  padding: 16px 0;
  border-bottom: 1px solid var(--bg-panel-border);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Logo Styles --- */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo__image {
  height: 110px;
  /* Increased from 70px for greater brand impact */
  width: auto;
  transition: all 0.4s var(--ease-out-expo);
}

/* Logo color adaptation - White version for dark backgrounds (default) */
.logo__image {
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(79, 168, 255, 0.2));
  /* Makes logo white with a subtle cyan-blue technological glow for "High Quality" feel */
}

/* Logo on light backgrounds - will be dark */
.section--light .logo__image,
.header--light .logo__image {
  filter: brightness(0);
  /* Makes logo black */
}

.logo:hover .logo__image {
  transform: scale(1.05);
  filter: brightness(0) invert(1) drop-shadow(0 0 10px var(--accent-glow-strong));
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav__link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  padding: 12px 28px;
  background: transparent;
  border: 1px solid var(--accent-safety);
  color: var(--accent-safety);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.4s var(--ease-out-expo);
}

.nav__cta:hover {
  background: var(--accent-safety);
  color: var(--accent-secondary);
  /* Navy text on Orange background */
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.4);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s var(--ease-out-expo);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-image: url('images/hero-bg.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at center, transparent 0%, var(--bg-void) 70%),
    linear-gradient(180deg, transparent 0%, var(--bg-void) 95%);
  z-index: 1;
}

/* Floating Particles */
.hero__particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}

.particle:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  left: 20%;
  top: 60%;
  animation-delay: 1s;
  animation-duration: 10s;
}

.particle:nth-child(3) {
  left: 70%;
  top: 30%;
  animation-delay: 2s;
  animation-duration: 7s;
}

.particle:nth-child(4) {
  left: 80%;
  top: 70%;
  animation-delay: 3s;
  animation-duration: 9s;
}

.particle:nth-child(5) {
  left: 50%;
  top: 80%;
  animation-delay: 4s;
  animation-duration: 11s;
}

.particle:nth-child(6) {
  left: 30%;
  top: 40%;
  animation-delay: 5s;
  animation-duration: 8s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.6;
  }

  25% {
    transform: translateY(-30px) translateX(10px);
    opacity: 1;
  }

  50% {
    transform: translateY(-20px) translateX(-15px);
    opacity: 0.4;
  }

  75% {
    transform: translateY(-40px) translateX(5px);
    opacity: 0.8;
  }
}

.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1000px;
  padding: 0 20px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) forwards 0.3s;
}

.hero__label::before,
.hero__label::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent-primary);
}

.hero__title {
  margin-bottom: 32px;
  text-shadow: 0 4px 60px rgba(0, 0, 0, 0.8);
}

.hero__title .word {
  display: block;
  overflow: hidden;
}

.hero__title .word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: slideUp 1s var(--ease-out-expo) forwards;
}

.hero__title .word:nth-child(1) span {
  animation-delay: 0.4s;
}

.hero__title .word:nth-child(2) span {
  animation-delay: 0.5s;
}

.hero__title .word:nth-child(3) span {
  animation-delay: 0.6s;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) forwards 0.8s;
}

.hero__cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) forwards 1s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) forwards 1.5s;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--accent-primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    height: 60px;
  }

  50% {
    opacity: 1;
    height: 80px;
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 40px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.btn--primary {
  background: var(--accent-safety);
  color: var(--accent-secondary);
  /* Navy text for high contrast */
  font-weight: 700;
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
  /* Orange glow */
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--bg-panel-border);
  color: var(--text-primary);
}

.btn--outline:hover {
  border-color: var(--accent-safety);
  color: var(--accent-safety);
}

.btn__icon {
  transition: transform 0.3s var(--ease-out-expo);
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

/* ============================================
   GLASS PANELS
   ============================================ */
.glass-panel {
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-panel-border);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}

.glass-panel:hover {
  border-color: var(--bg-panel-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.glass-panel:hover::before {
  opacity: 1;
}

/* 3D Tilt Effect via JS */
.glass-panel.tilt {
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* ============================================
   STATS / METRICS
   ============================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--bg-panel-border);
}

.stat {
  background: var(--bg-deep);
  padding: 48px 32px;
  text-align: center;
  transition: background 0.3s var(--ease-out-expo);
}

.stat:hover {
  background: var(--bg-panel-solid);
}

.stat__number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.service-card {
  position: relative;
  padding: 48px;
  background: var(--bg-panel);
  border: 1px solid var(--bg-panel-border);
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-safety), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}

.service-card:hover {
  border-color: var(--bg-panel-border-hover);
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card__number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 20px;
  right: 20px;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--accent-primary);
}

.service-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card__description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.service-card__link svg {
  transition: transform 0.3s var(--ease-out-expo);
}

.service-card:hover .service-card__link svg {
  transform: translateX(6px);
}

/* ============================================
   INDUSTRY SHOWCASE
   ============================================ */
.industries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.industry-card {
  position: relative;
  height: 400px;
  overflow: hidden;
  cursor: pointer;
}

.industry-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.industry-card:hover .industry-card__image {
  transform: scale(1.1);
}

.industry-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.9) 100%);
  transition: background 0.5s var(--ease-out-expo);
}

.industry-card:hover .industry-card__overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.95) 100%);
}

.industry-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  transform: translateY(20px);
  transition: transform 0.5s var(--ease-out-expo);
}

.industry-card:hover .industry-card__content {
  transform: translateY(0);
}

.industry-card__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.industry-card__description {
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s var(--ease-out-expo) 0.1s;
}

.industry-card:hover .industry-card__description {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PAGE HEADER (Subpages)
   ============================================ */
.page-header {
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  padding-top: 120px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--bg-void) 0%, transparent 30%, rgba(0, 0, 0, 0.8) 100%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-void);
  border-top: 1px solid var(--bg-panel-border);
  padding: 80px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  height: 40px;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
}

.footer__description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.foo.text-highlight {
  color: var(--accent-safety);
  font-weight: 700;
}

.footer__link {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s var(--ease-out-expo);
}

.footer__link:hover {
  color: var(--accent-primary);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--bg-panel-border);
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for children */
.stagger>*:nth-child(1) {
  transition-delay: 0.1s;
}

.stagger>*:nth-child(2) {
  transition-delay: 0.2s;
}

.stagger>*:nth-child(3) {
  transition-delay: 0.3s;
}

.stagger>*:nth-child(4) {
  transition-delay: 0.4s;
}

.stagger>*:nth-child(5) {
  transition-delay: 0.5s;
}

.stagger>*:nth-child(6) {
  transition-delay: 0.6s;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

.mb-sm {
  margin-bottom: 16px;
}

.mb-md {
  margin-bottom: 32px;
}

.mb-lg {
  margin-bottom: 64px;
}

.mb-xl {
  margin-bottom: 100px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .logo__image {
    height: 70px;
    /* Reduced from 110px for mobile ergonomics */
  }

  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-void);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-expo);
  }

  .nav__links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    font-size: 1.5rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero__title .word span {
    font-size: clamp(2.5rem, 15vw, 5rem);
  }
}

/* ============================================
   FORM STYLES
   ============================================ */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-panel-solid);
  /* Changed from transparent to solid for dropdown visibility */
  border: 1px solid var(--bg-panel-border);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: all 0.3s var(--ease-out-expo);
  appearance: none;
  /* Reset for custom consistency */
}

/* Fix for invisible dropdown options */
select.form-input option {
  background: var(--bg-panel-solid);
  color: var(--text-primary);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  max-width: 700px;
  margin-bottom: 80px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header__label {
  margin-bottom: 16px;
}

.section-header__title {
  margin-bottom: 24px;
}

.section-header__description {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.8;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}