/* =====================================================================
   J. Mitra style corporate site
   Mobile-first. Breakpoints: 576 / 768 / 992 / 1200
   ===================================================================== */

:root {
  --red: #0870b0;
  --red-dark: #065a8c;
  --navy: #0870b0;
  --navy-soft: #14395e;
  --ink: #1f2a35;
  --muted: #63707e;
  --line: #e3e9f0;
  --soft: #f4f7fb;
  --white: #fff;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(14, 42, 71, 0.08);
  --shadow: 0 6px 24px rgba(14, 42, 71, 0.1);
  --shadow-lg: 0 14px 40px rgba(14, 42, 71, 0.16);
  --header-h: 72px;
  --wrap: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Open Sans",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--navy);
  margin: 0 0 0.6em;
  line-height: 1.25;
  font-weight: 600;
}

h1 {
  font-size: 1.85rem;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.2rem;
}
h4 {
  font-size: 1.05rem;
}
h5 {
  font-size: 0.95rem;
}

p {
  margin: 0 0 1rem;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover {
  color: var(--red-dark);
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  border-color: var(--red);
  color: var(--red);
  background: transparent;
}
.btn-outline:hover {
  background: var(--red);
  color: #fff;
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: transparent;
}
.btn-ghost:hover {
  background: #fff;
  color: var(--navy);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.74rem;
}
.btn-block {
  width: 100%;
}

/* =====================================================================
   TOP BAR
   ===================================================================== */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  flex-wrap: wrap;
}
.topbar-contact {
  display: none;
  gap: 20px;
}
.topbar-contact a {
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-contact a:hover {
  color: #fff;
}

.socials {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
@media (max-width: 767px) {
  .topbar .wrap {
    justify-content: center;
  }
  .topbar .socials {
    margin-left: 0;
  }
}
.socials a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition:
    background 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.socials a:hover {
  background: var(--red);
  transform: translateY(-2px);
  color: #fff;
}
.socials svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* =====================================================================
   HEADER + NAV
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.site-header.is-stuck {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img {
  max-height: 46px;
  width: auto;
}
.brand-fallback {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-family: "Poppins", sans-serif;
}
.brand-fallback strong {
  font-size: 1.32rem;
  color: var(--red);
  letter-spacing: -0.01em;
  font-weight: 700;
}
.brand-fallback span {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}

/* --- hamburger --- */
.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: background 0.2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition:
    transform 0.28s var(--ease),
    top 0.28s var(--ease);
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}
.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* --- mobile drawer --- */
.nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(340px, 88vw);
  background: #fff;
  z-index: 130;
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.32s var(--ease),
    visibility 0.32s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 0 60px;
  box-shadow: var(--shadow-lg);
}
.nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.nav-close {
  background: none;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
  padding: 4px 8px;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 42, 71, 0.55);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s var(--ease),
    visibility 0.3s;
  z-index: 110; /* must stay BELOW .site-header (120) or it covers the drawer */
}
.nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.menu > li {
  border-bottom: 1px solid var(--line);
}
.menu a {
  display: block;
  padding: 13px 18px;
  color: #000;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
}
.menu a:hover,
.menu a.is-active {
  color: #000;
}

.has-children {
  position: relative;
}
.submenu-toggle {
  position: absolute;
  top: 4px;
  right: 8px;
  width: 38px;
  height: 38px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--navy);
  display: grid;
  place-items: center;
}
.submenu-toggle svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.25s var(--ease);
}
.submenu-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.submenu {
  display: none;
  background: var(--soft);
  border-top: 1px solid var(--line);
}
.submenu.is-open {
  display: block;
}
.submenu a {
  padding-left: 32px;
  font-size: 0.85rem;
  font-weight: 400;
}
.submenu .submenu a {
  padding-left: 48px;
  font-size: 0.82rem;
  color: #000;
}
.submenu .submenu {
  background: #eef3f9;
}

/* =====================================================================
   ANNOUNCEMENT TICKER
   ===================================================================== */
.ticker {
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  color: #fff;
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  padding: 9px 0;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  animation: marquee 26s linear infinite;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =====================================================================
   HERO SLIDER
   ===================================================================== */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}
.hero-viewport {
  position: relative;
  min-height: 260px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.7s var(--ease),
    visibility 0.7s;
  display: flex;
  align-items: center;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 80, 140, 0.85) 0%,
    rgba(8, 80, 140, 0.6) 35%,
    rgba(8, 80, 140, 0.15) 65%,
    transparent 100%
  );
  z-index: 1;
}
.slide-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  width: 100%;
  padding-block: 46px 64px;
  align-items: center; /* keep .wrap's inline padding */
}
.slide-eyebrow {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.slide h2 {
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: 16px;
}
.slide-bullets li {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  padding-left: 26px;
  position: relative;
  margin-bottom: 8px;
}
.slide-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(8, 112, 176, 0.25);
}
.slide-actions {
  margin-top: 22px;
}
.slide-media {
  display: none;
}
.slide-media img {
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.06);
}

