/* Sagar Sales Corporation — main stylesheet */
:root {
  --navy: #0f2238;
  --navy-2: #173352;
  --ink: #111c28;
  --text: #3a4858;
  --muted: #687789;
  --line: #e2e7ed;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --steel: #c9d1da;
  --accent: #f07a24;
  --accent-d: #d4621a;
  --accent-soft: #fff1e6;
  --wa: #1da851;
  --wa-d: #178a43;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 34, 56, .06), 0 8px 24px rgba(16, 34, 56, .08);
  --shadow-lg: 0 2px 4px rgba(16, 34, 56, .06), 0 20px 48px rgba(16, 34, 56, .16);
  --wrap: 1200px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent-d); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mt { margin-top: 2.5rem; }
.small { font-size: .875rem; color: var(--muted); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.35em; border-radius: 999px; border: 2px solid transparent; background: var(--accent); color: #fff; font: inherit; font-weight: 700; font-size: .98rem; line-height: 1.2; cursor: pointer; text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { background: var(--accent-d); text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(240, 122, 36, .3); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .55em 1.05em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); box-shadow: none; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: var(--bg-alt); border-color: var(--ink); box-shadow: none; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #f1f4f8; box-shadow: none; }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: var(--wa-d); box-shadow: 0 6px 18px rgba(29, 168, 81, .3); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--bg-alt); }
.icon-btn .ic { width: 20px; height: 20px; }

/* Top bar & header */
.topbar { background: var(--navy); color: #c9d4e1; font-size: .82rem; }
.topbar-in { display: flex; gap: 22px; align-items: center; min-height: 38px; }
.topbar a { color: #c9d4e1; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.tb-phone { margin-left: auto; color: #fff !important; font-weight: 700; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(16, 34, 56, .06); }
.header-in { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; }
.logo-mark { width: 42px; height: 42px; }
.logo span { display: flex; flex-direction: column; line-height: 1.05; }
.logo b { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.logo small { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.logo-light { color: #fff; }
.logo-light small { color: #9fb0c3; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav li { position: relative; }
.nav li > a { display: block; padding: .55em .8em; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: .94rem; }
.nav li > a:hover { background: var(--bg-alt); text-decoration: none; }
.nav li > a[aria-current="page"] { color: var(--accent-d); }
.has-drop { display: flex; align-items: center; }
.drop-btn { display: none; }
.drop { position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px); width: 600px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
.drop::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.drop-grid a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.drop-grid a:hover { background: var(--bg-alt); text-decoration: none; }
.drop-ill { width: 52px; height: 35px; flex: none; }
.drop-all { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-d); font-weight: 700; font-size: .9rem; }
.header-act { display: flex; align-items: center; gap: 10px; }
.menu-btn, .nav-cta-m { display: none; }

/* Hero */
.hero { position: relative; color: #dce5ef; background: var(--navy); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(900px 500px at 85% 10%, rgba(240, 122, 36, .22), transparent 60%),
  radial-gradient(700px 500px at 10% 100%, rgba(80, 130, 190, .25), transparent 60%),
  repeating-linear-gradient(100deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 7px),
  linear-gradient(160deg, #0f2238 0%, #142c48 60%, #0c1b2d 100%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.2fr .9fr; gap: 48px; align-items: center; padding: 72px 20px 84px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.hero .hl { background: linear-gradient(90deg, #ffb066, #f07a24); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.15rem; color: #c3d0de; max-width: 600px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: .85rem; font-weight: 600; margin-bottom: 20px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.hero-ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; }
.hero-ticks li { display: flex; align-items: center; gap: 8px; }
.hero-ticks .ic { color: #5fd08c; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.hero-card { color: var(--text); box-shadow: var(--shadow-lg); border: 0; }
.hero-card h2 { font-size: 1.5rem; margin-bottom: .2em; }
.hero-card > p { color: var(--muted); font-size: .95rem; }

/* Mills & stats */
.mills { border-bottom: 1px solid var(--line); background: #fff; }
.mills-in { display: flex; align-items: center; gap: 28px; padding: 18px 20px; flex-wrap: wrap; }
.mills-in > span { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.mills ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 30px; margin: 0; padding: 0; }
.mills li { font-weight: 800; color: #8593a3; font-size: 1.02rem; letter-spacing: -.01em; }
.stats { background: var(--bg-alt); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 20px; }
.stats-grid div { text-align: center; }
.stats-grid b { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--navy); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stats-grid span { font-size: .9rem; color: var(--muted); }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.sec-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.sec-head.light h2 { color: #fff; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-d); margin-bottom: 10px; }

/* Product cards */
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.p-grid.three { grid-template-columns: repeat(3, 1fr); }
.p-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; text-decoration: none; }
.p-ill { background: linear-gradient(160deg, #eef2f6, #dfe5ec); padding: 18px 18px 8px; }
.illus { display: block; width: 100%; height: auto; }
.p-card:hover .illus { transform: scale(1.04); }
.p-card .illus { transition: transform .4s; }
.p-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.p-body h3 { margin-bottom: .35em; }
.p-body p { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chips span { font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--bg-alt); color: var(--navy-2); border: 1px solid var(--line); }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--accent-d); }
.p-card:hover .more .ic, .post-card:hover .more .ic, .tool:hover .more .ic { transform: translateX(3px); }
.more .ic { transition: transform .2s; }

/* Why, steps, industries */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why, .ind { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.why p, .ind p { font-size: .94rem; color: var(--muted); margin: 0; }
.why-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-d); margin-bottom: 14px; }
.why-ic .ic { width: 22px; height: 22px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); }
.steps b { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 1rem; margin-bottom: 14px; }
.steps p { margin: 0; font-size: .94rem; color: var(--muted); }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.ind-list { display: grid; gap: 18px; }
.ind-row { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.ind-row h2 { font-size: 1.35rem; }
.ind-links { font-size: .92rem; margin: 0; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl th, .tbl td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: .84rem; white-space: nowrap; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody tr:hover { background: #fafbfd; }
.tbl.spec th { width: 32%; background: var(--bg-alt); color: var(--ink); font-weight: 700; }
.tbl.num td { white-space: nowrap; }
.tbl td small { display: block; font-size: .74rem; color: var(--muted); }
.tbl-link { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-alt); }
.tbl.price td { vertical-align: middle; }
.rate { color: var(--navy); font-size: 1.05rem; }
.price-note { display: flex; align-items: flex-start; gap: 10px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--accent-soft); color: #7a3b0c; margin-bottom: 20px; font-size: .93rem; }
.price-note .ic { margin-top: 3px; }

/* Tools band */
.tools { background: var(--navy); background-image: radial-gradient(800px 400px at 90% 0%, rgba(240, 122, 36, .18), transparent 60%); }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #c3d0de; transition: background .2s, transform .2s; }
.tool:hover { background: rgba(255, 255, 255, .09); transform: translateY(-3px); text-decoration: none; }
.tool > .ic { width: 34px; height: 34px; color: #ffb066; margin-bottom: 14px; }
.tool h3 { color: #fff; }
.tool .more { color: #ffb066; margin-top: 8px; }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.post-card { display: flex; flex-direction: column; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); text-decoration: none; }
.post-card time { font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.post-card p { font-size: .93rem; color: var(--muted); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.testi blockquote { margin: 0 0 14px; color: var(--ink); font-size: 1.02rem; }

/* FAQ */
.faq-sec h2 { text-align: center; margin-bottom: 28px; }
.faqs { display: grid; gap: 10px; }
.faqs details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faqs summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--ink); position: relative; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faqs details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faqs details p { padding: 0 20px 18px; margin: 0; }

/* Enquiry */
.enquiry-sec { background: linear-gradient(180deg, var(--bg-alt), #fff); }
.enq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 600; }
.ticks .ic { color: var(--wa); }
.enq-direct { display: grid; gap: 8px; }
.enq-direct a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-grid .full, .enquiry.compact .f-grid label:nth-child(3) { grid-column: 1 / -1; }
.enquiry label { display: grid; gap: 6px; font-size: .84rem; font-weight: 700; color: var(--ink); }
input, select, textarea { width: 100%; font: inherit; font-size: .97rem; font-weight: 400; color: var(--ink); padding: .72em .9em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(240, 122, 36, .14); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #d63b3b; }
textarea { resize: vertical; }
.enquiry .btn { margin-top: 16px; }
.f-note { font-size: .8rem; color: var(--muted); margin: 10px 0 0; }
.f-status { margin: 8px 0 0; font-weight: 600; font-size: .92rem; }
.f-status.ok { color: var(--wa-d); }
.f-status.err { color: #c62f2f; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Page hero (inner) */
.page-hero { background: linear-gradient(160deg, #0f2238, #173352); color: #c3d0de; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 0%, rgba(240, 122, 36, .2), transparent 60%), repeating-linear-gradient(100deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 7px); }
.page-hero-in { position: relative; display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: center; padding: 48px 20px 56px; }
.page-hero.slim .wrap { position: relative; padding-top: 44px; padding-bottom: 44px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.page-hero .lead { font-size: 1.1rem; max-width: 680px; }
.page-hero .hero-btns { margin-bottom: 0; }
.page-hero-ill { background: radial-gradient(closest-side, rgba(255, 255, 255, .14), transparent); }
.illus.big { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.meta { color: #9fb0c3; font-size: .92rem; margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: .85rem; }
.crumbs li { color: #9fb0c3; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumbs a { color: #dce5ef; }
.sub-nav { position: sticky; top: 72px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.sub-nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sub-nav .wrap::-webkit-scrollbar { display: none; }
.sub-nav a { padding: 14px 14px; font-weight: 600; font-size: .9rem; color: var(--text); white-space: nowrap; border-bottom: 2px solid transparent; }
.sub-nav a:hover { color: var(--ink); border-color: var(--accent); text-decoration: none; }
.sub-nav .sub-cta { margin-left: auto; color: var(--accent-d); font-weight: 800; }

/* Two-col & prose */
.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: .35em; }
.prose .table-wrap { margin: 1.2em 0 1.6em; }
.article { font-size: 1.05rem; }
.article table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .95rem; display: block; overflow-x: auto; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article thead th { background: var(--navy); color: #fff; }
.rel-box { margin-top: 2em; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--bg-alt); }
.app-list { list-style: none; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.app-list li { display: flex; gap: 8px; align-items: flex-start; }
.app-list .ic { color: var(--wa); margin-top: 4px; }
.side-card { position: sticky; top: 140px; display: grid; gap: 10px; }
.side-card h3 { margin: 0; }
.side-card p { font-size: .92rem; color: var(--muted); margin: 0 0 4px; }
.side-card hr { border: 0; border-top: 1px solid var(--line); width: 100%; margin: 6px 0; }
.side-link { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: .93rem; padding: 6px 0; }
.mini-ill { width: 44px; height: 30px; flex: none; }
.facts { margin: 0 0 8px; display: grid; gap: 10px; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.type { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.type p { font-size: .92rem; color: var(--muted); flex: 1; }
.type a { font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.weight-box { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 30px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid #fbd9bf; }
.weight-box > div:first-child .ic { width: 44px; height: 44px; color: var(--accent-d); }
.weight-box h2 { font-size: 1.35rem; margin-bottom: .3em; }
.weight-box p { margin: 0; }

/* Products filter / grades */
.filter-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 28px; }
.filter { position: relative; flex: 1 1 320px; }
.filter .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter input { padding-left: 42px; border-radius: 999px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips button { font: inherit; font-size: .85rem; font-weight: 700; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.filter-chips button.on, .filter-chips button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.p-card[hidden] { display: none; }
.empty { text-align: center; padding: 30px; color: var(--muted); }
.grade-chips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.grade-chips a { display: grid; gap: 2px; padding: 16px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); color: var(--ink); }
.grade-chips a:hover { border-color: var(--accent); text-decoration: none; }
.grade-chips span { font-size: .75rem; color: var(--muted); }
.grade-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.g-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); }
.g-card:hover { box-shadow: var(--shadow); text-decoration: none; }
.g-card b { font-size: 1.2rem; color: var(--ink); }
.g-card > span:nth-child(2) { font-size: .8rem; color: var(--accent-d); font-weight: 700; margin-bottom: 8px; }
.g-card p { font-size: .9rem; color: var(--muted); }

/* Calculator */
.calc-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.shape-pick { border: 0; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.shape-pick legend { font-weight: 800; color: var(--ink); margin-bottom: 10px; font-size: .95rem; }
.shape-pick label { position: relative; display: grid; justify-items: center; gap: 4px; padding: 10px 6px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; text-align: center; font-size: .78rem; font-weight: 700; color: var(--ink); transition: border-color .15s, background .15s; }
.shape-pick input { position: absolute; opacity: 0; }
.shape-pick label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.shape-pick label:has(input:focus-visible) { outline: 3px solid var(--accent); }
.shape-pick .mini-ill { width: 56px; height: 38px; }
.calc label { display: grid; gap: 6px; font-size: .84rem; font-weight: 700; color: var(--ink); }
.calc label[hidden] { display: none; }
.dims { display: grid; }
.dims:empty { display: none; }
.result { position: sticky; top: 100px; background: var(--navy); color: #c3d0de; border: 0; }
.result h2 { color: #fff; font-size: 1.3rem; }
.result dl { margin: 0 0 16px; display: grid; gap: 0; }
.result dl div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.result dt { font-size: .9rem; }
.result dd { margin: 0; color: #fff; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.result .big dd { font-size: 1.35rem; color: #ffb066; }
.result .small { color: #9fb0c3; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.c-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); background: #fff; }
a.c-card:hover { border-color: var(--accent); text-decoration: none; }
.c-card > .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-d); }
.c-card.wa > .ic { background: #e3f6ea; color: var(--wa); }
.c-card b { display: block; color: var(--ink); }
.map-sec { padding-bottom: 20px; }
.map { position: relative; height: 420px; background: linear-gradient(135deg, #e6ebf1, #d3dbe4); display: grid; place-items: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.area-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.area-list li { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; color: var(--ink); font-size: .93rem; }
.area-list .ic { color: var(--accent); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; border-radius: var(--radius-sm); object-fit: cover; aspect-ratio: 3 / 2; }
.gallery figcaption { font-size: .85rem; color: var(--muted); padding-top: 6px; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sitemap-grid h2 { font-size: 1.2rem; }
.sitemap-grid ul { padding-left: 1.1em; }
.notfound { padding: 120px 0; }
.center-btns { justify-content: center; }

/* CTA band & footer */
.cta-band { background: linear-gradient(100deg, var(--accent-d), var(--accent) 60%, #ff9a4a); color: #fff; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 20px; flex-wrap: wrap; }
.cta-in h2 { color: #fff; margin-bottom: .2em; }
.cta-in p { margin: 0; opacity: .92; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-wa { box-shadow: 0 6px 20px rgba(0, 0, 0, .15); }
.footer { background: #0a1828; color: #9fb0c3; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 20px 40px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #c3d0de; }
.footer a:hover { color: #fff; }
.foot-about p { margin-top: 16px; }
.gst { font-weight: 700; color: #c3d0de; }
.soc { display: flex; flex-wrap: wrap; gap: 14px; }
.footer address { font-style: normal; display: grid; gap: 12px; }
.footer address p { display: flex; gap: 10px; margin: 0; }
.footer address .ic { margin-top: 4px; color: #ffb066; }
.foot-areas { padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; }
.foot-areas strong { color: #c3d0de; }
.foot-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; }

/* Floating buttons */
.float-act { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; gap: 12px; }
.fab { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); transition: transform .2s; }
.fab:hover { transform: scale(1.07); }
.fab .ic { width: 28px; height: 28px; }
.fab-wa { background: var(--wa); }
.fab-call { background: var(--navy); display: none; }

/* Search modal */
.search-modal { position: fixed; inset: 0; z-index: 90; background: rgba(10, 24, 40, .55); backdrop-filter: blur(4px); display: grid; place-items: start center; padding: 10vh 16px 16px; }
.search-modal[hidden] { display: none; }
.search-box { width: 100%; max-width: 620px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.search-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); }
.search-row > .ic { color: var(--muted); width: 20px; height: 20px; }
.search-row input { border: 0; box-shadow: none !important; padding: 10px 4px; font-size: 1.05rem; }
.search-results { list-style: none; margin: 0; padding: 8px; max-height: 60vh; overflow: auto; }
.search-results a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.search-results a:hover, .search-results a:focus { background: var(--bg-alt); text-decoration: none; outline: none; }
.search-results small { display: block; color: var(--muted); }
.search-results .none { padding: 14px; color: var(--muted); }

/* Responsive */
@media (max-width: 1100px) {
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .ind-grid, .type-grid { grid-template-columns: repeat(2, 1fr); }
  .grade-chips { grid-template-columns: repeat(4, 1fr); }
  .nav li > a { padding: .5em .55em; font-size: .9rem; }
}
@media (max-width: 980px) {
  .menu-btn { display: inline-grid; }
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .header-act { margin-left: auto; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); margin: 0; background: #fff; box-shadow: var(--shadow-lg); padding: 84px 20px 24px; transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s; overflow-y: auto; z-index: 70; }
  .nav.open { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav li > a { padding: 12px 14px; font-size: 1.02rem; flex: 1; }
  .has-drop { flex-wrap: wrap; }
  .drop-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; }
  .drop-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
  .drop { position: static; transform: none !important; width: 100%; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 8px 10px; display: none; }
  .has-drop.open .drop { display: block; }
  .drop-grid { grid-template-columns: 1fr; }
  .nav-cta-m { display: flex; margin-top: 16px; width: 100%; }
  body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(10, 24, 40, .45); z-index: 45; }
  .menu-btn[aria-expanded="true"] { position: relative; z-index: 80; }
  .hero-in, .page-hero-in, .enq-grid, .two-col, .calc-grid, .contact-grid { grid-template-columns: 1fr; }
  .page-hero-ill { display: none; }
  .hero-in { padding: 48px 20px 56px; gap: 32px; }
  .side-card, .result { position: static; }
  .why-grid, .post-grid, .tool-grid, .testi-grid, .grade-cards, .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .area-list { grid-template-columns: repeat(3, 1fr); }
  .sub-nav { top: 72px; }
  .weight-box { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .hide-sm { display: none !important; }
  .topbar-in { gap: 14px; }
  .section { padding: 56px 0; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .p-grid, .p-grid.three, .why-grid, .post-grid, .tool-grid, .testi-grid, .grade-cards, .steps, .ind-grid, .type-grid, .sitemap-grid { grid-template-columns: 1fr; }
  .p-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .p-body { padding: 14px; }
  .p-body p, .chips { display: none; }
  .p-body h3 { font-size: .98rem; }
  .p-ill { padding: 10px 10px 4px; }
  .stats-grid { grid-template-columns: 1fr 1fr; padding: 26px 16px; }
  .grade-chips { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .app-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
  .area-list { grid-template-columns: 1fr 1fr; }
  .shape-pick { grid-template-columns: repeat(3, 1fr); }
  .ind-row { grid-template-columns: 1fr; padding: 22px; }
  .header-in { min-height: 64px; }
  .sub-nav { top: 64px; }
  .logo-mark { width: 38px; height: 38px; }
  .logo b { font-size: 1.08rem; }
  .fab { width: 52px; height: 52px; }
  .fab-call { display: grid; }
  .tbl th, .tbl td { padding: 10px 12px; }
  .cta-btns, .cta-btns .btn { width: 100%; }
  .mills-in { gap: 10px; }
  .mills ul { gap: 6px 18px; }
  .hero-btns .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .header, .float-act, .cta-band, .enquiry-sec, .sub-nav, .footer { display: none !important; }
  .page-hero { background: none; color: #000; }
  .page-hero h1 { color: #000; }
}
/* Let grid children shrink so wide tables scroll inside .table-wrap instead of widening the page */
.two-col > *, .calc-grid > *, .enq-grid > *, .contact-grid > *, .hero-in > *, .page-hero-in > * { min-width: 0; }
body.nav-open .float-act { display: none; }
.fam + .fam { margin-top: 48px; }
.fam > p { color: var(--muted); margin-top: -6px; }
.fam .grade-cards { margin-top: 18px; }
.drop-all + .drop-all { margin-top: 6px; }
