/* =========================================
   HUASHUN TRADE — Global Tissue Supplier
   CSS Stylesheet
   ========================================= */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Public Sans', sans-serif;
  color: #1a1c1c;
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ---- CSS VARIABLES ---- */
:root {
  --color-primary:    #0056b3;
  --color-primary-dk: #003f87;
  --color-dark:       #1a1c1c;
  --color-body:       #424752;
  --color-muted:      #727784;
  --color-border:     #c2c6d4;
  --color-bg-light:   #f5f7f9;
  --color-bg-gray:    #eeeeee;
  --color-footer-bg:  #3f4243;
  --color-link-gray:  #c5c7c8;

  --font-heading: 'Archivo Narrow', sans-serif;
  --font-ui:      'Inter', sans-serif;
  --font-body:    'Public Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --nav-h: 65px;
  --hero-h: clamp(520px, calc(100svh - var(--nav-h)), 680px);
  --max-w: 1440px;
  --section-px: 64px;
  --section-py: 96px;
}

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--section-px);
  padding-right: var(--section-px);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: opacity .2s, background .2s;
  white-space: nowrap;
  padding: 14px 48px;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border: none;
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.btn--primary:hover { opacity: .88; }

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  padding: 14px 49px;
}
.btn--outline:hover { background: rgba(0,86,179,.06); }

.btn--outline-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: 4px;
  padding: 10px 24px;
  white-space: nowrap;
  transition: background .2s;
}
.btn--outline-sm:hover { background: rgba(0,86,179,.06); }

.btn--quote {
  background: #e8e8e8;
  color: var(--color-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 0;
  letter-spacing: 0;
  white-space: nowrap;
  transition: background .2s;
}
.btn--quote:hover { background: #d4d4d4; }

.btn--submit {
  width: 100%;
  background: var(--color-primary-dk);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 16px;
  height: 56px;
  border-radius: 0;
  transition: opacity .2s;
}
.btn--submit:hover { opacity: .9; }

/* ===========================================
   NAVBAR
   =========================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: #fff;
  z-index: 1000;
  border-bottom: 1px solid #f0f0f0;
}

.navbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

.navbar__logo {
  flex: 0 0 191px;
  display: flex;
  align-items: center;
  min-width: 0;
}

.navbar__logo a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  max-width: 100%;
}

.logo-img {
  height: 54px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1;
  justify-content: center;
  height: 100%;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-body);
  padding-top: 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-link:hover { color: var(--color-primary-dk); }
.nav-link--active {
  color: var(--color-primary-dk);
  font-weight: 600;
  border-bottom-color: var(--color-primary-dk);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 8px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s;
}
.lang-btn:hover { background: rgba(0, 0, 0, 0.04); }
.lang-btn img { width: 22px; height: 22px; object-fit: contain; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s;
}
.hamburger:hover { background: rgba(0, 0, 0, 0.04); }
.hamburger span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
  position: relative;
  height: var(--hero-h);
  margin-top: var(--nav-h);
  overflow: hidden;
  background: var(--color-bg-light);
  padding: 0;
}

.hero-swiper,
.hero-swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.hero-swiper .swiper-slide {
  height: 100% !important;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--color-bg-light);
}

.hero-slide .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-slide .hero__bg-img {
  object-position: center right;
}

.hero-slide .container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-swiper__nav {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-swiper__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s, border-color 0.2s;
}

.hero-swiper__btn:hover {
  background: rgba(0, 86, 179, 0.55);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-swiper__btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.hero-swiper__prev { left: 24px; }
.hero-swiper__next { right: 24px; }

.hero-swiper__pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px !important;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-swiper__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition: transform 0.2s, background 0.2s;
}

.hero-swiper__pagination .swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.15);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center right;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  opacity: 1;
  filter: none;
  background: linear-gradient(
    100deg,
    rgba(245, 247, 249, 0.94) 0%,
    rgba(245, 247, 249, 0.82) 38%,
    rgba(245, 247, 249, 0.45) 58%,
    rgba(245, 247, 249, 0.08) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* Hero swiper: slide-change entrance (transform only, keep text visible) */
@keyframes hs-heroIn {
  from { transform: translateY(24px); }
  to   { transform: translateY(0); }
}

.hero-swiper .hero-slide.hero-slide--animate .hero__eyebrow { animation: hs-heroIn 0.65s cubic-bezier(0.22,1,0.36,1) 0.05s both; }
.hero-swiper .hero-slide.hero-slide--animate .hero__title   { animation: hs-heroIn 0.70s cubic-bezier(0.22,1,0.36,1) 0.18s both; }
.hero-swiper .hero-slide.hero-slide--animate .hero__desc    { animation: hs-heroIn 0.65s cubic-bezier(0.22,1,0.36,1) 0.30s both; }
.hero-swiper .hero-slide.hero-slide--animate .hero__tags    { animation: hs-heroIn 0.60s cubic-bezier(0.22,1,0.36,1) 0.40s both; }
.hero-swiper .hero-slide.hero-slide--animate .hero__btns    { animation: hs-heroIn 0.60s cubic-bezier(0.22,1,0.36,1) 0.50s both; }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 672px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero__eyebrow {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.hero__title {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 52px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.hero__desc {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 8px;
}

.hero__tags {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 14px;
  color: #333;
  margin-bottom: 32px;
  margin-top: 4px;
}

.hero__btns {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* ===========================================
   PRODUCTS SECTION
   =========================================== */
.products {
  padding: var(--section-py) 0;
  background: #fff;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
  border-left: 4px solid var(--color-primary-dk);
  padding-left: 24px;
  min-height: 60px;
  position: relative;
}

.section-title-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--color-dark);
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--color-muted);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Product Card */
.product-card {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: box-shadow .2s;
}
.product-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.product-card__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
  margin-bottom: 8px;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card__category {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-primary-dk);
  margin-bottom: 2px;
}

.product-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.product-card__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-body);
  padding-bottom: 20px;
}

