/* ======================================================================
   GIA BẢO 89 PHARMA — style.css
   Theme  : Medical Precision — Trắng sáng + Xanh y tế + Xám bạc
   Font   : DM Serif Display (heading) + DM Sans (body)
   Effect : LED glow border on hover/focus/active — CSS-native
   ====================================================================== */


/* ======================================================================
   1. DESIGN TOKENS — Biến CSS toàn cục
   ====================================================================== */
:root {
  /* — Màu nền — */
  --bg:          #FFFFFF;         /* Trang chủ */
  --bg-section:  #F6F9FC;         /* Section xen kẽ */
  --bg-card:     #FFFFFF;         /* Card surface */
  --bg-input:    #F0F5FA;         /* Input background */

  /* — Xanh Y tế chủ đạo (Medical Blue) — */
  --blue:        #0A6EBD;         /* Primary */
  --blue-dark:   #075399;         /* Hover darker */
  --blue-light:  #E8F3FF;         /* Tint nhẹ */
  --blue-mid:    rgba(10,110,189,0.18);

  /* — Xám bạc — */
  --silver:      #8A9BB0;         /* Muted text */
  --border:      #DDE6F0;         /* Đường viền nhẹ */
  --border-card: rgba(10,110,189,0.10); /* Card border */

  /* — Màu văn bản — */
  --text-1:  #0B1E33;   /* Heading */
  --text-2:  #344A5E;   /* Body */
  --text-3:  #7A8FA3;   /* Muted */

  /* — Đổ bóng — */
  --shadow-xs:  0 2px 8px rgba(10,110,189,0.06);
  --shadow-sm:  0 4px 20px rgba(10,110,189,0.08);
  --shadow-md:  0 8px 36px rgba(10,110,189,0.12);
  --shadow-lg:  0 16px 56px rgba(10,110,189,0.16);

  /* — LED Glow — đây là "hiệu ứng đèn LED" bao quanh khối khi hover/click — */
  --glow-blue:  0 0 0 1px rgba(10,110,189,0.25),
                0 0 20px rgba(10,110,189,0.20),
                0 0 40px rgba(10,110,189,0.10);
  --glow-active: 0 0 0 2px rgba(10,110,189,0.50),
                 0 0 30px rgba(10,110,189,0.30),
                 0 0 60px rgba(10,110,189,0.15);

  /* — Font — */
  --font-h: 'DM Serif Display', serif;
  --font-b: 'DM Sans', sans-serif;

  /* — Kích thước — */
  --max-w:   1200px;
  --r-sm:    8px;
  --r-md:    14px;
  --r-lg:    20px;
  --r-xl:    28px;
  --hdr-h:   72px;

  /* — Chuyển động — */
  --t:       0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-glow:  0.25s ease;
}


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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html { overflow-x: hidden; }
body {
  font-family: var(--font-b);
  font-size: 16px;
  color: var(--text-2);
  background: var(--bg);
  line-height: 1.72;
}

img  { max-width: 100%; height: auto; display: block; object-fit: cover; }
a    { color: var(--blue); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--blue-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-b); }
input, textarea, select, button { font-family: var(--font-b); }
em { font-style: italic; }

/* ======================================================================
   3. THANH TIẾN ĐỘ CUỘN
   ====================================================================== */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--blue), #00C2A8);
  z-index: 9999; transition: width 0.1s linear;
}


/* ======================================================================
   4. TIỆN ÍCH — Utility
   ====================================================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.section       { padding: 100px 0; }
.section--alt  { background: var(--bg-section); }

/* Section header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.section-header .section-eyebrow { justify-content: center; }

.eyebrow__num {
  font-family: var(--font-b); font-weight: 700;
  font-size: 11px; color: var(--blue); letter-spacing: 3px;
}
.eyebrow__line {
  flex: 0 0 32px; height: 1px;
  background: var(--blue); opacity: .4;
}
.eyebrow__label {
  font-family: var(--font-b); font-weight: 600;
  font-size: 11px; color: var(--blue); letter-spacing: 2.5px; text-transform: uppercase;
}

.section-title {
  font-family: var(--font-h); font-weight: 400;
  font-size: clamp(26px, 3.5vw, 44px);
  color: var(--text-1); line-height: 1.2; margin-bottom: 18px;
}
.section-title em { color: var(--blue); }

.section-subtitle {
  font-size: 16px; color: var(--text-3); line-height: 1.8;
}

/* Badge nhỏ */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue-light); border: 1px solid rgba(10,110,189,0.2);
  border-radius: 100px; padding: 6px 16px;
  font-size: 12px; font-weight: 600; color: var(--blue);
  letter-spacing: .5px; margin-bottom: 22px;
}


