/**
 * Home route styles
 *
 * Home-only presentation extracted from style.css so other routes do not
 * download the homepage gallery, promotional and testimonial styles.
 */

/* ===============================================
   HERO CUSTOM
   =============================================== */
.hero-custom {
  padding: 10px 0;
  margin-top: 10px;
}

.hero-custom__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 15px;
}

.hero-custom__main {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 0;
}

.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.slider-track {
  display: flex;
  width: 100%;
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-track.not-smooth {
  transition: none !important;
}

.slider-track.smooth {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-dots {
  position: absolute;
  bottom: 15px;
  right: 20px;
  display: flex;
  gap: 0;
  z-index: 10;
}

.dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: var(--border-radius-circle);
  cursor: pointer;
  transition: 0.3s;
}

.dot::before {
  content: "";
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius-circle);
  transition: 0.3s;
}

.dot.active::before {
  background: var(--white);
  width: 25px;
  border-radius: 5px;
}

.dot:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.hero-custom__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-custom__side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.hero-item {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.hero-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-item:hover,
.hero-custom__main:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.hero-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-25deg);
  transition: none;
}

.hero-item:hover::after {
  left: 150%;
  transition: all 0.8s ease;
}

@media (max-width: 991px) {
  .hero-custom__grid {
    grid-template-columns: 1fr;
  }
}

/* END HERO CUSTOM */


/* ===============================================
   HOME TRUST STATS
   =============================================== */
.trust-stats {
  position: relative;
  padding: 34px 0 44px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, #f5f9ff 100%);
}

.trust-stats::before {
  position: absolute;
  inset: 30% auto auto 50%;
  width: min(82vw, 1120px);
  height: 360px;
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(var(--brand-color-1-rgb), 0.12) 0%, rgba(var(--brand-color-1-rgb), 0) 68%);
}

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

.trust-stats__surface {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(26px, 3.5vw, 44px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(111, 185, 255, 0.32), transparent 30%),
    linear-gradient(125deg, #071d49 0%, #103e98 51%, #1250dc 100%);
  box-shadow: 0 24px 54px rgba(6, 35, 94, 0.23);
}

.trust-stats__surface::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.36;
  background-image: radial-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px);
  background-position: right 28px top 30px;
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent 34%, #000 72%, transparent);
  mask-image: linear-gradient(90deg, transparent 34%, #000 72%, transparent);
}

.trust-stats__surface::after {
  position: absolute;
  top: 0;
  left: clamp(26px, 3.5vw, 44px);
  width: min(170px, 22vw);
  height: 4px;
  content: "";
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, #ffc05a, var(--brand-color-2));
  box-shadow: 0 4px 18px rgba(252, 132, 5, 0.5);
}

.trust-stats__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
}

.trust-stats__heading-group {
  max-width: 710px;
}

.trust-stats__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  color: #ffd28f;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.trust-stats__eyebrow::before {
  width: 22px;
  height: 1px;
  content: "";
  background: currentColor;
}

.trust-stats__header h2 {
  max-width: 690px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.25rem, 2.75vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.trust-stats__intro {
  max-width: 660px;
  margin: 11px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.45rem;
  line-height: 1.6;
}

.trust-stats__location {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  margin: 7px 0 0;
  padding: 10px 14px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--border-radius-pill);
  background: rgba(0, 17, 58, 0.22);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.trust-stats__location .js-svg-inject,
.trust-stats__icon .js-svg-inject {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trust-stats__location svg {
  width: 17px;
  height: 17px;
  color: #ffd28f;
}

.trust-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-stats__metric {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 24px clamp(14px, 1.8vw, 24px);
}

.trust-stats__metric:first-child {
  padding-left: 0;
}

.trust-stats__metric:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-stats__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #dceaff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.trust-stats__icon svg {
  width: 25px;
  height: 25px;
}

.trust-stats__metric:hover .trust-stats__icon {
  color: var(--white);
  background: rgba(252, 132, 5, 0.78);
  transform: translateY(-2px);
}

.trust-stats__metric-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.trust-stats__label {
  order: 2;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.3;
  text-transform: uppercase;
}

.trust-stats__value {
  order: 1;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.7rem, 3vw, 3.65rem);
  font-variation-settings: "weight" 800;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
  white-space: nowrap;
}

.trust-stats__assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding-right: 0;
  padding-left: 0;
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.74);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
}

.trust-stats__assurance li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-stats__assurance li::before {
  width: 5px;
  height: 5px;
  content: "";
  border-radius: var(--border-radius-circle);
  background: #ffc05a;
}

@media (max-width: 991.98px) {
  .trust-stats {
    padding: 28px 0 36px;
  }

  .trust-stats .container {
    max-width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .trust-stats__surface {
    border-radius: 22px;
  }

  .trust-stats__header {
    gap: 18px;
  }

  .trust-stats__location {
    margin-top: 1px;
  }

  .trust-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    border-top: 0;
  }

  .trust-stats__metric,
  .trust-stats__metric:first-child,
  .trust-stats__metric:not(:first-child) {
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: rgba(3, 25, 71, 0.16);
  }
}

@media (max-width: 767.98px) {
  .trust-stats {
    padding: 22px 0 30px;
  }

  .trust-stats .container {
    padding-right: 10px;
    padding-left: 10px;
  }

  .trust-stats__surface {
    padding: 24px 18px 20px;
    border-radius: 18px;
  }

  .trust-stats__surface::after {
    left: 18px;
  }

  .trust-stats__header {
    display: block;
    padding-bottom: 22px;
  }

  .trust-stats__header h2 {
    font-size: clamp(2.05rem, 6.1vw, 2.65rem);
  }

  .trust-stats__intro {
    margin-top: 9px;
    font-size: 1.32rem;
  }

  .trust-stats__location {
    margin-top: 15px;
    white-space: normal;
  }

  .trust-stats__grid {
    gap: 10px;
  }

  .trust-stats__metric,
  .trust-stats__metric:first-child,
  .trust-stats__metric:not(:first-child) {
    gap: 10px;
    padding: 14px 12px;
    border-radius: 14px;
  }

  .trust-stats__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .trust-stats__icon svg {
    width: 21px;
    height: 21px;
  }

  .trust-stats__value {
    font-size: clamp(2.1rem, 7vw, 2.6rem);
  }

  .trust-stats__label {
    margin-top: 4px;
    font-size: 0.92rem;
    letter-spacing: 0.025em;
  }

  .trust-stats__assurance {
    gap: 7px 14px;
    padding-top: 15px;
    font-size: 1.04rem;
  }
}