.product-card__footer {
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__link {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--color-body);
  transition: color .2s;
}
.product-card__link:hover { color: var(--color-primary); }

/* ===========================================
   ABOUT SECTION
   =========================================== */
.about {
  background: var(--color-bg-gray);
  padding: var(--section-py) 0;
}

.about__inner {
  display: flex;
  gap: 64px;
  align-items: stretch;
}

.about__img-col {
  flex: 1;
  min-width: 0;
  position: relative;
}

.about__img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.2);
  mix-blend-mode: saturation;
}

.about__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.about__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.32px;
  color: var(--color-primary-dk);
  line-height: 1.2;
}

.about__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-body);
}

.about__text p {
  margin: 0 0 1em;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 16px;
}

.about__stat {
  border-left: 2px solid var(--color-primary-dk);
  padding-left: 16px;
  display: flex;
  flex-direction: column;
}

.about__stat-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.96px;
  color: var(--color-dark);
  line-height: 1.1;
}

.about__stat-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-body);
  margin-top: 4px;
}

.about__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-primary-dk);
  margin-top: 8px;
  transition: gap .2s;
}
.about__more:hover { gap: 12px; }

.about__arrow {
  width: 16px; height: 16px;
  object-fit: contain;
}

/* ===========================================
   NEWS SECTION
   =========================================== */
.news {
  padding: var(--section-py) 0;
  background: #fff;
}

.news__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.news__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.32px;
  color: var(--color-dark);
}

.news__view-all {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--color-primary-dk);
  transition: opacity .2s;
}
.news__view-all:hover { opacity: .75; }

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Article Card */
.article-card {
  border: 1px solid var(--color-border);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}
.article-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.article-card__img-wrap {
  height: 192px;
  overflow: hidden;
  background: var(--color-bg-gray);
  flex-shrink: 0;
}

.article-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.article-card:hover .article-card__img { transform: scale(1.04); }

.article-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.article-card__date {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--color-muted);
  display: block;
}

.article-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
  color: var(--color-dark);
}

.article-card__title a {
  color: inherit;
  text-decoration: none;
}

.article-card__title a:hover {
  color: var(--color-primary);
}

a.article-card__img-wrap {
  display: block;
}

.article-card__excerpt {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-body);
  margin-top: 8px;
}

/* ===========================================
   CONTACT SECTION
   =========================================== */
.contact {
  background: var(--color-primary-dk);
  padding: var(--section-py) 0;
}