/* ======================================================================
   5. HIỆU ỨNG LED GLOW — Áp dụng cho mọi "glow-card"
   ====================================================================== */
.glow-card {
  /* Trạng thái mặc định: border nhẹ, shadow nhẹ */
  border: 1.5px solid var(--border-card);
  box-shadow: var(--shadow-xs);
  transition:
    border-color var(--t-glow),
    box-shadow var(--t-glow),
    transform var(--t),
    background var(--t);
  position: relative;
  overflow: hidden;
}

/* Lớp quét sáng khi hover */
.glow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,110,189,0) 0%,
    rgba(10,110,189,0.06) 50%,
    rgba(10,110,189,0) 100%
  );
  opacity: 0;
  transition: opacity var(--t);
  pointer-events: none;
}

/* HOVER: LED bật sáng */
.glow-card:hover {
  border-color: rgba(10,110,189,0.45);
  box-shadow: var(--glow-blue);
  transform: translateY(-5px);
}
.glow-card:hover::before { opacity: 1; }

/* CLICK/ACTIVE: LED mạnh hơn */
.glow-card:active {
  border-color: var(--blue);
  box-shadow: var(--glow-active);
  transform: translateY(-3px);
}


/* ======================================================================
   6. BUTTONS
   ====================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: var(--font-b); font-weight: 600;
  border-radius: 100px; /* Pill shape */
  border: 2px solid transparent;
  transition: all var(--t); cursor: pointer;
  text-decoration: none; white-space: nowrap;
  position: relative; overflow: hidden;
}

.btn--sm  { font-size: 13px; padding: 9px 20px; }
.btn--lg  { font-size: 15px; padding: 15px 32px; }
.btn--full { width: 100%; border-radius: var(--r-md); }

/* Nút xanh chính */
.btn--blue {
  background: var(--blue); color: #fff; border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(10,110,189,0.3);
}
.btn--blue:hover {
  background: var(--blue-dark); border-color: var(--blue-dark);
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(10,110,189,0.4), var(--glow-blue);
}
.btn--blue:active {
  transform: translateY(0);
  box-shadow: var(--glow-active);
}

/* Nút outline */
.btn--outline {
  background: transparent; color: var(--blue); border-color: var(--blue);
}
.btn--outline:hover {
  background: var(--blue-light); color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--glow-blue);
}

/* Loading state */
.btn .fa-spinner { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }


/* ======================================================================
   7. HEADER
   ====================================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--hdr-h);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: all var(--t);
}
.header--scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--hdr-h); gap: 16px;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  transition: transform var(--t);
}
.logo__icon--sm { width: 34px; height: 34px; }
.logo:hover .logo__icon { transform: rotate(-5deg) scale(1.05); }
.logo__text { display: flex; flex-direction: column; gap: 0; }
.logo__name {
  font-family: var(--font-b); font-weight: 700;
  font-size: 14px; color: var(--text-1); letter-spacing: .5px; line-height: 1.2;
}
.logo__sub {
  font-family: var(--font-b); font-weight: 400;
  font-size: 9px; color: var(--blue); letter-spacing: 3px; text-transform: uppercase;
}

/* Nav */
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  font-size: 14px; font-weight: 500; color: var(--text-2);
  padding: 7px 14px; border-radius: 100px; transition: all var(--t);
}
.nav__link:hover { color: var(--blue); background: var(--blue-light); }
.nav__link.active { color: var(--blue); font-weight: 600; }

/* Header right */
.header__right { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px; width: 40px; height: 40px;
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--r-sm); cursor: pointer; transition: all var(--t);
}
.hamburger:hover { background: var(--blue-light); border-color: rgba(10,110,189,0.25); }
.hamburger__bar {
  display: block; width: 20px; height: 2px;
  background: var(--text-1); border-radius: 1px; transition: all var(--t);
}
.hamburger.is-active .hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active .hamburger__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-active .hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ======================================================================
   8. HERO SECTION
   ====================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--bg);
  padding-top: var(--hdr-h);
  overflow: hidden;
}

/* Lưới nền phong cách y tế */
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,110,189,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,110,189,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

