/*
  Bloques de contenido de las páginas (Prompt 4). Medidas de iuvity.com a 1440px.
  Catálogo y marcado en docs/componentes.md.
*/

/* ---------------------------------------------------------------- Hero: variantes */

.hero h1 + .hero__subtitle {
  margin-top: -14px;
}

.hero__subtitle {
  margin-bottom: 24px;
  font-family: var(--font-wide);
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.5rem);
  font-weight: var(--fw-bold);
  line-height: 1.275;
  letter-spacing: var(--ls-heading);
  color: var(--color-white);
}

.hero--home {
  display: flex;
  align-items: center;
  min-height: 619px;
  padding: 60px 30px;
  background-position: right center;
}

.hero--home .hero__content {
  max-width: 60%;
}

.hero--home h1 {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4375rem);
  line-height: 1.18;
}

@media (max-width: 767px) {
  .hero--home .hero__content {
    max-width: none;
  }
}

.hero--home .eyebrow {
  color: var(--color-black);
}

.hero--home .hero__lead {
  font-size: var(--fs-body);
}

.hero--square {
  border-radius: 0;
}

.hero .btn + .link-cta,
.hero__actions--row {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 767px) {
  .hero--home {
    min-height: 0;
    background-image: none;
  }

  .hero--home .eyebrow {
    color: var(--color-white);
  }
}

/* ---------------------------------------------------------------- Banda de título (Liderazgo, Contacto, Privacidad) */

.page-banner {
  display: flex;
  align-items: center;
  min-height: 345px;
  margin: 15px var(--gutter) 0;
  padding: 60px;
  background: var(--color-teal-dark);
  color: var(--color-white);
}

.page-banner--green {
  background: var(--color-green);
}

.page-banner--light {
  background: var(--bg-accent);
}

.page-banner h1 {
  margin: 0;
  font-size: clamp(2.25rem, 1rem + 4vw, 4.5rem);
  color: inherit;
}

.page-banner--light h1 {
  color: var(--color-ink);
}

@media (max-width: 767px) {
  .page-banner {
    min-height: 200px;
    margin: 0;
    padding: 40px var(--gutter);
  }
}

/* ---------------------------------------------------------------- Migas de pan: fondo del original */

.breadcrumbs {
  background: linear-gradient(to right, rgba(238, 240, 245, 0.25), #fff);
}

/* ---------------------------------------------------------------- Título de bloque ("Beneficios", "… en acción") */

.block-title {
  padding-top: 70px;
  padding-bottom: 20px;
}

.block-title h2 {
  margin: 0;
}

.block-title p {
  max-width: 760px;
  margin-top: var(--space-4);
  font-size: var(--fs-eyebrow);
  color: var(--color-ink);
}

.block-title--center {
  text-align: center;
}

.block-title--center p {
  margin-inline: auto;
  font-size: 20px;
}

/* ---------------------------------------------------------------- Fila imagen + texto */

.split {
  padding: 40px 0;
}

.split--alt {
  background: #f4f6fa;
}

.split--spacious {
  padding: 80px 0;
}

.split__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: 40px 80px;
}

.split--even .split__grid {
  grid-template-columns: 1fr 1fr;
}

.split--reverse .split__media {
  order: 2;
}

.split__media img {
  margin-inline: auto;
}

.split h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.5rem);
}

