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

:root {
  --green: #16a34a;
  --green-dark: #15803d;
  --green-light: #dcfce7;
  --yellow: #f59e0b;
  --yellow-dark: #d97706;
  --dark: #0f172a;
  --gray: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,163,74,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-header {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
  font-size: 14px;
  padding: 10px 20px;
}
.btn-header:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }

.btn-hotline {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
  font-weight: 800;
}
.btn-hotline:hover { background: var(--green-light); }

/* ===== SVG ICONS IN BUTTONS ===== */
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.btn-lg .btn-icon { width: 20px; height: 20px; }

.btn-zalo {
  background: #0068ff;
  color: var(--white);
  border-color: #0068ff;
}
.btn-zalo:hover {
  background: #0055cc;
  border-color: #0055cc;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,104,255,0.35);
}

.btn-zalo-header {
  background: #e0f0ff;
  color: #0068ff;
  border-color: #b3d8ff;
  font-size: 14px;
  padding: 10px 18px;
}
.btn-zalo-header:hover { background: #0068ff; color: var(--white); border-color: #0068ff; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn-price {
  display: block;
  text-align: center;
  padding: 12px 24px;
  border-radius: 50px;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  border: 2px solid var(--green);
  transition: all 0.2s;
  margin-top: 20px;
}
.btn-price:hover { background: var(--green); color: var(--white); }

.btn-price-featured {
  display: block;
  text-align: center;
  padding: 12px 24px;
  border-radius: 50px;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 800;
  border: 2px solid var(--yellow);
  transition: all 0.2s;
  margin-top: 20px;
}
.btn-price-featured:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }

.mt-24 { margin-top: 24px; }

/* ===== PULSE ANIMATION ===== */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(22,163,74,0.6); }
  70%  { box-shadow: 0 0 0 18px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}
.pulse { animation: pulse-ring 2s infinite; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
}
.logo-icon { font-size: 26px; }
.logo-text strong { color: var(--green); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: 
    linear-gradient(135deg, #0f2027 0%, #1a4d2e 40%, #16a34a 100%);
  overflow: hidden;
}

/* Decorative circles */
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,74,0.25) 0%, transparent 70%);
  top: -150px; right: -150px;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%);
  bottom: -100px; left: -100px;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 100px 24px 80px;
}

.badge-tag {
  display: inline-block;
  background: rgba(22,163,74,0.3);
  border: 1px solid rgba(22,163,74,0.5);
  color: #86efac;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-title .highlight {
  color: var(--yellow);
  position: relative;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 20px 32px;
  width: fit-content;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}
.stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--yellow);
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.2);
}

/* ===== HOTLINE BAR ===== */
.hotline-bar {
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  color: var(--white);
  padding: 14px 0;
}
.hotline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 15px;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 17px;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.8); }

/* ===== FEATURES ===== */
.features {
  padding: 96px 0;
  background: var(--light);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid #f1f5f9;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  font-size: 44px;
  margin-bottom: 18px;
  display: block;
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}
.feature-card p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
}

/* ===== PRICING ===== */
.pricing {
  padding: 96px 0;
  background: linear-gradient(135deg, #064e3b 0%, #16a34a 100%);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 24px;
}
.price-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 40px 32px;
  color: var(--white);
  position: relative;
  transition: transform 0.25s;
}
.price-card:hover { transform: translateY(-6px); }
.price-card.featured {
  background: var(--white);
  color: var(--dark);
  border-color: var(--yellow);
  border-width: 2px;
}
.badge-popular {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--dark);
  font-weight: 800;
  font-size: 12px;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.price-icon { font-size: 44px; margin-bottom: 16px; display: block; }
.price-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.price-val {
  font-size: 36px;
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: 20px;
}
.price-card.featured .price-val { color: var(--green); }
.price-val span { font-size: 16px; font-weight: 500; opacity: 0.8; }
.price-card ul { display: flex; flex-direction: column; gap: 10px; }
.price-card li { font-size: 14px; opacity: 0.9; }
.price-card.featured li { opacity: 1; }
.price-note {
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}
.price-note strong { color: var(--yellow); }

/* ===== PRICE TABLE ===== */
.price-type-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.9);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.price-card.featured .price-type-badge {
  background: var(--green-light);
  color: var(--green-dark);
  border-color: var(--green);
}
.price-table {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.12);
}
.price-card.featured .price-table { border-color: rgba(0,0,0,0.08); }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.price-row:last-child { border-bottom: none; }
.price-card.featured .price-row { border-bottom-color: rgba(0,0,0,0.06); }
.price-row-best { background: rgba(245,158,11,0.18); }
.price-card.featured .price-row-best { background: rgba(22,163,74,0.1); }
.price-range { font-size: 13px; opacity: 0.85; }
.price-amount {
  font-size: 15px;
  font-weight: 800;
  color: var(--yellow);
}
.price-card.featured .price-amount { color: var(--green); }
.price-amount small { font-size: 11px; font-weight: 500; opacity: 0.75; margin-left: 2px; }
.price-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.price-perks li { font-size: 13px; opacity: 0.85; }
.price-perks li strong { color: var(--yellow); }
.price-card.featured .price-perks li strong { color: var(--green-dark); }