.contact__inner {
  display: flex;
  gap: 80px;
  align-items: stretch;
}

/* Contact Info */
.contact__info {
  flex: 0 0 408px;
  max-width: 408px;
  display: flex;
  flex-direction: column;
  gap: 0;
  color: #fff;
}

.contact__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.32px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 28px;
}

.contact__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.8);
  margin-bottom: 48px;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__icon {
  width: 20px; height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact__label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  display: block;
}

.contact__value {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  display: block;
}

a.contact__value {
  text-decoration: none;
}

a.contact__value:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* Contact Form */
.contact__form-wrap {
  flex: 1;
  min-width: 0;
  background: #fff;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group--full { grid-column: 1 / -1; }

.form-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--color-dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #f9f9f9;
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-dark);
  outline: none;
  transition: border-color .2s;
}

.form-input,
.form-select {
  padding: 15px 17px;
  height: 50px;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a1c1c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-textarea {
  padding: 13px 17px;
  height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #6b7280;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  background: #fff;
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
  background: var(--color-footer-bg);
  padding-top: 48px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 278px 1fr 1fr 1fr;
  gap: 24px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__col--brand {
  gap: 24px;
}

.footer__logo {
  width: 40px; height: 40px;
  object-fit: contain;
}

.footer__brand-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.43;
  color: rgba(255,255,255,.7);
}

.footer__heading {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-link-gray);
  transition: color .2s;
}
.footer__link:hover { color: #fff; }

.footer__newsletter-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-link-gray);
  margin-top: 8px;
}

.footer__newsletter-form {
  display: flex;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}