.split h3 {
  font-size: clamp(1.375rem, 1.1rem + 0.9vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.split p,
.split li {
  font-size: var(--fs-eyebrow);
  line-height: 1.6;
  color: var(--color-ink);
}

.split--feature h3 {
  font-size: clamp(1.375rem, 1.1rem + 0.7vw, 1.875rem);
}

.split--feature p {
  font-size: 20px;
  line-height: 1.8;
}

.split .btn {
  margin-top: var(--space-5);
}

.split .caps {
  text-transform: uppercase;
}

/* Listas con viñeta verde */
.list {
  margin: var(--space-4) 0 0;
  padding-left: 1.2em;
}

.list li {
  margin-bottom: var(--space-2);
}

.list li::marker {
  color: var(--color-green);
}

.list--compact li {
  font-size: 16px;
}

@media (max-width: 991.98px) {
  .split__grid,
  .split--even .split__grid {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }
}

/* ---------------------------------------------------------------- Bloque "¿Por qué iuvity?" */

.why {
  background: #f4f6fa;
}

.why__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: 40px;
}

.why__text {
  padding: 60px 0;
}

.why p,
.why li {
  font-size: var(--fs-eyebrow);
  line-height: 1.6;
  color: var(--color-ink);
}

.why__media img {
  width: 100%;
  max-width: 536px;
  margin-left: auto;
}

@media (max-width: 991.98px) {
  .why__grid {
    grid-template-columns: 1fr;
  }

  .why__media {
    display: none;
  }
}

/* ---------------------------------------------------------------- Banda de cifras */

.stats-band {
  padding: 60px 0 35px;
  background: #aab3c1;
  text-align: center;
}

.stats-band .stats__list {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ---------------------------------------------------------------- Iconos con título */

.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.icon-grid img {
  height: 120px;
  width: auto;
  margin: 0 auto var(--space-4);
  object-fit: contain;
}

.icon-grid__title {
  margin: 0;
  font-family: var(--font-wide);
  font-size: 22px;
  font-weight: var(--fw-bold);
  letter-spacing: -0.5px;
  color: var(--color-ink);
}

.icon-grid--large .icon-grid__title {
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem);
}

@media (max-width: 767px) {
  .icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 16px;
  }

  .icon-grid img {
    height: 90px;
  }

  .icon-grid__title {
    font-size: 17px;
    overflow-wrap: anywhere;
  }
}

/* ---------------------------------------------------------------- Tarjetas con viñeta (home: ¿Por qué iuvity?) */

.bullet-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bullet-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-card);
  background: #f5f5f5;
}

.bullet-card--mint { background: #dbfaf6; }
.bullet-card--green { background: #d9f7e8; }

.bullet-card img {
  flex: 0 0 119px;
  width: 119px;
}

.bullet-card h3 {
  margin-bottom: var(--space-3);
  font-size: clamp(1.25rem, 1rem + 0.6vw, 1.625rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.bullet-card p {
  margin: 0;
  font-size: var(--fs-eyebrow);
  line-height: 26px;
  color: var(--color-ink);
}

@media (max-width: 767px) {
  .bullet-cards {
    grid-template-columns: 1fr;
  }

  .bullet-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------------------------------------------------------------- Tarjetas de recursos (home) */

.resource-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 319px;
  padding: 32px;
  border-radius: var(--radius-sm);
  background: var(--color-teal-dark) var(--card-bg, none) center / cover no-repeat;
  color: var(--color-white);
}

.resource-card__type {
  font-size: 20px;
}

.resource-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.15;
  color: var(--color-white);
}

.resource-card a {
  color: var(--color-white);
}

.resource-card a:hover {
  color: var(--color-green);
}

@media (max-width: 991.98px) {
  .resource-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .resource-cards {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- Tarjetas imagen + lista (Canales Digitales) */

.media-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.media-card img {
  width: 100%;
  aspect-ratio: 657 / 380;
  object-fit: cover;
  border-radius: 25px 25px 0 0;
}

.media-card__body {
  height: calc(100% - 0px);
  padding: 32px 40px;
  border-radius: 0 0 25px 25px;
  background: var(--color-gray-lighter);
}

.media-card__body li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink);
}

@media (max-width: 767px) {
  .media-cards {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- Video con miniatura */

.video-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--color-teal-dark);
  cursor: pointer;
}

.video-card img {
  width: 100%;
  aspect-ratio: 640 / 489;
  object-fit: cover;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 83, 148, 0.35);
}

.video-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23ffffff'/%3E%3C/svg%3E") 55% center / 34px no-repeat,
    var(--color-green);
  transform: translate(-50%, -50%);
  transition: transform var(--ease);
}

.video-card:hover::after {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-dialog {
  width: min(1100px, 92vw);
  padding: 0;
  border: 0;
  background: #000;
}

.video-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

.video-dialog video {
  display: block;
  width: 100%;
}

.video-dialog__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* ---------------------------------------------------------------- Hero con video de fondo (Nosotros) */

.video-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 529px;
  margin: 15px var(--gutter) 0;
  overflow: hidden;
  border-radius: 0 50px 0 0;
  background: var(--color-teal-dark);
  color: var(--color-white);
}

.video-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero__content {
  position: relative;
  max-width: 1082px; /* titular de 962px como en el original */
  padding: 60px;
}

.video-hero h1 {
  font-size: clamp(2rem, 1rem + 3vw, 3.75rem);
  color: var(--color-white);
}

.video-hero .eyebrow {
  color: var(--color-white);
}

@media (max-width: 767px) {
  .video-hero {
    min-height: 380px;
    margin: 0;
    border-radius: 0;
  }

  .video-hero__content {
    padding: 40px var(--gutter);
  }
}

/* ---------------------------------------------------------------- Línea de tiempo (Nosotros) */

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 507px));
  justify-content: center;
  gap: 32px 60px;
  margin: var(--space-7) 0 0;
  padding: 0;
  list-style: none;
}

