/* Trang "Liên hệ" - chỉ load trên trang này, xem custom/functions.php
   (custom_override_style). CSS thuần, không phụ thuộc Tailwind.
   Màu chủ đạo: Navy #17386C - Green #58AD40 - Trắng #FFFFFF */

/* ===== BANNER ===== */
.lh-banner {
  position: relative;
  width: 100%;
  padding: 170px 0 90px 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.6px),
    linear-gradient(135deg, #17386C 0%, #1c4a8c 55%, #58AD40 130%);
  background-size: 16px 16px, 100% 100%;
  background-position: 0 0, 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%, 0 78%);
}

.lh-banner__wrap {
  position: relative;
  z-index: 1;
  text-align: center;
}

.lh-banner__title {
  display: block !important;
  margin: 0 0 12px 0;
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
}

.lh-banner__breadcrumbs {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.lh-banner__breadcrumbs a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

@media (min-width: 1024px) {
  .lh-banner {
    padding: 190px 0 130px 0;
  }

  .lh-banner__title {
    font-size: 42px;
  }
}

/* ===== SECTION WRAPPER ===== */
.lh-section {
  padding: 56px 0;
  background: #f4f7ff;
}

.lh-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 1024px) {
  .lh-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

/* ===== THÔNG TIN VĂN PHÒNG ===== */
.lh-info {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 10px 30px rgba(23, 56, 108, 0.08);
}

.lh-info__subtitle {
  display: inline-block;
  margin: 0;
  color: #58AD40;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.lh-info__title {
  margin: 12px 0 0 0;
  font-size: 26px;
  font-weight: 800;
  color: #17386C;
  text-transform: capitalize;
}

@media (min-width: 1024px) {
  .lh-info__title {
    font-size: 30px;
  }
}

.lh-info__list {
  list-style: none;
  margin: 28px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lh-info__item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lh-info__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #58AD40;
  color: #ffffff;
  transition: all 0.3s ease;
}

.lh-info__item:hover .lh-info__icon {
  background: #17386C;
  transform: scale(1.08);
}

.lh-info__label {
  display: block;
  color: #606060;
  font-weight: 700;
  font-size: 14px;
}

.lh-info__value {
  margin: 2px 0 0 0;
  color: #17386C;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

/* ===== FORM LIÊN HỆ ===== */
.lh-form {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 10px 30px rgba(23, 56, 108, 0.08);
}

.lh-alert {
  margin: 0 0 20px 0;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
}

.lh-alert--success {
  background: rgba(88, 173, 64, 0.12);
  color: #3d7c2c;
  border: 1px solid rgba(88, 173, 64, 0.4);
}

.lh-alert--error {
  background: rgba(217, 48, 48, 0.1);
  color: #b3261e;
  border: 1px solid rgba(217, 48, 48, 0.35);
}

.lh-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .lh-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.lh-form__group {
  margin-bottom: 16px;
}

.lh-form__control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #17386C;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.lh-form__control::placeholder {
  color: #94a3b8;
}

.lh-form__control:focus {
  outline: none;
  border-color: #58AD40;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(88, 173, 64, 0.15);
}

textarea.lh-form__control {
  resize: vertical;
  min-height: 110px;
}

.lh-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lh-form__submit-wrap {
  margin-bottom: 0;
}

.lh-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: #58AD40;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(88, 173, 64, 0.3);
}

.lh-form__submit:hover {
  background: #17386C;
  box-shadow: 0 8px 20px rgba(23, 56, 108, 0.3);
  transform: translateY(-2px);
}

/* ===== BẢN ĐỒ (full màn hình, tràn viền ra khỏi .container) ===== */
.lh-map {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  line-height: 0;
}

.lh-map iframe {
  width: 100%;
  height: 480px;
  border: 0;
  display: block;
}

@media (min-width: 1024px) {
  .lh-map iframe {
    height: 560px;
  }
}

/* ===== FORM CALDERA FORMS (khi dùng shortcode [caldera_form]) ===== */
.lh-form .caldera-info-box,
.lh-form .caldera_forms_container {
  margin: 0;
}

.lh-form .form-group {
  margin-bottom: 16px;
}

.lh-form input.form-control,
.lh-form textarea.form-control,
.lh-form select.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #17386C;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
  height: auto;
  box-shadow: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.lh-form input.form-control:focus,
.lh-form textarea.form-control:focus,
.lh-form select.form-control:focus {
  outline: none;
  border-color: #58AD40;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(88, 173, 64, 0.15);
}

.lh-form input.lh-form__submit {
  width: auto;
}
