/* ═══════════════════════════════════════════════════════════
   HUNG GIA GROUP — Trang Liên Hệ
   Override Flatsome UX Builder Components + CF7
   Prefix: lh- (Liên Hệ)
═══════════════════════════════════════════════════════════ */

/* ── HERO SECTION ─────────────────────────────────────────── */
.lh-hero {
  position: relative;
}
/* Gold glow */
.lh-hero .section-inner::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,168,64,0.09) 0%, transparent 65%);
  pointer-events: none;
}
/* Gold line bottom */
.lh-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, #C9A840, transparent);
  z-index: 2;
}

.lh-hero__tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: #C9A840;
}
.lh-hero__tag::before,
.lh-hero__tag::after {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: rgba(201,168,64,0.6);
}
.lh-hero__title em { color: #C9A840; font-style: italic; }

/* ── INFO CARDS (featured_box override) ──────────────────── */
.lh-info-card.ux-icon-box {
  background: #fff !important;
  border: 1px solid #EDE8DC !important;
  border-radius: 14px !important;
  padding: 18px 20px !important;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05) !important;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.35s ease,
              border-color 0.35s ease !important;
  margin-bottom: 0 !important;
}
.lh-info-card.ux-icon-box:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 32px rgba(201,168,64,0.12) !important;
  border-color: rgba(201,168,64,0.4) !important;
}
.lh-info-card .ux-icon-box-icon {
  width: 46px !important; height: 46px !important;
  border-radius: 12px !important;
  flex-shrink: 0 !important;
}
.lh-info-card .ux-icon-box-text h3 {
  font-family: 'Manrope', sans-serif !important;
  font-size: 11px !important; font-weight: 700 !important;
  letter-spacing: 0.14em !important; text-transform: uppercase !important;
  color: #6B5E4E !important; margin-bottom: 4px !important;
}
.lh-info-card .ux-icon-box-text p {
  font-size: 14px !important; font-weight: 600 !important;
  color: #0D1B2A !important; line-height: 1.5 !important;
  margin: 0 !important;
}
.lh-info-card .ux-icon-box-text a {
  color: #0D1B2A !important; text-decoration: none !important;
  transition: color 0.3s !important;
}
.lh-info-card .ux-icon-box-text a:hover { color: #C9A840 !important; }

/* ── MAP EMBED ────────────────────────────────────────────── */
.lh-map-wrap .ux-text {
  border-radius: 14px; overflow: hidden;
  border: 1px solid #EDE8DC;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}
.lh-map-wrap iframe { display: block !important; }

/* ── FORM BOX ─────────────────────────────────────────────── */
.lh-form-box.ux-text {
  background: #fff !important;
  border-radius: 16px !important;
  padding: 48px 52px !important;
  box-shadow: 0 4px 32px rgba(0,0,0,0.07) !important;
  border: 1px solid #EDE8DC !important;
}

.lh-form-box__head { margin-bottom: 32px; }

.lh-form-box__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: #C9A840;
  margin-bottom: 10px;
}
.lh-form-box__tag::before {
  content: ''; width: 28px; height: 1px; background: #C9A840;
}
.lh-form-box__title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(1.4rem, 2.5vw, 1.875rem) !important;
  font-weight: 700 !important; color: #0D1B2A !important;
  line-height: 1.3 !important; margin: 0 !important;
}

/* ── CONTACT FORM 7 OVERRIDES ─────────────────────────────── */
.lh-cf7-wrap .wpcf7-form { margin: 0; }

/* Labels */
.lh-cf7-wrap .wpcf7-form label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #6B5E4E;
  margin-bottom: 8px;
}

/* All inputs, select, textarea */
.lh-cf7-wrap .wpcf7-form input:not([type="submit"]),
.lh-cf7-wrap .wpcf7-form select,
.lh-cf7-wrap .wpcf7-form textarea {
  width: 100% !important;
  padding: 14px 18px !important;
  border: 1.5px solid #EDE8DC !important;
  border-radius: 10px !important;
  background: #F5EFE3 !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 15px !important;
  color: #0D1B2A !important;
  outline: none !important;
  box-shadow: none !important;
  margin-bottom: 16px !important;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s !important;
  appearance: none !important;
}

/* Select arrow */
.lh-cf7-wrap .wpcf7-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A840' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  padding-right: 44px !important;
  cursor: pointer !important;
}

/* Focus state */
.lh-cf7-wrap .wpcf7-form input:not([type="submit"]):focus,
.lh-cf7-wrap .wpcf7-form select:focus,
.lh-cf7-wrap .wpcf7-form textarea:focus {
  border-color: #C9A840 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(201,168,64,0.12) !important;
}

.lh-cf7-wrap .wpcf7-form input::placeholder,
.lh-cf7-wrap .wpcf7-form textarea::placeholder {
  color: rgba(107,94,78,0.38) !important;
}

.lh-cf7-wrap .wpcf7-form textarea {
  min-height: 150px !important;
  resize: vertical !important;
}

/* Submit button */
.lh-cf7-wrap .wpcf7-form input[type="submit"] {
  width: 100% !important;
  padding: 16px 40px !important;
  background: #0D1B2A !important;
  color: #FAF7F2 !important;
  border: 2px solid #0D1B2A !important;
  border-radius: 10px !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 13px !important; font-weight: 700 !important;
  letter-spacing: 0.14em !important; text-transform: uppercase !important;
  cursor: pointer !important;
  margin-top: 8px !important;
  transition: background 0.35s, border-color 0.35s, transform 0.25s, box-shadow 0.35s !important;
}
.lh-cf7-wrap .wpcf7-form input[type="submit"]:hover {
  background: #C9A840 !important;
  border-color: #C9A840 !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(201,168,64,0.32) !important;
}

/* Validation */
.lh-cf7-wrap .wpcf7-not-valid-tip {
  font-size: 12px !important; color: #C0392B !important;
  margin-top: -10px !important; margin-bottom: 10px !important;
  display: block; font-family: 'Manrope', sans-serif;
}
.lh-cf7-wrap .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 14px 20px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-family: 'Manrope', sans-serif !important;
  border: none !important;
}
.lh-cf7-wrap .wpcf7-mail-sent-ok {
  background: rgba(39,174,96,0.1) !important;
  color: #1A7A3E !important;
  border: 1px solid rgba(39,174,96,0.3) !important;
}
.lh-cf7-wrap .wpcf7-mail-sent-ng,
.lh-cf7-wrap .wpcf7-spam-blocked,
.lh-cf7-wrap .wpcf7-validation-errors {
  background: rgba(192,57,43,0.08) !important;
  color: #8B1A2B !important;
  border: 1px solid rgba(192,57,43,0.2) !important;
}

/* No CF7 fallback */
.lh-no-cf7 {
  background: #FFF8E1;
  border: 1px solid rgba(201,168,64,0.4);
  border-radius: 10px; padding: 20px 24px;
  font-size: 14px; line-height: 1.8; color: #0D1B2A;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .lh-form-box.ux-text { padding: 28px 24px !important; }
  .lh-hero { padding: 64px 0 56px !important; }
}
@media (max-width: 480px) {
  .lh-form-box.ux-text { padding: 22px 18px !important; }
}
