/* Wahab Truck Trading – public website */

/* ---------- Fonts (self-hosted: no requests to Google) ---------- */
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-700.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --navy-950: #081428;
  --navy-900: #0c1d3a;
  --navy-800: #13294f;
  --navy-700: #1c3a6e;
  --blue-600: #3456c4;
  --orange-500: #f28c28;
  --orange-600: #d96c0c;
  --orange-700: #b85a09;
  --orange-50: #fdf0e4;
  --ink: #0f1d33;
  --text: #3b475c;
  --muted: #5f6b7f;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f3f5f9;
  --green: #1d7a46;
  --red: #b42318;
  --radius: 12px;
  --shadow: 0 12px 32px rgba(12, 29, 58, 0.10);
  --container: 1240px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.2; font-weight: 700; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; border-radius: 4px; }
mark { background: #fff3c4; padding: 0 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 8px 14px; background: #fff; color: var(--ink); border-radius: 6px; }
.skip-link:focus { top: 12px; }

.eyebrow { margin-bottom: 8px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange-700); }
.section-title { font-size: clamp(1.625rem, 3vw, 2.25rem); }
.sec-title { font-size: 1.5rem; margin-bottom: 18px; }
.count { color: var(--muted); font-weight: 500; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px; border-radius: 8px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.2; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn .icon:last-child:not(:first-child) { transition: transform .2s; }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn-primary { background: var(--orange-600); color: #fff; font-size: 1.1875rem; }
.btn-primary:hover { background: #bf5d08; }
.btn-outline { color: var(--navy-900); border-color: #c5cfdf; background: #fff; font-weight: 600; }
.btn-outline:hover { border-color: var(--navy-900); }
.btn-whatsapp:hover { border-color: #1d7a46; color: #1d7a46; }
.text-link, .cat-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue-600); }
.text-link .icon, .cat-link .icon { transition: transform .2s; }
.text-link:hover .icon, .cat-link:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-900); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.brand-logo { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; }
.brand-name {
  display: flex; flex-direction: column; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 1.625rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1;
}
.brand-name small { margin-top: 4px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.3em; color: #a9b7d3; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { position: relative; padding: 8px 0; font-size: 0.9688rem; font-weight: 500; color: #d6deec; white-space: nowrap; transition: color .2s; }
.main-nav a:hover, .main-nav a.is-active { color: #fff; }
.main-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--orange-500); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; }
.lang-switch a { padding: 4px 10px; border-radius: 999px; color: #d6deec; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; }
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="true"] { background: #fff; color: var(--navy-900); }
.menu-toggle { display: none; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 8px; background: transparent; color: #fff; }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.site-header.nav-open .icon-open { display: none; }
.site-header.nav-open .icon-close { display: block; }

/* ---------- Banner (home) ---------- */
/* The banner image sits centred; the band around it repeats the image's own blue-to-white gradient. */
.banner {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #67a7d2 0%, #69a9d2 30%, #7cb4d5 40%, #94c3e1 50%, #aed4eb 60%, #cde4f2 70%, #e7f0f7 80%, #f7fbfe 90%, #fefefe 100%);
}
.banner-img {
  width: min(100%, 1180px); margin: 0 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.banner-text { position: absolute; top: 34px; left: 0; right: 0; }
.banner h1 { font-size: 1.875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-900); }
.banner-text p { margin-top: 2px; font-size: 1.0625rem; font-weight: 500; color: var(--navy-700); }

/* ---------- Card grid ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

/* ---------- Category cards ---------- */
.categories { position: relative; z-index: 2; margin-top: -64px; }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange-600); border-radius: 10px; box-shadow: var(--shadow); }
.cat-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 50%; background: var(--orange-50); color: var(--orange-600); }
.cat-icon .icon { width: 24px; height: 24px; }
.cat-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.cat-body h2 { font-size: 1.375rem; margin-bottom: 14px; }
.cat-body h2 a:hover { color: var(--orange-700); }
.cat-list { display: grid; gap: 4px; margin-bottom: 22px; }
.cat-list a { display: flex; align-items: flex-start; gap: 10px; padding: 2px 0; color: var(--text); transition: color .2s; }
.cat-list a::before { content: ""; flex: none; margin-top: 0.6em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--orange-600); }
.cat-list a:hover { color: var(--orange-700); }
.cat-link { display: block; margin-top: auto; }
.cat-link .icon { display: inline-block; margin-left: 6px; vertical-align: -3px; }
.cat-link .count { color: var(--muted); font-weight: 500; }

