/* --- HAPPY CUSTOMERS PAGE SPECIFIC STYLES --- */

/* --- HERO --- */
.customers-hero {
  position: relative;
  background-image: url("../images/hero6.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: calc(100vh - 93px);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-top: 93px;
}

.customers-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--rgba-darker-teal-8),
    var(--rgba-primary-3)
  );
}

.customers-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.customers-hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 0 4px 10px var(--rgba-black-5);
}

.customers-hero-content p {
  font-size: 1.2rem;
  color: var(--rgba-white-9);
  line-height: 1.8;
}

/* --- STATS STRIP --- */
.customers-stats-strip {
  background: var(--text-main);
  padding: 50px 5%;
}

.customers-stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.cstat-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 12px;
  display: block;
}

.cstat-item h3 {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 6px;
}

.cstat-item p {
  color: var(--rgba-white-65);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- REVIEWS SECTION --- */
.reviews-section {
  background: var(--bg-alt);
}

/* --- REVIEWS GRID --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

/* --- REVIEW CARD --- */
.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--rgba-primary-08);
  transition: var(--transition);
  display: flex;
  flex-direction: row;
  overflow: hidden;
  position: relative;
  min-height: 280px;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--rgba-primary-25);
}

/* LEFT PANEL — FULL SIZE IMAGE */
.review-card-left {
  flex: 0 0 45%;
  min-width: 200px;
  overflow: hidden;
  position: relative;
  background: var(--primary-dark);
}

.review-card-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.review-card:hover .review-card-left img {
  transform: scale(1.02);
}

/* RIGHT PANEL — review content */
.review-card-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 30px;
  flex: 1;
  position: relative;
  justify-content: center;
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.review-stars {
  display: flex;
  gap: 3px;
}

.review-stars i {
  color: var(--primary-color);
  font-size: 0.95rem;
}

.review-badge {
  background: linear-gradient(135deg, var(--primary-light), var(--rgba-primary-2));
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
  border: 1px solid var(--rgba-primary-25);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Review Meta (name + pet type) */
.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-meta h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  line-height: 1.3;
}

.review-meta span {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-meta span i {
  font-size: 0.75rem;
  color: var(--primary-color);
}

.review-quote-icon {
  color: var(--primary-color);
  font-size: 1.2rem;
  opacity: 0.3;
  margin-top: 4px;
}

.review-text {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.8;
  font-style: italic;
  margin: 0;
}

/* --- CTA BANNER --- */
.cta-banner {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-color)
  );
  padding: 80px 20px;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--rgba-white-9);
}

.cta-banner .btn {
  background: var(--text-main);
  color: var(--white);
  border: none;
}

.cta-banner .btn:hover {
  background: var(--white);
  color: var(--text-main);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .customers-hero {
    min-height: 380px;
    height: 55vh;
  }

  .customers-hero-content h1 {
    font-size: 2.5rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .review-card {
    flex-direction: column;
    min-height: unset;
  }

  .review-card-left {
    flex: 0 0 220px;
    min-width: unset;
    width: 100%;
    height: 220px;
  }

  .review-card-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .review-card-right {
    padding: 20px 22px;
  }

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

  .cta-banner h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .customers-hero-content h1 {
    font-size: 2rem;
  }

  .customers-stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .cstat-item h3 {
    font-size: 1.8rem;
  }

  .review-card-left {
    flex: 0 0 180px;
    height: 180px;
  }

  .review-card-right {
    padding: 16px 18px;
  }

  .review-meta h4 {
    font-size: 0.95rem;
  }

  .review-text {
    font-size: 0.85rem;
  }
}
