/* ============================================================
   Zenginler Platform - Main CSS
   Design: Industrial Minimalism (matches Stitch DESIGN.md)
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background-color: #121414;
  color: #e2e2e2;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

/* --- Custom Scrollbar ------------------------------------- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #0c0f0f; }
::-webkit-scrollbar-thumb { background: #e9c400; border-radius: 2px; }

/* --- Selection -------------------------------------------- */
::selection { background: #ffd700; color: #221b00; }

/* --- Typography ------------------------------------------- */
.font-display { font-family: 'Barlow Condensed', 'Inter', sans-serif; }
.font-mono    { font-family: 'Geist Mono', 'Courier New', monospace; }

h1, h2, h3, h4, h5, h6 { line-height: 1.1; }

/* --- Section base ----------------------------------------- */
section { position: relative; }

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .section-container { padding: 0 1.25rem; }
}

/* --- Header scroll state ---------------------------------- */
#site-header.scrolled #main-nav {
  background-color: rgba(12, 15, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(77, 71, 50, 0.3);
}

#site-header.scrolled #header-topbar {
  height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

/* --- Mobile menu open state ------------------------------- */
#mobile-menu.open {
  transform: translateX(0) !important;
}

#mobile-menu .mobile-nav-item {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.3s ease var(--delay, 0ms), transform 0.3s ease var(--delay, 0ms);
}

#mobile-menu.open .mobile-nav-item {
  opacity: 1;
  transform: translateX(0);
}

/* --- Hamburger active ------------------------------------- */
#mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
#mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero Scroll Section (vsk_vinc pattern) --------------- */
.hero-scroll-section {
  position: relative;
  height: 350vh;
  background: #0c0f0f;
}

.hero-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background video — shows immediately, scrubs on scroll */
#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: #0c0f0f;
}
#hero-video.loaded { opacity: 0.55; }

/* Dark overlay */
.hero-scroll-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 5% 95%, rgba(233,196,0,0.08) 0%, transparent 50%),
    linear-gradient(to right, rgba(12,15,15,0.75) 0%, rgba(12,15,15,0.15) 70%),
    linear-gradient(to bottom, rgba(12,15,15,0.3) 0%, rgba(12,15,15,0.65) 100%);
}

/* Slides track */
.hero-slides-track {
  position: absolute;
  inset: 0;
  z-index: 10;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 4rem;
  max-width: 1280px;
  margin: 0 auto;
  left: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.hero-slide.is-first { opacity: 1; pointer-events: auto; }

/* Glass card */
.slide-glass {
  max-width: 680px;
}

.hero-slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Geist Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(233, 196, 0, 0.9);
  margin-bottom: 1.25rem;
}

.hero-slide-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd700;
  animation: pulse-gold 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Line split headline */
.hero-slide-title {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.5rem;
}

.hero-slide-title .line {
  overflow: hidden;
  line-height: 0.92;
}

.hero-slide-title .line-inner {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-transform: uppercase;
  transform: translateY(110%);
}

.hero-slide-title .line-inner.accent { color: #ffd700; }

.hero-slide-sub {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  line-height: 1.7;
  color: rgba(201, 198, 197, 0.82);
  max-width: 500px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(16px);
}

/* Metric row */
.hero-slide-metrics {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(12px);
}

.hero-metric-val {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffd700;
  line-height: 1;
}

.hero-metric-label {
  display: block;
  font-family: 'Geist Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(226, 226, 226, 0.45);
  margin-top: 0.25rem;
}

.hero-slide-cta {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(12px);
}

/* Side progress dots */
.hero-progress-track {
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
}

.hero-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  gap: 0;
}

.hero-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.hero-progress-step.active .hero-progress-dot {
  background: #ffd700;
  border-color: #ffd700;
  width: 10px;
  height: 10px;
  box-shadow: 0 0 8px rgba(255,215,0,0.5);
}

.hero-progress-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  margin: 4px 0;
  position: relative;
  overflow: hidden;
}

.hero-progress-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: #ffd700;
  transition: height 0.6s ease;
}

