/* ==========================================================================
   Al Mayas - Template 1 "Forge"  (v2, North America)
   Light corporate layout, dark hero and footer, orange from the logo.
   ========================================================================== */

:root {
  --ink: #15171b;
  --text: #33363d;
  --muted: #6b6f78;
  --line: #e4e2dd;
  --line-dark: rgba(255, 255, 255, 0.1);
  --bg: #ffffff;
  --bg-2: #f5f4f1;
  --bg-3: #ecebe7;
  --dark: #121418;
  --dark-2: #1b1e23;
  --orange: #f06a0c;
  --orange-dk: #d35a05;
  --amber: #ffb000;
  --grad: linear-gradient(90deg, #ff5a00, #ff8a00 50%, #ffc000);
  --radius: 4px;
  --container: 1280px;
  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16.5px; line-height: 1.65; color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--head); color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -0.015em; font-weight: 700; }
p { margin: 0; }
::selection { background: var(--orange); color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--mono); }

/* ---------- Type ---------- */
.kicker { display: block; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--orange-dk); margin-bottom: 16px; }
.kicker b { color: var(--muted); font-weight: 500; margin-right: 10px; }
.h2 { font-size: clamp(30px, 3.4vw, 46px); max-width: 720px; }
.lead { font-size: 18px; color: var(--muted); max-width: 600px; margin-top: 18px; }
.section { padding: 110px 0; }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; margin-bottom: 56px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: var(--radius); font-weight: 600; font-size: 15px; line-height: 1; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; border: 1px solid transparent; }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dk); }
.btn-outline { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color .2s, gap .2s; }
.text-link svg { width: 15px; height: 15px; color: var(--orange); }
.text-link:hover { border-color: var(--orange); gap: 12px; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--dark); color: #b9bbc1; font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 24px; }
.topbar-left { display: flex; align-items: center; gap: 10px; }
.topbar-right { display: flex; align-items: center; gap: 26px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; color: var(--amber); margin-right: 7px; vertical-align: -2px; }
.lang a { padding: 0 4px; font-weight: 600; color: #7d8088; }
.lang a.active { color: #fff; }

.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 8px 30px -18px rgba(0,0,0,.35); }
.header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 28px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: stretch; height: 100%; }
.nav > li { display: flex; align-items: center; }
.nav-link { display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 16px; font-weight: 600; font-size: 15px; color: var(--ink); position: relative; white-space: nowrap; }
.nav-link svg { width: 12px; height: 12px; color: var(--muted); transition: transform .25s; }
.nav-link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 3px; background: var(--orange); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav > li:hover .nav-link::after, .nav-link.active::after { transform: scaleX(1); }
.nav > li:hover .nav-link svg { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { white-space: nowrap; display: flex; flex-direction: column; line-height: 1.25; font-size: 13px; color: var(--muted); text-align: right; }
.header-phone b { font-size: 16px; color: var(--ink); font-weight: 600; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); place-items: center; }
.burger svg { width: 20px; height: 20px; }

