/* =========================================================
   CSS_LIENHE — REDESIGN TÔNG TRẮNG - ĐỎ
========================================================= */

:root {
  --lh-red: #c00;
  --lh-red-dark: #900;
  --lh-red-light: #e11d2e;
  --lh-text: #0f172a;
  --lh-body: #52606d;
  --lh-muted: #94a3b8;
  --lh-bg: #f6f8fb;
  --lh-white: #ffffff;
  --lh-radius-lg: 22px;
  --lh-radius-md: 14px;
  --lh-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  --lh-shadow-hover: 0 20px 45px rgba(15, 23, 42, 0.13);
  --lh-transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* =========================================================
   HEADER LIÊN HỆ
========================================================= */
.header-lien-he {
  position: relative;
  padding: 80px 0 70px;
  color: var(--lh-text);
  overflow: hidden;
  background: linear-gradient(180deg, #fff5f5 0%, var(--lh-bg) 100%) !important;
}

/* khối glow đỏ trang trí góc, thay overlay xám cũ */
.header-lien-he::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.12), transparent 70%);
  z-index: 0;
}

.header-lien-he::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.07), transparent 70%);
  z-index: 0;
}

.header-lien-he .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.header-title {
  font-size: 40px;
  font-weight: 800;
  margin: 0;
  color: var(--lh-text);
  letter-spacing: -0.5px;
}

.breadcrumb {
  margin-top: 16px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  background: var(--lh-white);
  padding: 8px 20px;
  border-radius: 30px;
  box-shadow: var(--lh-shadow);
}

.breadcrumb a {
  color: var(--lh-body);
  text-decoration: none;
  opacity: 0.9;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--lh-transition);
}

.breadcrumb a:hover { color: var(--lh-red); opacity: 1; }

.breadcrumb span { margin: 0 10px; color: #dbe1e8; }

.breadcrumb .current { font-weight: 700; color: var(--lh-red); }

@media (max-width: 768px) {
  .header-lien-he { padding: 50px 0 44px; }
  .header-title { font-size: 26px; }
  .breadcrumb { font-size: 13px; padding: 7px 16px; }
}

/* =========================================================
   THÔNG TIN LIÊN HỆ NHANH (lienhe-section)
========================================================= */
.lienhe-section {
  padding: 60px 0 70px;
  background: var(--lh-bg);
}

.lienhe-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 40px;
  color: var(--lh-text);
  position: relative;
}

.lienhe-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--lh-red), var(--lh-red-light));
  display: block;
  margin: 12px auto 0;
  border-radius: 6px;
}

.lienhe-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.lienhe-item {
  flex: 1 1 calc(25% - 22px);
  background: var(--lh-white);
  border-radius: var(--lh-radius-lg);
  padding: 32px 22px;
  text-align: center;
  box-shadow: var(--lh-shadow);
  border: 1px solid #f1f3f6;
  transition: var(--lh-transition);
}

.lienhe-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--lh-shadow-hover);
  border-color: #ffe3e3;
}

.lienhe-item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  font-size: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff0f0, #ffe0e0);
  box-shadow: 0 8px 20px rgba(204, 0, 0, 0.12);
}

.lienhe-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--lh-text);
}

.lienhe-item p {
  font-size: 15px;
  color: var(--lh-body);
  margin: 0;
  line-height: 1.65;
}

.lienhe-item .hotline {
  font-size: 20px;
  font-weight: 800;
  color: var(--lh-red);
}

.lienhe-item small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--lh-muted);
}

@media (max-width: 992px) {
  .lienhe-item { flex: 1 1 calc(50% - 22px); }
}

@media (max-width: 576px) {
  .lienhe-section { padding: 40px 0 50px; }
  .lienhe-grid { gap: 16px; }
  .lienhe-item { flex: 1 1 100%; padding: 26px 18px; }
}

/* =========================================================
   NỘI DUNG LIÊN HỆ (ảnh + thông tin công ty + form)
========================================================= */
.noidunglienhe {
  padding: 20px 0 80px;
  background: var(--lh-bg);
}