.timeline__item {
  padding: 32px 40px;
  border-radius: 25px;
  background: var(--color-gray-lighter);
}

.timeline__item h3 {
  margin-bottom: var(--space-3);
}

.timeline__item li {
  font-size: var(--fs-eyebrow);
  line-height: 1.6;
  color: var(--color-ink);
}

@media (max-width: 767px) {
  .timeline {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- Logos de aliados (Nosotros) */

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 48px;
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}

.logo-row li {
  display: flex;
  align-items: center;
  width: 160px;
  height: 90px;
}

.logo-row img {
  width: 100%;
  max-height: 60px;
  object-fit: contain;
}

/* ---------------------------------------------------------------- Llamado con imagen (Únete) */

.callout {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 416px;
  padding: 60px var(--gutter);
  overflow: hidden;
  background: var(--color-teal-dark) var(--callout-bg, none) center / cover no-repeat;
  text-align: center;
}

.callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 29, 23, 0.4);
}

.callout > * {
  position: relative;
}

.callout h2 {
  color: var(--color-white);
}

/* ---------------------------------------------------------------- Equipo (Liderazgo) */

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 21px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
}

.team-card img {
  width: 100%;
  aspect-ratio: 424 / 469;
  object-fit: cover;
}

.team-card__label {
  position: absolute;
  right: 13px;
  bottom: 13px;
  left: 13px;
  padding: 16px;
  border-radius: 15px;
  background: rgba(0, 31, 18, 0.45);
  color: var(--color-white);
  text-align: center;
  text-transform: uppercase;
  transition: opacity var(--ease);
}

.team-card__name {
  display: block;
  font-family: var(--font-wide);
  font-weight: var(--fw-bold);
  font-size: var(--fs-eyebrow);
}

.team-card__role {
  display: block;
  font-size: 15px;
}

.team-card__links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.team-card__links a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-teal-dark);
}

.team-card__links svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (max-width: 991.98px) {
  .team {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .team {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- Mosaico de soluciones (Liderazgo) */

.solution-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 526px;
  padding: 60px 40px;
  background: rgba(223, 225, 230, 0.5);
}

.solution-tile + .solution-tile {
  border-left: 1px solid var(--color-white);
}

.solution-tile img {
  width: 200px;
  height: 200px;
  margin-left: auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .solution-tiles {
    grid-template-columns: 1fr;
  }

  .solution-tile {
    min-height: 0;
    gap: 24px;
  }

  .solution-tile + .solution-tile {
    border-left: 0;
    border-top: 1px solid var(--color-white);
  }
}

/* ---------------------------------------------------------------- Contacto: página */

/* Mismo margen lateral que .page-banner: banner y formulario forman una sola tarjeta */
.contact-page {
  margin: 0 var(--gutter);
  padding: 80px 0;
  background: var(--color-ink);
  color: var(--color-white);
}

.contact-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 60px;
  align-items: start;
}

.contact-page__intro {
  margin: 0;
  max-width: 30ch;
  font-size: var(--fs-h3);
  line-height: 1.5;
  color: var(--color-white);
}

.contact-page p {
  font-size: var(--fs-eyebrow);
  color: var(--color-white);
}

@media (max-width: 767px) {
  .contact-page {
    margin: 0;
  }
}

.contact-brand {
  padding: 80px 0;
  background: var(--color-teal-dark);
}

.contact-brand__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.contact-brand h2 {
  margin: var(--space-3) 0 0;
  color: var(--color-white);
}

.contact-brand .social-links {
  justify-content: flex-end;
}

.offices {
  padding: 40px 0 80px;
  background: var(--color-teal-dark);
  color: var(--color-white);
}

.offices__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offices h3 {
  margin-bottom: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-caps);
  color: var(--color-green);
}

