/* ========================================================
   TRIPHONE - Customer Video Review Section (Theo thiết kế mẫu)
   ======================================================== */

.crv-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.crv-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1.5px solid #edf2f7;
  box-shadow: 0 12px 35px -8px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtle background accent glow */
.crv-card::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.06) 0%, rgba(16, 185, 129, 0.04) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* -------------------------------------------
   Left Column: Video Container
   ------------------------------------------- */
.crv-media-col {
  position: relative;
  z-index: 1;
}

.crv-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.crv-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

/* Top-Left Floating Badge */
.crv-floating-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.45);
  pointer-events: none;
}

/* Interactive Play Overlay */
.crv-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  z-index: 5;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.crv-play-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.crv-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 2.5px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, border-color 0.2s ease;
}

.crv-play-btn svg {
  margin-left: 4px; /* Optical center for play triangle */
  fill: #ffffff;
}

.crv-play-overlay:hover .crv-play-btn {
  transform: scale(1.1);
  background: #f97316;
  border-color: #ffffff;
}

.crv-play-label {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  background: rgba(15, 23, 42, 0.65);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* -------------------------------------------
   Right Column: Content & Highlights
   ------------------------------------------- */
.crv-info-col {
  position: relative;
  z-index: 1;
}

.crv-kicker {
  display: inline-block;
  color: #ea580c;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.crv-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 12px;
  font-family: "Space Grotesk", sans-serif;
}

.crv-desc {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* 2x2 Feature Highlights Grid */
.crv-feats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin-bottom: 22px;
}

.crv-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.crv-feat-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.1);
  color: #ea580c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crv-feat-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.crv-feat-text span {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.4;
}

/* Service Pills Row */
.crv-tags-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}

.crv-tags-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  margin-right: 4px;
}

.crv-tag-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.crv-tag-pill.highlight {
  background: #fefce8;
  border-color: #fef08a;
  color: #854d0e;
}

/* Action Buttons Row */
.crv-actions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.crv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.crv-btn-primary {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.crv-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
  background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
}

.crv-btn-outline {
  background: #ffffff;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1;
}

.crv-btn-outline:hover {
  border-color: #0f172a;
  background: #f8fafc;
  transform: translateY(-2px);
}

/* -------------------------------------------
   Responsive Breakpoints
   ------------------------------------------- */
@media (max-width: 1024px) {
  .crv-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }
  
  .crv-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 640px) {
  .crv-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .crv-card {
    padding: 18px;
    border-radius: 20px;
  }

  .crv-title {
    font-size: 1.35rem;
  }

  .crv-feats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .crv-actions-row {
    flex-direction: column;
    align-items: stretch;
  }

  .crv-btn {
    width: 100%;
    justify-content: center;
  }
  
  .crv-play-btn {
    width: 58px;
    height: 58px;
  }
}
