/* =============================================
   VIETTEL POST BƯU CỤC LÊ DUẨN - style.css
   Màu chủ đạo: #001d51 / #174883 / #258bcb / #ff7d44 / #ee0033
   Tối ưu: Mobile, Tablet, PC, SEO, GEO, AI Search & Chia Sẻ Mạng Xã Hội
============================================= */

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

:root {
  --blue:          #258bcb;
  --blue-dark:     #174883;
  --blue-deeper:   #001d51;
  --blue-light:    #ebf5fb;
  --orange:        #ff7d44;
  --orange-dark:   #e55a1f;
  --orange-light:  #fff4ee;
  --viettel-red:   #ee0033;
  --purple-share:  #6c5ce7;
  --purple-dark:   #5641e5;
  --white:         #ffffff;
  --gray-bg:       #f7f9fc;
  --gray-card:     #ffffff;
  --gray-border:   #e2e8f0;
  --text:          #4a5568;
  --text-muted:    #718096;
  --text-dark:     #0f172a;
  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:     22px;
  --shadow-sm:     0 2px 8px rgba(0, 29, 81, 0.06);
  --shadow:        0 8px 30px rgba(0, 29, 81, 0.09);
  --shadow-lg:     0 16px 45px rgba(0, 29, 81, 0.14);
  --transition:    all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  background: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessibility skip link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--viettel-red);
  color: white;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 700;
  font-size: 14px;
  transition: top 0.2s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}
.skip-link:focus {
  top: 16px;
  outline: 3px solid #ffcc00;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Utility Colors */
.text-orange { color: var(--orange); }
.text-blue   { color: var(--blue); }
.text-white  { color: #ffffff !important; }
.required-star { color: var(--viettel-red); font-weight: bold; }

/* ---- TOP BAR ---- */
.topbar {
  background: var(--blue-deeper);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.topbar-left span strong {
  color: #ffffff;
  font-weight: 600;
}
.topbar-right {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.topbar-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.topbar-link:hover {
  color: var(--orange);
}
.topbar-btn {
  background: var(--orange);
  color: white;
  padding: 5px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.topbar-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 125, 68, 0.4);
}
.topbar-desktop-text {
  display: inline;
}
.topbar-mobile-text {
  display: none;
}

/* ---- HEADER ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 18px rgba(0, 29, 81, 0.08);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 0;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(238, 0, 51, 0.22);
  transition: var(--transition);
}
.logo:hover .logo-img {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(238, 0, 51, 0.32);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-main {
  font-size: 18px;
  font-weight: 800;
  color: var(--viettel-red);
  letter-spacing: -0.3px;
  text-transform: lowercase;
}
.logo-main--footer {
  color: #ffffff;
}
.logo-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.1px;
}
.logo-sub--footer {
  color: rgba(255, 255, 255, 0.75);
}

/* NAVIGATION */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--blue-dark);
  background: var(--blue-light);
}

.header-cta {
  flex-shrink: 0;
  margin-left: 8px;
}

/* HAMBURGER BUTTON */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 29, 81, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37, 139, 203, 0.3);
  text-align: center;
  min-height: 44px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 139, 203, 0.42);
  color: white;
}
.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(255, 125, 68, 0.4);
  text-align: center;
  min-height: 44px;
}
.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 125, 68, 0.52);
  color: white;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14.5px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: var(--transition);
  text-align: center;
  min-height: 44px;
}
.btn-outline:hover {
  background: white;
  color: var(--blue-deeper);
  border-color: white;
  transform: translateY(-2px);
}
.btn-zalo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0068ff;
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14.5px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 104, 255, 0.3);
  text-align: center;
  min-height: 44px;
}
.btn-zalo:hover {
  background: #0055d4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 104, 255, 0.42);
  color: white;
}
.btn-block {
  width: 100%;
}
.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 10px;
}

