/* ==========================================================================
   Shop refresh — service banners, category rows, product gallery, auth, footer
   Loaded after style.css and intentionally only adds/overrides what changed.
   ========================================================================== */

/* ---------------------------- Brand & topbar ----------------------------- */
.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 14px;
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar__phone,
.topbar__portfolio {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #c8d0e2;
  font-size: 12.5px;
  transition: color 0.18s ease;
}

.topbar__phone:hover,
.topbar__portfolio:hover {
  color: #fff;
}

.topbar__sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.24);
}

.footer-logo img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  padding: 8px;
  border-radius: 18px;
  background: #fff;
}

@media (max-width: 760px) {
  .topbar__portfolio,
  .topbar__sep {
    display: none;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .brand__text small {
    display: none;
  }
}

/* --------------------------- Service banners ---------------------------- */
.listing-head--services {
  padding-bottom: 34px;
}

.listing-head--services .listing-head__row {
  align-items: flex-start;
}

.shop-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(100%, 520px);
  margin-top: 16px;
  padding: 5px 6px 5px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.shop-search svg {
  color: var(--muted);
}

.shop-search input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14.5px;
}

.shop-search .btn {
  height: 38px;
  padding-inline: 16px;
  flex-shrink: 0;
}

.service-banners {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.service-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.service-banner:hover,
.service-banner.is-active {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent, #3758f9) 45%, #fff);
  box-shadow: 0 18px 42px rgba(9, 14, 52, 0.13);
}

.service-banner__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: color-mix(in srgb, var(--accent, #3758f9) 14%, #eef2ff);
}

.service-banner__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-banner:hover .service-banner__media > img {
  transform: scale(1.06);
}

.service-banner__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 14, 52, 0.04) 0%,
    rgba(9, 14, 52, 0.52) 100%
  );
}

.service-banner__icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 16px rgba(9, 14, 52, 0.22);
}

.service-banner__icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.service-banner__num {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(9, 14, 52, 0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.service-banner__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 13px 12px;
  flex: 1;
}

.service-banner__body strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.service-banner__body > small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.service-banner__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px dashed var(--line);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
}

.service-banner__foot svg {
  color: var(--accent, var(--primary));
  transition: transform 0.2s ease;
}

.service-banner:hover .service-banner__foot svg {
  transform: translateX(-3px);
}

/* -------------------------- Category sections --------------------------- */
.service-section {
  padding-top: 34px;
  padding-bottom: 10px;
}

.service-section + .service-section {
  margin-top: 6px;
  border-top: 1px solid var(--line);
}

.service-section__head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 16px;
}

.service-section__num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  margin-top: 4px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.service-section__copy {
  flex: 1;
  min-width: 0;
}

.service-section__copy h2 {
  margin-bottom: 2px;
  font-size: 22px;
}

.service-section__copy h2 a:hover {
  color: var(--primary);
}

.service-section__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.service-section__all {
  flex-shrink: 0;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-line .core-plan {
  padding: 16px;
}

.service-line .core-plan__tagline {
  min-height: 34px;
}

.service-line .core-plan__foot {
  gap: 6px;
}

.service-line .core-plan__foot .btn {
  padding-inline: 11px;
}

.suggest-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(155deg, #101a44 0%, #1a2f74 58%, #2543b8 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(15, 27, 70, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.suggest-card::before {
  content: "";
  position: absolute;
  top: -55px;
  left: -45px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent, #6ea0ff) 70%, transparent);
  filter: blur(18px);
  opacity: 0.55;
  pointer-events: none;
}

.suggest-card::after {
  content: "";
  position: absolute;
  bottom: -70px;
  right: -50px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.suggest-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(15, 27, 70, 0.38);
}

.suggest-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 12px;
}

.suggest-card__flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #dbe5ff;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.suggest-card__flag svg {
  color: #ffd86b;
}

.suggest-card__badge {
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff;
  color: #172a6b;
  font-size: 10.5px;
  font-weight: 800;
}

.suggest-card__title {
  position: relative;
  z-index: 1;
  margin-bottom: 4px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.6;
}