.hero-arrow {
  display: none; /* revealed at >=768px */
  place-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transition: background 0.2s var(--ease);
}
.hero-arrow:hover {
  background: var(--red);
}
.hero-arrow svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.hero-prev {
  left: 8px;
}
.hero-next {
  right: 8px;
}

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.25s var(--ease);
}
.hero-dots button.is-active {
  background: var(--red);
  width: 26px;
  border-radius: 100px;
}

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section {
  padding: 48px 0;
}
.section-soft {
  background: var(--soft);
}
.section-navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}
.section-navy h2,
.section-navy h3,
.section-navy h4 {
  color: #fff;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}
.section-head .eyebrow {
  display: block;
  color: var(--red);
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-head h2 {
  margin-bottom: 12px;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--red);
  margin: 14px auto 0;
  border-radius: 2px;
}
.section-head p {
  color: var(--muted);
  margin-bottom: 18px;
}
.section-navy .section-head p {
  color: rgba(255, 255, 255, 0.75);
}

/* =====================================================================
   CATEGORY CARDS
   ===================================================================== */
.cat-grid {
  display: grid;
  gap: 18px;
}

.cat-card {
  background: #fff;
  padding: 10px 22px;
  text-align: center;
  position: relative;
}
/* thin vertical divider between columns (as in the reference) */
.cat-grid--5 .cat-card + .cat-card::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.cat-card .cat-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}
.cat-card .cat-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}
.cat-card h3 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 14px;
  text-align: center;
}
.cat-card h3 a {
  color: var(--navy);
}
.cat-card:hover h3 a {
  color: var(--red);
}
.cat-card p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
  text-align: left;
  margin-bottom: 0;
}
.cat-card p strong {
  color: var(--ink);
  font-weight: 700;
}

/* =====================================================================
   PRODUCT CAROUSEL / GRID
   ===================================================================== */
.carousel {
  position: relative;
}
.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 18px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}
.carousel-track > * {
  flex: 0 0 78%;
  scroll-snap-align: start;
}

/* Side arrows variant (jmitra.co.in style) */
.carousel--side-arrows {
  display: flex;
  align-items: center;
  gap: 0;
}
.carousel--side-arrows .carousel-track {
  flex: 1;
  min-width: 0;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: none;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.2s var(--ease);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.carousel-arrow:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.carousel-arrow svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}
.carousel-arrow--prev {
  margin-right: -22px;
}
.carousel-arrow--next {
  margin-left: -22px;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  transition: all 0.2s var(--ease);
}
.carousel-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.carousel-btn svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.product-thumb {
  aspect-ratio: 4/3;
  background: var(--soft);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 14px;
}
.product-thumb img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.product-card:hover .product-thumb img {
  transform: scale(1.06);
}
.product-body {
  padding: 14px 16px 18px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-body h3 {
  font-size: 0.92rem;
  margin-bottom: 6px;
  line-height: 1.4;
}
.product-body h3 a {
  color: var(--navy);
}
.product-body h3 a:hover {
  color: var(--red);
}
.product-meta {
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: auto;
}

.product-grid {
  display: grid;
  gap: 18px;
}

/* =====================================================================
   COUNTERS
   ===================================================================== */
.counters {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}
.counter-num {
  font-family: "Poppins", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: block;
}
.counter-num::after {
  content: "+";
  color: var(--red);
}
.counter-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  display: block;
}

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 22px;
}
.tab-btn {
  padding: 9px 16px;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  color: var(--navy);
  transition: all 0.2s var(--ease);
}
.tab-btn[aria-selected="true"] {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.tab-panel {
  display: none;
}
.tab-panel.is-active {
  display: block;
  animation: fade 0.4s var(--ease);
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 26px 22px;
  max-width: 760px;
  margin: 0 auto;
}
.testimonial blockquote {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--ink);
  font-style: italic;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}
.video-embed {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
}
.video-embed iframe,
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* =====================================================================
   ABOUT + AWARDS
   ===================================================================== */
.about-grid {
  display: grid;
  gap: 30px;
}
.awards li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-bottom: 1px dashed var(--line);
  font-size: 0.88rem;
}
.awards li:last-child {
  border-bottom: 0;
}
.awards li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(8, 112, 176, 0.12);
  border: 2px solid var(--red);
}
.awards strong {
  display: block;
  color: var(--navy);
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
}
.awards span {
  color: var(--muted);
  font-size: 0.8rem;
}

/* =====================================================================
   BLOG
   ===================================================================== */
.blog-grid {
  display: grid;
  gap: 18px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.blog-thumb {
  overflow: hidden;
  background: var(--soft);
  display: block;
  line-height: 0;
}
.blog-thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.45s var(--ease);
}
.blog-card:hover .blog-thumb img {
  transform: scale(1.03);
}
.blog-body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-date {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 8px;
}
.blog-body h3 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 8px;
}
.blog-body h3 a {
  color: var(--navy);
}
.blog-body h3 a:hover {
  color: var(--red);
}
.blog-body p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.blog-more {
  margin-top: auto;
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-more:hover {
  gap: 11px;
}

/* =====================================================================
   PAGE HEADER (inner pages)
   ===================================================================== */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  padding: 38px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(8, 112, 176, 0.16);
}
.page-hero h1 {
  color: #fff;
  position: relative;
  margin-bottom: 6px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}
.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}
.breadcrumb span[aria-hidden] {
  opacity: 0.5;
}

/* =====================================================================
   SIDEBAR / FILTER
   ===================================================================== */
.layout {
  display: grid;
  gap: 28px;
}
.sidebar-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-box h3 {
  font-size: 0.95rem;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--line);
  position: relative;
}
.sidebar-box h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 40px;
  height: 2px;
  background: var(--red);
}
.filter-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  color: var(--navy);
  font-size: 0.86rem;
  border-bottom: 1px dashed var(--line);
}
.filter-list li:last-child a {
  border-bottom: 0;
}
.filter-list a:hover,
.filter-list a.is-active {
  color: var(--red);
  padding-left: 5px;
}
.filter-list .count {
  font-size: 0.72rem;
  background: var(--soft);
  color: var(--muted);
  padding: 1px 8px;
  border-radius: 100px;
}

