body {
  font-family: Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f6fbff;
  color: #17324d;
}

a {
  text-decoration: none;
  color: #0b6aa2;
}

main {
  flex: 1 0 auto;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.site-header,
.site-footer {
  background: #fff;
  border-bottom: 1px solid #e5edf4;
}

.site-footer {
  border-top: 1px solid #e5edf4;
  border-bottom: none;
  margin-top: auto;
}

.site-footer__grid,
.site-footer__contact,
.site-footer__links {
  display: grid;
  gap: 12px;
}

.site-footer__grid {
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-footer__brand strong {
  display: block;
  font-size: 20px;
  color: #17324d;
}

.site-footer__logo {
  display: block;
  width: auto;
  max-width: min(100%, 220px);
  height: auto;
  margin-bottom: 10px;
}

.site-footer__brand p,
.site-footer__contact span,
.site-footer__bottom p {
  margin: 0;
  color: #587286;
  line-height: 1.7;
}

.site-footer__links a {
  color: #17324d;
  font-weight: 700;
}

.site-footer__bottom {
  padding-top: 0;
  padding-bottom: 20px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.brand {
  color: #17324d;
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__title {
  font-weight: 700;
  font-size: 24px;
}

.brand__tagline {
  color: #587286;
  font-size: 12px;
  line-height: 1.3;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #17324d;
}

.nav-inline-form {
  margin: 0;
}

.nav-inline-link,
.nav-account-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0;
  width: auto;
  border: 0;
  background: none;
  color: #17324d;
  cursor: pointer;
}

.site-nav a.is-active {
  color: #0b6aa2;
  font-weight: 700;
}

.nav-cart {
  position: relative;
  gap: 8px;
}

.nav-cart__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #0b6aa2;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.nav-cta.btn,
.site-header .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d4e5ef;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #17324d;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  padding: 32px;
  background: linear-gradient(135deg, #d9f1ff, #f7fbff);
  border-radius: 16px;
  margin-bottom: 24px;
}

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

.card {
  background: #fff;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #e5edf4;
}

.btn {
  display: inline-block;
  background: #0b6aa2;
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

a.btn,
button.btn,
.btn:visited {
  color: #fff;
}

.stack {
  display: grid;
  gap: 12px;
  max-width: 640px;
}

.flash {
  padding: 12px 14px;
  border-radius: 10px;
  margin: 10px 0;
}

.flash.success {
  background: #e8fff1;
  color: #126d3d;
}

.flash.error {
  background: #fff0f0;
  color: #a12626;
}

input,
textarea,
select,
button {
  font: inherit;
  padding: 10px;
  border: 1px solid #cdd9e5;
  border-radius: 10px;
  width: 100%;
  box-sizing: border-box;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  border: 1px solid #e5edf4;
  padding: 10px;
  text-align: left;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 29;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(11, 106, 162, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #0b6aa2;
  box-shadow: 0 16px 30px rgba(14, 58, 83, 0.16);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-contact-bar {
  display: none;
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 12px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
    padding: 0 4px;
  }

  .brand__logo {
    width: 46px;
    height: 46px;
  }

  .brand__title {
    font-size: 22px;
  }

  .site-nav .nav-cta {
    margin-top: 4px;
    width: 100%;
  }

  body {
    padding-bottom: 156px;
  }

  .mobile-contact-bar {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 31;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  .mobile-contact-bar.is-collapsed {
    transform: translateY(42px) scale(0.98);
    opacity: 0.92;
  }

  .mobile-contact-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 999px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 16px 30px rgba(14, 58, 83, 0.16);
  }

  .mobile-contact-bar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
  }

  .mobile-contact-bar__icon svg {
    width: 16px;
    height: 16px;
  }

  .mobile-contact-bar__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .mobile-contact-bar__btn--call {
    background: linear-gradient(145deg, #0b6aa2, #1696c5);
    animation: mobile-call-pulse 2.4s ease-in-out infinite;
  }

  .mobile-contact-bar__btn--zalo {
    background: linear-gradient(145deg, #005ae0, #0a7cff);
  }

  .mobile-contact-bar.is-collapsed .mobile-contact-bar__label {
    display: none;
  }

  .mobile-contact-bar.is-collapsed .mobile-contact-bar__btn {
    min-height: 44px;
    padding: 0;
  }

  .mobile-contact-bar.is-collapsed .mobile-contact-bar__icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.22);
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 12px;
    bottom: 70px;
    left: 12px;
    z-index: 30;
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(11, 106, 162, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 40px rgba(14, 58, 83, 0.16);
    backdrop-filter: blur(10px);
  }

  .mobile-sticky-cta__meta strong,
  .mobile-sticky-cta__meta span {
    display: block;
  }

  .mobile-sticky-cta__meta strong {
    color: #17324d;
  }

  .mobile-sticky-cta__meta span {
    margin-top: 4px;
    color: #587286;
    font-size: 13px;
  }

  .mobile-sticky-cta__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .mobile-sticky-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    background: #0b6aa2;
    color: #fff;
    font-weight: 700;
  }

  .mobile-sticky-cta__btn--ghost {
    background: #eef7fc;
    color: #0b6aa2;
  }

  .back-to-top {
    right: 14px;
    bottom: 168px;
  }
}

@media (max-width: 480px) {
  body {
    padding-bottom: 96px;
  }

  .mobile-contact-bar {
    grid-template-columns: repeat(2, minmax(0, 54px));
    justify-content: end;
    left: auto;
  }

  .mobile-contact-bar__btn {
    min-height: 54px;
    padding: 0;
  }

  .mobile-contact-bar__label {
    display: none;
  }

  .mobile-contact-bar__icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.22);
  }

  .back-to-top {
    bottom: 108px;
  }
}

@media (min-width: 860px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.9fr) minmax(200px, 0.8fr);
    align-items: start;
  }
}

@keyframes mobile-call-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 16px 30px rgba(14, 58, 83, 0.16);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 18px 34px rgba(11, 106, 162, 0.28);
  }
}
