/* ===== CSS VARIABLES =====
   ĐỔI SANG NÂU: tất cả section/body/header/footer dùng màu nâu
   GIỮ XANH: hero, gallery, logo SVG (hardcode trực tiếp)
   BUTTON: dùng biến nâu --bd / --bm
*/
:root {
  /* --- Màu NÂU (dùng cho toàn trang trừ hero + gallery) --- */
  --green-dark:  #6B3A2A;   /* nâu đậm  */
  --green-mid:   #A0522D;   /* nâu vừa  */
  --green-light: #C8855A;   /* nâu nhạt */
  --green-pale:  #F5EBE0;   /* kem nâu  */
  --green-bg:    #FAF3EE;   /* nền nâu nhạt */
  --teal-accent: #E8C9A8;   /* kem sáng */
  --white:       #ffffff;
  --text-dark:   #2E1A0E;
  --text-muted:  #9A7055;
  --border:      #D4A87A;

  /* --- Màu XANH (chỉ dùng cho hero + gallery) --- */
  --hero-bg1:    #F4FBF7;
  --hero-bg2:    #e8f8f0;
  --hero-bg3:    #d5f2e5;
  --hero-radial: rgba(29,158,117,0.1);
  --hero-badge-bg:     #E1F5EE;
  --hero-badge-border: #9FE1CB;
  --hero-h1:     #0F6E56;
  --hero-span:   #1D9E75;
  --hero-desc:   #4a7060;
  --hero-card-shadow: rgba(15,110,86,0.12);
  --hero-border: #C0DD97;
  --hero-price-label: #4a7060;
  --hero-price-val:   #0F6E56;
  --hero-muted:  #6b8f7a;
  --gallery-pale: #E1F5EE;
  --gallery-border: #C0DD97;
  --gallery-cap-bg: rgba(8,80,65,0.82);

  /* --- Button HERO màu NÂU --- */
  --btn-hero-primary: #6B3A2A;
  --btn-hero-primary-h: #A0522D;
  --btn-hero-outline: #6B3A2A;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Be Vietnam Pro', sans-serif; background: var(--white); color: var(--text-dark); overflow-x: hidden; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 86px 80px 0; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.breadcrumb a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--green-mid); }
.breadcrumb span { font-size: 13px; color: var(--green-dark); font-weight: 500; }
.breadcrumb-sep { color: var(--border); font-size: 13px; }

/* ===== HERO – nền XANH, button NÂU ===== */
.hero {
  padding: 26px 80px 60px;
  /* GIỮ XANH: gradient xanh */
  background: linear-gradient(145deg, var(--hero-bg1) 0%, var(--hero-bg2) 50%, var(--hero-bg3) 100%);
  display: grid; grid-template-columns: 1fr 390px; gap: 48px; align-items: start;
  position: relative; overflow: hidden;
}
.hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 380px; height: 380px;
  /* GIỮ XANH: radial xanh */
  background: radial-gradient(circle, var(--hero-radial) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none; }
/* GIỮ XANH: badge xanh */
.hero-badge { display: inline-flex; align-items: center; gap: 6px;
  background: var(--hero-badge-bg); border: 1px solid var(--hero-badge-border);
  padding: 5px 13px; border-radius: 20px; font-size: 12px;
  color: var(--hero-h1); font-weight: 600; margin-bottom: 18px; }
/* GIỮ XANH: tiêu đề hero xanh */
.hero h1 { font-family: 'Playfair Display', serif; font-size: 42px; line-height: 1.2;
  color: var(--hero-h1); margin-bottom: 14px; }
.hero h1 span { color: var(--hero-span); }
/* GIỮ XANH: mô tả hero xanh tối */
.hero-desc { font-size: 15px; color: var(--hero-desc); line-height: 1.8; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
/* ĐỔI NÂU: button primary trong hero */
.btn-primary { background: var(--btn-hero-primary); color: #fff; padding: 12px 24px;
  border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none;
  transition: all 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--btn-hero-primary-h); transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107,58,42,0.25); }
/* ĐỔI NÂU: button outline trong hero */
.btn-outline { border: 2px solid var(--btn-hero-outline); color: var(--btn-hero-outline);
  padding: 12px 24px; border-radius: 10px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all 0.2s; display: inline-block; }
