/* MACHTEK – Industrial Recycling Machines */

/* Payment icons disabled – remove next line to restore */
.pay-logos, .pm-logo { display: none !important; }

/* Google Fonts loaded via <link> in HTML for performance */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

:root {
  --red: #c1272d;
  --red-dark: #9b1f24;
  --red-light: #e8363d;
  --navy: #0c1222;
  --navy-light: #131b2e;
  --surface: #1a2236;
  --surface-hover: #212b42;
  --text: #eef1f6;
  --text-2: #c0c7d6;
  --text-3: #8a92a6;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);
  --glow: 0 0 40px rgba(193,39,45,0.15);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
  --r: 10px;
  --r-lg: 16px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.w {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ────────────────────────── HEADER ────────────────────────── */

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12,18,34,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 68px;
}

.hdr-in {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.hdr-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.hdr-mark {
  flex-shrink: 0;
  line-height: 0;
}

.hdr-mark img {
  height: 48px;
  width: auto;
  display: block;
}

.hdr-brand {
  line-height: 1.15;
}

.hdr-brand strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hdr-brand small {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}

.hdr-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.hdr-nav a {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  border-radius: 8px;
  transition: all 0.2s var(--ease);
}

.hdr-nav a:hover,
.hdr-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.hdr-nav .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 700;
  background: var(--red);
  color: #fff;
  border-radius: 99px;
  line-height: 1;
}

.hdr-cta {
  flex-shrink: 0;
}

.hdr-lang {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 99px;
  margin-left: 8px;
}

.hdr-lang a {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 99px;
  color: var(--text-3);
  transition: all 0.15s;
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hdr-lang a.on {
  background: var(--red);
  color: #fff;
}

.hdr-lang a:hover:not(.on) { color: var(--text); }

.hdr-menu {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.hdr-menu svg { width: 26px; height: 26px; }

/* ────────────────────────── BUTTONS ────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
  line-height: 1.3;
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(193,39,45,0.3);
}

.btn-red:hover {
  background: var(--red-light);
  box-shadow: 0 6px 24px rgba(193,39,45,0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-hover);
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
}

.btn-dark {
  background: var(--surface);
  color: var(--text-2);
  border: 1px solid var(--border);
}

.btn-dark:hover {
  background: var(--surface-hover);
  color: #fff;
  border-color: var(--border-hover);
}

.btn-sm { padding: 9px 18px; font-size: 12px; }
.btn-lg { padding: 15px 36px; font-size: 14px; }
.btn-block { width: 100%; }

/* ────────────────────────── SLIDER / HERO ────────────────────────── */

.slider {
  position: relative;
  width: 100%;
  height: clamp(260px, 32vw, 400px);
  overflow: hidden;
  background: var(--navy);
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s var(--ease);
}

.slide {
  position: relative;
  min-width: 100%;
  height: 100%;
}

.slide picture {
  display: contents;
}

.slide .slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,18,34,0.85) 0%, rgba(12,18,34,0.4) 50%, transparent 100%);
  display: flex;
  align-items: center;
}

.slide-content {
  padding: 0 48px;
  max-width: 560px;
}

.slide-content h2 {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
}

.slide-content h2 em {
  font-style: normal;
  color: var(--red-light);
}

.slide-content p {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 24px;
  line-height: 1.6;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(12,18,34,0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s;
  z-index: 5;
}

.slider-btn:hover {
  background: rgba(193,39,45,0.8);
  border-color: rgba(255,255,255,0.3);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
  position: relative;
}

.slider-dot::before {
  content: '';
  position: absolute;
  inset: -8px;
}

.slider-dot.on {
  background: #fff;
  border-color: #fff;
}

/* Hero (non-slider fallback) */

.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(193,39,45,0.08), transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(30,60,120,0.12), transparent 60%),
    var(--navy);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--red-light);
}

.hero-desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat {
  border-left: 3px solid var(--red);
  padding-left: 16px;
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-stat span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  font-weight: 600;
}

.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 10px;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* ────────────────────────── SECTIONS ────────────────────────── */

.sec {
  padding: 80px 0;
}

.sec-alt {
  background: var(--navy-light);
}

.sec-hd {
  text-align: center;
  margin-bottom: 48px;
}

.sec-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 10px;
}

.sec-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.sec-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
}

/* ────────────────────────── CATEGORY CARDS ────────────────────────── */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.ccard {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.25s var(--ease);
}

