/* ========================================
   FV QUALITY - MAIN STYLESHEET
   "Organic Tech" Design System
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
  /* Colors */
  --color-forest: #133621;
  --color-forest-dark: #0d2618;
  --color-forest-light: #1a4a2e;
  --color-cream: #f5f2eb;
  --color-white: #ffffff;
  --color-black: #0a0a0a;
  --color-gold: #c9a962;
  --color-gold-light: #e8d5a3;

  /* Glassmorphism */
  --glass-bg: rgba(19, 54, 33, 0.75);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 20px;

  /* Typography */
  --font-display: 'Playfair Display', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

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

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;

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

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-forest);
  margin: 0;
  padding: 0;
  min-height: 100%;
  overscroll-behavior: none;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-forest);
  color: var(--color-cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  overscroll-behavior: none;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  top: -10px;
  left: 0;
  width: 100%;
  height: 120%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' 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");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

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

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

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

ul,
ol {
  list-style: none;
}

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

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

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

.text-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

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

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

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid {
  display: grid;
}

/* ========== LOADING SCREEN ========== */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-black);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-smooth), visibility 0.8s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: -1;
}

.loader__logo {
  width: 120px;
  height: auto;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s var(--ease-smooth);
  filter: brightness(0) invert(1);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
}

.loader__logo.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.loader__counter {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  letter-spacing: 0.1em;
}

.loader__counter span {
  display: inline-block;
  width: 1.2ch;
  text-align: center;
}

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: transparent;
  transition: all var(--duration-normal) var(--ease-smooth);
  padding: 0 var(--space-md);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
}

.nav__logo {
  height: 40px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.nav__logo img {
  height: 100%;
  width: auto;
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-cream);
  letter-spacing: 0.05em;
}

.nav__menu {
  display: flex;
  gap: var(--space-lg);
}

.nav__link {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--duration-normal) var(--ease-smooth);
}

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

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-cream);
  transition: all var(--duration-fast);
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__video-container {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: calc(100% + 1px);
  z-index: -1;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(19, 54, 33, 0.6) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-md);
}

.hero__title {
  font-size: clamp(3rem, 10vw, 7rem);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.hero__title .word {
  display: inline-block;
  margin-right: 0.3em;
}

.hero__title .char {
  display: inline-block;
  transition: transform 0.3s var(--ease-smooth);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.1em;
}

.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);
  opacity: 0.7;
  animation: float 2s ease-in-out infinite;
}

.hero__scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-cream), transparent);
}

@keyframes float {

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

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

/* ========== PRODUCTS SECTION ========== */
.products {
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.products__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

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

.products__subtitle {
  opacity: 0.8;
}

.products__slider {
  display: flex;
  height: 70vh;
  min-height: 500px;
}

.products__item {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: none;
  transition: flex var(--duration-slow) var(--ease-smooth);
}

.products__item:hover {
  flex: 2;
}

.products__item:not(:hover) {
  flex: 0.5;
}

.products__item:not(:hover) .products__item-overlay {
  opacity: 0.7;
}

.products__item-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.products__item:hover .products__item-image {
  transform: scale(1.05);
}

.products__item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top,
      rgba(10, 10, 10, 0.8) 0%,
      rgba(10, 10, 10, 0.2) 50%,
      transparent 100%);
  transition: opacity var(--duration-normal);
}

.products__item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-lg);
  transform: translateY(50px);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.products__item:hover .products__item-content {
  transform: translateY(0);
  opacity: 1;
}

.products__item-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-sm);
}

.products__item-description {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 400px;
}

/* Custom Cursor */
.cursor {
  position: fixed;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: opacity 0.3s, transform 0.3s var(--ease-bounce);
}

.cursor.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cursor__text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-black);
}

/* ========== ABOUT SECTION ========== */
.about {
  padding: var(--space-2xl) 0;
  background: var(--color-forest-dark);
}

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

.about__content {
  max-width: 600px;
}

.about__label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.about__title {
  margin-bottom: var(--space-md);
}

.about__text {
  margin-bottom: var(--space-md);
  opacity: 0.9;
}

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

.about__stat {
  text-align: center;
}

.about__stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--color-gold);
  line-height: 1;
}

.about__stat-label {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-top: var(--space-xs);
}

/* Interactive Map */
.about__map {
  position: relative;
  height: 500px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  overflow: hidden;
}

.map__container {
  width: 100%;
  height: 100%;
  position: relative;
}

.map__svg {
  width: 100%;
  height: 100%;
}