.suggest-card__tagline {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #c8d5ff;
  font-size: 12.5px;
  line-height: 1.75;
}

.suggest-card__price {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 13px;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.suggest-card__price small {
  color: #c8d5ff;
  font-size: 11.5px;
  font-weight: 400;
}

.suggest-card__cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}

.suggest-card--consult {
  background: linear-gradient(155deg, #0d3b34 0%, #0f6b56 60%, #13c296 130%);
  box-shadow: 0 18px 40px rgba(9, 71, 58, 0.26);
}

.service-sub {
  margin-top: 16px;
  padding: 15px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}

.service-sub__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
}

.service-sub__head small {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
}

.service-sub__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 10px;
}

.service-sub__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.service-sub__item:hover {
  transform: translateX(-2px);
  border-color: #c4d0f7;
}

.service-sub__name {
  overflow: hidden;
  color: var(--body);
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-sub__meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
}

.service-sub__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 11px;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
}

.service-sub-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 30px 0 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.service-sub-head h3 {
  margin: 2px 0 0;
  font-size: 19px;
}

.service-sub-head > span {
  flex-shrink: 0;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.catalog-main--flat {
  padding-top: 10px;
}

/* ------------------------------ Gallery --------------------------------- */
.product-media--gallery {
  display: block;
  min-height: 0;
  padding: 14px;
  overflow: visible;
  background: color-mix(in srgb, var(--accent, #3758f9) 6%, #fff);
}

.product-media--gallery .product-media__glow {
  top: -30px;
  left: -40px;
}

.gallery-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.gallery-count {
  margin-inline-start: auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.gallery-count b {
  color: var(--ink);
}

.gallery-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: #f4f6fb;
  box-shadow: inset 0 0 0 1px rgba(9, 14, 52, 0.05);
}

.gallery-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.gallery-slide img,
.gallery-slide video,
.gallery-slide iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.gallery-slide img {
  object-fit: contain;
  background: #fff;
}

.gallery-slide video {
  object-fit: contain;
  background: #050914;
}

.gallery-slide figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px 14px 10px;
  background: linear-gradient(0deg, rgba(5, 9, 20, 0.78), transparent);
  color: #fff;
  font-size: 12px;
  line-height: 1.7;
  text-align: right;
}

.gallery-empty {
  color: var(--muted);
  font-size: 13px;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(9, 14, 52, 0.18);
  transform: translateY(-50%);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.gallery-arrow:hover {
  background: var(--primary);
  color: #fff;
}

.gallery-arrow--prev {
  left: 10px;
}

.gallery-arrow--next {
  right: 10px;
}

.gallery-thumbs {
  display: flex;
  gap: 7px;
  margin-top: 10px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.gallery-thumb {
  position: relative;
  flex: 0 0 76px;
  height: 56px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 9px;
  background: #fff;
  opacity: 0.68;
  transition: border-color 0.18s ease, opacity 0.18s ease;
}

.gallery-thumb:hover {
  opacity: 1;
}

.gallery-thumb.is-active {
  border-color: var(--primary);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--soft);
}

.gallery-thumb__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(9, 14, 52, 0.72);
  color: #fff;
}

.product-media--gallery .product-media__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11.5px;
}

.product-media--gallery .product-media__facts strong {
  color: var(--ink);
}

/* ------------------------------- Auth ----------------------------------- */
.auth-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 120px);
  padding: 42px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, #dfe8ff 0%, transparent 42%),
    radial-gradient(circle at 88% 92%, #e7e2ff 0%, transparent 40%),
    linear-gradient(180deg, #f8faff 0%, #f2f5fd 100%);
}

.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.55;
  animation: authDrift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

.auth-orb--one {
  top: 8%;
  right: 4%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #b9c8ff, transparent 68%);
}

.auth-orb--two {
  bottom: 2%;
  left: 6%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #c9b5ff, transparent 68%);
  animation-delay: -6s;
}

.auth-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(55, 88, 249, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 88, 249, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, #000 20%, transparent 76%);
  pointer-events: none;
}

.auth-shell {
  position: relative;
  z-index: 2;
  border-radius: 28px;
  box-shadow: 0 34px 80px rgba(9, 14, 52, 0.18);
  animation: authRise 0.65s cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

.auth-aside {
  background:
    radial-gradient(circle at 20% 12%, rgba(111, 141, 255, 0.55), transparent 46%),
    linear-gradient(155deg, #0d173c 0%, #1c2f8c 46%, #3554e8 100%);
}

.auth-aside__logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: 20px;
  padding: 7px 12px 7px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(6px);
}

.auth-aside__logo img {
  width: 46px;
  height: 46px;
  padding: 3px;
  border-radius: 11px;
  background: #fff;
  object-fit: contain;
}

.auth-aside__logo span {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.auth-aside__logo strong {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.auth-aside__logo small {
  color: #b8c6f5;
  font-size: 10.5px;
}

.auth-aside__ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.auth-aside__ring--one {
  width: 300px;
  height: 300px;
  top: -120px;
  left: -110px;
}

.auth-aside__ring--two {
  width: 420px;
  height: 420px;
  bottom: -230px;
  right: -180px;
  border-color: rgba(255, 255, 255, 0.08);
}

.auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 32px;
  animation: authFade 0.7s ease 0.1s both;
}

.auth-kicker {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
}

.auth-card__head {
  margin-bottom: 16px;
}

.auth-card__head h2 {
  margin-bottom: 3px;
  font-size: 25px;
}

.auth-card__head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--soft);
}

.auth-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 36px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  transition: color 0.2s ease, background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.auth-tab.is-active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(9, 14, 52, 0.08);
}