.offices address {
  font-size: var(--fs-eyebrow);
  font-style: normal;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .contact-page__grid,
  .contact-brand__grid,
  .offices__list {
    grid-template-columns: 1fr;
  }

  .contact-brand .social-links {
    justify-content: flex-start;
  }
}

/* ---------------------------------------------------------------- Texto legal con índice (Privacidad) */

.legal {
  padding: 80px 0;
}

.legal__grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: start;
  gap: 60px;
}

.legal__toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  font-size: 15px;
}

.legal__toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal__toc li + li {
  margin-top: var(--space-3);
}

.legal__toc a {
  color: var(--color-ink);
}

.legal__toc a:hover {
  color: var(--color-green);
}

.legal__body h3 {
  margin-top: var(--space-7);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.legal__body p,
.legal__body li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-ink);
}

@media (max-width: 991.98px) {
  .legal__grid {
    grid-template-columns: 1fr;
  }

  .legal__toc {
    position: static;
  }
}

/* ---------------------------------------------------------------- Botón centrado */

.center {
  text-align: center;
}

/* ---------------------------------------------------------------- Par de logos centrados (Canales Digitales) */

.logo-pair {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 32px;
}

/* Variantes de proporción de .split */
.split--media-wide .split__grid {
  grid-template-columns: 7fr 5fr;
}

.split__half {
  max-width: 50%;
}

@media (max-width: 991.98px) {
  .split--media-wide .split__grid {
    grid-template-columns: 1fr;
  }

  .split__half {
    max-width: none;
  }
}

/* ---------------------------------------------------------------- Utilidades de texto */

.text-lg {
  font-size: var(--fs-eyebrow);
  line-height: 1.6;
  color: var(--color-ink);
}

.lead-center {
  max-width: 900px;
  margin-inline: auto;
  font-size: var(--fs-eyebrow);
  line-height: 1.6;
  color: var(--color-ink);
}

.mt-7 {
  margin-top: var(--space-7);
}

.timeline {
  text-align: left;
}

.big-number {
  margin-bottom: var(--space-5);
  font-size: clamp(3rem, 2rem + 3vw, 4.5rem);
}

/* Hero con titular más pequeño (SARA: 47px) */
.hero--compact {
  padding-bottom: 120px;
}

.hero--compact h1 {
  font-size: clamp(2rem, 1.3rem + 2vw, 2.9375rem);
  line-height: 1.2;
}

/* Legibilidad en móvil: velo oscuro sobre la imagen del hero (contraste AA) */
@media (max-width: 767px) {
  .hero:not(.hero--home)::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(6, 61, 69, 0.6);
  }

  .hero__content {
    position: relative;
  }
}

/* =================================================================
   Bloques de las páginas EN (Prompt 5)
   ================================================================= */

/* Hero con foto a sangre y texto oscuro (home EN) o claro (Platform) */
.hero--photo {
  display: flex;
  align-items: center;
  min-height: 720px;
  padding: 60px 30px;
}

.hero--photo h1 {
  font-size: clamp(2rem, 1.2rem + 2.8vw, 3.75rem);   /* 60px */
}

.hero--ink h1,
.hero--ink .hero__lead {
  color: var(--color-ink);
}

.hero--ink .eyebrow {
  color: var(--color-white);
}

