/* ============================================================
   PAGES.CSS — Style riêng cho từng trang
   ------------------------------------------------------------
   Mục lục:
   1. TRANG CHỦ   : hero slider, giới thiệu nhanh, lưới dịch vụ,
                    điểm mạnh, đánh giá, tin tức, dải CTA
   2. GIỚI THIỆU  : câu chuyện, tầm nhìn - sứ mệnh - giá trị
   3. DỊCH VỤ     : các khối dịch vụ chi tiết xen kẽ
   4. ĐỘI NGŨ     : lưới thẻ luật sư
   5. TIN TỨC     : lưới bài viết
   6. LIÊN HỆ     : form + thông tin + bản đồ
   7. Responsive cho từng trang
   ============================================================ */


/* ============================================================
   1. TRANG CHỦ
   ============================================================ */

/* ----- 1a. Hero slider (Redesigned Split Layout) -----
   Bố cục chia đôi: cột chữ bên trái (nền navy sang trọng) và cột ảnh bên phải
   (ảnh chất lượng cao cắt chéo). Huy hiệu tròn ở giữa xoay liên tục. */
.hero-slider {
  position: relative;
  background: var(--navy-darker);
  color: var(--white);
  overflow: hidden;
}

/* Hoa văn mờ tạo chiều sâu cho nền slider */
.hero-slider::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 162, 39, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(201, 162, 39, 0.05) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

.hero-slider__track {
  position: relative;
  min-height: 480px;
}

/* Một slide: 2 cột trên Desktop */
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

/* Phần nội dung bên trái */
.hero-slide__content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 50px 60px 10px;
  background: linear-gradient(135deg, var(--navy-darker) 0%, var(--navy-dark) 100%);
  position: relative;
  z-index: 3;
}

.hero-slide__content-inner {
  max-width: 500px;
  width: 100%;
}

.hero-slide__eyebrow {
  display: inline-block;
  border: 1px solid rgba(201, 162, 39, 0.5);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero-slide__title {
  font-family: var(--font-heading);
  font-size: 43px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--white);
}

.hero-slide__title span {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-slide__desc {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.6;
}

.hero-slide__actions {
  margin-top: 26px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Phần hình ảnh bên phải với đường cắt chéo điệu nghệ */
.hero-slide__image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  transition: transform 1.5s cubic-bezier(0.1, 1, 0.1, 1);
  transform: scale(1.08);
}

.hero-slide.is-active .hero-slide__image {
  transform: scale(1);
}

/* Overlay nhẹ để tạo sự liên kết màu sắc */
.hero-slide__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 31, 77, 0.25) 0%, transparent 30%);
  pointer-events: none;
}

/* Huy hiệu xoay tròn trang trí ở giữa */
.hero-slider__seal {
  position: absolute;
  top: calc(50% - 30px);
  left: 52.5%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  z-index: 10;
  pointer-events: none;
}

.seal-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-darker);
  border: 2px solid var(--gold);
  border-radius: 50%;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); */
}

.seal-text {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotateSeal 25s linear infinite;
  transform-origin: center;
}