.noidunglienhe .contact-layout {
  display: flex;
  gap: 28px;
  align-items: stretch;
}

/* LEFT — ảnh + tên công ty */
.noidunglienhe .contact-left {
  flex: 1;
  background: var(--lh-white);
  color: var(--lh-text);
  padding: 0;
  border-radius: var(--lh-radius-lg);
  overflow: hidden;
  box-shadow: var(--lh-shadow);
  display: flex;
  flex-direction: column;
  border: 1px solid #f1f3f6;
}

.noidunglienhe .contact-left img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  display: block;
}

.noidunglienhe .contact-left .titlelhh1,
.noidunglienhe .contact-left h1.titlelhh1 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.6;
  color: var(--lh-text);
  padding: 22px 24px 6px;
  margin: 0;
}

.noidunglienhe .contact-left p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--lh-body);
  padding: 0 24px 26px;
  margin: 0;
}

/* dải màu đỏ nhấn phía trên ảnh, thay cho nền xanh cũ */
.noidunglienhe .contact-left {
  position: relative;
}

.noidunglienhe .contact-left::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--lh-red), var(--lh-red-light));
}

.noidunglienhe .btn-chat {
  display: inline-block;
  margin: 0 24px 26px;
  padding: 12px 22px;
  border: 1.5px solid var(--lh-red);
  color: var(--lh-red);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  transition: var(--lh-transition);
}

.noidunglienhe .btn-chat:hover {
  background: var(--lh-red);
  color: #fff;
}

/* RIGHT — form */
.noidunglienhe .contact-right {
  flex: 1.3;
  background: var(--lh-white);
  padding: 40px;
  border-radius: var(--lh-radius-lg);
  box-shadow: var(--lh-shadow);
  border: 1px solid #f1f3f6;
}

.noidunglienhe .contact-right h2,
.noidunglienhe .contact-right h3 {
  font-size: 22px !important;
  font-weight: 800;
  margin-bottom: 22px !important;
  color: var(--lh-text);
  position: relative;
  padding-left: 16px;
}

.noidunglienhe .contact-right h2::before,
.noidunglienhe .contact-right h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: linear-gradient(180deg, var(--lh-red), var(--lh-red-light));
  border-radius: 8px;
}

/* form */
.noidunglienhe .contact-form {
  display: grid;
  gap: 14px;
}

.noidunglienhe .contact-form input,
.noidunglienhe .contact-form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid #e6e9ee;
  background: #f8fafc;
  border-radius: var(--lh-radius-md);
  font-size: 15px;
  color: var(--lh-text);
  outline: none;
  transition: var(--lh-transition);
  font-family: inherit;
}

.noidunglienhe .contact-form input::placeholder,
.noidunglienhe .contact-form textarea::placeholder {
  color: var(--lh-muted);
}

.noidunglienhe .contact-form input:focus,
.noidunglienhe .contact-form textarea:focus {
  border-color: var(--lh-red);
  background: var(--lh-white);
  box-shadow: 0 0 0 4px rgba(204, 0, 0, 0.1);
}

.noidunglienhe .contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.noidunglienhe .contact-form button {
  background: linear-gradient(135deg, var(--lh-red), var(--lh-red-light));
  color: #fff;
  border: none;
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--lh-radius-md);
  cursor: pointer;
  transition: var(--lh-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.noidunglienhe .contact-form button a,
.noidunglienhe .contact-form button b {
  color: #fff !important;
  text-decoration: none;
  font-weight: 700 !important;
}

.noidunglienhe .contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(204, 0, 0, 0.3);
}

.noidunglienhe .contact-form button:active {
  transform: translateY(-1px);
}

/* responsive */
@media (max-width: 992px) {
  .noidunglienhe .contact-layout {
    flex-direction: column;
  }

  .noidunglienhe .contact-left img { height: 200px; }
}

@media (max-width: 576px) {
  .noidunglienhe { padding: 10px 0 50px; }
  .noidunglienhe .contact-right { padding: 26px; }
  .noidunglienhe .contact-right h2,
  .noidunglienhe .contact-right h3 { font-size: 19px !important; }
}