.auth-pane {
  display: none;
}

.auth-pane.is-active {
  display: block;
  animation: authPane 0.32s ease both;
}

.auth-pane[hidden] {
  display: none;
}

.auth-card .field {
  margin-bottom: 12px;
}

.auth-card .field label {
  display: block;
  margin-bottom: 5px;
  color: var(--body);
  font-size: 12.5px;
  font-weight: 600;
}

.auth-card .field-input {
  height: 45px;
  border-radius: 11px;
}

.auth-card .field-input:focus {
  border-color: #9fb0f8;
  box-shadow: 0 0 0 4px rgba(55, 88, 249, 0.09);
}

.field-hint {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11.5px;
}

.phone-field {
  display: flex;
  align-items: stretch;
  height: 45px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.phone-field:focus-within {
  border-color: #9fb0f8;
  box-shadow: 0 0 0 4px rgba(55, 88, 249, 0.09);
}

.phone-field__prefix {
  display: grid;
  place-items: center;
  min-width: 56px;
  padding-inline: 10px;
  border-inline-end: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.phone-field input {
  flex: 1;
  height: 100%;
  min-width: 0;
  padding-inline: 12px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  letter-spacing: 0.4px;
  font-weight: 600;
}

.otp-code-input {
  width: 100%;
  height: 54px;
  padding-inline: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 11px;
  text-align: center;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.otp-code-input:focus {
  outline: 0;
  border-color: #9fb0f8;
  box-shadow: 0 0 0 4px rgba(55, 88, 249, 0.09);
}

.otp-sent {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #dbe4ff;
  border-radius: 11px;
  background: #f7f9ff;
}

.otp-sent__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
}

.otp-sent p {
  flex: 1;
  margin: 0;
  color: var(--body);
  font-size: 12px;
  line-height: 1.8;
}

.otp-sent strong {
  color: var(--ink);
  letter-spacing: 0.4px;
}

.link-inline {
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.otp-resend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 20px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11.5px;
}

.otp-feedback {
  margin-top: 9px;
  padding: 0;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.8;
}

.otp-feedback:not(:empty) {
  padding: 8px 10px;
}

.otp-feedback.is-error {
  background: var(--red-soft);
  color: var(--red);
}

.otp-feedback.is-success {
  background: var(--green-soft);
  color: #0b8f68;
}

.otp-step[hidden] {
  display: none;
}

.auth-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.auth-steps li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  transition: border-color 0.2s ease, background-color 0.2s ease,
    color 0.2s ease;
}

.auth-steps li span {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.auth-steps li.is-active {
  border-color: #b9c7ff;
  background: #f4f7ff;
  color: var(--primary);
}

.auth-steps li.is-active span {
  background: var(--primary);
  color: #fff;
}

.auth-steps li.is-done {
  border-color: #c9f0e3;
  background: #f4fdf9;
  color: #0b8f68;
}

.auth-steps li.is-done span {
  background: #0b8f68;
  color: #fff;
}

.auth-small-print {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10.8px;
  text-align: center;
}

.auth-small-print a {
  color: var(--primary);
}

.auth-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.auth-trust span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 10.8px;
}

.auth-trust svg {
  color: var(--green);
}

.auth-aside--signup {
  background:
    radial-gradient(circle at 80% 8%, rgba(19, 194, 150, 0.3), transparent 40%),
    linear-gradient(160deg, #0a1738 0%, #16327a 52%, #334fd6 100%);
}

/* ---------------------------- Footer buttons ---------------------------- */
.footer-col--contact {
  display: flex;
  flex-direction: column;
}

.footer-consult {
  min-height: 58px;
  margin-top: 2px;
  padding: 9px 11px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(3, 8, 31, 0.28);
}

.footer-consult:hover {
  box-shadow: 0 16px 34px rgba(3, 8, 31, 0.4);
}

.footer-consult__icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
}

.footer-consult__text strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.footer-consult__text small {
  color: #5f6b82;
  font-size: 10.5px;
}

.footer-consult__arrow {
  color: var(--primary);
  opacity: 1;
}

.footer-portfolio-btn {
  min-height: 46px;
  margin-top: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #dbe3ff;
  font-size: 12.5px;
  font-weight: 700;
  transition: border-color 0.18s ease, background-color 0.18s ease,
    color 0.18s ease;
}

.footer-portfolio-btn:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.footer-portfolio-btn svg {
  color: #8fa4ff;
}

/* ----------------------------- Animations ------------------------------- */
@keyframes authRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes authFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes authPane {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes authDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-18px, 16px, 0) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-orb,
  .auth-shell,
  .auth-card,
  .auth-pane.is-active {
    animation: none;
  }
}