/* Hào quang màu xanh nền */
.hero__glow--left {
  position: absolute; left: -15%; top: 10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,110,189,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero__glow--right {
  position: absolute; right: -10%; bottom: 5%;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,168,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  padding: 80px 28px; max-width: var(--max-w);
  margin: 0 auto; width: 100%;
  position: relative; z-index: 1;
}

/* Content */
.hero__title {
  font-family: var(--font-h); font-weight: 400;
  font-size: clamp(32px, 4vw, 54px);
  color: var(--text-1); line-height: 1.15; margin-bottom: 20px;
}
.hero__title em {
	color: var(--blue);
        font-size: 0.9em;
 }

.hero__desc {
  font-size: 16px; color: var(--text-2); line-height: 1.8;
  max-width: 500px; margin-bottom: 36px;
}
.hero__desc strong { color: var(--blue); font-weight: 600; }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

/* Stats bar */
.hero__stats {
  display: flex; align-items: center;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 4px;
  width: fit-content; overflow: hidden;
}
.stat-pill {
  display: flex; flex-direction: column; gap: 1px;
  padding: 14px 24px; text-align: center;
}
.stat-pill__num {
  font-family: var(--font-h); font-size: 24px;
  color: var(--blue); line-height: 1;
}
.stat-pill__lbl { font-size: 11px; color: var(--text-3); }
.stat-pill__sep {
  width: 1px; height: 40px; align-self: center;
  background: var(--border);
}

/* Hero image */
.hero__visual { display: flex; justify-content: flex-end; }
.hero__img-frame {
  position: relative; width: 100%; max-width: 500px;
}
.hero__img {
  width: 100%; height: 540px;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* Floating cards trên ảnh hero */
.hero__card {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 100px;
  padding: 10px 18px;
  font-size: 13px; font-weight: 600; color: var(--text-1);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.hero__card i { color: var(--blue); font-size: 16px; }
.hero__card--tl { top: 24px; left: -24px; }
.hero__card--br { bottom: 32px; right: -20px; }

/* Sóng lượn phân cách dưới hero */
.hero__wave {
  position: absolute; bottom: -1px; left: 0; right: 0;
  line-height: 0; pointer-events: none;
}
.hero__wave svg { width: 100%; height: 80px; }


/* ======================================================================
   9. PARTNERS STRIP
   ====================================================================== */
.partners {
  padding: 28px 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.partners__label {
  text-align: center; font-size: 11px; font-weight: 600;
  color: var(--text-3); letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 16px;
}
.partners__track { overflow: hidden; position: relative; }
.partners__inner {
  display: flex; align-items: center; gap: 28px;
  width: max-content;
  animation: scrollTrack 32s linear infinite;
}
@keyframes scrollTrack {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.partner-name {
  font-size: 13px; font-weight: 600; color: var(--text-3);
  white-space: nowrap; letter-spacing: .3px;
  transition: color var(--t);
}
.partner-name:hover { color: var(--blue); }
.partner-sep { color: var(--border); font-size: 20px; }


/* ======================================================================
   10. ABOUT
   ====================================================================== */
.about__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

.about__img-wrap {
  border-radius: var(--r-xl); overflow: hidden;
  position: relative;
}
.about__img { width: 100%; height: 520px; }

.about__float-card {
  position: absolute; bottom: -24px; right: -24px;
  background: #fff; border-radius: var(--r-md);
  padding: 20px 24px;
  display: flex; align-items: center; gap: 20px;
}
.float-stat { text-align: center; }
.float-stat__num {
  display: block; font-family: var(--font-h); font-size: 22px;
  color: var(--blue); line-height: 1;
}
.float-stat__lbl { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.float-stat__div { width: 1px; height: 36px; background: var(--border); }

/* About content */
.about__text { font-size: 15.5px; color: var(--text-2); line-height: 1.82; margin-bottom: 18px; }
.about__text strong { color: var(--text-1); }
.about__text em { color: var(--blue); }

.about__pillars {
  display: flex; flex-direction: column; gap: 16px; margin: 28px 0 32px;
}
.pillar { display: flex; gap: 14px; align-items: flex-start; }
.pillar__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--r-sm); background: var(--blue-light);
  color: var(--blue); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t);
}
.pillar:hover .pillar__icon { background: var(--blue); color: #fff; box-shadow: var(--glow-blue); }
.pillar strong { display: block; color: var(--text-1); font-size: 15px; margin-bottom: 3px; }
.pillar p { font-size: 13.5px; color: var(--text-3); line-height: 1.6; }


/* ======================================================================
   11. SERVICES — 3 cột
   ====================================================================== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.service-card {
  background: var(--bg-card); border-radius: var(--r-xl);
  padding: 36px 30px; display: flex; flex-direction: column;
  position: relative;
}

.service-card__num {
  font-family: var(--font-h); font-size: 48px; font-weight: 400;
  color: var(--blue-light); line-height: 1; margin-bottom: 20px;
  transition: color var(--t);
}
.service-card:hover .service-card__num { color: rgba(10,110,189,0.15); }

.service-card__icon-wrap {
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: var(--blue-light); display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px;
  transition: all var(--t);
}
.service-card__icon { font-size: 24px; color: var(--blue); transition: all var(--t); }
.service-card:hover .service-card__icon-wrap {
  background: var(--blue); box-shadow: var(--glow-blue);
}
.service-card:hover .service-card__icon { color: #fff; }

.service-card__title {
  font-family: var(--font-h); font-size: 20px; color: var(--text-1);
  margin-bottom: 4px;
}
.service-card__subtitle {
  font-size: 12px; color: var(--blue); font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px;
}
.service-card__desc { font-size: 14.5px; color: var(--text-2); line-height: 1.72; margin-bottom: 20px; }

.service-card__list {
  display: flex; flex-direction: column; gap: 8px;
  flex: 1; margin-bottom: 28px;
}
.service-card__list li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: var(--text-2);
}
.service-card__list li .fa-check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; flex-shrink: 0;
}

.service-card__link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--blue);
  margin-top: auto; transition: gap var(--t);
}
.service-card__link:hover { gap: 12px; color: var(--blue-dark); }
.service-card__link i { font-size: 11px; transition: transform var(--t); }
.service-card__link:hover i { transform: translateX(3px); }

/* ======================================================================
   BADGE “DỊCH VỤ CỐT LÕI” — ĐÃ SỬA LẠI (đẹp hơn)
   ====================================================================== */
.service-card {
  position: relative;
}

.service-card__badge {
  position: absolute;
  top: 5px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: #0A6EBD;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 7px 24px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(10,110,189,0.4);
  z-index: 10;
  text-transform: uppercase;
  border: 2px solid #fff;
}

/* Card nổi bật */
.service-card--featured {
  background: linear-gradient(160deg, #E8F3FF 0%, #F6FAFF 100%);
  border-color: rgba(10,110,189,0.25);
}
.service-card__badge {
  position: absolute; top: -13px; left: 30px;
  background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 14px; border-radius: 100px;
}


/* ======================================================================
   12. BẢO BẢO VERIFY HIGHLIGHT
   ====================================================================== */
.verify {
  background: var(--bg); position: relative; overflow: hidden;
}
.verify__bg-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(10,110,189,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 15% 40%, rgba(0,194,168,0.04) 0%, transparent 55%);
  pointer-events: none;
}

.verify__inner {
  display: grid; grid-template-columns: 1fr 0.85fr; gap: 80px;
  align-items: start; position: relative; z-index: 1;
}

/* Tính năng Verify */
.verify__desc { font-size: 15.5px; color: var(--text-2); line-height: 1.82; margin-bottom: 28px; }
.verify__desc strong { color: var(--text-1); }
.verify__desc em { color: var(--blue); }

.verify__features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 32px;
}
.vfeature {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg-section); border-radius: var(--r-md);
  padding: 18px 16px;
}
.vfeature__icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--r-sm);
  background: var(--blue-light); color: var(--blue); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t);
}
.vfeature:hover .vfeature__icon { background: var(--blue); color: #fff; box-shadow: var(--glow-blue); }
.vfeature__text strong { display: block; font-size: 14px; color: var(--text-1); margin-bottom: 4px; }
.vfeature__text p { font-size: 13px; color: var(--text-3); line-height: 1.6; }

.verify__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Visual bên phải */
.verify__phone-wrap { position: relative; }
.verify__phone-frame {
  border-radius: 28px; overflow: hidden;
  width: 100%; max-width: 280px; margin: 0 auto;
  background: var(--bg-input);
  box-shadow: var(--shadow-lg);
}
.verify__phone-screen { width: 100%; height: 560px; object-fit: cover; }

.verify__qr-float {
  position: absolute; bottom: 40px; left: -20px;
  background: #fff; border-radius: var(--r-md); padding: 14px;
  text-align: center; box-shadow: var(--shadow-md);
}
.verify__qr-float img { width: 90px; height: 90px; border-radius: var(--r-sm); }
.verify__qr-float p { font-size: 11px; font-weight: 600; color: var(--blue); margin-top: 7px; }

.verify__stat-card {
  position: absolute; background: #fff;
  border-radius: var(--r-md); padding: 12px 18px;
  text-align: center; box-shadow: var(--shadow-md);
}
.verify__stat-card strong {
  display: block; font-family: var(--font-h); font-size: 22px;
  color: var(--blue); line-height: 1;
}
.verify__stat-card span { font-size: 11px; color: var(--text-3); }
.verify__stat-card--tl { top: 30px; right: -16px; }
.verify__stat-card--br { bottom: 120px; right: -20px; }

/* Steps */
.verify__steps {
  margin-top: 72px; text-align: center;
  background: var(--bg-section); border-radius: var(--r-xl);
  border: 1px solid var(--border); padding: 48px 40px;
}
.verify__steps-title {
  font-family: var(--font-h); font-size: 26px; color: var(--text-1);
  margin-bottom: 36px;
}
.verify__steps-title em { color: var(--blue); }

.steps-track {
  display: flex; align-items: center; justify-content: center; gap: 0;
}
.step {
  flex: 1; max-width: 300px; padding: 0 24px; text-align: center;
}
.step__num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: var(--font-b); font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(10,110,189,0.3);
  transition: all var(--t);
}
.step:hover .step__num {
  transform: scale(1.12);
  box-shadow: var(--glow-active);
}
.step strong { display: block; font-size: 14.5px; color: var(--text-1); margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--text-3); line-height: 1.6; }
.step__arrow { font-size: 20px; color: var(--border); flex-shrink: 0; }