@keyframes rotateSeal {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.seal-logo {
  width: 70px;
  height: 70px;
  z-index: 2;
  background: var(--navy-darker);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  /* border: 1px solid rgba(201, 162, 39, 0.3); */
}


.seal-logo__wrapper {
    width: 60px;
    height: 58px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.seal-logo__wrapper img {
/*     width: 58px;
    height: 59px; */
    object-fit: fill;
	padding-bottom: 1px;
}

/* Chấm điều hướng trên slider */
.hero-slider .slider-dots {
  position: absolute;
  bottom: 22px;
  left: 48px;
  right: auto;
  margin-top: 0;
  z-index: 10;
}

/* ----- Dải thống kê dưới Hero (Stats Bar) ----- */
.hero-stats-bar {
  background: linear-gradient(90deg, #b89030 0%, var(--gold) 50%, #b89030 100%);
  padding: 20px 0;
  box-shadow: 0 4px 20px rgba(13, 31, 77, 0.15);
  position: relative;
  z-index: 5;
}

.hero-stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hero-stats-bar .stat {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--navy-darker);
}

.hero-stats-bar .stat:not(:last-child) {
  border-right: 1px solid rgba(13, 31, 77, 0.15);
}

.hero-stats-bar .stat__icon {
  width: 44px;
  height: 44px;
  background: rgba(13, 31, 77, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-darker);
  flex-shrink: 0;
}

.hero-stats-bar .stat__icon svg {
  width: 20px;
  height: 20px;
}

.hero-stats-bar .stat__content {
  display: flex;
  flex-direction: column;
}

.hero-stats-bar .stat__value {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

.hero-stats-bar .stat__label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(13, 31, 77, 0.85);
  margin-top: 2px;
  line-height: 1.3;
}

/* ----- 1b. Giới thiệu nhanh (Redesigned About Us) -----
   2 cột: Hình ảnh nghệ thuật bên trái | Thông tin & Giá trị cốt lõi bên phải */
.home-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Cột hình ảnh bên trái */
.home-about__image-col {
  position: relative;
}

.about-image-wrapper-new {
  position: relative;
  width: 100%;
}

.about-image-new {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.about-year-card {
  position: absolute;
  bottom: 24px;
  right: -30px;
  background: #0d2c7b;
  /* Navy blue in mockup */
  /* border: 2px solid var(--gold, #C9A227); */
  border-radius: 8px;
  padding: 16px 20px;
  width: 220px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.about-year-card__num {
  font-family: var(--font-body), sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--gold, #C9A227);
  line-height: 1.1;
}

.about-year-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white, #fff);
  margin-top: 4px;
}

.about-year-card__desc {
  font-size: 11px;
  color: var(--gold, #C9A227);
  /* Gold text in mockup */
  margin-top: 4px;
  opacity: 0.95;
}

/* Cột chữ bên phải */
.home-about__text-col {
  display: flex;
  flex-direction: column;
}

.section__eyebrow-new {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--gold, #C9A227);
}

.eyebrow-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold, #C9A227);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.home-about__title-new {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--navy, #0d1f4d);
  line-height: 1.2;
  margin-bottom: 20px;
}

/* Block chứa mô tả about — 1 trường ACF Textarea, tách đoạn theo dòng trống */
.about-desc-block {
  margin-bottom: 4px;
}

.about-desc-new {
  font-size: 15px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Đoạn cuối trong block không cần margin dư */
.about-desc-block .about-desc-new:last-child {
  margin-bottom: 0;
}

.about-goals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.goal-card {
  background: #f4f6fa;
  /* Light grey-blue background */
  border-left: 3.5px solid var(--gold, #C9A227) !important;
  padding: 16px 20px;
  border-radius: 0 4px 4px 0;
}

.goal-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--navy, #0d1f4d);
  font-weight: 700;
  margin-bottom: 6px;
}

.goal-card__text {
  font-size: 13.5px;
  color: #555555;
  line-height: 1.55;
}

/* Use high specificity to prevent general .btn styles from interfering */
.btn.about-btn-new {
  align-self: flex-start;
  background: #0f3a85 !important;
  /* Solid dark blue background */
  color: #ffffff !important;
  padding: 14px 28px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
  border: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.btn.about-btn-new:hover {
  background: var(--gold, #C9A227) !important;
  color: var(--navy-darker, #0d1f4d) !important;
  transform: translateY(-2px) !important;
}

/* ----- 1c. Lưới dịch vụ 4 thẻ (cũ, dùng ở trang dich-vu.html) ----- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ----- 1c2. Section dịch vụ dark navy (trang chủ) ----- */
.section--services-dark {
  background: linear-gradient(160deg, #0d1e45 0%, #0a1535 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

/* Vòng sáng trang trí góc */
.section--services-dark::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Lưới 4 cột */
.services-dark-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Mỗi thẻ dịch vụ */
.svc-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius, 12px);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.svc-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 162, 39, 0.4);
  transform: translateY(-4px);
}

/* Icon */
.svc-card__icon {
  width: 48px;
  height: 48px;
  border: 1.5px solid rgba(201, 162, 39, 0.35);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light, #E3C558);
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.svc-card:hover .svc-card__icon {
  background: rgba(201, 162, 39, 0.15);
  border-color: var(--gold, #C9A227);
  color: var(--white, #ffffff);
}

.svc-card__icon svg {
  width: 24px;
  height: 24px;
}

/* Nhãn nhỏ */
.svc-card__label {
  font-family: var(--font-body), sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold, #C9A227);
  margin-bottom: 6px;
}

/* Tên dịch vụ */
.svc-card__title {
  font-family: var(--font-heading), serif;
  font-size: 20px;
  color: var(--white, #ffffff);
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Mô tả ngắn */
.svc-card__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  margin-bottom: 16px;
}

/* Danh sách gạch đầu dòng */
.svc-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  /* Push lists to the bottom */
  width: 100%;
}

.svc-card__list li {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.svc-card__list li::before {
  content: "•";
  color: var(--gold, #C9A227);
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 1024px) {
  .services-dark-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .services-dark-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- 1d. Lưới điểm mạnh 4 thẻ (trên nền navy) ----- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

/* ----- 1e. Section đánh giá khách hàng (Premium Testimonial) ----- */
.section--testimonial {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

/* Trang trí hình góc trái/phải */
.testi-decor {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.08;
  color: var(--navy-darker);
  pointer-events: none;
}

.testi-decor--left {
  left: 20px;
  width: 100px;
  height: 160px;
}

.testi-decor--right {
  right: 20px;
  width: 56px;
  height: 160px;
}


/* Hàng avatar */
.testi-avatars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
}

.testi-avatar-btn {
  background: none;
  border: 3px solid transparent;
  border-radius: 50%;
  padding: 3px;
  cursor: pointer;
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.testi-avatar-btn img {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  width: 58px;
  height: 58px;
  filter: grayscale(40%) brightness(0.8);
  transition: all 0.35s ease;
}

.testi-avatar-btn.is-active {
  border-color: var(--gold);
  transform: scale(1.2);
}

.testi-avatar-btn.is-active img {
  width: 68px;
  height: 68px;
  filter: none;
}

.testi-avatar-btn:not(.is-active):hover img {
  filter: grayscale(0%) brightness(1);
}

/* Wrapper slider + nút điều hướng */
.testi-slider {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

/* Nút prev/next */
.testi-nav {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(13, 31, 77, 0.25);
  background: transparent;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testi-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.testi-nav svg {
  width: 20px;
  height: 20px;
}

/* Track nội dung */
.testi-track {
  flex: 1;
  position: relative;
  min-height: 200px;
  text-align: center;
}

/* Mỗi slide */
.testi-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.testi-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.testi-slide__name {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 4px;
}

.testi-slide__role {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.testi-slide__text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 20px;
  font-style: italic;
}

.testi-slide__stars {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.testi-slide__stars span {
  color: var(--gold);
  font-size: 18px;
}


/* ----- 1f. Lưới tin tức 3 thẻ ----- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ----- 1g. Dải CTA cuối trang ----- */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-darker) 100%);
  border-radius: var(--radius);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

/* Vòng tròn vàng trang trí */
.cta-strip::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-strip h3 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 26px;
  line-height: 1.35;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 6px;
  font-size: 15px;
}

.cta-strip .btn {
  position: relative;
}

/* Nổi trên vòng tròn trang trí */



/* ----- 1h. Section Tư vấn nhanh (Fast Consultation) ----- */
.section--consultation {
  background: #0c1731;
  position: relative;
  overflow: hidden;
  /* Không dùng padding toàn section – hình chiếm full height */
}

/* Background ornament glow effect */
.section--consultation::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Panel hình nh full-height, absolute bên phải */
.consultation-image-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.consultation-image-fill {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  transition: transform 0.8s cubic-bezier(0.1, 1, 0.1, 1);
}

.consultation-image-panel:hover .consultation-image-fill {
  transform: scale(1.04);
}

/* Lớp overlay gradient để hoà vào nền màu dark bên trái */
.consultation-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #0c1731 0%, #00000000 35%);
  pointer-events: none;
}

/* Wrapper nội dung: tậy dỡ form nằm ở nửa trái */
.consultation-content-wrap {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: stretch;
  min-height: 560px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.consultation-left {
  width: 52%;
  flex-shrink: 0;
}

/* Glassmorphism Card styling */
.consult-glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.consult-card__head {
  margin-bottom: 30px;
  text-align: left;
}

.consult-card__subtitle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.consult-card__subtitle::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background-color: var(--gold-light);
}

.consult-card__title {
  font-family: var(--font-heading);
  font-size: 30px;
  color: var(--white);
  line-height: 1.25;
}

/* Custom form styling inside glass card */
.form-group-custom {
  margin-bottom: 5px;
}

.form-row-custom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-group-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.input-group-wrapper input,
.input-group-wrapper textarea {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  transition: all 0.3s ease;
  width: 100%;
}

.input-group-wrapper input::placeholder,
.input-group-wrapper textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.input-group-wrapper input:focus,
.input-group-wrapper textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-light);
  box-shadow: 0 0 12px rgba(227, 197, 88, 0.2);
}

/* Invalid states */
.input-group-wrapper input.is-invalid,
.input-group-wrapper textarea.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 10px rgba(208, 59, 59, 0.25);
}

.input-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.input-group-wrapper input:focus+.input-icon-circle,
.input-group-wrapper textarea:focus+.input-icon-circle {
  background: rgba(201, 162, 39, 0.2);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: scale(1.05);
}

.input-icon-circle svg {
  width: 18px;
  height: 18px;
}

.form-error-custom {
  display: block;
  color: #ff6b6b;
  font-size: 13px;
  margin-top: 5px;
  min-height: 1.2em;
}

.consult-submit-btn {
  margin-top: 10px;
}


/* ----- 1i. Section Tin tức (News Section Header & Buttons) ----- */
.news-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.news-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.news-section__eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background-color: var(--gold);
}

.news-section__title {
  font-family: var(--font-heading);
  font-size: 38px;
  line-height: 1.25;
  color: var(--navy);
  font-weight: 700;
}

.news-section__nav-col {
  display: flex;
  gap: 12px;
}

.news-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: transparent;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-nav-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.news-nav-btn:hover {
  background: var(--gold);
  color: var(--white);
}

.news-nav-btn--prev:hover svg {
  transform: translateX(-2px);
}

.news-nav-btn--next:hover svg {
  transform: translateX(2px);
}


/* ============================================================
   2. TRANG GIỚI THIỆU
   ============================================================ */

/* Câu chuyện công ty: chữ trái - logo phải */
.about-story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.about-story__text .section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.about-story__text .section__eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background-color: var(--gold);
}

.about-story__text p:not(.section__eyebrow) {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 16px;
}

.about-story__text strong {
  color: var(--navy);
}

.about-story__text em {
  color: var(--gold);
  font-weight: 500;
}

/* Logo trong khung tròn viền vàng */
.about-story__badge {
  display: flex;
  justify-content: center;
}

.about-story__badge img {
  width: min(320px, 85%);
  filter: drop-shadow(0 10px 40px rgba(13, 31, 77, 0.2));
}

/* Khối trích slogan: viền trái vàng đậm */
.about-quote {
  margin-top: 8px;
  padding: 18px 24px;
  border-left: 4px solid var(--gold);
  background: var(--bg-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-heading);
  font-size: 19px;
  color: var(--navy);
  font-style: italic;
}

/* Lưới 3 thẻ: Tầm nhìn - Sứ mệnh - Giá trị cốt lõi */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.value-card__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card__icon svg {
  width: 32px;
  height: 32px;
}

.value-card__title {
  font-family: var(--font-heading);
  font-size: 21px;
  color: var(--navy);
  margin-bottom: 10px;
}

.value-card__desc {
  font-size: 14.5px;
  color: var(--text-muted);
}


/* ============================================================
   3. TRANG DỊCH VỤ
   ------------------------------------------------------------
   Mỗi lĩnh vực là 1 khối 2 cột: icon + tên | danh sách công việc.
   Các khối xen kẽ nền trắng / xám nhạt (class .service-block--alt).
   ============================================================ */
.service-block {
  padding: 64px 0;
}

.service-block--alt {
  background: var(--bg-light);
}

.service-block__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

/* Cột trái: icon lớn + tên lĩnh vực + mô tả ngắn */
.service-block__head .service__icon {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
}

.service-block__head .service__icon svg {
  width: 34px;
  height: 34px;
}

.service-block__title {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 12px;
}

.service-block__desc {
  color: var(--text-muted);
  font-size: 15.5px;
}

.service-block__head .btn {
  margin-top: 22px;
}

/* Cột phải: danh sách công việc cụ thể, mỗi dòng có dấu tick vàng */
.service-block__list {
  display: grid;
  gap: 12px;
}

.service-block__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.service-block__list li:hover {
  border-color: rgba(201, 162, 39, 0.5);
  transform: translateX(4px);
}

/* Dấu tick tròn vàng trước mỗi dòng */
.service-block__list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-darker);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}


/* ============================================================
   4. TRANG ĐỘI NGŨ
   ============================================================ */
.lawyers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}


/* ============================================================
   5. TRANG TIN TỨC
   ------------------------------------------------------------
   Dùng lại .news-grid (3 cột) nhưng nhiều hàng hơn.
   Có thêm thanh lọc chuyên mục (chỉ giao diện, JS lọc tại chỗ).
   ============================================================ */
.news-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.news-filter button {
  padding: 9px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.news-filter button:hover {
  border-color: var(--gold);
  color: var(--navy);
}

/* Chuyên mục đang chọn */
.news-filter button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}


/* ============================================================
   6. TRANG LIÊN HỆ
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  /* Form trái - thông tin phải */
  gap: 40px;
  align-items: start;
}

.contact-layout .map {
  margin-top: 24px;
}


/* ============================================================
   6b. TRANG CHI TIẾT BÀI VIẾT (bai-viet.html)
   ============================================================ */

/* Tiêu đề bài trên banner: nhỏ hơn tiêu đề trang thường vì dài */
.page-banner__title--article {
  font-size: 32px;
  max-width: 820px;
}

/* Bố cục 2 cột: thân bài | sidebar */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 0.42fr;
  gap: 40px;
  align-items: start;
}

/* ----- Thân bài viết ----- */
.article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: var(--shadow);
}

/* Dòng meta đầu bài: nhãn chuyên mục + ngày đăng */
.article__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

/* Nhãn chuyên mục tái dùng style .news-card__cat nhưng cần
   định vị tĩnh (trong thẻ bài nó là absolute trên thumbnail) */
.article__meta .news-card__cat {
  position: static;
}

.article__date {
  font-size: 14px;
  color: var(--text-muted);
}

/* Nội dung bài: đoạn văn, tiêu đề phụ, danh sách */
.article__content p {
  margin-bottom: 18px;
  font-size: 16px;
  color: var(--text);
}

.article__content h2 {
  font-family: var(--font-heading);
  font-size: 23px;
  color: var(--navy);
  margin: 28px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--gold);
  /* Vạch vàng trước tiêu đề phụ */
  line-height: 1.35;
}