.ccard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.ccard-img {
  aspect-ratio: 2.2 / 1;
  background: linear-gradient(145deg, #1c2640, #111a2e);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ccard-img picture {
  display: contents;
}

.ccard-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Motor composite: copper windings as background, Machtek machine in foreground */
.motor-composite {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.motor-composite .motor-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  filter: brightness(0.75) saturate(1.1);
}
.motor-composite .motor-fg {
  position: relative;
  z-index: 2;
  max-width: 45%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.slide-img.motor-composite {
  width: 100%;
  height: 100%;
  min-height: 320px;
}
.slide-img.motor-composite .motor-bg {
  object-position: 30% center;
}
.slide-img.motor-composite .motor-fg {
  max-width: 42%;
  max-height: 100%;
}

.spare-collage {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #0c1222;
}

.spare-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.ccard-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ccard-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ccard-body p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 16px;
  flex: 1;
}

.ccard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.ccard-tags span {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  color: var(--text-3);
  border: 1px solid var(--border);
  letter-spacing: 0.03em;
}

.ccard-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ccard-link::after {
  content: '→';
  transition: transform 0.2s;
}

.ccard:hover .ccard-link::after {
  transform: translateX(5px);
}

/* ────────────────────────── MACHINE CARDS ────────────────────────── */

.mcard {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.25s var(--ease);
}

.mcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.mcard-img {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #1c2640, #111a2e);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mcard-img picture { display: contents; }
.mcard-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.mcard-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mcard-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.mcard-body > p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 14px;
}

.mcard-specs {
  margin-bottom: 20px;
}

.mcard-specs li {
  font-size: 13px;
  color: var(--text-2);
  padding: 5px 0 5px 18px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mcard-specs li:last-child { border-bottom: none; }

.mcard-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.mcard-btns {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

/* ────────────────────────── FEATURED ────────────────────────── */

.fgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.fcard {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.25s var(--ease);
}

.fcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.fcard-img {
  background: linear-gradient(145deg, #1c2640, #111a2e);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.fcard-img picture { display: contents; }
.fcard-img img { width: 100%; height: 100%; object-fit: cover; }

.fcard-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fcard-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 6px;
}

.fcard-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.fcard-body p {
  font-size: 14px;
  color: var(--text-2);
  margin: 0;
}

/* ────────────────────────── BENEFITS ────────────────────────── */

.ben-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ben {
  padding: 32px 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.ben:hover { border-color: var(--border-hover); }

.ben-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(193,39,45,0.12);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.ben-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--red-light);
  fill: none;
  stroke-width: 2;
}

.ben h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ben p {
  font-size: 14px;
  color: var(--text-2);
}

/* ────────────────────────── CTA BANNER ────────────────────────── */

.cta {
  padding: 64px 0;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(193,39,45,0.08), transparent 50%),
    var(--navy-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta p {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ────────────────────────── BREADCRUMBS ────────────────────────── */

.crumbs {
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--text-3);
}

.crumbs a { color: var(--text-3); }
.crumbs a:hover { color: var(--text); }
.crumbs .s { margin: 0 8px; opacity: 0.4; }

/* ────────────────────────── PAGE HEADER ────────────────────────── */

.pg-hd {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--border);
}

.pg-hd h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 10px;
}

.pg-hd p {
  font-size: 16px;
  color: var(--text-2);
  max-width: 600px;
}

.machine-search {
  margin-top: 22px;
  max-width: 640px;
}

.machine-search input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: rgba(12,18,34,0.7);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.machine-search input::placeholder {
  color: var(--text-3);
}

.machine-search input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(193,39,45,0.2);
}

.machine-search-count {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
  min-height: 1.2em;
}

.machine-search-empty {
  margin-top: 18px;
  color: var(--text-2);
}

[data-machine-card].is-hidden {
  display: none !important;
}

/* ────────────────────────── DETAIL PAGE ────────────────────────── */

.dtl-hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: start;
}

.dtl-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #1c2640, #111a2e);
}

.dtl-media picture { display: contents; }
.dtl-media img { width: 100%; height: 100%; object-fit: cover; }

.dtl-info { position: sticky; top: 88px; }

.dtl-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 6px;
}

.dtl-info h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 14px;
}

.dtl-desc {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 24px;
  line-height: 1.8;
}

.key-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

.ks {
  padding: 14px 16px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--border);
}

.ks .l {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 2px;
}

.ks .v {
  font-size: 16px;
  font-weight: 700;
}

.dtl-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Spec table */