/* ======================================================================
   13. WHY CHOOSE US
   ====================================================================== */
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.why-card {
  background: var(--bg-card); border-radius: var(--r-lg); padding: 32px 24px;
  text-align: center; cursor: default;
}
.why-card__icon-wrap {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 20px;
  transition: all var(--t);
}
.why-card:hover .why-card__icon-wrap {
  background: var(--blue); color: #fff;
  box-shadow: var(--glow-blue); transform: scale(1.08);
}
.why-card h3 {
  font-family: var(--font-h); font-size: 19px; color: var(--text-1);
  margin-bottom: 10px;
}
.why-card p { font-size: 13.5px; color: var(--text-3); line-height: 1.72; }


/* ======================================================================
   14. CONTACT
   ====================================================================== */
.contact { background: var(--bg); }

.contact__inner {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start;
}

.contact__subtitle { font-size: 15.5px; color: var(--text-2); line-height: 1.8; margin-bottom: 36px; }

.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item__icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--r-sm);
  background: var(--blue-light); color: var(--blue); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t);
}
.info-item:hover .info-item__icon { background: var(--blue); color: #fff; box-shadow: var(--glow-blue); }
.info-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--text-1); margin-bottom: 3px; }
.info-item span, .info-item a { font-size: 14px; color: var(--text-2); display: block; }
.info-item a:hover { color: var(--blue); }

