/* ==========================================================================
   TABLE OF CONTENTS
   ==========================================================================
   1. Variables & Base Reset
   2. Typography & Global Elements
   3. Shared Components (Buttons, Section Wrappers, Titles)
   4. Utilities (Animations, Reveals, Watermark, Parallax)
   5. Header & Navigation
   6. Hero Section
   7. Yellow Banner
   8. Hard Goods (Flip Cards & Turntable)
   9. Stats Strip
   10. Products Carousel
   11. Mission (Core Values)
   12. Customers (Testimonials)
   13. Services (Laser Cards)
   14. Featured Product
   15. Manufacturing Processes
   16. Trusted Partners
   17. Contact Form
   18. Footer
   19. Theme / Light Mode Overrides
   20. Responsive (Media Queries)
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #fed03d;
  --dark: #383838;
  --darker: #212934;
  --green: #65bc7b;
  --blue: #5fbff9;
  --orange: #f85e00;
  --light-gray: #f5f5f5;
  --white: #ffffff;
}

/* scroll-behavior: smooth removed to fix sticky scrolling */

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark);
  overflow-x: hidden;
}

/* SECTIONS */
section {
  padding: 90px 40px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.section-title::before,
.section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 60px;
  height: 2px;
  background: #e0dede;
}

.section-title::before {
  right: calc(100% + 16px);
}

.section-title::after {
  left: calc(100% + 16px);
}

.title-underline {
  width: 206px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto 28px;
}

.section-intro {
  text-align: center;
  font-size: 1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}

.btn-gold:hover {
  background: #e8bb20;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(254, 208, 61, 0.4);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
  border: 2px solid var(--dark);
}

.btn-dark:hover {
  background: transparent;
  color: var(--dark);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--dark);
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translate(0) !important;
}

.reveal.from-left {
  transform: translateX(-40px);
}

.reveal.from-right {
  transform: translateX(40px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0);
}

/* S WATERMARK */
.s-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Raleway', sans-serif;
  font-size: clamp(180px, 25vw, 320px);
  font-weight: 800;
  letter-spacing: -10px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(254, 208, 61, 0.07);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

.s-watermark-wrap {
  position: relative;
  overflow: hidden;
}

.s-watermark-wrap>* {
  position: relative;
  z-index: 1;
}

/* MOUSE PARALLAX */
.parallax-layer {
  transition: transform 0.12s linear;
  will-change: transform;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-img {
  height: 46px;
  width: auto;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  display: block;
}

/* THEME TOGGLE BUTTON */
#theme-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

#theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(254, 208, 61, 0.4);
}

/* HERO */
#hero {
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.35) 100%),
    url('images/hero-bg.jpg') center/cover no-repeat;
  background-attachment: fixed;
  /* CSS Parallax effect */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
}

.hero-content {
  animation: fadeInUp 1s ease both;
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 40px;
}

/* YELLOW BANNER */
.yellow-banner {
  background: var(--gold);
  padding: 40px 20px;
  text-align: center;
}

.yellow-banner h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--dark);
}

.yellow-banner .cta-row {
  margin-top: 20px;
}

/* FLIP CARDS */
#hard-goods {
  background: #161616;
}

.flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.flip-card {
  perspective: 1000px;
  height: 260px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* hover-flip removed — handled by JS only */
.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  text-align: center;
}

.flip-front {
  background: #1c1c1c !important;
  border: 1px solid rgba(254, 208, 61, 0.25) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
}

.flip-back {
  background: #162016 !important;
  border: 1px solid rgba(254, 208, 61, 0.4) !important;
  color: #fff;
  transform: rotateY(180deg);
}

.flip-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.flip-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: invert(1);
}

.flip-front h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff !important;
  margin-bottom: 10px;
}

.flip-front p {
  font-size: 0.85rem;
  color: #999 !important;
  line-height: 1.55;
}

.flip-back h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold) !important;
  margin-bottom: 12px;
}

.flip-back p {
  font-size: 0.87rem;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* HARD GOODS - turntable cards */
.flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.flip-card {
  perspective: 1200px;
  height: 280px;
  cursor: pointer;
  position: relative;
  /* ensure it's positioned for z-index */
  z-index: 10;
  /* lift above any watermarks/backgrounds */
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  /* Start face-up */
  transition: transform 0.6s cubic-bezier(0.2, 0, 0.1, 1);
}

.flip-card.spinning .flip-card-inner {
  animation: turntableSpin 5s linear infinite forwards;
}

.flip-card.snapped .flip-card-inner {
  transform: rotateY(0deg);
  animation: none !important;
}

.flip-card.snapped.user-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
}

.flip-back {
  transform: rotateY(180deg);
}

.flip-front::before,
.flip-back::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgba(254, 208, 61, 0.45);
  border-left: 1px solid rgba(254, 208, 61, 0.45);
}

