/* Colombian Marketing local testimonial carousel fallback.
   Keeps extracted WordPress/Elementor pages usable when original plugin JS fails. */
:root {
  --cm-testimonial-purple: #6254e7;
  --cm-testimonial-dark: #3b3663;
  --cm-testimonial-body: #696687;
  --cm-testimonial-card-shadow: 0 24px 70px rgba(59, 54, 99, 0.12);
}

.gt3_testimonial.cm-testimonial-ready,
.testimonials-section.cm-testimonial-ready {
  width: 100%;
}

.gt3_testimonial.cm-testimonial-ready .module_content,
.gt3_testimonial.cm-testimonial-ready .testimonials_list,
.gt3_testimonial.cm-testimonial-ready .testimonials_rotator {
  position: relative;
  width: 100%;
}

.gt3_testimonial.cm-testimonial-ready .testimonials_rotator {
  overflow: hidden;
}

.gt3_testimonial.cm-testimonial-ready .testimonials_item {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateX(12px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.gt3_testimonial.cm-testimonial-ready .testimonials_item.cm-testimonial-active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(0);
}

.gt3_testimonial.cm-testimonial-ready .testimonial_item_wrapper,
.gt3_testimonial.cm-testimonial-ready .testimonials_content {
  min-height: 100%;
}

.gt3_testimonial.cm-testimonial-ready .testimonials_content {
  box-sizing: border-box;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--cm-testimonial-card-shadow);
  padding: clamp(28px, 4vw, 52px);
}

