/* Metal-Hit d.o.o. - Website Styles */
:root {
  /* Light Mode Industrial Palette */
  --steel:    #f8f9fa;        /* Very light steel gray - main background */
  --steel-mid:#e9ecef;        /* Light steel gray - sections */
  --steel-ui: #ffffff;          /* Pure white - cards/inputs */
  --steel-border: #dee2e6;    /* Light border gray */
  --rust:     #d63031;        /* Warm rust accent - primary */
  --rust-light:#e67746;        /* Light rust - hover */
  --chrome:   #495057;        /* Dark chrome - main text */
  --chrome-dim:#6c757d;        /* Medium chrome - secondary text */
  --white:    #212529;        /* Dark off-white - accent text */
  --accent:   #fd7e14;        /* Bright orange - highlights */
}

/* Dark Mode Theme */
[data-theme="dark"] {
  --steel:    #0d0f11;        /* Very dark steel - main background */
  --steel-mid:#161a1e;        /* Dark steel gray - sections */
  --steel-ui: #1e2328;          /* Dark steel - cards/inputs */
  --steel-border: #2a3040;    /* Dark border gray */
  --rust:     #c94a1a;        /* Original rust - primary */
  --rust-light:#e05a25;        /* Light rust - hover */
  --chrome:   #d0d6de;        /* Light chrome - main text */
  --chrome-dim:#7a8898;        /* Dim chrome - secondary text */
  --white:    #f2f4f7;        /* Pure white - accent text */
  --accent:   #e8b24a;        /* Original accent - highlights */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--steel);
  color: var(--chrome);
  overflow-x: hidden;
}

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

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  height: 70px;
  background: rgba(248,249,250,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--steel-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-logo {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none;
}

.nav-logo-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.nav-logo-icon {
  width: 36px; height: 36px;
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .05em;
}
.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; /* Extra Bold */
  font-size: 1.3rem;
  color: #CE000A;
  letter-spacing: 0.15em; /* 15% spacing */
  text-transform: uppercase;
  -webkit-text-stroke: 0.5px #000;
}

.nav-logo-text span { color: var(--rust); }

.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
  list-style: none;
}

.nav-logo-img {
  height: 90px;        /* match your old icon height */
  width: auto;         /* keeps the 2855:945 ratio → ≈109px wide */
  display: block;
}

.nav-logo-footer {
  height: 90px;        /* match your old icon height */
  width: auto;         /* keeps the 2855:945 ratio → ≈109px wide */
  display: block;
}

.nav-logo-header {
  height: 100px;        
  width: auto;         
  display: block;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 1002;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--chrome);
  margin: 5px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Make hamburger more visible */
.mobile-menu-btn:hover span {
  background: var(--white);
}

.mobile-menu-btn:focus {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

/* Debug: Make hamburger more prominent */
.mobile-menu-btn {
  min-width: 44px;
  min-height: 44px;
  background: rgba(201, 74, 26, 0.1);
  border-radius: 4px;
}

.mobile-menu-btn:hover {
  background: rgba(201, 74, 26, 0.2);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: .85rem; letter-spacing: .15em;
  text-transform: uppercase; text-decoration: none;
  color: var(--chrome-dim);
  transition: color .2s;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--rust); transform: scaleX(0); transition: transform .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Theme toggle button */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--steel-border);
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.theme-toggle:hover {
  border-color: var(--rust);
  transform: scale(1.05);
}

/* lang switcher */
.lang-switcher {
  display: flex; gap: .5rem; align-items: center;
  position: relative;
  z-index: 10;
}
.lang-btn {
  font-family: 'Share Tech Mono', monospace;
  font-size: .7rem; letter-spacing: .1em;
  padding: 4px 8px;
  border: 1px solid var(--steel-border);
  background: transparent;
  color: var(--chrome-dim);
  cursor: pointer;
  transition: all .2s;
  text-transform: uppercase;
}
.lang-btn:hover, .lang-btn.active {
  background: var(--rust); color: #fff; border-color: var(--rust);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: 0 3rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(201,74,26,.12) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(13,15,17,0) 40%, rgba(13,15,17,1) 100%);
  z-index: 1;
}

/* animated grid */
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(42,48,64,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,48,64,.35) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

.hero-img-wrap {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .25;
  filter: grayscale(80%) contrast(1.2);
}

/* diagonal accent bar */
.hero-bar {
  position: absolute; top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(201,74,26,.06) 100%);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 780px;
}

.hero-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: .7rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--rust);
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.5rem;
}
.hero-tag::before {
  content: ''; display: block;
  width: 32px; height: 2px; background: var(--rust);
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .95;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -.01em;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: normal;
  color: var(--rust);
}

