/* jujindianzi.com — local presentation overrides on top of the reference theme */

:root {
  --brand-blue: #1d4b9e;
  --brand-deep: #122f64;
  --brand-ink: #080607;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: var(--brand-ink);
}

/* ---------- brand ---------- */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  line-height: 1;
}

.brand-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-logo__text {
  color: var(--brand-blue);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.4px;
  text-transform: lowercase;
}

.brand-logo--footer .brand-logo__text {
  color: #fff;
}

.brand-logo--footer .brand-logo__mark {
  background: #fff;
  color: var(--brand-blue);
}

.site-header .logo {
  margin: 0;
  line-height: 1;
}

.site-header .logo a {
  padding: 18px 0;
}

.main-menu__3 ul li:not(:last-child) {
  margin-right: 8px;
}

.main-menu__3 ul li a {
  padding-left: 14px;
  padding-right: 14px;
  font-size: 16px;
  letter-spacing: 0.2px;
}

@media (max-width: 1400px) {
  .main-menu__3 ul li a {
    font-size: 15px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .main-menu__3 ul li:not(:last-child) {
    margin-right: 2px;
  }
}

/* ---------- mobile header ---------- */
.mobile-header {
  padding: 14px 0;
}

.mobile-menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid #e2e6ef;
  border-radius: 8px;
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--brand-blue);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #fff;
  padding: 20px 22px 40px;
  overflow-y: auto;
}

.mobile-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e8ef;
}

.mobile-drawer__close {
  border: 0;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  color: var(--brand-blue);
  cursor: pointer;
}

.mobile-drawer__nav {
  padding-top: 16px;
}

.mobile-drawer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-drawer__nav > ul > li {
  border-bottom: 1px solid #eef1f6;
  padding: 12px 0;
}

.mobile-drawer__nav a {
  display: inline-block;
  color: #172033;
  font-size: 17px;
  font-weight: 600;
  padding: 4px 0;
}

.mobile-drawer__nav li.active > a,
.mobile-drawer__nav a:hover {
  color: var(--brand-blue);
}

.mobile-drawer__nav ul ul {
  padding: 6px 0 0 16px;
}

.mobile-drawer__nav ul ul a {
  font-size: 15px;
  font-weight: 400;
  color: #4a5568;
}

/* ---------- section headings ---------- */
.section-main-title h2 {
  font-size: 60px;
  line-height: 70px;
  color: #fff;
  font-weight: 600;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  margin: 0;
}

.section-main-title h2 span {
  color: #595959;
  font-weight: 400;
}

.section-main-title h2::before {
  position: absolute;
  left: -150px;
  top: 28px;
  height: 1px;
  width: 130px;
  content: "";
  background: var(--brand-blue);
}

.glod-title .section-main-title h2 {
  color: var(--brand-blue);
}

.glod-title .section-main-title h2 span {
  color: var(--brand-ink);
}

.about__right--5 .section-main-title h2::before {
  left: -100px;
  width: 80px;
}

@media (max-width: 767px) {
  .section-main-title h2 {
    font-size: 34px;
    line-height: 44px;
  }

  .section-main-title h2::before {
    display: none;
  }
}

.section-title .section-main-title {
  margin-bottom: 20px;
}

/* ---------- home hero ---------- */
.home-hero {
  min-height: 638px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--brand-deep);
}

.home-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 30, 68, 0.94) 0%, rgba(13, 43, 92, 0.82) 45%, rgba(16, 56, 116, 0.42) 100%);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 96px;
  padding-bottom: 96px;
}

.home-hero__eyebrow {
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 6px;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.home-hero h1 {
  color: #fff;
  font-size: 68px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 20px;
}

.home-hero h1 span {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 23px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 1px;
}

.home-hero__desc {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 30px;
}

.home-hero__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.home-hero .site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--brand-blue);
  border: 2px solid #fff;
  padding: 12px 30px;
  border-radius: 40px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.home-hero .site-btn:hover {
  background: transparent;
  color: #fff;
}

.home-hero__link {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 4px;
}

.home-hero__link:hover {
  color: #fff;
  border-color: #fff;
}

.home-hero__link i {
  margin-left: 8px;
}

@media (max-width: 991px) {
  .home-hero {
    min-height: 520px;
  }

  .home-hero h1 {
    font-size: 46px;
  }
}