/* ---------- Offer cards ---------- */
.offers { padding: 80px 0; margin-top: 80px; background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.offer-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .25s, transform .25s; }
.offer-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.offer-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.offer-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.offer-card:hover .offer-media img { transform: scale(1.04); }
.no-photo { display: grid; place-items: center; height: 100%; color: #b8c2d3; }
.no-photo .icon { width: 56px; height: 56px; stroke-width: 1.4; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 4px 10px; border-radius: 6px; background: var(--orange-600); color: #fff; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.badge-dark { background: var(--navy-900); }
.offer-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.offer-type { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.offer-body h3 { margin-top: 4px; font-size: 1.3125rem; }
.offer-body h3 a:hover { color: var(--orange-700); }
.specs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 18px; color: var(--muted); font-size: 0.9688rem; }
.specs li { display: inline-flex; align-items: center; }
.specs .icon { margin-right: 6px; color: var(--blue-600); }
.offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.offer-foot .btn { padding: 8px 14px; font-size: 0.9375rem; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price strong { font-size: 1.375rem; color: var(--ink); }
.price strong.on-request { font-size: 1.0625rem; }
.price small { font-size: 0.875rem; color: var(--muted); }

/* ---------- Brand band (home) ---------- */
.brands { padding: 52px 0 4px; }
.brands-title { margin-bottom: 16px; text-align: center; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.brand-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.brand-track { display: flex; width: max-content; animation: brand-scroll 60s linear infinite; }
.brand-marquee:hover .brand-track { animation-play-state: paused; }
.brand-set { display: flex; align-items: center; }
.brand-set li { display: flex; align-items: center; justify-content: center; height: 56px; padding: 0 38px; white-space: nowrap; }
/* Logos as calm grey silhouettes; the original colours show on hover */
.brand-set img { height: 40px; width: auto; max-width: 180px; object-fit: contain; filter: brightness(0) opacity(.42); transition: filter .25s; }
.brand-set li.is-boxed img { height: 46px; filter: grayscale(1) opacity(.5); }
.brand-set li:hover img { filter: none; }
.brand-text { font-size: 1.625rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(0, 0, 0, .42); }
.brands-note { margin-top: 8px; text-align: center; font-size: 0.8125rem; color: var(--muted); }
@keyframes brand-scroll { to { transform: translateX(-50%); } }

/* ---------- Why us ---------- */
.why { padding: 80px 0 88px; }
.why .section-head { margin-bottom: 44px; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.why-item { display: flex; gap: 16px; }
.why-icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: #eef2fb; color: var(--blue-600); }
.why-icon .icon { width: 26px; height: 26px; }
.why-item h3 { font-size: 1.1875rem; margin: 4px 0 6px; }
.why-item p { font-size: 0.9688rem; color: var(--muted); }

/* ---------- Inner page head ---------- */
.page-head { padding: 36px 0 32px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.875rem, 3.5vw, 2.5rem); }
.page-sub { margin-top: 4px; color: var(--muted); }
.page-lead { margin-top: 12px; max-width: 760px; font-size: 1.1875rem; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 0.9375rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb .icon { width: 14px; height: 14px; color: #a3adbd; }

/* ---------- Stock list ---------- */
.stock { padding-top: 24px; padding-bottom: 80px; }
.tabs { display: flex; gap: 28px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 12px 0; border-bottom: 3px solid transparent; margin-bottom: -1px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a.is-active { color: var(--ink); border-color: var(--orange-600); }
.tabs .count { font-size: 0.875rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips a { padding: 5px 12px; border: 1px solid #d5dce8; border-radius: 999px; background: #fff; font-size: 0.9375rem; color: var(--text); }
.chips a:hover { border-color: var(--navy-900); color: var(--ink); }
.chips a.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chips a.is-active .count { color: #b9c5db; }
.chips a.is-empty { color: #8a94a6; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 20px 0 28px; }
.search-field { position: relative; flex: 1 1 280px; }
.search-field .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-field input { width: 100%; padding: 11px 14px 11px 40px; border: 1px solid #c5cfdf; border-radius: 8px; background: #fff; }
.sort-field { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9375rem; }
.sort-field select { padding: 10px 12px; border: 1px solid #c5cfdf; border-radius: 8px; background: #fff; color: var(--ink); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 40px; color: var(--muted); }
.empty { padding: 48px 24px; text-align: center; background: var(--bg-soft); border-radius: var(--radius); }
.empty p + p { margin-top: 6px; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px !important; }
.empty-page { padding: 72px 24px 96px; text-align: center; }
.empty-page h1 { font-size: 2rem; margin-bottom: 10px; }

/* ---------- Vehicle detail (data sheet) ---------- */
.vehicle { padding-top: 24px; padding-bottom: 80px; }
.sheet { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.gallery-main { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-empty { display: grid; place-items: center; color: #b8c2d3; cursor: default; }
.gallery-empty .icon { width: 72px; height: 72px; stroke-width: 1.2; }
.gallery-count, .gallery-zoom { position: absolute; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 6px; background: rgba(8, 20, 40, 0.75); color: #fff; font-size: 0.875rem; font-weight: 600; }
.gallery-count { left: 12px; }
.gallery-zoom { right: 12px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; opacity: .8; transition: opacity .15s, border-color .15s; }
.thumb:hover { opacity: 1; }
.thumb.is-active { border-color: var(--orange-600); opacity: 1; }
.thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sheet-type { display: flex; justify-content: space-between; gap: 12px; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sheet-type span { letter-spacing: 0.02em; text-transform: none; font-weight: 500; }
.sheet-info h1 { margin-top: 4px; font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 600; }
.spec { margin-top: 20px; border-top: 2px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); }
.spec dd { color: var(--ink); font-weight: 500; }
.spec .price-row { padding: 14px 0; border-bottom: 2px solid var(--ink); align-items: baseline; }
.spec .price-row dd { font-size: 1.75rem; font-weight: 700; }
.spec .price-row small { margin-left: 6px; font-size: 0.9375rem; font-weight: 500; color: var(--muted); }
.spec .on-request { font-size: 1.25rem; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sheet-actions .btn-primary { flex: 1 1 100%; }
.sheet-actions .btn-outline { flex: 1 1 0; }
.sheet-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 0.9375rem; color: var(--muted); }
.sheet-note .icon { color: var(--blue-600); }
.sheet-section { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose { max-width: 820px; }
.prose p + p, .prose p + h2, .prose ul + h2 { margin-top: 16px; }
.prose h2 { margin-bottom: 8px; font-size: 1.25rem; }
.inquiry-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; }
.inquiry-intro { font-size: 1.125rem; }
.inquiry-vehicle { margin-top: 16px; padding: 16px; border-radius: var(--radius); background: var(--bg-soft); color: var(--muted); }
.inquiry-vehicle strong { color: var(--ink); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; background: rgba(5, 12, 26, 0.94); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: calc(100vw - 140px); max-height: calc(100vh - 100px); object-fit: contain; user-select: none; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox button .icon { width: 26px; height: 26px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #c9d2e3; font-size: 0.9375rem; }
body.lb-open { overflow: hidden; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 4px 16px rgba(12, 29, 58, 0.05); }
.form fieldset { display: grid; gap: 16px; margin: 0; padding: 0; border: 0; }
.form fieldset + fieldset { margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.form legend { margin-bottom: 12px; padding: 0; font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.form label { display: grid; gap: 6px; }
.form label > span, .file-label { font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.form em { font-style: normal; font-weight: 400; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="search"], .form textarea, .form select {
  width: 100%; padding: 11px 14px; border: 1px solid #c5cfdf; border-radius: 8px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(52, 86, 196, 0.15); }
.form textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-privacy { font-size: 0.875rem; color: var(--muted); }
.form-privacy a, .form-alt a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }
.form .btn-primary { justify-self: start; }
.form-alt { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; color: var(--muted); }
.file-field { display: grid; gap: 6px; }
.file-drop { position: relative; display: flex !important; align-items: center; gap: 12px; padding: 18px; border: 2px dashed #c5cfdf; border-radius: var(--radius); background: var(--bg-soft); color: var(--muted); cursor: pointer; }
.file-drop:hover, .file-drop.is-dragover { border-color: var(--blue-600); color: var(--ink); }
.file-drop .icon { width: 28px; height: 28px; color: var(--blue-600); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-previews { display: flex; flex-wrap: wrap; gap: 8px; }
.file-previews img { width: 88px; height: 66px; object-fit: cover; border-radius: 6px; }

.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius); }
.notice .icon { width: 24px; height: 24px; margin-top: 1px; }
.notice ul { margin-top: 4px; padding-left: 18px; list-style: disc; }
.notice-ok { background: #e8f5ee; color: #14532d; }
.notice-ok .icon { color: var(--green); }
.notice-error { background: #fdecea; color: #7a1d14; }
.notice-error .icon { color: var(--red); }
.notice-info { margin-bottom: 20px; background: #eef2fb; color: var(--navy-800); }

/* ---------- Content pages ---------- */
.steps { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 22px; }
.steps li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.steps span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange-600); color: #fff; font-size: 0.9375rem; }
#formular, .contact-form { padding-top: 40px; padding-bottom: 80px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 48px 0 24px; }
.service { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: var(--orange-50); color: var(--orange-600); }
.service-icon .icon { width: 26px; height: 26px; }
.service-no { position: absolute; top: 24px; right: 28px; font-size: 0.875rem; font-weight: 700; color: #b8c2d3; }
.service h2 { font-size: 1.375rem; margin-bottom: 8px; }
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin: 24px 0 80px; padding: 28px 32px; border-radius: var(--radius); background: var(--navy-900); color: #fff; }
.cta-box p { font-size: 1.25rem; font-weight: 600; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-box .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.cta-box .btn-outline:hover { border-color: #fff; }
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; padding-top: 48px; padding-bottom: 32px; }
.about-text p { font-size: 1.125rem; }
.about-text h2 { margin-top: 28px !important; }
.brand-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.brand-list li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--ink); }
.about-photo img { border-radius: var(--radius); }
.about-photo figcaption { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.9375rem; color: var(--muted); }
.contact { padding-top: 40px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-card { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card h2 { font-size: 1.125rem; margin-bottom: 6px; }
.contact-card p + p { margin-top: 2px; }
.contact-card a:not(.text-link) { color: var(--ink); font-weight: 600; }
.contact-card .text-link { margin-top: 8px; }
.contact-card .small-print { margin-top: 14px; font-size: 0.875rem; }
.contact-form { max-width: 860px; }
.legal { padding-top: 40px; padding-bottom: 80px; }
.legal h2 { margin-top: 28px !important; font-size: 1.1875rem; }

/* ---------- Footer ---------- */
.site-footer { padding-top: 64px; background: var(--navy-900); color: #b9c5db; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin-top: 18px; max-width: 320px; font-size: 0.9688rem; }
.footer-title { margin-bottom: 16px; font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.contact-list, .footer-links { display: grid; gap: 10px; font-size: 0.9688rem; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { margin-top: 4px; color: var(--orange-500); }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.875rem; }
.legal-links { display: flex; gap: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .menu-toggle { display: grid; }
  .header-tools { margin-left: auto; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; gap: 0; margin: 0;
    padding: 4px 24px 16px; background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 16px 24px rgba(0, 0, 0, 0.25);
  }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 1.0625rem; }
  .main-nav a.is-active::after { display: none; }
  .main-nav a.is-active { color: var(--orange-500); }
  .card-grid, .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .sheet, .inquiry-grid, .about { grid-template-columns: 1fr; gap: 28px; }
  .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .banner-img { -webkit-mask-image: none; mask-image: none; }
  .banner-text { top: 18px; }
  .banner h1 { font-size: 1.375rem; }
  .banner-text p { font-size: 0.9375rem; }
  .categories { margin-top: -48px; }
  .service-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .eyebrow { letter-spacing: 0.14em; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-logo img { width: 34px; height: 34px; }
  .brand-name { font-size: 1.375rem; }
  .brand-name small { font-size: 0.625rem; letter-spacing: 0.24em; }
  .main-nav { padding: 4px 16px 16px; }
  .banner { padding-top: 64px; }
  .banner-text { top: 14px; text-align: center; }
  .banner h1 { font-size: 1.125rem; letter-spacing: 0.12em; }
  .banner-text p { font-size: 0.8125rem; }
  .card-grid, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .categories { margin-top: -16px; }
  .offers { margin-top: 56px; padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head-center { align-items: center; }
  .why { padding: 56px 0 64px; }
  .page-head { padding: 24px 0; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .form-card { padding: 20px 16px; }
  .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .sheet-actions .btn-outline { flex: 1 1 calc(50% - 5px); }
  .lightbox img { max-width: 100vw; max-height: calc(100vh - 140px); }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .cta-box { padding: 22px 20px; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .brand-track { animation: none; width: auto; justify-content: center; }
  .brand-set { flex-wrap: wrap; justify-content: center; }
  .brand-set[aria-hidden="true"] { display: none; }
}