.flip-front::after,
.flip-back::after {
  content: '';
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 10px;
  height: 10px;
  border-bottom: 1px solid rgba(254, 208, 61, 0.45);
  border-right: 1px solid rgba(254, 208, 61, 0.45);
}

.flip-icon {
  font-size: 2rem;
  margin-bottom: 18px;
}

@keyframes turntableSpin {
  0% {
    transform: rotateY(180deg);
  }

  100% {
    transform: rotateY(540deg);
    /* 180 + 360 = 540 */
  }
}

/* STATS */
.stats-strip {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.13) 0%, rgba(0, 0, 0, 0.8) 100%),
    url('images/stats-bg.jpg') center/cover no-repeat;
  padding: 90px 40px;
  color: #fff;
  text-align: center;
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
}

.stat-num {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.stat-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 8px;
  color: #ccc;
}

.stat-label u {
  color: #fff;
}

/* PRODUCTS */
#products {
  background: #fff;
}

.products-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 0 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #eee;
}

.products-scroll::-webkit-scrollbar {
  height: 4px;
}

.products-scroll::-webkit-scrollbar-track {
  background: #eee;
}

.products-scroll::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 2px;
}

.product-card {
  flex: 0 0 180px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--light-gray);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.product-card-title {
  padding: 10px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
}

/* MISSION - mechanical assembly cards */
#mission {
  background: #181818;
}

#mission .section-title {
  color: #fff;
}

#mission .section-title::before,
#mission .section-title::after {
  background: #444;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.value-card {
  position: relative;
  background: #1c1c1c;
  border-radius: 6px;
  padding: 32px 24px;
  border: 1px solid rgba(254, 208, 61, 0.0);
  box-shadow: none;
  opacity: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.value-card.placed {
  opacity: 1;
  border-color: rgba(254, 208, 61, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.value-card.placed:hover {
  border-color: rgba(254, 208, 61, 0.65);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 20px rgba(254, 208, 61, 0.08);
  transform: translateY(-6px) !important;
}

@keyframes mechSlideTop {
  0% {
    transform: translateY(-120px);
    opacity: 0;
  }

  70% {
    opacity: 1;
  }

  85% {
    transform: translateY(6px);
  }

  93% {
    transform: translateY(-3px);
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes mechSlideBottom {
  0% {
    transform: translateY(120px);
    opacity: 0;
  }

  70% {
    opacity: 1;
  }

  85% {
    transform: translateY(-6px);
  }

  93% {
    transform: translateY(3px);
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes mechSlideLeft {
  0% {
    transform: translateX(-120px);
    opacity: 0;
  }

  70% {
    opacity: 1;
  }

  85% {
    transform: translateX(6px);
  }

  93% {
    transform: translateX(-3px);
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes mechSlideRight {
  0% {
    transform: translateX(120px);
    opacity: 0;
  }

  70% {
    opacity: 1;
  }

  85% {
    transform: translateX(-6px);
  }

  93% {
    transform: translateX(3px);
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.value-card[data-dir="top"].placed {
  animation: mechSlideTop 1.4s cubic-bezier(0.1, 0, 0.2, 1) forwards;
}

.value-card[data-dir="bottom"].placed {
  animation: mechSlideBottom 1.4s cubic-bezier(0.1, 0, 0.2, 1) forwards;
}

.value-card[data-dir="left"].placed {
  animation: mechSlideLeft 1.4s cubic-bezier(0.1, 0, 0.2, 1) forwards;
}

.value-card[data-dir="right"].placed {
  animation: mechSlideRight 1.4s cubic-bezier(0.1, 0, 0.2, 1) forwards;
}

/* Crosshair corner accents - like CNC positioning marks */
.value-card::before,
.value-card::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  opacity: 0;
  transition: opacity 0.3s 0.4s;
}

.value-card.placed::before {
  opacity: 1;
  top: 6px;
  left: 6px;
  border-top: 1px solid rgba(254, 208, 61, 0.5);
  border-left: 1px solid rgba(254, 208, 61, 0.5);
}

.value-card.placed::after {
  opacity: 1;
  bottom: 6px;
  right: 6px;
  border-bottom: 1px solid rgba(254, 208, 61, 0.5);
  border-right: 1px solid rgba(254, 208, 61, 0.5);
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.value-icon-gold {
  background: rgba(254, 208, 61, 0.15);
}

.value-icon-orange {
  background: rgba(248, 94, 0, 0.15);
}

.value-icon-green {
  background: rgba(101, 188, 123, 0.15);
}

.value-icon-blue {
  background: rgba(95, 191, 249, 0.15);
}

.value-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.value-separator {
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 14px;
}

.value-content p {
  font-size: 0.87rem;
  color: #aaa;
  line-height: 1.65;
}

/* CUSTOMERS */
#customers {
  min-height: 60vh;
  background: url('images/stats-bg.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 40px;
}

#customers::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.testimonials-wrap {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-wrap .section-title {
  color: #fff;
}

.testimonials-wrap .section-title::before,
.testimonials-wrap .section-title::after {
  background: #888;
}

.testimonial {
  background: rgba(56, 56, 56, 0.9);
  border-radius: 6px;
  padding: 40px;
  margin-top: 40px;
  display: none;
  animation: fadeInUp 0.5s ease;
}

.testimonial.active {
  display: block;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--gold);
  display: block;
}

.testimonial blockquote {
  font-size: 1rem;
  color: #fff;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial .author {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.testimonial-dots {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.testimonial-dot.active {
  background: var(--gold);
}

/* SERVICES - LASER CUT CARDS */
#services {
  background: #111;
  overflow: hidden;
  position: relative;
}

#services .section-title {
  color: #f6f6f6;
}

#services .section-title::before,
#services .section-title::after {
  background: #444;
}

/* Welding mask removed */

.laser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.laser-card {
  position: relative;
  background: #1c1c1c;
  border-radius: 6px;
  padding: 36px 28px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: default;
  overflow: visible;
}

.laser-card svg.laser-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  border-radius: 6px;
}

.laser-spark-canvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: visible;
}

.laser-card.illuminated,
.laser-card:hover {
  box-shadow: 0 0 0 1.5px rgba(254, 208, 61, 0.6), 0 22px 55px rgba(0, 0, 0, 0.6);
  transform: translateY(-5px);
}

.laser-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.laser-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.laser-card-sep {
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 14px;
}

.laser-card p {
  font-size: 0.87rem;
  color: #aaa;
  line-height: 1.65;
}

/* FEATURED */
#featured {
  background: #3f3f3f;
  padding: 100px 40px;
}

.featured-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.featured-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  line-height: 1.4;
  margin-bottom: 24px;
}

.featured-img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.featured-caption {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #fff;
}

.featured-cta {
  text-align: center;
}

.featured-cta p {
  color: #fff;
  margin-top: 12px;
  font-size: 0.9rem;
}

/* PROCESSES */
#processes {
  background: #fff;
}

