.yhe-landing-section { padding: clamp(3.5rem, 7vw, 4rem) 0; }
.yhe-landing-soft { background: #f4f7f2; }
.yhe-landing-hero { position: relative; color: #fff; background: #17271f; }
.yhe-hero-carousel, .yhe-hero-slides { position: relative; }
.yhe-hero-slide { position: relative; display: flex; min-height: min(460px, 88vh); align-items: center; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 75% 40%, #46664f, #13271d 70%); }
.yhe-hero-slide[hidden] { display: none !important; }
.yhe-hero-background, .yhe-hero-shade { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.yhe-hero-background { object-fit: cover; object-position: center; }
.yhe-hero-shade { background: linear-gradient(90deg, rgba(10, 24, 17, .88) 0%, rgba(10, 24, 17, .67) 48%, rgba(10, 24, 17, .18) 100%), linear-gradient(0deg, rgba(10, 24, 17, .22), transparent 44%); }
.yhe-hero-content { width: 100%; max-width: 1240px; padding-top: 2rem; padding-bottom: 2rem; }
.yhe-hero-copy { max-width: 700px; }
.yhe-hero-kicker { display: inline-flex; margin-bottom: 1rem; color: #d8efb6; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.yhe-hero-copy h1 { max-width: 14ch; margin: 0 0 1.15rem; color: #fff; font-size: clamp(2rem, 4vw, 3.75rem); font-weight: 400; line-height: 1.08; text-wrap: balance; }
.yhe-hero-subtitle { max-width: 42rem; margin: 0 0 1rem; color: rgba(255,255,255,.98); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.3; }
.yhe-hero-body { max-width: 40rem; margin-bottom: 1.6rem; color: rgba(255,255,255,.94); font-size: 1rem; line-height: 1.5; }
.yhe-hero-body p:last-child { margin-bottom: 0; }
.yhe-hero-controls { position: absolute; z-index: 2; right: max(1rem, calc((100vw - 1240px) / 2)); bottom: clamp(1.5rem, 4vw, 3rem); display: flex; align-items: center; gap: 1rem; }
.yhe-hero-controls[hidden] { display: none; }
.yhe-hero-arrow { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; color: #fff; background: rgba(14,31,21,.4); font-size: 1.8rem; line-height: 1; }
.yhe-hero-arrow:hover, .yhe-hero-arrow:focus-visible { color: #17251e; background: #fff; }
.yhe-hero-indicators { display: flex; align-items: center; gap: .55rem; }
.yhe-hero-indicators button { width: .65rem; height: .65rem; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.58); transition: width .2s ease, background-color .2s ease; }
.yhe-hero-indicators button.is-active { width: 1.8rem; background: #fff; }
.yhe-hero-indicators button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.yhe-section-heading { max-width: 760px; }
.yhe-section-heading h2 { color: #17251e; }
.yhe-landing-html { color: #526158; }
.yhe-landing-html > p:last-child { margin-bottom: 0; }
.yhe-demo-label { display: inline-flex; border-radius: 999px; padding: .2rem .6rem; background: #fff1c8; color: #6c4d00; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.yhe-story-grid, .yhe-feature-grid, .yhe-fit-grid, .yhe-start-grid, .yhe-resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.yhe-story-card, .yhe-feature-card, .yhe-fit-card, .yhe-start-card, .yhe-resource-card { height: 100%; padding: 1.5rem; border: 1px solid #e4eae4; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(24, 46, 34, .045); }
.yhe-story-card blockquote { margin: .8rem 0; color: #27372d; font-size: 1.05rem; line-height: 1.6; }
.yhe-story-card p, .yhe-feature-card p, .yhe-fit-card p, .yhe-start-card p, .yhe-resource-card p { margin: 0; color: #647168; }
.yhe-story-author { color: #526158; font-weight: 700; }
.yhe-feature-card h3, .yhe-fit-card h3, .yhe-start-card h3, .yhe-resource-card h3 { color: #1b3023; font-size: 1.12rem; }
.yhe-feature-icon, .yhe-resource-icon { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 1rem; border-radius: 13px; background: #eaf3dc; color: #244a2c; font-size: 1.25rem; }
.yhe-plan-family-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 2rem 0 1rem; }
.yhe-plan-family-heading h3, .yhe-recorded-plan-wrap h3 { margin: .25rem 0 0; color: #1b3023; font-size: 1.35rem; }
.yhe-plan-family-heading p { margin: 0; color: #657168; }
.yhe-plan-overline { color: #6c8e36; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.yhe-plan-period-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; }
.yhe-plan-period-card { position: relative; padding: 1.15rem; border: 1px solid #e1e8dc; border-radius: 16px; background: #fff; }
.yhe-plan-period-card.is-featured { border: 2px solid #96c34a; box-shadow: 0 12px 32px rgba(80, 120, 35, .12); }
.yhe-plan-period-card h4 { min-height: 2.5rem; margin: 0; color: #203529; font-size: 1rem; }
.yhe-plan-duration { margin: .5rem 0; color: #778278; font-size: .82rem; }
.yhe-plan-description { display: -webkit-box; min-height: 2.55rem; margin: .4rem 0; overflow: hidden; color: #647168; font-size: .78rem; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.yhe-plan-price { margin: 0; color: #1b3023; font-size: 1.35rem; font-weight: 800; }
.yhe-plan-compare { min-height: 1.2rem; margin: .1rem 0 .8rem; color: #89928b; font-size: .76rem; text-decoration: line-through; }
.yhe-plan-inclusion { margin: -.35rem 0 .8rem; color: #527033; font-size: .72rem; }
.yhe-plan-featured-label { position: absolute; top: -.65rem; right: .8rem; padding: .18rem .5rem; border-radius: 999px; background: #d7efad; color: #2f4d18; font-size: .65rem; font-weight: 800; }
.yhe-recorded-plan-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin: 1.5rem 0 2rem; padding: 1.4rem 1.6rem; border-radius: 18px; background: #eef2ed; }
.yhe-recorded-plan-wrap p { margin: .45rem 0 0; color: #647168; }
.yhe-recorded-plan-price { display: flex; align-items: center; gap: .7rem; color: #213629; white-space: nowrap; }
.yhe-recorded-plan-price span { font-size: 1.35rem; font-weight: 800; }
.yhe-recorded-plan-price small { color: #68766d; }
.yhe-empty-state { padding: 1.5rem; border: 1px dashed #b9c8b6; border-radius: 16px; color: #627267; background: rgba(255,255,255,.7); }
.yhe-team-panel { display: grid; grid-template-columns: minmax(220px, .8fr) 1.2fr; gap: 2rem; align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 28px; background: #eaf2e5; }
.yhe-team-panel.without-image { grid-template-columns: 1fr; }
.yhe-team-panel > img { width: 100%; max-height: 390px; object-fit: cover; border-radius: 18px; }
.yhe-team-panel h2 { color: #203529; }
.yhe-week-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; }
.yhe-week-day { padding: 1.1rem; border-radius: 16px; background: #fff; border: 1px solid #e3e9df; }
.yhe-week-day > span { color: #77934e; font-size: .77rem; font-weight: 800; text-transform: uppercase; }
.yhe-week-day h4 { margin: .55rem 0; color: #26382c; font-size: 1rem; }
.yhe-week-day p { margin: 0; color: #69766d; font-size: .88rem; }
.yhe-landing-explore { color: #26382c; background: #e8f0e6; }
.yhe-landing-explore .yhe-section-heading h2 { color: #17251e; }
.yhe-landing-explore .yhe-section-heading p { color: #526158; }
.yhe-landing-explore .yhe-resource-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.yhe-landing-explore .yhe-resource-card { display: flex; flex-direction: column; align-items: flex-start; border-color: #dce6d9; color: #26382c; background: #fff; }
.yhe-landing-explore .yhe-resource-card h3 { margin-bottom: .45rem; color: #1b3023; }
.yhe-landing-explore .yhe-resource-card p { color: #647168; }
.yhe-landing-explore .yhe-resource-icon { flex: 0 0 auto; color: #243a2a; }
.yhe-resource-kicker { display: block; margin: -.45rem 0 .35rem; color: #6c8e36; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.yhe-resource-subtitle { font-weight: 600; }
.yhe-resource-content { margin-top: .45rem; }
.yhe-resource-cta { margin-top: auto; }
@media (max-width: 991.98px) {
  .yhe-plan-period-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .yhe-week-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .yhe-landing-explore .yhe-resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .yhe-landing-section { padding: 3.25rem 0; }
  .yhe-hero-slide { min-height: 680px; min-height: min(760px, 88svh); }
  .yhe-hero-shade { background: linear-gradient(90deg, rgba(10, 24, 17, .78), rgba(10, 24, 17, .38)), linear-gradient(0deg, rgba(10, 24, 17, .38), transparent 70%); }
  .yhe-hero-content { padding-top: 2rem; padding-bottom: 2rem; }
  .yhe-hero-copy h1 { max-width: 16ch; }
	.yhe-hero-subtitle { max-width: 20rem; }
  .yhe-hero-controls { right: 1.25rem; bottom: 1.5rem; }
  .yhe-story-grid, .yhe-feature-grid, .yhe-fit-grid, .yhe-start-grid, .yhe-resource-grid { grid-template-columns: 1fr; }
  .yhe-landing-explore .yhe-resource-grid { grid-template-columns: 1fr; }
  .yhe-plan-period-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yhe-plan-family-heading, .yhe-recorded-plan-wrap { align-items: flex-start; flex-direction: column; }
  .yhe-recorded-plan-price { flex-wrap: wrap; }
  .yhe-team-panel { grid-template-columns: 1fr; }
  .yhe-team-panel > img { max-height: 300px; }
  .yhe-week-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
	.yhe-hero-copy h1 { max-width: 16ch; }
  .yhe-plan-period-grid { grid-template-columns: 1fr; }
  .yhe-week-grid { grid-template-columns: 1fr; }
}

/* Planes: una franja verde con opciones compactas, manteniendo datos y CTA gestionables. */
#planes.yhe-landing-plans {
  padding-top: clamp(2.75rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.75rem, 5vw, 3.5rem);
}
#planes .yhe-plans-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 1.25rem;
}
#planes .yhe-plans-heading {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}
#planes .yhe-plans-heading .yhe-kicker {
  color: #6c8e36;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
#planes .yhe-plans-heading h2 {
  margin: .35rem 0 .5rem;
  color: #183325;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.1;
}
#planes .yhe-plans-heading p {
  max-width: 42rem;
  margin: 0;
  color: #5d6c61;
  font-size: .87rem;
  line-height: 1.45;
}
#planes .yhe-plans-offers {
  display: grid;
  grid-template-columns: repeat(5, minmax(88px, 1fr)) minmax(145px, 1.18fr) minmax(195px, 1.72fr);
  align-items: stretch;
  gap: .65rem;
}
#planes .yhe-live-plan-options {
  display: grid;
  grid-column: 1 / span 5;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .65rem;
}
#planes .yhe-plan-period-button,
#planes .yhe-recorded-offer {
  display: flex;
  min-width: 0;
  min-height: 7rem;
  flex-direction: column;
  justify-content: center;
  padding: .85rem .75rem;
  border: 1px solid rgba(46, 74, 53, .12);
  border-radius: 13px;
  color: #263a2d;
  background: rgba(255, 255, 255, .78);
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
#planes .yhe-plan-period-button {
  align-items: center;
  gap: .55rem;
  text-align: center;
}
#planes .yhe-plan-period-button span {
  color: #435449;
  font-size: .86rem;
  line-height: 1.2;
}
#planes .yhe-plan-period-button strong {
  color: #193629;
  font-size: clamp(.95rem, 1.25vw, 1.15rem);
  line-height: 1.1;
  white-space: nowrap;
}
#planes .yhe-plan-period-button:hover,
#planes .yhe-recorded-offer:hover {
  transform: translateY(-2px);
  border-color: #829c72;
  background: #fff;
  box-shadow: 0 8px 20px rgba(24, 46, 34, .08);
}
#planes .yhe-plan-period-button:focus-visible,
#planes .yhe-recorded-offer:focus-visible {
  outline: 3px solid #345f40;
  outline-offset: 3px;
}
#planes .yhe-recorded-offer {
  align-items: center;
  gap: .4rem;
  background: #e6efdf;
  text-align: center;
}
#planes .yhe-recorded-offer .yhe-plan-overline {
  color: #647d4c;
  font-size: .67rem;
}
#planes .yhe-recorded-offer > strong {
  color: #24402e;
  font-size: .95rem;
  line-height: 1.2;
}
#planes .yhe-recorded-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: .25rem;
  color: #193629;
  font-size: 1.02rem;
  font-weight: 800;
}
#planes .yhe-recorded-price small {
  color: #637066;
  font-size: .72rem;
  font-weight: 500;
}
#planes .yhe-trial-offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(46, 74, 53, .1);
  border-radius: 13px;
  background: rgba(255, 255, 255, .56);
}
#planes .yhe-trial-offer-copy,
#planes .yhe-trial-offer-copy p {
  margin: 0;
  color: #4e5f53;
  font-size: .78rem;
  line-height: 1.45;
}
#planes .yhe-trial-offer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
}
@media (max-width: 1199.98px) {
  #planes .yhe-plans-band {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  #planes .yhe-plans-heading {
    display: flex;
    align-items: flex-start;
  }
  #planes .yhe-plans-heading .yhe-kicker {
    grid-column: auto;
  }
  #planes .yhe-plans-heading h2 {
    margin-bottom: 0;
  }
  #planes .yhe-plans-heading p {
    max-width: none;
  }
}
@media (max-width: 991.98px) {
  #planes .yhe-plans-offers {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  #planes .yhe-live-plan-options {
    grid-column: 1 / -1;
  }
  #planes .yhe-recorded-offer,
  #planes .yhe-trial-offer {
    grid-column: 1 / -1;
  }
  #planes .yhe-recorded-offer {
    min-height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }
  #planes .yhe-trial-offer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
@media (max-width: 767.98px) {
  #planes .yhe-plans-heading {
    display: flex;
    align-items: flex-start;
  }
  #planes .yhe-plans-heading h2 {
    margin-bottom: .45rem;
  }
  #planes .yhe-plans-offers {
    grid-template-columns: 1fr;
    gap: .55rem;
  }
  #planes .yhe-live-plan-options {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: .55rem;
  }
  #planes .yhe-plan-period-button {
    min-height: 3.35rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: .75rem 1rem;
  }
  #planes .yhe-plan-period-button strong {
    font-size: 1rem;
  }
  #planes .yhe-recorded-offer {
    min-height: 4.25rem;
    flex-wrap: nowrap;
  }
  #planes .yhe-trial-offer {
    align-items: stretch;
    flex-direction: column;
  }
  #planes .yhe-trial-offer-cta {
    width: 100%;
  }
}

/* Cómo funciona: cuatro componentes gestionados en una franja horizontal.
   Los selectores quedan limitados a esta sección para proteger el hero y las historias. */
#como-funciona .yhe-how-heading {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
#como-funciona .yhe-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}
#como-funciona .yhe-feature-card {
  height: auto;
  padding: .5rem clamp(.85rem, 2vw, 1.6rem) 1rem;
  border: 0;
  border-right: 1px solid #dce5dc;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}
#como-funciona .yhe-feature-card:last-of-type {
  border-right: 0;
}
#como-funciona .yhe-feature-icon {
  width: 2.9rem;
  height: 2.9rem;
  margin: 0 auto .8rem;
  border-radius: 50%;
  font-size: 1.35rem;
}
#como-funciona .yhe-feature-card h3 {
  margin: 0 0 .55rem;
  font-size: 1.03rem;
  line-height: 1.35;
}
#como-funciona .yhe-feature-card p {
  max-width: 18rem;
  margin: 0 auto;
  font-size: .9rem;
  line-height: 1.55;
}
#como-funciona .yhe-feature-closing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.75rem, 2vw, 1.5rem);
  margin: clamp(1.7rem, 3vw, 2.5rem) 0 0;
  color: #37523d;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-align: center;
}
#como-funciona .yhe-feature-closing::before,
#como-funciona .yhe-feature-closing::after {
  width: min(12vw, 7rem);
  height: 1px;
  background: #bdcbbd;
  content: "";
}
@media (max-width: 991.98px) {
  #como-funciona .yhe-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.25rem;
  }
  #como-funciona .yhe-feature-card:nth-child(2) {
    border-right: 0;
  }
  #como-funciona .yhe-feature-card:nth-child(3),
  #como-funciona .yhe-feature-card:nth-child(4) {
    padding-top: 1.25rem;
    border-top: 1px solid #dce5dc;
  }
}
@media (max-width: 767.98px) {
  #como-funciona .yhe-feature-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  #como-funciona .yhe-feature-card,
  #como-funciona .yhe-feature-card:nth-child(2),
  #como-funciona .yhe-feature-card:nth-child(3),
  #como-funciona .yhe-feature-card:nth-child(4) {
    display: grid;
    grid-template-columns: 2.9rem minmax(0, 1fr);
    column-gap: 1rem;
    align-items: start;
    padding: 1rem 0;
    border: 0;
    border-bottom: 1px solid #dce5dc;
    text-align: left;
  }
  #como-funciona .yhe-feature-card:last-of-type {
    border-bottom: 0;
  }
  #como-funciona .yhe-feature-icon {
    grid-row: span 2;
    margin: 0;
  }
  #como-funciona .yhe-feature-card h3,
  #como-funciona .yhe-feature-card p {
    max-width: none;
    margin-left: 0;
    text-align: left;
  }
}

