/* ==========================================================================
   Kubi Energy — static site replica
   Design tokens + shared components
   ========================================================================== */

:root {
  --primary: #015aaa;
  --primary-dark: #01417c;
  --primary-light: #e8f1f9;
  --navy: #143852;
  --navy-deep: #0d2739;
  --text: #333333;
  --muted: #666666;
  --line: #e6e6e6;
  --bg-soft: #f5f5f5;
  --white: #ffffff;
  --star: #f5a623;
  --radius: 6px;
  --radius-lg: 10px;
  --container: 1220px;
  --gutter: 20px;
  --shadow-sm: 0 2px 10px rgba(20, 56, 82, .07);
  --shadow-md: 0 10px 30px rgba(20, 56, 82, .12);
  --shadow-lg: 0 18px 45px rgba(20, 56, 82, .18);
  --font: "Montserrat", "Helvetica Neue", Helvetica, Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --header-h: 76px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* height:auto keeps the HTML width/height attributes from overriding the
   aspect-ratio driven sizing used by the media components below. */
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .25s ease, background-color .25s ease, border-color .25s ease; }
a:hover { color: var(--primary); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.3; color: var(--navy); }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
input, textarea, select { font-family: inherit; font-size: 15px; }
svg { fill: currentColor; }

/* ------------------------------------------------------------ utilities -- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 60px 0; }

.section-head { text-align: center; margin-bottom: 46px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: 34px;
  letter-spacing: -.01em;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: var(--primary);
}
.section-head p { max-width: 720px; margin: 16px auto 0; color: var(--muted); }
.section-head--left { text-align: left; }
.section-head--left h2::after { margin-left: 0; }
.section-head--left p { margin-left: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: all .28s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(1, 90, 170, .28); }
.btn--ghost { border-color: var(--white); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--primary); }
.btn--outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: var(--primary); color: var(--white); }
.btn--block { width: 100%; }

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--primary);
  text-transform: uppercase;
}
.more-link::after { content: "→"; transition: transform .25s ease; }
.more-link:hover::after { transform: translateX(5px); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* -------------------------------------------------------------- topbar -- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
}
.topbar__list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__list a { color: rgba(255, 255, 255, .88); }
.topbar__list a:hover { color: #7fc0f5; }
.topbar__list li { display: flex; align-items: center; gap: 7px; }
.topbar__list svg { width: 14px; height: 14px; opacity: .8; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.lang { display: inline-flex; align-items: center; gap: 6px; }
.lang img, .lang .flag {
  width: 18px; height: 13px; border-radius: 2px; object-fit: cover;
  background: linear-gradient(#3c3b6e 50%, #b22234 50%);
}

/* -------------------------------------------------------------- header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 22px rgba(20, 56, 82, .1); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
/* the supplied logo is a complete lockup (mark + wordmark), so no text sits beside it */
.logo { display: flex; align-items: center; flex-shrink: 0; min-width: 0; }
.logo img { height: 60px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a {
  display: block;
  padding: 26px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  position: relative;
}
.nav > li > a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav > li > a:hover,
.nav > li.is-active > a { color: var(--primary); }
.nav > li > a:hover::after,
.nav > li.is-active > a::after { transform: scaleX(1); }

.has-drop > a::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-right: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--white);
  border-top: 3px solid var(--primary);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .28s ease;
  z-index: 5;
}
.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid #f2f2f2;
}
.dropdown a:last-child { border-bottom: 0; }
.dropdown a:hover { background: var(--primary-light); color: var(--primary); padding-left: 26px; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--navy);
  transition: all .25s ease;
}
.icon-btn:hover { background: var(--primary-light); color: var(--primary); }
.icon-btn svg { width: 19px; height: 19px; }
.nav-toggle { display: none; }
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle span + span { margin-top: 5px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------- search bar -- */
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18vh;
  background: rgba(13, 39, 57, .82);
  backdrop-filter: blur(3px);
}
.search-panel.is-open { display: flex; }
.search-panel__box { width: min(680px, 90vw); }
.search-panel form {
  display: flex;
  background: var(--white);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.search-panel input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 18px 26px;
  font-size: 16px;
}
.search-panel button {
  padding: 0 30px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  letter-spacing: .06em;
}
.search-panel__hint { color: rgba(255, 255, 255, .72); font-size: 13px; margin-top: 14px; text-align: center; }