.hero--photo .hero__content {
  max-width: 825px;
}

.hero--platform h1 {
  font-size: clamp(1.75rem, 1.1rem + 2.2vw, 3.125rem); /* 50px */
}

.hero--gradient {
  background: linear-gradient(to right bottom, #007c77, #0c9679);
}

.hero__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: 40px;
}

.hero__title-big {
  margin-bottom: 16px;
  font-family: var(--font-wide);
  font-size: clamp(2.25rem, 1rem + 4vw, 4.5rem);
  font-weight: var(--fw-black);
  line-height: 1.18;
  letter-spacing: var(--ls-heading);
  color: var(--color-white);
}

.hero h1.hero__subtitle {
  font-size: clamp(1.125rem, 0.9rem + 0.6vw, 1.5rem);
  line-height: 1.5;
  letter-spacing: normal;
}

@media (max-width: 767px) {
  .hero--photo {
    min-height: 0;
  }

  .hero--ink h1,
  .hero--ink .hero__lead {
    color: var(--color-white);
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid img {
    max-width: 200px;
  }
}

/* Mosaico de 3 soluciones con degradado (home EN) */
.gradient-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 var(--gutter);
  padding: 0;
  list-style: none;
}

.gradient-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 497px;
  padding: 60px 40px;
  color: var(--color-white);
}