/* Historias reales: una sola franja horizontal, aislada del carrusel hero. */
#historias-reales > .container {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
}
#historias-reales .yhe-stories-intro {
  max-width: none;
  margin: 0 !important;
  text-align: left !important;
}
#historias-reales .yhe-story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 1.5vw, 1.15rem);
}
#historias-reales .yhe-story-card {
  padding: clamp(1rem, 1.7vw, 1.5rem);
}
#historias-reales .yhe-story-author {
  color: #526158;
}
#historias-reales .yhe-story-card img {
  display: block;
  width: 100%;
  max-height: 250px;
  margin: 0 0 .9rem;
  border-radius: 12px;
  object-fit: cover;
}
#historias-reales .yhe-stories-cta {
  display: inline-flex;
  margin-top: 1rem;
  color: #244a36;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .22rem;
}
#historias-reales .yhe-stories-cta:focus-visible {
  outline: 3px solid #6c8e36;
  outline-offset: 4px;
}
#como-empezar .yhe-start-layout {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  width: 100%;
}
#como-empezar.yhe-landing-start {
  background: #fbf7ef;
}
#como-empezar .yhe-start-intro {
  min-width: 0;
  max-width: none;
  margin: 0 !important;
  text-align: left;
}
#como-empezar .yhe-landing-html {
  min-width: 0;
}
#como-empezar .yhe-start-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 1.5vw, 1.15rem);
}
#como-empezar .yhe-start-card {
  min-width: 0;
  padding: clamp(1rem, 1.7vw, 1.5rem);
}
@media (max-width: 767.98px) {
  #historias-reales > .container,
  #como-empezar .yhe-start-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 767.98px) {
  #historias-reales .yhe-story-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(82%, 1fr);
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: .25rem .1rem .8rem;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }
  #historias-reales .yhe-story-card {
    scroll-snap-align: start;
  }
  #como-empezar .yhe-start-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(82%, 1fr);
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: .25rem .1rem .8rem;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }
  #como-empezar .yhe-start-card {
    scroll-snap-align: start;
  }
}

