/* PRAYA - Industrial Brutalist Design System */

/* ==========================================
   FONTS
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
  /* Colors */
  --black: #0a0a0a;
  --dark: #141414;
  --dark-elevated: #1a1a1a;
  --dark-surface: #222222;
  --lime: #c8d944;
  --lime-glow: rgba(200, 217, 68, 0.3);
  --lime-dim: #9aa832;
  --white: #ffffff;
  --gray-100: rgba(255, 255, 255, 0.95);
  --gray-200: rgba(255, 255, 255, 0.8);
  --gray-300: rgba(255, 255, 255, 0.6);
  --gray-400: rgba(255, 255, 255, 0.4);
  --gray-500: rgba(255, 255, 255, 0.2);

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --space-2xl: 12rem;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1400px;
  --header-height: 80px;
}

/* ==========================================
   RESET & BASE
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-200);
  background-color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grain overlay for texture */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

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

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

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

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3.5rem, 12vw, 10rem);
}

h2 {
  font-size: clamp(2.5rem, 8vw, 5rem);
}

h3 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h4 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  max-width: 65ch;
}

.text-lime {
  color: var(--lime);
}

.text-muted {
  color: var(--gray-300);
}

/* ==========================================
   LAYOUT
   ========================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section--tight {
  padding: var(--space-lg) 0;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: linear-gradient(180deg, var(--black) 0%, transparent 100%);
  transition: var(--transition-medium);
}

.header.is-scrolled {
  background: var(--dark);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-500);
}

.header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 1001;
}

.logo img {
  height: 40px;
  width: auto;
}

/* Navigation */
.nav {
  display: none;
}

.nav-list {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav-list a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-200);
  position: relative;
  transition: var(--transition-fast);
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: var(--transition-fast);
}

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

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--lime);
  color: var(--black) !important;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--lime-dim);
}

/* Mobile menu button */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  z-index: 1001;
  cursor: pointer;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition-fast);
}

.nav-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile navigation open state */
.nav.is-open {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.nav.is-open .nav-list {
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.nav.is-open .nav-list a {
  font-family: var(--font-display);
  font-size: 2.5rem;
}

@media (min-width: 768px) {
  .nav {
    display: block;
  }

  .nav-toggle {
    display: none;
  }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

/* Diagonal overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(
    135deg,
    var(--black) 0%,
    transparent 40%,
    transparent 60%,
    rgba(200, 217, 68, 0.05) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--space-md);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.hero-tag {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--lime);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero-tag::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--lime);
}

.hero-title {
  margin-bottom: var(--space-md);
  max-width: 12ch;
}

.hero-title-line {
  display: block;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-200);
  max-width: 50ch;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--gray-300);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--lime) 0%, transparent 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid transparent;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary {
  background: var(--lime);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--lime-dim);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px var(--lime-glow);
}

.btn-secondary {
  background: transparent;
  border-color: var(--gray-400);
  color: var(--white);
}

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

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1rem;
}

/* ==========================================
   SERVICES GRID
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

/* Service card styles moved to end of file */

/* Old BEM-style video/about styles removed - see updated styles at end of file */

/* ==========================================
   STATS SECTION
   ========================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--gray-500);
  border-bottom: 1px solid var(--gray-500);
}

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

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--lime);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat__label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-300);
}

/* ==========================================
   TESTIMONIAL
   ========================================== */
.testimonial {
  background: var(--dark);
  text-align: center;
}

.testimonial__quote {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--gray-100);
  max-width: 50ch;
  margin: 0 auto var(--space-md);
  position: relative;
}

.testimonial__quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--lime);
  opacity: 0.2;
  position: absolute;
  top: -3rem;
  left: -2rem;
  line-height: 1;
}