@media (max-width: 389.98px) {
  .trust-stats .container {
    padding-right: 6px;
    padding-left: 6px;
  }

  .trust-stats__surface {
    padding: 22px 14px 18px;
  }

  .trust-stats__metric,
  .trust-stats__metric:first-child,
  .trust-stats__metric:not(:first-child) {
    padding: 12px 9px;
  }

  .trust-stats__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .trust-stats__label {
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-stats__icon {
    transition: none;
  }
}
/* END HOME TRUST STATS */

/* ===============================================
   FLASH SALE SECTION - MODERN STYLE
   =============================================== */
.flash-sale {
  background-color: #f8faff;
  padding: 40px 0;
  overflow: hidden;
}

/* 1. Header & Timer */
.fs-header {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .fs-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.fs-header__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fs-title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.fs-icon-box {
  width: 45px;
  height: 45px;
  border-radius: var(--border-radius-lg);
  background: linear-gradient(135deg, #ff4d4d, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 10px 15px rgba(255, 77, 77, 0.3);
  animation: pulse-red 2s infinite;
}

.fs-icon-box svg {
  width: 30px;
  height: 30px;
  object-fit: contain;
  fill: currentColor;
}

@keyframes pulse-red {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.fs-desc {
  max-width: 550px;
  font-size: 1.5rem;
  color: var(--gray-600);
}

.fs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.fs-card {
  --card-radius: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--card-radius);
  border: 1px solid var(--gray-200);
  padding: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fs-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(33, 103, 221, 0.1);
  border-color: var(--brand-color-1);
}

.fs-card__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--red-900);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 5px 10px rgba(255, 77, 77, 0.3);
}

.fs-card__img-box {
  border-radius: calc(var(--card-radius) * 0.5);
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  margin-bottom: 20px;
}

.fs-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.fs-card:hover .fs-card__img {
  transform: scale(1.1);
}

.fs-card__title, .fs-card__title a{
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gray-800);
  overflow: hidden;
  margin-bottom: 6px;
}

.fs-card__title:hover, .fs-card__title a:hover {
  color: var(--red-700);
}

.fs-card__desc {
  font-size: 1.3rem;
  color: var(--gray-600);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fs-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 15px;
}

.fs-card__price-sale {
  font-size: 2rem;
  font-weight: 800;
  color: var(--red-700);
}

.fs-card__price-original {
  font-size: 1.3rem;

  text-decoration: line-through;
  color: var(--gray-600);
}

.fs-progress {
  margin-top: auto;
}

.fs-progress__text {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.fs-progress__bar {
  height: 8px;
  background: #eee;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.fs-progress__fill {
  height: 100%;
  border-radius: var(--border-radius-md);
  background: linear-gradient(90deg, var(--red-700), var(--brand-color-2));
}

.bg-accent {
  background: var(--brand-color-3) !important;
}
.text-accent {
  color: var(--red-700);
}

.fs-footer {
  margin-top: 50px;
  text-align: center;
}

.fs-view-all {
  display: inline-flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-color-1);
  text-decoration: none;
  padding: 12px 30px;
  border: 2px solid var(--brand-color-1);
  border-radius: 100px;
  transition: all 0.3s;
}

.fs-view-all:hover {
  background: var(--brand-color-1);
  color: var(--white);
}

@media (max-width: 480px) {
  .fs-card__add-btn {
    transform: translateY(0);
    opacity: 1;
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-top: 15px;
  }
}
/* END FLASH SALE */

/* ===============================================
   FLASH SALE BANNER SLIDER
   =============================================== */

.fs-banner-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.fs-slider-track {
  display: flex;
  width: 400%;
  height: 100%;
  animation: fsSliderAnim 16s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.fs-slide {
  width: 25%;
  height: 100%;
}

.fs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fsSliderAnim {
  0%,
  20% {
    transform: translateX(0);
  }
  25%,
  45% {
    transform: translateX(-25%);
  }
  50%,
  70% {
    transform: translateX(-50%);
  }
  75%,
  95% {
    transform: translateX(-75%);
  }
  100% {
    transform: translateX(0);
  }
}

.fs-slider-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  pointer-events: none;
}

.fs-slider-tag {
  background: var(--brand-color-2);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.fs-slider-overlay h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .fs-banner-slider {
    min-height: 250px;
    margin-bottom: 20px;
  }
}
/* END FLASH SALE BANNER SLIDER */

/* ===============================================
   SECTION: SERVICES (DỊCH VỤ IN ẤN ĐA DẠNG)
   =============================================== */

.services {
  padding: 40px 0;
  background-color: var(--white-200);
}

.services .section-header--center {
  display: flex;
  text-align: center;
  margin-bottom: 40px;
  flex-direction: column;
  align-items: center;
}

.services .section-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 15px;
  text-transform: none !important;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--white) 0%, var(--white) 58%, #f6f9ff 100%);
  border: 1px solid #dce8fb;
  border-radius: 22px;
  padding: 28px 24px 26px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  isolation: isolate;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -58px;
  right: -58px;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 103, 221, 0.13) 0%, rgba(33, 103, 221, 0) 68%);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  z-index: -1;
}

.service-card::after {
  content: "";
  width: 54px;
  height: 3px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-color-1), rgba(33, 103, 221, 0));
  opacity: 0.55;
  transition:
    opacity 0.25s ease,
    width 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(33, 103, 221, 0.12);
  border-color: var(--brand-color-1);
}

.service-card:hover::before {
  opacity: 1;
  transform: scale(1.08);
}

.service-card:hover::after {
  width: 74px;
  opacity: 0.85;
}

.service-card__icon-box {
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, #edf4ff, #f8fbff);
  color: var(--brand-color-1);
  border-radius: var(--border-radius-lg);
  border: 1px solid #dce8fb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(33, 103, 221, 0.08);
}

.service-card__icon-box i,
.service-card__icon-box svg {
  width: 24px;
  height: 24px;
}

.service-card__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 12px;
  text-transform: none;
}

.service-card__desc {
  font-size: 1.5rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 0;
}

@media (max-width: 1100px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
  .services {
    padding: 50px 0;
  }
}
/* END SERVICES */

/* ===============================================
   PRODUCTS (SẢN PHẨM TIÊU BIỂU)
   =============================================== */
