/**
 * CatsDogs Trust Blocks
 */

/* ── Shared ── */
.cdg-trust {
  padding: 48px 0;
}

.cdg-trust__title {
  margin: 0 0 32px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: 0.02em;
  text-align: center;
}

.cdg-trust__title--center {
  text-align: center;
}

.cdg-star {
  color: #ddd;
  font-size: 1rem;
}

.cdg-star--filled {
  color: #f5b301;
}

/* ── Google Reviews ── */
.cdg-trust-reviews {
  background: #fafbff;
}

.cdg-trust-reviews__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.cdg-trust-reviews__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.cdg-trust-reviews__rating {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
}

.cdg-trust-reviews__count {
  color: #666;
  font-size: 0.9rem;
}

.cdg-trust-reviews__link {
  color: #4285f4;
  font-size: 0.875rem;
  text-decoration: underline;
}

.cdg-trust-reviews__slider {
  position: relative;
  overflow: hidden;
  padding: 0 40px;
}

.cdg-review-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(26, 26, 46, 0.08);
  height: 100%;
  min-height: 180px;
}

.cdg-review-card__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.cdg-review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.cdg-review-card__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4285f4;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

.cdg-review-card__author {
  font-weight: 600;
  color: #1a1a2e;
}

.cdg-review-card__time {
  font-size: 0.8rem;
  color: #888;
}

.cdg-review-card__text {
  margin: 0;
  color: #484848;
  line-height: 1.6;
  font-size: 0.95rem;
}

.cdg-trust-reviews__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  z-index: 2;
}

.cdg-trust-reviews__nav::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #1a1a2e;
  border-right: 2px solid #1a1a2e;
  margin: 0 auto;
}

.cdg-trust-reviews__nav--prev {
  left: 0;
}

.cdg-trust-reviews__nav--prev::before {
  transform: rotate(-135deg);
}

.cdg-trust-reviews__nav--next {
  right: 0;
}

.cdg-trust-reviews__nav--next::before {
  transform: rotate(45deg);
}

/* ── Customer Photos ── */
.cdg-trust-photos__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.cdg-trust-photos__item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.cdg-trust-photos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.cdg-trust-photos__item:hover img {
  transform: scale(1.04);
}

@media (max-width: 991px) {
  .cdg-trust-photos__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575px) {
  .cdg-trust-photos__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* ── About / Who We Are ── */


.cdg-trust-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.cdg-trust-about__text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #484848;
  margin-bottom: 28px;
}

.cdg-trust-about__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cdg-trust-about__stat,
.cdg-trust-about__cta,
.cdg-trust-about__portrait {
  border-radius: 16px;
  overflow: hidden;
}

.cdg-trust-about__stat {
  background: #fff;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.cdg-trust-about__stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a1a2e;
}

.cdg-trust-about__stat-label {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}

.cdg-trust-about__cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 20px;
  background: #fff175;
  color: #1a1a2e;
  font-weight: 700;
  text-decoration: none;
  min-height: 120px;
  transition: transform 0.2s ease;
}

.cdg-trust-about__cta:hover {
  transform: translateY(-2px);
  color: #1a1a2e;
  text-decoration: none;
}

.cdg-trust-about__cta-icon {
  margin-top: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.cdg-trust-about__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 160px;
}

.cdg-trust-about__video {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 320px;
  border-radius: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  text-decoration: none;
  overflow: hidden;
}

.cdg-trust-about__video-label {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.cdg-trust-about__play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff175;
  position: relative;
}

.cdg-trust-about__play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #1a1a2e;
}

@media (max-width: 991px) {
  .cdg-trust-about__grid {
    grid-template-columns: 1fr;
  }

  .cdg-trust-about__cards {
    grid-template-columns: 1fr 1fr;
  }

  .cdg-trust-about__portrait {
    grid-column: span 2;
  }
}

@media (max-width: 575px) {
  .cdg-trust-about__cards {
    grid-template-columns: 1fr;
  }

  .cdg-trust-about__portrait {
    grid-column: span 1;
  }
}

/* ── Benefits / USP bar ── */
.cdg-trust-benefits {
  padding: 20px 0;
  background: #f3f0fa;
}

.cdg-trust-benefits__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 16px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cdg-trust-benefits__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5b3d8f;
  font-weight: 600;
  font-size: 0.95rem;
}

.cdg-trust-benefits__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background-color: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.cdg-trust-benefits__icon--medal {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2l2.4 4.8 5.3.8-3.8 3.7.9 5.3L12 14.3l-4.8 2.3.9-5.3L4.3 7.6l5.3-.8L12 2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2l2.4 4.8 5.3.8-3.8 3.7.9 5.3L12 14.3l-4.8 2.3.9-5.3L4.3 7.6l5.3-.8L12 2z'/%3E%3C/svg%3E");
}