/* ---------- Mega menus ---------- */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega .container { display: grid; grid-template-columns: repeat(4, 1fr) 1.25fr; gap: 0; }
.mega-col { padding: 34px 26px 34px 0; margin-right: 26px; border-right: 1px solid var(--line); }
.mega-col h4 { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-bottom: 14px; }
.mega-col h4 span { font-family: var(--mono); font-size: 12px; color: var(--orange-dk); font-weight: 500; }
.mega-col li a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 14.5px; color: var(--text); transition: color .15s, padding .2s; }
.mega-col li a small { font-family: var(--mono); font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.mega-col li a:hover { color: var(--orange-dk); padding-left: 4px; }
.mega-feature { background: var(--bg-2); margin-right: -32px; padding: 32px; display: flex; flex-direction: column; }
.mega-feature img { width: 100%; height: 170px; object-fit: contain; margin-bottom: 18px; }
.mega-feature img.cover { object-fit: cover; border-radius: var(--radius); }
.mega-feature h5 { font-size: 17px; margin-bottom: 6px; }
.mega-feature p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 14px 32px 14px 0; margin-right: -32px; display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.mega-foot a { color: var(--orange-dk); font-weight: 600; }
.mega.mega-3 .container { grid-template-columns: repeat(3, 1fr) 1.25fr; }
.m-card { padding: 30px 26px 30px 0; margin-right: 26px; border-right: 1px solid var(--line); display: block; }
.m-card .thumb { aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius); margin-bottom: 16px; background: var(--bg-2); }
.m-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.m-card:hover .thumb img { transform: scale(1.05); }
.m-card h5 { font-size: 16px; margin-bottom: 4px; }
.m-card p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; z-index: -2; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: grayscale(.35) contrast(1.05); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,20,24,.97) 0%, rgba(18,20,24,.88) 45%, rgba(18,20,24,.6) 100%); }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 640px; padding-top: 70px; padding-bottom: 80px; }
.hero .kicker { color: var(--amber); }
.hero .kicker b { color: #8d9098; }
.hero h1 { color: #fff; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -0.025em; max-width: 620px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-sub { font-size: 18.5px; color: #c3c5cb; max-width: 540px; margin-top: 22px; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 28px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line-dark); flex-wrap: wrap; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #d6d7db; }
.hero-points svg { width: 18px; height: 18px; color: var(--amber); flex: none; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; max-width: 640px; margin-left: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.hero-visual .tag { position: absolute; font-family: var(--mono); font-size: 12px; color: #c9cbd0; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero-visual .tag::before { content: ""; width: 24px; height: 1px; background: var(--amber); }
.hero-visual .tag.t1 { left: 0; top: 2%; }
.hero-visual .tag.t2 { right: 0; bottom: 4%; }

/* ---------- Entry strip ---------- */
.entry { border-bottom: 1px solid var(--line); background: #fff; }
.entry .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.entry-item { display: grid; grid-template-columns: 112px 1fr; gap: 22px; padding: 34px 30px 34px 0; border-right: 1px solid var(--line); align-items: start; }
.entry-item + .entry-item { padding-left: 30px; }
.entry-item:last-child { border-right: 0; }
.entry-item .thumb { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.entry-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.entry-item:hover .thumb img { transform: scale(1.06); }
.entry-item h3 { font-size: 21px; display: flex; justify-content: space-between; align-items: center; }
.entry-item h3 svg { width: 18px; height: 18px; color: var(--orange); transition: transform .25s; }
.entry-item:hover h3 svg { transform: translateX(4px); }
.entry-item p { font-size: 14.5px; color: var(--muted); margin: 6px 0 12px; line-height: 1.5; }
.entry-item ul { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; }
.entry-item ul a { color: var(--text); border-bottom: 1px solid var(--line); }
.entry-item ul a:hover { color: var(--orange-dk); border-color: var(--orange); }

/* ==========================================================================
   Pack formats
   ========================================================================== */
.formats { background: var(--bg-2); overflow: hidden; }
.formats-stage { margin: 0 0 40px; }
.formats-stage img { width: 100%; height: auto; }
.format-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-size: 15px; }
.format-table th { text-align: left; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 14px 20px; border-bottom: 1px solid var(--line); background: #fbfbfa; }
.format-table td { padding: 15px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.format-table tr:last-child td { border-bottom: 0; }
.format-table tbody tr:hover td { background: #fcfaf7; }
.format-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.format-table .sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 10px; }
.format-table .mono { font-size: 14px; color: var(--text); white-space: nowrap; }
.format-table .mono small { color: var(--muted); font-size: 12.5px; }
.format-note { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; font-size: 14.5px; color: var(--muted); flex-wrap: wrap; }

/* ==========================================================================
   Catalog
   ========================================================================== */
.catalog-wrap { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; }
.cat-nav { position: sticky; top: 110px; border-top: 2px solid var(--ink); }
.cat-nav button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16px; color: var(--muted); text-align: left; transition: color .2s, padding .2s; }
.cat-nav button span { font-family: var(--mono); font-size: 12.5px; font-weight: 500; }
.cat-nav button:hover { color: var(--ink); }
.cat-nav button.active { color: var(--ink); padding-left: 12px; box-shadow: inset 3px 0 0 var(--orange); }
.cat-help { margin-top: 26px; padding: 22px; background: var(--bg-2); border-radius: var(--radius); font-size: 14.5px; }
.cat-help b { display: block; color: var(--ink); font-family: var(--head); font-size: 16px; margin-bottom: 6px; }
.cat-help p { color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .3s; overflow: hidden; }
.product:hover { border-color: #cfccc5; box-shadow: 0 24px 40px -28px rgba(0,0,0,.35); }
.product .img { aspect-ratio: 4/3; background: var(--bg-2); position: relative; overflow: hidden; }
.product .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product:hover .img img { transform: scale(1.05); }
.product .badge { position: absolute; left: 12px; top: 12px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 3px; }
.product .badge.rebuilt { background: var(--ink); color: #fff; }
.product .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product .model { font-family: var(--mono); font-size: 12.5px; color: var(--orange-dk); }
.product h3 { font-size: 19px; margin: 4px 0 14px; }
.product dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 18px; border-top: 1px solid var(--line); }
.product dl div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.product dl div:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 10px; }
.product dl div:nth-child(even) { padding-left: 14px; }
.product dt { font-size: 12px; color: var(--muted); }
.product dd { margin: 0; font-family: var(--mono); font-size: 14px; color: var(--ink); font-weight: 500; }
.product .actions { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.product .actions a { font-size: 14.5px; font-weight: 600; }
.product .actions a:first-child { color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.product .actions a:first-child svg { width: 14px; height: 14px; color: var(--orange); }
.product .actions a:last-child { color: var(--muted); font-weight: 500; font-size: 14px; }
.product .actions a:last-child:hover { color: var(--orange-dk); }
.product.hide { display: none; }

/* ==========================================================================
   Line in action (dark)
   ========================================================================== */
.action { background: var(--dark); color: #c3c5cb; }
.action h2 { color: #fff; }
.action .lead { color: #9fa2a9; }
.action .kicker { color: var(--amber); }
.action-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: start; }
.main-video { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16/9; margin: 0; }
.main-video video { width: 100%; height: 100%; object-fit: cover; }
.main-video figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); color: #fff; }
.main-video figcaption b { display: block; font-family: var(--head); font-size: 20px; }
.main-video figcaption span { font-family: var(--mono); font-size: 12.5px; color: #c3c5cb; }
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.reel { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 9/16; margin: 0; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel span { position: absolute; left: 10px; top: 10px; right: 10px; font-size: 12.5px; color: #fff; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.action-foot { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line-dark); }
.action-foot div { padding: 26px 24px 0 0; }
.action-foot b { display: block; font-family: var(--head); font-size: 34px; color: #fff; font-weight: 700; line-height: 1.1; }
.action-foot span { font-size: 14.5px; color: #9fa2a9; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.svc { padding: 36px 36px 10px 0; border-right: 1px solid var(--line); }
.svc + .svc { padding-left: 36px; }
.svc:last-child { border-right: 0; }
.svc .ph { aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; }
.svc .ph img { width: 100%; height: 100%; object-fit: cover; }
.svc .num { font-family: var(--mono); font-size: 13px; color: var(--orange-dk); }
.svc h3 { font-size: 23px; margin: 6px 0 12px; }
.svc > p { color: var(--muted); margin-bottom: 18px; }
.svc ul { margin-bottom: 24px; }
.svc li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.svc li svg { width: 16px; height: 16px; color: var(--orange); flex: none; margin-top: 4px; }

/* ==========================================================================
   Spare parts
   ========================================================================== */
.parts { background: var(--bg-2); }
.parts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.parts-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.parts-photo img { width: 100%; height: 100%; object-fit: cover; }
.parts-photo .stock { position: absolute; left: 20px; right: 20px; bottom: 20px; background: #fff; border-radius: var(--radius); padding: 18px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); }
.stock b { display: block; font-family: var(--head); font-size: 22px; color: var(--ink); }
.stock span { font-size: 12.5px; color: var(--muted); line-height: 1.3; display: block; }
.platforms { margin: 32px 0; border-top: 2px solid var(--ink); }
.platforms li { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.platforms li b { color: var(--ink); font-weight: 600; }
.platforms li span { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.part-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.part-form h4 { font-size: 18px; margin-bottom: 4px; }
.part-form > p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d7d4ce; border-radius: var(--radius); padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,106,12,.15); }
.field textarea { min-height: 110px; resize: vertical; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }

/* ==========================================================================
   Process
   ========================================================================== */
.process-row { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--ink); }
.step { padding: 26px 22px 0 0; position: relative; }
.step::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--orange); border-radius: 50%; }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.step h4 { font-size: 18px; margin: 6px 0 8px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.step .t { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--orange-dk); background: #fff4ea; padding: 3px 8px; border-radius: 3px; }

/* ==========================================================================
   North America
   ========================================================================== */
.na { background: var(--bg-2); }
.na-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.na-list { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.na-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.na-list b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
.na-list span { font-size: 14.5px; color: var(--muted); line-height: 1.5; display: block; }
.na-card { background: var(--dark); color: #c3c5cb; border-radius: var(--radius); overflow: hidden; }
.na-card .route { padding: 30px 30px 10px; }
.route-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.route-row:last-child { border-bottom: 0; }
.route-row .city b { display: block; color: #fff; font-family: var(--head); font-size: 18px; }
.route-row .city small { font-family: var(--mono); font-size: 12px; color: #8d9098; }
.route-row .city.r { text-align: right; }
.route-row .lane { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--amber); white-space: nowrap; }
.route-row .lane::before, .route-row .lane::after { content: ""; width: 34px; height: 1px; background: repeating-linear-gradient(90deg, #ffb000 0 4px, transparent 4px 8px); }
.na-card .rows { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.na-card .rows div { padding: 20px 22px; border-right: 1px solid var(--line-dark); }
.na-card .rows div:last-child { border-right: 0; }
.na-card .rows small { font-family: var(--mono); font-size: 11.5px; color: #8d9098; display: block; }
.na-card .rows b { color: #fff; font-size: 16px; font-family: var(--head); }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.about-media { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 560px; }
.about-media figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.about-media figure:first-child { grid-row: span 2; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.92); font-size: 12px; padding: 4px 8px; border-radius: 3px; color: var(--ink); font-family: var(--mono); }
.about-text p + p { margin-top: 16px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; border-top: 1px solid var(--line); }
.facts div { padding: 20px 16px 0 0; }
.facts b { display: block; font-family: var(--head); font-size: 36px; color: var(--ink); line-height: 1.1; }
.facts span { font-size: 14px; color: var(--muted); }

/* ==========================================================================
   News
   ========================================================================== */
.news { padding-top: 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post .ph { aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; background: var(--bg-2); }
.post .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .ph img { transform: scale(1.04); }
.post .meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.post .meta b { color: var(--orange-dk); font-weight: 500; }
.post h3 { font-size: 20px; margin: 8px 0 8px; transition: color .2s; }
.post:hover h3 { color: var(--orange-dk); }
.post p { font-size: 15px; color: var(--muted); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--dark); color: #c3c5cb; }
.contact h2 { color: #fff; }
.contact .lead { color: #9fa2a9; }
.contact .kicker { color: var(--amber); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.offices { margin-top: 36px; }
.office { padding: 20px 0; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.office small { font-family: var(--mono); font-size: 12px; color: var(--amber); }
.office b { color: #fff; display: block; font-family: var(--head); font-size: 17px; }
.office span, .office a { font-size: 15px; color: #b9bbc1; display: block; }
.office a:hover { color: #fff; }
.contact-form { background: #fff; border-radius: var(--radius); padding: 34px; color: var(--text); }
.contact-form h3 { font-size: 22px; margin-bottom: 18px; }
.contact-form .form-row { margin-bottom: 14px; }
.contact-form .field.full { grid-column: 1 / -1; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #0d0f12; color: #9fa2a9; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding: 70px 0 56px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 320px; font-size: 14.5px; }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border: 1px solid var(--line-dark); border-radius: var(--radius); display: grid; place-items: center; transition: .2s; }
.socials a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.socials svg { width: 16px; height: 16px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; }
.footer li a:hover { color: #fff; }
.footer .small { margin-top: 18px; font-family: var(--mono); font-size: 12px; color: #6f727a; line-height: 1.6; }
.footer-bottom { border-top: 1px solid var(--line-dark); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; min-height: 64px; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- misc ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 24px -10px rgba(0,0,0,.5); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .3s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(400px, 100%); background: #fff; transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; overflow-y: auto; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head img { height: 34px; width: auto; }
.m-nav > li { border-bottom: 1px solid var(--line); }
.m-nav > li > a, .m-nav > li > button { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 16px 20px; font-weight: 600; font-size: 16px; color: var(--ink); text-align: left; }
.m-nav button svg { width: 14px; height: 14px; transition: transform .3s; }
.m-nav li.open > button svg { transform: rotate(180deg); }
.m-sub { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); background: var(--bg-2); }
.m-sub h6 { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--orange-dk); margin: 14px 20px 4px; }
.m-sub a { display: block; padding: 8px 20px 8px 30px; font-size: 15px; color: var(--text); }
.drawer-foot { margin-top: auto; padding: 20px; display: grid; gap: 10px; }
.drawer-foot .btn { justify-content: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .nav-link { padding: 0 11px; font-size: 14.5px; }
  .header-phone { display: none; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: grid; }
  .hero .container { grid-template-columns: 1fr; min-height: 0; padding-bottom: 40px; }
  .hero-visual img { width: 100%; margin: 0; }
  .entry .container { grid-template-columns: 1fr; }
  .entry-item, .entry-item + .entry-item { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .entry-item:last-child { border-bottom: 0; }
  .catalog-wrap { grid-template-columns: 1fr; gap: 28px; }
  .cat-nav { position: static; display: flex; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--line); }
  .cat-nav button { width: auto; padding: 12px 16px; border-bottom: 2px solid transparent; white-space: nowrap; gap: 8px; }
  .cat-nav button.active { padding-left: 16px; box-shadow: none; border-bottom-color: var(--orange); }
  .cat-help { display: none; }
  .action-grid, .parts-grid, .na-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .services-grid { grid-template-columns: 1fr; }
  .svc, .svc + .svc { padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-row { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .action-foot { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .container { padding: 0 16px; }
  .section { padding: 76px 0; }
  .topbar .container { justify-content: center; }
  .topbar-left { display: none; }
  .header .container { height: 70px; }
  .brand img { height: 34px; }
  .hero .container { padding-top: 48px; }
  .hero-sub { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero-points { gap: 12px; flex-direction: column; }
  .hero-visual .tag { display: none; }
  .entry-item { grid-template-columns: 84px 1fr; gap: 16px; }
  .format-wrap { overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
  .format-table { min-width: 640px; }
  .products { grid-template-columns: 1fr; }
  .reels { gap: 8px; }
  .action-foot b { font-size: 26px; }
  .parts-photo .stock { padding: 14px; }
  .stock b { font-size: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr; }
  .na-list { grid-template-columns: 1fr; }
  .na-card .route { padding: 20px 18px 6px; }
  .route-row .lane::before, .route-row .lane::after { width: 14px; }
  .na-card .rows { grid-template-columns: 1fr; }
  .na-card .rows div { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .about-media { height: 420px; }
  .facts b { font-size: 28px; }
  .news-grid { grid-template-columns: 1fr; }
  .office { grid-template-columns: 1fr; gap: 4px; }
  .contact-form { padding: 22px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom .container { flex-direction: column; justify-content: center; padding: 18px 16px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* mobile: top bar + format table as cards */
@media (max-width: 680px) {
  .topbar .hours { display: none; }
  .format-wrap { overflow: visible; margin: 0; padding: 0; }
  .format-table { min-width: 0; border: 0; background: none; }
  .format-table thead { display: none; }
  .format-table tbody, .format-table tr, .format-table td { display: block; }
  .format-table tr { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; padding: 14px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .format-table td { padding: 0; border: 0; white-space: normal !important; font-size: 14px; }
  .format-table td:first-child { grid-column: 1 / -1; font-size: 16px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
  .format-table td[data-l]::before { content: attr(data-l); display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; }
  .format-table td[data-l="Stick"], .format-table td[data-l="Runs on"] { grid-column: 1 / -1; }
  .format-table tbody tr:hover td { background: none; }
}
.hero .container > * { min-width: 0; }
@media (max-width: 1024px) { .hero-visual img { max-width: 560px; margin: 0 auto; } }
@media (max-width: 680px) {
  .route-row { grid-template-columns: 1fr 1fr; }
  .route-row .lane { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
  .route-row .city b { font-size: 16px; }
}
.hero-visual img, .formats-stage img { height: auto; }