.hero-sub {
  font-weight: 300; font-size: 1.05rem; line-height: 1.65;
  color: white;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.btn-primary {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 14px 32px;
  background: var(--rust);
  color: #fff; border: none; cursor: pointer;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 15px rgba(214,48,49,0.2);
}
.btn-primary:hover { background: var(--rust-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(214,48,49,0.3); }

.btn-secondary {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 13px 32px;
  background: transparent;
  color: var(--rust);
  border: 1px solid var(--rust);
  cursor: pointer; text-decoration: none;
  transition: border-color .2s, color .2s, transform .15s;
}
.btn-secondary:hover { border-color: var(--rust); color: var(--rust); transform: translateY(-2px); }

/* hero stat bar */
.hero-stats {
  position: absolute; bottom: 5rem; right: 3rem; z-index: 2;
  display: flex; flex-direction: column; gap: .75rem;
  align-items: flex-end;
}
.stat-item {
  display: flex; flex-direction: column; align-items: flex-end;
  border-right: 2px solid var(--rust);
  padding-right: 1rem;
}
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.6rem; color: var(--white);
  line-height: 1;
}
.stat-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: .6rem; letter-spacing: .15em; text-transform: uppercase;
  color: white;
  opacity: 0.65;
}

/* scroll indicator */
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.scroll-hint span {
  font-family: 'Share Tech Mono', monospace;
  font-size: .6rem; letter-spacing: .2em; color: var(--chrome-dim); text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--rust), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ─── SECTION DEFAULTS ─── */
section { padding: 6rem 3rem; }

.section-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: .68rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--rust);
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1rem;
}
.section-tag::before {
  content: ''; display: block;
  width: 24px; height: 2px; background: var(--rust);
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem);
  text-transform: uppercase; letter-spacing: .02em;
  color: var(--white); margin-bottom: 1rem;
}

.section-lead {
  margin-bottom: 1rem;
  font-weight: 300; font-size: 1rem; line-height: 1.7;
  color: var(--chrome-dim); max-width: 580px;
}

.section-lead--center {
  text-align: center;
  margin: 0 auto 1rem auto;
}

/* ─── ABOUT ─── */
.about-section {
  background: var(--steel);
  border-top: 1px solid var(--steel-mid);
}

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start; max-width: 1200px; margin: 0 auto;
}

.about-left { padding-top: 1rem; }

.about-body {
  font-size: .975rem; line-height: 1.8; color: var(--chrome-dim);
  margin-top: 1.5rem;
}
.about-body strong { color: var(--chrome); font-weight: 500; }
.about-body ul {
  padding-left: 1.5rem;
}

.about-main-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.about-content-block {
  margin-bottom: 2.5rem;
}

.about-sections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .about-sections-grid {
    grid-template-columns: 1fr;
  }
}

.about-section-block {
  margin-bottom: 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.about-section-heading {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--rust);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.promise-list {
  margin-top: 2rem; display: flex; flex-direction: column; gap: .6rem;
  list-style: none;
}
.promise-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .9rem; color: var(--chrome-dim);
}
.promise-list li::before {
  content: '→'; color: var(--rust); flex-shrink: 0;
  font-family: 'Share Tech Mono', monospace;
}

/* info card on right */
.info-card {
  background: var(--steel-ui);
  border: 1px solid var(--steel-border);
  border-top: 3px solid var(--rust);
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border-radius: 4px;
}

.info-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--chrome);
  margin-bottom: 1.75rem;
  padding-bottom: .75rem; border-bottom: 1px solid var(--steel-border);
}

.contact-block { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-group-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--rust); margin-bottom: .4rem;
}
.contact-value {
  font-size: .875rem; color: var(--chrome-dim); line-height: 1.6;
}
.contact-value a {
  color: var(--chrome-dim); text-decoration: none; transition: color .2s;
}
.contact-value a:hover { color: var(--chrome); }

.est-badge {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--steel-border);
  display: flex; align-items: center; gap: 1rem;
}
.est-year {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 3rem; color: white; opacity: 0.7;
  line-height: 1;
}
.est-text {
  font-size: .8rem; color: var(--chrome-dim); line-height: 1.4;
}

/* ─── MACHINES ─── */
.machines-section {
  border-top: 1px solid var(--steel-border);
  max-width: 100%;
}

.machines-header {
  max-width: 1200px; margin: 0 auto 3.5rem;
  display: flex; justify-content: space-between; align-items: flex-end;
}

.machines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--steel-border);
  border: 1px solid var(--steel-border);
  max-width: 1200px; margin: 0 auto;
}