/* ---------------------------- Responsive -------------------------------- */
@media (max-width: 1120px) {
  .service-banners {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-section__all {
    display: none;
  }
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    padding: 24px 22px;
  }

  .auth-aside h1 {
    margin-bottom: 4px;
    font-size: 21px;
  }

  .auth-aside > p,
  .auth-points,
  .auth-aside__quote,
  .auth-aside__logo {
    display: none;
  }

  .auth-aside__eyebrow {
    margin-bottom: 8px;
  }

  .auth-card {
    padding: 26px 22px 30px;
  }

  .auth-section {
    min-height: 0;
    padding: 24px 0 44px;
  }
}

@media (max-width: 760px) {
  .service-banners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .service-banner__body {
    padding: 10px;
  }

  .service-banner__body strong {
    font-size: 13.5px;
  }

  .service-banner__body > small {
    font-size: 11px;
    min-height: 30px;
  }

  .service-banner__foot {
    font-size: 11px;
  }

  .service-banner__num {
    display: none;
  }

  .service-line {
    grid-template-columns: 1fr;
  }

  .service-sub__grid {
    grid-template-columns: 1fr;
  }

  .service-sub-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .shop-search {
    width: 100%;
  }

  .gallery-stage {
    aspect-ratio: 4 / 3;
  }

  .gallery-thumb {
    flex-basis: 64px;
    height: 48px;
  }

  .gallery-arrow {
    width: 32px;
    height: 32px;
  }

  .auth-card__head h2 {
    font-size: 22px;
  }

  .auth-tab {
    font-size: 11.5px;
  }

  .auth-tabs {
    gap: 3px;
  }
}

@media (max-width: 480px) {
  .service-banners {
    grid-template-columns: 1fr 1fr;
  }

  .footer-logo img {
    width: 96px;
    height: 96px;
  }

  .service-section__head {
    gap: 9px;
  }

  .service-section__num {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .service-section__copy h2 {
    font-size: 19px;
  }

  .otp-code-input {
    letter-spacing: 8px;
  }
}