.footer__newsletter-input {
  flex: 1;
  min-width: 0;
  background: #454748;
  border: none;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #6b7280;
  outline: none;
}
.footer__newsletter-input::placeholder { color: #6b7280; }
.footer__newsletter-input:focus { color: #fff; }

.footer__newsletter-btn {
  width: 48px;
  height: 40px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity .2s;
}
.footer__newsletter-btn:hover { opacity: .88; }
.footer__newsletter-btn img {
  width: 19px; height: 16px;
  object-fit: contain;
  pointer-events: none;
}

.footer__newsletter-msg {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
}

.footer__bottom {
  border-top: 1px solid #454748;
  padding: 33px 64px;
}

.footer__copyright {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: rgba(225,227,228,.5);
  text-align: center;
}
.footer__buts{
    width: 100%;
}
.footer__but1{
    width: 100%;
        font-family: var(--font-mono);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #fff;
}
.footer__but2{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.footer__but2_1{
      max-width: 80px;
    height: 40px;
    margin-right: 10px;
    margin-top: 10px;
    object-fit: contain;
}
.footer__but2_1:last-child{
    margin-right: 0;
}
.payClick2 {
  cursor: pointer;
  transition: opacity .2s;
}
.payClick2:hover { opacity: .85; }

.footer__pay-link {
  display: inline-block;
  line-height: 0;
  transition: opacity .2s;
}
.footer__pay-link:hover { opacity: .85; }
.footer__pay-link .footer__but2_1 {
  margin-top: 10px;
  margin-right: 10px;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.payment-modal[hidden] { display: none; }
body.payment-modal-open { overflow: hidden; }

.payment-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

.payment-modal__dialog {
  position: relative;
  width: min(100%, 480px);
  background: #fff;
  border-radius: 8px;
  padding: 32px 28px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.payment-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
}
.payment-modal__close:hover { color: #111; }

.payment-modal__title {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--color-primary, #1a5c3a);
}

.payment-modal__list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.payment-modal__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: start;
}

.payment-modal__row dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px;
  color: #374151;
}

.payment-modal__row dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: #111827;
  word-break: break-word;
}

@media (max-width: 768px) {
  .payment-modal__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ===========================================
   RESPONSIVE — TABLET (≤1100px)
   =========================================== */
@media (max-width: 1100px) {
  :root {
    --section-px: 40px;
    --section-py: 72px;
  }

  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__inner {
    gap: 40px;
  }

  .contact__inner {
    gap: 48px;
  }

  .contact__info {
    flex: 0 0 320px;
    max-width: 320px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer__col--brand {
    grid-column: 1 / -1;
  }
}

/* ===========================================
   RESPONSIVE — MOBILE (≤768px)
   =========================================== */
@media (max-width: 768px) {
  :root {
    --section-px: 20px;
    --section-py: 56px;
    --nav-h: 60px;
    --hero-h: clamp(460px, calc(100svh - var(--nav-h)), 600px);
  }

  /* Navbar */
  .navbar {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  }
  .navbar__inner {
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: var(--nav-h);
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .navbar__logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 52px);
  }
  .navbar__logo a {
    height: auto;
  }
  .logo-img {
    height: 36px;
    max-width: min(190px, 100%);
  }
  .navbar__actions {
    flex: 0 0 auto;
    align-items: center;
    gap: 0;
    margin-left: auto;
  }
  .lang-btn {
    display: none;
  }
  .hamburger {
    display: inline-flex;
    width: 44px;
    height: 44px;
  }
  .hamburger:active {
    background: rgba(0, 0, 0, 0.06);
  }
  .navbar__nav {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 1001;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    height: auto;
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
    padding: 8px 20px 24px;
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
    border-bottom: 1px solid #f0f0f0;
    transform: translateY(calc(-100% - var(--nav-h)));
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s ease, visibility .3s;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .navbar__nav.is-open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-link {
    width: 100%;
    min-height: 48px;
    height: auto;
    padding: 12px 0;
    border-bottom: none;
    border-top: 1px solid #f0f0f0;
    font-size: 15px;
  }
  .nav-link:first-child { border-top: none; }
  .nav-link--active {
    color: var(--color-primary-dk);
    border-bottom: none;
  }

  body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    top: var(--nav-h);
    background: rgba(0, 0, 0, 0.35);
    z-index: 1000;
  }

  /* Hero */
  .hero {
    height: var(--hero-h);
    min-height: 440px;
  }
  .hero-swiper,
  .hero-swiper .swiper-wrapper,
  .hero-swiper .swiper-slide,
  .hero-slide {
    min-height: 440px;
    height: 100% !important;
  }
  .hero-slide {
    padding: 0;
    box-sizing: border-box;
  }
  .hero-slide .container {
    padding-top: 24px;
    padding-bottom: 56px;
    align-items: center;
  }
  .hero-slide .hero__bg-img {
    object-position: 80% center;
  }
  .hero-slide .hero__gradient {
    background: linear-gradient(
      180deg,
      rgba(245, 247, 249, 0.96) 0%,
      rgba(245, 247, 249, 0.88) 42%,
      rgba(245, 247, 249, 0.55) 68%,
      rgba(245, 247, 249, 0.2) 100%
    );
  }
  .hero-swiper__prev { left: 8px; }
  .hero-swiper__next { right: 8px; }
  .hero-swiper__btn {
    width: 40px;
    height: 40px;
  }
  .hero-swiper__pagination {
    bottom: 16px !important;
  }
  .hero__content { max-width: 100%; }
  .hero__eyebrow { font-size: 13px; letter-spacing: 1.4px; }
  .hero__title { font-size: 30px; line-height: 1.15; }
  .hero__desc { font-size: 15px; line-height: 1.6; }
  .hero__tags { font-size: 13px; margin-bottom: 24px; }
  .hero__btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .hero__btns .btn--primary,
  .hero__btns .btn--outline {
    width: 100%;
    padding: 14px 20px;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  /* Sections */
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
    padding-left: 16px;
    min-height: auto;
  }
  .section-title { font-size: 26px; letter-spacing: 1px; }
  .section-header .btn--outline-sm {
    width: 100%;
    justify-content: center;
  }

  /* Products */
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .product-card { padding: 16px; }
  .product-card__name { font-size: 15px; }

  /* About */
  .about__inner {
    flex-direction: column;
    gap: 32px;
  }
  .about__img-wrap {
    min-height: 240px;
  }
  .about__title { font-size: 26px; }
  .about__stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .about__stat-num { font-size: 40px; }

  /* News */
  .news__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Contact */
  .contact__inner {
    flex-direction: column;
    gap: 32px;
  }
  .contact__info {
    flex: none;
    max-width: 100%;
  }
  .contact__title { font-size: 28px; }
  .contact__form-wrap {
    padding: 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer {
    padding-top: 32px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .footer__heading { font-size: 13px; }
  .footer__brand-text { font-size: 14px; line-height: 1.6; }
  .footer__newsletter-form {
    max-width: 100%;
  }
  .footer__newsletter-input {
    font-size: 16px;
    min-height: 44px;
  }
  .footer__newsletter-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  .footer__bottom {
    padding: 20px max(var(--section-px), env(safe-area-inset-left, 0px));
    padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
  }
  .footer__copyright {
    font-size: 11px;
    line-height: 1.6;
    word-break: break-word;
  }

  .btn {
    padding: 12px 24px;
  }
}

/* ===========================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   =========================================== */
@media (max-width: 480px) {
  :root {
    --section-px: 16px;
    --section-py: 48px;
    --nav-h: 56px;
    --hero-h: clamp(420px, calc(100svh - var(--nav-h)), 540px);
  }

  .navbar__inner {
    padding-left: max(14px, env(safe-area-inset-left, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
    gap: 8px;
  }
  .hamburger {
    width: 44px;
    height: 44px;
  }
  .navbar__logo {
    max-width: calc(100% - 48px);
  }
  .logo-img {
    height: 32px;
    max-width: min(175px, 100%);
  }

  .products__grid {
    grid-template-columns: 1fr;
  }
  .hero__title { font-size: 24px; }
  .hero__desc { font-size: 14px; }
  .section-title { font-size: 22px; }
  .about__stat-num { font-size: 32px; }
  .about__stat-label { font-size: 11px; }
  .contact__title { font-size: 24px; }
  .product-card__img-wrap { height: 180px; }
}

/* ==========================================
   ANIMATIONS & MOTION EFFECTS
   ========================================== */

/* --- Keyframes --- */
@keyframes hs-fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hs-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes hs-slideLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes hs-slideRight {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* --- Page load fade-in --- */
body {
  animation: hs-fadeIn 0.35s ease-out both;
}

/* --- Hero section page-load stagger (legacy single-slide) --- */
.hero:not(:has(.hero-swiper)) .hero__eyebrow { animation: hs-fadeInUp 0.65s cubic-bezier(0.22,1,0.36,1) 0.05s both; }
.hero:not(:has(.hero-swiper)) .hero__title   { animation: hs-fadeInUp 0.70s cubic-bezier(0.22,1,0.36,1) 0.18s both; }
.hero:not(:has(.hero-swiper)) .hero__desc    { animation: hs-fadeInUp 0.65s cubic-bezier(0.22,1,0.36,1) 0.30s both; }
.hero:not(:has(.hero-swiper)) .hero__tags    { animation: hs-fadeInUp 0.60s cubic-bezier(0.22,1,0.36,1) 0.40s both; }
.hero:not(:has(.hero-swiper)) .hero__btns    { animation: hs-fadeInUp 0.60s cubic-bezier(0.22,1,0.36,1) 0.50s both; }

/* --- Sub-page hero entrances --- */
.about-hero__title { animation: hs-fadeInUp 0.75s cubic-bezier(0.22,1,0.36,1) 0.10s both; }
.about-hero__bar   { animation: hs-fadeIn   0.50s ease                        0.38s both; }
.about-hero__sub   { animation: hs-fadeInUp 0.65s cubic-bezier(0.22,1,0.36,1) 0.46s both; }
.news-hero__title  { animation: hs-fadeInUp 0.75s cubic-bezier(0.22,1,0.36,1) 0.10s both; }
.p-hero__eyebrow   { animation: hs-fadeInUp 0.65s cubic-bezier(0.22,1,0.36,1) 0.05s both; }
.p-hero__title     { animation: hs-fadeInUp 0.70s cubic-bezier(0.22,1,0.36,1) 0.17s both; }
.p-hero__desc      { animation: hs-fadeInUp 0.65s cubic-bezier(0.22,1,0.36,1) 0.28s both; }
.p-hero__btns      { animation: hs-fadeInUp 0.60s cubic-bezier(0.22,1,0.36,1) 0.38s both; }
.p-hero__img-col   { animation: hs-slideRight 0.80s cubic-bezier(0.22,1,0.36,1) 0.15s both; }
.nd-tag-row        { animation: hs-fadeInUp 0.60s cubic-bezier(0.22,1,0.36,1) 0.05s both; }
.nd-title          { animation: hs-fadeInUp 0.70s cubic-bezier(0.22,1,0.36,1) 0.15s both; }
.nd-author         { animation: hs-fadeInUp 0.60s cubic-bezier(0.22,1,0.36,1) 0.25s both; }

/* --- Scroll-animate base system --- */
.animate {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity  0.65s cubic-bezier(0.22,1,0.36,1),
    transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.animate--fade-up    { transform: translateY(28px); }
.animate--fade-in    { transform: translateY(0); }
.animate--slide-left { transform: translateX(-36px); }
.animate--slide-right{ transform: translateX(36px); }
.animate--scale-up   { transform: scale(0.94); }

.animate.in-view {
  opacity: 1;
  transform: none !important;
}

/* --- Stagger delays --- */
.delay-1 { transition-delay: 0.07s; }
.delay-2 { transition-delay: 0.14s; }
.delay-3 { transition-delay: 0.21s; }
.delay-4 { transition-delay: 0.28s; }
.delay-5 { transition-delay: 0.35s; }
.delay-6 { transition-delay: 0.42s; }
.delay-7 { transition-delay: 0.49s; }
.delay-8 { transition-delay: 0.56s; }

/* --- Enhanced product card hover --- */
.product-card {
  transition:
    box-shadow  0.28s cubic-bezier(0.22,1,0.36,1),
    transform   0.28s cubic-bezier(0.22,1,0.36,1),
    border-color 0.22s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.11);
  border-color: var(--color-primary);
}
.product-card__img {
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.product-card:hover .product-card__img {
  transform: scale(1.06);
}

/* --- Article card hover --- */
.article-card__img-wrap { overflow: hidden; }
.article-card {
  transition:
    box-shadow 0.28s cubic-bezier(0.22,1,0.36,1),
    transform  0.28s cubic-bezier(0.22,1,0.36,1);
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}
.article-card__img {
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.article-card:hover .article-card__img {
  transform: scale(1.05);
}

/* --- Button hover enhancement --- */
.btn--primary,
.btn--outline,
.btn--outline-sm {
  transition: opacity .2s, background .2s, transform .18s ease, box-shadow .2s;
}
.btn--primary:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,86,179,0.28);
}
.btn--outline:hover,
.btn--outline-sm:hover {
  transform: translateY(-2px);
}
.btn:active { transform: scale(0.97) !important; }

/* --- Nav link transition --- */
.nav-link {
  transition: color 0.2s, border-color 0.25s cubic-bezier(0.22,1,0.36,1);
}

/* --- About image zoom --- */
.about__img {
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.about__img-wrap:hover .about__img {
  transform: scale(1.04);
}

/* --- News page cards --- */
.news-card-sm__img { overflow: hidden; }
.news-card-sm {
  transition:
    box-shadow 0.28s cubic-bezier(0.22,1,0.36,1),
    transform  0.28s cubic-bezier(0.22,1,0.36,1);
}
.news-card-sm:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.09);
}
.news-card-sm__img img {
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.news-card-sm:hover .news-card-sm__img img {
  transform: scale(1.05);
}
.news-featured {
  transition:
    box-shadow 0.28s cubic-bezier(0.22,1,0.36,1),
    transform  0.28s cubic-bezier(0.22,1,0.36,1);
}
.news-featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.09);
}

/* --- About page specific --- */
.about-cert-card {
  transition:
    transform  0.28s cubic-bezier(0.22,1,0.36,1),
    box-shadow 0.28s;
}
.about-cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}
.about-timeline__item {
  transition: transform 0.22s ease;
}
.about-timeline__item:hover {
  transform: translateX(5px);
}

/* --- Product detail thumbnails --- */
.pd-thumb {
  transition: border-color 0.2s, opacity 0.2s;
}
.pd-thumb:hover { opacity: 0.8; }

/* --- Related product cards --- */
.pd-related-card {
  transition:
    transform  0.28s cubic-bezier(0.22,1,0.36,1),
    box-shadow 0.28s;
}
.pd-related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}

/* --- Respect reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .animate { opacity: 1 !important; transform: none !important; }
}