.machine-card {
  background: var(--steel-mid);
  padding: 2rem;
  transition: background .2s;
  position: relative;
  overflow: hidden;
}
.machine-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--rust);
  transition: height .3s ease;
}
.machine-card:hover::before { height: 100%; }
.machine-card:hover { background: var(--steel-ui); }

.machine-type {
  font-family: 'Share Tech Mono', monospace;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--rust); margin-bottom: .75rem;
}
.machine-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.2rem;
  color: var(--white); text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: .5rem;
}
.machine-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300; font-size: 1rem;
  color: var(--chrome-dim); letter-spacing: .1em;
  margin-bottom: 1rem;
}
.machine-spec {
  font-family: 'Share Tech Mono', monospace;
  font-size: .7rem; color: var(--chrome-dim); line-height: 1.6;
}
.machine-spec .axis { color: var(--accent); }

/* ─── GALLERY ─── */
.gallery-section {
  background: var(--steel-mid);
  border-top: 1px solid var(--steel-border);
}

.gallery-header {
  max-width: 1200px; margin: 0 auto 2.5rem;
  display: flex; justify-content: space-between; align-items: flex-end;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--steel-border);
  border: 1px solid var(--steel-border);
  max-width: 1200px; margin: 0 auto;
}

.gallery-item {
  background: var(--steel-mid);
  aspect-ratio: 1;
  overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s;
}

.gallery-item:hover {
  background: var(--steel-ui);
}

.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(60%) contrast(1.1);
  transition: filter .4s, transform .4s;
}

.gallery-item:hover img { 
  filter: grayscale(0%) contrast(1); 
  transform: scale(1.04); 
}

.gallery-overlay {
  position: absolute; inset: 0; 
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-icon {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: #fff; padding: 8px 18px; border: 1px solid rgba(255,255,255,.4);
}

/* ─── CONTACT ─── */
.contact-section {
  background: var(--steel);
  border-top: 1px solid var(--steel-mid);
}

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; max-width: 1200px; margin: 0 auto;
}

.contact-form {
  background: var(--steel-ui);
  border: 1px solid var(--steel-border);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--rust); margin-bottom: .5rem; display: block;
}

.form-input, .form-textarea {
  width: 100%;
  background: var(--steel-ui);
  border: 1px solid var(--steel-border);
  color: var(--chrome);
  padding: 12px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: .9rem;
  transition: border-color .2s, background .2s;
  border-radius: 4px;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--rust);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(214,48,49,0.1);
}

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

/* ─── EU PROJECT ─── */
.eu-strip {
  border-top: 1px solid var(--steel-border);
  border-bottom: 1px solid var(--steel-border);
  background: var(--steel-ui);
  padding: 2.5rem 3rem;
}
.eu-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  flex-wrap: wrap;
}
.eu-flag {
  width: 64px; height: 44px;
  background: #003399;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
  border: 1px solid var(--steel-border);
}
.eu-text {
  font-size: .85rem; color: var(--chrome-dim); line-height: 1.6;
  flex: 1;
}
.eu-text strong { color: var(--chrome); }

.eu-section {
  padding: 6rem 3rem;
  max-width: 1200px; margin: 0 auto;
}

.eu-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.eu-details {
  background: var(--steel-ui);
  border: 1px solid var(--steel-border);
  padding: 2.5rem;
}

/* ─── FOOTER ─── */
footer {
  background: var(--steel);
  border-top: 1px solid var(--steel-border);
  padding: 4rem 3rem 2rem;
}

.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem; max-width: 1200px; margin: 0 auto 3rem;
}

.footer-brand {}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p {
  font-size: .85rem; color: var(--chrome-dim); line-height: 1.7;
  max-width: 260px;
}

.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: .85rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--white); margin-bottom: 1.25rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  font-size: .85rem; color: var(--chrome-dim); text-decoration: none;
  transition: color .2s;
  display: flex; align-items: center; gap: .5rem;
}
.footer-links a::before { content: '→'; font-size: .7rem; color: var(--rust); }
.footer-links a:hover { color: var(--chrome); }

.footer-contact-item {
  margin-bottom: .85rem;
}
.footer-contact-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: .58rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--rust); margin-bottom: .2rem;
}
.footer-contact-value {
  font-size: .85rem; color: var(--chrome-dim); line-height: 1.5;
}
.footer-contact-value a { color: var(--chrome-dim); text-decoration: none; }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 2rem; border-top: 1px solid var(--steel-border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy {
  font-family: 'Share Tech Mono', monospace;
  font-size: .65rem; letter-spacing: .1em; color: var(--chrome-dim);
  text-transform: uppercase;
}

/* ─── PAGE SPECIFIC ─── */
.page-header {
  min-height: 40vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(201,74,26,.1) 0%, transparent 50%);
}