.products {
  padding: 68px 0 76px;
  background:
    linear-gradient(180deg, var(--white) 0%, #f8fbff 100%);
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.products__header {
  margin-bottom: 34px;
  gap: 24px;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.products .product-card {
  border-radius: 18px;
  border-color: #dce8fb;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
}

.products .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(33, 103, 221, 0.12);
  border-color: rgba(33, 103, 221, 0.5);
}

.products .product-card__image-box {
  --home-product-frame-space: 6px;
  position: relative;
  display: grid;
  aspect-ratio: 1 / 1;
  padding: var(--home-product-frame-space);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 58%, rgba(239, 246, 255, 0.88) 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(15, 23, 42, 0.055);
  overflow: hidden;
  isolation: isolate;
}

.products .product-card__image-box::before {
  content: "";
  position: absolute;
  top: -26px;
  right: -28px;
  z-index: 0;
  width: 98px;
  height: 82px;
  background:
    repeating-linear-gradient(135deg, rgba(33, 103, 221, 0.14) 0 2px, transparent 2px 10px),
    linear-gradient(135deg, rgba(33, 103, 221, 0.12), rgba(255, 139, 23, 0.08));
  clip-path: polygon(24% 0, 100% 0, 100% 78%, 58% 100%, 0 42%);
  opacity: 0.36;
  pointer-events: none;
}

.products .product-card__image-box::after {
  content: "";
  position: absolute;
  right: var(--home-product-frame-space);
  bottom: var(--home-product-frame-space);
  left: var(--home-product-frame-space);
  z-index: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(33, 103, 221, 0), rgba(33, 103, 221, 0.045));
  border-radius: 0 0 12px 12px;
  pointer-events: none;
}

.products .product-card__image-box a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.055);
  line-height: 0;
  text-align: center;
}

.products .product-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 0;
  margin: auto;
  transition: transform 0.6s ease;
}

.products .product-card:hover .product-card__img {
  transform: scale(1.045);
}

.products .product-card__content {
  padding: 13px 14px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.products .product-card__name a {
  min-height: 35px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-800);
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.32;
  transition: 0.3s;
}

.products .product-card__name a:hover {
  color: var(--brand-color-1);
}

.products .product-card__desc {
  font-size: 1.35rem;
  color: var(--gray-700);
  line-height: 1.55;
  margin-bottom: 14px;
  height: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.products .product-card__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  border-top: 1px solid var(--blue-100);
  padding-top: 12px;
  gap: 9px;
  margin-top: auto;
}

.products .product-card__price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  min-width: 0;
}

.products .product-card__price {
  font-size: clamp(1.52rem, 1vw, 1.72rem);
  font-weight: 800;
  color: var(--brand-color-1);
  line-height: 1.1;
  white-space: nowrap;
}

.products .product-card__spec-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 4px 6px 4px 12px;
  border: 1px dashed rgba(33, 103, 221, 0.42);
  border-radius: 14px;
  color: var(--gray-800);
  background:
    radial-gradient(circle at 96% 10%, rgba(255, 139, 23, 0.14) 0 2px, transparent 2.5px),
    linear-gradient(108deg, #f9fcff 0%, #eff6ff 62%, #f8fbff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 5px 14px rgba(33, 103, 221, 0.055);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.products .product-card__spec-cta-label {
  flex: 0 0 auto;
  font-size: 1.16rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.products .product-card__spec-cta-trail {
  min-width: 10px;
  height: 2px;
  flex: 1 1 auto;
  background-image: radial-gradient(circle, rgba(33, 103, 221, 0.72) 1px, transparent 1.45px);
  background-position: left center;
  background-repeat: repeat-x;
  background-size: 6px 2px;
  opacity: 0.65;
  transition: opacity 0.22s ease;
}

.products .product-card__spec-cta-seal {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 1px solid rgba(33, 103, 221, 0.36);
  border-radius: 50%;
  color: var(--brand-color-1);
  background: #eef5ff;
  box-shadow: 0 4px 10px rgba(33, 103, 221, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.products .product-card__spec-cta-seal::before {
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(33, 103, 221, 0.18);
  border-radius: inherit;
  content: "";
}

.products .product-card__spec-cta-seal .js-svg-inject {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  line-height: 0;
}

.products .product-card__spec-cta-seal .js-svg-inject > svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transform-origin: center;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.products .product-card__spec-cta-seal .js-svg-inject > svg [stroke] {
  stroke: currentColor !important;
}

.products .product-card__spec-cta:is(:hover, :focus-visible) {
  border-color: rgba(33, 103, 221, 0.72);
  box-shadow: 0 8px 16px rgba(33, 103, 221, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.products .product-card__spec-cta:is(:hover, :focus-visible) .product-card__spec-cta-trail {
  opacity: 0.9;
}

.products .product-card__spec-cta:is(:hover, :focus-visible) .product-card__spec-cta-seal {
  border-color: rgba(33, 103, 221, 0.68);
  background-color: #dbeafe;
  box-shadow: 0 5px 12px rgba(33, 103, 221, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.products .product-card__spec-cta:is(:hover, :focus-visible) .product-card__spec-cta-seal .js-svg-inject > svg {
  transform: translateX(2px);
}

.products .product-card__spec-cta:focus-visible {
  outline: 3px solid rgba(33, 103, 221, 0.28);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .products .product-card__spec-cta,
  .products .product-card__spec-cta-trail,
  .products .product-card__spec-cta-seal,
  .products .product-card__spec-cta-seal .js-svg-inject > svg {
    transition: none;
  }
}

/* END PRODUCTS */

/* ===============================================
   TESTIMONIALS ADVANCED
   =============================================== */
.testimonials-advanced {
  position: relative;
  padding: 60px 0;
  background-color: var(--white);
  overflow: hidden;
}

/* 1. Header & Rating Box */
.testimonials-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 15px;
}

.trust-badge__faces {
  display: flex;
  margin-left: 12px;
}

.trust-badge__face {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-circle);
  border: 2px solid var(--white);
  margin-left: -12px;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.trust-badge__text {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-600);
}

.stars i {
  width: 16px;
  height: 16px;
  fill: #f59e0b;
  color: #f59e0b;
}

.rating-box {
  background: var(--white) !important;
  padding: 24px;
  border-radius: var(--border-radius-2xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 25px;
}

.rating-box__stars .stars {
  display: flex;
  gap: 2px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 4px;
}

.rating-box__source {
  font-size: 1.1rem;
  color: var(--gray-600);
  text-transform: uppercase;
  font-weight: 600;
}

.rating-box__stars .js-svg-inject[data-icon="star"] {
  color: #ff9f43;
}

.rating-box__stars .js-svg-inject[data-icon="star"] svg {
  fill: #ff9f43;
  stroke: none;
}

.score-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}

.score-label {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-top: 4px;
}

.rating-box__divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

.testimonials-advanced .stars i,
.testimonials-advanced .stars svg {
  fill: #f59e0b !important;
  stroke: var(--blue-500) !important;
  stroke-width: 1px;
  width: 20px;
  height: 20px;
}

.testimonials-advanced .section-title {
  display: block;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 10px;
}


.testimonials-advanced .section-desc {
  max-width: 580px;
  margin: 0 auto 30px auto;
}

.testimonials-advanced .section-title .text-gradient {
  background: linear-gradient(90deg, var(--brand-color-1), #00c6ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

.testimonials-header__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.view-all-reviews {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0;
  color: var(--blue-500) !important;
  font-size: 1.4rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  transition: all 0.3s ease;
}

.view-all-reviews svg,
.view-all-reviews i {
  width: 18px;
  height: 18px;
  display: block;
  color: inherit;
  transition: transform 0.3s ease;
}

.view-all-reviews:hover {
  opacity: 0.8;
  color: var(--brand-color-3) !important;
}

.view-all-reviews:hover svg,
.view-all-reviews:hover i {
  transform: translateX(4px);
}

.testimonial-slider-container {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.testimonial-slider__visual {
  width: 100%;
  max-width: 380px;
  margin-left: auto;
}

.testimonial-track {
  display: grid;
  grid-template-columns: 1fr;
}

.testi-item {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.testi-item.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.testi-quote {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--gray-800);
  margin-bottom: 40px;
  font-style: italic;
}

.testi-author-box {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testi-avatar-wrapper {
  position: relative;
}

.testi-avatar {
  width: 70px;
  height: 70px;
  border-radius: var(--border-radius-xl);
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testi-check {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 24px !important;
  height: 24px !important;
  background: var(--brand-color-1);
  border-radius: var(--border-radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--white);
  border: 2px solid var(--white);
  z-index: 10;
  line-height: 0;
}

.testi-check .js-svg-inject svg {
  width: 20px;
  height: 20px;
  stroke-width: 3;
}

.testi-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
}

.testi-meta {
  font-size: 1.4rem;
  color: var(--gray-600);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 50px;
}

.control-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--gray-200);
  background: transparent;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10;
}

.control-btn:hover {
  background: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  color: var(--brand-color-1);
}

.testimonial-dots {
  display: flex;
  gap: 0;
  margin-left: 15px;
}

.testi-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-circle);
  background: transparent;
  cursor: pointer;
  transition: 0.4s;
}

.testi-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--gray-200);
  transition: 0.4s;
}

.testi-dot.active::before {
  width: 25px;
  background: var(--brand-color-1);
}

.testi-dot:focus-visible {
  outline: 2px solid var(--brand-color-1);
  outline-offset: 3px;
}

.visual-bg-rotate {
  position: absolute;
  inset: 0;
  background: rgba(33, 103, 221, 0.03);
  border-radius: 40px;
  transform: rotate(3deg) scale(0.95);
}

.visual-frame {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: 40px;
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.visual-caption {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  z-index: 2;
}

.visual-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-color-1);
  color: var(--white);
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.visual-desc {
  color: var(--white);
  font-size: 1.4rem;
  font-style: italic;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.testimonial-marquee-wrapper {
  position: relative;
  padding-top: 50px;
  border-top: 1px solid var(--gray-150);
}

.testimonial-marquee {
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 30px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 25px;
  background: var(--white);
  border-radius: var(--border-radius-xl);
  border: 1px solid var(--gray-150);
  min-width: 280px;
}

.marquee-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-circle);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--brand-color-1);
  font-size: 1.6rem;
}

.marquee-name {
  font-size: 1.8rem !important;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.marquee-comment {
  font-size: 1.4rem !important;
  color: var(--gray-600);
  font-style: normal;
  line-height: 1.4;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .testimonial-slider-container {
    grid-template-columns: 1fr;
  }
  .testimonial-slider__visual {
    display: none;
  }
  .testimonials-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* END TESTIMONIALS ADVANCED */

+/* ===============================================
   PRESS MENTIONS
   =============================================== */
.press-mentions {
  padding: 54px 0 64px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 237, 213, 0.42), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  overflow: hidden;
}

.press-mentions__shell {
  position: relative;
  overflow: hidden;
  padding: 30px 32px 34px;
  border: 1px solid rgba(191, 219, 254, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.06);
}

.press-mentions__shell::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: var(--border-radius-circle);
  background: rgba(219, 234, 254, 0.72);
  pointer-events: none;
}

.press-mentions__header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  align-items: center;
  gap: 40px;
  margin-bottom: 24px;
}

