/* ==========================================================
   PRODUCTS BRAND PAGE
========================================================== */

.products-brand-page {
  background: #f6f8fb;
}

.products-brand-empty {
  padding: 110px 0;
}

/* ==========================================================
   HERO
========================================================== */

.products-brand-hero {
  position: relative;
  overflow: hidden;

  padding: 120px 0 96px;

  background-color: var(--color-primary-dark);
  background-image: var(--hero-banner);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.products-brand-hero__overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(4, 32, 72, 0.88) 0%,
    rgba(4, 32, 72, 0.74) 42%,
    rgba(4, 32, 72, 0.54) 100%
  );
}

.products-brand-hero__content {
  position: relative;
  z-index: 2;

  max-width: 760px;
}

.products-brand-hero__eyebrow {
  display: inline-flex;
  align-items: center;

  min-height: 34px;
  padding: 8px 14px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);

  color: rgba(255, 255, 255, 0.92);

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.products-brand-hero__title {
  margin: 20px 0 0;

  color: var(--color-white);

  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.products-brand-hero__description {
  max-width: 700px;

  margin: 22px 0 0;

  color: rgba(255, 255, 255, 0.82);

  font-size: 1rem;
  line-height: 1.9;
}

.products-brand-hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;

  max-width: 720px;

  margin-top: 34px;
}

.products-brand-hero__meta-item {
  padding: 18px 20px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.products-brand-hero__meta-item strong {
  display: block;

  margin-bottom: 4px;

  color: var(--color-white);

  font-size: 1rem;
  font-weight: 800;
}

.products-brand-hero__meta-item span {
  color: rgba(255, 255, 255, 0.78);

  font-size: 13px;
  line-height: 1.5;
}

.products-brand-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 30px;
}

.products-brand-hero__primary,
.products-brand-hero__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;
  padding: 13px 22px;

  border-radius: 12px;

  font-size: 14px;
  font-weight: 700;

  transition: var(--transition-fast);
}

.products-brand-hero__primary {
  background: var(--color-accent);

  color: var(--color-primary);
}

.products-brand-hero__primary:hover {
  transform: translateY(-2px);
  background: #ffd25b;
  color: var(--color-primary);
}

.products-brand-hero__secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);

  background: rgba(255, 255, 255, 0.08);

  color: var(--color-white);
}

.products-brand-hero__secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
}

/* ==========================================================
   STICKY NAV
========================================================== */

.products-brand-nav-wrap {
  position: sticky;
  top: 78px;
  z-index: 90;

  background: rgba(246, 248, 251, 0.92);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(3, 48, 107, 0.08);
}

.products-brand-nav {
  width: 100%;

  display: flex;
  flex-wrap: nowrap;
  gap: 10px;

  overflow-x: auto;
  overflow-y: hidden;

  padding: 16px 0;

  scroll-behavior: smooth;
  scroll-snap-type: x proximity;

  overscroll-behavior-inline: contain;

  -webkit-overflow-scrolling: touch;

  touch-action: pan-x;

  scrollbar-width: none;

  cursor: grab;

  user-select: none;
}

.products-brand-nav::-webkit-scrollbar {
  display: none;
}

.products-brand-nav.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.products-brand-nav__link {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;
  padding: 10px 16px;

  border: 1px solid rgba(3, 48, 107, 0.1);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.92);

  color: var(--color-text-muted);

  font-size: 13px;
  font-weight: 700;

  white-space: nowrap;

  scroll-snap-align: start;

  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.products-brand-nav__link:hover {
  transform: translateY(-1px);

  border-color: rgba(3, 48, 107, 0.2);

  color: var(--color-primary);
}

.products-brand-nav__link.is-active {
  border-color: var(--color-primary);

  background: var(--color-primary);

  color: var(--color-white);
}

/* ==========================================================
   CONTENT
========================================================== */

.products-brand-content {
  padding-top: 52px;
}

.product-category-section {
  scroll-margin-top: 150px;

  margin-bottom: 32px;
  padding: 34px;

  border: 1px solid rgba(3, 48, 107, 0.08);
  border-radius: 28px;

  background: rgba(255, 255, 255, 0.94);

  box-shadow: 0 14px 48px rgba(3, 48, 107, 0.06);
}

.product-category-section:last-child {
  margin-bottom: 0;
}

.product-category-section__top {
  margin-bottom: 28px;
}

.product-category-section__heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-category-section__index {
  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  flex: 0 0 auto;

  border-radius: 16px;

  background: #f1f5fa;

  color: var(--color-primary);

  font-size: 14px;
  font-weight: 800;
}

.product-category-section__eyebrow {
  display: block;

  margin-bottom: 5px;

  color: var(--color-accent-dark);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-category-section__title {
  margin: 0;

  color: var(--color-primary);

  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
}

.product-category-section__description {
  max-width: 980px;

  margin: 18px 0 0;

  color: var(--color-text-muted);

  line-height: 1.9;
}

.product-category-section__body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px;
}

/* ==========================================================
   VISUAL CARD
========================================================== */

