/* ==========================================================================
   Firefighting Robot Store — core stylesheet
   Design tokens + components. Breakpoints live in responsive.css.
   ========================================================================== */

:root {
  --navy: #101d35;
  --navy-900: #0a1424;
  --navy-800: #16263f;
  --navy-700: #1e3150;
  --blue: #1769aa;
  --blue-dark: #12547f;
  --blue-light: #e8f1f9;
  --orange: #f15a24;
  --orange-dark: #d84814;
  --white: #ffffff;
  --gray-50: #f4f6f8;
  --gray-100: #eef1f5;
  --line: #e2e8f0;
  --ink: #273447;
  --muted: #5c6b80;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 29, 53, .06);
  --shadow: 0 12px 32px -18px rgba(16, 29, 53, .28);
  --shadow-lg: 0 28px 60px -32px rgba(16, 29, 53, .45);
  --container: 1240px;
  --header-h: 74px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Barlow", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0;
  line-height: 1.18;
  letter-spacing: -.01em;
  font-weight: 700;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  z-index: 300;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(241, 90, 36, .9); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-800); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline-dark { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline-dark:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 12.5px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .22s ease; }
.link-arrow:hover { color: var(--orange); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------------- header */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .72);
  font-size: 12.5px;
  letter-spacing: .02em;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 13px; height: 13px; color: var(--orange); }
.topbar-right { display: flex; align-items: center; gap: 26px; }
.topbar-left { display: flex; align-items: center; gap: 10px; }
.topbar-left span { color: rgba(255, 255, 255, .5); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 30px -22px rgba(16, 29, 53, .55); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 38px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .02em;
  color: var(--navy);
  text-transform: uppercase;
}
.brand-sub {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav { flex: 1; display: flex; justify-content: center; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  display: inline-block;
  padding: 10px 13px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius);
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--navy); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-actions .btn { padding: 12px 20px; font-size: 12.5px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: background .2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform .25s ease, top .25s 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-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.mobile-nav.is-open { max-height: 560px; overflow-y: auto; }
.mobile-nav ul { padding: 10px 0 18px; }
.mobile-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  font-size: 15.5px;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-nav a.is-active { color: var(--orange); }
.mobile-nav .btn { margin: 16px 28px 24px; }

/* --------------------------------------------------------------------- hero */
.hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.hero-slides { position: relative; min-height: clamp(520px, 78vh, 760px); }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 8s linear;
}
.hero-slide.is-active .hero-slide-img { transform: scale(1); }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 20, 36, .96) 0%, rgba(10, 20, 36, .86) 38%, rgba(12, 26, 46, .52) 68%, rgba(16, 29, 53, .32) 100%),
    linear-gradient(0deg, rgba(10, 20, 36, .7), rgba(10, 20, 36, 0) 45%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 88px 88px;
  pointer-events: none;
  z-index: 1;
}
.hero-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(520px, 78vh, 760px);
  padding-block: 96px 120px;
}
.hero-copy { max-width: 720px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #ffb59a;
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--orange);
}
.hero h1,
.hero h2.hero-title {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.06;
  letter-spacing: -.015em;
  margin-bottom: 22px;
  max-width: 15ch;
}
.hero-sub {
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, .8);
  max-width: 54ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  z-index: 3;
}
.hero-controls .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hero-dots { display: flex; align-items: center; gap: 10px; }
.hero-dot {
  width: 42px;
  height: 3px;
  border: 0;
  background: rgba(255, 255, 255, .28);
  cursor: pointer;
  padding: 0;
  transition: background .25s;
}
.hero-dot.is-active { background: var(--orange); }
.hero-count {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .6);
}
.hero-count b { color: #fff; font-weight: 600; }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}
.hero-arrow:hover { background: var(--orange); border-color: var(--orange); }
.hero-arrow svg { width: 17px; height: 17px; }

/* ---------------------------------------------------------- utility band */
.stat-band { background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.stat-band .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .1);
}
.stat {
  background: var(--navy);
  padding: 26px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat svg { width: 26px; height: 26px; color: var(--orange); flex: none; }
.stat b { display: block; font-family: var(--font-display); font-size: 17px; letter-spacing: .01em; }
.stat span { font-size: 12.5px; color: rgba(255, 255, 255, .6); }

/* --------------------------------------------------------------- sections */
.section { padding: clamp(60px, 7vw, 104px) 0; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .section-head p { color: rgba(255, 255, 255, .7); }
.section--navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.section--navy > .container { position: relative; z-index: 1; }
.section--tight { padding: clamp(44px, 5vw, 68px) 0; }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 4vw, 54px); }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-head.is-center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 14px; }
.section-head p { font-size: 16px; color: var(--muted); max-width: 62ch; }
.section-head.is-center p { margin-left: auto; margin-right: auto; }
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(34px, 4vw, 54px);
}
.section-head-row .section-head { margin-bottom: 0; }