/* ---------------------------------------------------------------- hero -- */
.hero { position: relative; overflow: hidden; background: var(--navy-deep); }
.hero__track { position: relative; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s ease;
}
.hero__slide:first-child { position: relative; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide img {
  width: 100%;
  aspect-ratio: 1920 / 700;
  object-fit: cover;
}
.hero__link { display: block; }
.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  color: var(--white);
  backdrop-filter: blur(4px);
  transition: background .25s ease;
}
.hero__nav:hover { background: var(--primary); color: var(--white); }
.hero__nav svg { width: 20px; height: 20px; }
.hero__nav--prev { left: 26px; }
.hero__nav--next { right: 26px; }
.hero__dots {
  position: absolute;
  left: 0; right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero__dots button {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  transition: all .25s ease;
}
.hero__dots button.is-active { background: var(--primary); width: 30px; border-radius: 999px; }

/* ------------------------------------------------------- category grid -- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.cat-card img {
  width: 100%;
  aspect-ratio: 457 / 281;
  object-fit: cover;
  transition: transform .6s ease;
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(13, 39, 57, .9));
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cat-card__label span:last-child { font-size: 20px; transition: transform .3s ease; }
.cat-card:hover .cat-card__label span:last-child { transform: translateX(6px); }

/* -------------------------------------------------------- product card -- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.prod-grid--3 { grid-template-columns: repeat(3, 1fr); }

.prod-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.prod-card__media {
  position: relative;
  background: #fbfbfb;
  overflow: hidden;
}
.prod-card__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .6s ease;
}
.prod-card:hover .prod-card__media img { transform: scale(1.07); }
.prod-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.prod-card__badge--hot { background: #d9480f; }
.prod-card__body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.prod-card__cat { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prod-card__title { font-size: 16.5px; line-height: 1.45; }
.prod-card__title a:hover { color: var(--primary); }
.prod-card__desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-card__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.price { font-size: 19px; font-weight: 800; color: var(--primary); }
.price small { font-size: 13px; font-weight: 700; }
.price--ask { font-size: 14px; font-weight: 700; color: var(--navy); }

/* ------------------------------------------------------------- features -- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.feat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  text-align: center;
  transition: all .3s ease;
}
.feat:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-5px); }
.feat__icon {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--primary-light);
}
.feat__icon img { width: 34px; height: 34px; object-fit: contain; }
.feat h3 { font-size: 17px; margin-bottom: 8px; }
.feat p { font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------- industries -- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.app-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy);
}
.app-card img {
  width: 100%;
  aspect-ratio: 368 / 403;
  object-fit: cover;
  transition: transform .7s ease;
}
.app-card:hover img { transform: scale(1.08); }
.app-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 22px;
  background: linear-gradient(transparent 35%, rgba(13, 39, 57, .88));
  color: var(--white);
}
.app-card__overlay h3 { color: var(--white); font-size: 17px; }
.app-card__overlay p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .82);
  margin: 8px 0 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .4s ease, opacity .4s ease;
}
.app-card:hover .app-card__overlay p { max-height: 120px; opacity: 1; }
/* touch devices never fire :hover — keep the caption readable */
@media (hover: none) {
  .app-card__overlay p { max-height: 160px; opacity: 1; }
}

/* ------------------------------------------------------------ reviews -- */
.reviews { position: relative; }
.review-viewport { overflow: hidden; }
.review-track { display: flex; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.review-slide { flex: 0 0 33.3333%; padding: 0 13px; }
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--star); letter-spacing: 3px; font-size: 15px; margin-bottom: 14px; }
.review-card blockquote {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text);
}
.review-author { display: flex; align-items: center; gap: 14px; }
.review-author img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}
.review-author strong { display: block; font-size: 15px; color: var(--navy); }
.review-author span { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.reviews__nav { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.reviews__nav button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--navy);
  background: var(--white);
  transition: all .25s ease;
}
.reviews__nav button:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.reviews__nav svg { width: 18px; height: 18px; }