.map__point {
  fill: var(--color-gold);
  opacity: 0.3;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.map__point.active {
  opacity: 1;
  filter: drop-shadow(0 0 10px var(--color-gold));
}

.map__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  fill: var(--color-cream);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.map__label.active {
  opacity: 1;
}

/* ========== PROCESSES SECTION ========== */
.processes {
  padding: var(--space-2xl) 0;
  position: relative;
}

.processes__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  min-height: 200vh;
}

.processes__sticky {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-md));
  height: fit-content;
}

.processes__image-container {
  position: relative;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
}

.processes__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all var(--duration-slow) var(--ease-smooth);
}

.processes__image.zoom {
  transform: scale(1.5);
}

.processes__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding-top: 20vh;
}

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

.processes__label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.processes__title {
  margin-bottom: var(--space-md);
}

.process-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: var(--space-lg);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.process-card.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-gold);
  transform: translateX(20px);
}

.process-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-forest);
  font-size: 1.5rem;
}

.process-card__title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.process-card__description {
  opacity: 0.8;
  font-size: 1rem;
}

/* ========== FOOTER ========== */
/* ========== FOOTER ========== */
.footer {
  padding: var(--space-2xl) 0 var(--space-lg);
  background: var(--color-black);
  color: var(--color-cream);
  position: relative;
  overflow: hidden;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

/* Form Column */
.footer__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--space-sm);
  color: var(--color-gold);
}

.footer__subtitle {
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
  opacity: 0.8;
  max-width: 400px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: var(--space-xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: var(--space-sm) 0;
  color: white;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form-label {
  position: absolute;
  top: var(--space-sm);
  left: 0;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
  top: -20px;
  font-size: 0.8rem;
  color: var(--color-gold);
}

.form-submit {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: var(--space-md) var(--space-xl);
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  margin-top: var(--space-md);
}

.form-submit:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-black);
}

/* Info Column */
.footer__info-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer__brand-large {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
  margin-bottom: var(--space-xl);
}

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

.location-item h4 {
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.location-item p {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.location-link {
  font-size: 0.9rem;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.location-link:hover {
  opacity: 1;
  color: var(--color-gold);
}

.footer__socials-large {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.social-link-large {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: white;
  transition: color 0.3s;
}

.social-link-large:hover {
  color: var(--color-gold);
}

.social-icons {
  display: flex;
  gap: var(--space-lg);
}

.social-icons a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  transition: all 0.3s;
}

.social-icons a:hover {
  opacity: 1;
  color: var(--color-gold);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  opacity: 0.5;
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

.legal-link {
  transition: color 0.3s;
}

.legal-link:hover {
  color: white;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .about__container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about__map {
    height: 400px;
  }

  .processes__container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .processes__sticky {
    position: relative;
    top: 0;
  }

  .footer__bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card--large {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .nav__menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--color-forest-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal);
  }

  .nav__menu.open {
    opacity: 1;
    visibility: visible;
  }

  .nav__toggle {
    display: flex;
  }

  .products__slider {
    flex-direction: column;
    height: auto;
  }

  .products__item {
    height: 300px;
    flex: none !important;
  }

  .products__item:hover {
    flex: none !important;
  }

  .products__item-content {
    transform: translateY(0);
    opacity: 1;
  }

  .about__stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__bento {
    grid-template-columns: 1fr;
  }

  .bento-card--large {
    grid-column: span 1;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ========== PROCESSES SECTION - NEW LAYOUT ========== */
.processes {
  padding: var(--space-2xl) 0;
  background: var(--color-forest);
  color: var(--color-cream);
}

.processes__intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
}

.processes__main-title {
  color: var(--color-cream);
  margin-bottom: var(--space-md);
}

.processes__quote {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: rgba(245, 242, 235, 0.85);
  opacity: 0.9;
}

.processes__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

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

.process-block--reverse {
  direction: rtl;
}

.process-block--reverse>* {
  direction: ltr;
}

.process-block__image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.process-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.process-block:hover .process-block__image img {
  transform: scale(1.05);
}

.process-block__content {
  padding: var(--space-lg);
}

.process-block__number {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  display: block;
}

.process-block__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-cream);
  margin-bottom: var(--space-md);
}

.process-block__description {
  color: rgba(245, 242, 235, 0.85);
  line-height: 1.7;
}

.processes__divider {
  text-align: center;
  padding: var(--space-xl) 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  margin: var(--space-lg) 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.processes__divider-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.processes__divider-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
}

.processes__divider-text {
  font-style: italic;
  color: rgba(245, 242, 235, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== INSPECTIONS SECTION ========== */
.inspections {
  padding: var(--space-2xl) 0;
  background: var(--color-forest-dark);
  color: var(--color-cream);
}

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

.inspections__image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.inspections__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inspections__content {
  padding: var(--space-lg);
}

.inspections__title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--color-cream);
  margin-bottom: var(--space-lg);
}

.inspections__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.inspection-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.inspection-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-gold);
  transform: translateY(-4px);
}

