:root {
  --navy: #0f2f6b;
  --blue: #1b57c4;
  --sky: #eaf4ff;
  --sky2: #d6e9ff;
  --orange: #f26a1b;
  --orange2: #ff8a2a;
  --yellow: #ffc531;
  --red: #d92d2d;
  --ink: #16233b;
  --muted: #566178;
  --white: #fff;
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}
h2.title {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: 0.2px;
}
h2.title em {
  font-style: normal;
  color: var(--orange);
}
.sub {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 36px;
  max-width: 560px;
}
section {
  padding: 68px 0;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e3ecf8;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
}
.brand .logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--yellow), var(--orange));
  display: grid;
  place-items: center;
  border: 3px solid var(--navy);
}
.brand small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--orange);
}
.menu {
  display: flex;
  gap: 4px;
}
.menu a {
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}
.menu a:hover {
  background: var(--sky);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, var(--orange2), var(--orange));
  box-shadow: 0 6px 16px rgba(242, 106, 27, 0.35);
  transition: transform 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn.big {
  min-height: 58px;
  padding: 0 34px;
  font-size: 1.15rem;
}
.ico {
  width: 22px;
  height: 22px;
  flex: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: 44px 0 90px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(142, 197, 255, 0.55) 0%,
      rgba(207, 230, 255, 0.35) 55%,
      #fff 100%
    ),
    url('../images/hero-bg.jpg') center bottom / cover no-repeat,
    linear-gradient(180deg, #8ec5ff 0%, #cfe6ff 55%, #fff 100%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 30px;
  align-items: center;
}
.hero h1 {
  margin: 0;
  line-height: 0.95;
  text-align: center;
}
.hero h1 .a {
  display: block;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  font-weight: 900;
  color: #fff;
  -webkit-text-stroke: 7px var(--blue);
  paint-order: stroke fill;
  text-shadow:
    0 6px 0 var(--navy),
    0 12px 22px rgba(15, 47, 107, 0.35);
  letter-spacing: 1px;
}
.hero h1 .b {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 34px 12px;
  font-size: clamp(1.5rem, 3.8vw, 2.9rem);
  font-weight: 900;
  color: #fff;
  background: linear-gradient(180deg, var(--orange2), var(--orange));
  border: 4px solid #fff;
  border-radius: 14px;
  box-shadow:
    0 8px 0 #c24f0c,
    0 14px 24px rgba(0, 0, 0, 0.2);
  transform: rotate(-1.5deg);
}
.slogan {
  margin: 26px auto 0;
  text-align: center;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--navy);
}
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(15, 47, 107, 0.12);
}
.badge svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
}
.cta-row {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

/* ---------- Ảnh placeholder ---------- */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
  background: repeating-linear-gradient(
    45deg,
    #e6f1ff 0 14px,
    #dcebff 14px 28px
  );
  border-radius: var(--radius);
  overflow: hidden;
}
.ph svg {
  width: 44px;
  height: 44px;
  opacity: 0.75;
}
.ph img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .ph {
  aspect-ratio: 4/3;
  min-height: 280px;
  background: none;
  border-radius: 0;
  overflow: visible;
}

.hero .ph img {
  --fade: 14%;
  object-fit: cover;
  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent,
      #000 var(--fade),
      #000 calc(100% - var(--fade)),
      transparent
    ),
    linear-gradient(
      to bottom,
      transparent,
      #000 var(--fade),
      #000 calc(100% - var(--fade)),
      transparent
    );
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(
      to right,
      transparent,
      #000 var(--fade),
      #000 calc(100% - var(--fade)),
      transparent
    ),
    linear-gradient(
      to bottom,
      transparent,
      #000 var(--fade),
      #000 calc(100% - var(--fade)),
      transparent
    );
  mask-composite: intersect;
}

/* ---------- Dịch vụ ---------- */
.services {
  background: #fff;
}
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(15, 47, 107, 0.1);
  overflow: hidden;
  border: 1px solid #e3ecf8;
  display: flex;
  flex-direction: column;
}
.card .ph {
  border-radius: 0;
  border: 0;
  aspect-ratio: 4/3;
}
.card .body {
  padding: 18px 16px 22px;
  text-align: center;
}
.card h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
}
.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.tick {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #22a559;
  color: #fff;
  margin-bottom: 8px;
}
.tick svg {
  width: 15px;
  height: 15px;
}

/* ---------- Cửa hàng ---------- */
.stores {
  background: var(--sky);
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.store {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(15, 47, 107, 0.12);
}
.store .ph {
  border-radius: 0;
  border: 0;
  aspect-ratio: 16/10;
}
.store .info {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
}
.pin {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
}
.store b {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy);
  text-transform: uppercase;
}
.store span {
  color: var(--muted);
  font-weight: 500;
}
.store a.map {
  margin-left: auto;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue);
  white-space: nowrap;
}