.product-visual-card,
.product-info-panel {
  min-width: 0;

  border: 1px solid rgba(3, 48, 107, 0.08);
  border-radius: 24px;

  background: var(--color-white);
}

.product-visual-card {
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(3, 48, 107, 0.05);
}

.product-visual-card__head {
  display: flex;
  align-items: center;

  padding: 18px 22px;

  border-bottom: 1px solid rgba(3, 48, 107, 0.08);
}

.product-visual-card__head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--color-primary);

  font-size: 13px;
  font-weight: 700;
}

.product-gallery-slider {
  position: relative;
}

.product-gallery-slide {
  position: relative;

  height: 450px;
  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(circle at center, rgba(3, 48, 107, 0.05), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.product-gallery-slide img {
  width: 100%;
  height: 100%;

  object-fit: contain;
  padding: 28px;
}

.product-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;

  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border: 0;
  border-radius: 50%;

  background: rgba(10, 34, 71, 0.84);

  color: var(--color-white);

  transform: translateY(-50%);
  transition: var(--transition-fast);
}

.product-gallery-arrow:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.product-gallery-arrow--prev {
  left: 16px;
}

.product-gallery-arrow--next {
  right: 16px;
}

.product-gallery-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 3;

  display: flex;
  justify-content: center;
}

.product-gallery-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;

  margin: 0 4px !important;

  background: rgba(3, 48, 107, 0.24);
  opacity: 1;
}

.product-gallery-pagination .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

/* ==========================================================
   SINGLE IMAGE SLIDER
========================================================== */

.product-gallery-slider--single .product-gallery-arrow,
.product-gallery-slider--single .product-gallery-pagination {
  display: none;
}

.product-gallery-slider--single .product-gallery-slide {
  cursor: default;
}