/* ------------------------------------------------------------------ grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ------------------------------------------------------------------ cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover { border-color: #cfd8e3; box-shadow: var(--shadow); transform: translateY(-3px); }

/* category card */
.cat-card { position: relative; display: block; background: var(--navy); overflow: hidden; border-radius: var(--radius); }
.cat-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.cat-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; opacity: .92; }
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 36, .1) 0%, rgba(10, 20, 36, .55) 52%, rgba(10, 20, 36, .92) 100%);
  pointer-events: none;
}
.cat-card:hover .cat-card-media img { transform: scale(1.06); }
.cat-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px 24px 24px;
  color: #fff;
}
.cat-card-body h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.cat-card-body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-card-body .link-arrow { color: #ffb59a; }
.cat-card:hover .cat-card-body .link-arrow { color: #fff; }

/* product card */
.product-card { display: flex; flex-direction: column; }
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-bottom: 1px solid var(--gray-100);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(16, 29, 53, .88);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 2px;
}
.product-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 16.5px; line-height: 1.35; margin-bottom: 9px; }
.product-body h3 a:hover { color: var(--blue); }
.product-body p {
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
}
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-foot .link-arrow { font-size: 11.5px; }
.product-foot .btn { padding: 9px 14px; font-size: 11.5px; }

/* why choose */
.adv-card { padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s, transform .25s; }
.adv-card:hover { border-color: rgba(23, 105, 170, .35); box-shadow: var(--shadow); transform: translateY(-3px); }
.adv-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--orange);
  display: block;
  margin-bottom: 16px;
}
.adv-card h3 { font-size: 18px; margin-bottom: 10px; }
.adv-card p { font-size: 14px; color: var(--muted); line-height: 1.68; }

.section--navy .adv-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.section--navy .adv-card p { color: rgba(255, 255, 255, .68); }
.section--navy .adv-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .25); }