/* =====================================================================
   FORMS
   ===================================================================== */
.form-row {
  margin-bottom: 16px;
}
.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-family: "Poppins", sans-serif;
}
.form-row .req {
  color: #d81f26;
}
.input,
.textarea,
.select {
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.input:focus,
.textarea:focus,
.select:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(8, 112, 176, 0.14);
}
.textarea {
  min-height: 130px;
  resize: vertical;
}
.field-error {
  color: #d81f26;
  font-size: 0.78rem;
  margin-top: 5px;
  display: block;
}

.alert {
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  margin-bottom: 18px;
  border-left: 4px solid;
}
.alert-success {
  background: #eaf7ef;
  border-color: #2e9e5b;
  color: #1d6b3d;
}
.alert-error {
  background: #fdecec;
  border-color: #d81f26;
  color: #a8161c;
}

/* =====================================================================
   CONTACT INFO CARDS
   ===================================================================== */
.info-grid {
  display: grid;
  gap: 16px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(8, 112, 176, 0.1);
  color: var(--red);
  display: grid;
  place-items: center;
}
.info-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.info-card h3 {
  font-size: 0.92rem;
  margin-bottom: 4px;
}
.info-card p,
.info-card a {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
}
.info-card a:hover {
  color: var(--red);
}

.map-embed {
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =====================================================================
   FLOATING ACTIONS
   ===================================================================== */
.float-stack {
  position: fixed;
  right: 12px;
  bottom: 76px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow);
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease);
}
.float-btn:hover {
  transform: scale(1.08);
  color: #fff;
}
.float-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.float-btn.tg {
  background: #229ed9;
}
.float-btn.gem {
  background: var(--navy);
}

.to-top {
  position: fixed;
  right: 12px;
  bottom: 18px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow);
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: var(--red);
}
.to-top svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* =====================================================================
   NEWSLETTER MODAL
   ===================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(14, 42, 71, 0.65);
}
.modal.is-open {
  display: flex;
  animation: fade 0.3s var(--ease);
}
.modal-box {
  background: #fff;
  border-radius: 10px;
  max-width: 820px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  display: grid;
  max-height: 92vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(14, 42, 71, 0.08);
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1;
}
.modal-close:hover {
  background: var(--red);
  color: #fff;
}
.modal-media {
  background: var(--soft);
  display: none;
  place-items: center;
  padding: 24px;
}
.modal-form {
  padding: 34px 26px;
}
.modal-form h2 {
  font-size: 1.3rem;
}
.modal-form p {
  color: var(--muted);
  font-size: 0.88rem;
}
.modal-later {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}
.footer-main {
  padding: 40px 0 10px;
}
.footer-grid {
  display: grid;
  gap: 28px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 38px;
  height: 2px;
  background: var(--red);
}
.footer-col li {
  margin-bottom: 9px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}
.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}
.footer-col a {
  transition:
    padding-left 0.2s var(--ease),
    color 0.2s var(--ease);
  display: inline-block;
}

.footer-sub li {
  margin: 6px 0 6px 14px;
}
.footer-sub a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.85rem;
  line-height: 1.6;
}
.footer-contact svg {
  width: 15px;
  height: 15px;
  fill: var(--red);
  flex-shrink: 0;
  margin-top: 5px;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  font-size: 0.78rem;
}
.footer-bottom .wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
}
.footer-bottom a:hover {
  color: #fff;
}

/* =====================================================================
   PAGINATION
   ===================================================================== */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.pagination a,
