/* =============================================================
   LOIMEX new2 — Hoja de estilos unificada
   Consolida: producto.css · producto1.css · familia.css ·
              cabecera.css · styles.css (anteriores)
   ============================================================= */

/* ─── VARIABLES ─────────────────────────────────────────────── */
:root {
  --red:            #c81010;
  --red-dark:       #8f0909;
  --text:           #222222;
  --muted:          #666666;
  --bg:             #f5f5f7;
  --card:           #ffffff;
  --line:           #e7e7ea;
  --soft:           #fafafa;
  --shadow:         0 12px 30px rgba(0,0,0,0.08);
  --radius:         18px;
  --radius-sm:      12px;
  --max-width:      1200px;
  --table-first-col:260px;

  /* cabecera.css palette (lx-*) */
  --lx-red:         #b30000;
  --lx-red-dark:    #6f0000;
  --lx-black:       #0c0c0f;
  --lx-white:       #ffffff;
  --lx-text-soft:   rgba(255,255,255,0.82);
  --lx-border:      rgba(255,255,255,0.10);
  --lx-shadow:      0 18px 50px rgba(0,0,0,0.30);
  --lx-radius:      18px;
  --lx-max-width:   1280px;
}

/* ─── RESET / BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7f7f8 0%, #efeff2 100%);
}

img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
button, input { font: inherit; }

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

/* ─── HEADER / NAV ───────────────────────────────────────────── */
.header {
  background: linear-gradient(180deg, #b80000 0%, #910000 100%);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);

}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;

}