.testimonial__author {
  font-weight: 600;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
  background: linear-gradient(135deg, var(--lime) 0%, var(--lime-dim) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(15deg);
}

.cta-section__title {
  color: var(--black);
  margin-bottom: var(--space-sm);
}

.cta-section__text {
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: var(--space-lg);
  margin-left: auto;
  margin-right: auto;
}

.btn--dark {
  background: var(--black);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--dark-elevated);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--black);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 1px solid var(--gray-500);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

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

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

.footer-logo {
  height: 36px;
  margin-bottom: var(--space-md);
}

.footer-tagline {
  color: var(--lime);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.footer-desc {
  color: var(--gray-300);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-nav h4,
.footer-services h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lime);
  margin-bottom: var(--space-md);
}

.footer-nav ul,
.footer-services ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-nav a,
.footer-services a {
  color: var(--gray-300);
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.footer-nav a:hover,
.footer-services a:hover {
  color: var(--white);
}

.footer-contact address {
  font-style: normal;
  color: var(--gray-300);
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-contact a {
  color: var(--gray-300);
  transition: var(--transition-fast);
}

.footer-contact a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-500);
  font-size: 0.75rem;
  color: var(--gray-400);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-hosted {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--gray-400);
  font-size: 0.7rem;
}

/* ==========================================
   PAGE HEROES (Internal Pages)
   ========================================== */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: calc(var(--header-height) + var(--space-lg));
  padding-bottom: var(--space-lg);
  overflow: hidden;
}

/* Page hero uses .hero-overlay from main hero */

/* ==========================================
   PRODUCT GRID
   ========================================== */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: var(--dark-elevated);
  border: 1px solid var(--gray-500);
  padding: var(--space-md);
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-medium);
}

.product-card:hover {
  border-color: var(--lime);
  transform: translateY(-4px);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card__icon {
  width: 48px;
  height: 48px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.product-card__icon svg {
  color: var(--black);
}

.product-card__title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.product-card__description {
  font-size: 0.875rem;
  color: var(--gray-300);
}

/* ==========================================
   VALUES GRID
   ========================================== */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background: var(--dark);
  padding: var(--space-lg);
  border-left: 4px solid var(--lime);
  transition: var(--transition-medium);
}

.value-card:hover {
  background: var(--dark-elevated);
}

.value-card__icon {
  width: 56px;
  height: 56px;
  background: var(--lime-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.value-card__icon svg {
  color: var(--lime);
}

.value-card__title {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.value-card__text {
  font-size: 0.875rem;
  color: var(--gray-300);
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  background: var(--dark);
  padding: var(--space-lg);
}

.contact-info__item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg {
  color: var(--black);
}

.contact-info__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-300);
  margin-bottom: var(--space-xs);
}

.contact-info__value {
  font-size: 1.125rem;
  color: var(--white);
}

.contact-map {
  background: var(--dark-elevated);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-500);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  filter: grayscale(100%) invert(92%) contrast(83%);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
}

.stagger-children.visible > *:nth-child(1) { animation: fadeUp 0.5s ease 0.1s forwards; }
.stagger-children.visible > *:nth-child(2) { animation: fadeUp 0.5s ease 0.2s forwards; }
.stagger-children.visible > *:nth-child(3) { animation: fadeUp 0.5s ease 0.3s forwards; }
.stagger-children.visible > *:nth-child(4) { animation: fadeUp 0.5s ease 0.4s forwards; }
.stagger-children.visible > *:nth-child(5) { animation: fadeUp 0.5s ease 0.5s forwards; }
.stagger-children.visible > *:nth-child(6) { animation: fadeUp 0.5s ease 0.6s forwards; }
.stagger-children.visible > *:nth-child(7) { animation: fadeUp 0.5s ease 0.7s forwards; }
.stagger-children.visible > *:nth-child(8) { animation: fadeUp 0.5s ease 0.8s forwards; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center { text-align: center; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-lg { margin-top: var(--space-lg); }

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header__label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--lime);
  margin-bottom: var(--space-sm);
}

.section-header__title {
  margin-bottom: var(--space-sm);
}

.section-header__text {
  color: var(--gray-300);
  max-width: 60ch;
  margin: 0 auto;
}

/* ==========================================
   ADDITIONAL COMPONENT STYLES
   ========================================== */

/* Page Hero Variants */
.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--space-md);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
}