.btn-outline:hover { background: var(--btn-hero-outline); color: #fff; }
/* GIỮ XANH: card giá trong hero */
.hero-card { background: var(--white); border-radius: 18px; padding: 26px;
  box-shadow: 0 12px 36px var(--hero-card-shadow); border: 1px solid var(--hero-border);
  position: relative; z-index: 2; }
.hero-card h3 { font-size: 14px; font-weight: 600; color: var(--hero-h1);
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--hero-border); }
.price-row { display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px dashed var(--hero-border); gap: 10px; }
.price-row:last-of-type { border-bottom: none; }
.price-label { font-size: 13px; color: var(--hero-price-label); }
.price-val { font-size: 13px; font-weight: 600; color: var(--hero-price-val); white-space: nowrap; }
.price-note { font-size: 11px; color: var(--hero-muted); margin-top: 11px; font-style: italic; }
/* ĐỔI NÂU: btn-quote trong card giá */
.btn-quote { display: block; margin-top: 14px; background: var(--btn-hero-primary);
  color: #fff; text-align: center; padding: 12px; border-radius: 10px;
  font-size: 14px; font-weight: 600; text-decoration: none; transition: background 0.2s; }
.btn-quote:hover { background: var(--btn-hero-primary-h); }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--green-dark); padding: 24px 80px; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; position: relative; }
.stat-item::after { content: ''; position: absolute; right: 0; top: 10%; bottom: 10%; width: 1px; background: rgba(255,255,255,0.15); }
.stat-item:last-child::after { display: none; }
.stat-num { font-size: 28px; font-weight: 700; color: var(--teal-accent); font-family: 'Playfair Display', serif; }
.stat-lbl { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 3px; }

/* ===== SECTIONS ===== */
.section { padding: 64px 80px; }
.section-alt { background: var(--green-bg); }
.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; }
.section-tag { display: inline-block; background: var(--green-pale); color: var(--green-dark); font-size: 11px; font-weight: 600; padding: 4px 13px; border-radius: 20px; border: 1px solid var(--border); margin-bottom: 11px; letter-spacing: 0.5px; text-transform: uppercase; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 32px; color: var(--green-dark); margin-bottom: 10px; line-height: 1.3; }
.section-header p { color: var(--text-muted); font-size: 14px; line-height: 1.75; max-width: 560px; }
.section-header.center p { margin: 0 auto; }

