/* ============================================
   TIRETYREFACTORY - Engineering Tyre Factory Site
   Industrial & Hard Style
   ============================================ */

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

:root {
  --black:       #0a0a0a;
  --dark:        #111318;
  --dark-2:      #1a1e26;
  --dark-3:      #242830;
  --steel:       #2e3340;
  --accent:      #e8a000;       /* amber/gold — heavy machinery feel */
  --accent-2:    #ff4d00;       /* orange-red for warnings/CTAs */
  --text:        #e8eaf0;
  --text-muted:  #8a909e;
  --border:      rgba(255,255,255,0.07);
  --white:       #ffffff;
  --font:        'Helvetica Neue', Arial, 'Liberation Sans', sans-serif;
  --transition:  0.22s ease;
  --shadow:      0 4px 24px rgba(0,0,0,0.35);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.5);
  --radius:      2px;
}

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

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--black);
  border-bottom: 1px solid var(--border);
}

/* Top bar */
.header-topbar {
  background: var(--accent);
  padding: 5px 0;
}
.header-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-topbar span, .header-topbar a {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--black);
}
.header-topbar a:hover { opacity: 0.75; }

/* Main bar */
.header-main .container {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 40px;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon svg { width: 26px; height: 26px; }
.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}
.logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

/* Nav */
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; gap: 0; height: 68px; align-items: center; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 16px;
  height: 100%;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav-link:hover, .nav-item.active > .nav-link {
  color: var(--white);
  border-bottom-color: var(--accent);
}

.nav-chevron {
  width: 8px; height: 8px;
  fill: none; stroke: currentColor; stroke-width: 2.5;
  transition: transform var(--transition);
}
.nav-item:hover .nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 220px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
}
.nav-item:hover .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 12px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover {
  background: var(--steel);
  color: var(--accent);
  padding-left: 26px;
}

/* Header right */
.header-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-tel {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.header-tel:hover { color: var(--accent); }

.btn-quote {
  background: var(--accent-2);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 9px 20px;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  border-radius: var(--radius);
}
.btn-quote:hover { background: #cc3d00; color: var(--white); }

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); transition: all var(--transition);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
}
.btn-primary:hover { background: #c88800; border-color: #c88800; color: var(--black); }

.btn-danger {
  background: var(--accent-2);
  color: var(--white);
  border-color: var(--accent-2);
}
.btn-danger:hover { background: #cc3d00; border-color: #cc3d00; color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.06); }

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline-accent:hover { background: var(--accent); color: var(--black); }

.btn-sm { padding: 9px 20px; font-size: 0.72rem; }
.btn-lg { padding: 16px 44px; font-size: 0.85rem; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 640px;
  background: var(--black);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.9s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.2) 100%);
}

/* Diagonal accent bar */
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 220px;
  width: 6px; height: 100%;
  background: var(--accent);
  transform: skewX(-6deg);
  z-index: 2;
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 80px 0;
  max-width: 660px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.hero-eyebrow-line {
  width: 40px; height: 2px; background: var(--accent);
}
.hero-eyebrow span {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.75;
  font-weight: 400;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero specs strip */
.hero-specs {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: rgba(0,0,0,0.75);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.hero-specs .container {
  display: flex;
  align-items: stretch;
}
.hero-spec-item {
  flex: 1;
  padding: 18px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-spec-item:last-child { border-right: none; }
.hero-spec-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.hero-spec-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

/* Slider controls */
.hero-dots {
  position: absolute;
  bottom: 80px; right: 40px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-dot {
  width: 3px; height: 28px;
  background: rgba(255,255,255,0.25);
  border: none; cursor: pointer;
  transition: background var(--transition), height var(--transition);
}
.hero-dot.active { background: var(--accent); height: 42px; }

/* ============================================
   SECTION BASE
   ============================================ */
.section { padding: 88px 0; }
.section-dark { background: var(--dark); }
.section-darker { background: var(--black); }
.section-steel { background: var(--dark-2); }

.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .divider { margin: 0 auto 24px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-tag::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}
.section-header.center .section-subtitle { margin: 0 auto; }

.divider {
  width: 56px; height: 3px;
  background: var(--accent);
  margin-bottom: 24px;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.product-card {
  position: relative;
  overflow: hidden;
  background: var(--dark-3);
  cursor: pointer;
  display: block;
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  transition: border-color var(--transition);
  pointer-events: none;
  z-index: 2;
}
.product-card:hover::after { border-color: var(--accent); }

.product-card-img {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.7) saturate(0.6);
}
.product-card:hover .product-card-img img {
  transform: scale(1.06);
  filter: brightness(0.85) saturate(0.8);
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
}

/* Number badge */
.product-card-num {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(0,0,0,0.6);
  padding: 4px 10px;
  z-index: 1;
}

.product-card-body {
  padding: 24px 24px 28px;
  position: relative;
}
.product-card-body::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.35s ease;
}
.product-card:hover .product-card-body::before { width: 100%; }

.product-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 8px;
}
.product-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.spec-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--steel);
  padding: 3px 8px;
  border-radius: 1px;
}
.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  transition: gap var(--transition);
}
.product-card:hover .product-card-link { gap: 10px; }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--accent);
  padding: 0;
}
.stats-bar .container {
  display: flex;
  align-items: stretch;
}
.stat-item {
  flex: 1;
  padding: 32px 24px;
  border-right: 1px solid rgba(0,0,0,0.12);
  text-align: center;
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.55);
}