.spec-tbl {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.spec-tbl th,
.spec-tbl td {
  padding: 14px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.spec-tbl th {
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
  width: 38%;
}

.spec-tbl tr:hover td,
.spec-tbl tr:hover th {
  background: rgba(255,255,255,0.02);
}

.dtl-sec {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.dtl-sec h2 {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.dtl-sec p { color: var(--text-2); }
.dtl-sec ul { padding-left: 22px; list-style: disc; }
.dtl-sec li { color: var(--text-2); margin-bottom: 6px; }

.video-box {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

.video-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ────────────────────────── FORMS ────────────────────────── */

.form-box {
  padding: 36px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-box h2 {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

.fg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fi {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fi.full { grid-column: 1 / -1; }

.fi label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

.fi input,
.fi textarea,
.fi select {
  padding: 12px 16px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: rgba(12,18,34,0.7);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fi input::placeholder,
.fi textarea::placeholder {
  color: var(--text-3);
}

.fi input:focus,
.fi textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(193,39,45,0.2);
}

.form-act { margin-top: 24px; }

/* ────────────────────────── QUOTE PAGE ────────────────────────── */

.q-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.q-list { display: flex; flex-direction: column; gap: 8px; }

.q-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.q-item:hover { border-color: var(--border-hover); }

.q-name { font-weight: 600; font-size: 15px; }
.q-link { font-size: 13px; color: var(--text-3); margin-left: 10px; }
.q-link:hover { color: var(--text); }

.q-rm {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s;
}

.q-rm:hover {
  color: var(--red);
  background: rgba(193,39,45,0.1);
}

.q-empty {
  padding: 48px;
  text-align: center;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-3);
}

.q-empty a { color: var(--red-light); text-decoration: underline; }

/* ────────────────────────── FOOTER ────────────────────────── */

.ftr {
  background: #060a14;
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
}

.ftr-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.ftr-brand strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ftr-brand p {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 280px;
}

.ftr-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-3);
  margin-bottom: 16px;
}

.ftr-col li { margin-bottom: 10px; }

.ftr-col a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.15s;
}

.ftr-col a:hover { color: #fff; }

.ftr-btm {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-3);
}

/* ────────────────────────── RESPONSIVE ────────────────────────── */

@media (max-width: 1024px) {
  .hero-grid        { grid-template-columns: 1fr; gap: 40px; }
  .hero-img         { max-width: 560px; }
  .grid-3           { grid-template-columns: repeat(2, 1fr); }
  .ben-grid         { grid-template-columns: repeat(2, 1fr); }
  .fgrid            { grid-template-columns: 1fr; }
  .fcard            { grid-template-columns: 200px 1fr; }
  .dtl-hero         { grid-template-columns: 1fr; }
  .dtl-info         { position: static; }
  .ftr-grid         { grid-template-columns: repeat(2, 1fr); }
  .q-layout         { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hdr-nav, .hdr-cta, .hdr-lang { display: none; }
  .hdr-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(12,18,34,0.98);
    backdrop-filter: blur(20px);
    padding: 16px 28px 24px;
    border-bottom: 1px solid var(--border);
    gap: 2px;
  }
  .hdr-menu         { display: block; }
  .hero             { padding: 48px 0 40px; }
  .hero-stats       { flex-direction: column; gap: 20px; }
  .grid-3,
  .grid-4,
  .ben-grid         { grid-template-columns: 1fr; }
  .fcard            { grid-template-columns: 1fr; }
  .fg               { grid-template-columns: 1fr; }
  .key-specs        { grid-template-columns: 1fr; }
  .ftr-grid         { grid-template-columns: 1fr; gap: 28px; }
  .ftr-btm          { flex-direction: column; gap: 10px; text-align: center; }
}

/* ────────────────────────── GALLERY ────────────────────────── */

.gallery-section {
  margin-top: 28px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-thumb {
  aspect-ratio: 16/9;
  border-radius: var(--r);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  background: linear-gradient(145deg, #1c2640, #111a2e);
}

.gallery-thumb:hover {
  transform: translateY(-3px);
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--red);
}

.gallery-thumb picture { display: contents; }

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

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--r);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  z-index: 101;
}

.lightbox-close:hover { color: var(--red-light); }

@media (max-width: 768px) {
  .gallery-thumbs { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lightbox { padding: 16px; }
}

@media (max-width: 480px) {
  .w             { padding: 0 18px; }
  .hero          { padding: 36px 0 28px; }
  .sec           { padding: 56px 0; }
  .form-box      { padding: 24px; }
}