.press-mentions__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 6px 12px;
  margin-bottom: 10px;
  color: var(--brand-color-1);
  background: rgba(239, 246, 255, 0.88);
  border: 1px solid rgba(33, 103, 221, 0.18);
  border-radius: var(--border-radius-pill);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.press-mentions__eyebrow .js-svg-inject,
.press-mentions__eyebrow svg {
  width: 15px;
  height: 15px;
}

.press-mentions__title {
  margin-bottom: 0;
}

.press-mentions__desc {
  align-self: center;
  max-width: 470px;
  margin: 34px 0 0 auto;
  color: var(--gray-600);
  font-size: 1.44rem;
  font-weight: 650;
  line-height: 1.58;
}

.press-mentions__marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 12px 0;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.88), rgba(255, 255, 255, 0.95)),
    #ffffff;
}

.press-mentions__marquee::before,
.press-mentions__marquee::after {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  z-index: 2;
  width: 92px;
  pointer-events: none;
}

.press-mentions__marquee::before {
  left: 1px;
  border-radius: 20px 0 0 20px;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0));
}

.press-mentions__marquee::after {
  right: 1px;
  border-radius: 0 20px 20px 0;
  background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0));
}

.press-mentions__track {
  display: flex;
  width: max-content;
  animation: pressMentionTicker 42s linear infinite;
  will-change: transform;
}

.press-mentions__marquee:hover .press-mentions__track {
  animation-play-state: paused;
}

.press-mentions__group {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
}

.press-logo-card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  min-height: 72px;
  padding: 13px 18px;
  color: var(--gray-600);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.035);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.press-logo-card:hover {
  color: var(--brand-color-1);
  border-color: rgba(33, 103, 221, 0.42);
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(33, 103, 221, 0.1);
}

.press-logo-card__img {
  display: block;
  max-width: 138px;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.62);
  transition: filter 0.22s ease, transform 0.22s ease;
}

.press-logo-card:hover .press-logo-card__img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.04);
}

@keyframes pressMentionTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .press-mentions__track {
    animation: none;
  }
}

@media (max-width: 991.98px) {
  .press-mentions__header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }

  .press-mentions__desc {
    max-width: 100%;
    margin: 0;
  }
}

