/* ===== TRANG KHÁCH HÀNG ===== */

/* Hero */
.kh-hero {
  background: linear-gradient(135deg, #e8f0fe 0%, #f5f9ff 100%);
  padding: 72px 24px 56px;
  text-align: center;
}

.kh-hero__inner {
  max-width: 720px;
  margin: 0 auto;
}

.kh-hero__tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1565c0;
  background: #fff;
  border: 1px solid #c5d8f0;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kh-hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1.2;
  margin-bottom: 16px;
}

.kh-hero h1 span { color: #1565c0; }

.kh-hero p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
}

/* Stats */
.kh-stats {
  background: #1565c0;
  padding: 40px 24px;
}

.kh-stats__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.kh-stat {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.kh-stat:last-child { border-right: none; }

.kh-stat__num {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.kh-stat__label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

/* Shared section styles */
.kh-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.kh-section__heading {
  text-align: center;
  margin-bottom: 48px;
}

.kh-section__heading h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 12px;
  line-height: 1.3;
}

.kh-section__heading p {
  font-size: 0.95rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Testimonials */
.kh-testimonials {
  padding: 72px 0;
  background: #f8fbff;
}

.kh-testimonials__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.kh-testi-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.kh-testi-card:hover {
  box-shadow: 0 8px 28px rgba(21,101,192,0.12);
  transform: translateY(-3px);
}

.kh-testi-card--featured {
  grid-row: 1 / 3;
  background: linear-gradient(145deg, #0d47a1 0%, #1565c0 60%, #1976d2 100%);
  color: #fff;
}

.kh-testi-card--featured p { color: #fff; font-size: 1rem; line-height: 1.9; }
.kh-testi-card--featured strong { color: #fff; font-size: 0.95rem; }
.kh-testi-card--featured span { color: rgba(255,255,255,0.85); }
.kh-testi-card--featured .kh-testi-card__stars { color: #ffd54f; font-size: 1.2rem; letter-spacing: 3px; }

.kh-testi-card--featured .kh-testi-card__quote {
  color: rgba(255,255,255,0.25);
  font-size: 5rem;
}

.kh-testi-card p {
  font-size: 0.93rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
}

.kh-testi-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.kh-testi-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8f0fe;
  color: #1565c0;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kh-testi-card--featured .kh-testi-card__avatar {
  background: rgba(255,255,255,0.2);
  color: #fff;
  width: 52px;
  height: 52px;
  font-size: 1.1rem;
}

.kh-testi-card__author strong {
  display: block;
  font-size: 0.9rem;
  color: #1a1a2e;
}

.kh-testi-card__author span {
  font-size: 0.78rem;
  color: #888;
}

.kh-testi-card__stars {
  font-size: 1rem;
  color: #f59e0b;
  letter-spacing: 2px;
}

/* Projects */
.kh-projects {
  padding: 72px 0;
  background: #fff;
}

.kh-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.kh-project-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.kh-project-card:hover {
  box-shadow: 0 10px 32px rgba(21,101,192,0.15);
  transform: translateY(-4px);
}

.kh-project-card__img {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: #e8f0fe;
}

.kh-project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.kh-project-card:hover .kh-project-card__img img {
  transform: scale(1.05);
}

.kh-project-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(21,101,192,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.kh-project-card:hover .kh-project-card__overlay {
  opacity: 1;
}

.kh-project-card__overlay span {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid #fff;
  padding: 8px 20px;
  border-radius: 999px;
}

.kh-project-card__body {
  padding: 18px 20px;
}

.kh-project-card__cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #1565c0;
  background: #e8f0fe;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kh-project-card__body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.kh-project-card__body p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* CTA */
.kh-cta {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  padding: 72px 24px;
  text-align: center;
}

.kh-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}

.kh-cta h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 12px;
}

.kh-cta p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}

.kh-cta__btn {
  display: inline-flex;
  padding: 14px 32px;
  background: #fff;
  color: #1565c0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.15s, box-shadow 0.15s;
}

.kh-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 900px) {
  .kh-testimonials__grid {
    grid-template-columns: 1fr 1fr;
  }
  .kh-testi-card--featured { grid-row: auto; }
  .kh-projects__grid { grid-template-columns: repeat(2, 1fr); }
  .kh-stats__inner { grid-template-columns: repeat(2, 1fr); }
  .kh-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .kh-stat:nth-child(2n) { border-bottom: 1px solid rgba(255,255,255,0.2); }
  .kh-stat:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 560px) {
  .kh-hero h1 { font-size: 2rem; }
  .kh-testimonials__grid,
  .kh-projects__grid { grid-template-columns: 1fr; }
  .kh-stats__inner { grid-template-columns: repeat(2, 1fr); }
}

/* Giai doan 2: overlay la link ra website that cua du an */
.kh-project-card__overlay a { color: #fff; font-size: 0.95rem; font-weight: 700; border: 2px solid #fff; padding: 8px 20px; border-radius: 999px; text-decoration: none; }

/* Giai doan 2: chu trang tren the featured — rule chung (.kh-testi-card p,
   .kh-testi-card__author strong/span) dung SAU rule featured nen lan mau toi */
.kh-testimonials__grid .kh-testi-card--featured p { color: #fff; }
.kh-testimonials__grid .kh-testi-card--featured .kh-testi-card__author strong { color: #fff; }
.kh-testimonials__grid .kh-testi-card--featured .kh-testi-card__author span { color: rgba(255,255,255,0.85); }