/* -------------------------------------------------------- cert strip -- */
.cert-strip { background: var(--navy); padding: 34px 0; }
.cert-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.cert-strip__title {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cert-list { display: flex; flex-wrap: wrap; gap: 12px; }
.cert-list li {
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
}

/* ---------------------------------------------------------------- cta -- */
.cta {
  position: relative;
  background: linear-gradient(120deg, var(--navy) 0%, var(--primary) 100%);
  color: var(--white);
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 56px 0;
  flex-wrap: wrap;
}
.cta h2 { color: var(--white); font-size: 30px; margin-bottom: 8px; }
.cta p { color: rgba(255, 255, 255, .85); margin: 0; }

/* -------------------------------------------------------- page banner -- */
.page-banner {
  position: relative;
  /* factory interior rather than a hero banner: hero art has baked-in headline text */
  background: linear-gradient(rgba(13, 39, 57, .82), rgba(1, 90, 170, .72)),
    url("../images/about-2.jpg") center/cover no-repeat;
  padding: 74px 0;
  color: var(--white);
  text-align: center;
}
.page-banner h1 { color: var(--white); font-size: 38px; }
.page-banner p { color: rgba(255, 255, 255, .85); margin: 10px auto 0; max-width: 680px; }
.breadcrumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
  margin-top: 16px;
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; opacity: .6; }