.pagination span {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 0.85rem;
}
.pagination a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.pagination .is-current {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* =====================================================================
   REVEAL ON SCROLL
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* =====================================================================
   BREAKPOINTS
   ===================================================================== */
@media (min-width: 576px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .carousel-track > * {
    flex-basis: 46%;
  }
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom .wrap {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 768px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 2.3rem;
  }
  h2 {
    font-size: 1.9rem;
  }
  .section {
    padding: 64px 0;
  }
  .hero-viewport {
    min-height: 340px;
  }
  .slide h2 {
    font-size: 2.4rem;
  }
  .slide-grid {
    padding: 56px 0 64px;
  }
  .counters {
    grid-template-columns: repeat(4, 1fr);
  }
  .counter-num {
    font-size: 2.7rem;
  }
  .topbar-contact {
    display: flex;
  }
  .carousel-track > * {
    flex-basis: 31.5%;
  }
  .carousel-arrow {
    display: grid;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-box {
    grid-template-columns: 1fr 1fr;
  }
  .modal-media {
    display: grid;
  }
  .hero-arrow {
    display: grid;
    width: 46px;
    height: 46px;
  }
  .hero-prev {
    left: 16px;
  }
  .hero-next {
    right: 16px;
  }
}

@media (min-width: 992px) {
  :root {
    --header-h: 84px;
  }
  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .cat-grid--5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .carousel-track > * {
    flex-basis: 23.5%;
  }
  .about-grid {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
  }
  .about-grid--top {
    align-items: start;
  }
  .layout {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
  .slide-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .slide-media {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr 1.4fr 1fr;
  }
  .float-stack {
    right: 18px;
    bottom: 84px;
  }
  .to-top {
    right: 18px;
    bottom: 24px;
  }
  .brand img {
    max-height: 58px;
  }

  /* ---- desktop horizontal nav ---- */
  .nav-toggle,
  .nav-close,
  .nav-head {
    display: none;
  }
  .nav {
    position: static;
    width: auto;
    transform: none;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    padding: 0;
    visibility: visible;
  }
  .nav-backdrop {
    display: none;
  }

  .menu {
    display: flex;
    align-items: center;
    gap: 2px;
  }
  .menu > li {
    border-bottom: 0;
    position: relative;
  }
  .menu > li > a {
    padding: 0 12px;
    line-height: var(--header-h);
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
  }
  .menu > li > a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 24px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s var(--ease);
  }
  .menu > li:hover > a::after,
  .menu > li > a.is-active::after {
    transform: scaleX(1);
  }

  .has-children > a {
    padding-right: 24px;
  }
  .has-children > .submenu-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
  }
  .menu > li > .submenu-toggle svg {
    width: 9px;
    height: 9px;
  }

  .submenu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 262px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--red);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
      opacity 0.25s var(--ease),
      transform 0.25s var(--ease),
      visibility 0.25s;
    z-index: 60;
  }
  li:hover > .submenu,
  li:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .submenu li {
    position: relative;
  }
  .submenu a {
    padding: 9px 18px;
    font-size: 0.83rem;
    color: #000;
    border-bottom: 1px solid var(--line);
  }
  .submenu li:last-child > a {
    border-bottom: 0;
  }
  .submenu a:hover {
    background: var(--soft);
    color: #000;
    padding-left: 23px;
  }
  .submenu a {
    transition:
      padding-left 0.2s var(--ease),
      background 0.2s,
      color 0.2s;
  }

  /* flyout third level */
  .submenu .submenu {
    top: -9px;
    left: 100%;
    background: #fff;
    border-top: 3px solid var(--red);
  }
  .submenu .submenu a {
    padding-left: 18px;
    font-size: 0.82rem;
    color: #000;
  }
  .submenu .has-children > .submenu-toggle svg {
    transform: rotate(-90deg);
  }

  /* keep last dropdowns inside the viewport */
  .menu > li:nth-last-child(-n + 2) > .submenu {
    left: auto;
    right: 0;
  }
  .menu > li:nth-last-child(-n + 2) .submenu .submenu {
    left: auto;
    right: 100%;
  }

  /* Media & Downloads: open their third-level flyouts to the LEFT so the
     nested items don't run off the right edge of the screen. */
  .menu > li.nav-media .submenu .submenu,
  .menu > li.nav-downloads .submenu .submenu {
    left: auto;
    right: 100%;
    border-top-color: var(--red);
  }
}

@media (min-width: 1200px) {
  .menu > li > a {
    padding: 0 15px;
    font-size: 0.88rem;
  }
  .hero-viewport {
    min-height: 400px;
  }
  .slide h2 {
    font-size: 2.8rem;
  }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------------- Print ---------------- */
@media print {
  .topbar,
  .site-header,
  .ticker,
  .float-stack,
  .to-top,
  .modal,
  .site-footer {
    display: none !important;
  }
  body {
    font-size: 12pt;
    color: #000;
  }
}

/* =====================================================================
   DOWNLOADS PAGE — Range grid layout
   ===================================================================== */
.downloads-grid {
  display: grid;
  gap: 32px 40px;
  grid-template-columns: 1fr;
}

.downloads-range-block {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.downloads-range-block:last-child {
  border-bottom: 0;
}

.range-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.range-links {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}
.range-links li {
  margin-bottom: 6px;
  font-size: 0.86rem;
  list-style: disc;
}
.range-links li::marker {
  color: var(--red);
}
.range-links a {
  color: var(--red);
  font-size: 0.86rem;
  text-decoration: underline;
  transition: color 0.2s var(--ease);
}
.range-links a:hover {
  color: var(--red-dark);
}

/* 2-column layout at 576px */
@media (min-width: 576px) {
  .downloads-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3-column layout at 992px matching the screenshot */
@media (min-width: 992px) {
  .downloads-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 50px;
  }
  .downloads-range-block {
    border-bottom: 0;
  }
}

/* =====================================================================
   CONTACT US PAGE — Office cards + form/map layout
   ===================================================================== */

/* Office cards grid */
.office-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.office-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition:
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.office-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.office-card--primary {
  border-left: 4px solid var(--red);
}

.office-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.office-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 40px;
  height: 2px;
  background: var(--red);
}

.office-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.office-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.office-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(8, 112, 176, 0.1);
  color: var(--red);
  display: grid;
  place-items: center;
}
.office-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.office-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.6;
}
.office-item a {
  color: var(--ink);
}
.office-item a:hover {
  color: var(--red);
}

/* Contact form + map layout */
.contact-map-full {
  width: 100%;
  height: 320px;
  border-bottom: 3px solid var(--red);
}
.contact-map-full iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (min-width: 768px) {
  .contact-map-full {
    height: 400px;
  }
}

.contact-layout {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}

.contact-form-wrap h2,
.contact-map-wrap h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.contact-form-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.form-grid {
  display: grid;
  gap: 0 20px;
  grid-template-columns: 1fr;
}

.map-embed--tall {
  aspect-ratio: auto;
  min-height: 360px;
  height: 100%;
}