/* ---- HERO SECTION ---- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(0, 29, 81, 0.94) 0%,
    rgba(23, 72, 131, 0.86) 55%,
    rgba(37, 139, 203, 0.65) 100%
  );
}
.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  align-items: center;
  gap: 40px;
}
.hero-content {
  color: white;
  animation: fadeInUp 0.8s ease;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-desc {
  font-size: clamp(15px, 1.8vw, 17.5px);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  width: fit-content;
}
.hero-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.1;
}
.hero-stat span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
}

/* HERO CONTACT QUICK CARD */
.contact-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: fadeInRight 0.8s ease;
}
.contact-card-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue);
}
.contact-card-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.info-icon {
  font-size: 18px;
  width: 34px;
  height: 34px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-row div strong {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
}
.info-row div small {
  font-size: 12px;
  color: var(--text-muted);
}
.info-row div span {
  font-size: 13.5px;
  color: var(--text);
}
.phone-link {
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 16px;
}
.phone-link:hover {
  text-decoration: underline;
}
.card-btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---- MARQUEE BAR ---- */
.marquee-bar {
  background: linear-gradient(90deg, var(--blue-deeper) 0%, var(--blue-dark) 100%);
  color: white;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.2);
}
.marquee-track {
  display: inline-flex;
  gap: 40px;
  animation: marquee 35s linear infinite;
}
.marquee-track span {
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.2px;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- SECTION BASE ---- */
.section {
  padding: 85px 0;
}
.section--gray {
  background: var(--gray-bg);
}
.section--blue {
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 60%, #1c5999 100%);
  color: white;
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  background: var(--blue-light);
  padding: 4px 14px;
  border-radius: 20px;
}
.section-label--light {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.section-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.section-desc {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
}
.section--blue .section-desc {
  color: rgba(255, 255, 255, 0.88);
}

/* ---- SERVICES SECTION ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-border);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}
.service-card--featured {
  border: 2px solid var(--orange);
  box-shadow: 0 12px 35px rgba(255, 125, 68, 0.18);
}
.service-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: white;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: white;
  margin-bottom: 22px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.service-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.65;
  flex-grow: 1;
}
.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--gray-border);
  padding-top: 18px;
}
.service-features li {
  font-size: 13.5px;
  color: var(--text-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---- PRICING & SERVICE MATRIX TABLE (SEO / GEO / AI SEARCH) ---- */
.table-responsive-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  margin-bottom: 30px;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.pricing-table thead {
  background: linear-gradient(135deg, var(--blue-deeper), var(--blue-dark));
  color: white;
}
.pricing-table th {
  padding: 18px 20px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}
.pricing-table td {
  padding: 18px 20px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--gray-border);
  color: var(--text-dark);
  vertical-align: middle;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}
.pricing-table tbody tr:hover {
  background: var(--blue-light);
}
.badge-time {
  display: inline-block;
  background: #e6f8ef;
  color: #0d8a4e;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #b7ecd0;
}

.matrix-cta-banner {
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 30px 36px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-lg);
}
.matrix-cta-text h4 {
  font-size: 18.5px;
  font-weight: 800;
  margin-bottom: 6px;
}
.matrix-cta-text p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
}
.matrix-cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ---- WHY CHOOSE US ---- */
.why-us-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.why-us-intro {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.8;
}
.why-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-feature-icon {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.why-feature strong {
  display: block;
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 4px;
}
.why-feature p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}
.why-cta-wrapper {
  margin-top: 32px;
}

.why-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.why-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 26px 20px;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}
.why-card--orange {
  background: rgba(255, 125, 68, 0.14);
  border-color: rgba(255, 125, 68, 0.35);
}
.why-card-num {
  font-size: 32px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
  margin-bottom: 8px;
}
.why-card h4 {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.why-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ---- PROCESS ---- */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.process-step {
  flex: 1;
  text-align: center;
  padding: 34px 20px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-border);
  transition: var(--transition);
  position: relative;
}
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.step-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 139, 203, 0.4);
}
.step-icon {
  font-size: 42px;
  margin-bottom: 16px;
  margin-top: 8px;
}
.process-step h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.process-step p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.7;
}
.process-arrow {
  font-size: 28px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 60px;
  opacity: 0.6;
}