.hero-progress-step.active .hero-progress-line::after { height: 100%; }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.hero-scroll-hint.hide { opacity: 0; pointer-events: none; }

.hero-scroll-hint-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero-scroll-hint-wheel {
  width: 3px;
  height: 7px;
  background: #ffd700;
  border-radius: 2px;
  animation: mouseWheel 1.6s ease-in-out infinite;
}

@keyframes mouseWheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

.hero-scroll-hint-text {
  font-family: 'Geist Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* Video progress scrubber */
.hero-vid-scrubber {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 0.6rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(to top, rgba(12,15,15,0.7) 0%, transparent 100%);
}

.hero-vid-scrubber-bar {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
  overflow: hidden;
}

.hero-vid-scrubber-fill {
  height: 100%;
  width: 0%;
  background: #ffd700;
  border-radius: 1px;
  transition: width 0.1s linear;
}

.hero-vid-scrubber-pct {
  font-family: 'Geist Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
  min-width: 3rem;
  text-align: right;
}

@media (max-width: 768px) {
  .hero-slide { padding: 0 1.5rem; padding-top: 5rem; }
  .hero-progress-track { display: none; }
  .hero-slide-title .line-inner { font-size: clamp(2.5rem, 11vw, 4rem); }
  .hero-slide-metrics { gap: 1.25rem; }
  .hero-metric-val { font-size: 1.8rem; }
}

/* Scroll indicator (side — kept for fallback) */
#scroll-indicator { display: none; }

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(233, 196, 0, 0.6), transparent);
  animation: scrollLineAnim 1.5s ease-in-out infinite;
}

@keyframes scrollLineAnim {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%       { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-primary {
  background: #ffd700;
  color: #221b00;
}
.btn-primary:hover { background: #e9c400; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(233, 196, 0, 0.3); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: #ffd700;
  border: 1px solid rgba(233, 196, 0, 0.5);
}
.btn-outline:hover { background: rgba(233, 196, 0, 0.08); border-color: #ffd700; }

.btn-ghost {
  background: rgba(30, 32, 32, 0.8);
  color: #e2e2e2;
  border: 1px solid rgba(153, 144, 119, 0.3);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: rgba(233, 196, 0, 0.4); color: #fff; }

/* --- Section eyebrow label -------------------------------- */
.eyebrow-label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #e9c400;
  display: inline-block;
  margin-bottom: 1rem;
}

/* --- Section headings ------------------------------------- */
.section-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: uppercase;
}

.section-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(201, 198, 197, 0.8);
  max-width: 560px;
}

/* --- Glass card ------------------------------------------- */
.glass-card {
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(77, 71, 50, 0.3);
  border-radius: 1rem;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(233, 196, 0, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(233, 196, 0, 0.1);
}

/* --- Service cards ---------------------------------------- */
.service-card {
  background: #0a0a0a;
  border: 1px solid rgba(77, 71, 50, 0.25);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #ffd700;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before { transform: scaleY(1); }
.service-card:hover {
  border-color: rgba(233, 196, 0, 0.25);
  background: #111;
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
}

.service-number {
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: color 0.35s ease;
}

.service-card:hover .service-number { color: rgba(233, 196, 0, 0.05); }

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(233, 196, 0, 0.08);
  border: 1px solid rgba(233, 196, 0, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.35s ease;
}
.service-card:hover .service-icon {
  background: rgba(233, 196, 0, 0.15);
  border-color: rgba(233, 196, 0, 0.4);
}

/* --- Machine / Fleet cards -------------------------------- */
.machine-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.machine-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.machine-card:hover img { transform: scale(1.06); }

.machine-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: background 0.3s ease;
}

.machine-card:hover .machine-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.1) 100%);
}

.machine-card-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #ffd700;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.machine-card:hover .machine-card-top-bar { transform: scaleX(1); }

/* --- Stats counter section -------------------------------- */
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: rgba(77, 71, 50, 0.3);
}

.stat-item:last-child::after { display: none; }

.stat-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: #ffd700;
  line-height: 1;
  display: block;
}