.contact-social { display: flex; gap: 10px; margin-top: 28px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-input); color: var(--text-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all var(--t); text-decoration: none;
}
.social-btn:hover {
  background: var(--blue); color: #fff; border-color: var(--blue);
  transform: translateY(-3px); box-shadow: var(--glow-blue);
}
.social-btn--sm { width: 36px; height: 36px; font-size: 14px; }

/* Form card */
.contact-form-card {
  background: var(--bg-card); border-radius: var(--r-xl); padding: 44px 40px;
}
.form-title {
  font-family: var(--font-h); font-size: 24px; color: var(--text-1);
  margin-bottom: 32px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 18px; }

.form-label {
  font-size: 13px; font-weight: 600; color: var(--text-1); margin-bottom: 7px;
}
.required { color: var(--blue); margin-left: 2px; }

.form-input {
  padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--r-md); font-size: 14px; color: var(--text-1);
  background: var(--bg-input); transition: all var(--t);
  -webkit-appearance: none;
}
.form-input:focus {
  outline: none; border-color: var(--blue);
  background: #fff; box-shadow: 0 0 0 3px rgba(10,110,189,0.10);
}
.form-input.is-error { border-color: #E53E3E; }
.form-input::placeholder { color: var(--text-3); }
.form-select { cursor: pointer; }
.form-textarea { resize: vertical; min-height: 110px; }

.form-error {
  font-size: 12px; color: #E53E3E; margin-top: 5px; display: block; min-height: 15px;
}
.form-message {
  padding: 13px 16px; border-radius: var(--r-md); font-size: 14px;
  font-weight: 600; margin-bottom: 16px; display: none;
}
.form-message.success {
  background: #E8F8F0; color: #276749; border: 1px solid #9FE1CB; display: block;
}
.form-message.error {
  background: #FFF5F5; color: #C53030; border: 1px solid #FEB2B2; display: block;
}
.form-note {
  font-size: 12px; color: var(--text-3); margin-top: 14px;
  display: flex; align-items: flex-start; gap: 6px; line-height: 1.6;
}
.form-note i { color: var(--blue); flex-shrink: 0; margin-top: 2px; }


/* ======================================================================
   15. FOOTER
   ====================================================================== */
.footer {
  background: var(--text-1); /* Nền tối đậm cho footer */
  color: rgba(255,255,255,0.6);
  padding: 64px 0 0;
}

.footer__top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.3fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer .container {
  padding-left: 18px;
  padding-right: 18px;
}

.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__sub { color: rgba(10,180,200,0.9); }
.footer__brand .logo__icon svg rect { fill: var(--blue); }

.footer__brand-desc {
  font-size: 13.5px; color: rgba(255,255,255,0.5); line-height: 1.75;
  margin: 16px 0 20px;
}

.footer-social { display: flex; gap: 8px; }
.footer-social .social-btn {
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.55);
  border-color: rgba(255,255,255,0.1);
}
.footer-social .social-btn:hover {
  background: var(--blue); color: #fff; border-color: var(--blue);
}