/* Responsive breakpoints */
@media (min-width: 576px) {
  .office-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .office-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =====================================================================
   PRODUCT DESCRIPTION (WP imported content)
   ===================================================================== */
.product-desc {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.92rem;
}
.product-desc p {
  margin-bottom: 1rem;
}
.product-desc ul,
.product-desc ol {
  padding-left: 20px;
  margin-bottom: 1rem;
  list-style: disc;
}
.product-desc ol {
  list-style: decimal;
}
.product-desc li {
  margin-bottom: 6px;
  list-style: inherit;
}
.product-desc a {
  color: var(--red);
}
.product-desc img {
  border-radius: var(--radius);
  margin: 12px 0;
}
.product-desc table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}
.product-desc th,
.product-desc td {
  padding: 8px 12px;
  border: 1px solid var(--line);
  font-size: 0.88rem;
}
.product-desc th {
  background: var(--soft);
  font-weight: 600;
}

/* =====================================================================
   EVENTS PAGE — Horizontal rows (image left, content right)
   ===================================================================== */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.event-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.event-row:first-child {
  padding-top: 0;
}
.event-row:last-child {
  border-bottom: 0;
}

.event-row__image {
  width: 100%;
  max-width: 280px;
}
.event-row__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

.event-row__title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.event-row__desc {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.75;
}
.event-row__desc p {
  margin-bottom: 0.8rem;
}
.event-row__desc strong {
  color: var(--navy);
}

@media (min-width: 768px) {
  .event-row {
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
  }
  .event-row__image {
    max-width: none;
  }
}

/* =====================================================================
   PAGE CONTENT (WordPress imported pages)
   ===================================================================== */
.page-content {
  max-width: 900px;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--ink);
}
.page-content p {
  margin-bottom: 1rem;
}
.page-content h2,
.page-content h3,
.page-content h4 {
  margin-top: 1.5em;
}
.page-content ul,
.page-content ol {
  padding-left: 20px;
  margin-bottom: 1rem;
  list-style: disc;
}
.page-content ol {
  list-style: decimal;
}
.page-content li {
  margin-bottom: 6px;
  list-style: inherit;
}
.page-content a {
  color: var(--red);
}
.page-content img {
  border-radius: var(--radius);
  margin: 12px 0;
}
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}
.page-content th,
.page-content td {
  padding: 8px 12px;
  border: 1px solid var(--line);
  font-size: 0.88rem;
}
.page-content th {
  background: var(--soft);
  font-weight: 600;
}
.page-content blockquote {
  border-left: 4px solid var(--red);
  padding: 12px 18px;
  margin: 1rem 0;
  background: var(--soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* =====================================================================
   FOOTER ACCORDION — Our Product Range expandable sub-items
   ===================================================================== */
.footer-accordion {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-accordion > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-accordion > li:last-child {
  border-bottom: 0;
}

.footer-acc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
}
.footer-acc-header a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  flex: 1;
}
.footer-acc-header a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-acc-toggle {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.footer-acc-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}
.footer-acc-toggle[aria-expanded="true"] .footer-acc-icon {
  content: "−";
}

.footer-acc-panel {
  display: none;
  padding: 0 0 10px 6px;
  list-style: none;
}
.footer-acc-panel.is-open {
  display: block;
}
.footer-acc-panel li {
  margin-bottom: 5px;
}
.footer-acc-panel a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  transition:
    color 0.2s var(--ease),
    padding-left 0.2s var(--ease);
  display: inline-block;
}
.footer-acc-panel a:hover {
  color: #fff;
  padding-left: 4px;
}

/* =====================================================================
   HERO SLIDER — Full-screen background with text overlay
   ===================================================================== */
.hero .slide {
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.slide-content {
  position: relative;
  z-index: 2;
}

/* =====================================================================
   ABOUT US PAGE
   ===================================================================== */
.about-content {
  max-width: 900px;
  margin: 0 auto;
}
.about-content p {
  margin-bottom: 1rem;
  line-height: 1.85;
  color: var(--ink);
  font-size: 0.95rem;
}

/* About intro — justified paragraphs matching the live site */
.about-content p {
  text-align: justify;
}
.about-content p:first-child {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 500;
}

/* Company videos grid */
.video-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
.video-card .video-embed {
  margin-bottom: 12px;
}
.video-card h3 {
  font-size: 1rem;
  text-align: center;
  color: var(--navy);
}
@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =====================================================================
   MILESTONE ACHIEVEMENTS — horizontal scrollable timeline
   ===================================================================== */
/* Horizontal timeline — single line, alternating up/down markers */
.timeline {
  position: relative;
  max-width: var(--wrap);
  margin: 20px auto 0;
  padding: 0 46px;
}
.timeline-track {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0 8px;
  /* the horizontal line runs straight through the vertical centre */
  background-image: linear-gradient(#333, #333);
  background-size: 100% 2px;
  background-position: 0 50%;
  background-repeat: no-repeat;
}
.timeline-track::-webkit-scrollbar {
  display: none;
}
.timeline-track {
  cursor: grab;
  touch-action: pan-x;
}
.timeline-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
.timeline-track.is-dragging .timeline-item {
  pointer-events: none;
}

.timeline-item {
  position: relative;
  flex: 0 0 240px;
  scroll-snap-align: center;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* clock node sitting on the centre line */
.timeline-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 0 0 4px #fff;
}
.timeline-node svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: #fff;
}
.node-green {
  background: #34a853;
}
.node-orange {
  background: #e8791d;
}

/* the thin stem connecting node to the text block */
.timeline-item::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: #cfcfcf;
}