/* ============================================
   APPLICATION GRID (industries-style)
   ============================================ */
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.app-grid-wide { grid-template-columns: repeat(3, 1fr); }

.app-card {
  position: relative;
  overflow: hidden;
  height: 320px;
  display: block;
  cursor: pointer;
}
.app-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.5);
  transition: filter 0.4s ease, transform 0.5s ease;
}
.app-card:hover img { filter: brightness(0.6) saturate(0.7); transform: scale(1.04); }

.app-card-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.app-card-inner::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 4px; height: 0;
  background: var(--accent);
  transition: height 0.35s ease;
}
.app-card:hover .app-card-inner::before { height: 100%; }

.app-card-tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 6px;
}
.app-card-title {
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 8px;
}
.app-card-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: 380px;
}
.app-card:hover .app-card-desc { opacity: 1; transform: translateY(0); }

/* ============================================
   FACTORY STRIP
   ============================================ */
.factory-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.factory-img { position: relative; overflow: hidden; }
.factory-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6) saturate(0.5); }
.factory-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0) 60%, var(--dark) 100%);
}
.factory-content {
  background: var(--dark);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.factory-content .section-subtitle { max-width: 100%; }

.factory-features {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.factory-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.factory-feature:first-child { border-top: 1px solid var(--border); }
.factory-feature-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--steel);
  display: flex; align-items: center; justify-content: center;
  border-left: 3px solid var(--accent);
}
.factory-feature-icon svg { width: 18px; height: 18px; color: var(--accent); }
.factory-feature-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 3px;
}
.factory-feature-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   NEWS CARDS
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.news-card:hover { border-color: var(--accent); transform: translateY(-4px); }

.news-card-img { height: 200px; overflow: hidden; }
.news-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.5);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.news-card:hover .news-card-img img { filter: brightness(0.85) saturate(0.7); transform: scale(1.04); }

.news-card-body { padding: 20px 22px 24px; }
.news-cat {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.news-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 10px;
}
.news-card-date { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================
   CTA BLOCK
   ============================================ */
.cta-block {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-block-title {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1.2;
}
.cta-block-sub { font-size: 0.9rem; color: var(--text-muted); margin-top: 8px; }
.cta-block-actions { flex-shrink: 0; display: flex; gap: 12px; }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--black);
  padding: 64px 0;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 120px; height: 3px;
  background: var(--accent);
}
.page-hero-eyebrow {
  font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent); margin-bottom: 12px;
}
.page-hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.1;
}
.page-hero-sub { font-size: 1rem; color: var(--text-muted); max-width: 560px; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--black); border-top: 1px solid var(--border); }

.footer-main { padding: 64px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand {}
.footer-brand .logo-name { font-size: 1.4rem; }
.footer-brand .logo-sub { font-size: 0.58rem; }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin: 20px 0; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--black); border-color: var(--accent); }

.footer-heading {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition), padding-left var(--transition);
}
.footer-links a:hover { color: var(--accent); padding-left: 6px; }

.footer-contact li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.82rem; color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-contact svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.78rem; color: var(--text-muted); }
.footer-legal a:hover { color: var(--accent); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .app-grid-wide { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .factory-strip { grid-template-columns: 1fr; }
  .factory-img { height: 320px; }
  .factory-content { padding: 48px 32px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { height: 260px; }
  .cta-block { flex-direction: column; text-align: center; }
  .cta-block-actions { flex-direction: column; width: 100%; }
  .hero-specs .container { flex-wrap: wrap; }
  .hero-spec-item { flex: 0 0 50%; }

  /* Mobile nav */
  .main-nav {
    position: fixed;
    top: 68px; left: -100%;
    width: 88%; max-width: 360px;
    height: calc(100vh - 68px);
    background: var(--black);
    border-right: 1px solid var(--border);
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px 0;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 999;
  }
  .main-nav.open { left: 0; }
  .nav-list { flex-direction: column; height: auto; width: 100%; gap: 0; }
  .nav-item { height: auto; width: 100%; flex-direction: column; align-items: flex-start; }
  .nav-link { width: 100%; padding: 14px 24px; height: auto; border-bottom: 1px solid var(--border); border-left: none; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; border-top: none; border-left: 3px solid var(--accent); display: none; }
  .nav-item.open .nav-dropdown { display: block; }
  .menu-toggle { display: flex; }
  .btn-quote { display: none; }
  .header-tel { display: none; }
}

@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero { min-height: 520px; }
  .hero-content { padding: 60px 0 100px; }
  .hero-title { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; }
  .hero-dots { display: none; }
  .hero-specs { position: static; }
  .hero-spec-item { flex: 0 0 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .news-grid { grid-template-columns: 1fr; }
  .stats-bar .container { flex-wrap: wrap; }
  .stat-item { flex: 0 0 50%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom .container { flex-direction: column; gap: 10px; }
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.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; }
