/* =========================================================
   TRANG LIÊN HỆ
   Mọi class có tiền tố "lh-" và mọi CSS chỉ tác động bên trong .lh,
   nên không đụng tới class / thẻ của theme.

   1. Biến màu & nền tảng     5. Gửi liên hệ + góp ý
   2. Thành phần dùng chung   6. Popup ảnh
   3. Hero                    7. Mobile (≤ 768px)
   4. Hệ thống showroom
   ========================================================= */


/* =========================================================
   1. BIẾN MÀU & NỀN TẢNG  (chỉ áp dụng bên trong .lh)
   ========================================================= */
.lh {
  --blue: #17468E;   /* màu thương hiệu: nút, chữ nhấn */
  --navy: #0E2F63;   /* link thường khi hover */
  --red:  #E5392B;   /* nút gọi điện, dấu * bắt buộc */
  --zalo: #0068FF;   /* nút Chat Zalo */
  --ink:  #222222;   /* chữ chính */
  --body: #3A4356;   /* chữ đoạn văn */
  --text: #5F6673;   /* chữ phụ */
  --mute: #6B7488;   /* chữ mờ, placeholder */
  --line: #E6E8EC;   /* viền thẻ, đường kẻ */
  --edge: #DCE6F5;   /* viền khối nền xanh */
  --tint: #EAF1FB;   /* nền xanh nhạt */
  --soft: #EEF3FB;   /* nền khối "khi ghé showroom", góp ý */

  /* Chuyển động khi hover: nhanh lúc đầu, chậm dần về cuối nên nhìn mềm, không giật */
  --ease: cubic-bezier(.22, .61, .36, 1);

  padding-bottom: 56px;
  font: 400 16px/normal Manrope, sans-serif;
  color: var(--ink);
  background: #F7FAFF;
}

.lh, .lh *, .lh *::before, .lh *::after { box-sizing: border-box; }

/* Đặt lại kiểu mặc định của thẻ. Dùng :where() để độ ưu tiên chỉ bằng 1 class:
   thắng CSS theo thẻ của theme, nhưng vẫn nhường các class lh- bên dưới. */
.lh :where(h1, h2, h3) { margin: 0; font: inherit; font-weight: 700; color: inherit; letter-spacing: normal; text-transform: none; }
.lh :where(p, ul, li, label, figure, figcaption) { margin: 0; padding: 0; font: inherit; color: inherit; }
.lh :where(section, article, nav, form) { margin: 0; padding: 0; }
.lh :where(span, b, i) { font: inherit; color: inherit; }
.lh :where(b)      { font-weight: 700; }
.lh :where(ul)     { list-style: none; }
.lh :where(img)    { display: block; max-width: 100%; height: auto; }
.lh :where(button) { margin: 0; font: inherit; letter-spacing: normal; text-transform: none; box-shadow: none; }
.lh :where(a, button, input, textarea):focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.lh [hidden] { display: none !important; }

/* Màu link. Link thường: xanh, hover đổi sang xanh đậm (như bản gốc).
   Link có màu riêng (nút, breadcrumb…) chỉ cần khai báo --c, và giữ nguyên màu đó khi hover. */
.lh a       { color: var(--c, var(--blue)); text-decoration: none; }
.lh :where(a) { transition: color .25s var(--ease); }   /* :where() để nút (.lh-btn) khai báo chuyển động riêng của nó */
.lh a:hover { color: var(--c, var(--navy)); text-decoration: none; }


/* =========================================================
   2. THÀNH PHẦN DÙNG CHUNG
   ========================================================= */

/* Khung nội dung: rộng tối đa 1200px + lề 24px mỗi bên */
.lh-wrap { max-width: 1248px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Chỉ hiện trên PC / chỉ hiện trên mobile */
@media (min-width: 769px) { .lh-mb { display: none !important; } }
@media (max-width: 768px) { .lh-pc { display: none !important; } }

/* ---- Nút bo tròn ---- */
.lh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border: 0; border-radius: 999px;
  background: var(--blue); color: #fff; --c: #fff;
  box-shadow: 0 6px 16px rgba(23, 70, 142, .24);
  font-size: 16px; font-weight: 700; letter-spacing: .2px; white-space: nowrap;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease);
}