/* ===== SERVICE AREA ===== */
.service-area {
  padding: 96px 0;
  background: var(--white);
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.area-item {
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}
.area-item:hover {
  background: var(--green);
  color: var(--white);
  transform: scale(1.04);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 96px 0;
  background: var(--light);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green);
}
.testi-stars { font-size: 20px; margin-bottom: 14px; }
.testi-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-weight: 700; font-size: 15px; }
.testi-author span { font-size: 13px; color: var(--gray); }

/* ===== CONTACT ===== */
.contact {
  padding: 96px 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
}
.contact-info h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}
.contact-info > p {
  color: var(--gray);
  font-size: 16px;
  margin-bottom: 32px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon { font-size: 28px; flex-shrink: 0; }
.contact-detail strong { display: block; font-size: 13px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.contact-detail a {
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
}
.contact-detail span { font-size: 16px; font-weight: 600; }

.contact-icon-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon-circle.green { background: var(--green-light); color: var(--green); }
.contact-icon-circle.blue { background: #e0f0ff; color: #0068ff; }
.contact-icon-circle svg { width: 26px; height: 26px; }
.contact-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-form-wrap {
  background: var(--light);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}
.contact-form h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
  text-align: center;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus { border-color: var(--green); }
.form-group input::placeholder { color: #94a3b8; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
  text-align: center;
}
.footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.footer p { font-size: 15px; margin-bottom: 16px; }
.footer-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 900;
  color: var(--yellow);
}
.footer-contact-item:hover { color: #fde68a; }
.footer-zalo { color: #7ec8ff; }
.footer-zalo:hover { color: #b3d8ff; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.4); margin: 0; }

/* ===== FLOATING BUTTONS ===== */
.float-buttons {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  color: var(--white);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.float-btn:hover { transform: scale(1.06); color: var(--white); }
.float-icon-svg { width: 22px; height: 22px; flex-shrink: 0; }
.float-zalo {
  background: #0068ff;
  box-shadow: 0 4px 20px rgba(0,104,255,0.45);
}
.float-zalo:hover { box-shadow: 0 6px 28px rgba(0,104,255,0.6); }
.float-phone {
  background: var(--green);
  box-shadow: 0 4px 20px rgba(22,163,74,0.5);
  animation: pulse-ring 2s infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { flex-wrap: wrap; gap: 0; }
  .stat-item { padding: 12px 20px; }
  .hotline-inner { flex-direction: column; text-align: center; }
  .float-btn .float-text { display: none; }
  .float-btn { padding: 16px; border-radius: 50%; }
  .float-buttons { gap: 10px; bottom: 20px; right: 16px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }

  /* Header */
  .logo-text { font-size: 16px; }
  .btn-zalo-header span { display: none; } /* ẩn chữ "Zalo" trên header mobile, chỉ giữ icon */
  .header-actions { gap: 8px; }
  .btn-header, .btn-zalo-header { padding: 9px 14px; font-size: 13px; }

  /* Hero */
  .hero-content { padding: 80px 20px 60px; }
  .hero-title { letter-spacing: -0.5px; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }

  /* Pricing */
  .price-table { font-size: 13px; }
  .price-row { padding: 9px 12px; }
  .price-card { padding: 28px 20px; }

  /* Contact */
  .contact-cta-btns { flex-direction: column; }
  .contact-cta-btns .btn { width: 100%; justify-content: center; }
  .contact-info h2 { font-size: 28px; }

  /* Features & Testimonials */
  .features-grid, .testimonials-grid { grid-template-columns: 1fr; }

  /* Section header */
  .section-header { margin-bottom: 36px; }
  .section-header p { font-size: 15px; }

  /* Area grid */
  .area-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-stats { width: 100%; }
  .stat-item { padding: 10px 16px; }
  .stat-num { font-size: 22px; }
  .hero-stats { padding: 14px 16px; }
  .area-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .area-item { font-size: 13px; padding: 10px 12px; }
  .footer-contacts { flex-direction: column; gap: 12px; }
  .footer-contact-item { font-size: 18px; }
  .testi-card { padding: 24px 18px; }
  .feature-card { padding: 28px 20px; }

  /* Hotline bar ẩn text dài */
  .hotline-bar span { font-size: 13px; }
}

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 52px; }
  .contact-grid { max-width: 100%; }
}