.page-hero-short {
  min-height: 40vh;
}

/* Section Tag */
.section-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.section-tag::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--lime);
}

/* Section Title */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
}

/* Section Header Centered */
.section-header.center {
  text-align: center;
}

.section-header.center .section-tag::before {
  display: none;
}

/* Accent Color */
.accent {
  color: var(--lime);
}

/* Services Overview Section */
.services-overview {
  background: var(--dark);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

/* Service Card */
.service-card {
  background: var(--dark-elevated);
  border: 1px solid var(--gray-500);
  padding: var(--space-lg);
  transition: var(--transition-medium);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-medium);
  pointer-events: none;
  z-index: 1;
}

.service-card:hover {
  border-color: var(--lime);
  transform: translateY(-8px);
  background: var(--dark-surface);
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Keep text colors consistent on hover */
.service-card:hover .service-title {
  color: var(--white);
}

.service-card:hover .service-desc {
  color: var(--gray-200);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--lime-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.service-icon svg {
  color: var(--lime);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-sm);
  color: var(--white);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--gray-300);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--lime);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition-fast);
  position: relative;
  z-index: 2;
}

.service-link:hover {
  gap: var(--space-sm);
}

.service-link svg {
  transition: var(--transition-fast);
}

/* Video Section */
.video-section {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* Video section - same layout as story-grid but reversed (video left, text right) */
.video-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 1024px) {
  .video-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.video-container {
  position: relative;
}

.video-frame {
  background: var(--dark);
  border: 1px solid var(--gray-500);
  overflow: hidden;
  width: 100%;
}

.video-content p {
  color: var(--gray-300);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

/* About Preview - same layout as story-grid (text left, image right) */
.about-preview {
  background: var(--dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
}

.about-image-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 50%;
  height: 50%;
  background: var(--lime);
  opacity: 0.1;
  z-index: -1;
}

.about-content {
  padding: var(--space-lg) 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content .section-tag {
  justify-content: flex-start;
}

.about-content .section-title {
  text-align: left;
}

.about-content p {
  color: var(--gray-300);
  margin-bottom: var(--space-md);
  line-height: 1.8;
  max-width: none;
  text-align: left;
}

/* Stats Section */
.stats-section {
  background: var(--black);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--gray-500);
  border-bottom: 1px solid var(--gray-500);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

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

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--lime);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Why Section */
.why-section {
  background: var(--dark-elevated);
}

/* Value Card */
.value-card {
  background: var(--dark);
  padding: var(--space-lg);
  border-left: 4px solid var(--lime);
  transition: var(--transition-medium);
  position: relative;
}

.value-card:hover {
  background: var(--dark-surface);
}

.value-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--lime);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.7;
}