.stat-label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(226, 226, 226, 0.45);
  display: block;
  margin-top: 0.5rem;
}

/* --- Gallery ------------------------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay { background: rgba(0, 0, 0, 0.5); }

.gallery-view-btn {
  background: rgba(255, 215, 0, 0.9);
  color: #221b00;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: scale(0.8) translateY(8px);
  opacity: 0;
  transition: all 0.25s ease;
}

.gallery-item:hover .gallery-view-btn { transform: scale(1) translateY(0); opacity: 1; }

/* --- About photo grid ------------------------------------- */
.about-img-group {
  display: flex;
  gap: 0.75rem;
  width: 440px;
  height: 500px;
  flex-shrink: 0;
}

.about-img-main {
  flex: 1;
  border-radius: 1rem;
  overflow: hidden;
  min-width: 0;
}

.about-img-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 150px;
  flex-shrink: 0;
}

.about-img-item {
  flex: 1;
  border-radius: 1rem;
  overflow: hidden;
}

.about-img-main img,
.about-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) brightness(0.88);
  transition: filter 0.5s ease, transform 0.6s ease;
}

.about-img-main:hover img,
.about-img-item:hover img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.04);
}

@media (max-width: 1024px) {
  .about-img-group { width: 100%; height: 320px; }
  .about-img-stack { width: 130px; }
}

@media (max-width: 640px) {
  .about-img-group { height: 240px; }
  .about-img-stack { width: 110px; }
}

/* --- Quote form ------------------------------------------- */
.quote-input {
  width: 100%;
  background: rgba(5, 5, 5, 0.8);
  border: 1px solid rgba(77, 71, 50, 0.4);
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  color: #e2e2e2;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.quote-input:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.08);
}

.quote-input::placeholder { color: rgba(226, 226, 226, 0.35); }

.quote-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(226, 226, 226, 0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: block;
}

/* --- Lightbox --------------------------------------------- */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
}

#lightbox.open { opacity: 1; pointer-events: all; }

#lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 40px 80px rgba(0,0,0,0.8);
}

#lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #fff;
  background: rgba(30,32,32,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
#lightbox-close:hover { background: rgba(255,215,0,0.2); border-color: rgba(255,215,0,0.4); }

/* --- Why Us cards ----------------------------------------- */
.why-card {
  padding: 2rem;
  border-top: 1px solid rgba(77, 71, 50, 0.3);
  position: relative;
}

.why-card-icon {
  width: 40px;
  height: 40px;
  color: #ffd700;
  margin-bottom: 1.25rem;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(201, 198, 197, 0.7);
}

.why-connector {
  height: 1px;
  flex: 1;
  background: rgba(77, 71, 50, 0.3);
  transition: background 0.3s ease;
}

.why-card:hover .why-connector { background: #ffd700; }

/* --- Blog cards ------------------------------------------- */
.blog-card {
  background: #0a0a0a;
  border: 1px solid rgba(77, 71, 50, 0.25);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: rgba(233, 196, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}

.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1e2020;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img img { transform: scale(1.04); }

/* --- Service Areas ---------------------------------------- */
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 32, 32, 0.8);
  border: 1px solid rgba(77, 71, 50, 0.3);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  color: #e2e2e2;
  transition: all 0.2s ease;
}

.area-chip:hover {
  border-color: rgba(233, 196, 0, 0.4);
  color: #ffd700;
  background: rgba(233, 196, 0, 0.05);
}

.area-chip .material-symbols-outlined { font-size: 1rem; color: #ffd700; }

/* --- CTA Banner ------------------------------------------- */
.cta-banner {
  background: #ffd700;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: 'Z';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20rem;
  font-weight: 900;
  color: rgba(0,0,0,0.05);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

/* --- Footer ----------------------------------------------- */
#site-footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(77, 71, 50, 0.3);
}

.footer-link {
  font-size: 0.8rem;
  font-family: 'Geist Mono', monospace;
  letter-spacing: 0.05em;
  color: rgba(201, 198, 197, 0.6);
  transition: color 0.2s ease;
  text-decoration: none;
  display: block;
  padding: 0.3rem 0;
}

.footer-link:hover { color: #ffd700; }

.footer-heading {
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}

/* --- RTL adjustments -------------------------------------- */
.rtl .hero-box--right { right: auto; left: 4rem; }
.rtl .hero-box--left  { left: auto; right: 4rem; }
.rtl #hero-stats { left: auto; }
.rtl #scroll-indicator { right: auto; left: 4rem; }
.rtl .service-card::before { left: auto; right: 0; }

/* --- Animations (scroll-triggered) ----------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.92); }

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* Stagger children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-stagger].revealed > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0ms; }
[data-stagger].revealed > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 80ms; }
[data-stagger].revealed > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 160ms; }
[data-stagger].revealed > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 240ms; }
[data-stagger].revealed > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 320ms; }
[data-stagger].revealed > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 400ms; }
[data-stagger].revealed > *:nth-child(7) { opacity: 1; transform: none; transition-delay: 480ms; }

/* --- prefers-reduced-motion ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  #hero-section { height: 100vh; }
  #hero-sticky { position: relative; }
  .hero-step { position: relative; opacity: 1; }
}

/* --- Mobile overrides ------------------------------------- */
@media (max-width: 768px) {
  .stat-item::after { display: none; }
}

/* --- Page Banner (inner pages) --------------------------- */
.page-banner {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0c0f0f;
  padding-top: 80px;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(12,15,15,0.97) 0%, rgba(12,15,15,0.5) 100%),
    linear-gradient(to top, rgba(12,15,15,0.85) 0%, transparent 65%);
}

.page-banner-content {
  position: relative;
  z-index: 10;
  padding: 4rem 2rem 3.5rem;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-banner { min-height: 260px; }
  .page-banner-content { padding: 3rem 1.25rem 2.5rem; }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Geist Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(226,226,226,0.35);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: rgba(255,215,0,0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb a:hover { color: #ffd700; }
.breadcrumb-sep { color: rgba(255,255,255,0.18); margin: 0 0.1rem; }

.page-banner-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 0.92;
  margin-bottom: 1rem;
}

.page-banner-title .accent { color: #ffd700; }

.page-banner-sub {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  color: rgba(201,198,197,0.72);
  max-width: 560px;
  line-height: 1.7;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, #ffd700 0%, transparent 55%);
}

/* --- FAQ Accordion --------------------------------------- */
.faq-item {
  border-bottom: 1px solid rgba(77,71,50,0.25);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #e2e2e2;
  transition: color 0.2s ease;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: #ffd700; }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,215,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  line-height: 1;
  color: #ffd700;
}

details[open] .faq-icon {
  background: #ffd700;
  color: #221b00;
  border-color: #ffd700;
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 1.5rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(201,198,197,0.8);
  max-width: 760px;
}

/* --- Contact info cards ---------------------------------- */
.contact-card {
  background: rgba(26,28,28,0.8);
  border: 1px solid rgba(77,71,50,0.25);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: border-color 0.3s ease;
}

.contact-card:hover {
  border-color: rgba(255,215,0,0.3);
}

/* --- Service detail card --------------------------------- */
.service-detail-card {
  background: rgba(26,28,28,0.6);
  border: 1px solid rgba(77,71,50,0.2);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s ease;
}
.service-detail-card:hover {
  border-color: rgba(255,215,0,0.25);
  transform: translateY(-4px);
}

/* --- Machine spec card ----------------------------------- */
.machine-spec-card {
  background: rgba(18,20,20,0.8);
  border: 1px solid rgba(77,71,50,0.22);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.machine-spec-card:hover { border-color: rgba(255,215,0,0.3); }

.machine-spec-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  filter: grayscale(0.1);
  transition: filter 0.5s ease, transform 0.5s ease;
}
.machine-spec-card:hover .machine-spec-img {
  filter: grayscale(0);
  transform: scale(1.03);
}
.machine-spec-img-wrap {
  overflow: hidden;
}

.spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'Geist Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,215,0,0.35);
  color: #ffd700;
}