/* Nút gọi điện / Zalo ở hero: có vòng tròn mờ chứa icon */
.lh-call, .lh-zalo { min-height: 52px; padding: 8px 26px 8px 10px; border: 1px solid; }
.lh-call { background: var(--red);  border-color: var(--red);  box-shadow: 0 6px 16px rgba(229, 57, 43, .28); }
.lh-zalo { background: var(--zalo); border-color: var(--zalo); box-shadow: 0 6px 16px rgba(0, 104, 255, .28); }
.lh-dot  { flex: none; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .2); }

/* ---- Icon nét: vẽ bằng mask nên tự lấy màu chữ của phần tử chứa nó ---- */
.lh-i {
  flex: none; display: inline-block; width: 16px; height: 16px;
  background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
          mask: var(--i) center / contain no-repeat;
}
.lh-i-home  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l9 8h-3v9h-5v-6h-2v6H6v-9H3z'/%3E%3C/svg%3E"); width: 18px; height: 18px; }
.lh-i-phone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); width: 18px; height: 18px; }
.lh-i-chat  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4zM8 10h.01M12 10h.01M16 10h.01'/%3E%3C/svg%3E"); width: 18px; height: 18px; }
.lh-i-check { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); width: 18px; height: 18px; }
.lh-i-car   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 16V11l2-5h10l2 5v5M3 16h18v3H3z'/%3E%3C/svg%3E"); }
.lh-i-nav   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l18-8-8 18-2-8z'/%3E%3C/svg%3E"); width: 17px; height: 17px; }
.lh-i-arrow { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.lh-i-note  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2zM12 7v4M12 14h.01'/%3E%3C/svg%3E"); width: 26px; height: 26px; }
.lh-i-prev  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4l-8 8 8 8'/%3E%3C/svg%3E"); width: 44px; height: 44px; }
.lh-i-next  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4l8 8-8 8'/%3E%3C/svg%3E"); width: 44px; height: 44px; }

/* ---- Nhãn nhỏ nền xanh nhạt ---- */
.lh-chip    { align-self: flex-start; padding: 6px 12px; border-radius: 4px; background: var(--tint); color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; }
.lh-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--blue); }

/* ---- Tiêu đề mục: vạch xanh + tên mục + đường kẻ ---- */
.lh-head { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.lh-head h2 { flex: none; display: flex; align-items: center; gap: 12px; font-size: 26px; }
.lh-head h2::before { content: ""; width: 4px; height: 24px; border-radius: 2px; background: var(--blue); }
.lh-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }


/* =========================================================
   3. HERO
   ========================================================= */