.logo {
  display: flex;
  align-items: center;
  height: 60px;
  flex-shrink: 0;
}
.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.menu {
  display: flex;
  gap: 28px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.menu a {
  color: #fff;
  font-weight: 600;
  opacity: 0.9;
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
}
.menu a:hover,
.menu a.active { opacity: 1; }
.menu a.active::after,
.menu a:hover::after {
  content: "";
  position: absolute;
  left: 0; bottom: -8px;
  width: 100%; height: 3px;
  background: #fff;
  border-radius: 99px;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Search */
.search-box {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  overflow: hidden;
  height: 40px;
}
.search-box input {
  border: none; outline: none;
  padding: 0 12px;
  background: transparent;
  color: #fff;
  width: 140px;
  font-size: 14px;
}
.search-box input::placeholder { color: rgba(255,255,255,0.72); }
.search-box button {
  border: none;
  background: transparent;
  color: #fff;
  padding: 0 12px;
  cursor: pointer;
  font-size: 16px;
  transition: opacity 0.2s;
}
.search-box button:hover { opacity: 0.75; }

/* Language selector */
.lang-selector {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-current {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1;
  transition: background 0.2s;
  white-space: nowrap;
}
.lang-current:hover { background: rgba(255,255,255,0.22); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 190px;
  display: none;
  z-index: 6000;
}
.lang-dropdown.open { display: block; }

.lang-dropdown-inner {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  overflow: hidden;
  border: 1px solid #ececec;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s;
}
.lang-option:hover    { background: #f5f5f7; }
.lang-option.lang-active { background: #fde8e8; color: var(--red); font-weight: 700; }
.lang-soon { font-size: 0.7rem; color: #aaa; margin-left: auto; }

/* CTA button in header */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.25s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(180deg, #df1717 0%, #ba0d0d 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(200,16,16,0.25);
}
.btn-primary:hover  { transform: translateY(-1px); filter: brightness(1.05); }
.btn-secondary {
  background: #fff;
  color: var(--red);
  border: 1px solid #e2d9d9;
}
.btn-secondary:hover { background: #fff5f5; }
.btn-block { width: 100%; }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  margin: 0 auto;
  transition: transform 0.2s, opacity 0.2s;
}

/* ─── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb { background: #f0f0f2; border-bottom: 1px solid var(--line); }
.breadcrumb .container { padding: 16px 0; color: #777; font-size: 14px; }
.breadcrumb a { color: var(--red); }
.breadcrumb span { margin: 0 6px; }

/* ─── TOPBAR ─────────────────────────────────────────────────── */
.topbar { background: #7d0000; color: #fff; font-size: 14px; }
.topbar-inner { display: flex; justify-content: flex-end; gap: 24px; padding: 10px 0; }

/* ─── HERO (product detail) ──────────────────────────────────── */
.hero { padding: 56px 0 30px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 13px;
}
.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--red);
}
.lead { font-size: 20px; line-height: 1.75; color: #444; max-width: 760px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.spec-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.spec-card strong { display: block; font-size: 14px; color: #666; margin-bottom: 8px; }
.spec-card span   { font-size: 22px; font-weight: 800; color: #111; }
.hero-media  { position: relative; }
.main-machine {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 35px rgba(0,0,0,0.18));
}

/* ─── HERO (index/homepage) ──────────────────────────────────── */
.pill {
  display: inline-block;
  background: #fde8e8;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.hero-copy .lead { font-size: 19px; color: #444; margin: 0 0 32px; line-height: 1.6; }
.hero-img {
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #e8e8ec;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ─── SECTIONS (index) ───────────────────────────────────────── */
.section      { padding: 70px 0; }
.section-alt  { background: rgba(255,255,255,0.6); }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 34px; font-weight: 800; color: var(--text); margin: 0 0 10px; }
.section-title p  { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto; }

/* ─── PRODUCT FAMILIES GRID (index) ─────────────────────────── */
.families-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.fam-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.fam-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.fam-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.fam-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.fam-card:hover .fam-card-img img { transform: scale(1.04); }
.fam-card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.fam-card-body h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.fam-card-body p  { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0 0 18px; flex: 1; }
.fam-link { font-size: 14px; font-weight: 700; color: var(--red); }

/* ─── WHY / STATS / SERVICES (index) ────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.why-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 28px; }
.why-icon { font-size: 32px; margin-bottom: 16px; }
.why-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 10px; }
.why-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

.stats-section { background: linear-gradient(135deg, #b80000 0%, #7a0000 100%); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.stat-num   { font-size: 48px; font-weight: 800; color: #fff; line-height: 1; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.78); margin-top: 8px; font-weight: 500; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.svc-icon { width: 44px; height: 44px; background: #fde8e8; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.svc-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 10px; }
.svc-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ─── CTA BOX ────────────────────────────────────────────────── */
.cta-box {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 52px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.cta-box h2 { font-size: 28px; font-weight: 800; margin: 0 0 10px; }
.cta-box p  { font-size: 15px; color: var(--muted); margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; white-space: nowrap; }

/* ─── NEWS CARDS (index) ─────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.news-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.13); }
.news-card-img-bg {
  width: 100%; height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg);
}
.news-card-video { width: 100%; height: 200px; object-fit: cover; display: block; }
.news-card-body  { padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.news-card-date  { font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.news-card-title { font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.4; }
.news-card-text  { font-size: 0.88rem; color: var(--muted); line-height: 1.6; flex: 1; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer { background: #1a1a22; color: rgba(255,255,255,0.65); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4   { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; }
.footer p, .footer address { font-size: 13px; line-height: 1.7; font-style: normal; margin: 0; }
.footer a    { color: rgba(255,255,255,0.55); font-size: 13px; display: block; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer-logo { height: 36px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ─── GENERIC CARDS ──────────────────────────────────────────── */
.card,
.video-card,
.table-card,
.standard-card,
.video-panel-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card          { padding: 34px; }
.card h2,
.standard-card h2 { margin: 0 0 20px; color: var(--red); font-size: 36px; line-height: 1.1; }
.table-card    { padding: 24px; }
.standard-card { padding: 34px; }

/* Features */
.features      { padding: 18px 0 30px; }
.features-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 24px; align-items: start; }

/* Check-list */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: #333;
  line-height: 1.6;
  font-size: 18px;
}
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 800; }

/* Video card */
.video-card   { overflow: hidden; }
.video-thumb  { position: relative; }
.video-thumb img { width: 100%; height: 250px; object-fit: cover; }
.play-btn {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 78px; height: 78px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.video-content { padding: 24px; }
.video-content h3 { margin: 0 0 10px; font-size: 24px; }
.video-content p  { color: #666; line-height: 1.6; margin-bottom: 18px; }

/* ─── TABS ───────────────────────────────────────────────────── */
.tabs-section { padding: 10px 0 70px; }
.tabs { display: flex; gap: 10px; margin-left: 10px; flex-wrap: wrap; }
.tab {
  border: 1px solid var(--line);
  background: #f3f3f5;
  color: #444;
  padding: 16px 22px;
  border-radius: 14px 14px 0 0;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}
.tab:hover { background: #ececf1; }
.tab.active { background: #fff; color: var(--red); border-color: #e7e7ea; box-shadow: 0 -6px 16px rgba(0,0,0,0.03); }
.tab-panels { background: transparent; }
.tab-panel  { display: none; animation: fadeTab 0.25s ease; }
.tab-panel.active { display: block; }
@keyframes fadeTab {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── SPEC TABLES ────────────────────────────────────────────── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 24px;
}
.spec-table:last-child { margin-bottom: 0; }
.spec-table col:first-child { width: var(--table-first-col); }

.spec-table thead th {
  padding: 18px;
  text-align: left;
  color: #fff;
  font-size: 18px;
}
.spec-table thead th:first-child {
  width: var(--table-first-col);
  min-width: var(--table-first-col);
  max-width: var(--table-first-col);
  background: linear-gradient(90deg, #1f1f24 0%, #383845 100%);
}
.spec-table thead th:nth-child(2),
.spec-table thead th:nth-child(3) {
  background: linear-gradient(180deg, #d71919 0%, #a40d0d 100%);
  text-align: center;
}
.spec-table tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid #ececf0;
  font-size: 17px;
}
.spec-table tbody tr:nth-child(odd)  td { background: #f7f7f9; }
.spec-table tbody tr:nth-child(even) td { background: #fff; }
.spec-table th:first-child,
.spec-table td:first-child {
  width: var(--table-first-col);
  min-width: var(--table-first-col);
  max-width: var(--table-first-col);
  text-align: left;
  font-weight: 600;
}
.spec-table tbody td:nth-child(2),
.spec-table tbody td:nth-child(3),
.spec-table thead th:nth-child(2),
.spec-table thead th:nth-child(3) { text-align: center; }

.spec-table.secondary thead th:first-child  { background: linear-gradient(90deg, #d8cfbf, #efe8db); color: #222; }
.spec-table.secondary thead th:nth-child(2),
.spec-table.secondary thead th:nth-child(3) { background: #f3eee6; color: #222; }

/* ─── STANDARD SECTION ───────────────────────────────────────── */
.standard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

/* ─── VIDEO PANEL ────────────────────────────────────────────── */
.video-panel-card { overflow: hidden; }
.video-embed { background: #000; line-height: 0; }
.video-embed iframe,
.video-embed video { display: block; width: 100%; height: 500px; background: #000; border: 0; }
.video-info { padding: 24px 28px 30px; }
.video-info h3 { margin: 0 0 10px; font-size: 28px; color: var(--red); }
.video-info p  { margin: 0; color: #555; line-height: 1.7; }

/* ─── FAMILIA PAGE ───────────────────────────────────────────── */
.products-hero { padding: 56px 0 24px; text-align: center; }
.products-hero h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
  color: var(--red);
  font-weight: 800;
}
.intro {
  width: min(920px, 100%);
  margin: 22px auto 0;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.5;
  color: #2f3742;
}
.product-filters { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.filter-btn {
  border: 1px solid #d8dde5;
  background: #fff;
  color: #364152;
  padding: 14px 22px;
  min-width: 140px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.filter-btn.active {
  background: linear-gradient(180deg, #d71414 0%, var(--red) 100%);
  color: #fff;
  border-color: var(--red-dark);
}
.products-section { padding: 16px 0 70px; }
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 32px rgba(0,0,0,0.12); }
.product-image-wrap {
  padding: 28px 28px 10px;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image-wrap img { max-height: 240px; width: auto; object-fit: contain; }
.product-card-body { padding: 0 28px 28px; }
.product-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff3f3;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.2; font-weight: 800; color: #202836; }
.product-card p  { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ─── CABECERA (lx-* hero — cabecera.asp) ────────────────────── */
.lx-container {
  width: min(calc(100% - 32px), var(--lx-max-width));
  margin: 0 auto;
}
.lx-hero {
  position: relative;
  min-height: 720px;
  color: var(--lx-white);
  overflow: hidden;
  background: #111;
}
.lx-hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,10,0.82) 0%, rgba(8,8,10,0.56) 38%, rgba(8,8,10,0.30) 100%),
    url('/images/hero-loimex-machine.jpg') center center / cover no-repeat;
  transform: scale(1.02);
}
.lx-hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(179,0,0,0.24), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(255,70,70,0.18), transparent 24%),
    linear-gradient(180deg, rgba(0,0,0,0.16), rgba(0,0,0,0.36));
}
.lx-topbar { position: relative; z-index: 20; padding-top: 18px; }
.lx-topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 82px; padding: 0 22px;
  border: 1px solid var(--lx-border); border-radius: 22px;
  background: linear-gradient(180deg, rgba(125,0,0,0.82), rgba(40,0,0,0.70));
  backdrop-filter: blur(10px); box-shadow: var(--lx-shadow);
}
.lx-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.lx-logo img { display: block; max-height: 46px; width: auto; }
.lx-nav { margin-left: auto; }
.lx-nav__list { display: flex; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.lx-nav__list > li > a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 18px;
  color: var(--lx-white); text-decoration: none;
  font-size: 1.03rem; font-weight: 700; letter-spacing: 0.02em;
  border-radius: 12px; transition: background 0.25s, color 0.25s, transform 0.25s;
}
.lx-nav__list > li > a:hover { background: rgba(255,255,255,0.10); transform: translateY(-1px); }
.lx-nav__icons { display: flex; align-items: center; gap: 10px; margin-left: 6px; }
.lx-icon-link, .lx-lang {
  width: 42px; height: 42px; min-height: auto !important; padding: 0 !important;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 12px;
  background: rgba(255,255,255,0.06);
}
.lx-icon-link svg { width: 20px; height: 20px; fill: currentColor; }
.lx-lang { font-size: 0.86rem !important; font-weight: 800 !important; }
.lx-hero__content {
  position: relative; z-index: 10;
  display: grid; grid-template-columns: minmax(0, 700px) minmax(220px, 1fr);
  align-items: center; gap: 28px;
  min-height: calc(720px - 110px);
  padding-top: 54px; padding-bottom: 74px;
}
.lx-hero__text  { max-width: 760px; }
.lx-hero__eyebrow {
  display: inline-block; margin-bottom: 16px;
  padding: 8px 14px; border: 1px solid rgba(255,255,255,0.14); border-radius: 999px;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.92);
  font-size: 0.92rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.lx-hero__text h1 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 4.8vw, 4.7rem);
  line-height: 0.98; letter-spacing: -0.03em;
  text-transform: uppercase; text-wrap: balance;
}
.lx-hero__text p { margin: 0; max-width: 680px; color: var(--lx-text-soft); font-size: clamp(1rem, 1.5vw, 1.34rem); line-height: 1.55; }
.lx-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.lx-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 180px; min-height: 54px; padding: 0 26px; border-radius: 14px;
  text-decoration: none; font-weight: 800; font-size: 1rem; letter-spacing: 0.02em;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
}
.lx-btn:hover { transform: translateY(-2px); }
.lx-btn--primary { color: #fff; background: linear-gradient(180deg, #de1a1a, #9a0000); box-shadow: 0 14px 35px rgba(179,0,0,0.35); }
.lx-btn--ghost   { color: #fff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); }
.lx-hero__badge  { position: relative; width: min(100%, 360px); aspect-ratio: 1; justify-self: end; opacity: 0.95; }
.lx-hero__globe  {
  position: absolute; inset: 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.24), transparent 20%),
    radial-gradient(circle at 62% 58%, rgba(0,255,170,0.16), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(255,110,110,0.10), rgba(0,0,0,0.66)),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 0 40px rgba(255,255,255,0.06), 0 0 60px rgba(179,0,0,0.22);
}
.lx-hero__globe::before, .lx-hero__globe::after { content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: 0.28; }
.lx-hero__globe::before { background: repeating-linear-gradient(0deg, transparent 0 16px, rgba(255,255,255,0.18) 16px 17px); }
.lx-hero__globe::after  { background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(255,255,255,0.12) 18px 19px); }
.lx-hero__ring {
  position: absolute; inset: 28% 0;
  border: 3px solid rgba(255,105,105,0.75); border-radius: 50%;
  transform: rotate(-18deg); filter: drop-shadow(0 0 20px rgba(255,70,70,0.65));
}
.lx-cable-line {
  position: absolute; left: -4%; right: -4%; bottom: 72px; z-index: 9;
  height: 120px; pointer-events: none; opacity: 0.95;
  background:
    radial-gradient(circle at 12% 50%, rgba(255,90,90,0.95) 0 2px, transparent 3px),
    linear-gradient(100deg, transparent 0%, transparent 6%, rgba(255,80,80,0) 8%, rgba(255,80,80,0.9) 18%,
      rgba(255,140,140,1) 34%, rgba(255,80,80,0.88) 54%, rgba(255,120,120,0.95) 72%, rgba(255,80,80,0) 86%, transparent 100%);
  filter: blur(0.2px) drop-shadow(0 0 10px rgba(255,70,70,0.65));
  clip-path: path("M 0 65 C 180 15, 360 120, 540 70 S 900 10, 1180 70 S 1500 120, 1800 40");
}
.lx-menu-toggle {
  display: none; width: 48px; height: 48px; padding: 0;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 12px;
  background: rgba(255,255,255,0.08); cursor: pointer;
}
.lx-menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: #fff; border-radius: 999px; }

/* LayerSlider height */
.ly-loimex { height: 650px; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-grid,
  .features-grid { grid-template-columns: 1fr; }
  .hero-specs    { grid-template-columns: 1fr; }
  .main-machine  { max-width: 700px; margin: 0 auto; }
}

@media (max-width: 1024px) {
  .products-grid       { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-image-wrap  { min-height: 250px; }
}

@media (min-width: 1600px) { .ly-loimex { height: 700px; } }

@media (max-width: 900px) {
  :root { --table-first-col: 200px; }
  .hero-grid          { grid-template-columns: 1fr; }
  .hero-copy h1       { font-size: 34px; }
  .stats-grid         { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .services-grid      { grid-template-columns: 1fr 1fr; }
  .cta-box            { grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .standard-grid      { grid-template-columns: 1fr; gap: 10px; }
  .video-embed iframe,
  .video-embed video  { height: 280px; }
  .topbar-inner       { justify-content: center; flex-wrap: wrap; }
  .card h2,
  .standard-card h2   { font-size: 28px; }
  .check-list li      { font-size: 16px; }
}

@media (max-width: 860px) {
  .search-box { display: none; }
  .hamburger  { display: flex; }
  .menu {
    display: none;
    position: absolute;
    top: 84px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #7a0000;
    padding: 10px; gap: 2px;
    z-index: 4999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }
  .menu.menu-open { display: flex; }
  .menu a { padding: 12px 16px; font-size: 1rem; opacity: 1; }
  .menu a.active::after,
  .menu a:hover::after { display: none; }
  .nav { position: relative; }

  /* lx hero responsive */
  .lx-hero { min-height: 680px; }
  .lx-hero__content { grid-template-columns: 1fr; min-height: auto; padding-top: 46px; padding-bottom: 58px; }
  .lx-hero__badge   { justify-self: start; width: 260px; opacity: 0.82; }
  .lx-topbar__inner { min-height: 74px; padding: 0 14px; }
  .lx-logo img      { max-height: 38px; }
  .lx-menu-toggle   { display: block; margin-left: auto; }
  .lx-nav           { position: absolute; top: calc(100% + 10px); left: 0; right: 0; display: none; }
  .lx-nav.is-open   { display: block; }
  .lx-nav__list     { flex-direction: column; align-items: stretch; gap: 8px; padding: 14px; border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; background: rgba(18,18,22,0.96); backdrop-filter: blur(12px); box-shadow: var(--lx-shadow); }
  .lx-nav__list > li > a { justify-content: flex-start; min-height: 52px; padding: 0 16px; }
  .lx-nav__icons    { justify-content: flex-start; margin-left: 0; padding-top: 6px; }
}

@media (max-width: 820px) {
  .nav { flex-wrap: wrap; padding: 18px 0; }
  .lead { font-size: 18px; }
}

@media (max-width: 680px) {
  .products-hero { padding-top: 34px; }
  .product-filters .filter-btn { min-width: auto; width: calc(50% - 5px); padding: 12px 14px; font-size: 15px; }
  .products-grid      { grid-template-columns: 1fr; gap: 20px; }
  .product-image-wrap { min-height: 220px; padding: 22px 22px 6px; }
  .product-card-body  { padding: 0 22px 22px; }
  .product-card h3    { font-size: 20px; }
}

@media (max-width: 600px) {
  .hero-copy h1    { font-size: 28px; }
  .services-grid   { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; }
  .why-grid        { grid-template-columns: 1fr; }
  .cta-box         { padding: 32px 24px; }
}

@media (max-width: 560px) {
  :root { --table-first-col: 170px; }
  .container { width: min(var(--max-width), calc(100% - 24px)); }
  .card,
  .table-card,
  .standard-card { padding: 18px; }
  .spec-table thead th,
  .spec-table tbody td { padding: 12px; font-size: 14px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .search-box input { width: 110px; }
  .ly-loimex { height: 300px; }

  /* lx responsive */
  .lx-container  { width: min(calc(100% - 22px), var(--lx-max-width)); }
  .lx-topbar     { padding-top: 12px; }
  .lx-topbar__inner { border-radius: 16px; }
  .lx-hero       { min-height: 560px; }
  .lx-hero__text h1 { font-size: clamp(2rem, 10vw, 2.9rem); }
  .lx-hero__text p  { font-size: 1rem; }
  .lx-hero__actions { flex-direction: column; align-items: stretch; }
  .lx-btn        { width: 100%; min-width: 0; }
  .lx-hero__badge,
  .lx-cable-line { display: none; }
}