/* ---- STATS SECTION ---- */
.stats-section {
  position: relative;
  padding: 85px 0;
}
.stats-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 60%, var(--blue) 100%);
}
.stats-section .container {
  position: relative;
  z-index: 1;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 36px 20px;
  transition: var(--transition);
}
.stat-item:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}
.stat-num {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  font-weight: 500;
}
.stat-icon {
  font-size: 28px;
}

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card--featured {
  background: linear-gradient(135deg, var(--blue-deeper), var(--blue-dark));
  border-color: transparent;
}
.testimonial-card--featured p {
  color: rgba(255, 255, 255, 0.92);
}
.testimonial-card--featured strong {
  color: white;
}
.testimonial-card--featured small {
  color: rgba(255, 255, 255, 0.7);
}
.stars {
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-card p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
  flex-grow: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 15px;
  color: var(--text-dark);
}
.testimonial-author small {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ---- FAQ ACCORDION SECTION ---- */
.faq-container {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: var(--blue);
}
.faq-item.active {
  box-shadow: var(--shadow);
  border-color: var(--blue);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  font-family: inherit;
  transition: var(--transition);
}
.faq-question:hover {
  color: var(--blue-dark);
}
.faq-question:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}
.faq-icon {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--orange-light);
  color: var(--orange-dark);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}
.faq-answer-content {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.8;
  border-top: 1px solid var(--gray-bg);
}
.faq-answer-content p {
  margin-top: 12px;
}
.faq-answer-content ul {
  margin-top: 10px;
  padding-left: 18px;
  list-style: disc;
}
.faq-answer-content ul li {
  margin-bottom: 6px;
}
.faq-answer-content code {
  background: var(--gray-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--blue-dark);
  font-weight: 600;
}

/* ---- CONTACT & MAP ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  margin-bottom: 40px;
}
.contact-info-card,
.contact-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-border);
}
.contact-info-card h3,
.contact-form-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--blue);
}
.contact-info-items {
  margin-bottom: 26px;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-border);
}
.contact-info-item:last-child {
  border-bottom: none;
}
.contact-info-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-item strong {
  display: block;
  font-size: 14.5px;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-info-item p,
.contact-info-item a {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}
.contact-highlight-link {
  color: var(--orange-dark) !important;
  font-weight: 800 !important;
  font-size: 16px !important;
}
.contact-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--gray-bg);
  transition: var(--transition);
  outline: none;
  min-height: 46px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 4px rgba(37, 139, 203, 0.15);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

/* MAP */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-border);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--blue-deeper);
  color: rgba(255, 255, 255, 0.85);
}
.footer-top {
  padding: 75px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
}
.footer-col--brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
}
.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
  width: fit-content;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li {
  font-size: 14px;
}
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.78);
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: var(--orange);
  padding-left: 4px;
}
.footer-contact ul li {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}
.footer-contact ul li a {
  color: var(--orange);
  font-weight: 600;
}
.footer-contact ul li a:hover {
  text-decoration: underline;
}



