/* Párrafo de entrada */
.intro-paragraph {
  color: #273532;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 23px;
  line-height: 155%;
}

/* Intro visual */
.intro-visual {
  width: 100%;
}

/* Contenedor (con o sin inner-container) */
.intro-visual,
.intro-visual > .wp-block-group__inner-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Imagen */
.intro-visual__image {
  flex: 0 0 auto;
  width: auto !important;
  max-width: none;
  margin: 0;
}

.intro-visual__image img {
  display: block;
  width: auto !important;
  height: auto;
  max-width: none;
}

/* Texto */
.intro-visual__text {
  flex: 1 1 auto;
  width: auto;
  margin: 0;
  color: #505452;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 180%;
}

/* Section Difference */
.section-difference {
  width: 100%;
  margin: 20px 0;
}

/* Título */
.section-difference__title {
  margin: 0 0 16px;
  color: #273532;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 120%;
}

/* Texto */
.section-difference__text {
  margin: 0;
  color: #505452;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 180%;
}

/* =========================================
   CARDS — INFORMACIÓN
   ========================================= */

/* Contenedor principal (con o sin inner-container) */
.info-cards {
  width: 100%;
  margin: 20px 0;
}

.info-cards,
.info-cards > .wp-block-group__inner-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Tarjeta */
.info-card {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  gap: 16px;
  flex: 1 1 0;
  max-width: 400px;
  width: 100%;
  padding: 32px;
  background: #f5f1ea;
  border: 1px solid #e4d3a6;
  border-radius: 24px;
}

.info-card > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* Imagen */
.info-card__image {
  margin: 0;
  width: auto;
}

.info-card__image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

/* Título */
.info-card__title {
  margin: 0;
  color: #273532;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0;
}

/* Descripción */
.info-card__text {
  margin: 0;
  color: #505452;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0;
}

/* =========================================
   QUOTE — DESTACADA
   ========================================= */

/* Bloque principal (Cover) */
.quote-featured.wp-block-cover {
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  padding: 40px;
  border-radius: 24px;
  align-items: center;
  margin: 30px auto;
}

.quote-featured .wp-block-cover__inner-container {
  width: 100%;
  max-width: none;
}

/* Contenido */
.quote-featured__content,
.quote-featured__content > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* Encabezado */
.quote-featured__heading,
.quote-featured__heading > .wp-block-group__inner-container {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* Evita los márgenes que agrega el layout "flow" de WordPress */
.quote-featured .wp-block-group__inner-container > * {
  margin: 0;
}

/* Ícono */
.quote-featured__icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin: 0;
}

.quote-featured__icon img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Texto "Cita Destacada" */
.quote-featured__label {
  margin: 0;
  color: #bfa06a;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Cita */
.quote-featured__text,
.quote-featured__content
  .wp-block-group__inner-container
  > p:not([class*="quote-featured__"]) {
  margin: 0;
  color: #f5f1ea;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  font-size: 45px;
  line-height: 119%;
  letter-spacing: 0;
}

/* Autor */
.quote-featured__author {
  margin: 0;
  color: #bfa06a;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* =========================================
   STATS ROW — CIFRAS
   ========================================= */

/* Contenedor (con o sin inner-container) */
.stats-row {
  width: 100%;
  max-width: none;
  margin: 20px auto;
}

.stats-row,
.stats-row > .wp-block-group__inner-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.stats-row > .wp-block-group__inner-container {
  width: 100%;
}

/* Tarjeta */
.stat-card {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  padding: 24px;
  background: #f5f1ea;
  border-radius: 24px;
}

.stat-card,
.stat-card > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.stat-card > .wp-block-group__inner-container {
  width: 100%;
}

/* Evita los márgenes del layout "flow" de WordPress */
.stats-row .wp-block-group__inner-container > * {
  margin: 0;
}

/* Cifra */
.stat-card__value {
  margin: 0;
  color: #273532;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0;
}

/* Descripción */
.stat-card__label {
  margin: 0;
  color: #bfa06a;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0;
}

/* =========================================
   DATA CALLOUT
   ========================================= */

/* Contenedor (con o sin inner-container) */
.data-callout {
  width: 100%;
  max-width: none;
  margin: 20px 0;
}

.data-callout,
.data-callout > .wp-block-group__inner-container {
  display: flex;
  gap: 20px;
}

.data-callout > .wp-block-group__inner-container {
  width: 100%;
}

/* Tarjeta */
.data-callout__card {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  min-height: 234px;
  padding: 32px;
  background: #161313;
  border: 1px solid #2d2626;
  border-radius: 24px;
}

.data-callout__card,
.data-callout__card > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.data-callout__card > .wp-block-group__inner-container {
  width: 100%;
}

/* Evita los márgenes del layout "flow" de WordPress */
.data-callout .wp-block-group__inner-container > * {
  margin: 0;
}

/* Título */
.data-callout__title {
  margin: 0;
  color: #bfa06a;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: 0;
}

/* Texto */
.data-callout__text {
  margin: 0;
  color: #a8a298;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0;
}

/* Mobile */
@media (max-width: 767px) {
  .intro-visual,
  .intro-visual > .wp-block-group__inner-container {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .intro-visual__image {
    flex: none;
    max-width: 100%;
  }

  .intro-visual__image img {
    max-width: 100%;
  }

  .info-cards,
  .info-cards > .wp-block-group__inner-container {
    flex-direction: column;
    align-items: stretch;
  }

  .info-cards > .wp-block-group__inner-container {
    flex-wrap: wrap;
  }

  .info-card {
    max-width: 100%;
    padding: 24px;
  }

  .quote-featured.wp-block-cover {
    padding: 24px;
  }

  .quote-featured__text,
  .quote-featured__content
    .wp-block-group__inner-container
    > p:not([class*="quote-featured__"]) {
    font-size: 28px;
  }

  .stats-row,
  .stats-row > .wp-block-group__inner-container {
    flex-direction: column;
    align-items: stretch;
  }

  .stat-card {
    max-width: 100%;
    padding: 24px;
  }

  .stat-card__value {
    font-size: 30px;
  }

  .data-callout,
  .data-callout > .wp-block-group__inner-container {
    flex-direction: column;
  }

  .data-callout__card {
    min-height: auto;
    padding: 24px;
  }
}
