/**
 * CHÂU REALTOR - TRANG LIÊN HỆ & TƯ VẤN BĐS
 * Phong cách Luxury Minimalist - Thuần font Cabin (Sans-serif không chân)
 * Tối ưu tuyệt đối Mobile-First - Chống tràn ngang 100%
 */

/* ==========================================================================
   1. KHUNG TRANG & BREADCRUMB
   ========================================================================== */
.lh-page-wrap {
  padding: 1.5rem 0 3.5rem 0;
  background-color: #ffffff;
  color: #111111;
  font-family: 'Cabin', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: clip;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .lh-page-wrap {
    padding: 2rem 0 4.5rem 0;
  }
}

.lh-container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .lh-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .lh-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.lh-page-wrap h1,
.lh-page-wrap h2,
.lh-page-wrap h3,
.lh-page-wrap h4,
.lh-page-wrap p,
.lh-page-wrap span,
.lh-page-wrap a,
.lh-page-wrap button,
.lh-page-wrap input,
.lh-page-wrap select,
.lh-page-wrap textarea,
.lh-page-wrap label {
  font-family: 'Cabin', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
}

/* BREADCRUMB */
.lh-breadcrumb-wrap {
  padding: 0.75rem 0;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  font-family: 'Cabin', sans-serif;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .lh-breadcrumb-wrap {
    margin-bottom: 2rem;
  }
}

/* GRADIENTS & UTILS */
.text-gradient {
  background: var(--gradient-brand, linear-gradient(to right, var(--mainColor, #d35400) 0%, #e67e22 50%, #a04000 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.lh-subtag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #df6316;
  margin-bottom: 0.75rem;
  display: block;
  line-height: 1.3;
}

/* ==========================================================================
   2. HEADER TIÊU ĐỀ CHÍNH
   ========================================================================== */
.lh-header-block {
  margin-bottom: 2.5rem;
  text-align: left;
}

@media (min-width: 1024px) {
  .lh-header-block {
    margin-bottom: 3.5rem;
  }
}

.lh-main-title {
  font-size: 1.85rem;
  line-height: 1.25;
  font-weight: 300;
  color: #111111;
  margin: 0 0 0.85rem 0;
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .lh-main-title {
    font-size: 2.35rem;
  }
}

@media (min-width: 1024px) {
  .lh-main-title {
    font-size: 2.85rem;
    line-height: 1.2;
  }
}

.lh-main-title strong,
.lh-main-title .font-bold {
  font-weight: 700;
}

.lh-header-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #666666;
  font-weight: 400;
  max-width: 780px;
  margin: 0;
}

@media (min-width: 768px) {
  .lh-header-desc {
    font-size: 1.08rem;
  }
}

/* ==========================================================================
   3. KHỐI NỘI DUNG 2 CỘT (CONTENT GRID)
   ========================================================================== */
.lh-content-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .lh-content-grid {
    flex-direction: row;
    gap: 3.5rem;
    align-items: flex-start;
  }
}

/* CỘT TRÁI: THÔNG TIN VĂN PHÒNG & LIÊN HỆ */
.lh-col-left {
  width: 100%;
}

@media (min-width: 1024px) {
  .lh-col-left {
    width: 44%;
    flex-shrink: 0;
  }
}

.lh-office-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111111;
  margin: 0 0 0.75rem 0;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .lh-office-title {
    font-size: 1.45rem;
  }
}

.lh-office-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #666666;
  margin: 0 0 1.75rem 0;
}

/* DANH SÁCH 4 DÒNG LIÊN HỆ */
.lh-contact-list {
  border-top: 1px solid #e5e7eb;
}

.lh-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.15rem 0;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
  box-sizing: border-box;
}

.lh-contact-row:hover,
.lh-contact-row:focus {
  padding-left: 0.65rem;
  outline: none;
}

.lh-contact-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex: 1;
}

@media (min-width: 640px) {
  .lh-contact-left {
    gap: 1.15rem;
  }
}

.lh-row-num {
  font-size: 0.9rem;
  font-weight: 700;
  color: #df6316;
  width: 26px;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.lh-row-text {
  min-width: 0;
  flex: 1;
}

.lh-row-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #111111;
  margin: 0 0 0.15rem 0;
  line-height: 1.35;
  transition: color 0.25s ease;
  word-break: break-word;
}