@media (max-width: 575px) {
  .home-hero {
    min-height: 470px;
  }

  .home-hero__content {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .home-hero h1 {
    font-size: 34px;
  }

  .home-hero h1 span {
    font-size: 17px;
  }

  .home-hero__eyebrow {
    letter-spacing: 3px;
  }
}

/* ---------- home about ---------- */
.home-about .section-main-title h2 span {
  font-size: 36px;
}

.home-about p {
  line-height: 1.95;
}

.home-about .about-btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ---------- home products ---------- */
.home-products .index-pro-item > .row {
  align-items: center;
  min-height: 250px;
}

.home-products .index-pro-item > .row > div:first-child img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.home-products .index-pro-item-title h3 {
  font-size: 28px;
  line-height: 1.35;
  margin: 0;
}

.home-products .index-pro-item-btn a {
  display: inline-block;
}

.home-products .index-btn {
  font-family: inherit;
}

/* ---------- home applications ---------- */
.home-applications {
  background: linear-gradient(180deg, #f7f9fa 0%, #fff 100%);
}

.home-case-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e7ebf2;
  background: #fff;
}

.home-case-card img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-case-card:hover img {
  transform: scale(1.04);
}

.home-case-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  background: linear-gradient(180deg, rgba(11, 31, 66, 0) 0%, rgba(11, 31, 66, 0.88) 100%);
}

/* ---------- home articles ---------- */
.home-articles {
  background: #f7f9fa;
}

.home-articles .row.align-items-end {
  align-items: center;
}

.home-articles__empty {
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
}

.home-articles__empty h3 {
  color: var(--brand-blue);
  font-size: 26px;
  margin-bottom: 10px;
}

.home-articles__empty p {
  color: #5c6678;
  margin: 0 auto 22px;
  max-width: 620px;
}

.article-card {
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 10px;
  padding: 28px;
  height: 100%;
}

.article-card .content {
  padding: 0 !important;
}

.article-card .blog__title a {
  color: #172033;
}

.article-category {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(29, 75, 158, 0.08);
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 600;
}

.article-summary {
  color: #5c6678;
  line-height: 1.8;
  margin: 12px 0 0;
}

/* ---------- products list ---------- */
.pro-category-title-2.is-active {
  background: rgba(29, 75, 158, 0.06);
}

.product-list_item {
  display: flex;
  gap: 6px;
  align-items: baseline;
  padding: 3px 0;
}

.category-dash {
  color: var(--brand-blue);
  font-weight: 700;
}

.category-intro {
  margin-bottom: 28px;
  padding: 24px 28px;
  background: #f7f9fa;
  border-left: 4px solid var(--brand-blue);
  border-radius: 6px;
}

.category-intro h2 {
  color: var(--brand-blue);
  font-size: 28px;
  margin-bottom: 10px;
}

.category-intro p {
  margin: 0;
  color: #4a5568;
  line-height: 1.85;
}

.pro-item {
  margin-bottom: 30px;
}

.pro-item .pic {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}

.pro-item .pic img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pro-item:hover .pic img {
  transform: scale(1.04);
}

.pro-item .con {
  padding: 16px 4px 0;
}

.pro-item .con h3 {
  margin: 0;
  min-height: 42px;
}

.pro-item .con h3 a {
  color: #172033;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.products-group {
  margin-bottom: 26px;
}

.brand-area {
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
}

.brand-area a {
  color: var(--brand-blue);
}

/* ---------- product detail ---------- */
.product-detail__image {
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  background: #fff;
  padding: 18px;
}

.product-detail__image img {
  width: 100%;
  height: auto;
  display: block;
}

.product-detail__info h2 {
  color: var(--brand-ink);
  font-size: 38px;
  line-height: 1.25;
  margin: 10px 0 18px;
}

.product-detail__info > p {
  color: #4a5568;
  line-height: 1.9;
}