.article__content ul {
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.article__content ul li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  color: var(--text);
}

/* Dấu tick vàng trước mỗi dòng danh sách */
.article__content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ----- Sidebar ----- */
.article-aside {
  display: grid;
  gap: 24px;
  /* Sidebar dính khi cuộn, cách header một khoảng */
  position: sticky;
  top: calc(var(--topbar-height) + var(--header-height) + 24px);
}

.aside-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

/* Biến thể nền navy cho hộp kêu gọi tư vấn */
.aside-card--navy {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-darker) 100%);
  border: none;
}

.aside-card__title {
  font-family: var(--font-heading);
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

.aside-card__title--light {
  color: var(--white);
  border-bottom-color: rgba(201, 162, 39, 0.5);
}

.aside-card__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
  margin-bottom: 18px;
}

/* Số điện thoại dưới nút trong hộp navy */
.aside-card__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 16px;
}

.aside-card__phone svg {
  width: 17px;
  height: 17px;
}

/* Một dòng "bài viết khác" trong sidebar */
.related-item {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.related-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-item__cat {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.related-item__title {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  margin: 3px 0;
  transition: color 0.25s ease;
}

.related-item:hover .related-item__title {
  color: var(--navy);
}

.related-item__date {
  font-size: 12.5px;
  color: var(--text-muted);
}


/* ============================================================
   7. RESPONSIVE CHO TỪNG TRANG
   ============================================================ */

/* ---------- TABLET (≤1024px) ---------- */
@media (max-width: 1024px) {

  /* Trang chủ */
  .hero-slide__title {
    font-size: 38px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-dark-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-about__image-col {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Giới thiệu */
  .about-story {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-story__badge {
    order: -1;
  }

  /* Logo lên trước trên màn hẹp */
  .about-story__badge img {
    width: 220px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  /* Dịch vụ */
  .service-block__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Đội ngũ */
  .lawyers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Liên hệ */
  .contact-layout {
    grid-template-columns: 1fr;
  }

  /* Chi tiết bài viết: sidebar xuống dưới thân bài */
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  /* Consultation section Tablet overrides */
  .consultation-image-panel {
    width: 45%;
  }

  .consultation-left {
    width: 58%;
  }
}

/* ---------- TABLET/MOBILE (≤991px) ---------- */
@media (max-width: 991px) {
  .hero-slide {
    grid-template-columns: 1fr;
    position: absolute;
    inset: 0;
  }

  .hero-slide__content {
    grid-column: 1;
    width: 100%;
    height: 100%;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    background: linear-gradient(180deg, rgba(13, 31, 77, 0.95) 0%, rgba(13, 31, 77, 0.85) 100%);
    z-index: 5;
  }

  .hero-slide__content-inner {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-slide__title {
    font-size: 32px;
  }

  .hero-slide__desc {
    font-size: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-slide__actions {
    justify-content: center;
  }

  .hero-slide__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    clip-path: none;
    z-index: 1;
    opacity: 0.35;
  }

  .hero-slider__seal {
    display: none;
    /* Ẩn huy hiệu xoay trên mobile để tránh chật màn hình */
  }

  .hero-slider .slider-dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
  }

  /* Dải thống kê Mobile */
  .hero-stats-bar {
    padding: 16px 0;
  }

  .hero-stats-bar__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hero-stats-bar .stat {
    justify-content: center;
    border-right: none !important;
  }

  .hero-stats-bar .stat:nth-child(even) {
    border-left: 1px solid rgba(13, 31, 77, 0.15);
    /* padding-left: 15px; */
  }

  /* Các lưới về 1-2 cột */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-dark-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .lawyers-grid {
    grid-template-columns: 1fr;
  }

  /* Dải CTA xếp dọc, căn giữa */
  .cta-strip {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .news-section__head {
    /* flex-direction: column; */
    align-items: flex-start;
    gap: 16px;
  }

  .news-section__title {
    font-size: 28px;
  }

  /* Trang dịch vụ */
  .service-block {
    padding: 44px 0;
  }

  .service-block__title {
    font-size: 23px;
  }

  /* Chi tiết bài viết: thu gọn đệm và cỡ chữ */
  .page-banner__title--article {
    font-size: 23px;
  }

  .article {
    padding: 26px 20px;
  }

  .article__content h2 {
    font-size: 20px;
  }

  /* Testimonial section – thu gọn trên tablet */
  .testi-slider {
    gap: 12px;
  }

  .testi-nav {
    width: 40px;
    height: 40px;
  }

  /* Consultation section Mobile/Tablet overrides */
  .consultation-image-panel {
    display: none;
  }

  .consultation-content-wrap {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .consultation-left {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
  }

  .consult-glass-card {
    padding: 34px 24px;
  }
}

/* ---------- MOBILE NHỎ (≤480px) ---------- */
@media (max-width: 480px) {
  .hero-slider__track {
    min-height: 560px;
  }

  .hero-slide__title {
    font-size: 26px;
  }

  .hero-slide__actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* Dải thống kê trên Mobile nhỏ */
  .hero-stats-bar__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-stats-bar .stat:nth-child(even) {
    border-left: none;
    /* padding-left: 0; */
  }

  .hero-stats-bar .stat {
    justify-content: flex-start;
    padding: 10px 16px 10px 16px;
  }

  /* Testimonial small mobile */
  .testi-title {
    font-size: 24px;
  }

  .testi-slider {
    flex-direction: column;
    gap: 20px;
  }

  .testi-nav {
    display: none;
  }

  .testi-track {
    min-height: 240px;
    width: 100%;
  }

  .about-image-badge {
    width: 75px;
    height: 75px;
    top: 90%;
    left: 1px;
  }

  .about-image-badge .badge-logo {
    width: 42px;
    height: 42px;
  }

  /* Consultation section Small Mobile overrides */
  .form-row-custom {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .consult-glass-card {
    padding: 26px 20px;
  }

  .consult-card__title {
    font-size: 24px;
  }
}

/* Redesigned About Us section responsive styles */
@media (max-width: 991px) {
  .about-year-card {
    right: 10px;
    bottom: -10px;
    width: 200px;
    padding: 14px 18px;
  }
}

@media (max-width: 576px) {
  .about-year-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 20px auto 0;
    width: 100%;
    max-width: 280px;
  }

  .about-goals-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-about__title-new {
    font-size: 30px;
  }
}