.lh-hero    { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff 0%, #F1F6FD 100%); }
.lh-hero-in { padding-top: 16px; padding-bottom: 64px; }

.lh-crumb   { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; color: #333; }
.lh-crumb a { --c: #333; }
.lh-crumb .lh-i { color: var(--blue); }
.lh-crumb [aria-current] { color: var(--blue); }

.lh-hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 64px; align-items: center; margin-top: 40px; }
.lh-hero-text { display: flex; flex-direction: column; gap: 24px; }

.lh-title { font-size: 42px; line-height: 1.15; letter-spacing: -.5px; }
.lh-desc  { max-width: 480px; font-size: 18px; line-height: 1.6; color: var(--text); }
.lh-acts  { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }

.lh-hero-img     { overflow: hidden; aspect-ratio: 16 / 10; border-radius: 8px; background: #0F2552; }
.lh-hero-img img { width: 100%; height: 100%; object-fit: cover; }


/* =========================================================
   4. HỆ THỐNG SHOWROOM
   ========================================================= */
.lh-rooms { padding-top: 80px; }

/* Giới thiệu: đoạn văn bên trái, ô số liệu bên phải */
.lh-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 56px; align-items: start; }
.lh-text  { display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.7; color: var(--body); }
.lh-lead  { font-size: 20px; line-height: 1.5; font-weight: 700; color: var(--ink); }

.lh-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lh-stat  { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.lh-stat b    { font-size: 28px; color: var(--blue); }
.lh-stat span { font-size: 15px; line-height: 1.5; color: var(--text); }

/* Ô "Khi ghé showroom, bạn có thể" */
.lh-visit   { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--edge); border-radius: 8px; background: var(--soft); }
.lh-visit b { font-size: 16px; }
.lh-checks  { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--body); }
.lh-checks li { display: flex; align-items: flex-start; gap: 10px; }
.lh-checks .lh-i { margin-top: 2px; color: #1E8E5A; }

/* Nút chọn Miền Bắc / Miền Nam: chỉ có trên mobile */
.lh-tabs {
  display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;
  margin-bottom: 16px; padding: 4px; border-radius: 999px; background: var(--tint);
}
.lh .lh-tab,
.lh .lh-tab:hover {
  min-height: 44px; padding: 0; border: 0; border-radius: 999px;
  background: transparent; color: var(--blue); box-shadow: none;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.lh .lh-tab[aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .15); }

/* ---- Một showroom: tên + địa chỉ + nút chỉ đường, rồi lưới ảnh ---- */
.lh-room { display: flex; flex-direction: column; gap: 20px; margin-top: 56px; }

.lh-room-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.lh-room-info { display: flex; flex-direction: column; gap: 6px; }
.lh-room-info .lh-chip { font-size: 14px; }
.lh-room-info h3 { font-size: 24px; line-height: 1.3; }

.lh-addr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: 16px; color: #333; }
.lh-park { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--mute); }

/* Lưới ảnh PC: ảnh lớn chiếm 2×2 ô, ảnh thứ 3 phủ lớp "+5 ảnh / Xem tất cả".
   Ảnh thứ 4 trở đi ẩn trong lưới nhưng vẫn có trong popup. */
.lh-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 220px 220px; gap: 12px; }
.lh-ph  {
  position: relative; display: block; overflow: hidden;
  border-radius: 8px; background: var(--tint); cursor: zoom-in;
  isolation: isolate;   /* giữ góc bo khi ảnh phóng to (Safari) */
}
.lh-ph:first-child { grid-column: span 2; grid-row: span 2; }
.lh-ph:nth-child(n+4) { display: none; }
.lh-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); backface-visibility: hidden; }

.lh-more {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: rgba(15, 37, 82, .62); color: #fff;
  font-size: 16px; font-weight: 700;
}
.lh-more b { font-size: 24px; }


/* =========================================================
   5. GỬI LIÊN HỆ + GÓP Ý
   ========================================================= */
.lh-contact { margin-top: 72px; }

.lh-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: start; padding: 48px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.lh-card-text { display: flex; flex-direction: column; gap: 14px; }
.lh-card-text h2 { font-size: 28px; line-height: 1.25; }
.lh-card-text p  { font-size: 16px; line-height: 1.6; color: var(--text); }