/* ----------------------------------------------------- products layout -- */
.shop {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.widget {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--white);
}
.widget__head {
  padding: 16px 22px;
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.widget__body { padding: 10px 0; }
.cat-tree > li { border-bottom: 1px solid #f1f1f1; }
.cat-tree > li:last-child { border-bottom: 0; }
.cat-tree > li > a {
  display: block;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.cat-tree > li > a:hover,
.cat-tree > li.is-active > a { color: var(--primary); background: var(--primary-light); }
.cat-tree .sub { padding: 0 0 8px; }
.cat-tree .sub a {
  display: block;
  padding: 6px 22px 6px 38px;
  font-size: 13px;
  color: var(--muted);
}
.cat-tree .sub a:hover { color: var(--primary); }
.widget--help { background: var(--navy); color: var(--white); border: 0; }
.widget--help .widget__body { padding: 26px 22px; }
.widget--help h3 { color: var(--white); font-size: 18px; margin-bottom: 10px; }
.widget--help p { font-size: 13.5px; color: rgba(255, 255, 255, .82); margin-bottom: 18px; }

.shop__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 26px;
  background: var(--bg-soft);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: all .25s ease;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.result-count { font-size: 13.5px; color: var(--muted); }
.result-count strong { color: var(--primary); }
.empty-state {
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  grid-column: 1 / -1;
}

/* ---------------------------------------------------- product details -- */
.product-top {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 46px;
  align-items: start;
}
.gallery__main {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fbfbfb;
}
.gallery__main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.gallery__thumbs button {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  background: #fbfbfb;
  transition: border-color .25s ease;
}
.gallery__thumbs button.is-active { border-color: var(--primary); }
.gallery__thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.product-info h1 { font-size: 30px; margin-bottom: 12px; }
.product-info__lead { color: var(--muted); font-size: 15px; }
.product-info__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 20px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-info__price .price { font-size: 34px; }
.product-info__meta { display: grid; gap: 8px; margin-bottom: 22px; font-size: 14.5px; }
.product-info__meta div { display: flex; gap: 8px; }
.product-info__meta dt { color: var(--muted); min-width: 130px; font-weight: 600; }
.product-info__meta dd { margin: 0; font-weight: 700; color: var(--navy); }
.product-info__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.product-info__points { display: grid; gap: 10px; font-size: 14px; }
.product-info__points li { display: flex; gap: 10px; align-items: flex-start; }
.product-info__points svg { width: 17px; height: 17px; color: var(--primary); flex-shrink: 0; margin-top: 5px; }

.tabs { margin-top: 66px; }
.tabs__nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.tabs__nav button {
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: all .25s ease;
}
.tabs__nav button:hover { color: var(--primary); }
.tabs__nav button.is-active { color: var(--primary); border-color: var(--primary); }
.tabs__panel { display: none; padding: 34px 0 0; }
.tabs__panel.is-active { display: block; animation: fadeUp .45s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.check-list { display: grid; gap: 12px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}
.check-list li b { color: var(--primary); }
.check-list .emo { flex-shrink: 0; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table caption { text-align: left; color: var(--muted); padding-bottom: 12px; font-size: 13.5px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 14px 16px; text-align: center; }
.spec-table thead th { background: var(--navy); color: var(--white); font-weight: 700; white-space: nowrap; }
.spec-table tbody th { background: var(--bg-soft); text-align: left; font-weight: 700; color: var(--navy); }
.spec-table tbody tr:nth-child(even) td { background: #fafafa; }

.review-list { display: grid; gap: 18px; }
.review-row {
  display: flex;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.review-row img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review-row__body strong { color: var(--navy); }
.review-row__body .stars { margin: 6px 0 8px; }

/* ---------------------------------------------------------------- about -- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-intro__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.about-copy h2 { font-size: 30px; margin-bottom: 18px; }
.about-copy p { color: var(--muted); font-size: 14.8px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 46px;
}
.stat {
  text-align: center;
  padding: 30px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.stat strong { display: block; font-size: 36px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.stat span { font-size: 13.5px; color: var(--muted); letter-spacing: .04em; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.gallery-grid a { border-radius: var(--radius-lg); overflow: hidden; display: block; }
.gallery-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s ease; }
.gallery-grid a:hover img { transform: scale(1.05); }

.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
}
.timeline li { position: relative; padding-bottom: 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -33px; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
}
.timeline h3 { font-size: 17px; margin-bottom: 6px; }
.timeline span { font-size: 13px; color: var(--primary); font-weight: 700; letter-spacing: .08em; }
.timeline p { font-size: 14px; color: var(--muted); margin: 6px 0 0; }

/* -------------------------------------------------------------- support -- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all .3s ease;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc img { width: 48px; height: 48px; object-fit: contain; margin-bottom: 18px; }
.svc h3 { font-size: 18px; margin-bottom: 10px; }
.svc p { font-size: 14px; color: var(--muted); }

.faq { max-width: 900px; margin: 0 auto; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--white);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
}
.faq__q::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
  transition: transform .3s ease;
  flex-shrink: 0;
}
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a p { padding: 0 22px 20px; font-size: 14.5px; color: var(--muted); margin: 0; }

/* -------------------------------------------------------------- contact -- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.info-list { display: grid; gap: 20px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list__icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.info-list__icon svg { width: 20px; height: 20px; }
.info-list strong { display: block; font-size: 15px; color: var(--navy); margin-bottom: 2px; }
.info-list p, .info-list a { font-size: 14.5px; color: var(--muted); margin: 0; }
.info-list a:hover { color: var(--primary); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: 24px; margin-bottom: 8px; }
.form-card > p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
  letter-spacing: .03em;
}
.field label .req { color: #d9480f; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  background: #fcfcfc;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field textarea { min-height: 138px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(1, 90, 170, .12);
}
.field.is-error input, .field.is-error textarea { border-color: #d9480f; }
.field__error { display: none; color: #d9480f; font-size: 12.5px; margin-top: 5px; }
.field.is-error .field__error { display: block; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.form-success {
  display: none;
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: #e7f6ec;
  border: 1px solid #b7e2c6;
  color: #1c6b3a;
  font-size: 14px;
  font-weight: 600;
}
.form-success.is-visible { display: block; animation: fadeUp .4s ease; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  min-height: 340px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}
.map-embed strong { display: block; color: var(--navy); font-size: 17px; margin-bottom: 6px; }

/* ----------------------------------------------------------------- news -- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.news-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.news-card__date {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
}
.news-card h3 { font-size: 17px; line-height: 1.5; }
.news-card p {
  font-size: 14px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .more-link { margin-top: auto; }

/* --------------------------------------------------------------- footer -- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .72); font-size: 14px; }
.footer-contact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  padding: 42px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-contact li { display: flex; gap: 14px; align-items: flex-start; }
.footer-contact svg { width: 20px; height: 20px; color: #4fa3e3; flex-shrink: 0; margin-top: 4px; }
.footer-contact strong { display: block; color: var(--white); font-size: 14px; margin-bottom: 3px; }
.footer-contact a, .footer-contact span { color: rgba(255, 255, 255, .72); font-size: 13.5px; }
.footer-contact a:hover { color: #7fc0f5; }

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 52px 0 46px;
}
.footer-brand .logo img { height: 52px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 13.5px; line-height: 1.85; margin: 18px 0 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  display: grid; place-items: center;
  color: rgba(255, 255, 255, .8);
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.footer-social svg { width: 17px; height: 17px; }

.footer-col h3 {
  color: var(--white);
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
}
.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 2px;
  background: var(--primary);
}
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 13.8px; color: rgba(255, 255, 255, .72); }
.footer-col a:hover { color: #7fc0f5; padding-left: 5px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }

.to-top {
  position: fixed;
  right: 24px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .3s ease;
  z-index: 80;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary-dark); color: var(--white); }
.to-top svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------- breadcrumb -- */
.crumb-bar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 13.5px;
  color: var(--muted);
}
.crumb-bar ul { display: flex; flex-wrap: wrap; gap: 8px; }
.crumb-bar li:not(:last-child)::after { content: "/"; margin-left: 8px; opacity: .5; }
.crumb-bar a:hover { color: var(--primary); }

/* --------------------------------------------------------- responsive -- */
@media (max-width: 1100px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .feat-grid, .app-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; row-gap: 40px; }
  .footer-contact { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .review-slide { flex-basis: 50%; }
}

@media (max-width: 992px) {
  :root { --header-h: 66px; }
  .topbar__inner { justify-content: center; }
  .topbar__left { display: none; }
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 86vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 78px 0 30px;
    transform: translateX(105%);
    transition: transform .35s ease;
    box-shadow: -8px 0 30px rgba(0, 0, 0, .16);
    overflow-y: auto;
    z-index: 95;
  }
  body.nav-open .nav { transform: none; }
  .nav > li > a { padding: 15px 24px; border-bottom: 1px solid #f2f2f2; }
  .nav > li > a::after { display: none; }
  .nav > li.is-active > a { background: var(--primary-light); }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: 0;
    padding: 0 0 6px;
    display: none;
  }
  .has-drop.is-open .dropdown { display: block; }
  .dropdown a { padding-left: 40px; border-bottom: 0; }
  .header__actions .btn { display: none; }
  .header__inner { gap: 14px; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(13, 39, 57, .5);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    z-index: 94;
  }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

  .section { padding: 62px 0; }
  .section-head h2 { font-size: 28px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .shop { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .product-top { grid-template-columns: 1fr; gap: 32px; }
  .about-intro { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .svc-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__nav { display: none; }
  .page-banner { padding: 54px 0; }
  .page-banner h1 { font-size: 30px; }
}

@media (max-width: 768px) {
  .prod-grid, .prod-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .review-slide { flex-basis: 100%; }
  .sidebar { display: none; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .cta__inner { flex-direction: column; text-align: center; }
  .section-head--left { text-align: center; }
  .section-head--left h2::after { margin-left: auto; }
  .form-card { padding: 24px; }
}

@media (max-width: 600px) {
  body { font-size: 14.5px; }
  .topbar { display: none; }
  .logo img { height: 44px; }
  .cat-grid, .feat-grid, .app-grid, .svc-grid, .news-grid,
  .prod-grid, .prod-grid--3, .stat-grid, .gallery-grid, .form-row {
    grid-template-columns: 1fr;
  }
  /* keep the banner headline (baked into the artwork) inside the crop */
  .hero__slide img { aspect-ratio: 16 / 10; object-position: left center; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-contact { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .section-head h2 { font-size: 24px; }
  .product-info h1 { font-size: 24px; }
  .tabs__nav button { padding: 12px 18px; font-size: 14px; }
  .spec-table { font-size: 13px; }
  .spec-table th, .spec-table td { padding: 10px 8px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