.gradient-tile:nth-child(1) { background: linear-gradient(#063d45, #066562); border-radius: 0 0 0 50px; }
.gradient-tile:nth-child(2) { background: linear-gradient(to right bottom, #007c77, #0aa37f); }
.gradient-tile:nth-child(3) { background: linear-gradient(to right, #26d198, #26d07c); }

.gradient-tile h2 {
  color: var(--color-white);
}

.gradient-tile img {
  width: 200px;
  height: 180px;
  margin-left: auto;
  object-fit: contain;
}

/* Tarjetas de valor (home EN) */
.value-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin: 36px var(--gutter) 0;
  padding: 0;
  list-style: none;
}

.value-card {
  display: grid;
  grid-template-columns: 1fr 140px;
  align-items: end;
  gap: 24px;
  min-height: 676px;
  padding: 80px 50px 60px;
  background: #eef0f5;
}

.value-card p {
  font-size: var(--fs-eyebrow);
  line-height: 1.6;
  color: var(--color-ink);
}

/* Banners de contenido (home EN) */
.promo-banners {
  display: grid;
  grid-template-columns: 1fr 2fr;
  margin: 36px var(--gutter) 0;
  padding: 0;
  list-style: none;
}

.promo-banner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  min-height: 600px;
  padding: 60px 50px;
  background: var(--color-teal-dark) var(--banner-bg, none) center / cover no-repeat;
}

.promo-banner h3 {
  max-width: 560px;
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem);
  line-height: 1.25;
  color: var(--color-white);
}

/* Banda de la plataforma con imagen de fondo */
.platform-band {
  display: flex;
  align-items: center;
  min-height: 573px;
  padding: 60px var(--gutter);
  background: #eef0f5 var(--band-bg, none) right center / cover no-repeat;
}

.platform-band__content {
  max-width: 640px;
  padding-left: 30px;
}

/* Fondo verde (iuviPROFILER EN) */
.section--green {
  background: var(--color-green);
}

.section--green p,
.section--green li {
  color: var(--color-ink);
}

.section--teal {
  background: var(--color-teal);
  color: var(--color-white);
}

.section--teal h2,
.section--teal li {
  color: var(--color-white);
}

/* Sección con imagen de fondo y texto a la izquierda */
.image-band {
  display: flex;
  align-items: center;
  min-height: 730px;
  padding: 60px var(--gutter);
  background: #f4f6fa var(--band-bg, none) right center / cover no-repeat;
}

.image-band__content {
  max-width: 645px;
}

.image-band p {
  font-size: var(--fs-eyebrow);
  line-height: 1.6;
  color: var(--color-ink);
}

/* Tarjetas oscuras con imagen (iuviPROFILER EN) */
.overlay-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 var(--space-7);
  padding: 0;
  list-style: none;
}

.overlay-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 549px;
  padding: 32px;
  background:
    linear-gradient(rgba(6, 61, 69, 0.1), rgba(6, 61, 69, 0.95) 55%),
    var(--card-bg, none) center / cover no-repeat;
}

.overlay-card h3 {
  color: var(--color-white);
}

.overlay-card p {
  font-size: 16px;
  color: var(--color-white);
}

/* Tarjetas de capas (Platform EN) */
.layer-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.layer-cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

.layer-card {
  padding: 40px;
  border-radius: 25px;
  background: var(--color-blue);
  color: var(--color-white);
}

.layer-card--dark {
  background: #08525e;
}

.layer-card img {
  height: 95px;
  width: auto;
  margin-bottom: var(--space-4);
}

.layer-card h3 {
  margin-bottom: var(--space-2);
  color: var(--color-white);
}

.layer-card p {
  margin: 0;
  font-size: var(--fs-eyebrow);
  line-height: 1.5;
  color: var(--color-white);
}

/* Lista a dos columnas (Features) */
.list--columns {
  columns: 2;
  column-gap: 60px;
}

/* Cajas verdes 24/7/365 (Platform EN) */
.uptime {
  display: grid;
  grid-template-columns: repeat(2, 230px);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.uptime li {
  display: grid;
  place-content: center;
  height: 203px;
  background: var(--color-green);
  text-align: center;
}

.uptime strong {
  font-family: var(--font-wide);
  font-size: 48px;
  line-height: 1;
  color: var(--color-ink);
}

.uptime span {
  font-size: var(--fs-eyebrow);
  color: var(--color-ink);
}

@media (max-width: 991.98px) {
  .gradient-tiles,
  .value-cards,
  .promo-banners,
  .overlay-cards,
  .layer-cards,
  .layer-cards--3 {
    grid-template-columns: 1fr;
  }

  .gradient-tiles,
  .value-cards,
  .promo-banners {
    margin-inline: 0;
  }

  .gradient-tile,
  .value-card,
  .promo-banner,
  .overlay-card {
    min-height: 0;
  }

  .gradient-tile:nth-child(1) {
    border-radius: 0;
  }

  .value-card {
    grid-template-columns: 1fr;
    padding: 48px var(--gutter);
  }

  .platform-band,
  .image-band {
    min-height: 0;
    background-image: none;
  }

  .platform-band__content {
    padding-left: 0;
  }

  .list--columns {
    columns: 1;
  }

  .uptime {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Dos columnas iguales genéricas */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 80px;
  align-items: start;
}

@media (max-width: 991.98px) {
  .split-2 {
    grid-template-columns: 1fr;
  }
}

/* Texto largo con ancho de lectura */
.prose,
.prose-wide {
  max-width: 1000px;
}

/* Hero degradado sin video (About EN) */
.video-hero--gradient {
  background: linear-gradient(135deg, #26d07c 0%, #11a179 100%);
}

/* Página de contacto con fondo claro (EN) */
.contact-page--light {
  background: var(--color-white);
  color: var(--color-ink);
}

.contact-page--light p,
.contact-page--light .contact-page__intro {
  color: var(--color-ink);
}

/* Un solo banner a todo el ancho (home EN, sin el video de Chris Skinner) */
.promo-banners--single {
  grid-template-columns: 1fr;
}

/* ================================================================ Blog (tools/import-blog.ps1) */

.page-banner--gradient {
  background: linear-gradient(110deg, var(--color-ink) 0%, var(--color-teal) 100%);
}

/* ---------------------------------------------------------------- Entrada: cabecera */
.post-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 345px;
  margin: 15px var(--gutter) 0;
  padding: 60px clamp(24px, 4vw, 60px);
  background: var(--color-teal-dark) var(--post-bg) center / cover no-repeat;
  color: var(--color-white);
}

.post-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.post-hero__content {
  position: relative;
  max-width: 640px;
}

.post-hero__meta {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-small);
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--color-white);
}

.post-hero h1 {
  margin: 0;
  font-size: clamp(1.625rem, 1rem + 1.6vw, 2.25rem);
  line-height: var(--lh-tight);
  color: inherit;
}

/* ---------------------------------------------------------------- Entrada: barra Anterior / índice */
.post-nav {
  background: var(--bg-accent);
}

.post-nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 64px;
}