@media (max-width: 575.98px) {
  .press-mentions__shell {
    padding: 20px 14px;
    border-radius: 20px;
  }

  .press-mentions__marquee::before,
  .press-mentions__marquee::after {
    width: 44px;
  }

  .press-mentions__group {
    gap: 12px;
    padding-right: 12px;
  }

  .press-logo-card {
    width: 160px;
    min-height: 64px;
    padding: 10px 12px;
  }

  .press-logo-card__img {
    max-width: 112px;
    max-height: 34px;
  }
}
/* END PRESS MENTIONS */

+/* ===============================================
   SECTION: PROCESS (Quy trình làm việc)
   =============================================== */
.process {
  padding: 58px 0 64px;
  background: linear-gradient(180deg, var(--white) 0%, #f7faff 100%);
}

.process .section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 46px;
}

.process .section-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gray-900);
  letter-spacing: -0.5px;
}

.process__wrapper {
  --process-node-size: 84px;
  --process-icon-size: 30px;
  --process-flow-gap: 15px;
  --process-handoff-duration: 2.9s;
  /* Token primary chạm đích ở 96% của chu kỳ 2,9 giây. */
  --process-primary-arrival-delay: calc(var(--process-handoff-duration) - 116ms);
  position: relative;
  margin-top: 12px;
  isolation: isolate;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--process-flow-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.process-step {
  position: relative;
  min-width: 0;
  overflow: visible;
  padding: 20px 6px 20px;
  border: 1px solid transparent;
  border-radius: 18px;
  text-align: center;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Khung icon là điểm nhận/bàn giao của từng công đoạn. */
.process-step__icon-wrapper {
  width: var(--process-node-size);
  height: var(--process-node-size);
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.process-step__icon-box {
  width: 100%;
  height: 100%;
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-color-1);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.35s ease, color 0.3s ease;
}

.process-step__icon-box svg {
  width: var(--process-icon-size);
  height: var(--process-icon-size);
  stroke-width: 1.9;
}

/* Số thứ tự bước */
.process-step__number {
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: var(--brand-color-1);
  color: var(--white);
  border-radius: var(--border-radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  border: 2px solid var(--white); /* Tạo khoảng trắng với icon-box */
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.process-step__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-800);
  transition: color 0.3s ease, transform 0.3s ease;
}

.process-step__desc {
  font-size: 1.5rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Cung bàn giao: mỗi công đoạn gửi 3 tín hiệu nhỏ sang công đoạn kế tiếp. */
.process-step__handoff {
  position: absolute;
  top: -34px;
  left: 50%;
  width: calc(100% + var(--process-flow-gap));
  min-width: 36px;
  height: 90px;
  pointer-events: none;
  z-index: 4;
}

.process-step__handoff-arc {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.process-step__handoff-arc path {
  fill: none;
  stroke: #82b8ff;
  stroke-width: 1.9px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 5 5;
  opacity: 0.46;
}

.process-step__handoff-token {
  --process-flight-size: 24px;
  --process-flight-half: 12px;
  --process-flight-start: 74px;
  --process-flight-quarter: 43px;
  --process-flight-apex: 33px;
  --process-flight-late: 59px;
  --process-flight-delay: 0ms;
  position: absolute;
  top: var(--process-flight-start);
  left: calc(0px - var(--process-flight-half));
  display: grid;
  width: var(--process-flight-size);
  height: var(--process-flight-size);
  padding: 4px;
  place-items: center;
  opacity: 0;
  border: 1px solid #bfdbfe;
  border-radius: 50%;
  color: var(--brand-color-1);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 15px rgba(37, 99, 235, 0.18);
  transform: scale(0.6) rotate(-10deg);
  will-change: top, left, opacity, transform;
}

.process-step__handoff-token svg {
  width: 100%;
  height: 100%;
  stroke-width: 2.15;
}

.process-step__handoff-token--primary {
  --process-flight-size: 30px;
  --process-flight-half: 15px;
  --process-flight-start: 71px;
  --process-flight-quarter: 40px;
  --process-flight-apex: 30px;
  --process-flight-late: 56px;
  --process-flight-delay: 0ms;
}

.process-step__handoff-token--brief {
  --process-flight-delay: 400ms;
  border-color: #ddd6fe;
  color: #7c3aed;
  box-shadow: 0 6px 13px rgba(124, 58, 237, 0.14);
}

.process-step__handoff-token--confirm {
  --process-flight-delay: 800ms;
  border-color: #bbf7d0;
  color: #059669;
  box-shadow: 0 6px 13px rgba(5, 150, 105, 0.14);
}

/* Pháo hoa hậu mãi: chỉ token primary kích hoạt một lần mỗi chu kỳ. */
.process-step--aftercare .process-step__icon-box {
  position: relative;
  z-index: 2;
}

.process-step--aftercare .process-step__number {
  z-index: 4;
}

.process-step__firework {
  position: absolute;
  inset: -58px;
  z-index: 3;
  pointer-events: none;
}

.process-step__firework-core,
.process-step__firework-particle {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.3);
}

.process-step__firework-core {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 19%, #fde68a 28%, #fb923c 57%, rgba(251, 146, 60, 0) 72%);
  box-shadow: 0 0 0 8px rgba(251, 191, 36, 0.1), 0 0 26px 12px rgba(249, 115, 22, 0.19);
}

.process-step__firework-particle {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  color: var(--process-firework-color, #fbbf24);
  background-color: currentColor;
  box-shadow: 0 0 7px currentColor;
}

.process-step__firework-particle--1 { --process-firework-x: 0px; --process-firework-y: -72px; --process-firework-color: #fbbf24; }
.process-step__firework-particle--2 { --process-firework-x: 38px; --process-firework-y: -61px; --process-firework-color: #fb923c; }
.process-step__firework-particle--3 { --process-firework-x: 66px; --process-firework-y: -22px; --process-firework-color: #60a5fa; }
.process-step__firework-particle--4 { --process-firework-x: 60px; --process-firework-y: 31px; --process-firework-color: #a78bfa; }
.process-step__firework-particle--5 { --process-firework-x: 23px; --process-firework-y: 66px; --process-firework-color: #f59e0b; }
.process-step__firework-particle--6 { --process-firework-x: -24px; --process-firework-y: 61px; --process-firework-color: #34d399; }
.process-step__firework-particle--7 { --process-firework-x: -63px; --process-firework-y: 31px; --process-firework-color: #60a5fa; }
.process-step__firework-particle--8 { --process-firework-x: -67px; --process-firework-y: -20px; --process-firework-color: #f472b6; }
.process-step__firework-particle--9 { --process-firework-x: -39px; --process-firework-y: -61px; --process-firework-color: #fbbf24; }
.process-step__firework-particle--10 { --process-firework-x: 8px; --process-firework-y: -78px; --process-firework-color: #ffffff; }
.process-step__firework-particle--11 { --process-firework-x: 76px; --process-firework-y: 8px; --process-firework-color: #facc15; }
.process-step__firework-particle--12 { --process-firework-x: -9px; --process-firework-y: 78px; --process-firework-color: #fb7185; }

@media (min-width: 1200px) {
  /* Ưu tiên lớp từ trái sang phải để cung luôn nằm trên thẻ của bước nhận. */
  .process-step:nth-child(1) { z-index: 6; }
  .process-step:nth-child(2) { z-index: 5; }
  .process-step:nth-child(3) { z-index: 4; }
  .process-step:nth-child(4) { z-index: 3; }
  .process-step:nth-child(5) { z-index: 2; }
  .process-step:nth-child(6) { z-index: 1; }

  .process-step__icon-wrapper {
    z-index: 5;
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 1200px) {
  .process-step:hover {
    z-index: 10;
    border-color: #dbeafe;
    background: linear-gradient(145deg, rgba(239, 246, 255, 0.9), rgba(255, 255, 255, 0.88));
    box-shadow: 0 14px 30px rgba(30, 64, 175, 0.08);
  }

  .process-step:hover .process-step__icon-box {
    border-color: var(--brand-color-1);
    background-color: var(--blue-50);
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 13px 25px rgba(33, 103, 221, 0.17), 0 0 0 7px rgba(33, 103, 221, 0.06);
  }

  .process-step:hover .process-step__number {
    background-color: #0f5ed7;
    transform: translate(2px, -2px) scale(1.06);
    box-shadow: 0 5px 10px rgba(33, 103, 221, 0.2);
  }

  .process-step:hover .process-step__title {
    color: var(--brand-color-1);
    transform: translateY(-1px);
  }

  .process-step:hover .process-step__handoff-arc path {
    animation: process-handoff-arc-flow var(--process-handoff-duration) linear infinite;
  }

  .process-step:hover .process-step__handoff-token {
    animation: process-handoff-arc-token var(--process-handoff-duration) linear var(--process-flight-delay) infinite;
  }

  .process-step:hover + .process-step {
    border-color: rgba(147, 197, 253, 0.7);
    background: rgba(248, 251, 255, 0.86);
  }

  .process-step:hover + .process-step .process-step__icon-box {
    border-color: #60a5fa;
    background: #f0f7ff;
    color: #1d4ed8;
    animation: process-handoff-receive var(--process-handoff-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
  }

  .process-step:hover + .process-step .process-step__number {
    background-color: #3b82f6;
    animation: process-handoff-number var(--process-handoff-duration) ease infinite;
  }

  .process-step:hover + .process-step .process-step__title {
    color: var(--brand-color-1);
  }

  .process-step--delivery:hover + .process-step--aftercare .process-step__icon-box {
    animation: process-aftercare-receive var(--process-handoff-duration) cubic-bezier(0.22, 1, 0.36, 1) var(--process-primary-arrival-delay) infinite;
  }

  .process-step--delivery:hover + .process-step--aftercare .process-step__firework-core {
    animation: process-aftercare-firework-core var(--process-handoff-duration) ease-out var(--process-primary-arrival-delay) infinite;
  }

  .process-step--delivery:hover + .process-step--aftercare .process-step__firework-particle {
    animation: process-aftercare-firework-particle var(--process-handoff-duration) cubic-bezier(0.16, 0.84, 0.36, 1) var(--process-primary-arrival-delay) infinite;
  }
}

@keyframes process-handoff-arc-flow {
  0% { stroke-dashoffset: 0; opacity: 0.72; }
  28% { opacity: 1; }
  100% { stroke-dashoffset: -40; opacity: 0.82; }
}

@keyframes process-handoff-arc-token {
  0% {
    top: var(--process-flight-start);
    left: calc(0px - var(--process-flight-half));
    opacity: 0;
    transform: scale(0.6) rotate(-10deg);
  }
  9% { opacity: 1; }
  25% {
    top: var(--process-flight-quarter);
    left: calc(25% - var(--process-flight-half));
    opacity: 1;
    transform: scale(0.94) rotate(-4deg);
  }
  50% {
    top: var(--process-flight-apex);
    left: calc(50% - var(--process-flight-half));
    opacity: 1;
    transform: scale(1) rotate(4deg);
  }
  75% {
    top: var(--process-flight-quarter);
    left: calc(75% - var(--process-flight-half));
    opacity: 1;
    transform: scale(0.98) rotate(2deg);
  }
  90% {
    top: var(--process-flight-late);
    left: calc(90% - var(--process-flight-half));
    opacity: 1;
    transform: scale(0.97) rotate(1deg);
  }
  96% {
    top: var(--process-flight-start);
    left: calc(100% - var(--process-flight-half));
    opacity: 1;
    transform: scale(0.98) rotate(0);
  }
  100% {
    top: var(--process-flight-start);
    left: calc(100% - var(--process-flight-half));
    opacity: 0;
    transform: scale(0.74) rotate(5deg);
  }
}

@keyframes process-handoff-receive {
  0%, 80% {
    color: #1d4ed8;
    transform: translateY(0) scale(1);
  }
  88% {
    color: #f97316;
    transform: translateY(-7px) scale(1.07);
  }
  100% {
    color: #f97316;
    transform: translateY(-3px) scale(1.02);
  }
}

@keyframes process-handoff-number {
  0%, 82% { transform: scale(1); }
  90% { transform: translate(2px, -2px) scale(1.1); }
  100% { transform: scale(1.04); }
}

@keyframes process-aftercare-receive {
  0% {
    border-color: #fbbf24;
    background: #fff8df;
    color: #f97316;
    box-shadow: 0 0 0 8px rgba(251, 191, 36, 0.12), 0 14px 30px rgba(249, 115, 22, 0.22);
    transform: translateY(-5px) scale(1.06);
  }
  6% {
    border-color: #fb923c;
    background: #fff7ed;
    color: #ea580c;
    box-shadow: 0 0 0 12px rgba(251, 191, 36, 0.08), 0 16px 34px rgba(249, 115, 22, 0.25);
    transform: translateY(-7px) scale(1.1);
  }
  12%, 100% {
    border-color: #60a5fa;
    background: #f0f7ff;
    color: #1d4ed8;
    box-shadow: none;
    transform: translateY(0) scale(1);
  }
}

@keyframes process-aftercare-firework-core {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.72);
  }
  6% {
    opacity: 0.88;
    transform: translate(-50%, -50%) scale(3.2);
  }
  12%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(4.4);
  }
}

@keyframes process-aftercare-firework-particle {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.65) rotate(55deg);
  }
  6% {
    opacity: 1;
    transform: translate(calc(-50% + var(--process-firework-x)), calc(-50% + var(--process-firework-y))) scale(1) rotate(160deg);
  }
  12%, 100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--process-firework-x)), calc(-50% + var(--process-firework-y) + 12px)) scale(0.25) rotate(240deg);
  }
}

/* ===============================================
   RESPONSIVE
   =============================================== */
@media (max-width: 1199.98px) {
  .process .section-header--center {
    margin-bottom: 30px;
  }

  .process__wrapper {
    --process-node-size: 70px;
    --process-icon-size: 26px;
    margin-top: 8px;
  }

  .process__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .process-step {
    padding: 16px 12px 14px;
    border-color: #dbeafe;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.76));
    box-shadow: 0 8px 22px rgba(30, 64, 175, 0.06);
  }

  .process-step__icon-wrapper {
    margin-bottom: 14px;
  }

  .process-step__title {
    font-size: 1.6rem;
    margin-bottom: 7px;
  }

  .process-step__desc {
    font-size: 1.3rem;
    line-height: 1.48;
  }

  .process-step__handoff {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .process .section-header--center {
    margin-bottom: 24px;
  }

  .process__wrapper {
    --process-node-size: 58px;
    --process-icon-size: 23px;
  }

  .process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .process-step {
    padding: 14px 10px 12px;
    border-radius: 14px;
  }

  .process-step__icon-wrapper {
    margin-bottom: 10px;
  }

  .process-step__number {
    width: 22px;
    height: 22px;
    font-size: 1.05rem;
  }

  .process-step__title {
    font-size: 1.42rem;
    line-height: 1.3;
    margin-bottom: 6px;
  }

  .process-step__desc {
    font-size: 1.18rem;
    line-height: 1.46;
  }
}

@media (max-width: 479.98px) {
  .process__wrapper {
    --process-node-size: 54px;
    --process-icon-size: 22px;
  }

  .process__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .process-step {
    display: grid;
    grid-template-areas:
      "icon title"
      "icon desc";
    grid-template-columns: var(--process-node-size) minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 4px;
    align-items: center;
    padding: 14px;
    text-align: left;
  }

  .process-step__icon-wrapper {
    grid-area: icon;
    margin: 0;
  }

  .process-step__title {
    grid-area: title;
    margin: 0;
    font-size: 1.55rem;
  }

  .process-step__desc {
    grid-area: desc;
    margin: 0;
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-step,
  .process-step__icon-box,
  .process-step__number,
  .process-step__title,
  .process-step__handoff-arc path,
  .process-step__handoff-token,
  .process-step__firework-core,
  .process-step__firework-particle {
    animation: none !important;
    transition: none !important;
    will-change: auto;
  }

  .process-step:hover .process-step__icon-box,
  .process-step:hover .process-step__number,
  .process-step:hover .process-step__title {
    transform: none;
  }
}
/* END PROCESS*/

+/* ===============================================
   SECTION: NEWS (TIN TỨC)
   =============================================== */

.news {
  position: relative;
  padding: 68px 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.news__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  align-items: end;
  gap: 32px;
  margin-bottom: 28px;
}

.news__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 6px 12px;
  margin-bottom: 10px;
  color: var(--brand-color-1);
  background: rgba(239, 246, 255, 0.88);
  border: 1px solid rgba(33, 103, 221, 0.18);
  border-radius: var(--border-radius-pill);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.news__eyebrow .js-svg-inject,
.news__eyebrow svg {
  width: 15px;
  height: 15px;
}

.news__title {
  margin-bottom: 0;
}

.news__intro {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.news__intro p {
  max-width: 470px;
  margin: 0;
  color: var(--gray-600);
  font-size: 1.46rem;
  font-weight: 550;
  line-height: 1.6;
  text-align: right;
}

.news__view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  color: var(--brand-color-1);
  background: #ffffff;
  border: 1px solid var(--blue-200);
  border-radius: var(--border-radius-pill);
  font-size: 1.34rem;
  font-weight: 850;
  box-shadow: 0 12px 22px rgba(33, 103, 221, 0.06);
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.news__view-all .js-svg-inject,
.news__view-all svg {
  width: 16px;
  height: 16px;
  transition: transform 0.22s ease;
}

.news__view-all:hover {
  color: #ffffff;
  background: var(--brand-color-1);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(33, 103, 221, 0.16);
}

.news__view-all:hover .js-svg-inject,
.news__view-all:hover svg {
  transform: translateX(3px);
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.blog-card {
  text-decoration: none !important;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: inherit;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.045);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.blog-card:hover {
  border-color: rgba(33, 103, 221, 0.32);
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(33, 103, 221, 0.11);
}

.blog-card__image-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__img {
  transform: scale(1.06);
}

.blog-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 10px;
  border: 1px solid rgba(191, 219, 254, 0.92);
  border-radius: var(--border-radius-pill);
  color: var(--gray-800);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 16px;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  margin-bottom: 13px;
}

.blog-card__meta .content-date-meta__item {
  min-height: 34px;
  gap: 7px;
  padding: 6px 10px;
  border-color: var(--blue-150);
  border-radius: var(--border-radius-pill);
  background: linear-gradient(180deg, var(--white), var(--blue-50));
  box-shadow: 0 6px 16px rgba(33, 103, 221, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.blog-card__meta .content-date-meta__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background: rgba(33, 103, 221, 0.11);
}

.blog-card__meta .content-date-meta__icon .js-svg-inject,
.blog-card__meta .content-date-meta__icon svg {
  width: 12px;
  height: 12px;
}

.blog-card__meta .content-date-meta__body {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.blog-card__meta .content-date-meta time {
  color: var(--gray-800);
  font-size: 1.18rem;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

/* Tiêu đề bài viết */
.blog-card__title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 4.7rem;
  margin-bottom: 10px;
  color: var(--gray-900);
  font-size: 1.72rem;
  font-weight: 850;
  line-height: 1.36;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.blog-card:hover .blog-card__title {
  color: var(--brand-color-1);
}

/* Mô tả ngắn */
.blog-card__desc {
  display: -webkit-box;
  flex: 1 1 auto;
  overflow: hidden;
  margin-bottom: 16px;
  color: var(--gray-600);
  font-size: 1.34rem;
  font-weight: 400;
  line-height: 1.58;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.blog-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-width: 128px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--blue-200);
  border-radius: var(--border-radius-pill);
  background: var(--blue-50);
  color: var(--brand-color-1);
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.2;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.blog-card__btn .js-svg-inject,
.blog-card__btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}

.blog-card:hover .blog-card__btn {
  color: var(--white);
  background: var(--brand-color-1);
  border-color: var(--brand-color-1);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(33, 103, 221, 0.18);
}

.blog-card:hover .blog-card__btn .js-svg-inject,
.blog-card:hover .blog-card__btn svg {
  transform: translateX(4px);
}

@media (max-width: 1199.98px) {
  .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991.98px) {
  .news__header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }

  .news__intro {
    justify-items: start;
  }

  .news__intro p {
    max-width: 640px;
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .news {
    padding: 38px 0;
  }

  .news__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .blog-card {
    border-radius: 18px;
  }

  .blog-card__content {
    padding: 14px;
  }
}
/* END NEWS */

/* ==========================================================================
   HOME RESPONSIVE COMPACT PASS
   ========================================================================== */

@media (max-width: 1199.98px) {
  .hero-custom {
    margin-top: 8px;
    padding: 8px 0 4px;
  }

  .fs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fs-banner-slider {
    grid-column: span 2;
    min-height: 320px;
  }
}

@media (max-width: 991.98px) {
  .hero-custom .container,
  .flash-sale .container,
  .services .container,
  .products .container,
  .process .container,
  .news .container {
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-custom__grid {
    gap: 14px;
  }

  .hero-custom__main,
  .slider-container {
    border-radius: 14px;
  }

  .slider-container {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .hero-custom__side-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 10px;
  }

  .hero-item {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
  }

  .flash-sale,
  .services,
  .products,
  .testimonials-advanced,
  .contact,
  .press-mentions,
  .process,
  .news {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .section-title,
  .services .section-title,
  .process .section-title,
  .contact__header .section-title {
    font-size: clamp(2.35rem, 4vw, 3rem) !important;
    line-height: 1.18;
  }

  .section-desc,
  .fs-desc,
  .contact__desc {
    font-size: 1.45rem !important;
    line-height: 1.55;
  }

  .fs-header,
  .products__header,
  .services .section-header--center {
    margin-bottom: 22px;
    gap: 14px;
  }

  .fs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .fs-banner-slider {
    grid-column: 1 / -1;
    min-height: 0;
    aspect-ratio: 16 / 8.5;
    border-radius: 16px;
  }

  .services__grid,
  .products__grid,
  .news__grid {
    gap: 14px;
  }

  .service-card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .service-card::after {
    margin-top: 16px;
  }

  .service-card__icon-box {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 12px;
  }

  .service-card__title {
    font-size: 1.65rem;
    margin-bottom: 8px;
  }

  .service-card__desc {
    font-size: 1.34rem;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .product-card__content {
    padding: 14px;
  }

}

@media (max-width: 767.98px) {
  .hero-custom .container,
  .flash-sale .container,
  .services .container,
  .products .container,
  .process .container,
  .news .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-custom {
    padding-top: 6px;
  }

  .hero-custom__grid {
    gap: 10px;
  }

  .slider-container {
    aspect-ratio: 16 / 8.8;
  }

  .hero-custom__side-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .hero-item {
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  }

  .flash-sale,
  .services,
  .products,
  .testimonials-advanced,
  .contact,
  .press-mentions,
  .process,
  .news {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .fs-title-wrapper {
    gap: 10px;
  }

  .fs-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .fs-icon-box svg {
    width: 22px;
    height: 22px;
  }

  .fs-grid,
  .products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .fs-card {
    padding: 10px;
    border-radius: 14px;
  }

  .fs-card__badge {
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 1.1rem;
  }

  .fs-card__img-box {
    margin-bottom: 10px;
    border-radius: 10px;
  }

  .fs-card__title,
  .fs-card__title a {
    font-size: 1.35rem;
    line-height: 1.32;
  }

  .fs-card__desc {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .fs-card__price-row {
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-bottom: 8px;
  }

  .fs-card__price-sale {
    font-size: 1.55rem;
  }

  .fs-card__price-original,
  .fs-progress__text {
    font-size: 1.08rem;
  }

  .fs-footer {
    margin-top: 24px;
  }

  .fs-view-all {
    padding: 10px 18px;
    font-size: 1.35rem;
  }

  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .service-card {
    padding: 16px 12px;
  }

  .service-card::after {
    margin-top: 14px;
  }

  .service-card__title {
    font-size: 1.42rem;
  }

  .service-card__desc {
    font-size: 1.22rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-card {
    border-radius: 14px;
  }

  .product-card__image-box {
    border-radius: 12px 12px 0 0;
  }

  .product-card__content {
    padding: 12px !important;
  }

  .product-card__name a {
    font-size: 1.48rem !important;
    line-height: 1.28 !important;
    margin-bottom: 6px;
  }

  .product-card__desc {
    font-size: 1.22rem !important;
    line-height: 1.42 !important;
    margin-bottom: 10px !important;
  }

  .price-label {
    font-size: 1.12rem !important;
  }

  .product-card__price {
    font-size: 1.68rem !important;
  }

  .btn-view-all {
    font-size: 1.35rem !important;
  }

  .news__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px;
  }

  .blog-card__image-wrapper {
    margin-bottom: 10px;
    border-radius: 12px;
  }
}

@media (max-width: 575.98px) {
  .hero-custom .container,
  .flash-sale .container,
  .services .container,
  .products .container,
  .process .container,
  .news .container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .section-title,
  .services .section-title,
  .process .section-title,
  .contact__header .section-title {
    font-size: 2.2rem !important;
  }

  .section-desc,
  .fs-desc {
    font-size: 1.34rem !important;
  }

  .slider-container {
    aspect-ratio: 16 / 9.4;
    border-radius: 12px;
  }

  .slider-dots {
    bottom: 10px;
    right: 12px;
    gap: 0;
  }

  .dot {
    width: 40px;
    height: 40px;
  }

  .dot::before {
    width: 7px;
    height: 7px;
  }

  .dot.active::before {
    width: 18px;
  }

  .hero-custom__side-grid {
    gap: 8px;
  }

  .fs-grid,
  .products__grid,
  .services__grid,
  .news__grid {
    gap: 10px;
  }

  .fs-banner-slider {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
  }

}

@media (max-width: 389.98px) {
  .hero-custom .container,
  .flash-sale .container,
  .services .container,
  .products .container,
  .process .container,
  .news .container {
    padding-left: 6px;
    padding-right: 6px;
  }

  .service-card {
    padding: 14px 10px;
  }

  .service-card::after {
    width: 42px;
    margin-top: 12px;
  }

  .service-card__icon-box {
    width: 34px;
    height: 34px;
  }

  .service-card__title {
    font-size: 1.32rem;
  }

  .service-card__desc {
    font-size: 1.14rem;
  }

  .product-card__content {
    padding: 10px !important;
  }
}