.value-icon {
  width: 56px;
  height: 56px;
  background: var(--lime-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.value-icon svg {
  color: var(--lime);
}

.values-grid.large .value-card {
  padding: var(--space-xl) var(--space-lg);
}

/* Testimonial Section */
.testimonial-section {
  background: var(--black);
  padding: var(--space-2xl) 0;
}

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 10rem;
  color: var(--lime);
  opacity: 0.1;
  line-height: 0.5;
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial blockquote {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.6;
  color: var(--gray-100);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.testimonial cite {
  font-style: normal;
}

.testimonial cite strong {
  display: block;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.testimonial cite span {
  font-size: 0.875rem;
  color: var(--lime);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--dark-elevated) 0%, var(--dark) 100%);
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8d944' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 0.95;
  margin-bottom: var(--space-md);
}

.cta-content p {
  font-size: 1.125rem;
  color: var(--gray-300);
  max-width: 50ch;
  margin: 0 auto var(--space-lg);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-actions {
    flex-direction: row;
  }
}

/* Mission Section */
.mission-section {
  background: var(--dark);
  padding: var(--space-2xl) 0;
}

.mission-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.mission-quote {
  font-family: var(--font-display);
  font-size: 12rem;
  color: var(--lime);
  opacity: 0.1;
  line-height: 0.5;
  position: absolute;
  top: -3rem;
  left: 0;
}

.mission-text {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-100);
  position: relative;
  z-index: 1;
}

/* Story Section */
.story-section {
  background: var(--black);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.story-content p {
  color: var(--gray-300);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.story-image {
  position: relative;
}

.story-image img {
  width: 100%;
  height: auto;
}

.story-image-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 50%;
  height: 50%;
  background: var(--lime);
  opacity: 0.1;
  z-index: -1;
}

/* Values Section */
.values-section {
  background: var(--dark-elevated);
}

/* Facility Section */
.facility-section {
  background: var(--dark);
}

.facility-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

.facility-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.facility-item.large {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}

@media (min-width: 768px) {
  .facility-item.large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    aspect-ratio: auto;
  }
}

.facility-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.facility-item:hover img {
  transform: scale(1.05);
}

.facility-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.facility-caption span {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
}

/* Services Detail */
.services-intro {
  background: var(--dark);
  padding: var(--space-lg) 0;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-text {
  font-size: 1.25rem;
  color: var(--gray-200);
  line-height: 1.8;
}

/* Main Services */
.main-services {
  background: var(--black);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--gray-500);
}

@media (min-width: 1024px) {
  .service-detail {
    grid-template-columns: 1fr 1fr;
  }
}

.service-detail.reverse .service-detail-content {
  order: 1;
}

@media (min-width: 1024px) {
  .service-detail.reverse .service-detail-content {
    order: 2;
  }

  .service-detail.reverse .service-detail-image {
    order: 1;
  }
}

.service-number {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--lime);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.service-detail-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.95;
  margin-bottom: var(--space-md);
}

.service-detail-content p {
  color: var(--gray-300);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.service-features {
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  color: var(--gray-200);
}

.service-features svg {
  color: var(--lime);
  flex-shrink: 0;
}

.service-detail-image {
  position: relative;
}

.service-detail-image img {
  width: 100%;
  height: auto;
}

/* Process Section */
.process-section {
  background: var(--dark);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .process-steps {
    flex-direction: row;
    align-items: flex-start;
  }
}

.process-step {
  flex: 1;
  text-align: center;
  padding: var(--space-md);
}

.process-icon {
  width: 64px;
  height: 64px;
  background: var(--lime-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.process-icon svg {
  color: var(--lime);
}

.process-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--lime);
  display: block;
  margin-bottom: var(--space-xs);
}

.process-step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.process-step p {
  font-size: 0.875rem;
  color: var(--gray-300);
}

.process-connector {
  display: none;
}

@media (min-width: 768px) {
  .process-connector {
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gray-500);
    margin-top: 32px;
    flex-shrink: 0;
  }
}

/* Materials Section */
.materials-section {
  background: var(--dark-elevated);
}

.materials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.material-tag {
  background: var(--dark);
  border: 1px solid var(--gray-500);
  padding: var(--space-sm) var(--space-md);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.material-tag:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.materials-note {
  color: var(--gray-300);
  font-size: 0.9rem;
}

.materials-note a {
  color: var(--lime);
  text-decoration: underline;
}

/* Solutions Intro */
.solutions-intro {
  background: var(--dark);
  padding: var(--space-lg) 0;
}

/* Products Section */
.products-section {
  background: var(--black);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product Card (updated) */
.product-card {
  background: var(--dark-elevated);
  border: 1px solid var(--gray-500);
  overflow: hidden;
  transition: var(--transition-medium);
}

.product-card:hover {
  border-color: var(--lime);
  transform: translateY(-4px);
}

.product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--dark);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-content {
  padding: var(--space-md);
}

.product-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--lime);
  font-weight: 600;
}