.post-nav__prev {
  font-size: var(--fs-small);
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--color-ink);
  text-decoration: none;
}

.post-nav__prev span {
  margin-right: 10px;
  font-size: 1.25rem;
}

.post-nav__prev:hover,
.post-nav__index:hover {
  color: var(--color-green);
}

.post-nav__index {
  display: inline-flex;
  padding: 10px;
  color: var(--color-ink);
}

/* icono de cuadrícula 2x2 */
.post-nav__grid {
  width: 12px;
  height: 12px;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 5px 5px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 5px 5px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 5px 5px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / 5px 5px no-repeat;
}

/* ---------------------------------------------------------------- Entrada: cuerpo */
.post-body {
  max-width: calc(var(--container-text) + 2 * var(--gutter));
  margin: 0 auto;
  padding: var(--space-7) var(--gutter) var(--space-8);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--color-ink-body);
}

.post-body > * + * {
  margin-top: var(--space-4);
}

.post-body p {
  margin: 0;
}

.post-body * + p {
  margin-top: var(--space-4);
}

.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5 {
  margin: var(--space-7) 0 var(--space-4);
  line-height: var(--lh-heading);
}

.post-body h2 {
  font-size: clamp(1.5rem, 1.1rem + 1vw, 1.875rem);
}

.post-body h3 {
  font-size: 1.375rem;
}

.post-body h4,
.post-body h5 {
  font-size: var(--fs-h3);
}

.post-body a {
  color: var(--color-green);
  text-decoration: underline;
}

.post-body a:hover {
  color: var(--color-teal);
}

.post-body ul,
.post-body ol {
  margin: var(--space-4) 0;
  padding-left: 1.4em;
}

.post-body li + li {
  margin-top: var(--space-2);
}

.post-body img {
  max-width: 100%;
  height: auto;
}

.post-body blockquote {
  margin: var(--space-7) 0;
  padding: var(--space-2) 0 var(--space-2) var(--space-5);
  border-left: 3px solid var(--color-green);
  font-style: italic;
}

.post-body hr {
  margin: var(--space-7) 0;
  border: 0;
  border-top: 1px solid var(--color-gray-light);
}

.post-body table {
  width: 100%;
  margin: var(--space-6) 0;
  border-collapse: collapse;
  font-size: var(--fs-text);
  line-height: 1.5;
}

.post-body td,
.post-body th {
  padding: 10px 12px;
  border: 1px solid var(--color-gray-light);
  vertical-align: top;
  text-align: left;
}

.post-body tr:first-child td,
.post-body th {
  background: var(--bg-accent);
  font-weight: var(--fw-bold);
}

/* Botón que reemplaza a los CTA de HubSpot */
.post-body .post-cta {
  color: var(--color-white);
  text-decoration: none;
  text-align: center;
}

.post-body .post-cta:hover {
  color: var(--color-white);
}

/* Recuadros ("Quizás te interese seguir leyendo", masterclass, datos) */
.post-callout {
  margin: var(--space-6) 0;
  padding: var(--space-5) var(--space-6);
  border-left: 4px solid var(--color-green);
  background: var(--bg-accent);
  text-align: center;
}

.post-callout__text {
  font-weight: var(--fw-bold);
  color: var(--color-teal-dark);
}

.post-callout__font {
  margin-top: var(--space-2);
  font-family: var(--font-wide);
  font-weight: var(--fw-black);
  font-size: 1.125rem;
}

.post-callout p {
  margin: var(--space-2) 0 0;
  background: none !important;
}

/* Preguntas frecuentes (acordeón) */
.post-body .post-faq-title {
  margin-top: var(--space-8);
}

.post-faq {
  margin: var(--space-4) 0 0;
  border-radius: var(--radius-md);
  background: var(--bg-accent);
}