.footer__col-title {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.4);
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 13.5px; color: rgba(255,255,255,0.55);
  transition: color var(--t);
}
.footer__links a:hover { color: #fff; }

.footer__address { font-style: normal; display: flex; flex-direction: column; gap: 8px; }
.footer__address p {
  font-size: 13px; color: rgba(255,255,255,0.5);
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.5;
}
.footer__address strong { color: rgba(255,255,255,0.8); font-size: 12.5px; }
.footer__address a { color: rgba(255,255,255,0.5); }
.footer__address a:hover { color: #fff; }
.footer__address i { color: var(--blue); flex-shrink: 0; margin-top: 2px; font-size: 13px; }

/* Footer bottom */
.footer__bottom {
  padding: 22px 0; display: flex; flex-direction: column; gap: 5px;
}
.footer__copy { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer__legal { font-size: 11.5px; color: rgba(255,255,255,0.25); }


/* ======================================================================
   16. FLOATING BUTTONS
   ====================================================================== */
.float-group {
  position: fixed; bottom: 86px; right: 20px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 800; opacity: 0; pointer-events: none;
  transform: translateX(20px); transition: all 0.4s ease;
}
.float-group.is-visible { opacity: 1; pointer-events: auto; transform: translateX(0); }

.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all var(--t); text-decoration: none;
  position: relative;
}
.float-btn:hover { transform: scale(1.12); color: #fff; }
.float-btn::before {
  content: attr(data-tooltip);
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: rgba(11,30,51,0.88); color: #fff;
  font-family: var(--font-b); font-size: 11.5px; font-weight: 600;
  padding: 5px 10px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.float-btn:hover::before { opacity: 1; }
.float-btn--zalo { background: #0068FF; }
.float-btn--phone {
  background: var(--blue); font-size: 20px;
  animation: pulsePh 2.5s infinite;
}
@keyframes pulsePh {
  0%,100% { box-shadow: 0 4px 16px rgba(10,110,189,0.35); }
  50% { box-shadow: 0 4px 16px rgba(10,110,189,0.35), 0 0 0 10px rgba(10,110,189,0.1); }
}

/* Back to top */
.back-to-top {
  position: fixed; bottom: 24px; right: 22px; z-index: 800;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-card); color: var(--blue);
  border: 1.5px solid var(--border); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: all var(--t);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover {
  background: var(--blue); color: #fff; border-color: var(--blue);
  box-shadow: var(--glow-blue); transform: translateY(-3px);
}


/* ======================================================================
   17. SCROLL REVEAL ANIMATION (khởi đầu ẩn)
   ====================================================================== */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1; transform: translateY(0);
}
/* Delay tùy chỉnh */
[data-reveal][data-reveal-delay="100"] { transition-delay: 0.10s; }
[data-reveal][data-reveal-delay="150"] { transition-delay: 0.15s; }
[data-reveal][data-reveal-delay="200"] { transition-delay: 0.20s; }
[data-reveal][data-reveal-delay="250"] { transition-delay: 0.25s; }
[data-reveal][data-reveal-delay="300"] { transition-delay: 0.30s; }
[data-reveal][data-reveal-delay="400"] { transition-delay: 0.40s; }


/* ======================================================================
   LOGO IMAGE — CSS bổ sung cho logo.png
   ====================================================================== */
.logo__img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform var(--t);
}
.logo:hover .logo__img {
  transform: scale(1.08) rotate(-3deg);
}
.logo__icon--sm .logo__img {
  width: 34px;
  height: 34px;
}

/* ======================================================================
   18. RESPONSIVE — TABLET (≤ 1024px)
   ====================================================================== */
@media (max-width: 1024px) {
  :root { --hdr-h: 64px; }
  .section { padding: 72px 0; }

  /* Header */
  .hamburger { display: flex; }
  .header__right .btn { display: none; }

  /* Nav mobile */
  .nav {
    display: none; position: fixed;
    top: var(--hdr-h); left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    padding: 20px 28px 36px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md); z-index: 999;
  }
  .nav.is-open { display: block; animation: navSlide 0.25s ease; }
  @keyframes navSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { display: block; padding: 13px 18px; font-size: 16px; border-radius: var(--r-md); }

  /* Hero */
  .hero__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; padding: 60px 28px; }
  .hero__desc, .hero__title { max-width: 100%; }
  .hero__actions, .hero__stats { justify-content: center; }
  .hero__visual { justify-content: center; }
  .hero__img { height: 400px; }
  .hero__card--tl { left: 0; }
  .hero__card--br { right: 0; }

  /* Sections */
  .about__inner   { grid-template-columns: 1fr; gap: 48px; }
  .about__float-card { right: 0; bottom: -16px; }
  .services-grid  { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .verify__inner  { grid-template-columns: 1fr; gap: 56px; }
  .verify__features { grid-template-columns: 1fr; }
  .why-grid       { grid-template-columns: 1fr 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__top    { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-track    { flex-direction: column; align-items: center; gap: 24px; max-width: 400px; margin: 0 auto; }
  .step__arrow    { transform: rotate(90deg); }
  .pricing-combo__grid { grid-template-columns: 1fr 1fr 1fr; }
  .form-row       { grid-template-columns: 1fr; gap: 0; }
}


/* ======================================================================
   19. RESPONSIVE — MOBILE (≤ 640px) — FIX GỌN GÀNG CHÂN TRANG
   ====================================================================== */
@media (max-width: 640px) {
  :root { --hdr-h: 60px; }
  .section { padding: 40px 0; }
  .container { padding: 0 16px; }

  /* --- CẤU TRÚC FOOTER GỌN GÀNG --- */
  .footer { 
    padding: 40px 0 120px !important; /* Chừa chỗ cho các nút nổi */
  }

  .footer__top { 
    display: block !important; 
    border: none !important;
  }

  .footer__brand, .footer__col {
    width: 100% !important;
    margin-bottom: 24px !important; /* Khoảng cách giữa các nhóm lớn */
  }

  /* Khắc phục lỗi kéo giãn dòng: Giữ các dòng sát nhau */
  .footer__links, .footer__address {
    display: block !important;
    gap: 0 !important; /* Triệt tiêu khoảng cách thừa của flex */
  }

  .footer__links a, .footer__address p {
    display: block !important;
    margin-bottom: 6px !important; /* Khoảng cách nhỏ giữa các dòng văn bản */
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .footer__col-title {
    margin-bottom: 12px !important;
    font-size: 10px !important;
  }

  .footer__bottom {
    margin-top: 20px !important;
    padding: 15px 0 30px !important;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
  }

  /* --- CÁC THÀNH PHẦN KHÁC --- */
  .hero__title { font-size: 24px !important; }
  .services-grid, .verify__inner, .why-grid { grid-template-columns: 1fr !important; }
  .float-group { bottom: 85px; right: 15px; }
}