/* Bachan Industries — site styles. No external fonts or frameworks, for speed. */
:root {
  --ink: #14181d;
  --ink-2: #3a424c;
  --muted: #5d6773;
  --line: #dde2e7;
  --bg: #ffffff;
  --bg-alt: #f3f5f7;
  --steel: #171c1e;
  --steel-2: #242b2e;
  --accent: #e2141b;      /* Bachan red (from logo) */
  --accent-ink: #b30f15;  /* darker red for text on white */
  --ok: #1f7a4a;
  --radius: 10px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 20px rgba(0,0,0,.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Top bar + header */
.topbar { background: var(--steel); color: #c9d1da; font-size: .88rem; }
.topbar .wrap { display: flex; gap: 18px; justify-content: space-between; align-items: center; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #ff6b70; }
.topbar .tb-links { display: flex; gap: 18px; flex-wrap: wrap; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 44px; width: auto; }
.brand-tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-left: 2px solid var(--line); padding-left: 12px; line-height: 1.25; }
@media (max-width: 560px) { .brand img { height: 34px; } .brand-tag { display: none; } }
.brand-mark { width: 40px; height: 40px; border-radius: 8px; background: var(--steel); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.brand-mark span { color: var(--accent); }
.brand-name { font-weight: 800; font-size: 1.1rem; line-height: 1.1; }
.brand-name small { display: block; font-weight: 500; font-size: .74rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-ink); background: var(--bg-alt); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; font-weight: 600; cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px 20px 16px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #fff !important; padding: 12px 20px; border-radius: 8px; font-weight: 700; text-decoration: none; border: 2px solid var(--accent); cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-line { background: transparent; color: var(--accent-ink) !important; }
.btn-line:hover { background: var(--accent); color: #fff !important; }
.btn-wa { background: #1f9d55; border-color: #1f9d55; }
.btn-wa:hover { background: #17803f; border-color: #17803f; }

/* Hero */
.hero { background: linear-gradient(120deg, rgba(20,24,29,.94) 0%, rgba(20,24,29,.78) 55%, rgba(20,24,29,.45) 100%), var(--hero-img, none) center/cover no-repeat, var(--steel); color: #fff; }
.hero .wrap { padding-top: 88px; padding-bottom: 88px; }
.hero .eyebrow { color: #ff6b70; }
.hero p.lead { font-size: 1.18rem; color: #dbe2e9; max-width: 640px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-facts { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-facts div { font-size: .92rem; color: #c9d1da; }
.hero-facts strong { display: block; color: #fff; font-size: 1.5rem; }

.page-hero { background: var(--steel); color: #fff; }
.page-hero .wrap { padding-top: 48px; padding-bottom: 44px; }
.page-hero p { color: #c9d1da; max-width: 760px; font-size: 1.08rem; margin: 0; }
.crumbs { font-size: .86rem; color: #9aa6b2; margin-bottom: 10px; }
.crumbs a { color: #c9d1da; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #6c7884; }

.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 700; color: var(--accent-ink); margin-bottom: 10px; }

/* Sections */
section { padding: 64px 0; }
.alt { background: var(--bg-alt); }
.dark { background: var(--steel); color: #fff; }
.dark p { color: #c9d1da; }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head p { color: var(--muted); }
.dark .section-head p { color: #c9d1da; }

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } section { padding: 48px 0; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card .media { aspect-ratio: 4/3; background: #e9edf1; overflow: hidden; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .media img { transform: scale(1.03); }
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card .body p { color: var(--muted); font-size: .96rem; }
.card .body .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent-ink); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); margin-bottom: 6px; }

.feature { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature h3 { font-size: 1.08rem; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }
.feature .ico { width: 40px; height: 40px; border-radius: 8px; background: #ffe9ea; color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.dark .feature { background: var(--steel-2); border-color: #333e49; }
.dark .feature p { color: #b5c0cb; }
.dark .feature .ico { background: rgba(226,20,27,.2); color: #ff6b70; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

ul.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
ul.ticks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
ul.ticks li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 12px; height: 7px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }

/* Product page */
.product-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .product-top { grid-template-columns: 1fr; gap: 28px; } }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: #e9edf1; aspect-ratio: 4/3; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.thumbs button { padding: 0; border: 2px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 1; }
.thumbs button[aria-current="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.keyfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0 24px; }
.keyfacts div { background: var(--bg-alt); border-radius: 8px; padding: 10px 14px; font-size: .9rem; color: var(--muted); }
.keyfacts strong { display: block; color: var(--ink); font-size: 1.02rem; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 1.5em; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; min-width: 520px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--steel); color: #fff; font-weight: 700; }
tbody th { background: var(--bg-alt); font-weight: 600; width: 38%; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.note { background: #fff3f3; border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 0 8px 8px 0; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--accent); color: #fff; padding: 44px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-size: 1.6rem; }
.cta-band p { margin: 4px 0 0; color: #ffe9ea; }
.cta-band .btn { background: #fff; color: var(--accent-ink) !important; border-color: #fff; }
.cta-band .btn:hover { background: var(--steel); color: #fff !important; border-color: var(--steel); }
.cta-band .btn-ghost { background: transparent; color: #fff !important; border-color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list .k { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
input, select, textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #b9c2cb; border-radius: 8px; background: #fff; margin-bottom: 14px; }
textarea { min-height: 130px; resize: vertical; }
.map { border: 0; width: 100%; height: 360px; border-radius: var(--radius); }
.hp { position: absolute; left: -5000px; }

/* Gallery */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.photo-grid figure { margin: 0; border-radius: 8px; overflow: hidden; background: #e9edf1; }
.photo-grid img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.photo-grid figcaption { font-size: .85rem; padding: 8px 10px; color: var(--muted); background: #fff; }

.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* FAQ */
details { border: 1px solid var(--line); border-radius: 8px; padding: 0 18px; margin-bottom: 10px; background: #fff; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
details p { color: var(--ink-2); }

/* Footer */
.site-footer { background: #0f1317; color: #b5c0cb; padding: 56px 0 24px; font-size: .95rem; }
.site-footer a { color: #e6ebf0; text-decoration: none; }
.site-footer a:hover { color: #ff6b70; }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-bottom { border-top: 1px solid #263039; margin-top: 40px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .86rem; color: #8b97a3; }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #1f9d55; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 60; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

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

/* Trademarks */
.tm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .tm-grid { grid-template-columns: repeat(2, 1fr); } }
.tm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); display: block; }
.tm-card img { width: 100%; aspect-ratio: 480/678; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.tm-card div { padding: 12px 14px; font-size: .9rem; }
.tm-card strong { display: block; font-size: 1rem; }
.tm-card span { color: var(--muted); }
.tm-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: .88rem; color: #fff; text-decoration: none; }
.tm-badge img { width: 30px; height: 30px; border-radius: 50%; }
.tm-strip { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.tm-strip .round { width: 120px; height: 120px; }
.foot-logo { height: 40px; width: auto; margin-bottom: 14px; }
.split > *, .product-top > *, .grid > * { min-width: 0; }
.split img, .hero img { width: 100%; }
.hero .split { grid-template-columns: 1.15fr 1fr; }
.hero-media { background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.hero .tm-badge img { width: 30px; height: 30px; }
.area-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.area-links a { color: #fff; text-decoration: none; border: 1px solid #3a4448; border-radius: 999px; padding: 6px 14px; font-size: .92rem; }
.area-links a:hover { border-color: var(--accent); color: #ff6b70; }
.chips { margin-top: 28px; }
.chips .chips-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.chips ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.chips li { font-size: .85rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--ink-2); }
.pat-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #d0121b; font-weight: 800; font-size: .95rem; }
.client-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.client-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-weight: 700; font-size: 1.02rem; }
.client-list li:last-child { font-weight: 400; color: var(--muted); }