/* content block + vertical position depending on up/down */
.timeline-content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 210px;
  text-align: center;
}
.timeline-item.is-down .timeline-content {
  top: calc(50% + 44px);
}
.timeline-item.is-down::before {
  top: calc(50% + 17px);
  height: 27px;
}
.timeline-item.is-up .timeline-content {
  bottom: calc(50% + 44px);
}
.timeline-item.is-up::before {
  bottom: calc(50% + 17px);
  height: 27px;
}

.timeline-year {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}
.timeline-item.is-down .timeline-year {
  color: #34a853;
}
.timeline-item.is-up .timeline-year {
  color: #e8791d;
}
.timeline-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #555;
}

/* navigation arrows */
.timeline-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #333;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  transition: color 0.2s var(--ease);
}
.timeline-arrow:hover {
  color: var(--navy);
}
.timeline-arrow svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.timeline-prev {
  left: 4px;
}
.timeline-next {
  right: 4px;
}

/* =====================================================================
   ABOUT — FEATURE TILES (Achievements / Certifications / Events / Intl)
   ===================================================================== */
.about-tiles-section {
  padding-top: 0;
}
.about-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.about-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.about-tile__icon {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--navy);
  border-radius: 4px;
  display: grid;
  place-items: center;
  transition: background 0.25s var(--ease);
}
.about-tile__icon svg {
  width: 78px;
  height: 78px;
  fill: rgba(255, 255, 255, 0.85);
}
.about-tile:hover .about-tile__icon {
  background: #0a5c92;
}
.about-tile__label {
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  color: var(--ink);
}

@media (min-width: 900px) {
  .about-tiles {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =====================================================================
   PRODUCT SPECS (listing cards + grouped view)
   ===================================================================== */
.product-specs {
  list-style: none;
  margin: 10px 0 0;
  padding: 10px 0 0;
  text-align: left;
  border-top: 1px solid var(--line);
}
.product-specs li {
  font-size: 0.8rem;
  color: var(--ink);
  line-height: 1.5;
  padding: 3px 0;
}
.product-specs li span {
  font-weight: 700;
  color: var(--navy);
  font-family: "Poppins", sans-serif;
}

.product-group {
  margin-bottom: 40px;
}
.product-group-title {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
  position: relative;
}
.product-group-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 50px;
  height: 2px;
  background: var(--red);
}
.product-group-title a {
  color: var(--navy);
}
.product-group-title a:hover {
  color: var(--red);
}

/* =====================================================================
   PRODUCT DETAIL — spec table + share
   ===================================================================== */
.product-spec-table {
  list-style: none;
  margin: 18px 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-spec-table li {
  display: flex;
  gap: 12px;
  padding: 10px 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.product-spec-table li:last-child {
  border-bottom: 0;
}
.product-spec-table li:nth-child(odd) {
  background: var(--soft);
}
.product-spec-table .spec-label {
  flex: 0 0 160px;
  font-weight: 600;
  color: var(--navy);
  font-family: "Poppins", sans-serif;
}
.product-spec-table .spec-value {
  color: var(--ink);
}

/* Share buttons */
/* Product enquiry form — full width, stacked fields (matches live layout) */
.product-enquiry {
  margin-top: 52px;
  max-width: 820px;
}
.product-enquiry .enquiry-heading {
  margin: 0 0 20px;
  font-size: 1.6rem;
  color: var(--navy);
  position: relative;
  padding-bottom: 10px;
}
.product-enquiry .enquiry-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 3px;
  background: var(--navy);
}
.product-enquiry .form-field {
  margin-bottom: 14px;
}
.product-enquiry .form-field input,
.product-enquiry .form-field select,
.product-enquiry .form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.product-enquiry .form-field textarea {
  resize: vertical;
}
.product-enquiry .form-field input:focus,
.product-enquiry .form-field select:focus,
.product-enquiry .form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(8, 112, 176, 0.15);
}
.product-enquiry .field-error {
  display: block;
  margin-top: 4px;
  color: var(--red);
  font-size: 0.78rem;
}
.product-enquiry .enquiry-captcha {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-enquiry .enquiry-captcha label {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.product-enquiry .enquiry-captcha input[name="captcha"] {
  width: 90px;
}

.product-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.product-share .share-label {
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--navy);
  border: 1px solid var(--line);
  transition: all 0.2s var(--ease);
  cursor: pointer;
}
.share-btn:hover,
.share-btn.is-copied {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.share-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* =====================================================================
   PRODUCT CATEGORIES — sidebar tree (parent + expandable children)
   ===================================================================== */
.cat-tree {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cat-tree-item {
  border-bottom: 1px solid var(--line);
}
.cat-tree-item:last-child {
  border-bottom: 0;
}
.cat-tree-row {
  display: flex;
  align-items: stretch;
}
.cat-tree-link {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 4px 10px 0;
  color: var(--navy);
  font-size: 0.88rem;
  transition:
    color 0.2s var(--ease),
    padding-left 0.2s var(--ease);
}
.cat-tree-link:hover,
.cat-tree-link.is-active {
  color: var(--red);
  padding-left: 5px;
}
.cat-tree-link.is-active {
  font-weight: 600;
}
.cat-tree .count {
  font-size: 0.72rem;
  background: var(--soft);
  color: var(--muted);
  padding: 1px 8px;
  border-radius: 100px;
  flex-shrink: 0;
}

.cat-tree-toggle {
  width: 34px;
  flex-shrink: 0;
  background: none;
  border: 0;
  border-left: 1px solid var(--line);
  cursor: pointer;
  color: var(--navy);
  display: grid;
  place-items: center;
}
.cat-tree-toggle svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  transition: transform 0.25s var(--ease);
}
.cat-tree-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.cat-tree-sub {
  list-style: none;
  margin: 0;
  padding: 0 0 6px 14px;
  border-left: 2px solid var(--soft);
  display: none;
}
.cat-tree-sub.is-open {
  display: block;
}
.cat-tree-sub .cat-tree-link {
  padding: 7px 4px 7px 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.cat-tree-sub .cat-tree-link:hover,
.cat-tree-sub .cat-tree-link.is-active {
  color: var(--red);
}

/* =====================================================================
   MEDIA RELEASE / COVERAGE
   ===================================================================== */
.media-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.media-tab {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}
.media-tab:hover {
  border-color: var(--red);
  color: var(--red);
}
.media-tab.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Toolbar: search + count */
.media-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.media-search {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1;
  min-width: 260px;
  max-width: 460px;
}
.media-search .input {
  flex: 1;
}
.media-count {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}

/* Searchable table */
.media-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.media-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.media-table thead {
  background: var(--navy);
}
.media-table th {
  text-align: left;
  padding: 12px 16px;
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.media-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  color: var(--ink);
}
.media-table tbody tr:last-child td {
  border-bottom: 0;
}
.media-table tbody tr:nth-child(even) {
  background: var(--soft);
}
.media-table tbody tr:hover {
  background: rgba(8, 112, 176, 0.06);
}
.media-table .col-sr {
  width: 70px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}
.media-table .col-date {
  width: 120px;
  white-space: nowrap;
  color: var(--red);
  font-weight: 600;
  font-size: 0.82rem;
}
.media-table .col-link {
  width: 100px;
  text-align: center;
}
.media-table-title {
  display: block;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.5;
}
.media-table-source {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}
.media-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--navy);
  font-family: "Poppins", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}
.media-view-btn:hover {
  background: var(--red);
  color: #fff;
}
.media-view-btn svg {
  width: 11px;
  height: 11px;
  min-width: 11px;
  flex: none;
  fill: currentColor;
}

@media (max-width: 575px) {
  .media-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .media-search {
    max-width: none;
  }
  .media-table th.col-sr,
  .media-table td.col-sr {
    display: none;
  }
}

/* =====================================================================
   DOWNLOAD GROUPS — Instruction Manual / Product Catalogue grid
   ===================================================================== */
.download-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 32px;
}
@media (min-width: 640px) {
  .download-groups {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .download-groups {
    grid-template-columns: repeat(3, 1fr);
  }
}

.download-group {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 12px;
  transition:
    box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.download-group:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary, #0870b0);
}
.download-group-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary, #0870b0);
}
.download-group-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.download-group-body li {
  margin: 0;
  border-bottom: 1px dashed var(--line);
}
.download-group-body li:last-child {
  border-bottom: 0;
}
.download-group-body a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  color: var(--ink);
  font-size: 0.9rem;
  transition:
    color 0.2s var(--ease),
    padding-left 0.2s var(--ease);
}
.download-group-body a::before {
  content: "";
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230870b0'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
}
.download-group-body a:hover {
  color: var(--primary, #0870b0);
  padding-left: 4px;
}
/* Loose links (not in <ul>) — wrap each on its own line */
.download-group-body > a {
  display: flex;
}

/* =====================================================================
   QUIZ — lead-capture gate
   ===================================================================== */
.quiz-gate {
  max-width: 520px;
  margin: 0 auto;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.quiz-gate h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  color: var(--navy);
}
.quiz-gate__desc {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}
.quiz-gate .form-field,
#quiz-phase-gate .form-field {
  margin-bottom: 14px;
}
.quiz-gate .form-field input,
#quiz-phase-gate .form-field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  background: #fff;
}
.quiz-gate .form-field input:focus,
#quiz-phase-gate .form-field input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(8, 112, 176, 0.15);
}
.quiz-gate #quiz-start-btn {
  width: 100%;
}