.page-header-content {
  text-align: center;
  z-index: 2;
}

.page-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: .02em;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-weight: 300; font-size: 1.1rem; line-height: 1.6;
  color: var(--chrome-dim);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── DECORATIVE NUMBER ─── */
.deco-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 10rem;
  color: rgba(42,48,64,.25);
  position: absolute;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  animation: fadeUp .8s ease both;
}
.fade-up-2 { animation-delay: .15s; }
.fade-up-3 { animation-delay: .3s; }
.fade-up-4 { animation-delay: .45s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { 
    padding: 0 1.5rem; 
    justify-content: space-between;
  }
  
  .mobile-menu-btn {
    display: block !important;
    position: relative !important;
    z-index: 1002 !important;
    order: 3;
  }
  
  /* Force hamburger visibility */
  .mobile-menu-btn span {
    display: block !important;
    background: var(--chrome) !important;
  }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(13,15,17,.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    border-bottom: 1px solid var(--steel-border);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 100;
  }
  
  .nav-links.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-links a {
    font-size: 1rem;
    padding: 0.5rem 0;
    text-align: center;
  }
  
  .desktop-lang {
    display: none;
    z-index: 10;
  }
  
  .mobile-lang-switcher {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--steel-border);
  }
  
  .mobile-lang-switcher .lang-switcher {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .hero { padding: 0 1.5rem 4rem; }
  .hero-stats { display: none; }
  section { padding: 4rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-cell:first-child { grid-row: span 1; grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .machines-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .eu-content { grid-template-columns: 1fr; }
  .page-header { 
    min-height: 30vh; 
    padding-top: 70px; /* Account for fixed nav on tablets */
  }
}

@media (max-width: 600px) {
  .hero-title { font-size: clamp(2rem, 8vw, 3.5rem); }
  .section-title { font-size: clamp(1.5rem, 5vw, 2.5rem); }
  .machines-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  
  /* Improved mobile hero */
  .hero {
    padding: 0 1rem 3rem;
    align-items: center;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-tag {
    justify-content: center;
    font-size: .6rem;
  }
  
  .hero-sub {
    font-size: .9rem;
    max-width: 100%;
  }
  
  .hero-cta {
    justify-content: center;
    gap: 0.75rem;
  }
  
  .btn-primary, .btn-secondary {
    font-size: .75rem;
    padding: 12px 24px;
  }
  
  /* Mobile sections */
  section {
    padding: 3rem 1rem;
  }
  
  /* Fix page header positioning on mobile */
  .page-header {
    min-height: 30vh;
    padding-top: 70px; /* Account for fixed nav */
  }
  
  /* Mobile about section */
  .about-grid {
    gap: 2rem;
  }
  
  .info-card {
    padding: 1.5rem;
  }
  
  /* Mobile machines */
  .machines-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  
  .machine-card {
    padding: 1.5rem;
  }
  
  .machine-name {
    font-size: 1rem;
  }
  
  /* Mobile gallery - improved layout */
  .gallery-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2px;
  }
  
  .gallery-cell {
    min-height: 200px;
  }
  
  .gallery-cell:first-child {
    grid-row: span 1;
    grid-column: span 1;
    min-height: 250px;
  }
  
  /* Mobile EU strip */
  .eu-strip {
    padding: 1.5rem 1rem;
  }
  
  .eu-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  /* Mobile footer */
  footer {
    padding: 2rem 1rem 1rem;
  }
  
  .footer-grid {
    gap: 2rem;
  }
  
  .footer-brand p {
    max-width: 100%;
  }
  
  /* Touch-friendly interactions */
  .btn-primary, .btn-secondary {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .machine-card {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  
  .gallery-cell {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-menu-btn {
    min-height: 44px;
    min-width: 44px;
    -webkit-tap-highlight-color: transparent;
  }
  
  .lang-btn {
    min-height: 36px;
    min-width: 36px;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Improved touch targets for contact info */
  .contact-value a {
    display: inline-block;
    padding: 4px 0;
    text-decoration: none;
  }
  
  /* Better mobile scrolling */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Prevent horizontal scroll on mobile */
  body {
    overflow-x: hidden;
    width: 100%;
  }
  
  /* Mobile decorative numbers */
  .deco-num {
    font-size: 5rem;
  }
}

/* Extra safety - ensure hamburger works at all mobile sizes */
@media (max-width: 1200px) {
  .mobile-menu-btn {
    display: block !important;
    z-index: 1002 !important;
  }
}
