* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background: #f7f7f7;
  line-height: 1.5;
}

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

/* Header */
.site-header {
  background: #f4d35e;
  color: #2c2c2c;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  text-align: center;
}

.logo {
  margin: 0 auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-right: 8px;
}

.header-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(56px, 12vw, 86px);
  height: clamp(56px, 12vw, 86px);
  padding: 6px;
  border-radius: 10px;
  background: transparent;
  border: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.logo a {
  color: #2c2c2c;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.logo img {
  height: 44px;
  display: block;
}

.nav a {
  color: #2c2c2c;
  margin-left: 16px;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-zalo {
  padding: 6px;
  border-radius: 8px;
  text-decoration: none;
}

.btn-call {
  padding: 6px;
  border-radius: 8px;
  text-decoration: none;
}

.btn-zalo img,
.btn-call img {
  width: 100%;
  max-width: 256px;
  height: 100%;
  max-height: 256px;
  display: block;
  object-fit: contain;
}

/* Floating action buttons */
.floating-actions {
  position: fixed !important;
  left: max(12px, env(safe-area-inset-left, 0px));
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  z-index: 9999;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px;
}

.floating-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: visible;
}

.floating-actions .call-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(229, 57, 53, 0.5);
  animation: call-pulse 1.6s ease-out infinite;
  z-index: -1;
  will-change: transform, opacity;
  pointer-events: none;
}

.floating-actions img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
  transform: translateZ(0);
  will-change: transform, opacity;
  animation-play-state: running !important;
}

.floating-actions .call-btn img {
  animation: call-wiggle 1s ease-in-out infinite !important;
}

.floating-actions .zalo-btn img {
  animation: zalo-wiggle 2s ease-in-out infinite !important;
  animation-delay: 0.4s !important;
}

.floating-actions .zalo-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 104, 255, 0.25);
  animation: zalo-pulse 2.2s ease-out infinite;
  z-index: -1;
  will-change: transform, opacity;
  pointer-events: none;
}

@keyframes call-wiggle {
  0% { transform: rotate(0deg) scale(1); }
  10% { transform: rotate(21deg) scale(1.02); }
  20% { transform: rotate(-21deg) scale(1.02); }
  32% { transform: rotate(15deg) scale(1.01); }
  44% { transform: rotate(-15deg) scale(1.01); }
  60% { transform: rotate(9deg) scale(1); }
  72% { transform: rotate(-9deg) scale(1); }
  100% { transform: rotate(0deg) scale(1); }
}

@keyframes call-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  60% { transform: scale(1.5); opacity: 0.15; }
  100% { transform: scale(2); opacity: 0; }
}

@keyframes zalo-wiggle {
  0% { transform: rotate(0deg) scale(1); }
  15% { transform: rotate(4deg) scale(1.01); }
  30% { transform: rotate(-4deg) scale(1.01); }
  45% { transform: rotate(3deg) scale(1); }
  60% { transform: rotate(-3deg) scale(1); }
  100% { transform: rotate(0deg) scale(1); }
}

@keyframes zalo-pulse {
  0% { transform: scale(1); opacity: 0.35; }
  40% { transform: scale(1.16); opacity: 0.05; }
  80% { transform: scale(1.05); opacity: 0.22; }
  100% { transform: scale(1); opacity: 0.35; }
}

.top-banner {
  padding: 12px 0 0;
}

.top-banner img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.price-banner {
  padding: 12px 0 0;
}

.price-banner img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info-banner {
  padding: 12px 0 0;
}

.info-banner img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.call-cta {
  text-align: center;
  padding: 12px 0 0;
}

.btn-call-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 30px;
  background: #e53935;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(229, 57, 53, 0.25);
}

.btn-call-now svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0f6ab4, #2196f3);
  color: #fff;
  padding: 48px 0;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.hero-text {
  flex: 1 1 280px;
}

.hero-text h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.hero-text p {
  margin-bottom: 16px;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  margin-right: 8px;
  margin-top: 4px;
}

.btn-primary {
  background: #ffd54f;
  color: #222;
}

.btn-secondary {
  background: #ffffff;
  color: #0f6ab4;
}

.hero-image img {
  max-width: 320px;
  width: 100%;
}

/* Generic sections */
section {
  padding: 40px 0;
  background: #f7f7f7;
}

section:nth-of-type(even) {
  background: #ffffff;
}

section h2 {
  text-align: center;
  margin-bottom: 24px;
}

/* Anchor spacing for sticky header */
section,
.price-banner,
.info-banner,
.call-cta {
  scroll-margin-top: 80px;
}

/* Grids */
.service-grid,
.method-grid,
.payment-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.method-card,
.payment-card,
.why-card {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.why-card img {
  width: 70%;
  display: block;
  border-radius: 6px;
  margin: 0 auto 10px;
}

.service-card img {
  width: 100%;
  display: block;
  border-radius: 6px;
  margin-bottom: 12px;
}

.method-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.route-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
}

.route-list li {
  background: #fff;
  padding: 10px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 24px;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font: inherit;
}

.contact-form button {
  margin-top: 10px;
  border: none;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: #0f6ab4;
  color: #fff;
  padding: 16px 0;
  text-align: center;
}

.site-footer a {
  color: #ffd54f;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 8px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none; /* simple: hide nav on mobile, or style later */
  }

  .why-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