/* --------------------------------------------------------------- split block */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--rev .split-media { order: -1; }
.split-media { position: relative; }
.split-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split-media.is-offset::after {
  content: "";
  position: absolute;
  left: -18px;
  top: 18px;
  right: 18px;
  bottom: -18px;
  border: 1px solid rgba(23, 105, 170, .35);
  border-radius: var(--radius);
  z-index: -1;
}
.split-body h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 18px; }
.split-body p + p { margin-top: 14px; }
.split-body p { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.split-body .btn { margin-top: 28px; }
.mini-list { display: grid; gap: 12px; margin: 22px 0 4px; }
.mini-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.mini-list svg { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 3px; }

/* -------------------------------------------------------------- case cards */
.case-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; }
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #cfd8e3; }
.case-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.case-card:hover .case-media img { transform: scale(1.05); }
.case-sector {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 10px;
}
.case-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { font-size: 17px; line-height: 1.4; margin-bottom: 8px; }
.case-body h3 a:hover { color: var(--blue); }
.case-sub { font-size: 12.5px; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.case-body p { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.case-body .link-arrow { margin-top: auto; }

/* ------------------------------------------------------------------- quote */
.quote-block { border-left: 3px solid var(--orange); padding: 6px 0 6px 26px; }
.quote-block p { font-family: var(--font-display); font-size: clamp(19px, 2vw, 24px); line-height: 1.5; color: var(--navy); font-weight: 600; }

/* --------------------------------------------------------------------- CTA */
.cta-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -180px;
  background: radial-gradient(circle, rgba(23, 105, 170, .55), transparent 68%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(52px, 6vw, 76px) 0;
}
.cta-inner h2 { color: #fff; font-size: clamp(25px, 2.8vw, 36px); margin-bottom: 12px; max-width: 24ch; }
.cta-inner p { color: rgba(255, 255, 255, .72); font-size: 16px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }

/* -------------------------------------------------------------- page hero */
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, rgba(10, 20, 36, .95) 0%, rgba(10, 20, 36, .82) 45%, rgba(12, 26, 46, .5) 100%);
}
.page-hero-inner { position: relative; z-index: 2; padding-block: clamp(60px, 7vw, 96px) clamp(50px, 6vw, 78px); }
.page-hero h1 { color: #fff; font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 16px; max-width: 22ch; }
.page-hero p { color: rgba(255, 255, 255, .78); font-size: 16.5px; max-width: 66ch; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255, 255, 255, .78); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 12px; height: 12px; opacity: .6; }
.breadcrumb span[aria-current] { color: #fff; }

/* ------------------------------------------------------------- products UI */
.products-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.filter-panel { position: sticky; top: calc(var(--header-h) + 20px); }
.filter-panel h2 {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.filter-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--ink);
  border-left: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-list a:hover { background: var(--gray-50); color: var(--navy); }
.filter-list a.is-active { border-left-color: var(--orange); background: var(--blue-light); color: var(--navy); font-weight: 600; }
.filter-list small { font-size: 11.5px; color: var(--muted); }
.filter-help {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--gray-50);
}
.filter-help h3 { font-size: 15px; margin-bottom: 8px; }
.filter-help p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.toolbar p { font-size: 13.5px; color: var(--muted); }
.toolbar strong { color: var(--navy); }
.pagination { display: flex; align-items: center; gap: 6px; margin-top: 40px; justify-content: center; flex-wrap: wrap; }
.pagination button {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.pagination button:hover:not(:disabled) { border-color: var(--navy); color: var(--navy); }
.pagination button[aria-current="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

/* ------------------------------------------------------- product detail */
.product-hero { background: var(--gray-50); border-bottom: 1px solid var(--line); }
.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  padding: clamp(36px, 4vw, 56px) 0;
  align-items: start;
}
.gallery-main {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}
.gallery-main img { max-height: 100%; object-fit: contain; }
.gallery-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  transition: background .2s, color .2s;
}
.gallery-zoom:hover { background: var(--navy); color: #fff; }
.gallery-zoom svg { width: 17px; height: 17px; }

.product-info h1 { font-size: clamp(25px, 2.6vw, 34px); margin-bottom: 10px; }
.product-info .tagline { font-size: 14.5px; font-weight: 600; color: var(--blue); margin-bottom: 16px; }
.product-info .lede { font-size: 15.5px; color: var(--muted); line-height: 1.75; margin-bottom: 24px; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  font-size: 12.5px;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink);
}
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.product-meta { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 10px; }
.product-meta li { display: flex; gap: 10px; font-size: 13.5px; color: var(--muted); }
.product-meta b { color: var(--navy); font-weight: 600; flex: none; width: 108px; }

.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 4vw, 56px); align-items: start; }
.detail-body h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 40px 0 16px; }
.detail-body h2:first-child { margin-top: 0; }
.detail-body h3 { font-size: 17px; margin: 28px 0 12px; }
.detail-body p { font-size: 15px; line-height: 1.8; color: var(--muted); }
.detail-body p + p { margin-top: 12px; }
.detail-body ul.bullets { display: grid; gap: 10px; margin: 16px 0; }
.detail-body ul.bullets li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--muted); }
.detail-body ul.bullets li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }

.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: 14px; }
.spec-table caption {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
}
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; }
.spec-table th { background: var(--gray-50); font-weight: 600; color: var(--navy); width: 40%; }
.spec-table td { color: var(--ink); }
.spec-table tr:nth-child(even) td { background: #fbfcfd; }
.spec-table.is-matrix td:first-child { background: var(--gray-50); font-weight: 600; color: var(--navy); }

.detail-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.aside-card h3 { font-size: 16px; margin-bottom: 10px; }
.aside-card p { font-size: 13.5px; color: var(--muted); line-height: 1.66; margin-bottom: 16px; }
.aside-card .btn { margin-bottom: 10px; }
.aside-card .btn:last-child { margin-bottom: 0; }
.aside-card.is-dark { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .78); }
.aside-card.is-dark h3 { color: #fff; }
.aside-card.is-dark p { color: rgba(255, 255, 255, .7); }

/* -------------------------------------------------------------- certificates */
.doc-card {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.doc-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #cfd8e3; }
.doc-icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: var(--radius);
}
.doc-icon svg { width: 22px; height: 22px; }
.doc-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.doc-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.doc-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
}