.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.social-btn {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
}
.social-zalo {
  background: #0068ff;
  color: white;
}
.social-zalo:hover {
  background: #0055d4;
  color: white;
  transform: translateY(-2px);
}
.social-email {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.social-email:hover {
  background: rgba(255, 255, 255, 0.22);
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 22px 0;
  text-align: center;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}
.footer-bottom a {
  color: var(--orange);
  font-weight: 700;
}

/* ---- FLOATING CTA ---- */
.floating-cta {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  transition: var(--transition);
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  font-size: 22px;
  border: none;
  font-family: inherit;
}
.float-btn:hover {
  transform: scale(1.1) translateY(-3px);
}

.float-phone {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: white;
  animation: pulse 2s infinite;
}
.float-zalo {
  background: #0068ff;
  color: white;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.5px;
}
.float-top {
  background: var(--blue-dark);
  color: white;
  font-weight: 800;
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(255, 125, 68, 0.45);
  }
  50% {
    box-shadow: 0 4px 30px rgba(255, 125, 68, 0.8), 0 0 0 10px rgba(255, 125, 68, 0.18);
  }
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal class */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE DESIGN BREAKPOINTS
   (PC -> Laptop -> Tablet -> Mobile)
============================================= */

/* LAPTOP / SMALL DESKTOP (< 1150px) */
@media (max-width: 1150px) {
  .hero-container {
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 30px;
  }
}

/* TABLET (< 960px) */
@media (max-width: 960px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-content {
    max-width: 100%;
  }
  .contact-card {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process-steps {
    flex-direction: column;
    align-items: stretch;
  }
  .process-arrow {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .matrix-cta-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* SMALL TABLET / MOBILE (< 768px) */
@media (max-width: 768px) {
  .topbar-left {
    display: none;
  }
  .topbar {
    padding: 6px 0;
  }
  .topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
  }
  .topbar-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
  }
  .topbar-desktop-text {
    display: none;
  }
  .topbar-mobile-text {
    display: inline;
  }
  .topbar-link {
    font-size: 12.5px;
    white-space: nowrap;
    font-weight: 600;
  }
  .topbar-btn {
    font-size: 12px;
    padding: 4px 10px;
    white-space: nowrap;
  }
  .header-inner {
    padding: 10px 0;
    gap: 12px;
  }
  .header-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  /* Mobile Navigation Drawer */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    height: 100dvh;
    width: min(320px, 82vw);
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 85px 20px 30px;
    box-shadow: -6px 0 35px rgba(0, 29, 81, 0.25);
    transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
  }
  .nav.open {
    right: 0;
  }
  .nav-link {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--gray-border);
  }

  .hero {
    min-height: auto;
    padding: 45px 0 55px;
  }
  .hero-stats {
    flex-direction: column;
    width: 100%;
    gap: 14px;
  }
  .hero-stat-divider {
    width: 80px;
    height: 1px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 60px 0;
  }

  /* Responsive Table Transform into Cards on Small Screens */
  .pricing-table thead {
    display: none;
  }
  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table td {
    display: block;
    width: 100%;
  }
  .pricing-table tr {
    margin-bottom: 18px;
    border-bottom: 2px solid var(--gray-border);
    padding-bottom: 10px;
  }
  .pricing-table tr:last-child {
    margin-bottom: 0;
    border-bottom: none;
  }
  .pricing-table td {
    text-align: right;
    padding: 10px 16px;
    position: relative;
    border-bottom: 1px dashed var(--gray-border);
  }
  .pricing-table td:last-child {
    border-bottom: none;
  }
  .pricing-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 16px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: left;
    font-size: 13.5px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .floating-cta {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .float-btn {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

/* SMARTPHONE TINY / EXTRA SMALL (< 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .topbar {
    padding: 5px 0;
  }
  .topbar-right {
    font-size: 11px;
    gap: 6px;
    justify-content: space-between;
    width: 100%;
  }
  .topbar-desktop-text {
    display: none;
  }
  .topbar-mobile-text {
    display: inline;
  }
  .topbar-link {
    font-size: 11.5px;
    white-space: nowrap;
  }
  .topbar-btn {
    padding: 3px 8px;
    font-size: 11px;
    white-space: nowrap;
  }
  .header-inner {
    padding: 8px 0;
    gap: 6px;
  }
  .logo-img {
    width: 36px;
    height: 36px;
  }
  .logo-main {
    font-size: 15px;
  }
  .logo-sub {
    font-size: 10px;
  }

  .hero-title {
    font-size: 27px;
  }
  .hero-badge {
    font-size: 12px;
    padding: 5px 12px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions a {
    width: 100%;
  }
  .why-card-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-card,
  .contact-form-card {
    padding: 22px 14px;
  }
  .faq-question {
    padding: 16px 14px;
    font-size: 14.5px;
  }
  .faq-answer-content {
    padding: 0 14px 16px;
  }
  .matrix-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .matrix-cta-actions a {
    width: 100%;
  }
}

/* PRINT & REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
