:root {
  --navy: #0b2148;
  --orange: #ff7a1a;
  --orange-hover: #e56609;
  --zalo: #0068ff;
  --zalo-hover: #0056d6;
  --text: #172033;
  --muted: #687386;
  --line: #e6eaf0;
  --bg: #f7f9fc;
  --white: #fff;
  --shadow: 0 16px 40px rgba(11, 33, 72, .08);
  --shadow-lg: 0 20px 45px rgba(11, 33, 72, .15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand b {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 16px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: .02em;
}

.brand small {
  font-size: 11px;
  color: var(--muted);
}

nav.main-nav {
  display: flex;
  gap: 22px;
  font-weight: 600;
  font-size: 14px;
}

nav.main-nav a {
  transition: color .2s;
}

nav.main-nav a:hover {
  color: var(--orange);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s ease;
}

.primary {
  background: var(--orange);
  color: #fff;
}

.primary:hover {
  background: var(--orange-hover);
  color: #fff;
}

.outline {
  border-color: var(--line);
  background: #fff;
  color: var(--navy);
}

.outline:hover {
  border-color: var(--navy);
}

.light {
  background: #fff;
  color: var(--navy);
}

.light:hover {
  background: #f0f4f9;
}

.btn-zalo {
  background: var(--zalo);
  color: #fff;
}

.btn-zalo:hover {
  background: var(--zalo-hover);
  color: #fff;
}

.full {
  width: 100%;
}

.small {
  min-height: 38px;
  padding: 0 13px;
  font-size: 13px;
}

/* Hamburger toggle for mobile */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: .3s;
}

.mobile-menu {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 20px 24px;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}

.mobile-menu nav a {
  padding: 8px 0;
  border-bottom: 1px solid var(--bg);
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Hero Section */
.hero {
  padding: 72px 0;
  background: linear-gradient(135deg, #f4f8ff, #fff 65%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.hero h1 {
  margin: 14px 0;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: -.04em;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero p {
  color: var(--muted);
  font-size: 18px;
}

.search,
.filter {
  display: flex;
  gap: 8px;
  padding: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
  margin-top: 25px;
}

.search input,
.filter input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 12px;
  font: inherit;
}

.trust {
  color: var(--muted);
  font-size: 13px;
  margin-top: 15px;
}

.hero-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(11, 33, 72, .12);
}

.fake-map {
  height: 240px;
  border-radius: 18px;
  position: relative;
  background: linear-gradient(30deg, transparent 48%, #dce6f5 49%, #dce6f5 51%, transparent 52%),
              linear-gradient(150deg, transparent 48%, #e5ecf6 49%, #e5ecf6 51%, transparent 52%),
              #f3f7fb;
}

.fake-map i {
  position: absolute;
  width: 70%;
  height: 4px;
  background: var(--orange);
  left: 15%;
  top: 48%;
  transform: rotate(-22deg);
}

.fake-map span,
.fake-map b {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
}

.fake-map span {
  left: 18%;
  top: 62%;
  background: var(--navy);
}

.fake-map b {
  right: 17%;
  top: 25%;
  background: var(--orange);
}

/* Sections */
.section {
  padding: 75px 0;
}

.muted {
  background: var(--bg);
}

.heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}

.heading > a {
  color: var(--orange);
  font-weight: 800;
}

h2 {
  color: var(--navy);
  font-size: clamp(26px, 3.8vw, 38px);
  line-height: 1.15;
  margin: 8px 0 0;
}

.categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.category {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: all .2s ease;
}

.category:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--orange);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff1e8;
  color: var(--orange);
  font-weight: 900;
  font-size: 20px;
}

.category h3 {
  color: var(--navy);
  margin: 16px 0 5px;
  font-size: 16px;
}

.category p,
.service p,
.detail p {
  color: var(--muted);
  font-size: 14px;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.image {
  height: 180px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #dfeaff, #f9fbff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.service:hover .image img {
  transform: scale(1.06);
}

/* Badge nhãn nổi bật góc trên ảnh */
.service-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: .02em;
}

.badge-hot {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.badge-best_seller {
  background: linear-gradient(135deg, #10b981, #059669);
}

.badge-popular {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.badge-featured {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.badge-community {
  background: linear-gradient(135deg, #e11d48, #be123c);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}

.service-meta-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.service-meta-stats span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Tabs phân loại dịch vụ */
.service-tabs-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  overflow-x: auto;
  padding-bottom: 5px;
  -webkit-overflow-scrolling: touch;
}

.service-tab-btn {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.service-tab-btn:hover,
.service-tab-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(8, 26, 57, 0.15);
}

.image span,
.large-image {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #fff;
  position: relative;
  z-index: 2;
}

.body small {
  color: var(--orange);
  font-weight: 800;
  font-size: 12px;
}

.body h3 {
  color: var(--navy);
  margin: 5px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.body p {
  min-height: 44px;
  margin: 0 0 16px;
  flex: 1;
  font-size: 13.5px;
  line-height: 1.5;
}

.service-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.service-bottom strong {
  color: var(--navy);
  font-size: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.steps > div {
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 14px;
}

.steps b {
  color: var(--orange);
  font-size: 24px;
}

.steps h3 {
  margin: 10px 0 6px;
  color: var(--navy);
}

.center {
  text-align: center;
}

/* Partner section */
.partner {
  padding: 65px 0;
  background: var(--navy);
  color: #fff;
}

.partner h2 {
  color: #fff;
}

.partner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.partner p {
  color: #c8d3e5;
  margin: 8px 0 0;
}

/* Page hero */
.page-hero {
  padding: 50px 0;
  background: var(--bg);
}

.page-hero h1 {
  margin: 8px 0;
  color: var(--navy);
  font-size: clamp(32px, 4.5vw, 48px);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
}

.filter {
  max-width: 700px;
  margin: 0 0 30px;
}

.empty {
  text-align: center;
  padding: 60px;
}

.error {
  font-size: 80px;
  color: var(--orange);
  font-weight: 900;
}

/* Detail page & Booking form */
.detail {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 45px;
  align-items: start;
}

.large-image {
  width: 100%;
  height: 280px;
  border-radius: 18px;
  margin-bottom: 24px;
  font-size: 72px;
}

.detail-content h2 {
  margin-bottom: 12px;
}

.booking {
  position: sticky;
  top: 100px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.price {
  font-size: 34px;
  font-weight: 900;
  color: var(--navy);
  margin-top: 4px;
}

.price-unit {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

/* Form controls */
.booking-form {
  margin-top: 15px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--text);
  transition: border-color .2s;
}

.form-control:focus {
  outline: 0;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, .12);
}

textarea.form-control {
  resize: vertical;
  min-height: 70px;
}

/* Alert boxes */
.alert {
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.alert-success {
  background: #ebfaf2;
  border: 1px solid #95e2b6;
  color: #126338;
}

.alert-danger {
  background: #fdf2f2;
  border: 1px solid #f8b4b4;
  color: #9b1c1c;
}

/* Direct contact in booking box */
.booking-direct {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 18px;
  text-align: center;
}

.booking-direct-title {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 600;
}

.booking-direct-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Footer */
footer {
  background: #081a39;
  color: #b9c7db;
  padding: 55px 0 25px;
}

.foot {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 45px;
}

.foot strong,
.foot h3 {
  color: #fff;
}

.foot h3 {
  margin: 0 0 16px;
  font-size: 17px;
}

.foot p {
  line-height: 1.7;
}

.foot a {
  display: block;
  margin: 8px 0;
  transition: color .2s;
}

.foot a:hover {
  color: var(--orange);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-list a {
  display: inline;
  margin: 0;
  color: #fff;
  font-weight: 700;
}

.bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Floating Contact Widget (Hotline & Zalo) */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  border-radius: 50px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .32);
  color: #fff;
}

.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .25);
}

.float-btn.zalo {
  background: linear-gradient(135deg, #0084ff, #0056d6);
}

.float-btn.hotline {
  background: linear-gradient(135deg, #ff7a1a, #e53935);
  animation: pulse-ring 2s infinite ease-out;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 90, 30, .6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(255, 90, 30, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 90, 30, 0);
  }
}

/* Responsive */
@media (max-width: 950px) {
  nav.main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-grid,
  .detail {
    grid-template-columns: 1fr;
  }
  .categories {
    grid-template-columns: repeat(2, 1fr);
  }
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
  .booking {
    position: static;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 28px);
  }
  .actions {
    display: none;
  }
  .search,
  .filter {
    flex-wrap: wrap;
  }
  .search input,
  .filter input {
    min-height: 42px;
  }
  .search .btn,
  .filter .btn {
    width: 100%;
  }
  .categories,
  .services,
  .steps,
  .foot {
    grid-template-columns: 1fr;
  }
  .partner-inner {
    display: block;
  }
  .partner .btn {
    margin-top: 15px;
  }
  .booking-direct-btns {
    grid-template-columns: 1fr;
  }
  .floating-contact {
    bottom: 16px;
    right: 14px;
    gap: 10px;
  }
  .float-btn span {
    display: none;
  }
  .float-btn {
    padding: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    justify-content: center;
  }
  .float-icon {
    width: 100%;
    height: 100%;
    background: transparent;
  }
}

/* ========================================================
   LOCATION / GEOLOCATION & NEARBY WIDGET STYLES
   ======================================================== */
.badge-geo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 8px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge-geo.near {
  background: #dcfce7;
  color: #15803d;
  border-color: #86efac;
}
.badge-geo.mid {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.badge-geo.far {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}

.location-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 4px 16px rgba(11, 33, 72, .05);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.location-bar-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.location-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff1e8;
  color: var(--orange);
  font-size: 18px;
  cursor: pointer;
  border: 1px solid #ffd8c2;
  transition: all .2s ease;
}
.location-icon-btn:hover {
  background: var(--orange);
  color: #fff;
  transform: scale(1.05);
}
.radius-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.radius-btn {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--navy);
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
}
.radius-btn:hover,
.radius-btn.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-nav-geo {
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--navy);
  cursor: pointer;
  transition: all .2s ease;
}
.btn-nav-geo:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}
.btn-nav-geo.active {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

/* Modal chọn khu vực thủ công */
.geo-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .65);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.geo-modal-overlay.active {
  display: flex;
}
.geo-modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0,0,0,.3);
  padding: 24px;
  animation: geoSlideIn .25s ease-out;
}
@keyframes geoSlideIn {
  from { opacity: 0; transform: translateY(15px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