.product-gallery-empty {
  height: 450px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;

  color: var(--color-text-muted);

  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.product-gallery-empty i {
  font-size: 2rem;
  color: var(--color-primary);
}

/* ==========================================================
   INFO PANEL
========================================================== */

.product-info-panel {
  padding: 26px;
  box-shadow: 0 10px 30px rgba(3, 48, 107, 0.05);
}

.product-info-panel__block {
  margin-bottom: 22px;
}

.product-info-panel__eyebrow {
  display: inline-block;

  margin-bottom: 6px;

  color: var(--color-accent-dark);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-info-panel__title {
  margin: 0;

  color: var(--color-primary);

  font-size: 1.4rem;
  font-weight: 800;
}

.product-info-panel__text {
  margin: 12px 0 0;

  color: var(--color-text-muted);

  font-size: 14px;
  line-height: 1.85;
}

/* ==========================================================
   SPEC LIST
========================================================== */

.product-spec-list {
  border-top: 1px solid rgba(3, 48, 107, 0.08);
}

.product-spec-list__item {
  display: grid;
  grid-template-columns: minmax(160px, 190px) minmax(0, 1fr);
  gap: 18px;

  padding: 16px 0;

  border-bottom: 1px solid rgba(3, 48, 107, 0.08);
}

.product-spec-list__label {
  color: var(--color-text-muted);

  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.product-spec-list__value {
  color: var(--color-primary);

  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

/* ==========================================================
   INDUSTRIES
========================================================== */

.product-industries-panel {
  margin-top: 22px;
}

.product-industries-panel__head {
  margin-bottom: 14px;
}

.product-industries-panel__head span {
  color: var(--color-primary);

  font-size: 13px;
  font-weight: 800;
}

.product-industries-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-industry-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 36px;
  padding: 8px 14px;

  border: 1px solid rgba(3, 48, 107, 0.08);
  border-radius: 999px;

  background: #f8fafc;

  color: var(--color-text);

  font-size: 13px;
  font-weight: 700;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1199.98px) {
  .product-category-section__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .products-brand-nav-wrap {
    top: 70px;
  }

  .products-brand-hero__meta {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .product-gallery-slide,
  .product-gallery-empty {
    height: 390px;
  }
}

@media (max-width: 767.98px) {
  .products-brand-hero {
    padding: 92px 0 78px;
  }

  .products-brand-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .products-brand-hero__primary,
  .products-brand-hero__secondary {
    width: 100%;
  }

  .product-category-section {
    padding: 24px;
    border-radius: 22px;
  }

  .product-category-section__heading {
    align-items: flex-start;
  }

  .product-gallery-slide,
  .product-gallery-empty {
    height: 320px;
  }

  .product-spec-list__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 575.98px) {
  .products-brand-nav-wrap {
    top: 64px;
  }

  .products-brand-nav-wrap .container {
    max-width: none;
    padding-left: 16px;
    padding-right: 0;
  }

  .products-brand-nav {
    padding-right: 18px;
  }

  .products-brand-nav__link {
    min-height: 40px;
    padding: 9px 14px;

    font-size: 12px;
  }

  .products-brand-hero__logo img {
    max-width: 150px;
    max-height: 52px;
  }

  .products-brand-content {
    padding-top: 34px;
  }

  .product-category-section {
    padding: 18px;
  }

  .product-visual-card__head,
  .product-info-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .product-gallery-slide,
  .product-gallery-empty {
    height: 280px;
  }

  .product-gallery-slide img {
    padding: 18px;
  }

  .product-gallery-arrow {
    width: 38px;
    height: 38px;
  }

  .product-gallery-arrow--prev {
    left: 10px;
  }

  .product-gallery-arrow--next {
    right: 10px;
  }
}

/* ==========================================================
   PRODUCT BRAND CTA

   Shared by:
   - /products/hangcha
   - /products/heli
========================================================== */

.products-brand-cta {
  position: relative;

  overflow: hidden;

  padding: 18px 0 92px;

  background: #f6f8fb;
}

/* ==========================================================
   CTA PANEL
========================================================== */

.products-brand-cta__panel {
  position: relative;

  isolation: isolate;

  overflow: hidden;

  display: grid;

  grid-template-columns:
    minmax(0, 1.45fr)
    auto;

  align-items: center;

  gap: 42px;

  padding: clamp(34px, 5vw, 58px);

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 28px;

  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(253, 185, 19, 0.18),
      transparent 25%
    ),
    linear-gradient(135deg, #032b61 0%, #021d43 58%, #01172f 100%);

  box-shadow: 0 28px 70px rgba(3, 48, 107, 0.16);
}

/* ==========================================================
   DECORATIVE CIRCLES
========================================================== */

.products-brand-cta__panel::before {
  content: "";

  position: absolute;

  top: -120px;
  right: -90px;

  z-index: -1;

  width: 320px;
  height: 320px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 50%;
}

.products-brand-cta__panel::after {
  content: "";

  position: absolute;

  right: 62px;
  bottom: -115px;

  z-index: -1;

  width: 230px;
  height: 230px;

  border: 1px solid rgba(253, 185, 19, 0.15);

  border-radius: 50%;
}

/* ==========================================================
   CTA CONTENT
========================================================== */

.products-brand-cta__content {
  max-width: 760px;
}

.products-brand-cta__eyebrow {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-bottom: 14px;

  color: var(--color-accent);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}

/* Small accent line */

.products-brand-cta__eyebrow::before {
  content: "";

  width: 22px;
  height: 2px;

  border-radius: 999px;

  background: var(--color-accent);
}

/* ==========================================================
   CTA TITLE
========================================================== */

.products-brand-cta__title {
  max-width: 720px;

  margin: 0;

  color: var(--color-white);

  font-size: clamp(1.9rem, 3.5vw, 3.2rem);

  font-weight: 800;

  line-height: 1.12;

  letter-spacing: -0.025em;
}

/* ==========================================================
   CTA DESCRIPTION
========================================================== */

.products-brand-cta__description {
  max-width: 720px;

  margin: 18px 0 0;

  color: rgba(255, 255, 255, 0.7);

  font-size: 14px;

  line-height: 1.85;
}

/* ==========================================================
   CTA ACTIONS
========================================================== */

.products-brand-cta__actions {
  display: flex;

  flex-direction: column;

  gap: 11px;

  min-width: 225px;
}

.products-brand-cta__primary,
.products-brand-cta__secondary {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  min-height: 50px;

  padding: 13px 19px;

  border-radius: 12px;

  font-size: 12px;
  font-weight: 800;

  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

/* ==========================================================
   PRIMARY BUTTON
========================================================== */

.products-brand-cta__primary {
  background: var(--color-accent);

  color: var(--color-primary);
}

.products-brand-cta__primary:hover {
  transform: translateY(-2px);

  background: #ffd15a;

  color: var(--color-primary);
}

/* ==========================================================
   SECONDARY BUTTON
========================================================== */

.products-brand-cta__secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);

  background: rgba(255, 255, 255, 0.07);

  color: var(--color-white);
}

.products-brand-cta__secondary:hover {
  transform: translateY(-2px);

  border-color: rgba(255, 255, 255, 0.24);

  background: rgba(255, 255, 255, 0.12);

  color: var(--color-white);
}

/* ==========================================================
   CTA RESPONSIVE
   TABLET
========================================================== */

@media (max-width: 991.98px) {
  .products-brand-cta {
    padding-bottom: 76px;
  }

  .products-brand-cta__panel {
    grid-template-columns: 1fr;

    gap: 28px;
  }

  .products-brand-cta__actions {
    flex-direction: row;

    min-width: 0;
  }

  .products-brand-cta__actions a {
    flex: 1;
  }
}

/* ==========================================================
   CTA RESPONSIVE
   MOBILE
========================================================== */

@media (max-width: 767.98px) {
  .products-brand-cta {
    padding: 8px 0 64px;
  }

  .products-brand-cta__panel {
    padding: 32px 26px;

    border-radius: 22px;
  }

  .products-brand-cta__actions {
    flex-direction: column;
  }
}

/* ==========================================================
   CTA RESPONSIVE
   SMALL MOBILE
========================================================== */

@media (max-width: 575.98px) {
  .products-brand-cta__panel {
    padding: 28px 21px;

    border-radius: 18px;
  }

  .products-brand-cta__description {
    font-size: 13px;
  }
}