/* ---------- Vì sao chọn ---------- */
.grid5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.why {
  background: #fff;
  border: 1px solid #e3ecf8;
  border-radius: var(--radius);
  padding: 22px 12px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(15, 47, 107, 0.07);
}
.why .circ {
  width: 62px;
  height: 62px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(160deg, var(--orange2), var(--orange));
}
.why .circ svg {
  width: 30px;
  height: 30px;
}
.why b {
  display: block;
  font-size: 0.92rem;
  color: var(--navy);
  text-transform: uppercase;
  font-weight: 800;
}
.why span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Quy trình ---------- */
.process {
  background: linear-gradient(180deg, #fff, var(--sky));
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: s;
  position: relative;
}
.step {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 18px 22px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(15, 47, 107, 0.1);
  border: 1px solid #e3ecf8;
}
.step::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  top: -16px;
  left: -8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-top: 3px solid var(--orange);
  border-right: 3px solid var(--orange);
  transform: translateY(-50%) rotate(45deg);
}
.step svg {
  width: 40px;
  height: 40px;
  color: var(--navy);
  margin-bottom: 8px;
}
.step b {
  display: block;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 800;
}
.step span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Không cung cấp ---------- */
.nope {
  padding: 0 0 68px;
  background: var(--sky);
}
.nope-box {
  background: #fff;
  border: 2px solid #ffd2d2;
  border-radius: 24px;
  padding: 34px 24px 30px;
  box-shadow: 0 8px 26px rgba(217, 45, 45, 0.08);
}
.nope h2.title em {
  color: var(--red);
}
.grid4.n {
  max-width: 900px;
  margin-inline: auto;
}
.no {
  text-align: center;
}
.no .ban {
  position: relative;
  width: 86px;
  height: 86px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff1f1;
  color: #a36;
}
.no .ban::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 5px solid var(--red);
  background: linear-gradient(
    135deg,
    transparent 46%,
    var(--red) 46% 54%,
    transparent 54%
  );
}
.no .ban svg {
  width: 40px;
  height: 40px;
  color: #7a5a1c;
}
.no b {
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  font-size: 0.95rem;
}

/* ---------- Liên hệ ---------- */
.contact {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 197, 49, 0.18);
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: center;
  z-index: 1;
}
.contact .ph {
  aspect-ratio: 1/1;
  max-width: 340px;
  margin-inline: auto;
  border-color: #9fc2f5;
  background-color: #e6f1ff;
}
.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--yellow);
  line-height: 1.05;
}
.contact p.lead {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 8px 0 24px;
}
.perks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.perk {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
  font-size: 0.92rem;
}
.perk i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange);
  font-style: normal;
}
.perk svg {
  width: 20px;
  height: 20px;
}
.addr {
  margin-top: 22px;
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: #d6e6ff;
}

/* ---------- Footer ---------- */
footer {
  background: #0a1f47;
  color: #c9d7f0;
  padding: 46px 0 22px;
}
.f-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: 30px;
}
footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
}
footer .f-brand {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
  font-size: 0.92rem;
}
footer a:hover {
  color: var(--yellow);
}
.copy {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  font-size: 0.85rem;
}

/* Nút gọi nổi trên điện thoại */
.fab {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .grid4,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .step::after {
    display: none;
  }
  .menu {
    display: none;
  }
  .f-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  section {
    padding: 48px 0;
  }
  .grid2,
  .f-grid,
  .grid5 {
    grid-template-columns: 1fr;
  }
  .grid5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid4.n {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .nav .btn span {
    display: none;
  }
  .nav .btn {
    padding: 0 16px;
  }
  .hero h1 .a {
    -webkit-text-stroke: 5px var(--blue);
  }
  .fab {
    display: flex;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(180deg, var(--orange2), var(--orange));
    box-shadow: 0 8px 20px rgba(242, 106, 27, 0.5);
    animation: fab-pulse 2s infinite;
    transition: transform 0.2s;
  }
  .fab:active {
    transform: scale(0.92);
  }
  .fab svg {
    width: 26px;
    height: 26px;
    animation: fab-ring 2.4s infinite;
    transform-origin: 50% 50%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Hiệu ứng nút gọi ---------- */
@keyframes fab-pulse {
  0% {
    box-shadow:
      0 8px 20px rgba(242, 106, 27, 0.5),
      0 0 0 0 rgba(242, 106, 27, 0.6);
  }
  70% {
    box-shadow:
      0 8px 20px rgba(242, 106, 27, 0.5),
      0 0 0 22px rgba(242, 106, 27, 0);
  }
  100% {
    box-shadow:
      0 8px 20px rgba(242, 106, 27, 0.5),
      0 0 0 0 rgba(242, 106, 27, 0);
  }
}
@keyframes fab-ring {
  0%,
  50%,
  100% {
    transform: rotate(0);
  }
  5%,
  15%,
  25%,
  35% {
    transform: rotate(-16deg);
  }
  10%,
  20%,
  30%,
  40% {
    transform: rotate(16deg);
  }
}
