/* Kanak Cable Industries — public site. Mobile first. Colours/fonts come from Admin → Settings → Theme (CSS variables in layout). */
:root {
  --red: #d7261e; --red-dark: #a8170f; --gold: #f2a33a; --dark: #17181c; --cream: #fbf5e9;
  --ink: #23252b; --muted: #636874; --line: #ebe4d6; --bg: #ffffff; --soft: #f6f4ef;
  --radius: 14px; --shadow: 0 10px 30px -12px rgba(23, 24, 28, .18); --shadow-lg: 0 24px 60px -20px rgba(23, 24, 28, .3);
  --font-h: 'Poppins', system-ui, sans-serif; --font-b: 'Inter', system-ui, sans-serif;
  --wrap: 1200px; --header-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-b); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4, h5 { font-family: var(--font-h); color: var(--dark); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 5.2vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.3rem); font-weight: 600; }
p { margin: 0 0 1em; }
.ic { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.2em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--dark); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font: 600 15px/1.2 var(--font-h); cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s; text-align: center; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 22px -10px var(--red); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border-color: currentColor; color: var(--dark); background: transparent; }
.btn-outline:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { color: var(--red); }
.btn-wa { background: #1fae5b; color: #fff; }
.btn-wa:hover { background: #168b48; color: #fff; }
.btn-sm { min-height: 38px; padding: .45em 1em; font-size: 14px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; font-family: var(--font-h); font-size: 15px; }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* Top bar + header */
.topbar { display: none; background: var(--dark); color: #d9d9de; font-size: 13.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gold); }
.topbar .tb-links { display: flex; gap: 22px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: none; margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); font: 500 15px var(--font-h); }
.nav a:hover, .nav a.active { color: var(--red); background: #fff1ef; }
.header-cta { display: none; gap: 10px; align-items: center; }
.header-phone { display: flex; align-items: center; gap: 10px; color: var(--dark); font: 600 15px var(--font-h); }
.header-phone .ic-wrap { width: 40px; height: 40px; border-radius: 50%; background: #fff1ef; color: var(--red); display: grid; place-items: center; }
.header-phone small { display: block; font: 400 12px var(--font-b); color: var(--muted); }
.burger { margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--dark); cursor: pointer; }
.burger .ic { width: 24px; height: 24px; }

.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(15, 15, 18, .5); opacity: 0; transition: opacity .25s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: #fff; transform: translateX(100%); transition: transform .3s ease;
  display: flex; flex-direction: column; padding: 18px; overflow-y: auto; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-head img { height: 40px; width: auto; }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 6px; border-bottom: 1px solid var(--line); color: var(--dark); font: 500 17px var(--font-h); }
.drawer nav a.active { color: var(--red); }
.drawer .drawer-products { margin: 14px 0 6px; font: 600 12px var(--font-h); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.drawer .drawer-products + div a { font-size: 15px; padding: 10px 6px; }
.drawer-contact { margin-top: auto; padding-top: 18px; display: grid; gap: 10px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% 10%, #fff 0%, transparent 60%), linear-gradient(135deg, var(--cream) 0%, #fff 55%, #fdf0e3 100%); }
.hero::after { content: ""; position: absolute; right: -20%; bottom: -55%; width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 210deg, var(--gold), var(--red), var(--gold)); opacity: .14; filter: blur(2px); }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { flex: 0 0 100%; scroll-snap-align: start; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 28px; padding-top: 34px; padding-bottom: 44px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--red);
  font: 600 12.5px var(--font-h); letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 4px 14px -8px rgba(0, 0, 0, .2); margin-bottom: 16px; }
.hero h1 span, .hl { color: var(--red); }
.hero-text { font-size: 1.06rem; color: #4a4e57; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; color: var(--dark); font-size: 14.5px; font-weight: 500; }
.hero-badges li { display: flex; align-items: center; gap: 6px; }
.hero-badges .ic { color: #1fae5b; }
.hero-media { position: relative; }
.hero-media img { width: 100%; filter: drop-shadow(0 30px 40px rgba(120, 30, 10, .18)); }
.hero-seal { position: absolute; left: 0; bottom: 6%; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 10px 14px; display: flex; gap: 10px; align-items: center; font: 600 13px/1.3 var(--font-h); }
.hero-seal .ic { width: 34px; height: 34px; color: var(--red); }
.hero-seal small { display: block; font: 400 12px var(--font-b); color: var(--muted); }
.hero-dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 30px; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(0, 0, 0, .2); padding: 0; cursor: pointer; transition: width .25s; }
.hero-dots button.on { width: 28px; background: var(--red); }

/* Stats */
.stats { position: relative; z-index: 2; margin-top: -18px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stat { background: #fff; padding: 18px 14px; text-align: center; }
.stat strong { display: block; font: 700 clamp(1.5rem, 4vw, 2.1rem) var(--font-h); color: var(--red); line-height: 1.1; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* Sections */
.section { padding: 56px 0; }
.section-soft { background: var(--soft); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--dark); color: #cfd0d6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.sec-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.kicker { display: inline-block; color: var(--red); font: 600 13px var(--font-h); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.kicker::before { content: ""; display: inline-block; width: 22px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 8px; }
.sec-head p { color: var(--muted); }
.section-dark .sec-head p { color: #a9abb3; }

/* Product cards */
.grid { display: grid; gap: 18px; }
.products-grid { grid-template-columns: 1fr; }
.p-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.p-card .p-img { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #fff 0%, var(--cream) 100%); overflow: hidden; }
.p-card .p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.p-card .p-img img.contain { object-fit: contain; padding: 12px; }
.p-card:hover .p-img img { transform: scale(1.05); }
.p-num { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .92); color: var(--red); font: 700 12px var(--font-h); border-radius: 99px; padding: 4px 10px; }
.p-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.p-tag { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.p-body h3 { margin-bottom: 8px; }
.p-body h3 a { color: var(--dark); }
.p-body h3 a::after { content: ""; position: absolute; inset: 0; }
.p-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.p-foot .btn { position: relative; z-index: 2; }

/* About split */
.split { display: grid; gap: 30px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); width: 100%; }
.exp-badge { position: absolute; right: 12px; bottom: -18px; background: var(--red); color: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); font: 600 13px/1.25 var(--font-h); }
.exp-badge strong { display: block; font-size: 30px; line-height: 1; }
.checks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ic { color: var(--red); margin-top: 3px; }
.call-card { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--cream); color: var(--dark); font-family: var(--font-h); }
.call-card .ic-wrap { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.call-card small { display: block; color: var(--muted); font: 400 12px var(--font-b); }
.call-card strong { font-size: 17px; }

/* Feature / why cards */
.why-grid { grid-template-columns: 1fr; }
.f-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .2s, box-shadow .2s; }
.f-card:hover { border-color: transparent; box-shadow: var(--shadow); }
.f-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #fff1ef; color: var(--red); margin-bottom: 14px; }
.f-icon .ic { width: 26px; height: 26px; }
.f-icon img { width: 32px; height: 32px; object-fit: contain; }
.f-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.f-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.section-dark .f-card { background: #202127; border-color: #2c2d35; }
.section-dark .f-card p { color: #a9abb3; }
.section-dark .f-icon { background: rgba(215, 38, 30, .16); color: #ff6b5f; }

/* Process */
.steps { grid-template-columns: 1fr; counter-reset: step; }
.step { position: relative; padding: 22px 22px 22px 80px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step-no { position: absolute; left: 20px; top: 20px; width: 44px; height: 44px; border-radius: 12px; background: var(--dark); color: #fff; display: grid; place-items: center; font: 700 16px var(--font-h); }
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Certifications */
.certs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cert { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.cert .ic-wrap { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--red); color: var(--red); display: grid; place-items: center; flex: none; }
.cert img { width: 44px; height: 44px; object-fit: contain; }
.cert strong { display: block; font: 600 14.5px/1.25 var(--font-h); color: var(--dark); }
.cert small { color: var(--muted); font-size: 12.5px; line-height: 1.3; display: block; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px); padding: 30px 22px; color: #fff; background: linear-gradient(120deg, var(--red-dark), var(--red) 55%, #e8592a); display: grid; gap: 18px; align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); }
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.35rem, 3vw, 2rem); }
.cta-band p { margin: 0; opacity: .9; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }

/* Testimonials */
.t-track { display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.t-card { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.t-card .stars { color: var(--gold); display: flex; gap: 2px; margin-bottom: 10px; }
.t-card .stars .ic { fill: currentColor; width: 16px; height: 16px; }
.t-card p { font-size: 15px; }
.t-card strong { font-family: var(--font-h); color: var(--dark); }
.t-card small { color: var(--muted); display: block; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 30px 16px 0; position: relative; font: 600 15.5px/1.4 var(--font-h); color: var(--dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 16px; color: var(--muted); }

/* Blog cards */
.blog-grid { grid-template-columns: 1fr; }
.b-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.b-card .b-img { aspect-ratio: 16 / 9; background: var(--cream); overflow: hidden; }
.b-card .b-img img { width: 100%; height: 100%; object-fit: cover; }
.b-card .b-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.b-card time { font-size: 13px; color: var(--muted); }
.b-card h3 { font-size: 1.1rem; margin: 6px 0 8px; }
.b-card h3 a { color: var(--dark); }
.b-card p { font-size: 14.5px; color: var(--muted); }
.b-card .link-arrow { margin-top: auto; }

/* Enquiry form */
.enq { display: grid; gap: 24px; }
.enq-info { display: grid; gap: 14px; align-content: start; }
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row .ic-wrap { width: 46px; height: 46px; border-radius: 12px; background: #fff1ef; color: var(--red); display: grid; place-items: center; flex: none; }
.info-row strong { display: block; font: 600 15px var(--font-h); color: var(--dark); }
.info-row a, .info-row span { color: var(--muted); font-size: 15px; }
.info-row a:hover { color: var(--red); }
.form-card { background: #fff; border-radius: calc(var(--radius) + 4px); padding: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.form-card > p { color: var(--muted); font-size: 14.5px; }
.form-grid { display: grid; gap: 12px; }
.field label { display: block; font: 500 13.5px var(--font-h); color: var(--dark); margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px var(--font-b); color: var(--ink); background: #fbfaf7; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 4px rgba(215, 38, 30, .12); background: #fff; }
.field .err { color: #c0261e; font-size: 13px; margin-top: 4px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; display: flex; gap: 6px; align-items: center; }
.alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 14px; font-size: 14.5px; }
.alert-ok { background: #e9f8ef; color: #136c3a; }
.alert-err { background: #fdecea; color: #a1180f; }

/* Page hero (inner pages) */
.page-hero { position: relative; background: linear-gradient(120deg, var(--dark) 0%, #2a1715 70%, var(--red-dark) 140%); color: #e2e2e6; padding: 34px 0 38px; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .04); }
.page-hero h1 { color: #fff; margin-bottom: 8px; font-size: clamp(1.7rem, 4.6vw, 2.8rem); }
.page-hero p { max-width: 680px; color: #c4c5cc; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 12px; font-size: 13.5px; }
.crumbs li { display: flex; align-items: center; gap: 6px; color: #a9abb3; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--gold); }

/* Content (CMS html) */
.prose { font-size: 16.5px; color: #3a3d45; }
.prose h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--cream); }
.prose blockquote { margin: 1em 0; padding: 12px 18px; border-left: 4px solid var(--red); background: var(--cream); border-radius: 0 12px 12px 0; }
.prose > :first-child { margin-top: 0; }

/* Product detail */
.pd { display: grid; gap: 28px; }
.pd-gallery .main { aspect-ratio: 1 / 1; border-radius: var(--radius); background: linear-gradient(160deg, #fff, var(--cream)); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.pd-gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: 0 0 74px; height: 74px; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 0; overflow: hidden; cursor: pointer; }
.thumbs button.on { border-color: var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info .p-tag { font-size: 14px; color: var(--red); font-weight: 600; }
.pd-info h1 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); }
.pd-lead { font-size: 1.05rem; color: #4a4e57; }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.pd-actions .btn:first-child { grid-column: 1 / -1; }
.pd-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pd-features li { display: flex; gap: 10px; }
.pd-features .ic { color: #1fae5b; margin-top: 3px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 42%; background: var(--cream); font: 600 14px var(--font-h); color: var(--dark); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.tabs-nav { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 22px; scrollbar-width: none; }
.tabs-nav a { padding: 12px 14px; white-space: nowrap; color: var(--muted); font: 600 15px var(--font-h); border-bottom: 3px solid transparent; }
.tabs-nav a:hover { color: var(--red); border-color: var(--red); }
.pd-block { scroll-margin-top: calc(var(--header-h) + 20px); margin-bottom: 40px; }

/* Contact page */
.contact-cards { display: grid; gap: 14px; }
.c-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; }
.c-card .ic-wrap { width: 50px; height: 50px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.c-card h3 { font-size: 1rem; margin-bottom: 4px; }
.c-card a, .c-card p { color: var(--muted); margin: 0; display: block; font-size: 15px; }
.c-card a:hover { color: var(--red); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; }

/* Footer */
.site-footer { background: var(--dark); color: #a9abb3; padding: 50px 0 0; font-size: 15px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.foot-grid { display: grid; gap: 30px; }
.foot-logo img { height: 52px; width: auto; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #d3d4da; }
.site-footer a:hover { color: var(--gold); }
.foot-contact li { display: flex; gap: 10px; }
.foot-contact .ic { color: var(--gold); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: #24252c; display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--red); color: #fff; }
.foot-bottom { border-top: 1px solid #2a2b33; margin-top: 40px; padding: 18px 0 90px; font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* Floating + mobile bar */
.wa-float { position: fixed; right: 18px; bottom: 84px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1fae5b; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(31, 174, 91, .7); }
.wa-float .ic { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: scale(1.05); }
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .2); padding-bottom: env(safe-area-inset-bottom); }
.mbar a, .mbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 8px; font: 600 12px var(--font-h); color: var(--dark); background: none; border: 0; cursor: pointer; }
.mbar .ic { width: 22px; height: 22px; }
.mbar .m-call { color: var(--red); }
.mbar .m-wa { color: #1fae5b; }
.mbar .m-quote { background: var(--red); color: #fff; }

/* Quote dialog */
dialog.quote { border: 0; padding: 0; border-radius: 20px; width: min(94vw, 520px); max-height: 92vh; box-shadow: var(--shadow-lg); }
dialog.quote::backdrop { background: rgba(10, 10, 12, .55); }
dialog.quote .form-card { box-shadow: none; border: 0; }
.dlg-close { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--soft); cursor: pointer; display: grid; place-items: center; }

/* Pagination */
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--dark); padding: 0 12px; }
.pager .on { background: var(--red); color: #fff; border-color: var(--red); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ≥ 600px */
@media (min-width: 600px) {
  .products-grid, .why-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .certs { grid-template-columns: repeat(3, 1fr); }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
  .t-track { grid-auto-columns: 48%; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pd-actions { grid-template-columns: repeat(3, auto); justify-content: start; }
  .pd-actions .btn:first-child { grid-column: auto; }
}
/* ≥ 900px */
@media (min-width: 900px) {
  :root { --header-h: 78px; }
  .section { padding: 84px 0; }
  .topbar { display: block; }
  .nav, .header-cta { display: flex; }
  .burger { display: none; }
  .brand img { height: 54px; }
  .hero .wrap { grid-template-columns: 1.05fr .95fr; padding-top: 60px; padding-bottom: 80px; gap: 40px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.rev > :first-child { order: 2; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid.four { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 26px; }
  .step-no { position: static; margin-bottom: 14px; }
  .certs { grid-template-columns: repeat(6, 1fr); }
  .cert { flex-direction: column; text-align: center; padding: 18px 10px; }
  .cta-band { grid-template-columns: 1fr auto; padding: 40px 44px; }
  .t-track { grid-auto-columns: calc(33.33% - 11px); }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .enq { grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
  .form-card { padding: 30px; }
  .page-hero { padding: 56px 0 60px; }
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1.3fr .8fr 1fr 1.2fr; }
  .foot-bottom { padding-bottom: 22px; }
  .pd { grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
  .pd-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
  .mbar { display: none; }
  .wa-float { bottom: 24px; }
  .layout-side { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
}
@media (min-width: 1100px) {
  .products-grid.four { grid-template-columns: repeat(4, 1fr); }
}
.side-box { background: var(--cream); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.side-box h3 { font-size: 1.05rem; }
.side-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.side-box a { color: var(--dark); display: flex; align-items: center; gap: 8px; }
.side-box a:hover { color: var(--red); }
.text-center { text-align: center; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 32px; }
/* Grid/flex children may shrink below their content (stops horizontal scroll on phones) */
.pd > *, .layout-side > *, .split > *, .enq > *, .hero .wrap > *, .foot-grid > *, .grid > * { min-width: 0; }