/* =====================================================================
   QUIZ — intro card (cover image + name + Start button)
   ===================================================================== */
.quiz-intro {
  display: flex;
  justify-content: center;
  padding: 10px 0 30px;
}
.quiz-intro__card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.1);
  padding: 26px;
  text-align: center;
}
/* phases swap in place inside the same card */
.quiz-phase {
  display: none;
}
.quiz-phase.is-active {
  display: block;
}
.quiz-phase#quiz-phase-questions.is-active {
  display: block;
}
.quiz-gate__title {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 18px;
}
/* cover image spans the full card width at the top of the intro phase */
.quiz-intro__cover {
  margin: -26px -26px 18px;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}
.quiz-intro__cover img {
  display: block;
  width: 100%;
  height: auto;
}
.quiz-intro__name {
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 18px;
}
.btn-success,
.quiz-intro__start {
  background: #2e9e5b;
  border: 1px solid #2e9e5b;
  color: #fff;
}
.btn-success:hover,
.quiz-intro__start:hover {
  background: #268a4e;
  border-color: #268a4e;
  color: #fff;
}
.quiz-intro__count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 4px;
}
.quiz-intro__count svg {
  fill: #fff;
}

/* =====================================================================
   QUIZ — one-question-at-a-time stepper
   ===================================================================== */