@media (min-width: 640px) {
  .lh-row-title {
    font-size: 1.08rem;
  }
}

.lh-contact-row:hover .lh-row-title {
  color: #df6316;
}

.lh-row-subtext {
  font-size: 0.78rem;
  color: #888888;
  margin: 0;
  line-height: 1.4;
  word-break: break-word;
}

@media (min-width: 640px) {
  .lh-row-subtext {
    font-size: 0.82rem;
  }
}

.lh-contact-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-left: 0.75rem;
}

.lh-row-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #df6316;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .lh-row-value {
    font-size: 0.8rem;
  }
  .lh-row-num {
    width: 22px;
    font-size: 0.82rem;
  }
}

@media (min-width: 640px) {
  .lh-row-value {
    font-size: 0.95rem;
  }
}

.lh-row-value-muted {
  font-size: 0.85rem;
  color: #666666;
  font-weight: 400;
  white-space: nowrap;
  display: none;
}

@media (min-width: 640px) {
  .lh-row-value-muted {
    display: inline-block;
  }
}

.lh-row-value-brand {
  font-size: 0.85rem;
  color: #df6316;
  font-weight: 600;
  white-space: nowrap;
  display: none;
}

@media (min-width: 640px) {
  .lh-row-value-brand {
    display: inline-block;
  }
}

.lh-row-arrow {
  width: 18px;
  height: 18px;
  color: #9ca3af;
  flex-shrink: 0;
  transition: color 0.25s ease, transform 0.25s ease;
}

.lh-contact-row:hover .lh-row-arrow {
  color: #df6316;
  transform: translate(2px, -2px);
}

/* KHỐI CAM KẾT & THỜI GIAN */
.lh-commitment-box {
  background-color: #fafafa;
  border: 1px solid #e5e7eb;
  padding: 1.25rem;
  margin-top: 2rem;
  text-align: left;
}

.lh-commitment-item {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #4b5563;
  margin: 0;
}

.lh-commitment-item:first-child {
  margin-bottom: 0.6rem;
}

.lh-commitment-item strong {
  color: #111111;
  font-weight: 700;
}

/* ==========================================================================
   4. CỘT PHẢI: FORM TƯ VẤN LUXURY EDITORIAL
   ========================================================================== */
.lh-col-right {
  width: 100%;
}

@media (min-width: 1024px) {
  .lh-col-right {
    width: 56%;
    flex: 1;
  }
}

.lh-form-card {
  background-color: #ffffff;
  border: 1px solid #f1f3f5;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

@media (min-width: 640px) {
  .lh-form-card {
    padding: 2.25rem 2.5rem;
  }
}

.lh-form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111111;
  margin: 0 0 0.5rem 0;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .lh-form-title {
    font-size: 1.45rem;
  }
}

.lh-form-desc {
  font-size: 0.85rem;
  color: #666666;
  margin: 0 0 1.75rem 0;
  line-height: 1.55;
  font-weight: 400;
}

@media (min-width: 640px) {
  .lh-form-desc {
    font-size: 0.92rem;
  }
}

/* Ô NHẬP LIỆU EDITORIAL */
.input-editorial {
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #eaeaea;
  padding: 14px 0;
  font-size: 16px;
  color: #111111;
  font-family: 'Cabin', sans-serif;
  transition: border-color 0.35s ease;
  outline: none;
  border-radius: 0;
  box-sizing: border-box;
}

.input-editorial:focus {
  border-bottom-color: #df6316;
}

.input-editorial::placeholder {
  color: #999999;
  font-weight: 400;
  font-family: 'Cabin', sans-serif;
}

select.input-editorial {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 18px;
  padding-right: 28px;
  cursor: pointer;
}

textarea.input-editorial {
  resize: vertical;
  min-height: 70px;
}

.lh-form-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .lh-form-row {
    flex-direction: row;
    gap: 1.75rem;
  }

  .lh-form-col-half {
    flex: 1;
    min-width: 0;
  }
}

.lh-form-group {
  margin-bottom: 0.5rem;
}