.post-faq > summary {
  position: relative;
  padding: 18px 56px 18px 18px;
  font-family: var(--font-wide);
  font-weight: var(--fw-black);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-ink);
  cursor: pointer;
  list-style: none;
}

.post-faq > summary::-webkit-details-marker {
  display: none;
}

.post-faq > summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  font-size: 1.5rem;
  line-height: 1;
  transform: translateY(-50%);
}

.post-faq[open] {
  background: var(--color-green);
}

.post-faq[open] > summary {
  color: var(--color-white);
}

.post-faq[open] > summary::after {
  content: "\2212";
}

.post-faq__answer {
  padding: 0 18px 18px;
  color: var(--color-white);
}

.post-faq__answer a {
  color: var(--color-white);
}

.post-faq__answer .post-cta {
  margin-top: var(--space-3);
  background: var(--color-white);
  color: var(--color-teal-dark);
}

/* ---------------------------------------------------------------- Tarjetas e índice del blog */
.post-related {
  padding: var(--space-8) 0;
  background: var(--bg-accent);
}

.post-related__title,
.blog-list__title {
  margin: 0 0 var(--space-6);
  font-size: var(--fs-h2);
  text-transform: uppercase;
}

.blog-list__title {
  text-transform: none;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-card__link,
.blog-featured__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--color-ink);
  text-decoration: none;
}

.blog-card__link {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.blog-card__img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.blog-card__meta {
  margin: var(--space-5) var(--space-5) 0;
  font-size: 0.75rem;
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}

.blog-card__title {
  flex: 1;
  margin: var(--space-3) var(--space-5) 0;
  font-family: var(--font-wide);
  font-weight: var(--fw-black);
  font-size: 1.125rem;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
}

.blog-card__more {
  margin: var(--space-5);
  font-size: 0.75rem;
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--color-green);
}

.blog-card__link:hover .blog-card__title,
.blog-featured__link:hover .blog-featured__title {
  color: var(--color-teal);
}

.blog-featured {
  padding: var(--space-6) 0 var(--space-7);
}

.blog-featured__link {
  max-width: 1280px;
  margin: 0 auto;
}

.blog-featured__img {
  width: 100%;
  aspect-ratio: 1280 / 372;
  object-fit: cover;
}

.blog-featured .blog-card__meta,
.blog-featured .blog-card__more {
  margin-left: 0;
}

.blog-featured__title {
  max-width: 760px;
  margin-top: var(--space-3);
  font-family: var(--font-wide);
  font-weight: var(--fw-black);
  font-size: var(--fs-h2);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-heading);
}

.blog-list {
  background: var(--bg-accent);
}

@media (max-width: 767px) {
  .post-hero {
    min-height: 260px;
    margin: 0;
    padding: 40px var(--gutter);
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- Páginas de gracias (/gracias/*) */
.thanks {
  padding: var(--space-8) 0;
}

.thanks__inner {
  max-width: calc(var(--container-text) + 2 * var(--gutter));
}

.thanks__lead {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-h3);
  line-height: 1.5;
  color: var(--color-ink);
}

.thanks__video {
  display: block;
  width: 100%;
  margin: var(--space-5) 0;
  background: var(--color-black);
}

.thanks__next {
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-gray-light);
}

.thanks__next h2 {
  margin: 0 0 var(--space-4);
  font-size: 1.5rem;
}

.thanks__links {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------------------------------------------------------------- Suscripción (índice del blog) */
.subscribe-band {
  padding: var(--space-8) 0;
  background: var(--color-white);
}

.subscribe-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 60px;
  align-items: start;
}

.subscribe-band__title {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-h2);
}

.subscribe-band .lead-form {
  --lf-text: var(--color-ink);
  --lf-line: var(--color-gray-dark);
  --lf-focus: var(--color-teal);
}

.page-banner .eyebrow {
  margin: 0 0 var(--space-3);
}

@media (max-width: 991.98px) {
  .subscribe-band__grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}
.subscribe-band .field--consent a {
  color: var(--color-teal);
}

.subscribe-band .field__error {
  color: #c62832;
}