.notice {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: #fff8f3;
  border: 1px solid #fbd9c6;
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: #7a4526;
  line-height: 1.65;
}
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--orange); }
.notice strong { color: #5c2f13; }

/* --------------------------------------------------------------- gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  background: var(--navy-800);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.gallery-item:hover img { transform: scale(1.05); opacity: .82; }
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  text-align: left;
  background: linear-gradient(0deg, rgba(10, 20, 36, .9), transparent);
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 12, 22, .94);
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--orange); border-color: var(--orange); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox svg { width: 18px; height: 18px; }
.lightbox-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .72); font-size: 13px; }

/* ------------------------------------------------------------------- forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.is-full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c6b80' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 170, .12);
}
.field .error-msg { font-size: 12px; color: #c0361a; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #dd5b39; }
.field.has-error .error-msg { display: block; }
.form-note { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.form-success {
  display: none;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: #edf8f1;
  border: 1px solid #bfe4cb;
  color: #1f6b3b;
  font-size: 14px;
  margin-bottom: 18px;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 4vw, 60px); align-items: start; }
.contact-list { display: grid; gap: 2px; }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-child { padding-top: 0; }
.contact-item .doc-icon { background: var(--gray-50); color: var(--navy); }
.contact-item h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-family: var(--font-body); font-weight: 700; }
.contact-item p, .contact-item a { font-size: 15px; color: var(--navy); font-weight: 500; line-height: 1.6; }
.contact-item a:hover { color: var(--blue); }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .62); padding: clamp(48px, 5vw, 72px) 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, .45); }
.footer-brand p { line-height: 1.75; margin-bottom: 20px; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
}
.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col li + li { margin-top: 2px; }
.footer-col a { display: inline-block; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 11px; padding: 6px 0; line-height: 1.6; }
.footer-contact svg { width: 15px; height: 15px; color: var(--orange); flex: none; margin-top: 4px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .45);
  flex-wrap: wrap;
}
.footer-bottom nav { display: flex; gap: 20px; }

/* ------------------------------------------------------------------- misc */
.fab-stack { position: fixed; right: 22px; bottom: 26px; z-index: 130; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.fab {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 26px -12px rgba(10, 20, 36, .6);
  transition: transform .2s, background .2s, opacity .2s;
}
.fab:hover { transform: translateY(-3px); }
.fab svg { width: 22px; height: 22px; }
.fab-whatsapp { background: #25d366; color: #fff; }
.fab-whatsapp:hover { background: #1eb257; }
.fab-top { background: var(--navy); color: #fff; opacity: 0; visibility: hidden; }
.fab-top.is-visible { opacity: 1; visibility: visible; }
.fab-top:hover { background: var(--orange); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 15, 26, .72);
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal-box { background: #fff; border-radius: var(--radius-lg); max-width: 460px; width: 100%; padding: 32px; box-shadow: var(--shadow-lg); }
.modal-box h2 { font-size: 20px; margin-bottom: 12px; }
.modal-box p { font-size: 14.5px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.modal-box .modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.modal-close { float: right; border: 0; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }

/* reveal animation — only armed when JS is available, so the page
   stays fully readable if scripts are blocked */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-slide-img { transition: none; }
}

.nowrap { white-space: nowrap; }

/* company profile: heading column beside the body copy on wide screens */
.profile-grid { display: grid; gap: clamp(22px, 3vw, 40px); grid-template-columns: minmax(0, 1fr); }
.profile-head h2 { font-size: clamp(26px, 3vw, 38px); }
.profile-body { max-width: 78ch; }
@media (min-width: 1024px) {
  .profile-grid { grid-template-columns: minmax(230px, 330px) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); }
  .profile-head { position: sticky; top: 120px; align-self: start; }
}

/* JS state helpers */
[hidden] { display: none !important; }

/* dark-section card fixes */
.section--navy .adv-card,
.section--navy .doc-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.section--navy .adv-card h3,
.section--navy .doc-card h3 { color: #fff; }
.section--navy .adv-card p,
.section--navy .doc-card p { color: rgba(255,255,255,.72); }
.section--navy .doc-card .doc-icon { background: rgba(255,255,255,.1); color: #ffb59a; }
.section--navy .doc-card .doc-badge { color: #ffb59a; }
.section--navy .adv-card:hover,
.section--navy .doc-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); }

/* product card description: allow one more line */
.product-body p { -webkit-line-clamp: 4; }

/* offset frame behind media */
.split-media { position: relative; z-index: 0; }
.split-media img { position: relative; z-index: 1; }
.split-media.is-offset::after { z-index: 0; }

/* tighter stat band typography */
.stat { align-items: flex-start; }
.stat b { font-size: 15.5px; margin-bottom: 2px; }
.stat span { font-size: 12px; line-height: 1.5; display: block; }
.stat svg { margin-top: 2px; }

/* capability panel (home manufacturing section) */
.cap-panel {
  background: var(--navy);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  color: rgba(255, 255, 255, .72);
  position: relative;
  overflow: hidden;
}
.cap-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
}
.cap-panel > * { position: relative; z-index: 1; }
.cap-panel h3 {
  color: #fff;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 22px;
}
.cap-panel ul { display: grid; gap: 0; }
.cap-panel li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: 14px;
}
.cap-panel li:last-child { border-bottom: 0; padding-bottom: 0; }
.cap-panel b {
  font-family: var(--font-display);
  font-size: 25px;
  color: #fff;
  min-width: 108px;
  line-height: 1;
}
.cap-panel b em { color: var(--orange); font-style: normal; }
