/* Nagpal Engineering & Sports: layout and component styles (loaded after style.css) */
:root {
  --brand: #393186;
  --brand-dark: #241f5e;
  --brand-tint: #eeedf8;
  --accent: #e31e25;
  --accent-dark: #c0141b;
  --ink: #1c1c2b;
  --muted: #5b5e70;
  --line: #e4e4ee;
  --soft: #f6f6fb;
  --white: #fff;
  --wa: #1fa855;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(28, 28, 60, .08);
  --shadow-sm: 0 2px 10px rgba(28, 28, 60, .06);
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Work Sans', system-ui, sans-serif;
  --color-primary: #393186;
  --color-secondary: #e31e25;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid rgba(57, 49, 134, .45); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 10000; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; color: #fff; }
.container { max-width: 1240px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; }
.z-x-topBar { background: var(--brand-dark); padding: 7px 0; font-size: 14px; }
.z-x-topBar .topbar-link { color: rgba(255, 255, 255, .92); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.z-x-topBar .topbar-link:hover { color: #fff; }
.z-x-topBar .topbar-link i { color: #ff8a8e; font-size: 13px; }
.topbar-search { position: relative; }
.topbar-search .form-control { height: 32px; width: 210px; border-radius: 30px; border: 0; padding: 0 38px 0 14px; font-size: 13px; }
.topbar-search .btn { position: absolute; right: 2px; top: 2px; height: 28px; width: 32px; padding: 0; border-radius: 30px; background: var(--accent); color: #fff; font-size: 12px; }
.social-icons ul { gap: 6px; }
.social-icons ul li a { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .12); color: #fff; font-size: 13px; transition: background .2s; }
.social-icons ul li a:hover { background: var(--accent); color: #fff; }

.z-x-menubar { background: #fff; box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(28, 28, 60, .05); }
.z-x-menubar .logo { position: static; max-width: none; padding: 8px 0; }
.z-x-menubar .logo img { max-width: 56px; width: 56px; height: 56px; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.15; color: var(--brand); display: flex; flex-direction: column; }
.logo-text small { font-weight: 500; font-size: 11.5px; color: var(--muted); letter-spacing: .2px; }

.navigation .menu ul li a { padding: 26px 13px; font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--ink); }
.navigation .menu > ul > li.active > a, .navigation .menu > ul > li:hover > a { color: var(--accent); }
.navigation .menu > ul > li > a { position: relative; }
.navigation .menu > ul > li.active > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 18px; height: 2px; background: var(--accent); border-radius: 2px; }

.header-cta { padding: 10px 0; }
.header-cta .menus { margin: 0; max-width: none; }
.broucher { border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; padding: 9px 12px; border-radius: 30px; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.broucher i { color: var(--accent); }
#submenus { display: none; position: absolute; right: 0; top: calc(100% + 6px); background: #fff; min-width: 210px; border-radius: 10px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 6px; z-index: 20; }
#submenus a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); font-size: 14px; background: none; }
#submenus a:hover { background: var(--soft); color: var(--accent); }
.quote-btn { background: var(--accent); color: #fff; border: 0; border-radius: 30px; padding: 10px 18px; font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .2s; }
.quote-btn:hover { background: var(--accent-dark); }

/* Mega menu: columns of ranges with their models listed underneath */
@media (min-width: 1024px) {
  .navigation .menu ul > li.mg-li { position: static; }
  .navigation .menu ul > li.mg-li ul.cs-dropdown.megaMenu { width: min(1180px, 94vw); max-height: 72vh; padding: 22px 26px; border-radius: 0 0 var(--radius) var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); left: 50%; transform: translateX(-50%); }
  .navigation .menu ul.megaSectionUl { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 6px 22px; text-align: left; }
  .navigation .menu ul.megaSectionUl > li { display: block; border: 0; width: auto; }
  .navigation .menu ul.megaSectionUl > li > a { padding: 8px 0 6px; font-weight: 600; font-size: 14.5px; color: var(--brand) !important; background: none !important; border-bottom: 1px solid var(--line); }
  .navigation .menu ul.megaSectionUl > li > a button { display: none; }
  .navigation .menu ul.megaSectionUl > li > ul.cs-dropdown { display: block !important; position: static; width: auto; box-shadow: none; margin: 4px 0 10px; max-height: 168px; overflow-y: auto; }
  .navigation .menu ul.megaSectionUl > li > ul.cs-dropdown li { border: 0; }
  .navigation .menu ul.megaSectionUl > li > ul.cs-dropdown li a { padding: 4px 0; font-size: 13.5px; color: var(--muted); background: none !important; }
  .navigation .menu ul.megaSectionUl > li > ul.cs-dropdown li a:hover { color: var(--accent) !important; }
  .navigation .menu ul.megaSectionUl > li:hover > a { color: var(--accent) !important; }
}

@media (max-width: 1023px) {
  .site-header { position: sticky; }
  .z-x-menubar .row > div:first-child { display: flex; align-items: center; justify-content: space-between; }
  .z-x-menubar .logo { padding: 6px 0; }
  .z-x-menubar .logo img { width: 46px; height: 46px; }
  .navigation { position: static; }
  .navigation .navbar { position: absolute; right: 14px; top: 12px; padding: 0; }
  .navigation .navbar button { border-radius: 8px; background: var(--brand); }
  .navigation .menu { display: none; max-height: calc(100vh - 70px); overflow-y: auto; border-top: 1px solid var(--line); padding-bottom: 12px; }
  .navigation .menu ul { text-align: left; }
  .navigation .menu ul li { display: block; border-bottom: 1px solid var(--line); }
  .navigation .menu ul li a { padding: 12px 16px; display: flex; justify-content: space-between; }
  .navigation .menu > ul > li.active > a::after { display: none; }
  .navigation .menu ul li ul.cs-dropdown { position: static; width: 100%; box-shadow: none; display: none; background: var(--soft); }
  .navigation .menu ul > li.mg-li ul.cs-dropdown.megaMenu { width: 100%; transform: none; max-height: none; border: 0; border-radius: 0; }
  .navigation .menu ul li:hover ul.cs-dropdown { display: none; }
  .navigation .menu ul li ul.cs-dropdown li a { padding-left: 26px; background: transparent; }
  .navigation .menu ul li ul.cs-dropdown li ul.cs-dropdown li a { padding-left: 38px; }
  .logo-text { font-size: 14px; }
}

/* ---------- Buttons, headings, sections ---------- */
.main-btn, a.main-btn, button.main-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff !important; border: 2px solid var(--accent); border-radius: 30px; padding: 11px 24px; font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.2; text-transform: none; transition: background .2s, border-color .2s, transform .2s; }
.main-btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.main-btn-outline, a.main-btn-outline { background: transparent; color: var(--brand) !important; border-color: var(--brand); }
.main-btn-outline:hover { background: var(--brand); color: #fff !important; border-color: var(--brand); }
.main-btn svg { display: none; }
.text-link { font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 8px; }
.text-link:hover { color: var(--accent); }

.section-pad { padding: 80px 0; }
.bg-soft { background: var(--soft); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 40px; }
.section-head.text-start { max-width: none; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.eyebrow-light { color: #ffb3b5; }
.section-title, h1.section-title, h2.section-title { font-family: var(--font-head); font-size: clamp(26px, 3.1vw, 38px); font-weight: 700; color: var(--ink); text-transform: none; margin: 0 0 14px; line-height: 1.2; text-align: inherit !important; }
.section-sub, .lead-text { color: var(--muted); font-size: 17px; max-width: 720px; margin: 0 auto; }

/* ---------- Hero ---------- */
.banner-section .carousel-item img { aspect-ratio: 1650 / 600; object-fit: cover; background: var(--soft); }
.banner-section .carousel-indicators [data-bs-target] { width: 26px; height: 4px; border-radius: 4px; }
.banner-section .carousel-control-prev, .banner-section .carousel-control-next { width: 6%; }

.trust-strip { background: var(--brand); color: #fff; }
.trust-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; }
.trust-strip li { display: flex; align-items: center; gap: 14px; padding: 20px 18px; border-left: 1px solid rgba(255, 255, 255, .14); }
.trust-strip li:first-child { border-left: 0; }
.trust-strip i { font-size: 26px; color: #ffb3b5; flex: 0 0 auto; }
.trust-strip span { font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, .85); }
.trust-strip strong { display: block; font-family: var(--font-head); color: #fff; font-size: 16px; }

/* ---------- About / rich text from the CMS ---------- */
.about-section { padding-top: 70px; }
.rich-text, .rich-text p, .about-content p, .product-content p { text-align: left !important; color: #3a3c4c; font-size: 16px; line-height: 1.75; }
.rich-text strong, .product-content strong { font-weight: 600; color: var(--ink); }
.rich-text h2, .rich-text h3, .rich-text h4, .product-content h2, .product-content h3, .product-content h4 { font-size: 21px; font-weight: 600; margin: 26px 0 10px; color: var(--brand); text-transform: none; }
.rich-text ul, .product-content ul { list-style: disc; padding-left: 22px; margin-bottom: 1rem; }
.rich-text ul li, .product-content ul li { margin-bottom: 6px; }
.about-content { max-height: none; }
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-media img { width: 100%; display: block; }
/* about image scrolls normally with the page */

/* ---------- Category cards ---------- */
.cat-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; color: var(--ink); }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.cat-card-img { display: block; aspect-ratio: 4 / 3; background: #fff; padding: 10px; }
.cat-card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.cat-card:hover .cat-card-img img { transform: scale(1.04); }
.cat-card-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; border-top: 1px solid var(--line); margin-top: auto; }
.cat-card-name { font-family: var(--font-head); font-weight: 600; font-size: 16px; line-height: 1.3; }
.cat-card-meta { font-size: 13.5px; color: var(--accent); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.industry-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 10px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: border-color .2s, box-shadow .2s; }
.industry-tile:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.industry-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.industry-tile:nth-child(3n+2) .industry-icon { background: var(--accent); }
.industry-tile:nth-child(3n) .industry-icon { background: #2f8f5b; }
.industry-icon img { width: 34px; height: 34px; object-fit: contain; }
.industry-name { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink); }

/* ---------- Why us ---------- */
.why-section { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; }
.why-section .section-title { color: #fff; }
.why-points p, .why-points .p-check { position: relative; padding-left: 34px; margin-bottom: 16px; color: rgba(255, 255, 255, .88) !important; font-size: 15.5px; line-height: 1.65; text-align: left; }
.why-points p::before, .why-points .p-check::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.why-points .bold-text, .why-points strong { color: #fff; font-weight: 600; }
.why-media { position: relative; border-radius: var(--radius); overflow: hidden; }
.why-media img { width: 100%; display: block; border-radius: var(--radius); }
.why-badge { position: absolute; left: 18px; bottom: 18px; background: #fff; color: var(--ink); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; max-width: 250px; }
.why-badge strong { font-family: var(--font-head); font-size: 30px; color: var(--accent); line-height: 1; }
.why-badge span { font-size: 13px; line-height: 1.35; color: var(--muted); }

/* ---------- Process ---------- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.process-steps li { background: #fff; border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); position: relative; }
.process-steps li:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -22px; width: 22px; border-top: 2px dashed #c9c7e3; }
.step-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--brand-tint); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.step-no { display: block; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
.process-steps strong { display: block; font-family: var(--font-head); font-size: 18px; margin: 2px 0 8px; }
.process-steps p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Areas ---------- */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.area-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.area-card.is-current { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.area-card .area-state { display: block; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--brand); margin-bottom: 8px; }
.area-card .area-state:hover { color: var(--accent); }
.area-card ul { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; }
.area-card ul a { font-size: 14px; color: var(--muted); }
.area-card ul a:hover { color: var(--accent); }
.area-note { font-size: 14px; color: var(--muted); margin: 0; }
.area-home { background: var(--accent); border-color: var(--accent); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.area-home strong { font-family: var(--font-head); font-size: 20px; }
.area-home span { font-size: 14px; color: rgba(255, 255, 255, .85); }
.area-home:hover { background: var(--accent-dark); color: #fff; }

/* ---------- Testimonials and clients ---------- */
.testimonial-card { background: var(--soft); border-radius: var(--radius); padding: 28px 28px 24px; margin: 0; position: relative; min-height: 210px; }
.testimonial-card .quote-mark { font-size: 28px; color: var(--accent); opacity: .85; }
.testimonial-card blockquote { font-size: 17px; line-height: 1.6; color: var(--ink); margin: 12px 0 16px; }
.testimonial-card figcaption { font-weight: 600; color: var(--brand); }
.client-box { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: flex; align-items: center; justify-content: center; height: 100px; }
.client-box img { max-height: 78px; width: auto !important; object-fit: contain; }
.client-names { list-style: none; padding: 0; margin: 20px 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.client-names li { font-size: 14px; color: var(--muted); padding-left: 18px; position: relative; }
.client-names li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.owl-theme .owl-dots .owl-dot span, .owl-dots .owl-dot span { background: #d3d2e6; }
.owl-dots .owl-dot.active span { background: var(--accent); }
.owl-dots { text-align: center; margin-top: 16px; }
.owl-dots .owl-dot span { width: 9px; height: 9px; margin: 4px; border-radius: 50%; display: block; transition: width .2s; }
.owl-dots .owl-dot.active span { width: 22px; border-radius: 6px; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--soft); }
.faq-section .accordion { max-width: 900px; margin: 0 auto; }
.faq-section .accordion .accordion-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-section .accordion button { background: #fff; color: var(--ink); padding: 16px 20px; font-family: var(--font-head); font-weight: 500; }
.faq-section .accordion button .accordion-title { padding: 0; font-size: 16px; }
.faq-section .accordion button .icon { color: var(--accent); border-color: var(--line); }
.faq-section .accordion button:hover, .faq-section .accordion button:focus { color: var(--brand); }
.faq-section .accordion button[aria-expanded=true] { color: var(--brand); }
.faq-section .accordion-content { padding: 0 20px; }
.faq-section .accordion .accordion-content p { font-size: 15.5px; font-weight: 400; color: var(--muted); margin: 0 0 18px; text-align: left; }

/* ---------- Enquiry ---------- */
.enquiry-card { background: #fff; border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); box-shadow: var(--shadow); height: 100%; }
.nes-enquiry-form .form-label { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.nes-enquiry-form .form-control { border-radius: 10px; border: 1px solid #d5d5e3; padding: 11px 14px; font-size: 15px; box-shadow: none; }
.nes-enquiry-form .form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.nes-enquiry-form div.error { color: var(--accent-dark); font-size: 13px; margin-top: 4px; }
.nes-enquiry-form .form-control.error { border-color: var(--accent); }
.form-response { font-size: 14.5px; font-weight: 500; }
.form-response.is-ok { color: #1c7c45; }
.form-response.is-error { color: var(--accent-dark); }
.contact-panel { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 30px; height: 100%; }
.contact-panel-title { font-family: var(--font-head); font-size: 22px; font-weight: 600; margin-bottom: 18px; }
.contact-panel-list { list-style: none; margin: 0 0 18px; padding: 0; }
.contact-panel-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: 15px; color: rgba(255, 255, 255, .9); }
.contact-panel-list i { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.contact-panel-list span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #ffb3b5; }
.contact-panel-list a { color: #fff; display: block; font-weight: 500; }
.contact-panel-list a:hover { color: #ffd2d3; }
.contact-panel-map { border-radius: 10px; background: #fff; max-height: 260px; width: 100%; object-fit: contain; }

/* ---------- Blog ---------- */
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; box-shadow: none; }
.blog-card .blog-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.blog-card .blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-img img { transform: scale(1.04); }
.blog-card .blog-content-wrapper { padding: 18px 20px 22px; }
.blog-card time { font-size: 13px; color: var(--accent); font-weight: 500; }
.blog-card .blog-heading { font-size: 18px; font-weight: 600; margin: 6px 0 8px; line-height: 1.35; }
.blog-card .blog-heading a { color: var(--ink); }
.blog-card .blog-heading a:hover { color: var(--accent); }
.blog-card p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.footer-section { background: #14132b; color: rgba(255, 255, 255, .78); }
.footer-cta { background: var(--accent); padding: 30px 0; }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-cta-title { font-family: var(--font-head); font-size: 23px; font-weight: 600; color: #fff; margin: 0 0 4px; }
.footer-cta-text { color: rgba(255, 255, 255, .9); margin: 0; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 30px; font-weight: 600; font-family: var(--font-head); font-size: 15px; }
.cta-light { background: #fff; color: var(--accent); }
.cta-light:hover { background: var(--ink); color: #fff; }
.cta-wa { background: var(--wa); color: #fff; }
.cta-wa:hover { background: #178a45; color: #fff; }
.footer-wrapper { padding: 60px 0 30px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 18px; margin-bottom: 14px; }
.footer-brand img { background: #fff; border-radius: 10px; padding: 4px; }
.footer-brand:hover { color: #fff; }
.footer-section .footer-text { font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, .7); text-align: left; }
.footer-more { color: #ffb3b5; font-weight: 500; font-size: 14.5px; display: inline-flex; gap: 8px; align-items: center; }
.footer-section .footer-heading { font-family: var(--font-head); font-size: 16px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; padding: 0; display: block; }
.footer-section .footer-card ul li + li { margin-top: 8px; }
.footer-section .footer-card ul li a { color: rgba(255, 255, 255, .72); font-size: 14.5px; font-weight: 400; display: inline; text-transform: none; }
.footer-section .footer-card ul li a:hover { color: #fff; }
.contact-footer li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.55; }
.contact-footer li + li { margin-top: 12px; }
.contact-footer i { color: #ffb3b5; margin-top: 4px; width: 16px; flex: 0 0 16px; }
.contact-footer a { color: rgba(255, 255, 255, .85); }
.contact-footer strong { color: #fff; font-weight: 600; }
.footer-areas { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 26px; }
.footer-areas ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.footer-areas ul a { display: inline-block; padding: 6px 13px; border-radius: 20px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.footer-areas ul a:hover { background: var(--accent); color: #fff; }
.footer-section .footer-bottom { background: #0d0c1f; padding: 16px 0; }
.footer-section .footer-bottom .copyright { color: rgba(255, 255, 255, .6); font-size: 13.5px; font-weight: 400; }

.adgmobilesicky { display: none !important; }
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 8px 22px rgba(31, 168, 85, .35); z-index: 900; transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* ---------- Inner page banner and breadcrumbs ---------- */
.breadcrumbs { height: auto; min-height: 220px; padding: 56px 0; }
.breadcrumbs::before { background: linear-gradient(90deg, rgba(20, 19, 43, .86), rgba(36, 31, 94, .55)); }
.breadcrumbs nav { text-align: left; padding: 0; }
.breadcrumbs nav ol { justify-content: flex-start; font-weight: 500; font-size: 14px; }
.breadcrumbs nav ol li a { font-size: 14px; color: rgba(255, 255, 255, .85); }
.breadcrumbs nav ol li + li { color: #fff; }
.breadcrumbs nav ol li + li::before { color: rgba(255, 255, 255, .5); }
.breadcrumbs h1, .page-banner-title, .breadcrumbs nav h1 { font-family: var(--font-head); font-size: clamp(26px, 3.4vw, 40px) !important; font-weight: 700; color: #fff !important; margin: 0 0 10px; line-height: 1.2; }

/* ---------- Product (category) pages ---------- */
.productsbox { position: sticky; top: 140px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.productsbox .product-box { background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 600; padding: 14px 18px; font-size: 16px; }
.productsbox .accordion { max-height: 70vh; overflow-y: auto; }
.productsbox .accordion-item { margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.productsbox .accordion-button { background: #fff; color: var(--ink); font-weight: 500; font-size: 14.5px; padding: 12px 18px; box-shadow: none; }
.productsbox .accordion-button::after { filter: invert(.6); }
.productsbox .accordion-button:not(.collapsed) { color: var(--brand); background: var(--brand-tint); }
.productsbox .accordion-body { padding: 8px 18px 12px; }
.productsbox .accordion-body li { font-size: 14px; padding: 4px 0; color: var(--muted); }
.productsbox .accordion-body li i { color: var(--accent); font-size: 11px; margin-right: 4px; }
.productsbox .accordion-body a { color: var(--ink); }
.productsbox .accordion-body a:hover { color: var(--accent); }
.headline { font-family: var(--font-head); font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; color: var(--ink); text-transform: none; text-align: left; }
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: var(--soft); border-radius: var(--radius); padding: 22px; margin-bottom: 28px; }
.product-hero-img { background: #fff; border-radius: 12px; padding: 12px; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.product-hero-img img { max-height: 100%; object-fit: contain; }
.product-hero-copy p { color: var(--muted); }
.product-points { list-style: none; padding: 0; margin: 14px 0 20px; }
.product-points li { padding-left: 26px; position: relative; margin-bottom: 8px; font-size: 15px; }
.product-points li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; color: #1c7c45; font-size: 13px; }
.product-content { margin-top: 10px; }
.sub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.gallery-item a { display: block; aspect-ratio: 1 / 1; padding: 10px; }
.gallery-item img { width: 100%; height: 100%; object-fit: contain; }
.gallery-item .gallery-cap { padding: 10px 14px 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.gallery-item .gallery-cap button { border: 0; background: var(--brand-tint); color: var(--brand); border-radius: 20px; padding: 6px 12px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.gallery-item .gallery-cap button:hover { background: var(--accent); color: #fff; }
.block-title { font-family: var(--font-head); font-size: 22px; font-weight: 600; margin: 36px 0 16px; }

/* Chips (404, location lists) */
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-block; padding: 8px 15px; border-radius: 30px; background: var(--soft); border: 1px solid var(--line); color: var(--ink); font-size: 14.5px; }
.chip:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Location pages */
.local-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
.local-fact { background: var(--soft); border-radius: 12px; padding: 18px; }
.local-fact strong { display: block; font-family: var(--font-head); color: var(--brand); font-size: 16px; margin-bottom: 4px; }
.local-fact span { font-size: 14.5px; color: var(--muted); }
.client-ref { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.client-ref ul { columns: 2; column-gap: 26px; margin: 12px 0 0; list-style: none; padding: 0; }
.client-ref li { break-inside: avoid; padding: 5px 0 5px 22px; position: relative; font-size: 15px; }
.client-ref li::before { content: "\f19d"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 6px; color: var(--accent); font-size: 12px; }

/* Modal */
.modal-content { border-radius: var(--radius); border: 0; }
.modal-header { padding: 20px 26px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.modal-title { font-family: var(--font-head); font-weight: 600; margin: 0; }
.modal-sub { color: var(--muted); font-size: 14px; }
.modal-body { padding: 22px 26px 26px; }

/* Legacy blocks that the new layout replaces */
.footer-box, .why-choose-us .spacer-content { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .industry-grid { grid-template-columns: repeat(4, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .navigation .menu ul li a { padding-left: 9px; padding-right: 9px; font-size: 14.5px; }
}
@media (max-width: 991px) {
  .section-pad { padding: 60px 0; }
  .trust-strip ul { grid-template-columns: repeat(2, 1fr); }
  .trust-strip li:nth-child(3) { border-left: 0; }
  .trust-strip li { border-top: 1px solid rgba(255, 255, 255, .1); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps li::after { display: none; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .product-hero { grid-template-columns: 1fr; }
  .sub-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .productsbox { position: static; }
  .local-facts { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  body { padding-bottom: 64px; }
  .section-pad { padding: 48px 0; }
  .section-head { margin-bottom: 28px; }
  .section-sub { font-size: 15.5px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .area-grid { grid-template-columns: 1fr; }
  .client-names, .client-ref ul { grid-template-columns: 1fr; columns: 1; }
  .enquiry-card { padding: 22px 18px; }
  .contact-panel { padding: 22px 18px; }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-wrapper { padding: 40px 0 20px; }
  .wa-float { display: none; }
  .adgmobilesicky { display: grid !important; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001; padding: 0; background: #fff; box-shadow: 0 -2px 12px rgba(0, 0, 0, .12); }
  .adgmobilesicky a, .adgmobilesicky button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 9px 0 8px; border: 0; background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; }
  .adgmobilesicky i { font-size: 19px; color: var(--brand); }
  .adgmobilesicky a.wa i { color: var(--wa); }
  .adgmobilesicky button { background: var(--accent); color: #fff; }
  .adgmobilesicky button i { color: #fff; }
  .breadcrumbs { min-height: 170px; padding: 36px 0; }
  .testimonial-card { padding: 22px; }
  .gallery-grid, .sub-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-item .gallery-cap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .trust-strip li { padding: 14px 10px; gap: 10px; }
  .trust-strip i { font-size: 20px; }
  .trust-strip strong { font-size: 14px; }
  .trust-strip span { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Header columns size to their content on desktop */
@media (min-width: 1024px) {
  .z-x-menubar .row { flex-wrap: nowrap; }
  .z-x-menubar .row > div { width: auto; flex: 0 0 auto; }
  .z-x-menubar .row > div:nth-child(2) { flex: 1 1 auto; min-width: 0; }
  .navigation .menu ul.nav { justify-content: center; flex-wrap: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .header-cta .menus { display: none; }
  .logo-text small { display: none; }
}
@media (max-width: 1199px) {
  .topbar-contacts a:nth-child(3) { display: none !important; }
}

.why-points .p-check::before { font-family: "Font Awesome 6 Free" !important; padding-top: 0 !important; background: var(--accent) !important; }

/* Carousel dots: small pills instead of the legacy blobs */
.owl-carousel button.owl-dot { background: transparent !important; padding: 0 !important; margin: 0 3px; border: 0; border-radius: 0; }
.owl-carousel button.owl-dot span { display: block; width: 8px; height: 8px; border-radius: 8px; background: #cfcde3; transition: width .2s, background .2s; }
.owl-carousel button.owl-dot.active span { width: 22px; background: var(--accent); }
@media (min-width: 1200px) { .area-grid { grid-template-columns: repeat(5, 1fr); } }

/* Legacy .footer-card span rule set 24px headings on every span */
.footer-section .footer-card span, .footer-section .contact-footer span { font-size: inherit; font-weight: inherit; padding: 0; display: inline; color: inherit; text-transform: none; }
.footer-section .footer-brand span { font-size: 18px; font-weight: 600; color: #fff; }
.footer-section .productin { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.footer-section .productin li + li { margin-top: 0 !important; }

/* Read more for long CMS text */
.is-clamped { max-height: 430px; overflow: hidden; position: relative; transition: max-height .3s; }
.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.is-clamped.is-open { max-height: none; }
.is-clamped.is-open::after { display: none; }
.read-more-btn { border: 0; background: none; color: var(--brand); font-weight: 600; padding: 8px 0 0; display: inline-flex; gap: 6px; align-items: center; }
.read-more-btn[aria-expanded=true] i { transform: rotate(180deg); }
@media (max-width: 575px) {
  .process-steps { grid-template-columns: 1fr; }
  .is-clamped { max-height: 360px; }
}

/* Why us: tall photo that matches the text column */
.why-section .row { align-items: stretch !important; }
.why-media { height: 100%; min-height: 420px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.why-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-section .why-badge { z-index: 2; }
@media (max-width: 991px) { .why-media { min-height: 0; aspect-ratio: 4 / 3; } }

/* Active dot: legacy rule painted the whole button red */
.owl-carousel button.owl-dot.active { background: transparent !important; }

/* Client photos fill their cards */
.patner-carousel .client-box { height: 150px; padding: 0; overflow: hidden; border-radius: 12px; }
.patner-carousel .client-box img { width: 100% !important; height: 100%; max-height: none; object-fit: cover; }
.testimonial-card { min-height: 0; }
#testimonials .testimonial-carousel { margin-bottom: 8px; }
.testi-cta { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-radius: var(--radius); border: 1px dashed #c9c7e3; }
.testi-cta strong { display: block; font-family: var(--font-head); font-size: 17px; }
.testi-cta span { font-size: 14.5px; color: var(--muted); }
.testi-cta .main-btn { flex: 0 0 auto; padding: 9px 18px; }
@media (max-width: 575px) { .testi-cta { flex-direction: column; align-items: flex-start; } }

/* Mega menu: neutralise legacy hover colours that turned links white on white */
@media (min-width: 1024px) {
  .navigation .menu ul.megaSectionUl li a,
  .navigation .menu ul.megaSectionUl li:hover a,
  .navigation .menu ul li ul.cs-dropdown.megaMenu li:hover a,
  .navigation .menu ul li ul.cs-dropdown.megaMenu li:hover ul.cs-dropdown li a { background: transparent !important; }
  .navigation .menu ul.megaSectionUl > li > a,
  .navigation .menu ul li ul.cs-dropdown.megaMenu li:hover > a { color: var(--brand) !important; }
  .navigation .menu ul.megaSectionUl > li > ul.cs-dropdown li a,
  .navigation .menu ul li ul.cs-dropdown.megaMenu li:hover ul.cs-dropdown li a { color: var(--muted) !important; }
  .navigation .menu ul.megaSectionUl > li > ul.cs-dropdown li a:hover,
  .navigation .menu ul.megaSectionUl > li > a:hover { color: var(--accent) !important; }
  .navigation .menu ul > li.mg-li ul.cs-dropdown.megaMenu { max-height: 74vh; overflow-y: auto; }
  .navigation .menu ul.megaSectionUl > li > ul.cs-dropdown { max-height: none; overflow: visible; }
  .navigation .menu ul.megaSectionUl { grid-template-columns: repeat(5, 1fr); }
  .navigation .menu .megaSection { display: block; width: 100%; border: 0 !important; }
}
@media (min-width: 1024px) {
  .navigation .menu ul.megaSectionUl > li > ul.cs-dropdown { left: auto !important; margin-top: 4px !important; transform: none; }
  .navigation .menu ul.megaSectionUl > li > ul.cs-dropdown li.mega-all a { color: var(--accent) !important; font-weight: 600; }
}
@media (min-width: 1024px) {
  .navigation .menu ul.megaSectionUl > li > ul.cs-dropdown { position: static !important; top: auto !important; width: auto !important; box-shadow: none !important; }
  .navigation .menu ul.megaSectionUl > li > a { color: var(--brand) !important; }
}

/* Areas we serve page */
.market-home { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--brand); color: rgba(255, 255, 255, .85); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 28px; }
.market-home .eyebrow { color: #ffb3b5; }
.market-home-title { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: #fff; margin: 0 0 4px; }
.market-states { columns: 3 320px; column-gap: 22px; }
.market-state { break-inside: avoid; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 22px; }
.market-state-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.market-state-name { font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--brand); }
.market-count { font-size: 12px; font-weight: 600; color: var(--accent); background: #fdeced; border-radius: 20px; padding: 3px 10px; white-space: nowrap; }
.market-cities { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; }
.market-cities a { font-size: 14.5px; color: var(--muted); }
.market-cities a:hover { color: var(--accent); }
.market-other { max-width: 980px; margin: 0 auto; }
.market-other .accordion-item { border: 1px solid var(--line); border-radius: 12px !important; margin-bottom: 10px; overflow: hidden; }
.market-other .accordion-button { font-family: var(--font-head); font-weight: 500; color: var(--ink); background: #fff; box-shadow: none; }
.market-other .accordion-button:not(.collapsed) { color: var(--brand); background: var(--brand-tint); }
.market-other .accordion-button::after { filter: invert(.55); }
.market-other .accordion-button, .productsbox .accordion-button { background: #fff !important; color: var(--ink) !important; padding: 14px 18px; font-size: 15.5px; }
.market-other .accordion-button:not(.collapsed), .productsbox .accordion-button:not(.collapsed) { background: var(--brand-tint) !important; color: var(--brand) !important; }
.market-other .accordion-header { margin: 0; font-size: inherit; }
.nes-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cap-q { display: inline-block; background: var(--brand-tint); color: var(--brand); font-weight: 700; padding: 0 8px; border-radius: 6px; letter-spacing: 1px; }

/* Contact and about pages */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.contact-card i { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 10px; }
.contact-card .fa-whatsapp { background: #e6f6ec; color: var(--wa); }
.contact-card-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); font-weight: 600; }
.contact-card strong { font-family: var(--font-head); font-size: 18px; word-break: break-word; }
.contact-card span:last-child { color: var(--muted); font-size: 14px; }
.map-wrap { border-radius: 10px; overflow: hidden; background: #fff; aspect-ratio: 4 / 3; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fact { background: var(--soft); border-radius: 12px; padding: 16px; }
.fact strong { display: block; font-family: var(--font-head); font-size: 20px; color: var(--brand); }
.fact span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 767px) { .contact-cards { grid-template-columns: 1fr; } }
.footer-bottom .dev-credit { color: #fff; font-weight: 600; }
.footer-bottom .dev-credit:hover { color: #ffb3b5; }
.footer-bottom .sys-partner { color: rgba(255, 255, 255, .45); font-size: 12.5px; text-decoration: none; transition: color .2s; }
.footer-bottom .sys-partner:hover { color: rgba(255, 255, 255, .85); text-decoration: underline; }

/* Blog article, gallery filter, lists, search */
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.article-meta i { color: var(--accent); margin-right: 4px; }
.article-hero { width: 100%; border-radius: var(--radius); margin-bottom: 26px; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--soft); }
.article-body { font-size: 17px; }
.article-body img { border-radius: 10px; margin: 10px 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px 10px; }
.article-cta { margin-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--brand-tint); border-radius: var(--radius); padding: 22px 24px; }
.article-cta strong { display: block; font-family: var(--font-head); font-size: 18px; }
.article-cta span { color: var(--muted); font-size: 14.5px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 22px; background: #fff; }
.side-title { font-family: var(--font-head); font-weight: 600; font-size: 17px; margin-bottom: 12px; }
.side-post { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); }
.side-post:first-of-type { border-top: 0; }
.side-post img { width: 80px; height: 60px; object-fit: cover; border-radius: 8px; flex: 0 0 80px; }
.side-post strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; }
.side-post small { color: var(--muted); font-size: 12.5px; }
@media (min-width: 992px) { .blog-article + aside .side-contact { position: sticky; top: 150px; } }
.gallery-filter .chip { cursor: pointer; }
.gallery-filter .chip.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.gallery-page { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .gallery-page { grid-template-columns: repeat(2, 1fr); } }
.client-list { list-style: none; padding: 0; margin: 0; }
.client-list li { padding: 6px 0 6px 20px; position: relative; font-size: 14.5px; border-bottom: 1px dashed var(--line); }
.client-list li:last-child { border-bottom: 0; }
.client-list li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.client-list a { color: var(--ink); }
.client-list a:hover { color: var(--accent); }
.search-big { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; }
.search-big .form-control { border-radius: 30px; padding: 12px 20px; }
.search-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .search-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .navigation .menu ul > li.mg-li.is-open > ul.cs-dropdown.megaMenu { display: block; } }

.local-range { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 8px; }
.cat-card-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--muted); }
/* Contrast: small red labels use the darker red */
.eyebrow, .step-no, .cat-card-meta, .blog-card time, .contact-card-label, .market-count { color: var(--accent-dark); }
.eyebrow-light, .why-section .eyebrow, .market-home .eyebrow, .contact-panel-list span { color: #ffc9cb; }

/* Quote popup: white card with readable fields (legacy theme painted it purple) */
.modal .modal-content { background: #fff !important; color: var(--ink); }
.modal .modal-title { color: var(--ink); }
.modal .modal-sub { color: var(--muted); }
#exampleModal .btn-close { filter: none; opacity: .6; }
.nes-enquiry-form .form-control { background: #fff !important; color: var(--ink) !important; }
.nes-enquiry-form .form-control::placeholder { color: #9a9cad !important; }
.nes-enquiry-form .form-label { color: var(--ink) !important; }
.nes-enquiry-form span.cap-q { color: var(--brand) !important; font-size: 14px !important; margin: 0 !important; display: inline-block !important; }

.enq-product { display: none; align-items: center; gap: 14px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; }
.enq-product.is-on { display: flex; }
.enq-product img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 8px; flex: 0 0 72px; }
.enq-product span { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-dark); font-weight: 600; display: block; }
.enq-product strong { font-family: var(--font-head); font-size: 16px; }

/* Product sidebar: white rows, chevron down when closed and up when open */
.productsbox .accordion-item, .productsbox .accordion-collapse, .productsbox .accordion-body { background: #fff !important; }
.productsbox .accordion-button::after { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23393186'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important; filter: none !important; transform: rotate(0deg) !important; width: 14px; height: 14px; background-size: 14px; }
.productsbox .accordion-button:not(.collapsed)::after { transform: rotate(180deg) !important; }
.productsbox .accordion-header { margin: 0; }
.wa-submit { background: var(--wa) !important; border-color: var(--wa) !important; }
.wa-submit:hover { background: #178a45 !important; border-color: #178a45 !important; }
#wa_form #wa_form_cap { max-width: 220px; }

/* City page side column */
.city-side { display: flex; flex-direction: column; gap: 20px; }
.city-quote { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; border-radius: var(--radius); padding: 24px; }
.city-quote-title { font-family: var(--font-head); font-size: 20px; font-weight: 600; margin: 0 0 6px; color: #fff; }
.city-quote-text { font-size: 14.5px; color: rgba(255, 255, 255, .82); margin-bottom: 16px; }
.city-quote .cta-btn { padding: 10px 14px; font-size: 14px; }
.client-ref.is-short ul { columns: 1; }
.city-popular { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 10px; }
.city-popular ul { list-style: none; margin: 8px 0 0; padding: 0; }
.city-popular li + li { border-top: 1px solid var(--line); }
.city-popular a { display: flex; align-items: center; gap: 14px; padding: 10px 0; color: var(--ink); }
.city-popular a:hover { color: var(--accent); }
.city-popular img { width: 80px; height: 60px; object-fit: contain; background: var(--soft); border-radius: 8px; flex: 0 0 80px; }
.city-popular span { flex: 1; line-height: 1.3; }
.city-popular strong { display: block; font-weight: 600; font-size: 15px; }
.city-popular small { color: var(--muted); font-size: 13px; }
.city-popular i { color: var(--muted); font-size: 12px; }

/* Product pages: intro under the hero, model grid preview, detail text and FAQ (Oct 2026). */
.product-lead { font-size: 16.5px; line-height: 1.7; color: #3a3c4c !important; }
.product-intro { margin: 0 0 8px; }
.product-intro > p:first-child { font-size: 17px; }
.product-intro h2, .product-detail h2 { font-size: 22px; margin-top: 30px; }
.product-intro ul li, .product-detail ul li { margin-bottom: 8px; }
.block-sub { color: var(--muted); margin: -4px 0 16px; font-size: 15px; }
.sub-grid.is-limited > :nth-child(n+10) { display: none; }
.sub-grid.is-limited.is-open > :nth-child(n+10) { display: flex; }
.show-all-btn { margin: 20px auto 0; display: flex; gap: 8px; align-items: center; }
.show-all-btn[aria-expanded=true] i { transform: rotate(180deg); }
.product-detail { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 6px; }
.product-detail a, .product-intro a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.productsbox .accordion-body li { display: flex; align-items: baseline; gap: 6px; }
.productsbox .accordion-body li a { display: inline; flex: 1; }

/* Video cards: thumbnail first, YouTube player on click. */
.vid-block { margin-top: 34px; }
.vid-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.vid-grid.is-single { grid-template-columns: minmax(0, 640px); }
.vid-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991px) { .vid-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 640px) { .vid-grid, .vid-grid-3 { grid-template-columns: 1fr; gap: 16px; } }

.vid-band { background: #f7f6fc; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vid-card { margin: 0; background: #fff; border: 1px solid rgba(57, 49, 134, 0.12); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(20, 19, 43, 0.05); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.vid-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(57, 49, 134, 0.12); border-color: var(--brand); }

.vid-lite, .vid-card iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #0c0b16; cursor: pointer; overflow: hidden; }
.vid-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .94; transition: transform .35s ease, opacity .25s ease; }
.vid-card:hover .vid-lite img { transform: scale(1.04); opacity: 1; }

.vid-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; background: #e62117; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 8px 24px rgba(230, 33, 23, 0.45); transition: transform .25s ease, background .25s ease; }
.vid-card:hover .vid-play { transform: translate(-50%, -50%) scale(1.12); background: #ff281e; }
.vid-play i { margin-left: 3px; }

.vid-len { position: absolute; right: 12px; bottom: 12px; background: rgba(12, 11, 22, 0.82); backdrop-filter: blur(4px); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; letter-spacing: 0.3px; }

.vid-card figcaption { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.vid-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 8px; }
.vid-title { font-family: var(--font-head); font-weight: 600; font-size: 15.5px; line-height: 1.35; color: var(--ink); margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.vid-desc { font-size: 13px; color: var(--muted); line-height: 1.45; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vid-watch { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; transition: color .2s ease; }
.vid-card:hover .vid-watch { color: var(--accent); }
.vid-card:hover .vid-watch i { transform: translateX(3px); transition: transform .2s ease; }
.vid-more { margin: 12px 0 0; }
.vid-more a, .vid-card figcaption a { color: var(--brand); font-weight: 600; }