.inspection-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.inspection-item__content h4 {
  font-size: 1.1rem;
  color: var(--color-cream);
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.inspection-item__content p {
  color: rgba(245, 242, 235, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== TEAM SECTION ========== */
.team {
  position: relative;
  padding: var(--space-2xl) 0;
  color: var(--color-cream);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.team__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.team__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.75);
}

.team__container {
  position: relative;
  z-index: 2;
}

.team__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.team__icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.team__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

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

.team-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: var(--space-lg);
  backdrop-filter: blur(10px);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.team-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-gold);
  transform: translateY(-8px);
}

.team-card__title {
  font-size: 1.25rem;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.team-card__description {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* ========== BENTO CARD UPDATES ========== */
.bento-card__heading {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.bento-card__text {
  opacity: 0.8;
  margin-bottom: var(--space-md);
}

.bento-card__link {
  color: var(--color-gold);
  font-size: 1.25rem;
  font-weight: 500;
  transition: all var(--duration-fast);
}

.bento-card__link:hover {
  opacity: 0.8;
}

.bento-card__subtitle {
  margin-bottom: var(--space-sm);
}

.bento-card__socials {
  display: flex;
  gap: var(--space-md);
}

.bento-card__socials a {
  font-size: 1.5rem;
  transition: transform var(--duration-fast);
}

.bento-card__socials a:hover {
  transform: scale(1.2);
}

/* ========== RESPONSIVE UPDATES ========== */
@media (max-width: 1024px) {
  .process-block {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .process-block--reverse {
    direction: ltr;
  }

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

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

@media (max-width: 768px) {
  .process-block__image {
    aspect-ratio: 16/9;
  }

  .inspections__image {
    aspect-ratio: 16/9;
  }

  .team {
    min-height: auto;
    padding: var(--space-xl) 0;
  }

  .footer__content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__locations {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer__locations {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ========== 3D GLOBE STYLES ========== */
.about__map {
  position: relative;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(26, 74, 46, 0.3) 0%, rgba(13, 38, 24, 0.8) 100%);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 98, 0.2);
}

.about__map canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Globe Fallback */
.globe-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fallback-svg {
  width: 80%;
  height: 80%;
  max-width: 400px;
}

.fallback-point {
  animation: fallbackPulse 2s ease-in-out infinite;
}

.fallback-point:nth-child(2) {
  animation-delay: 0.2s;
}

.fallback-point:nth-child(3) {
  animation-delay: 0.4s;
}

.fallback-point:nth-child(4) {
  animation-delay: 0.6s;
}

.fallback-point:nth-child(5) {
  animation-delay: 0.8s;
}

.fallback-point:nth-child(6) {
  animation-delay: 1s;
}

.fallback-point:nth-child(7) {
  animation-delay: 1.2s;
}

@keyframes fallbackPulse {

  0%,
  100% {
    r: 2;
    opacity: 0.6;
  }

  50% {
    r: 4;
    opacity: 1;
  }
}

/* ========== SECTION TRANSITIONS ========== */
.process-block,
.inspection-item,
.team-card,
.bento-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.process-block.revealed,
.inspection-item.revealed,
.team-card.revealed,
.bento-card.revealed,
[data-reveal].revealed .process-block,
[data-reveal].revealed .inspection-item,
[data-reveal].revealed .team-card {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations for cards in same container */
.team__grid .team-card:nth-child(1) {
  transition-delay: 0.1s;
}

.team__grid .team-card:nth-child(2) {
  transition-delay: 0.2s;
}

.team__grid .team-card:nth-child(3) {
  transition-delay: 0.3s;
}

.inspections__list .inspection-item:nth-child(1) {
  transition-delay: 0.1s;
}

.inspections__list .inspection-item:nth-child(2) {
  transition-delay: 0.2s;
}

.footer__bento .bento-card:nth-child(1) {
  transition-delay: 0.05s;
}

.footer__bento .bento-card:nth-child(2) {
  transition-delay: 0.1s;
}

.footer__bento .bento-card:nth-child(3) {
  transition-delay: 0.15s;
}

.footer__bento .bento-card:nth-child(4) {
  transition-delay: 0.2s;
}

.footer__bento .bento-card:nth-child(5) {
  transition-delay: 0.25s;
}

.footer__bento .bento-card:nth-child(6) {
  transition-delay: 0.3s;
}

.footer__bento .bento-card:nth-child(7) {
  transition-delay: 0.35s;
}

.footer__bento .bento-card:nth-child(8) {
  transition-delay: 0.4s;
}

/* ========== COMPREHENSIVE RESPONSIVE STYLES ========== */

/* Large Desktop */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}

/* Desktop */
@media (max-width: 1200px) {
  :root {
    --space-2xl: 8rem;
  }

  .about__container {
    gap: var(--space-lg);
  }

  .footer__brand-large {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
  :root {
    --space-xl: 6rem;
    --space-2xl: 6rem;
  }

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

  .about__map {
    height: 400px;
  }

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

  .process-block--reverse {
    direction: ltr;
  }

  .process-block--reverse .process-block__content {
    order: 1;
  }

  .process-block--reverse .process-block__image {
    order: 2;
  }

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

  .inspections__image {
    order: 1;
  }

  .inspections__content {
    order: 2;
  }

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

  .footer__content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__locations {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 5rem;
  }

  /* Navigation */
  .nav__brand {
    font-size: 1rem;
  }

  .nav__menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--color-forest-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal);
    z-index: 999;
  }

  .nav__menu.open {
    opacity: 1;
    visibility: visible;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__link {
    font-size: 1.5rem;
  }

  /* Hero */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__title {
    font-size: clamp(2.5rem, 12vw, 4rem);
    line-height: 1.1;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__scroll {
    bottom: var(--space-md);
  }

  /* About */
  .about__container {
    padding: 0 var(--space-sm);
  }

  .about__title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .about__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  .about__stat-number {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .about__map {
    height: 350px;
  }

  /* Products */
  .products__slider {
    flex-direction: column;
    height: auto;
  }

  .products__item {
    height: 300px;
    flex: none !important;
  }

  .products__item:hover {
    flex: none !important;
  }

  .products__item-content {
    transform: translateY(0);
    opacity: 1;
  }

  .products__item-title {
    font-size: 1.5rem;
  }

  /* Mobile scroll-based zoom effect */
  .products__item .products__item-image {
    transition: transform 0.5s var(--ease-smooth);
  }

  .products__item.in-view {
    box-shadow: 0 0 30px rgba(201, 169, 98, 0.2);
  }

  .products__item.in-view .products__item-overlay {
    opacity: 0.3;
  }

  .products__item:not(.in-view) .products__item-overlay {
    opacity: 0.7;
  }

  /* Processes */
  .processes__intro {
    padding: 0 var(--space-sm);
  }

  .process-block__image {
    aspect-ratio: 16/10;
  }

  .process-block__content {
    padding: var(--space-md);
  }

  /* Inspections */
  .inspections__image {
    aspect-ratio: 16/10;
  }

  .inspection-item {
    flex-direction: column;
    text-align: center;
    padding: var(--space-md);
  }

  .inspection-item__icon {
    margin: 0 auto var(--space-sm);
  }

  /* Team */
  .team {
    min-height: auto;
    padding: var(--space-xl) 0;
  }

  .team-card {
    padding: var(--space-md);
  }

  /* Footer */
  .footer__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .footer__locations {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .form-submit {
    width: 100%;
    justify-content: center;
    gap: var(--space-sm);
  }
}

/* Mobile Large */
@media (max-width: 576px) {
  :root {
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  /* Hero */
  .hero__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  /* About */
  .about__label {
    font-size: 0.75rem;
  }

  .about__stats {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center;
  }

  .about__stat {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--space-md);
  }

  .about__stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .about__map {
    height: 300px;
    border-radius: 12px;
  }

  /* Products */
  .products__item {
    height: 250px;
  }

  .products__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  /* Processes */
  .processes__main-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .process-block__title {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  .processes__divider {
    padding: var(--space-md);
    margin: var(--space-md) 0;
  }

  .processes__divider-title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  /* Inspections */
  .inspections__title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  /* Team */
  .team__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .team-card__title {
    font-size: 1.1rem;
  }

  /* Footer */
  .footer__locations {
    grid-template-columns: 1fr;
  }

  .location-item {
    padding: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .footer__brand-large {
    font-size: clamp(2rem, 10vw, 3rem);
    text-align: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* Mobile Small */
@media (max-width: 375px) {
  :root {
    --space-sm: 0.75rem;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .about__stat-number {
    font-size: 1.75rem;
  }

  .nav__logo img {
    height: 32px;
  }

  .nav__brand {
    font-size: 0.9rem;
  }
}

/* Landscape Mode on Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding: var(--space-md) 0;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__scroll {
    display: none;
  }

  .loader__logo {
    width: 80px;
  }

  .loader__counter {
    font-size: 4rem;
  }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .hero__video {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__scroll {
    animation: none;
  }

  .process-block,
  .inspection-item,
  .team-card,
  .bento-card {
    opacity: 1;
    transform: none;
  }
}