/* questions phase lives inside .quiz-intro__card — no separate box */
#quiz-phase-questions {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}
/* each question is a slide, stacked and animated in from the right */
.quiz-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateX(40px);
  transition:
    transform 0.45s var(--ease),
    opacity 0.45s var(--ease);
  pointer-events: none;
}
.quiz-slide.is-active {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.quiz-slide.is-left {
  transform: translateX(-40px);
  opacity: 0;
}
.quiz-slide__counter {
  text-align: right;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.quiz-slide__q {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin: 0 0 18px;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.quiz-opt:hover:not(:disabled) {
  border-color: var(--navy);
}
.quiz-opt:disabled {
  cursor: default;
}
.quiz-opt__radio {
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 2px solid #bbb;
  border-radius: 50%;
  display: inline-block;
}
.quiz-opt__text {
  flex: 1;
  text-align: center;
}
.quiz-opt__mark {
  width: 20px;
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
}
/* correct state — green with a check */
.quiz-opt.is-correct {
  background: #d9f2e3;
  border-color: #2e9e5b;
}
.quiz-opt.is-correct .quiz-opt__radio {
  border-color: #2e9e5b;
}
.quiz-opt.is-correct .quiz-opt__mark::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2e9e5b;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>")
    center/14px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>")
    center/14px no-repeat;
}
/* wrong state — red with a cross */
.quiz-opt.is-wrong {
  background: #f9d5d5;
  border-color: #d81f26;
}
.quiz-opt.is-wrong .quiz-opt__radio {
  border-color: #d81f26;
  background: #d81f26;
}
.quiz-opt.is-wrong .quiz-opt__mark::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d81f26;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M18.3 5.7 12 12l-6.3-6.3-1.4 1.4L10.6 13.4 4.3 19.7l1.4 1.4L12 14.8l6.3 6.3 1.4-1.4L13.4 13.4l6.3-6.3z'/></svg>")
    center/12px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M18.3 5.7 12 12l-6.3-6.3-1.4 1.4L10.6 13.4 4.3 19.7l1.4 1.4L12 14.8l6.3 6.3 1.4-1.4L13.4 13.4l6.3-6.3z'/></svg>")
    center/12px no-repeat;
}
.quiz-slide__expl {
  margin-top: 14px;
  padding: 12px;
  background: var(--soft);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--muted);
}
.quiz-slide__expl strong {
  color: var(--navy);
}
/* result slide */
.quiz-slide--result {
  text-align: center;
}
.quiz-result__msg {
  font-size: 1.05rem;
  color: var(--ink);
  margin: 30px 0 18px;
  text-align: center;
}
.quiz-result__msg #quiz-score {
  font-weight: 700;
  color: var(--navy);
}
.quiz-share {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}
.quiz-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 3px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}
.quiz-share__btn svg {
  width: 13px;
  height: 13px;
  fill: #fff;
}
.quiz-share__btn--linkedin {
  background: #0a66c2;
}
.quiz-share__btn--facebook {
  background: #1877f2;
}
.quiz-share__btn--twitter {
  background: #1da1f2;
}
.quiz-share__btn:hover {
  opacity: 0.9;
}
.quiz-result__retry {
  margin-top: 4px;
}

/* =====================================================================
   CAREER PAGE — current openings
   ===================================================================== */
.career-heading {
  text-align: center;
  color: var(--navy);
  font-size: 1.7rem;
  margin: 0 0 28px;
  position: relative;
  padding-bottom: 12px;
}
.career-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--navy);
}
.career-job {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.career-job h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin: 0 0 14px;
  line-height: 1.4;
}
.career-job p {
  margin: 0 0 10px;
  line-height: 1.65;
}
.career-job ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
.career-job ul li {
  margin-bottom: 6px;
  line-height: 1.55;
}
.career-job a {
  color: var(--navy);
  font-weight: 600;
  word-break: break-word;
}
.career-job em {
  color: var(--red);
  font-size: 0.9rem;
}

/* =====================================================================
   CSR POLICY PAGE
   ===================================================================== */
.csr-policy .csr-section {
  margin-bottom: 26px;
}
.csr-policy .csr-section h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin: 0 0 10px;
}
.csr-policy .csr-section p {
  line-height: 1.75;
  margin: 0 0 10px;
  text-align: justify;
}
.csr-policy .csr-section ul,
.csr-policy .csr-section ol {
  margin: 0 0 12px;
  padding-left: 24px;
}
.csr-policy .csr-section li {
  margin-bottom: 6px;
  line-height: 1.6;
}
.csr-policy .csr-issue-date {
  margin-top: 24px;
  font-style: italic;
  color: var(--muted);
}
.csr-policy .csr-download {
  margin-top: 20px;
  text-align: center;
}

/* =====================================================================
   INTERNATIONAL BUSINESS PAGE
   ===================================================================== */
.intl-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}
.intl-cols__text p {
  line-height: 1.8;
  margin: 0 0 14px;
  text-align: justify;
}
.intl-cols__map img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
@media (min-width: 900px) {
  .intl-cols {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* =====================================================================
   LEGAL DISCLAIMER PAGE
   ===================================================================== */
.legal-disclaimer p {
  line-height: 1.85;
  margin: 0 0 16px;
  text-align: justify;
  color: var(--ink);
}
.legal-disclaimer ul {
  margin: 0 0 16px;
  padding-left: 24px;
}
.legal-disclaimer li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Footer social icons sit at the top of the Contact Info column */
.footer-socials {
  display: flex;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.footer-socials li a {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.footer-socials li a svg {
  width: 13px;
  height: 13px;
  fill: #fff;
}
.footer-socials li a:hover {
  background: rgba(255, 255, 255, 0.32);
}