.product-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: var(--space-xs) 0 var(--space-sm);
}

.product-desc {
  font-size: 0.85rem;
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lime);
  transition: var(--transition-fast);
}

.product-link:hover {
  gap: var(--space-sm);
}

/* Summary Section */
.summary-section {
  background: var(--dark);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

.summary-card {
  background: var(--dark-elevated);
  padding: var(--space-lg);
  border-left: 4px solid var(--lime);
}

.summary-icon {
  width: 64px;
  height: 64px;
  background: var(--lime-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.summary-icon svg {
  color: var(--lime);
}

.summary-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.summary-card p {
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.summary-card ul {
  list-style: none;
}

.summary-card li {
  padding: var(--space-xs) 0;
  color: var(--gray-200);
  font-size: 0.9rem;
  padding-left: var(--space-md);
  position: relative;
}

.summary-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--lime);
  transform: translateY(-50%);
}

/* Quality Section */
.quality-section {
  background: var(--dark-elevated);
}

.quality-content {
  max-width: 900px;
  margin: 0 auto;
}

.quality-content p {
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.quality-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

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

.quality-feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--dark);
}

.quality-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--lime);
}

.quality-feature p {
  margin: 0;
  color: var(--gray-200);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  background: var(--dark);
  padding: var(--space-lg);
}

.contact-intro {
  margin-bottom: var(--space-lg);
}

.contact-intro h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.contact-intro p {
  color: var(--gray-300);
  line-height: 1.7;
}

.contact-details {
  margin-bottom: var(--space-lg);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--gray-500);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  color: var(--black);
}

.contact-text h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: var(--space-xs);
}

.contact-text address {
  font-style: normal;
  color: var(--gray-100);
  line-height: 1.6;
}

.contact-link {
  color: var(--gray-100);
  transition: var(--transition-fast);
}

.contact-link:hover {
  color: var(--lime);
}

.contact-cta {
  margin-top: var(--space-lg);
}

.contact-cta-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: var(--space-sm);
}

.contact-map {
  position: relative;
  background: var(--dark-elevated);
  min-height: 400px;
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  filter: grayscale(100%) invert(92%) contrast(83%);
}

.map-overlay {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
}

/* Hours Section */
.hours-section {
  background: var(--dark);
  padding: var(--space-xl) 0;
}

.hours-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

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

.hours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.hours-item {
  text-align: center;
  padding: var(--space-md);
  background: var(--dark-elevated);
}

.hours-item .day {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: var(--space-xs);
}

.hours-item .time {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-100);
}

/* Quick Contact */
.quick-contact {
  background: var(--dark-elevated);
  text-align: center;
}

.quick-contact-content h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.quick-contact-content p {
  color: var(--gray-300);
  margin-bottom: var(--space-md);
}

/* Button Variants */
.btn-full {
  width: 100%;
  justify-content: center;
}

.btn svg {
  flex-shrink: 0;
}

/* Fade In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Body state when nav is open */
body.nav-open {
  overflow: hidden;
}

/* Reduced motion */
.reduce-motion * {
  animation: none !important;
  transition: none !important;
}

/* Grain Element (alternative) */
.grain {
  display: none;
}

/* ==========================================
   HERO LOGO SCROLL ANIMATION
   ========================================== */
/* Initially hide header logo when hero logo is visible */
.header .logo {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Show header logo when scrolled */
.header.logo-in-header .logo {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Logo Styling - replaces the title */
.hero-logo {
  margin-bottom: var(--space-lg);
  position: relative;
  display: inline-block;
}

.hero-logo img {
  height: clamp(80px, 12vw, 140px);
  width: auto;
  filter: drop-shadow(0 0 60px rgba(200, 217, 68, 0.5));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Lime glow accent behind logo */
.hero-logo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(200, 217, 68, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-logo img {
    height: 100px;
  }

  .hero-logo::after {
    width: 250px;
    height: 120px;
  }
}