.gt3_testimonial.cm-testimonial-ready .testimonials-text-wrapper,
.gt3_testimonial.cm-testimonial-ready .testimonials-text,
.gt3_testimonial.cm-testimonial-ready .testimonials-text-wrapper p,
.gt3_testimonial.cm-testimonial-ready .testimonials-text-wrapper span,
.gt3_testimonial.cm-testimonial-ready .testimonials_author_wrapper,
.gt3_testimonial.cm-testimonial-ready .testimonials_photo,
.gt3_testimonial.cm-testimonial-ready .testimonials_title,
.gt3_testimonial.cm-testimonial-ready .testimonials-sub_name {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.gt3_testimonial.cm-testimonial-ready .testimonials-text,
.gt3_testimonial.cm-testimonial-ready .testimonials-text-wrapper,
.gt3_testimonial.cm-testimonial-ready .testimonials-text-wrapper p,
.gt3_testimonial.cm-testimonial-ready .testimonials-text-wrapper span {
  color: var(--cm-testimonial-dark) !important;
  font-family: Nunito, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(18px, 2.1vw, 24px) !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  text-align: left !important;
}

.gt3_testimonial.cm-testimonial-ready .testimonials_author_wrapper {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(24px, 3vw, 34px);
  width: 100%;
}

.gt3_testimonial.cm-testimonial-ready .testimonials_photo img {
  border-radius: 999px !important;
  height: 70px !important;
  object-fit: cover;
  width: 70px !important;
}

.gt3_testimonial.cm-testimonial-ready .testimonials_title {
  color: var(--cm-testimonial-dark) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

.gt3_testimonial.cm-testimonial-ready .testimonials-sub_name {
  color: var(--cm-testimonial-body) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  margin-top: 3px;
}

.cm-testimonial-dots,
.testimonial-dots {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.cm-testimonial-dot,
.testimonial-dot {
  appearance: none;
  background: rgba(98, 84, 231, 0.28) !important;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-block;
  height: 11px;
  padding: 0;
  transition: background-color 180ms ease, transform 180ms ease, width 180ms ease;
  width: 11px;
}

.cm-testimonial-dot[aria-selected="true"],
.testimonial-dot[data-active="true"] {
  background: var(--cm-testimonial-purple) !important;
  transform: scale(1.08);
  width: 30px;
}

.cm-testimonial-dot:focus-visible,
.testimonial-dot:focus-visible {
  outline: 3px solid rgba(98, 84, 231, 0.28);
  outline-offset: 3px;
}

.testimonials-section .testimonial-carousel {
  background: transparent !important;
  border-radius: 30px !important;
  box-shadow: none !important;
  overflow: hidden;
  padding: 0 !important;
}

.testimonials-section .testimonial-slide > div {
  border-radius: 30px !important;
  box-shadow: var(--cm-testimonial-card-shadow) !important;
}

@media (max-width: 767px) {
  .gt3_testimonial.cm-testimonial-ready .testimonials_content {
    border-radius: 24px;
    padding: 24px;
  }

  .gt3_testimonial.cm-testimonial-ready .testimonials-text,
  .gt3_testimonial.cm-testimonial-ready .testimonials-text-wrapper,
  .gt3_testimonial.cm-testimonial-ready .testimonials-text-wrapper p,
  .gt3_testimonial.cm-testimonial-ready .testimonials-text-wrapper span {
    font-size: 17px !important;
  }
}

/* Responsive normalization for extracted WordPress/Elementor testimonial sections. */
.elementor-section:has(.gt3_testimonial.cm-testimonial-ready) {
  overflow-x: clip;
}

.elementor-section:has(.gt3_testimonial.cm-testimonial-ready) > .elementor-container {
  align-items: center;
  display: flex;
  gap: clamp(28px, 5vw, 76px);
  max-width: min(1180px, calc(100vw - 40px));
  width: 100%;
}

.elementor-section:has(.gt3_testimonial.cm-testimonial-ready) > .elementor-container > .elementor-column.elementor-col-33 {
  flex: 0 1 38%;
  max-width: 430px;
  width: 38%;
}

.elementor-section:has(.gt3_testimonial.cm-testimonial-ready) > .elementor-container > .elementor-column.elementor-col-66 {
  flex: 1 1 58%;
  min-width: 0;
  width: 58%;
}

.elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-heading h2.elementor-heading-title {
  color: var(--cm-testimonial-dark) !important;
  font-size: clamp(30px, 3vw, 38px) !important;
  line-height: 1.2 !important;
}

.elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-text-editor h5 {
  color: var(--cm-testimonial-dark) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-image img[title="Quote"],
.elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-image img[src*="home10_quote"] {
  display: block;
  margin-inline: auto;
  max-width: min(344px, 75%);
  opacity: 0.55;
}

.gt3_testimonial.cm-testimonial-ready .testimonials_content {
  margin-inline: auto;
  max-width: 654px;
}

.gt3_testimonial.cm-testimonial-ready .testimonials-text,
.gt3_testimonial.cm-testimonial-ready .testimonials-text-wrapper,
.gt3_testimonial.cm-testimonial-ready .testimonials-text-wrapper p,
.gt3_testimonial.cm-testimonial-ready .testimonials-text-wrapper span {
  font-size: clamp(15px, 1.15vw, 16px) !important;
  font-weight: 600 !important;
  line-height: 1.85 !important;
}

@media (max-width: 1024px) {
  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) > .elementor-container {
    gap: 32px;
  }

  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) > .elementor-container > .elementor-column.elementor-col-33,
  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) > .elementor-container > .elementor-column.elementor-col-66 {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-wrap {
    justify-content: center;
  }

  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-heading,
  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-text-editor {
    text-align: center;
  }

  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-image img[title="Quote"],
  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-image img[src*="home10_quote"] {
    max-width: 240px;
  }
}

@media (max-width: 767px) {
  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) {
    padding-block: 56px !important;
  }

  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) > .elementor-container {
    max-width: calc(100vw - 32px);
  }

  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-heading h2.elementor-heading-title {
    font-size: clamp(26px, 8vw, 34px) !important;
  }

  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-image img[title="Quote"],
  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-image img[src*="home10_quote"] {
    max-width: 170px;
  }

  .gt3_testimonial.cm-testimonial-ready .testimonials_content {
    box-shadow: 0 18px 48px rgba(59, 54, 99, 0.11);
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .gt3_testimonial.cm-testimonial-ready .testimonial_item_wrapper,
  .gt3_testimonial.cm-testimonial-ready .testimonials_content,
  .gt3_testimonial.cm-testimonial-ready .testimonials-text-wrapper,
  .gt3_testimonial.cm-testimonial-ready .testimonials_author_wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .gt3_testimonial.cm-testimonial-ready .testimonials_content {
    padding: 24px 20px 22px !important;
  }

  .gt3_testimonial.cm-testimonial-ready .testimonials_author_wrapper {
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) > .elementor-container {
    max-width: calc(100vw - 24px);
  }

  .gt3_testimonial.cm-testimonial-ready .testimonials_content {
    border-radius: 22px;
    padding: 22px 18px !important;
  }

  .gt3_testimonial.cm-testimonial-ready .testimonials-text-wrapper,
  .gt3_testimonial.cm-testimonial-ready .testimonials-text,
  .gt3_testimonial.cm-testimonial-ready .testimonials_author_wrapper {
    width: 100%;
  }

  .gt3_testimonial.cm-testimonial-ready .testimonials-text,
  .gt3_testimonial.cm-testimonial-ready .testimonials-text-wrapper,
  .gt3_testimonial.cm-testimonial-ready .testimonials-text-wrapper p,
  .gt3_testimonial.cm-testimonial-ready .testimonials-text-wrapper span {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }

  .gt3_testimonial.cm-testimonial-ready .testimonials_photo img {
    flex: 0 0 auto;
    height: 58px !important;
    width: 58px !important;
  }
}

/* Static fallback for extracted GT3 pie charts on the About section. */
.gt3_elementor_pie_chart {
  align-items: center !important;
  aspect-ratio: 1 / 1;
  border: 5px solid var(--cm-testimonial-purple);
  border-radius: 999px;
  box-sizing: border-box;
  display: inline-flex !important;
  justify-content: center !important;
  min-height: 0 !important;
  min-width: 0 !important;
  position: relative !important;
  width: min(126px, 34vw) !important;
}

.gt3_elementor_pie_chart[data-value="0.99"] {
  border-color: #6254e7;
  color: #6254e7;
}

.gt3_elementor_pie_chart[data-value="0.98"] {
  border-color: #f56616;
  color: #ff8a00;
}

.gt3_elementor_pie_chart[data-value="1"] {
  border-color: #34c478;
  color: #34c478;
}

.gt3_elementor_pie_chart strong.element_typography {
  font-size: 0 !important;
  line-height: 0 !important;
}

.gt3_elementor_pie_chart::before {
  content: attr(data-label-value) attr(data-units);
  display: block;
  font-family: Nunito, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 800;
  line-height: 1;
}

.elementor-section:has(.elementor-widget-gt3-core-piechart) {
  overflow-x: clip;
}

.elementor-section:has(.elementor-widget-gt3-core-piechart) .elementor-widget-gt3-core-piechart,
.elementor-section:has(.elementor-widget-gt3-core-piechart) .gt3_pie_chart_wrapper {
  text-align: center;
}

.elementor-section:has(.elementor-widget-gt3-core-piechart) .gt3-core-imagebox-title h6,
.elementor-section:has(.elementor-widget-gt3-core-piechart) h6.gt3-core-imagebox-title {
  font-family: Nunito, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(20px, 3vw, 24px) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

.elementor-section:has(.elementor-widget-gt3-core-piechart) .gt3-core-imagebox-description {
  color: #1f1b2d !important;
  font-size: clamp(16px, 2.4vw, 18px) !important;
  line-height: 1.65 !important;
}

@media (max-width: 767px) {
  .elementor-section:has(.elementor-widget-gt3-core-piechart) > .elementor-container {
    max-width: calc(100vw - 32px);
  }

  .elementor-section:has(.elementor-widget-gt3-core-piechart) .elementor-inner-section > .elementor-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .elementor-section:has(.elementor-widget-gt3-core-piechart) .elementor-inner-section > .elementor-container > .elementor-column {
    width: 100% !important;
  }

  .elementor-section:has(.elementor-widget-gt3-core-piechart) .elementor-inner-section > .elementor-container > .elementor-column:first-child {
    order: 2;
  }

  .elementor-section:has(.elementor-widget-gt3-core-piechart) .elementor-inner-section > .elementor-container > .elementor-column:last-child {
    order: 1;
  }

  .elementor-section:has(.elementor-widget-gt3-core-piechart) .gt3-core-imagebox-wrapper,
  .elementor-section:has(.elementor-widget-gt3-core-piechart) .gt3-core-imagebox-content {
    text-align: left !important;
    width: 100%;
  }

  .elementor-section:has(.elementor-widget-gt3-core-piechart) .elementor-widget-spacer {
    display: none !important;
  }
}

/* Mobile tightening for the extracted testimonial block. */
@media (max-width: 767px) {
  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) > .elementor-container {
    gap: 20px;
  }

  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-wrap {
    align-content: flex-start;
  }

  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-image {
    margin: 8px 0 0 !important;
    position: relative;
    z-index: 0;
  }

  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-image img[title="Quote"],
  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-image img[src*="home10_quote"] {
    margin-top: -8px;
    max-width: 150px;
    opacity: 0.22;
  }

  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-column.elementor-col-66 {
    margin-top: -18px;
    position: relative;
    z-index: 2;
  }

  .gt3_testimonial.cm-testimonial-ready .testimonials_content {
    padding: 24px 20px 22px !important;
  }

  .gt3_testimonial.cm-testimonial-ready .testimonials_author_wrapper {
    margin-top: 18px;
  }

  .cm-testimonial-dots,
  .testimonial-dots {
    margin-top: 18px;
  }
}

@media (max-width: 480px) {
  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) {
    padding-block: 44px !important;
  }

  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-heading h2.elementor-heading-title {
    font-size: clamp(28px, 8.2vw, 32px) !important;
    line-height: 1.18 !important;
  }

  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-text-editor p {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-image img[title="Quote"],
  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-widget-image img[src*="home10_quote"] {
    max-width: 132px;
  }

  .elementor-section:has(.gt3_testimonial.cm-testimonial-ready) .elementor-column.elementor-col-66 {
    margin-top: -26px;
  }

  .gt3_testimonial.cm-testimonial-ready .testimonials_content {
    border-radius: 20px;
    padding: 22px 18px 20px !important;
  }

  .gt3_testimonial.cm-testimonial-ready .testimonials_author_wrapper {
    align-items: center;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }
}