.cdg-trust-benefits__icon--heart-check {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

.cdg-trust-benefits__icon--shield-check {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/%3E%3C/svg%3E");
}

.cdg-trust-benefits__icon--headphones {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 1a9 9 0 00-9 9v7c0 1.66 1.34 3 3 3h1v-8H5v-2a7 7 0 0114 0v2h-2v8h1c1.66 0 3-1.34 3-3v-7a9 9 0 00-9-9z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 1a9 9 0 00-9 9v7c0 1.66 1.34 3 3 3h1v-8H5v-2a7 7 0 0114 0v2h-2v8h1c1.66 0 3-1.34 3-3v-7a9 9 0 00-9-9z'/%3E%3C/svg%3E");
}

.cdg-trust-benefits__icon--match {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M4 4h7v7H4V4zm9 0h7v7h-7V4zM4 13h7v7H4v-7zm9 0h7v7h-7v-7z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M4 4h7v7H4V4zm9 0h7v7h-7V4zM4 13h7v7H4v-7zm9 0h7v7h-7v-7z'/%3E%3C/svg%3E");
}

@media (max-width: 767px) {
  .cdg-trust-benefits__list {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── FAQ ── */
.cdg-trust-faq {
  padding: 56px 0 64px;
}

.cdg-trust-faq__header {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.cdg-trust-faq__title {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #121212;
  font-family: inherit;
}

.cdg-trust-faq__subtitle {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #666;
}

.cdg-trust-faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.cdg-trust-faq__item {
  background: #fff;
  border: 1px solid rgba(124, 178, 226, 0.22);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(18, 18, 18, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.cdg-trust-faq__item:hover {
  border-color: rgba(124, 178, 226, 0.45);
  box-shadow: 0 8px 28px rgba(18, 18, 18, 0.09);
}

.cdg-trust-faq__item[open] {
  border-color: rgba(96, 191, 111, 0.55);
  box-shadow: 0 10px 32px rgba(96, 191, 111, 0.12);
  transform: translateY(-1px);
}

.cdg-trust-faq__question {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.45;
  color: #121212;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

.cdg-trust-faq__question::-webkit-details-marker {
  display: none;
}

.cdg-trust-faq__question::marker {
  content: '';
}

.cdg-trust-faq__item[open] .cdg-trust-faq__question {
  color: #056937;
}

.cdg-trust-faq__index {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8f2fb 0%, #f0f4ff 100%);
  color: #7cb2e2;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.cdg-trust-faq__item[open] .cdg-trust-faq__index {
  background: linear-gradient(135deg, #60bf6f 0%, #4aad5a 100%);
  color: #fff;
}

.cdg-trust-faq__q-text {
  padding-right: 8px;
}

.cdg-trust-faq__toggle {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f3f5;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.3s ease;
}

.cdg-trust-faq__toggle::before,
.cdg-trust-faq__toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: #7cb2e2;
  border-radius: 2px;
  transition: background 0.25s ease, transform 0.3s ease;
}

.cdg-trust-faq__toggle::before {
  transform: translate(-50%, -50%);
}

.cdg-trust-faq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.cdg-trust-faq__item[open] .cdg-trust-faq__toggle {
  background: #60bf6f;
  transform: rotate(180deg);
}

.cdg-trust-faq__item[open] .cdg-trust-faq__toggle::before,
.cdg-trust-faq__item[open] .cdg-trust-faq__toggle::after {
  background: #fff;
}

.cdg-trust-faq__item[open] .cdg-trust-faq__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.cdg-trust-faq__body {
  overflow: hidden;
}

.cdg-trust-faq__answer {
  padding: 0 22px 22px 78px;
  color: #484848;
  font-size: 1rem;
  line-height: 1.7;
  border-top: 1px solid #eef2f6;
  margin: 0 22px;
  padding-left: 0;
  padding-right: 0;
  padding-top: 16px;
}

.cdg-trust-faq__answer p {
  margin: 0 0 0.75em;
}

.cdg-trust-faq__answer p:last-child {
  margin-bottom: 0;
}

.cdg-trust-faq__answer a {
  color: #7cb2e2;
  text-decoration: underline;
  font-weight: 600;
}

.cdg-trust-faq__answer a:hover {
  color: #60bf6f;
}

@media (max-width: 575px) {
  .cdg-trust-faq {
    padding: 40px 0 48px;
  }

  .cdg-trust-faq__header {
    margin-bottom: 28px;
  }

  .cdg-trust-faq__title {
    letter-spacing: 1px;
    font-size: 1.2rem;
  }

  .cdg-trust-faq__subtitle {
    font-size: 0.95rem;
  }

  .cdg-trust-faq__question {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 16px;
    font-size: 0.95rem;
  }

  .cdg-trust-faq__index {
    min-width: 34px;
    height: 34px;
    font-size: 0.72rem;
  }

  .cdg-trust-faq__toggle {
    width: 32px;
    height: 32px;
  }

  .cdg-trust-faq__answer {
    margin: 0 16px;
    padding-top: 14px;
    padding-bottom: 18px;
    font-size: 0.95rem;
  }
}

/* ── Why Choose CatsDogs (Masterium block_31) ── */
#block_31 .filosophy2 {
  background: #fff;
  border-radius: 16px;
  padding: 24px 28px !important;
  margin-bottom: 16px !important;
  box-shadow: 0 4px 20px rgba(26, 26, 46, 0.07);
  border-left: 4px solid #7cb2e2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#block_31 .filosophy2:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(26, 26, 46, 0.12);
}

#block_31 .filosophy2 b,
#block_31 .filosophy2 strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

#block_31 .filosophy2 p {
  margin: 0;
  color: #484848;
  line-height: 1.65;
}

#block_31 #widget_container_title_21 h4 {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  margin-top: 48px !important;
}


/* ── Blog block styling (pmblog on homepage) ── */
#index .blog-post {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
  height: 100%;
}

#index .blog-post:hover {
  transform: translateY(-4px);
}

#index .blog-post__title {
  font-weight: 700;
  color: #1a1a2e;
}

#index .blog-btn a {
  display: inline-block;
  padding: 12px 32px;
  background: #7cb2e2;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

#index .blog-btn a:hover {
  background: #60bf6f;
  color: #fff;
}