.product-detail__list {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.product-detail__list li {
  color: #334155;
}

.product-detail__list i,
.case-field-list i {
  color: var(--brand-blue);
  margin-right: 8px;
}

.product-detail__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.product-detail__actions .home-hero__link {
  color: var(--brand-blue);
  border-color: rgba(29, 75, 158, 0.4);
}

.product-detail__actions .home-hero__link:hover {
  color: var(--brand-deep);
  border-color: var(--brand-deep);
}

.product-detail__block {
  background: #f7f9fa;
  border-radius: 10px;
  padding: 34px 38px;
}

.product-detail__block h3 {
  color: var(--brand-blue);
  margin-bottom: 14px;
}

.product-detail__block p {
  color: #4a5568;
  line-height: 1.9;
  margin-bottom: 12px;
}

.product-detail__note {
  font-size: 13px;
  color: #7a8494 !important;
}

/* ---------- about / content pages ---------- */
.about-side-image {
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
}

.about-side-image img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.wwa-wrapper__img {
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
}

.wwa-wrapper__img img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

.about-note {
  color: #7a8494 !important;
  font-size: 13px;
}

.about-process {
  background: #f7f9fa;
}

.process-card {
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  padding: 28px;
  height: 100%;
}

.process-card__index {
  display: inline-block;
  color: rgba(29, 75, 158, 0.28);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 14px;
}

.process-card h3 {
  color: var(--brand-blue);
  font-size: 20px;
  margin-bottom: 10px;
}

.process-card p {
  color: #5c6678;
  line-height: 1.8;
  margin: 0;
}

.case-field-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.case-field-list li {
  color: #334155;
}

.case-img-item {
  display: block;
  text-decoration: none;
  overflow: hidden;
}

.case-img-item img {
  transition: transform 0.5s ease;
}

.case-img-item:hover img {
  transform: scale(1.04);
}

.case-gallery-card {
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  overflow: hidden;
  padding-bottom: 18px;
}

.case-gallery-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.case-gallery-card h5 {
  color: #172033;
  font-weight: 600;
  padding-left: 12px;
  padding-right: 12px;
}

.content-page__image {
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  overflow: hidden;
}

.content-page__image img {
  width: 100%;
  display: block;
}

.content-page__body h2 {
  color: var(--brand-ink);
  font-size: 38px;
  margin: 10px 0 16px;
}

.content-page__summary {
  color: #4a5568;
  line-height: 1.9;
}

.content-page__article {
  background: #f7f9fa;
  border-radius: 10px;
  padding: 34px 38px;
}

.content-page__article h3 {
  color: var(--brand-blue);
  margin-bottom: 14px;
}

.content-page__article p {
  color: #4a5568;
  line-height: 1.95;
  margin-bottom: 12px;
}

/* ---------- contact ---------- */
.contact__wrapper {
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  padding: 36px;
}

.contact-info .icon img {
  width: 48px;
}

.contact-info .content .title {
  font-size: 17px;
  color: #7a8494;
  margin-bottom: 4px;
}

.contact-info .content p {
  color: var(--brand-ink);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.contact-panel {
  margin-top: 28px;
  background: linear-gradient(135deg, #173e83 0%, #1d4b9e 100%);
  border-radius: 10px;
  padding: 40px;
  color: #fff;
}

.contact-panel h2 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 12px;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
  max-width: 760px;
}

.contact-panel__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.contact-panel .site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--brand-blue);
  border: 2px solid #fff;
  padding: 11px 26px;
  border-radius: 40px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-panel .site-btn:hover {
  background: transparent;
  color: #fff;
}

.contact-panel .about-btn {
  color: #fff;
}

/* ---------- articles ---------- */
.articles-shell {
  max-width: 1100px;
  margin: 0 auto;
}

.articles-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e9f0;
}

.articles-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.articles-filters button {
  border: 1px solid #dbe1ec;
  background: #fff;
  color: #334155;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.articles-filters button:hover,
.articles-filters button.is-active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.articles-count {
  color: #7a8494;
  margin: 0;
  font-size: 14px;
}

.articles-empty {
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: 12px;
  padding: 64px 40px;
  text-align: center;
}

.articles-empty h2 {
  color: var(--brand-blue);
  font-size: 30px;
  margin-bottom: 12px;
}

.articles-empty p {
  color: #5c6678;
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.85;
}

.articles-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 44px;
}

.articles-pagination button {
  border: 1px solid #dbe1ec;
  background: #fff;
  color: #334155;
  padding: 9px 22px;
  border-radius: 30px;
  cursor: pointer;
}

.articles-pagination button:hover:not(:disabled) {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.articles-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.article-detail__inner {
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  padding: 44px 52px;
}

.article-detail__back {
  display: inline-block;
  color: var(--brand-blue);
  margin-bottom: 22px;
  font-weight: 600;
}

.article-detail__inner h2 {
  color: var(--brand-ink);
  font-size: 40px;
  line-height: 1.3;
  margin: 10px 0 18px;
}

.article-detail__meta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  color: #7a8494;
  font-size: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid #edf0f5;
  margin-bottom: 26px;
}

.article-detail__meta a {
  color: var(--brand-blue);
}

.article-detail__summary {
  color: #4a5568;
  font-size: 16px;
  line-height: 1.9;
  padding: 18px 22px;
  background: #f7f9fa;
  border-left: 4px solid var(--brand-blue);
  border-radius: 6px;
  margin-bottom: 28px;
}

/* ---------- footer ---------- */
.site-footer {
  background: #272727;
}

.footer-secondary {
  margin-top: 46px;
}

.footer__about {
  color: rgba(255, 255, 255, 0.62) !important;
  margin-top: 16px;
  max-width: 560px;
  line-height: 1.9;
}

.site-footer .brand-logo a,
.site-footer .brand-logo {
  padding: 0;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.6;
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .home-products .index-pro-item > .row {
    min-height: 0;
  }

  .home-products .index-pro-item > .row > div:first-child img {
    margin-bottom: 18px;
  }

  .product-detail__info {
    margin-top: 30px;
  }

  .article-detail__inner {
    padding: 30px 24px;
  }

  .article-detail__inner h2 {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .home-hero__actions {
    gap: 18px;
  }

  .product-detail__list,
  .case-field-list {
    grid-template-columns: 1fr;
  }

  .contact__wrapper {
    padding: 22px;
  }

  .contact-panel {
    padding: 28px 24px;
  }

  .articles-empty {
    padding: 44px 22px;
  }

  .content-page__article,
  .product-detail__block {
    padding: 24px 22px;
  }

  .home-products .index-pro-item-title h3 {
    font-size: 22px;
  }
}
