/* ==========================================================
   SOHO DIESEL - Cummins diesel engine parts
   Shared stylesheet for all pages
   ========================================================== */
:root {
  --red: #c8201b;
  --red-dark: #9c1713;
  --red-soft: #fbe9e8;
  --ink: #171b21;
  --ink-2: #222830;
  --slate: #4d5663;
  --muted: #8b939e;
  --line: #e3e7ec;
  --line-2: #eef1f4;
  --bg-soft: #f5f7f9;
  --white: #fff;
  --shadow: 0 10px 30px rgba(20, 26, 34, .08);
  --shadow-lg: 0 22px 55px rgba(20, 26, 34, .16);
  --cond: "Barlow Condensed", "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 15px; line-height: 1.7; color: var(--slate); background: var(--white); -webkit-font-smoothing: antialiased; }
body.ready { opacity: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-family: var(--cond); font-weight: 700; line-height: 1.15; letter-spacing: .3px; }
p { margin: 0 0 14px; }
ul { margin: 0; padding: 0; list-style: none; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.text-red { color: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 24px; border: 1px solid transparent; border-radius: 3px; font-weight: 600; font-size: 14px; letter-spacing: .3px; transition: all .22s ease; white-space: nowrap; }
.btn .icon { width: 16px; height: 16px; }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(200, 32, 27, .25); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-outline-light { display: inline-flex; margin-top: 12px; padding: 8px 16px; border: 1px solid rgba(255,255,255,.55); color: #fff; border-radius: 3px; font-size: 13px; gap: 7px; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; color: var(--red); font-weight: 600; font-size: 14px; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- section heads ---------- */
.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; margin-bottom: 12px; }
.section-head .eyebrow::before, .section-head .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--red); }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); text-transform: uppercase; }
.section-head p { color: var(--slate); margin: 14px 0 0; font-size: 16px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head.left .eyebrow::before { display: none; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ==========================================================
   HEADER
   ========================================================== */
#site-header { position: sticky; top: 0; z-index: 60; background: #fff; }
.topbar { background: var(--ink); color: #c9ced6; font-size: 12.5px; height: 38px; overflow: hidden; transition: height .25s ease; }
body.is-scrolled .topbar { height: 0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-right a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 13px; height: 13px; color: var(--red); }
.header-main { border-bottom: 1px solid var(--line-2); }
.header-inner { display: flex; align-items: center; gap: 34px; height: 88px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark svg { width: 46px; height: 46px; }
.brand-text strong { display: block; font-family: var(--cond); font-size: 27px; line-height: 1; letter-spacing: 1.2px; color: var(--ink); font-weight: 700; }
.brand-text strong em { color: var(--red); font-style: normal; }
.brand-text small { display: block; font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.header-search { display: flex; align-items: center; flex: 1 1 auto; max-width: 380px; margin-left: auto; height: 42px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg-soft); overflow: hidden; }
.header-search:focus-within { border-color: var(--red); background: #fff; }
.header-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 14px; font-size: 13.5px; color: var(--ink); }
.header-search button { width: 46px; height: 100%; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--slate); }
.header-search button:hover { background: var(--red); color: #fff; }
.header-quote { padding: 11px 18px; }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: 3px; width: 42px; height: 42px; color: var(--ink); }
.menu-toggle .icon { width: 22px; height: 22px; }
.main-nav { background: #fff; box-shadow: 0 3px 14px rgba(20,26,34,.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-list { display: flex; align-items: stretch; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 4px; height: 52px; padding: 0 22px; font-size: 14px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .6px; position: relative; }
.nav-item > a::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .22s; }
.nav-item:hover > a, .nav-item.active > a { color: var(--red); }
.nav-item:hover > a::after, .nav-item.active > a::after { transform: scaleX(1); }
.nav-caret { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.nav-caret .icon { width: 13px; height: 13px; }
.nav-dropdown { position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border-top: 3px solid var(--red); box-shadow: var(--shadow-lg); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; z-index: 20; }
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown a { display: block; padding: 10px 20px; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.nav-dropdown a:last-child { border-bottom: 0; }
.nav-dropdown a:hover { background: var(--red-soft); color: var(--red); padding-left: 25px; }
.nav-hotline { display: flex; align-items: center; gap: 9px; font-family: var(--cond); font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: .5px; }
.nav-hotline .icon { color: var(--red); width: 20px; height: 20px; }
.mobile-panel { display: none; }

/* ==========================================================
   HERO
   ========================================================== */
.hero { position: relative; background: #14181d; color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 42px 42px; z-index: 2; pointer-events: none; }
.hero-slides { position: relative; min-height: 560px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .75s ease, visibility .75s ease; z-index: 1; }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .32; filter: saturate(.8); transform: scale(1.03); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,17,21,.96) 0%, rgba(14,17,21,.86) 48%, rgba(14,17,21,.58) 100%); }
/* Slide 3: wide engine line-up banner — show all three engines without hard edges */
.hero-slide-engines .hero-bg { background-size: 100% auto; background-repeat: no-repeat; background-position: center; opacity: .92; filter: none; }
.hero-slide-engines .hero-overlay { background: linear-gradient(90deg, rgba(14,17,21,.97) 0%, rgba(14,17,21,.9) 36%, rgba(14,17,21,.18) 100%); }
.hero-inner { position: relative; z-index: 3; display: flex; align-items: center; min-height: 560px; padding: 60px 0; }
.hero-content { max-width: 780px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; color: #ff6b60; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px; }
.hero-eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--red); }
.hero-content h1 { color: #fff; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.03; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 22px; }
.hero-content h1 em { color: #ff5a4f; font-style: normal; }
.hero-content p { font-size: 17px; line-height: 1.8; color: #c6ccd5; max-width: 620px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn { padding: 14px 28px; }
.hero-actions .btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 4; }
.hero-controls .container { display: flex; align-items: center; justify-content: space-between; }
.hero-dots { display: flex; gap: 9px; }
.hero-dots button { width: 34px; height: 4px; border: 0; padding: 0; background: rgba(255,255,255,.3); border-radius: 0; transition: background .25s, width .25s; }
.hero-dots button.active { background: var(--red); width: 54px; }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrows button { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; display: grid; place-items: center; }
.hero-arrows button:hover { background: var(--red); border-color: var(--red); }
.hero-arrows .icon { width: 17px; height: 17px; }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--red); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: flex; align-items: center; gap: 16px; padding: 26px 30px; border-right: 1px solid rgba(255,255,255,.22); }
.trust-item:last-child { border-right: 0; }
.trust-item .icon { width: 30px; height: 30px; opacity: .85; }
.trust-item strong { display: block; font-family: var(--cond); font-size: 34px; line-height: 1; letter-spacing: 1px; }
.trust-item span { font-size: 12.5px; letter-spacing: .9px; text-transform: uppercase; opacity: .9; }

/* ==========================================================
   CATEGORIES
   ========================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: all .28s ease; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-media { height: 210px; background: #fff; overflow: hidden; position: relative; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .cat-media img { transform: scale(1.07); }
/* pure-white category imagery: no darkening overlay */
.cat-num { position: absolute; top: 14px; left: 16px; z-index: 2; font-family: var(--cond); font-size: 15px; font-weight: 700; letter-spacing: 1px; color: #fff; background: var(--red); padding: 4px 10px; }
.cat-body { padding: 24px 26px 26px; }
.cat-body h3 { font-size: 24px; text-transform: uppercase; margin-bottom: 9px; }
.cat-body p { font-size: 14px; color: var(--slate); min-height: 44px; margin-bottom: 16px; }
.cat-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.cat-arrow .icon { width: 16px; height: 16px; }

/* ==========================================================
   PRODUCT CARDS
   ========================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: all .28s ease; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: #d8dde3; }
.pc-media { position: relative; display: block; height: 196px; background: #fff; border-bottom: 1px solid var(--line-2); overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .45s ease; }
.product-card:hover .pc-media img { transform: scale(1.06); }
.pc-badge { position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff; font-family: var(--cond); font-size: 12px; font-weight: 700; letter-spacing: 1.2px; padding: 3px 9px; }
.pc-zoom { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; display: grid; place-items: center; background: var(--ink); color: #fff; opacity: 0; transform: translateY(6px); transition: all .25s; }
.product-card:hover .pc-zoom { opacity: 1; transform: none; }
.pc-zoom .icon { width: 16px; height: 16px; }
.pc-body { padding: 18px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.pc-cat { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--red); margin-bottom: 7px; }
.pc-body h3 { font-size: 19px; line-height: 1.25; margin-bottom: 12px; text-transform: none; letter-spacing: 0; }
.pc-body h3 a:hover { color: var(--red); }
.pc-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 5px 0; border-top: 1px dashed var(--line); }
.pc-meta span { color: var(--muted); flex: 0 0 auto; }
.pc-meta strong { color: var(--ink-2); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.pc-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 15px; }
.pc-actions a { flex: 1; text-align: center; padding: 9px 6px; font-size: 12.5px; font-weight: 600; border-radius: 2px; transition: all .2s; }
.pc-view { background: var(--bg-soft); color: var(--ink-2); }
.pc-view:hover { background: var(--ink); color: #fff; }
.pc-inquire { background: var(--red); color: #fff; }
.pc-inquire:hover { background: var(--red-dark); }

.filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -18px 0 36px; }
.tab-btn { padding: 9px 20px; border: 1px solid var(--line); background: #fff; color: var(--slate); font-size: 13.5px; font-weight: 600; border-radius: 2px; transition: all .2s; }
.tab-btn:hover { border-color: var(--red); color: var(--red); }
.tab-btn.active { background: var(--red); border-color: var(--red); color: #fff; }
.center-actions { text-align: center; margin-top: 40px; }

/* ---------- engine models ---------- */
.model-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; }
.model-chip { display: inline-flex; align-items: center; gap: 7px; padding: 11px 18px; border: 1px solid var(--line); background: #fff; font-family: var(--cond); font-size: 18px; font-weight: 700; letter-spacing: .6px; color: var(--ink-2); border-radius: 2px; transition: all .2s; }
.model-chip .icon { width: 13px; height: 13px; color: var(--red); }
.model-chip:hover { background: var(--red); border-color: var(--red); color: #fff; }
.model-chip:hover .icon { color: #fff; }

/* ==========================================================
   ABOUT PREVIEW
   ========================================================== */
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; background: var(--ink); }
.about-media { position: relative; min-height: 480px; background: url("../img/aboutbg.jpg") center/cover no-repeat; }
.about-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,27,33,.15), rgba(23,27,33,.55)); }
.about-media-badge { position: absolute; z-index: 2; left: 32px; bottom: 32px; background: var(--red); color: #fff; padding: 22px 28px; }
.about-media-badge strong { display: block; font-family: var(--cond); font-size: 44px; line-height: 1; }
.about-media-badge span { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; }
.about-content { padding: 70px 70px 70px 64px; color: #c6ccd5; }
.about-content .eyebrow { color: #ff6b60; font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; }
.about-content h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); text-transform: uppercase; margin: 14px 0 10px; }
.about-content .sub { color: #98a1ad; font-size: 15px; margin-bottom: 22px; }
.about-content p { font-size: 15px; line-height: 1.85; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0 30px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px; }
.about-stats strong { display: block; font-family: var(--cond); font-size: 32px; color: #fff; line-height: 1; }
.about-stats span { font-size: 12px; letter-spacing: .8px; text-transform: uppercase; }

/* ---------- why us ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { background: #fff; border: 1px solid var(--line); padding: 30px 28px; border-radius: 3px; position: relative; transition: all .28s; }
.feature-card::before { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0; background: var(--red); transition: width .3s; }
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-card:hover::before { width: 100%; }
.feature-icon { width: 54px; height: 54px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); margin-bottom: 20px; border-radius: 2px; }
.feature-icon .icon { width: 27px; height: 27px; }
.feature-card h3 { font-size: 21px; text-transform: uppercase; margin-bottom: 10px; }
.feature-card p { font-size: 14px; margin: 0; }

/* ---------- applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.app-card { text-align: center; padding: 26px 12px; border: 1px solid var(--line); background: #fff; border-radius: 3px; transition: all .25s; }
.app-card:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-4px); }
.app-card .icon { width: 30px; height: 30px; color: var(--red); margin-bottom: 12px; }
.app-card:hover .icon { color: #fff; }
.app-card span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.app-card:hover span { color: #fff; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; padding: 62px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border: 60px solid rgba(255,255,255,.07); border-radius: 50%; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 2; }
.cta-inner h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); text-transform: uppercase; margin-bottom: 10px; }
.cta-inner p { margin: 0; max-width: 680px; color: rgba(255,255,255,.9); font-size: 16px; }
.cta-inner .btn { background: #fff; color: var(--red); border-color: #fff; }
.cta-inner .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- news cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; transition: all .28s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-thumb { height: 180px; overflow: hidden; background: var(--bg-soft); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.news-meta .type { color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.news-body h3 { font-size: 21px; line-height: 1.3; margin-bottom: 10px; text-transform: none; }
.news-body p { font-size: 14px; margin-bottom: 18px; }
.news-body .link-arrow { margin-top: auto; }

/* ==========================================================
   PAGE HERO / BREADCRUMB
   ========================================================== */
.page-hero { background: var(--ink) url("../img/flash114229.jpg") center/cover no-repeat; position: relative; color: #fff; padding: 62px 0 58px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,22,28,.96), rgba(18,22,28,.78)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4vw, 52px); text-transform: uppercase; margin-bottom: 10px; }
.page-hero p { color: #c2c9d2; font-size: 16px; margin: 0; max-width: 620px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #aab2bd; margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .icon { width: 12px; height: 12px; color: var(--red); }
.breadcrumb .current { color: #fff; }

/* ==========================================================
   CATALOG (products.html)
   ========================================================== */
.catalog-layout { display: grid; grid-template-columns: 262px 1fr; gap: 32px; align-items: start; }
.catalog-sidebar { background: #fff; border: 1px solid var(--line); border-radius: 3px; }
.filter-block { padding: 22px 20px; border-bottom: 1px solid var(--line-2); }
.filter-block:last-child { border-bottom: 0; }
.filter-block h3 { font-size: 17px; text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.filter-block h3 .icon { width: 16px; height: 16px; color: var(--red); }
.filter-list li { margin-bottom: 3px; }
.filter-list a { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; font-size: 13.5px; color: var(--slate); border-radius: 2px; transition: all .18s; }
.filter-list a:hover { background: var(--bg-soft); color: var(--red); }
.filter-list a.active { background: var(--red); color: #fff; font-weight: 600; }
.filter-list a em { font-style: normal; font-size: 11.5px; opacity: .7; }
.model-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.model-filter button { padding: 5px 9px; border: 1px solid var(--line); background: #fff; font-size: 12px; color: var(--slate); border-radius: 2px; }
.model-filter button:hover, .model-filter button.active { background: var(--red); border-color: var(--red); color: #fff; }
.sidebar-cta { background: var(--ink); color: #fff; padding: 24px 22px; }
.sidebar-cta h3 { color: #fff; font-size: 20px; text-transform: uppercase; margin-bottom: 10px; }
.sidebar-cta p { font-size: 13.5px; color: #b6bec9; }
.sidebar-cta .btn { width: 100%; margin-top: 8px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border: 1px solid var(--line); background: var(--bg-soft); margin-bottom: 22px; flex-wrap: wrap; }
.catalog-count { font-size: 13.5px; color: var(--slate); }
.catalog-count strong { color: var(--red); font-family: var(--cond); font-size: 20px; }
.catalog-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.catalog-search { display: flex; align-items: center; height: 38px; border: 1px solid var(--line); background: #fff; border-radius: 2px; overflow: hidden; }
.catalog-search input { border: 0; outline: 0; padding: 0 12px; width: 210px; font-size: 13px; background: transparent; }
.catalog-search button { border: 0; background: transparent; height: 100%; width: 38px; color: var(--slate); }
.catalog-search button:hover { background: var(--red); color: #fff; }
.catalog-select { height: 38px; border: 1px solid var(--line); background: #fff; padding: 0 10px; font-size: 13px; color: var(--slate); border-radius: 2px; outline: none; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.empty-state { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); background: var(--bg-soft); }
.empty-state .icon { width: 34px; height: 34px; color: var(--muted); margin-bottom: 12px; }
.empty-state p { margin-bottom: 16px; }
.load-more-wrap { text-align: center; margin-top: 32px; }

/* ==========================================================
   PRODUCT DETAIL
   ========================================================== */
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.detail-gallery { background: #fff; border: 1px solid var(--line); padding: 22px; }
.detail-main-img { height: 400px; background: #fff; display: grid; place-items: center; }
.detail-main-img img { max-width: 100%; max-height: 400px; width: auto; height: auto; object-fit: contain; }
.detail-thumbs { display: flex; gap: 10px; margin-top: 16px; border-top: 1px solid var(--line-2); padding-top: 16px; }
.detail-thumbs button { width: 74px; height: 70px; border: 1px solid var(--line); background: #fff; padding: 5px; }
.detail-thumbs button.active { border-color: var(--red); }
.detail-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.detail-info .detail-tag { display: inline-block; background: var(--red-soft); color: var(--red); font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; padding: 5px 12px; margin-bottom: 14px; }
.detail-info h1 { font-size: clamp(30px, 3.4vw, 44px); text-transform: uppercase; margin-bottom: 12px; }
.detail-partno { font-family: var(--cond); font-size: 22px; letter-spacing: .5px; color: var(--red); margin-bottom: 20px; }
.detail-partno span { color: var(--muted); font-family: var(--body); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-right: 10px; }
.detail-desc { font-size: 15.5px; line-height: 1.85; margin-bottom: 24px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 26px; }
.spec-table th, .spec-table td { padding: 11px 14px; border: 1px solid var(--line); font-size: 14px; text-align: left; }
.spec-table th { width: 38%; background: var(--bg-soft); font-weight: 600; color: var(--ink-2); }
.spec-table td { color: var(--slate); }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.detail-assurances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.detail-assurances div { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--slate); }
.detail-assurances .icon { width: 20px; height: 20px; color: var(--red); }
.detail-form { background: var(--ink); color: #cbd1da; padding: 32px; margin-top: 34px; }
.detail-form h3 { color: #fff; font-size: 25px; text-transform: uppercase; margin-bottom: 8px; }
.detail-form > p { font-size: 14px; }
.detail-form .form-grid { grid-template-columns: repeat(2, 1fr); }
.detail-form input, .detail-form textarea, .detail-form select { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; }
.detail-form input::placeholder, .detail-form textarea::placeholder { color: #8c96a3; }
.detail-form .btn { width: 100%; }

/* ==========================================================
   FORMS
   ========================================================== */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.form-field input, .form-field textarea, .form-field select { width: 100%; border: 1px solid var(--line); background: #fff; padding: 11px 13px; border-radius: 2px; color: var(--ink); font-size: 14px; outline: none; transition: border-color .2s; }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--red); }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 2px; font-size: 14px; }
.form-status.success, .form-status.error, .form-status.pending { display: flex; gap: 12px; align-items: flex-start; }
.form-status.success { background: #eaf6ee; color: #1d6b39; }
.form-status.error { background: #fdeceb; color: #b0231c; }
.form-status.pending { background: #eef2f7; color: #43506a; }
.form-status > .icon { flex: 0 0 22px; width: 22px; height: 22px; }
.form-status > div { flex: 1; min-width: 0; }
.form-status strong { display: block; font-weight: 700; }
.form-status .form-hint { margin: 8px 0 0; font-size: 13px; line-height: 1.55; }
.form-status a:not(.btn) { color: inherit; text-decoration: underline; }
.form-status .form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
/* Higher specificity than .inquiry-form-wrap .btn, which forces width:100% / margin-top:20px */
.form-status .form-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: auto; margin-top: 0; padding: 9px 14px; font-size: 13px; background: #1d6b39; border-color: #1d6b39; color: #fff; }
.form-status.error .form-actions .btn { background: #b0231c; border-color: #b0231c; }
.form-status .form-actions .btn .icon { flex: 0 0 16px; width: 16px; height: 16px; }
.js-inquiry-form button[type="submit"]:disabled { opacity: .6; cursor: wait; }
.newsletter-note.ok { color: #8fd6a5; }
.newsletter-note.fail { color: #ffb3ae; }
.newsletter-note a { color: inherit; text-decoration: underline; }

/* ==========================================================
   ABOUT PAGE
   ========================================================== */
.about-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
.about-intro-visual { position: relative; }
.about-intro-visual img { width: 100%; height: 420px; object-fit: cover; border-radius: 3px; }
.about-intro-visual::before { content: ""; position: absolute; left: -16px; top: -16px; width: 110px; height: 110px; border-top: 5px solid var(--red); border-left: 5px solid var(--red); }
.about-intro h2 { font-size: clamp(28px, 3.2vw, 40px); text-transform: uppercase; margin-bottom: 18px; }
.about-intro p { font-size: 15.5px; line-height: 1.9; }
.mission-box { background: var(--red); color: #fff; padding: 34px 38px; display: flex; gap: 22px; align-items: flex-start; margin-top: 28px; }
.mission-box .icon { width: 38px; height: 38px; }
.mission-box h3 { color: #fff; font-size: 22px; text-transform: uppercase; margin-bottom: 8px; }
.mission-box p { margin: 0; color: rgba(255,255,255,.92); }
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-box { text-align: center; padding: 34px 16px; border: 1px solid var(--line); background: #fff; }
.stat-box strong { display: block; font-family: var(--cond); font-size: 48px; color: var(--red); line-height: 1; margin-bottom: 8px; }
.stat-box span { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--slate); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { padding: 26px 22px; border-left: 3px solid var(--red); background: var(--bg-soft); }
.value-card .icon { width: 26px; height: 26px; color: var(--red); margin-bottom: 14px; }
.value-card h3 { font-size: 20px; text-transform: uppercase; margin-bottom: 8px; }
.value-card p { font-size: 14px; margin: 0; }

/* ==========================================================
   SERVICE PAGE
   ========================================================== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: #fff; border: 1px solid var(--line); padding: 30px 26px; transition: all .25s; }
.service-card:hover { box-shadow: var(--shadow); border-color: var(--red); }
.service-card .num { font-family: var(--cond); font-size: 15px; color: var(--red); letter-spacing: 1.5px; }
.service-card .icon { width: 32px; height: 32px; color: var(--red); margin: 14px 0 16px; }
.service-card h3 { font-size: 21px; text-transform: uppercase; margin-bottom: 10px; }
.service-card p { font-size: 14px; margin: 0; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 26px; text-align: center; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 30px; right: -14px; width: 28px; border-top: 2px dashed var(--line); }
.step-num { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--cond); font-size: 26px; font-weight: 700; }
.step h3 { font-size: 20px; text-transform: uppercase; margin-bottom: 9px; }
.step p { font-size: 13.5px; margin: 0; }

/* ==========================================================
   NEWS PAGE + MODAL
   ========================================================== */
.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 24px; }
.news-modal.open { display: flex; }
.news-modal-backdrop { position: absolute; inset: 0; background: rgba(12,15,19,.75); }
.news-modal-box { position: relative; z-index: 2; width: min(720px, 100%); max-height: 86vh; overflow-y: auto; background: #fff; padding: 40px 44px; border-top: 4px solid var(--red); }
.news-modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.news-modal-close .icon { width: 17px; height: 17px; }
.news-modal-box h2 { font-size: 32px; margin: 14px 0 20px; }
.news-modal-box p { font-size: 15px; line-height: 1.9; }
.news-modal-box .news-meta { font-size: 13px; }

/* ==========================================================
   CONTACT PAGE
   ========================================================== */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: start; }
.info-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 18px; }
.info-card { background: #fff; border: 1px solid var(--line); padding: 20px; border-radius: 3px; }
.info-card .icon { width: 22px; height: 22px; color: var(--red); margin-bottom: 12px; }
.info-card h4 { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); font-family: var(--body); margin-bottom: 6px; font-weight: 600; }
.info-card p, .info-card a { font-size: 14px; color: var(--ink-2); font-weight: 600; margin: 0; word-break: break-word; }
.info-card a:hover { color: var(--red); }
.contact-note { background: var(--ink); color: #c8cfd8; padding: 26px; }
.contact-note h3 { color: #fff; font-size: 21px; text-transform: uppercase; margin-bottom: 10px; }
.contact-note p { font-size: 14px; margin: 0; }
.inquiry-form-wrap { background: #fff; border: 1px solid var(--line); padding: 34px; box-shadow: var(--shadow); }
.inquiry-form-wrap h2 { font-size: 30px; text-transform: uppercase; margin-bottom: 8px; }
.inquiry-form-wrap > p { font-size: 14px; margin-bottom: 24px; }
.inquiry-form-wrap .btn { width: 100%; margin-top: 20px; }
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); background: #fff; margin-bottom: 12px; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: #fff; border: 0; text-align: left; font-family: var(--cond); font-size: 20px; font-weight: 700; color: var(--ink); }
.faq-q .icon { width: 18px; height: 18px; color: var(--red); transition: transform .25s; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 22px 20px; font-size: 14.5px; color: var(--slate); }
.faq-item.open .faq-a { display: block; }

/* ==========================================================
   FOOTER + FLOATING
   ========================================================== */
.site-footer { background: #11151a; color: #aeb6c0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.15fr 1.5fr; gap: 40px; padding: 66px 0 54px; }
.footer-logo { font-family: var(--cond); font-size: 28px; font-weight: 700; color: #fff; letter-spacing: 1.2px; margin-bottom: 16px; }
.footer-logo em { color: var(--red); font-style: normal; }
.footer-col h4 { color: #fff; font-size: 18px; text-transform: uppercase; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--red); }
.footer-col p { font-size: 13.5px; line-height: 1.85; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { font-size: 13.5px; transition: all .2s; }
.footer-col ul a:hover { color: var(--red); padding-left: 5px; }
.footer-social { display: flex; gap: 9px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); color: #fff; }
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-contact p { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 15px; height: 15px; color: var(--red); margin-top: 4px; }
.footer-contact a:hover { color: var(--red); }
.newsletter { display: flex; margin-top: 16px; }
.newsletter input { flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,.18); border-right: 0; background: rgba(255,255,255,.05); color: #fff; padding: 10px 12px; font-size: 13px; outline: none; }
.newsletter input::placeholder { color: #8d96a2; }
.newsletter button { width: 44px; border: 0; background: var(--red); color: #fff; }
.newsletter button:hover { background: var(--red-dark); }
.newsletter-note { display: block; font-size: 12px; color: #8d96a2; margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 18px 0; font-size: 12.5px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom-right { color: #7d8793; }
#floating-tools { position: fixed; right: 20px; bottom: 76px; z-index: 50; display: flex; flex-direction: column; gap: 8px; }
.float-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: #fff; border: 0; border-radius: 3px; box-shadow: var(--shadow); transition: all .2s; }
.float-btn .icon { width: 20px; height: 20px; }
.float-btn:hover { background: var(--red); transform: translateX(-3px); }
.float-btn.whatsapp { background: #25a75a; }
.float-btn span { display: none; position: absolute; right: 52px; white-space: nowrap; background: var(--ink); color: #fff; padding: 6px 10px; font-size: 12px; border-radius: 2px; }
.float-btn:hover span { display: block; }
.float-btn.to-top { opacity: 0; pointer-events: none; }
.float-btn.to-top.show { opacity: 1; pointer-events: auto; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1150px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .about-content { padding: 54px 46px; }
  .nav-item > a { padding: 0 15px; }
  .nav-item > a::after { left: 15px; right: 15px; }
  .footer-grid { gap: 26px; }
}
@media (max-width: 992px) {
  .header-inner { height: 76px; gap: 16px; }
  .header-search { max-width: 260px; }
  .header-quote { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .main-nav { display: none; }
  .mobile-panel { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: var(--shadow-lg); padding: 16px 24px 24px; border-top: 3px solid var(--red); }
  .mobile-panel.open { display: block; }
  .mobile-panel ul li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-weight: 600; color: var(--ink); text-transform: uppercase; }
  .mobile-panel .btn { width: 100%; margin-top: 18px; }
  .hero-inner { min-height: 500px; }
  .hero-slides { min-height: 500px; }
  .cat-grid, .feature-grid, .service-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-preview { grid-template-columns: 1fr; }
  .about-media { min-height: 300px; }
  .about-content { padding: 50px 40px 56px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
  .sidebar-cta { grid-column: 1 / -1; }
  .detail-layout { gap: 28px; }
  .detail-main-img { height: 320px; }
  .detail-main-img img { max-height: 320px; }
  .about-intro, .contact-layout { grid-template-columns: 1fr; }
  .about-intro-visual img { height: 340px; }
  .values-grid, .stats-band, .process-steps { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .container { width: min(100% - 32px, var(--max)); }
  .section { padding: 60px 0; }
  .section.tight { padding: 48px 0; }
  .topbar { display: none; }
  .header-search { display: none; }
  .brand-text strong { font-size: 23px; }
  .hero-inner { min-height: 480px; padding: 44px 0 70px; }
  .hero-slides { min-height: 480px; }
  .hero-content h1 { font-size: 42px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(14,17,21,.96), rgba(14,17,21,.78)); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding: 20px 18px; border-bottom: 1px solid rgba(255,255,255,.2); }
  .trust-item:nth-child(2n) { border-right: 0; }
  .trust-item:nth-child(3):last-child { grid-column: 1 / -1; justify-content: center; border-bottom: 0; }
  .trust-item strong { font-size: 28px; }
  .product-grid, .catalog-grid, .news-list { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-grid, .feature-grid, .service-grid, .news-grid, .values-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-main-img { height: 300px; }
  .detail-main-img img { max-height: 300px; }
  .catalog-sidebar { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 48px 0 36px; }
  .footer-bottom .container { flex-direction: column; gap: 6px; }
  .about-content { padding: 44px 26px 48px; }
  .inquiry-form-wrap, .detail-form { padding: 24px; }
}
@media (max-width: 520px) {
  .product-grid, .catalog-grid, .news-list, .info-cards, .stats-band, .values-grid, .process-steps { grid-template-columns: 1fr; }
  .product-grid { gap: 16px; }
  .form-grid, .detail-form .form-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 36px; }
  .hero-actions .btn { padding: 12px 20px; }
  .section-head h2 { font-size: 28px; }
  .page-hero { padding: 44px 0 42px; }
  .catalog-toolbar { padding: 12px; }
  .catalog-search input { width: 150px; }
  .detail-assurances { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .news-modal-box { padding: 30px 22px; }
  #floating-tools { right: 12px; bottom: 20px; }
}