.processes-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

.processes-content ul {
  padding-left: 24px;
  margin-top: 12px;
}

.processes-content li {
  margin-bottom: 8px;
}

.processes-content ul ul {
  margin-top: 6px;
}

.video-trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.video-trio video {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: block;
}

.video-trio img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  object-fit: cover;
}

/* PARTNERS */
#partners {
  background: var(--light-gray);
}

/* CONTACT */
#contact {
  background: #3f3f3f;
  padding: 90px 40px;
}

.contact-inner {
  max-width: 680px;
  margin: 0 auto;
  background: #111;
  border-radius: 6px;
  padding: 60px 50px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(254, 208, 61, 0.08);
  border: 1px solid rgba(254, 208, 61, 0.3);
  border-radius: 3px;
  padding: 12px 16px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--gold);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(254, 208, 61, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group select option {
  background: var(--dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--dark);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.25s;
}

.form-submit:hover {
  background: #e8bb20;
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  background: var(--darker);
  padding: 50px 40px 30px;
  color: #888;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-logo {
  height: 46px;
  width: auto;
  margin-bottom: 8px;
  display: block;
}

.footer-contact p {
  margin-bottom: 4px;
}

.footer-contact a {
  color: var(--gold);
  text-decoration: none;
}

.footer-copy {
  border-top: 1px solid #333;
  margin-top: 32px;
  padding-top: 20px;
  text-align: center;
  max-width: 1200px;
  margin: 32px auto 0;
}

/* DARK / LIGHT MODE */
body.light-mode {
  --bg-page: #f2f0eb;
  --bg-card: #fff;
  --bg-dark-section: #e8e4dc;
  --text-main: #2a2a2a;
  --text-muted: #666;
}

body.light-mode header {
  background: rgba(242, 240, 235, 0.97);
}

body.light-mode nav a {
  color: #2a2a2a;
}

body.light-mode #hard-goods {
  background: #2a2a2a;
}

body.light-mode .flip-front {
  background: #2a2a2a !important;
}

body.light-mode #mission,
body.light-mode #services {
  background: #e0dbd0;
}

body.light-mode .value-card,
body.light-mode .laser-card {
  background: #fff;
  border-color: rgba(180, 140, 20, 0.3);
}

body.light-mode .value-card h3,
body.light-mode .laser-card h3 {
  color: #1a1a1a;
}

body.light-mode .value-card p,
body.light-mode .laser-card p {
  color: #555;
}

body.light-mode #processes {
  background: #f2f0eb;
}

body.light-mode .processes-content {
  color: #444;
}

body.light-mode #partners {
  background: #e8e4dc;
}

body.light-mode footer {
  background: #d8d4cb;
  color: #555;
}

body.light-mode .section-title {
  color: #1a1a1a !important;
}

body.light-mode .section-intro {
  color: #555 !important;
}

body.light-mode #contact {
  background: #e8e4dc;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  nav.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  header {
    padding: 0 24px;
  }

  section {
    padding: 60px 24px;
  }

  .featured-inner {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    padding: 40px 24px;
  }

  #theme-toggle {
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}