/* Para quién: mitad lista gestionada, mitad imagen asociada. */
#para-ti.yhe-landing-fit {
  background: #fbf7ef;
}
#para-ti .yhe-fit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
#para-ti .yhe-fit-copy {
  min-width: 0;
}
#para-ti .yhe-fit-copy h2 {
  margin-bottom: .6rem;
  color: #203529;
}
#para-ti .yhe-fit-copy > .lead {
  margin-bottom: 1.35rem;
  color: #647168 !important;
}
#para-ti .yhe-fit-list {
  display: grid;
  gap: .9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
#para-ti .yhe-fit-list li {
  position: relative;
  padding-left: 1.65rem;
  color: #34483a;
  font-size: 1rem;
  line-height: 1.5;
}
#para-ti .yhe-fit-list li::before {
  position: absolute;
  top: .45rem;
  left: .1rem;
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: #8dad57;
  content: "";
}
#para-ti .yhe-fit-image-wrap {
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 1.08 / 1;
  border-radius: 1.5rem;
  background: #e6eadf;
}

/* Clara y el equipo: dos mitades editoriales con foto y mensaje independientes. */
#equipo.yhe-team-intro {
  background: #fff;
}
#equipo .yhe-team-halves {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.75rem);
}
#equipo .yhe-team-half {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  min-width: 0;
  gap: clamp(.9rem, 1.6vw, 1.5rem);
}
#equipo .yhe-team-crew {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  padding: clamp(1rem, 1.8vw, 1.5rem);
  border-radius: 1.25rem;
  background: #f7f5ef;
}
#equipo .yhe-team-photo-wrap {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1.35 / 1;
  border-radius: 1rem;
  background: #e9ede5;
}
#equipo .yhe-team-crew .yhe-team-photo-wrap {
  aspect-ratio: 1.35 / 1;
}
#equipo .yhe-team-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#equipo .yhe-team-demo-badge {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  padding: .25rem .5rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(23, 37, 30, .78);
  font-size: .65rem;
}
#equipo .yhe-team-photo-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: .75rem;
  color: #54703e;
  background: linear-gradient(145deg, #eaf1e1, #dfe9d5);
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
}
#equipo .yhe-team-message {
  min-width: 0;
}
#equipo .yhe-team-message h2,
#equipo .yhe-team-message h3 {
  color: #203529;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.12;
}
#equipo .yhe-team-message .lead {
  color: #647168;
  font-size: .98rem;
  line-height: 1.45;
}
#equipo .yhe-team-message .yhe-landing-html {
  color: #526158;
  font-size: .9rem;
  line-height: 1.55;
}
@media (max-width: 991.98px) {
  #equipo .yhe-team-halves {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  #equipo .yhe-team-half,
  #equipo .yhe-team-crew {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 1rem;
  }
  #equipo .yhe-team-crew {
    padding: 1rem;
  }
  #equipo .yhe-team-photo-wrap,
  #equipo .yhe-team-crew .yhe-team-photo-wrap {
    aspect-ratio: 1.35 / 1;
  }
}
@media (max-width: 420px) {
  #equipo .yhe-team-halves {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 575.98px) {
  #equipo .yhe-team-half,
  #equipo .yhe-team-crew {
    grid-template-columns: 1fr;
  }
  #equipo .yhe-team-clara .yhe-team-photo-wrap {
    order: 0;
  }
  #equipo .yhe-team-clara .yhe-team-message {
    order: 1;
  }
  #equipo .yhe-team-crew .yhe-team-message {
    order: 0;
  }
  #equipo .yhe-team-crew .yhe-team-photo-wrap {
    order: 1;
  }
  #equipo .yhe-team-photo-wrap,
  #equipo .yhe-team-crew .yhe-team-photo-wrap {
    aspect-ratio: 4 / 3;
  }
}
#para-ti .yhe-fit-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 76% center;
}
#para-ti .yhe-fit-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #527033;
  background: linear-gradient(135deg, #eaf1e1, #dce8d0);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: .12em;
}
@media (max-width: 767.98px) {
  #para-ti .yhe-fit-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  #para-ti .yhe-fit-image-wrap {
    aspect-ratio: 4 / 3;
  }
}