/* ===== GALLERY ===== */
.gallery-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
.gallery-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.img-card { border-radius: 14px; overflow: hidden; position: relative; background: var(--green-pale); border: 1px solid var(--border); }
.img-card svg { width: 100%; display: block; }
.img-card .img-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(8,80,65,0.82)); padding: 28px 14px 12px; color: #fff; font-size: 12px; font-weight: 500; line-height: 1.4; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { background: var(--white); border-radius: 14px; border: 1px solid var(--border); padding: 24px 20px; transition: all 0.3s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--green-dark), var(--green-light)); transform: scaleX(0); transition: transform 0.3s; transform-origin: left; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(15,110,86,0.11); border-color: var(--green-light); }
.service-card:hover::before { transform: scaleX(1); }
.svc-icon { width: 48px; height: 48px; background: var(--green-pale); border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 13px; }
.service-card h3 { font-size: 14px; font-weight: 600; color: var(--green-dark); margin-bottom: 7px; }
.service-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ===== PROCESS ===== */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 29px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--green-light), var(--green-dark)); z-index: 0; }
.process-step { text-align: center; padding: 0 10px; position: relative; z-index: 1; }
.step-num { width: 58px; height: 58px; border-radius: 50%; background: var(--green-dark); color: #fff; font-size: 19px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; border: 4px solid var(--green-bg); font-family: 'Playfair Display', serif; }
.process-step h4 { font-size: 13px; font-weight: 600; color: var(--green-dark); margin-bottom: 5px; }
.process-step p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* ===== WHY US ===== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.why-list { display: flex; flex-direction: column; gap: 16px; }
.why-item { display: flex; gap: 13px; padding: 15px; background: var(--white); border-radius: 12px; border: 1px solid var(--border); transition: box-shadow 0.2s; }
.why-item:hover { box-shadow: 0 5px 18px rgba(15,110,86,0.1); }
.why-icon { width: 42px; height: 42px; background: var(--green-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.why-item h4 { font-size: 14px; font-weight: 600; color: var(--green-dark); margin-bottom: 4px; }
.why-item p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===== PACKAGES ===== */
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pkg-card { border-radius: 16px; border: 2px solid var(--border); padding: 28px 24px; background: var(--white); transition: all 0.3s; position: relative; }
.pkg-card.featured { border-color: var(--green-mid); background: var(--green-dark); }
.pkg-card.featured * { color: #fff !important; }
.pkg-card.featured .pkg-feature { border-bottom-color: rgba(255,255,255,0.15) !important; }
.pkg-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--green-light); color: #085041; font-size: 11px; font-weight: 700; padding: 3px 13px; border-radius: 20px; white-space: nowrap; }
.pkg-name { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 7px; }
.pkg-price { font-size: 30px; font-weight: 700; color: var(--green-dark); font-family: 'Playfair Display', serif; }
.pkg-price sub { font-size: 13px; font-weight: 400; }
.pkg-desc { font-size: 13px; color: var(--text-muted); margin: 9px 0 16px; line-height: 1.6; }
.pkg-features { margin-bottom: 20px; }
.pkg-feature { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 13px; color: #4a7060; line-height: 1.5; }
.pkg-feature:last-child { border-bottom: none; }
.pkg-feature::before { content: '✓'; color: var(--green-mid); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pkg-card.featured .pkg-feature::before { color: var(--teal-accent) !important; }
.btn-pkg { display: block; text-align: center; padding: 11px; border-radius: 9px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.2s; border: 2px solid var(--green-dark); color: var(--green-dark); }
.btn-pkg:hover { background: var(--green-dark); color: #fff; }
.pkg-card.featured .btn-pkg { background: rgba(255,255,255,0.15) !important; border-color: rgba(255,255,255,0.4) !important; color: #fff !important; }
.pkg-card.featured .btn-pkg:hover { background: rgba(255,255,255,0.25) !important; }
.pkg-card:hover:not(.featured) { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(15,110,86,0.11); }

/* ===== TESTIMONIALS ===== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 22px; transition: box-shadow 0.2s; }
.testi-card:hover { box-shadow: 0 7px 26px rgba(15,110,86,0.1); }
.stars { color: #f0b429; font-size: 13px; margin-bottom: 9px; }
.testi-text { font-size: 13px; color: #4a7060; line-height: 1.75; margin-bottom: 15px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--green-pale); display: flex; align-items: center; justify-content: center; font-size: 14px; border: 2px solid var(--border); flex-shrink: 0; }
.author-name { font-size: 13px; font-weight: 600; color: var(--green-dark); }
.author-loc { font-size: 11px; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 11px; margin-bottom: 10px; overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; padding: 15px 18px; text-align: left; font-family: 'Be Vietnam Pro', sans-serif; font-size: 14px; font-weight: 600; color: var(--green-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; gap: 10px; }
.faq-q:hover { background: var(--green-bg); }
.faq-q .arrow { font-size: 18px; transition: transform 0.3s; color: var(--green-mid); flex-shrink: 0; }
.faq-q.open .arrow { transform: rotate(45deg); }
.faq-a { padding: 0 18px; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s; font-size: 13px; color: var(--text-muted); line-height: 1.8; }
.faq-a.open { max-height: 260px; padding: 0 18px 15px; }

/* ===== CTA ===== */
.cta-section { background: var(--green-dark); padding: 64px 80px; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -60px; left: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,0.05); }
.cta-section h2 { font-family: 'Playfair Display', serif; font-size: 34px; color: #fff; margin-bottom: 10px; }
.cta-section p { color: var(--teal-accent); font-size: 15px; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--green-dark); padding: 12px 26px; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; transition: all 0.2s; display: inline-block; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,0.18); }
.btn-ghost { border: 2px solid rgba(255,255,255,0.4); color: #fff; padding: 12px 26px; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.2s; display: inline-block; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }


/* ==========================================
   FLOATING BUTTONS – chung
   ========================================== */
.float-btns-right,
.float-btns-left {
  position: fixed; bottom: 24px; z-index: 999;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btns-right { right: 20px; }
.float-btns-left  { left: 20px; }

.float-btn {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.3s;
  position: relative;
}
.float-btn:hover { transform: scale(1.1); box-shadow: 0 8px 22px rgba(0,0,0,0.25); }
.float-btn svg { width: 22px; height: 22px; fill: #fff; pointer-events: none; }

/* Tooltip – bên TRÁI: hiện sang phải */
.float-btns-left .float-btn .tooltip {
  position: absolute; left: 58px; top: 50%; transform: translateY(-50%);
  background: rgba(15,35,25,0.86); color: #fff; font-size: 11px;
  padding: 4px 9px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
  font-family: 'Be Vietnam Pro', sans-serif;
}
/* Tooltip – bên PHẢI: hiện sang trái */
.float-btns-right .float-btn .tooltip {
  position: absolute; right: 58px; top: 50%; transform: translateY(-50%);
  background: rgba(15,35,25,0.86); color: #fff; font-size: 11px;
  padding: 4px 9px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
  font-family: 'Be Vietnam Pro', sans-serif;
}
.float-btn:hover .tooltip { opacity: 1; }

/* Màu */
.float-zalo { background: #0068ff; color: #0068ff; }
.float-call { background: var(--green-dark); color: var(--green-dark); }
.float-chat { background: var(--green-mid); color: var(--green-mid); }
.float-top  { background: #fff; border: 2px solid var(--green-mid); color: var(--green-mid); }
.float-top svg { fill: var(--green-dark); }

/* Pulse ring (trừ scroll-top) */
.float-zalo::before, .float-call::before, .float-chat::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid currentColor;
  animation: pulse 2.2s ease-out infinite; opacity: 0;
}
/* Scroll-top: ẩn khi ở đầu trang */
.float-top { opacity: 0; pointer-events: none; }
.float-top.visible { opacity: 1; pointer-events: auto; }

@keyframes pulse { 0%{transform:scale(1);opacity:.55} 100%{transform:scale(1.75);opacity:0} }
@keyframes fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }

/* ==========================================
   THÊM MỚI: LIVE CHAT WIDGET
   Chat box hiện ra PHÍA TRÊN cột float-btns-right,
   không che Call và Zalo bên dưới.
   bottom được tính = 24px (col bottom)
     + 3 nút × 50px + 2 gap × 10px + 12px margin
     = 24 + 150 + 20 + 12 = 206px  (desktop)
   ========================================== */

/* --- Chat box container --- */
#chat-box-nha-o {
  position: fixed;
  bottom: 206px;       /* THÊM: đẩy box lên trên 3 nút float-right */
  right: 20px;
  width: 320px;
  background: #fff;
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 12px 40px rgba(15,110,86,.18);
  border: 1px solid var(--green-mid);
  overflow: hidden;
  display: none;       /* THÊM: ẩn mặc định, JS sẽ mở */
  flex-direction: column;
  z-index: 1099;       /* THÊM: cao hơn float buttons (999) nhưng dưới header (1000) */
  animation: chatSlideUp .3s ease;
}
#chat-box-nha-o.open { display: flex; }

@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Header chat --- */
.chat-header-nha-o {
  background: var(--green-dark);
  padding: 13px 15px;
  display: flex; align-items: center; gap: 10px;
}
.chat-av-nha-o {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.chat-info-nha-o { flex: 1; }
.chat-name-nha-o { color: #fff; font-size: 13px; font-weight: 600; }
.chat-status-nha-o {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--teal-accent);
}
.chat-dot-nha-o {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  animation: chatBlink 1.5s ease-in-out infinite;
}
@keyframes chatBlink { 0%,100%{opacity:1} 50%{opacity:.4} }

.chat-close-nha-o {
  background: none; border: none;
  color: rgba(255,255,255,.7); font-size: 20px;
  cursor: pointer; padding: 2px 6px;
  border-radius: 4px; line-height: 1;
  transition: color .2s;
}
.chat-close-nha-o:hover { color: #fff; }

/* --- Messages area --- */
.chat-msgs-nha-o {
  padding: 12px; height: 220px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 9px;
  background: #f9fdf9;
}
.chat-msgs-nha-o::-webkit-scrollbar { width: 4px; }
.chat-msgs-nha-o::-webkit-scrollbar-thumb {
  background: var(--border); border-radius: 4px;
}

/* --- Bubble tin nhắn --- */
.cmsg { display: flex; gap: 7px; align-items: flex-end; max-width: 85%; }
.cmsg.bot { align-self: flex-start; }
.cmsg.user { align-self: flex-end; flex-direction: row-reverse; }
.cmsg-ico {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}
.cmsg-bubble { padding: 8px 11px; border-radius: 14px; font-size: 13px; line-height: 1.55; }
.cmsg.bot  .cmsg-bubble { background: #fff; border: 1px solid var(--border); color: var(--text-dark); border-radius: 4px 14px 14px 14px; }
.cmsg.user .cmsg-bubble { background: var(--green-dark); color: #fff; border-radius: 14px 4px 14px 14px; }
.cmsg-time { font-size: 10px; color: var(--text-muted); margin-top: 4px; padding: 0 4px; }

/* --- Typing indicator --- */
.chat-typing-nha-o {
  display: flex; gap: 4px;
  padding: 9px 13px; background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px 14px 14px 14px;
  align-self: flex-start;
}
.chat-typing-nha-o span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-mid);
  animation: chatTypeDot .9s ease-in-out infinite;
}
.chat-typing-nha-o span:nth-child(2) { animation-delay: .15s; }
.chat-typing-nha-o span:nth-child(3) { animation-delay: .3s; }
@keyframes chatTypeDot { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

/* --- Quick reply chips --- */
.chat-qr-nha-o {
  padding: 7px 12px; display: flex; gap: 6px; flex-wrap: wrap;
  background: #f9fdf9; border-top: 1px solid var(--border);
}
.chat-qr-btn {
  background: var(--green-pale); border: 1px solid var(--border);
  color: var(--green-dark); font-size: 11px;
  padding: 4px 9px; border-radius: 20px;
  cursor: pointer; transition: all .2s;
  font-family: 'Be Vietnam Pro', sans-serif; white-space: nowrap;
}
.chat-qr-btn:hover { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }

/* --- Input area --- */
.chat-input-wrap-nha-o {
  padding: 9px 11px; border-top: 1px solid var(--border);
  display: flex; gap: 7px; align-items: center; background: #fff;
}
.chat-text-input-nha-o {
  flex: 1; border: 1px solid var(--border); border-radius: 20px;
  padding: 7px 13px; font-size: 13px;
  font-family: 'Be Vietnam Pro', sans-serif;
  outline: none; transition: border-color .2s;
}
.chat-text-input-nha-o:focus { border-color: var(--green-mid); }
.chat-send-btn-nha-o {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-dark); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; flex-shrink: 0;
}
.chat-send-btn-nha-o:hover { background: var(--green-mid); }
.chat-send-btn-nha-o svg { width: 15px; height: 15px; fill: #fff; }

/* THÊM: Badge thông báo trên nút chat */
.chat-badge-nha-o {
  position: absolute; top: -3px; right: -3px;
  width: 18px; height: 18px; background: #e53935;
  border-radius: 50%; color: #fff; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

/* SỬAỞ mobile: tính lại bottom cho chat box nhỏ hơn */
@media (max-width: 768px) {
  /* mobile: 3 nút × 44px + 2 gap × 8px + 14px (bottom) + 12px margin = 106px */
  #chat-box-nha-o {
    bottom: 162px;
    right: 10px;
    width: calc(100vw - 28px);
    max-width: 300px;
  }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1100px) {
  header { padding: 0 22px; }
  .breadcrumb, .section, .cta-section, footer { padding-left: 28px; padding-right: 28px; }
  .hero { padding: 22px 28px 48px; }
  .stats-bar { padding-left: 28px; padding-right: 28px; }
  nav { gap: 16px; }
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .package-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stats-bar { grid-template-columns: repeat(2,1fr); gap: 14px; padding-top: 24px; padding-bottom: 24px; }
  .stat-item::after { display: none; }
  .why-grid { gap: 28px; }
}
@media (max-width: 768px) {
  header { padding: 0 16px; height: 62px; }
  nav {
    display: none; position: fixed; top: 62px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); flex-direction: column; gap: 0;
    padding: 6px 0 14px; box-shadow: 0 8px 24px rgba(15,110,86,0.1);
    border-bottom: 1px solid var(--border); z-index: 998;
  }
  nav.open { display: flex; }
  nav a { padding: 11px 22px; font-size: 15px; }
  nav a::after { display: none; }
  .hamburger { display: flex; }
  .logo-slogan-sm { display: none; }
  .breadcrumb { padding: 76px 16px 0; }
  .hero { grid-template-columns: 1fr; padding: 18px 16px 38px; gap: 28px; }
  .hero h1 { font-size: 30px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; }
  .stats-bar { padding: 18px 16px; grid-template-columns: repeat(2,1fr); gap: 12px; }
  .stat-num { font-size: 22px; }
  .section { padding: 44px 16px; }
  .section-header h2 { font-size: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid-3 { grid-template-columns: 1fr; }
  .gallery-grid-2 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .process-grid::before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .package-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  footer { padding: 38px 16px 80px; }
  .cta-section { padding: 44px 16px; }
  .cta-section h2 { font-size: 24px; }
  /* Floating nhỏ hơn */
  .float-btn { width: 44px; height: 44px; }
  .float-btns-right { right: 10px; bottom: 14px; gap: 8px; }
  .float-btns-left  { left: 10px; bottom: 14px; gap: 8px; }
  .float-btn svg { width: 19px; height: 19px; }
  .float-btn .tooltip { display: none; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 26px; }
  .pkg-card { padding: 22px 16px; }
}