/* Form: 2 cột, ô "Nội dung" và nút gửi chiếm cả hàng */
.lh-form  { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.lh-field { display: flex; flex-direction: column; gap: 6px; }
.lh-full  { grid-column: 1 / -1; }
.lh-field label   { font-size: 15px; font-weight: 700; color: var(--ink); }
.lh-field label i { font-style: normal; color: var(--red); }

/* Ô nhập: selector mạnh hơn để thắng CSS input[type=…] của theme */
.lh .lh-form input:not([type=submit], [type=hidden]),
.lh .lh-form textarea {
  display: block; width: 100%; max-width: none; height: 48px; min-height: 0; margin: 0; padding: 0 14px;
  border: 1px solid #D0D6E2; border-radius: 6px; box-shadow: none;
  background: #fff; color: var(--ink);
  font: 400 15px/normal Manrope, sans-serif; letter-spacing: normal; text-transform: none;
}
.lh .lh-form textarea { height: 110px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.lh .lh-form input:focus,
.lh .lh-form textarea:focus { border-color: #D0D6E2; box-shadow: none; background: #fff; color: var(--ink); }
.lh .lh-form ::placeholder { color: var(--mute); opacity: 1; }

.lh .lh-send { grid-column: 1 / -1; justify-self: start; min-height: 50px; padding: 0 32px; font-size: 15px; }

/* ---- Form Contact Form 7 (template lien-he.php + mẫu lien-he-cf7.txt) ----
   CF7 tự bọc chữ trong <p> và chèn <br>: bỏ tác dụng của 2 thẻ này để giữ đúng lưới. */
.lh .lh-cf form, .lh .lh-cf .wpcf7 { margin: 0; padding: 0; }
.lh-cf p  { display: contents; }
.lh-cf br { display: none; }
.lh-cf .wpcf7-form-control-wrap { display: block; }

/* Nút gửi: khung .lh-submit là "viên thuốc" xanh, bên trong là nút <input> trong suốt + mũi tên.
   (CF7 chỉ in được <input type=submit>, không chứa được icon, nên icon nằm ở khung.) */
.lh-submit {
  position: relative; grid-column: 1 / -1; justify-self: start;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 32px; border-radius: 999px;
  background: var(--blue); color: #fff;
  box-shadow: 0 6px 16px rgba(23, 70, 142, .24);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease);
}
.lh-submit::after {
  content: ""; flex: none; order: 2; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
  --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.lh .lh-cf .lh-submit [type=submit],
.lh .lh-cf .lh-submit [type=submit]:hover,
.lh .lh-cf .lh-submit [type=submit]:focus {
  display: block; width: auto; height: auto; min-height: 0; margin: 0; padding: 0;
  border: 0; border-radius: 0; box-shadow: none; background: transparent; color: inherit;
  font: 700 15px/normal Manrope, sans-serif; letter-spacing: .2px; text-transform: none;
  cursor: pointer; -webkit-appearance: none; appearance: none;
}
.lh .lh-cf .lh-submit [type=submit]:disabled { opacity: .7; cursor: wait; }

/* Vòng xoay khi đang gửi: đặt cạnh nút */
.lh .lh-cf .wpcf7-spinner { position: absolute; top: 13px; left: 100%; margin: 0 0 0 12px; }

/* Báo lỗi từng ô và thông báo chung sau khi gửi */
.lh .lh-cf .lh-form .wpcf7-not-valid { border-color: var(--red); }   /* đủ mạnh để thắng quy tắc viền xám của ô nhập */
.lh .lh-cf .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; font-weight: 400; color: var(--red); }
.lh .lh-cf .wpcf7-response-output {
  margin: 16px 0 0; padding: 12px 16px;
  border: 1px solid var(--edge); border-radius: 6px; background: var(--soft);
  font-size: 14px; line-height: 1.5; color: var(--body);
}
.lh .lh-cf form.sent .wpcf7-response-output   { border-color: #A6D9BE; background: #ECF8F1; color: #146C43; }
.lh .lh-cf form.invalid .wpcf7-response-output,
.lh .lh-cf form.unaccepted .wpcf7-response-output,
.lh .lh-cf form.payment-required .wpcf7-response-output { border-color: #F2D28B; background: #FFF8E6; color: #7A5300; }
.lh .lh-cf form.failed .wpcf7-response-output,
.lh .lh-cf form.aborted .wpcf7-response-output,
.lh .lh-cf form.spam .wpcf7-response-output   { border-color: #F3B4AE; background: #FDEFEE; color: #A3261B; }

/* Khối góp ý & khiếu nại */
.lh-fb { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 24px; padding: 36px 48px; border: 1px solid var(--edge); border-radius: 8px; background: var(--soft); }
.lh-fb-main { flex: 1 1 560px; min-width: 0; display: flex; align-items: flex-start; gap: 20px; }
.lh-fb-ico  { flex: none; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: #fff; color: var(--blue); }
.lh-fb-ico img { width: 26px; height: 26px; }   /* icon tải lên từ ACF (nếu có) */
.lh-fb-text { display: flex; flex-direction: column; gap: 10px; }
.lh-fb-text h2 { font-size: 24px; line-height: 1.3; }
.lh-fb-text p  { font-size: 16px; line-height: 1.6; color: var(--text); }

.lh-tags      { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.lh-tags span { padding: 7px 14px; border: 1px solid #C9D6EC; border-radius: 999px; background: #fff; font-size: 14px; color: var(--body); }

.lh-fb .lh-btn { flex: none; min-height: 52px; padding: 0 28px; }


/* =========================================================
   6. POPUP ẢNH
   ========================================================= */
.lh-lb {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11, 11, 11, .92);
  font-family: Manrope, sans-serif;
  touch-action: pan-y;   /* để vuốt ngang chuyển ảnh trên điện thoại */
}
.lh-lb[hidden] { display: none !important; }

.lh .lh-lb button {
  position: absolute; display: flex; align-items: center; justify-content: center;
  min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
  color: #fff; opacity: .85; cursor: pointer;
}
.lh .lh-lb button:hover { background: transparent; color: #fff; }   /* chặn hover của theme; bản gốc không có hiệu ứng hover ở đây */

.lh .lh-lb-close { top: 12px; right: 12px; width: 48px; height: 48px; font-size: 36px; line-height: 1; }
.lh .lh-lb-prev,
.lh .lh-lb-next  { top: 50%; width: 56px; height: 72px; transform: translateY(-50%); }
.lh .lh-lb-prev  { left: 24px; }
.lh .lh-lb-next  { right: 24px; }

.lh-lb figure { display: flex; flex-direction: column; gap: 10px; max-width: min(1100px, 82vw); }
.lh-lb img    { display: block; width: min(1000px, 78vw); height: auto; max-height: 80vh; object-fit: contain; box-shadow: 0 0 8px rgba(0, 0, 0, .6); }
.lh-lb figcaption { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; font-style: normal; line-height: 1.4; text-align: left; color: #F3F3F3; }
.lh-lb-count { flex: none; color: #CCC; }

/* Khoá cuộn trang khi popup đang mở */
html.lh-lock, html.lh-lock body { overflow: hidden; }


/* ---- Hiệu ứng hover (giống bản gốc: nút nhấc lên 1px và sáng hơn, ảnh phóng nhẹ) ----
   Chỉ áp dụng cho thiết bị có chuột: trên điện thoại, chạm vào nút sẽ không bị "kẹt" trạng thái hover. */
@media (hover: hover) {
  .lh-btn:hover,
  .lh-submit:hover { transform: translateY(-1px); filter: brightness(1.06); }
  .lh-ph:hover img { transform: scale(1.04); }
}

/* Máy đang bật "giảm chuyển động" (Windows: Cài đặt › Trợ năng › Hiệu ứng hình ảnh › tắt "Hiệu ứng hoạt ảnh").
   Vẫn giữ hover mượt (đổi màu, sáng lên, nhấc 1px), chỉ bỏ ảnh phóng to vì đó là chuyển động lớn nhất. */
@media (prefers-reduced-motion: reduce) {
  .lh-ph:hover img { transform: none; }
}


/* =========================================================
   7. MOBILE (≤ 768px) – theo bản thiết kế mobile 390px
   ========================================================= */
@media (max-width: 768px) {
  .lh { padding-bottom: 28px; }
  .lh-wrap { padding-left: 16px; padding-right: 16px; }

  .lh-head { gap: 10px; margin-bottom: 14px; }
  .lh-head h2 { flex: 1; gap: 10px; font-size: 20px; }
  .lh-head h2::before { height: 20px; }
  .lh-head::after { content: none; }

  /* ---- Hero: xếp dọc, ảnh nằm giữa mô tả và 2 nút ---- */
  .lh-hero    { border-bottom: 0; background: #fff; }
  .lh-hero-in { display: flex; flex-direction: column; gap: 16px; padding-bottom: 28px; }
  .lh-hero-grid, .lh-hero-text { display: contents; }

  .lh-crumb { font-size: 14px; }
  .lh-crumb .lh-i { width: 16px; height: 16px; }
  .lh-hero .lh-chip { display: none; }
  .lh-title { margin-top: 4px; font-size: 28px; line-height: 1.2; letter-spacing: normal; }
  .lh-desc  { max-width: none; font-size: 16px; }

  .lh-hero-img { order: 1; }
  .lh-acts { order: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 0; }
  .lh-call, .lh-zalo { display: flex; gap: 6px; padding: 0 8px; }
  .lh-call { border: 0; }   /* bản mobile: nút gọi không có viền */
  .lh-call .lh-i, .lh-zalo .lh-i { width: 17px; height: 17px; }

  /* ---- Showroom: giới thiệu ngắn, 4 ô số liệu, chọn miền rồi xem 1 showroom ---- */
  .lh-rooms { padding-top: 40px; }
  .lh-intro { display: block; }
  .lh-text  { gap: 12px; line-height: 1.65; }
  .lh-lead  { font-size: 17px; line-height: 1.45; }

  .lh-stats { gap: 10px; margin: 18px 0 24px; }
  .lh-stat  { gap: 2px; padding: 14px; }
  .lh-stat b    { font-size: 22px; }
  .lh-stat span { font-size: 14px; line-height: normal; }
  .lh-visit { display: none; }

  .lh-tabs { display: grid; }

  .lh-room { gap: 10px; margin-top: 0; }
  .lh-room:not(.lh-on) { display: none; }

  /* Ảnh lên trước, thông tin xuống dưới */
  .lh-gal { order: -1; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; gap: 10px 8px; }
  .lh-ph:first-child   { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .lh-ph:nth-child(n+2) { aspect-ratio: 440 / 314; border-radius: 6px; }   /* ảnh nhỏ: cao theo tỉ lệ ảnh, như bản gốc hiển thị */
  .lh-ph:nth-child(n+4) { display: block; }
  .lh-ph:nth-child(n+6) { display: none; }
  .lh-ph:hover img { transform: none; }
  .lh-more   { background: rgba(15, 37, 82, .7); font-size: 14px; }
  .lh-more b { font-size: inherit; }

  .lh-room-head { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 6px; padding-top: 8px; }
  .lh-room-info, .lh-addr { display: contents; }
  .lh-room-info .lh-chip { display: none; }
  .lh-room-info h3 { font-size: 18px; }
  .lh-addr > span:first-child { font-size: 15px; line-height: 1.6; }
  .lh-park { font-size: 13px; }
  .lh-room-head .lh-btn { margin-top: 8px; min-height: 48px; gap: 6px; }
  .lh-room-head .lh-btn .lh-i { width: 16px; height: 16px; }

  /* ---- Gửi liên hệ: 1 cột, bỏ câu mô tả ---- */
  .lh-contact { margin-top: 0; padding-top: 36px; }
  .lh-card { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 22px 18px; }
  .lh-card-text { display: contents; }
  .lh-card-text h2 { font-size: 22px; line-height: 1.3; }
  .lh-card-text p  { display: none; }

  .lh-form { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 4px; }
  .lh .lh-form textarea { height: 100px; }
  .lh .lh-send { justify-self: stretch; margin-top: 6px; font-size: 16px; }
  .lh-submit { justify-self: stretch; margin-top: 6px; }
  .lh .lh-cf .lh-submit [type=submit] { font-size: 16px; }
  .lh .lh-cf .wpcf7-spinner { left: auto; right: 12px; margin: 0; }   /* nút rộng hết khung: vòng xoay nằm trong nút */

  /* ---- Góp ý: xếp dọc, nút rộng hết khung ---- */
  .lh-fb { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px; margin-top: 16px; padding: 22px 18px; }
  .lh-fb-main, .lh-fb-text { display: contents; }
  .lh-fb-ico { align-self: flex-start; width: 48px; height: 48px; border-radius: 12px; }
  .lh-fb-text h2 { font-size: 21px; }
  .lh-fb-text p  { font-size: 15px; }
  .lh-tags { margin-top: 0; }
  .lh-tags span { font-size: 13px; }
  .lh-fb .lh-btn { margin-top: 4px; min-height: 50px; }

  /* ---- Popup ảnh: ảnh rộng hết màn hình, mũi tên sát mép ---- */
  .lh .lh-lb-prev { left: 0; }
  .lh .lh-lb-next { right: 0; }
  .lh-lb .lh-i-prev, .lh-lb .lh-i-next { width: 32px; height: 32px; }
  .lh-lb figure { max-width: 100vw; }
  .lh-lb img    { width: 100vw; max-height: 70vh; }
  .lh-lb figcaption { padding: 0 12px; }
}