/* CHECKBOX LUXURY CAM */
.lh-consent-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
  text-align: left;
}

input[type="checkbox"].lux-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #cccccc;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  outline: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-top: 2px;
  background-color: #ffffff;
}

input[type="checkbox"].lux-checkbox:checked {
  background-color: #df6316;
  border-color: #df6316;
}

input[type="checkbox"].lux-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.lh-consent-label {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #666666;
  font-weight: 400;
  cursor: pointer;
  user-select: none;
  margin: 0;
}

@media (min-width: 640px) {
  .lh-consent-label {
    font-size: 0.88rem;
  }
}

/* NÚT SUBMIT */
.lh-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 1rem 2.25rem;
  background-color: #111111;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-family: 'Cabin', sans-serif;
  border-radius: 0;
}

@media (min-width: 768px) {
  .lh-submit-btn {
    width: auto;
    min-width: 230px;
  }
}

.lh-submit-btn:hover:not(:disabled) {
  background-color: #df6316;
}

.lh-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.lh-spinner {
  animation: lh-spin 1s linear infinite;
  display: inline-block;
  margin-right: 0.65rem;
  width: 16px;
  height: 16px;
}

@keyframes lh-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   5. KHỐI GOOGLE MAPS DOANH NGHIỆP
   ========================================================================== */
.lh-map-card {
  width: 100%;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 1rem;
  margin-bottom: 3.5rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .lh-map-card {
    padding: 1.5rem;
  }
}

.lh-map-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.15rem;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .lh-map-header {
    flex-direction: row;
    align-items: center;
  }
}

.lh-map-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.25rem 0;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .lh-map-heading {
    font-size: 1.15rem;
  }
}

.lh-map-sub {
  font-size: 0.82rem;
  color: #666666;
  margin: 0;
  font-weight: 400;
}

.lh-map-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #df6316;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.lh-map-link:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.lh-map-frame-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  line-height: 0;
}

.lh-map-frame {
  border: 0;
  width: 100%;
  height: 380px;
  display: block;
  filter: contrast(105%);
}

@media (min-width: 768px) {
  .lh-map-frame {
    height: 450px;
  }
}

/* ==========================================================================
   6. KHỐI LIÊN KẾT NHANH HỆ SINH THÁI
   ========================================================================== */
.lh-ecosystem-block {
  border-top: 1px solid #e5e7eb;
  padding-top: 2rem;
  margin-bottom: 2.5rem;
  font-size: 0.85rem;
  color: #666666;
  text-align: left;
}

.lh-ecosystem-title {
  font-weight: 700;
  color: #111111;
  text-transform: uppercase;
  margin: 0 0 0.85rem 0;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.lh-ecosystem-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  line-height: 1.6;
}

.lh-ecosystem-link {
  color: #df6316;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.lh-ecosystem-link:hover {
  text-decoration: underline;
  color: #a04000;
}

.lh-ecosystem-sep {
  color: #cbd5e1;
  user-select: none;
}

/* ==========================================================================
   7. FOOTER BẢN QUYỀN
   ========================================================================== */
.lh-footer-branding {
  text-align: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid #f1f3f5;
}

.lh-footer-branding p {
  font-size: 0.78rem;
  font-weight: 400;
  color: #888888;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   8. SWEETALERT2 LUXURY CUSTOMIZATION
   ========================================================================== */
.swal2-popup.swal-lux-popup {
  border-radius: 0 !important;
  border: 1px solid #e5e7eb !important;
  font-family: 'Cabin', sans-serif !important;
  text-align: left !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.swal2-title.swal-lux-title {
  font-family: 'Cabin', sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #111111 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  padding: 1rem 1.5rem 0.5rem !important;
}

.swal2-html-container.swal-lux-content {
  font-family: 'Cabin', sans-serif !important;
  font-size: 0.95rem !important;
  color: #555555 !important;
  line-height: 1.6 !important;
  text-align: left !important;
  padding: 0.5rem 1.5rem 1.5rem !important;
}

.swal2-confirm.swal-lux-btn {
  border-radius: 0 !important;
  font-family: 'Cabin', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  padding: 0.85rem 2rem !important;
  background-color: #df6316 !important;
  box-shadow: none !important;
}
