.hero {
  position: relative;
  isolation: isolate;
  min-height: min(780px, 84svh);
  display: grid;
  align-items: end;
  overflow: clip;
  color: var(--color-white);
  background: var(--color-deep);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -3;
  object-fit: cover;
  object-position: center 58%;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 20, 25, 0.32) 0%, rgba(12, 20, 25, 0.18) 46%, rgba(12, 20, 25, 0.08) 100%),
    linear-gradient(0deg, rgba(26, 41, 51, 0.36) 0%, rgba(26, 41, 51, 0.06) 45%, rgba(26, 41, 51, 0.08) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: clamp(28px, 6vw, 72px);
  padding-top: clamp(82px, 8vw, 128px);
  padding-bottom: clamp(40px, 5vw, 68px);
}

.hero-copy {
  max-width: 640px;
}

.hero-lead {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.12rem, 2.5vw, 1.55rem);
  line-height: 1.35;
  font-weight: 650;
}

.story {
  background:
    linear-gradient(180deg, rgba(244, 240, 223, 0.88), rgba(251, 248, 234, 1)),
    radial-gradient(circle at 88% 18%, rgba(242, 230, 109, 0.2), transparent 32%);
}

.story .container {
  display: grid;
  gap: clamp(34px, 7vw, 88px);
}

.story-block {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.88fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.story-copy {
  max-width: 760px;
}

.story-title {
  margin: 0 0 26px;
  color: var(--color-ink);
  font-size: clamp(2.5rem, 5vw, 5.7rem);
  line-height: 0.92;
}

.story-title.script {
  font-style: italic;
}

.story-copy h3 {
  margin: 0 0 26px;
  font-size: clamp(1.45rem, 2vw, 2.35rem);
  line-height: 1.08;
}

.story-copy p {
  margin: 0 0 26px;
  color: rgba(36, 38, 38, 0.9);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.42;
}

.story-copy p:last-child {
  margin-bottom: 0;
}

.story-media {
  margin: 0;
}

.story-media img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 26px 60px rgba(26, 41, 51, 0.12);
}

.story-media-focus-up img {
  object-position: center 42%;
}

.story-media-focus-down img {
  object-position: center 72%;
}

.story-block-gallery {
  align-items: stretch;
}

.story-media-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 26px 60px rgba(26, 41, 51, 0.12);
}

.story-media-panel {
  margin: 0;
  min-height: clamp(280px, 34vw, 400px);
}

.story-media-split img {
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
}

.programs {
  background:
    linear-gradient(180deg, rgba(244, 240, 223, 0.88), rgba(251, 248, 234, 1)),
    radial-gradient(circle at 88% 18%, rgba(242, 230, 109, 0.2), transparent 32%);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-grid > .program-card:last-child:nth-child(3n + 1) {
  grid-column: 2 / 3;
}

.program-card {
  position: relative;
  min-height: 560px;
  perspective: 1400px;
  transition: min-height 240ms ease;
}

.program-card-inner {
  position: relative;
  min-height: 560px;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 600ms ease;
}

.program-card.is-flipped {
  min-height: 760px;
}

.program-card.is-flipped .program-card-inner {
  min-height: 760px;
}

.program-card.featured.is-flipped {
  min-height: 620px;
}

.program-card.featured.is-flipped .program-card-inner {
  min-height: 620px;
}

.program-card.featured,
.program-card.featured .program-card-inner,
.program-card.featured .program-face {
  min-height: 660px;
}

.program-card[data-program-name="Plan Fuerza"].is-flipped {
  min-height: 1120px;
}

.program-card[data-program-name="Plan Fuerza"].is-flipped .program-card-inner,
.program-card[data-program-name="Plan Fuerza"].is-flipped .program-face {
  min-height: 1120px;
}

.program-card.is-flipped .program-card-inner {
  transform: rotateY(180deg);
}

.program-face {
  position: absolute;
  inset: 0;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 54px rgba(26, 41, 51, 0.08);
  backface-visibility: hidden;
}

.program-front {
  z-index: 2;
}

.program-card-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(36, 38, 38, 0.14);
  border-radius: 999px;
  color: rgba(36, 38, 38, 0.72);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.program-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.cart-choice-select {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(36, 38, 38, 0.14);
  border-radius: 16px;
  color: rgba(36, 38, 38, 0.82);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
}

.program-card-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(36, 38, 38, 0.14);
  border-radius: 999px;
  color: var(--color-white);
  background: var(--color-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.program-card-add.is-added {
  color: var(--color-deep);
  background: var(--color-lime);
  border-color: rgba(242, 230, 109, 0.6);
}

.program-card.featured .program-front {
  color: var(--color-bone);
  background: var(--color-deep);
  border-color: rgba(242, 230, 109, 0.36);
}

.program-card.featured .program-front .check-list li,
.program-card.featured .program-front p {
  color: rgba(244, 240, 223, 0.78);
}

.program-card.featured .program-card-hint {
  border-color: rgba(242, 230, 109, 0.28);
  color: rgba(244, 240, 223, 0.8);
}

.program-card.featured .program-card-add {
  border-color: rgba(242, 230, 109, 0.34);
  color: var(--color-deep);
  background: var(--color-lime);
}

.program-card.featured .program-card-add.is-added {
  color: rgba(244, 240, 223, 0.88);
  background: rgba(242, 230, 109, 0.14);
}

.program-card.featured .cart-choice-select {
  border-color: rgba(242, 230, 109, 0.24);
  color: rgba(36, 38, 38, 0.82);
  background: rgba(244, 240, 223, 0.94);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.price {
  display: block;
  width: 100%;
  text-align: center;
  color: var(--color-deep);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 950;
  line-height: 0.95;
}

.featured .price {
  color: var(--color-lime);
}

.program-card h3 {
  margin: 36px 0 14px;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1;
  letter-spacing: 0;
}

.program-card-title-centered {
  text-align: center;
}

.program-card p {
  margin: 0 0 28px;
  color: rgba(36, 38, 38, 0.72);
  text-align: justify;
}

.program-card[data-program-name="Plan Fuerza"] .program-front p {
  text-align: justify;
}

.program-card .check-list {
  margin-top: auto;
}

.program-back {
  justify-content: flex-start;
  gap: 10px;
  overflow-y: auto;
  transform: rotateY(180deg);
  background: rgba(255, 255, 255, 0.94);
}

.program-card[data-program-name="Plan Fuerza"] .program-back {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.program-back-action {
  display: inline-flex;
  align-items: center;
  align-self: center;
  margin-top: auto;
  padding: 8px 12px;
  border: 1px solid rgba(36, 38, 38, 0.14);
  border-radius: 999px;
  color: rgba(36, 38, 38, 0.72);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.program-card.featured .program-back {
  color: var(--color-bone);
  background: rgba(26, 41, 51, 0.98);
  border-color: rgba(242, 230, 109, 0.36);
}

.program-card.featured .program-back-action {
  border-color: rgba(242, 230, 109, 0.28);
  color: rgba(244, 240, 223, 0.8);
}

.program-back-label {
  margin: 0;
  color: var(--color-deep) !important;
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.program-card.featured .program-back-label {
  color: var(--color-lime) !important;
}

.program-back-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.program-back-list li {
  color: rgba(36, 38, 38, 0.88);
  font-size: 0.95rem;
  line-height: 1.35;
}

.program-card.featured .program-back-list li {
  color: rgba(244, 240, 223, 0.86);
}

.merch {
  background: var(--color-deep);
}

.merch-head {
  margin-bottom: clamp(28px, 5vw, 48px);
}

.merch-head h2 {
  color: var(--color-bone);
}

.merch-head p {
  max-width: 620px;
  margin: 18px auto 0;
  color: rgba(244, 240, 223, 0.8);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.merch-grid > .merch-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: min(100%, calc((100% - clamp(18px, 2vw, 28px)) / 2));
  justify-self: center;
}

.merch-card {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(14px, 2vw, 20px);
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid rgba(36, 38, 38, 0.1);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: 0 18px 42px rgba(26, 41, 51, 0.08);
}

.merch-media {
  margin: 0;
  position: relative;
  min-height: clamp(240px, 26vw, 360px);
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(242, 230, 109, 0.28), transparent 48%),
    linear-gradient(180deg, rgba(250, 246, 230, 0.95), rgba(244, 240, 223, 0.98));
}

.merch-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.merch-media-carousel {
  isolation: isolate;
}

.merch-card-carousel:first-child .merch-media-carousel {
  background: var(--color-white);
}

.merch-card-carousel:first-child .merch-carousel-track img {
  object-fit: contain;
  object-position: center center;
  background: transparent;
}

.merch-media-carousel-shirt .merch-carousel-track img {
  object-fit: contain;
  object-position: center center;
  background: transparent;
  transform: scale(1.18);
}

.merch-media-carousel-shirt .merch-carousel-track img.merch-image-no-zoom {
  transform: scale(1);
}

.merch-media-carousel-shirt > img {
  object-fit: contain;
  object-position: center center;
  background: transparent;
  transform: scale(0.9);
}

.merch-media-carousel-shirt {
  background: var(--color-white);
}

.merch-carousel-track {
  position: absolute;
  inset: 0;
}

.merch-carousel-track img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 260ms ease;
}

.merch-carousel-track img.is-active {
  opacity: 1;
}

.merch-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: var(--color-white);
  background: rgba(26, 41, 51, 0.68);
  backdrop-filter: blur(12px);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.merch-carousel-control:hover {
  background: rgba(26, 41, 51, 0.84);
}

.merch-carousel-prev {
  left: 10px;
}

.merch-carousel-next {
  right: 10px;
}

.merch-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(26, 41, 51, 0.44);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.merch-carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.merch-carousel-dots button.is-active {
  background: var(--color-lime);
  transform: scale(1.18);
}

.merch-content {
  display: grid;
  align-content: start;
  gap: 10px;
}

.merch-content .price {
  text-align: center;
}

.merch-content h3 {
  margin: 0;
  color: var(--color-deep);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1;
  text-align: center;
}

.merch-content p {
  margin: 0;
  color: rgba(36, 38, 38, 0.74);
  font-size: 0.96rem;
  line-height: 1.45;
  text-align: center;
}

.merch-add {
  justify-self: center;
  margin-top: 4px;
}

.merch-discount {
  padding: 0 0 clamp(44px, 6vw, 72px);
  background: var(--color-deep);
}

.merch-discount-copy {
  margin: 0;
  text-align: center;
  color: rgba(244, 240, 223, 0.82);
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
  font-weight: 700;
}

.merch-discount-link {
  color: var(--color-lime);
}

.pricing {
  color: var(--color-bone);
  background:
    linear-gradient(135deg, rgba(26, 41, 51, 0.98), rgba(36, 38, 38, 0.98)),
    var(--color-deep);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.pricing-copy p {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(244, 240, 223, 0.76);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.pricing-copy p:last-child {
  margin-bottom: 0;
}

.pricing-check-list {
  margin-top: 28px;
}

.pricing-check-list li {
  color: rgba(244, 240, 223, 0.82);
}

.pricing-groups {
  display: grid;
  gap: 18px;
}

.pricing-accordion {
  border: 1px solid rgba(244, 240, 223, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.pricing-accordion summary {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 56px 18px 22px;
  color: var(--color-lime);
  background: rgba(242, 230, 109, 0.08);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.pricing-accordion summary::-webkit-details-marker {
  display: none;
}

.pricing-accordion summary::after {
  content: "⌄";
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--color-lime);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(calc(-50% + 1px)) rotate(0deg);
  transform-origin: center;
  transition: transform 220ms ease;
}

.pricing-accordion[open] summary::after {
  transform: translateY(calc(-50% + 1px)) rotate(180deg);
}

.pricing-note {
  max-width: 470px;
  font-size: 0.98rem;
  color: rgba(244, 240, 223, 0.68);
}

.pricing-table {
  display: grid;
  overflow: hidden;
}

.pricing-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 76px;
  padding: 18px clamp(18px, 4vw, 32px);
  border-top: 1px solid rgba(244, 240, 223, 0.14);
}

.pricing-table .pricing-row:first-child {
  border-top: 0;
}

.pricing-row strong {
  color: var(--color-lime);
  font-size: clamp(1.35rem, 2.8vw, 2.15rem);
  line-height: 1;
}

.pricing-row-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(242, 230, 109, 0.26);
  border-radius: 999px;
  color: var(--color-bone);
  background: rgba(242, 230, 109, 0.08);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.pricing-row-add.is-added {
  color: var(--color-deep);
  background: var(--color-lime);
  border-color: rgba(242, 230, 109, 0.6);
}

.pricing-accordion-action {
  display: flex;
  align-items: end;
  gap: 16px;
  justify-content: center;
  padding: 18px clamp(18px, 4vw, 32px) 22px;
  border-top: 1px solid rgba(244, 240, 223, 0.14);
}

.testimonials {
  background:
    linear-gradient(180deg, rgba(244, 240, 223, 0.94), rgba(251, 248, 234, 1)),
    radial-gradient(circle at 15% 18%, rgba(242, 230, 109, 0.18), transparent 28%);
}

.testimonials-head {
  margin-bottom: clamp(26px, 4vw, 42px);
}

.testimonials-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 24vw);
  gap: clamp(14px, 1.8vw, 22px);
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.testimonial-video-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(36, 38, 38, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(26, 41, 51, 0.08);
  scroll-snap-align: start;
}

.testimonial-video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: rgba(244, 240, 223, 0.98);
  border: 0;
}

.cta {
  position: relative;
  overflow: clip;
  color: var(--color-white);
  background: var(--color-deep);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.cta h2 {
  max-width: 900px;
  margin: 0 auto;
}

.team-section {
  position: relative;
  overflow: clip;
  color: var(--color-white);
  background: var(--color-deep);
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
}

.team-copy {
  text-align: center;
}

.team-copy h2 {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(2.6rem, 5vw, 5.6rem);
  line-height: 0.92;
}

.team-media {
  margin: 0;
  width: min(100%, 860px);
  margin-inline: auto;
}

.team-media img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  transform: none;
  border-radius: calc(var(--radius) * 2);
  box-shadow: 0 28px 60px rgba(11, 18, 23, 0.34);
}

@media (max-width: 980px) {
  .story-block,
  .merch-card,
  .pricing-layout,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .story-block .story-copy {
    order: 1;
  }

  .story-block .story-media {
    order: 2;
  }

  .story-block .story-media:not(.story-media-split) {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .story-block .story-media:not(.story-media-split) img {
    aspect-ratio: 1 / 0.7;
  }

  .story-block .story-media-no-zoom-mobile img {
    aspect-ratio: auto;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 50% 46%;
    background: transparent;
    transform: scale(1.02);
    transform-origin: 50% 50%;
  }

  .story-block .story-media-no-zoom-mobile {
    width: min(100%, 560px);
    height: 540px;
    border-radius: var(--radius);
    overflow: hidden;
  }

  .story-media-split {
    max-width: 720px;
  }

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

  .program-grid > .program-card:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }

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

  .merch-grid > .merch-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }

}

@media (max-width: 680px) {
  .hero {
    min-height: clamp(440px, 118vw, 620px);
  }

  .hero-grid {
    padding-top: clamp(140px, 46vw, 240px);
    padding-bottom: 44px;
  }

  .hero-media {
    object-fit: contain;
    object-position: center 40%;
    transform: scale(1.8);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(12, 20, 25, 0.22) 0%, rgba(12, 20, 25, 0.32) 55%, rgba(26, 41, 51, 0.42) 100%);
  }

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

  .program-card-actions {
    grid-template-columns: 1fr;
  }

  .pricing-accordion-action {
    flex-direction: column;
    align-items: stretch;
  }

  .testimonials-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 78vw);
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .story .container {
    gap: 56px;
  }

  .story-title {
    margin-bottom: 18px;
  }

  .story-copy h3,
  .story-copy p {
    margin-bottom: 18px;
  }

  .story-media-split {
    grid-template-columns: 1fr 1fr;
  }

  .story-media-panel {
    min-height: clamp(260px, 62vw, 360px);
  }

  .merch-card {
    gap: 18px;
  }

  .merch-media {
    min-height: clamp(220px, 62vw, 320px);
  }

  .merch-content .price,
  .merch-content h3,
  .merch-content p {
    text-align: center;
  }

  .merch-add {
    justify-self: center;
    width: 100%;
  }

  .merch-carousel-control {
    width: 34px;
    height: 34px;
  }

  .program-card {
    min-height: 560px;
  }

  .program-card-inner {
    min-height: 560px;
  }

  .program-face {
    min-height: 560px;
  }

  .program-card.is-flipped {
    min-height: 760px;
  }

  .program-card.is-flipped .program-card-inner,
  .program-card.is-flipped .program-face {
    min-height: 760px;
  }

  .program-card[data-program-name="Plan Fuerza"].is-flipped,
  .program-card[data-program-name="Plan Fuerza"].is-flipped .program-card-inner,
  .program-card[data-program-name="Plan Fuerza"].is-flipped .program-face {
    min-height: 1280px;
  }

  .program-card.featured.is-flipped {
    min-height: 620px;
  }

  .program-card.featured.is-flipped .program-card-inner,
  .program-card.featured.is-flipped .program-face {
    min-height: 620px;
  }

  .program-card.featured,
  .program-card.featured .program-card-inner,
  .program-card.featured .program-face {
    min-height: 660px;
  }

  .pricing-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pricing-accordion-action {
    justify-content: center;
  }

  .pricing-accordion summary {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-right: 56px;
  }

}

@media (max-width: 480px) {
  .hero-grid {
    padding-top: clamp(128px, 40vw, 200px);
  }

  .hero-copy {
    transform: translateY(18px);
  }

  .hero-media {
    object-fit: contain;
    object-position: center 44%;
    transform: scale(1.24);
  }
}

@media (min-width: 1500px) {
  :root {
    --container: 1320px;
  }
}

.checkout-shell {
  display: grid;
  gap: clamp(28px, 4vw, 42px);
}

.checkout-intro {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.checkout-intro h1,
.checkout-intro h2 {
  margin: 0 0 16px;
  color: var(--color-deep);
  font-size: clamp(2.3rem, 5vw, 4.9rem);
  line-height: 0.95;
  text-wrap: balance;
}

.checkout-intro p:last-child {
  margin: 0;
  max-width: 620px;
  color: rgba(36, 38, 38, 0.72);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.checkout-selection {
  max-width: 620px;
  margin: 0 auto;
}

.checkout-selection-bottom {
  width: min(720px, 100%);
  margin-top: 8px;
  text-align: center;
}

.checkout-selection-empty {
  margin: 0;
  color: rgba(36, 38, 38, 0.72);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.checkout-selection-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-total {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(36, 38, 38, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.checkout-total-label {
  color: rgba(36, 38, 38, 0.68);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.checkout-total-value {
  color: var(--color-deep);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.checkout-whatsapp {
  min-height: 52px;
  margin-top: 14px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  color: var(--color-deep);
  background: #8ee08c;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.checkout-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(47, 128, 77, 0.18);
}

.checkout-legal-link {
  display: block;
  margin-top: 12px;
  color: var(--color-deep);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-align: center;
}

.checkout-legal-link:hover {
  color: rgba(26, 41, 51, 0.78);
}

.checkout-selection-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 54px;
  padding: 12px 56px 12px 18px;
  border: 1px solid rgba(36, 38, 38, 0.08);
  border-radius: 18px;
  color: var(--color-deep);
  background: rgba(255, 255, 255, 0.64);
  font-weight: 700;
}

.checkout-selection-item-main {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 10px;
}

.checkout-selection-item-label {
  min-width: 0;
  text-align: center;
}

.checkout-selection-select {
  max-width: 100%;
}

.checkout-selection-item-value {
  color: rgba(36, 38, 38, 0.72);
  font-size: 0.96rem;
  font-weight: 700;
  text-align: center;
}

.checkout-selection-qty {
  width: 100%;
  max-width: 100%;
}

.checkout-selection-remove {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(36, 38, 38, 0.12);
  border-radius: 12px;
  color: var(--color-deep);
  background: rgba(255, 255, 255, 0.88);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.checkout-selection-remove:hover {
  background: rgba(242, 230, 109, 0.3);
  border-color: rgba(242, 230, 109, 0.7);
  transform: scale(1.03);
}

.checkout-selection-add-size {
  justify-self: center;
}

.checkout-selection-remove:focus-visible {
  outline: 2px solid rgba(26, 41, 51, 0.28);
  outline-offset: 2px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.88fr);
  gap: clamp(20px, 3vw, 28px);
  align-items: start;
}

.checkout-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(36, 38, 38, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 26px 60px rgba(26, 41, 51, 0.1);
  backdrop-filter: blur(10px);
}

.checkout-card-head {
  margin-bottom: 24px;
}

.checkout-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--color-deep);
  background: rgba(242, 230, 109, 0.34);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cart-button {
  position: relative;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-deep);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 180ms ease, color 180ms ease;
}

.cart-button:hover {
  transform: translateY(-2px);
  color: var(--color-ink);
}

.cart-button svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: 14px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  color: var(--color-deep);
  background: var(--color-lime);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 28px);
}

.checkout-modal[hidden] {
  display: none;
}

.checkout-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 25, 0.62);
  backdrop-filter: blur(10px);
}

.checkout-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: clamp(20px, 2.8vw, 28px) clamp(22px, 3vw, 34px) clamp(22px, 3vw, 34px);
  border: 1px solid rgba(36, 38, 38, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(242, 230, 109, 0.18), transparent 26%),
    linear-gradient(180deg, #f5f1e3 0%, #fbf8ea 38%, #f0ead8 100%);
  box-shadow: 0 30px 80px rgba(12, 20, 25, 0.3);
}

.checkout-modal-close {
  position: sticky;
  top: 12px;
  right: 0;
  margin-left: auto;
  margin-bottom: 14px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(36, 38, 38, 0.12);
  border-radius: 14px;
  color: var(--color-deep);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  z-index: 6;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(12, 20, 25, 0.14);
}

@media (max-width: 680px) {
  .checkout-modal {
    align-items: flex-start;
    padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
  }

  .checkout-modal-panel {
    max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 20px);
    padding-top: 14px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .checkout-intro h2 {
    margin-bottom: 16px;
    font-size: clamp(1.9rem, 10vw, 2.8rem);
    line-height: 0.98;
  }
}

.checkout-modal-close span {
  font-size: 1.8rem;
  line-height: 1;
}

body.modal-open {
  overflow: hidden;
}

.checkout-card h2 {
  margin: 0;
  color: var(--color-deep);
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  line-height: 1;
}

.checkout-card h3 {
  margin: 0;
  color: var(--color-deep);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.05;
}

.payment-accordion {
  margin-bottom: 18px;
  border: 1px solid rgba(36, 38, 38, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.payment-accordion summary {
  list-style: none;
  position: relative;
  padding: 18px 52px 18px 18px;
  color: var(--color-deep);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
}

.payment-accordion summary::-webkit-details-marker {
  display: none;
}

.payment-accordion summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--color-deep);
  font-size: 1.5rem;
  line-height: 1;
  transform: translateY(-50%);
}

.payment-accordion[open] summary::after {
  content: "−";
}

.payment-accordion-body {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
  border-top: 1px solid rgba(36, 38, 38, 0.08);
}

.payment-accordion-body p {
  margin: 0;
  color: rgba(36, 38, 38, 0.8);
  font-size: 0.95rem;
  line-height: 1.45;
}

.checkout-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--color-ink);
  font-size: 0.95rem;
  font-weight: 850;
}

.field input {
  min-height: 56px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid rgba(36, 38, 38, 0.12);
  border-radius: 14px;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.92);
}

.field input::placeholder {
  color: rgba(36, 38, 38, 0.44);
}

.payment-help p {
  margin: 0;
  color: rgba(36, 38, 38, 0.78);
  font-size: 0.98rem;
  line-height: 1.45;
}

.qr-card {
  position: relative;
  overflow: hidden;
  margin-top: 26px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 20px 54px rgba(26, 41, 51, 0.12);
}

.qr-card-inline {
  margin-top: 8px;
}

.qr-card-accent {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 8px solid #f7cf1f;
  border-radius: 50%;
}

.qr-card-accent-top {
  top: -82px;
  right: -66px;
  border-left-color: transparent;
  border-bottom-color: #00bcd4;
}

.qr-card-accent-bottom {
  left: -74px;
  bottom: -94px;
  border-right-color: transparent;
  border-top-color: #00c89a;
}

.qr-card-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  padding: 20px 20px 10px;
}

.qr-image {
  width: min(100%, 520px);
  margin: 0 auto;
  object-fit: contain;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
}

.qr-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px 18px;
}

.qr-brand-breb {
  color: #00d2bb;
  font-size: 1.12rem;
  font-weight: 950;
}

.qr-brand-bank {
  color: #2f3237;
  font-size: 1rem;
  font-weight: 900;
}

.payment-help {
  margin-top: 18px;
}

.legal-page {
  background:
    linear-gradient(180deg, rgba(244, 240, 223, 0.92), rgba(251, 248, 234, 1)),
    radial-gradient(circle at top right, rgba(242, 230, 109, 0.2), transparent 30%);
}

.legal-header {
  background: rgba(251, 248, 234, 0.94);
}

.legal-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-header-link,
.legal-link-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(26, 41, 51, 0.14);
  border-radius: 999px;
  color: var(--color-deep);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.legal-header-link:hover,
.legal-link-button:hover {
  background: var(--color-lime);
  box-shadow: 0 14px 34px rgba(26, 41, 51, 0.14);
  transform: translateY(-1px);
}

.legal-hero {
  padding-block: clamp(52px, 7vw, 96px) clamp(24px, 4vw, 42px);
}

.legal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.legal-hero-copy h1 {
  margin: 0 0 20px;
  color: var(--color-deep);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.95;
  max-width: 11ch;
}

.legal-hero-copy p:last-child {
  margin-bottom: 0;
}

.legal-hero-minimal {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
  padding-block: clamp(64px, 10vw, 120px);
}

.legal-hero-minimal-inner {
  display: grid;
  justify-items: start;
}

.legal-hero-minimal-inner h1 {
  margin: 0;
  color: var(--color-deep);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.94;
  max-width: 8ch;
}

.legal-plain {
  padding-block: clamp(52px, 7vw, 96px);
}

.legal-plain-inner {
  display: grid;
  gap: clamp(28px, 4vw, 40px);
}

.legal-plain-head h1 {
  margin: 0;
  color: var(--color-deep);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.98;
  max-width: none;
}

.legal-document {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(26, 41, 51, 0.1);
  border-radius: calc(var(--radius) * 2);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 56px rgba(26, 41, 51, 0.08);
}

.legal-document-text {
  margin: 0;
  color: rgba(36, 38, 38, 0.92);
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.75;
  text-align: justify;
  white-space: normal;
  word-break: normal;
}

.legal-document-text > * {
  margin: 0;
}

.legal-document-text > * + * {
  margin-top: 0.95rem;
}

.legal-document-text p {
  max-width: none;
}

.legal-document-heading {
  color: var(--color-deep);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: left;
}

.legal-document-note {
  color: rgba(36, 38, 38, 0.76);
  font-size: 0.96rem;
  font-style: italic;
  text-align: left;
}

.legal-document-list {
  margin: 0;
  padding-left: 1.4rem;
  text-align: left;
}

.legal-document-list li + li {
  margin-top: 0.55rem;
}

.legal-summary,
.legal-article,
.legal-toc,
.legal-link-strip-inner {
  border: 1px solid rgba(26, 41, 51, 0.1);
  border-radius: calc(var(--radius) * 2);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 56px rgba(26, 41, 51, 0.08);
}

.legal-summary {
  padding: 24px;
}

.legal-summary p {
  margin: 0 0 14px;
}

.legal-summary p:last-child {
  margin-bottom: 0;
}

.legal-layout {
  padding-top: 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  padding: 24px 20px;
}

.legal-toc-title {
  margin: 0 0 14px;
  color: var(--color-deep);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-toc a {
  display: block;
  padding: 10px 0;
  color: rgba(26, 41, 51, 0.84);
  font-weight: 700;
  border-top: 1px solid rgba(26, 41, 51, 0.08);
}

.legal-toc a:first-of-type {
  border-top: 0;
}

.legal-article {
  padding: clamp(24px, 4vw, 44px);
}

.legal-section + .legal-section {
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid rgba(26, 41, 51, 0.1);
}

.legal-section h2,
.legal-section h3,
.legal-section h4 {
  color: var(--color-deep);
}

.legal-section h2 {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.02;
}

.legal-section h3 {
  margin: 28px 0 12px;
  font-size: clamp(1.16rem, 2vw, 1.48rem);
}

.legal-section h4 {
  margin: 22px 0 10px;
  font-size: 1.02rem;
}

.legal-section p,
.legal-section li {
  color: rgba(36, 38, 38, 0.9);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-section ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.legal-part-label {
  margin-bottom: 12px;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-acceptance-box {
  padding: 24px;
  border: 1px solid rgba(26, 41, 51, 0.12);
  border-radius: calc(var(--radius) * 1.5);
  background: linear-gradient(180deg, rgba(242, 230, 109, 0.18), rgba(255, 255, 255, 0.92));
}

.legal-link-strip {
  padding: 0 0 clamp(64px, 8vw, 118px);
}

.legal-link-strip-inner {
  padding: clamp(24px, 4vw, 38px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.legal-link-strip-inner h2 {
  margin: 0 0 10px;
  color: var(--color-deep);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.04;
  max-width: 18ch;
}

.legal-link-strip-inner p:last-child {
  margin-bottom: 0;
}

.footer-legal-link {
  color: var(--color-deep);
  font-weight: 500;
}

.footer-legal-link:hover {
  text-decoration: underline;
}

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

  .legal-hero-grid,
  .legal-grid,
  .legal-link-strip-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-toc {
    position: static;
  }

  .legal-hero-copy h1 {
    max-width: none;
  }

  .legal-link-button {
    width: 100%;
  }

  .legal-header-link {
    min-height: 40px;
    padding-inline: 15px;
    font-size: 0.96rem;
  }
}

@media (max-width: 680px) {
  .cart-button {
    min-height: 44px;
  }

  .team-media {
    width: min(100%, 92vw);
  }

  .checkout-modal-panel {
    padding: 14px 14px 16px;
    border-radius: 22px;
  }

  .story-block .story-media-no-zoom-mobile img {
    aspect-ratio: auto;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    background: transparent;
    transform: scale(1.2);
    transform-origin: 50% 50%;
  }

  .story-block .story-media-no-zoom-mobile {
    width: min(100%, 88vw);
    height: 520px;
    border-radius: var(--radius);
    overflow: hidden;
  }

  .checkout-card {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .qr-card-body {
    padding-inline: 16px;
  }

  .qr-brand {
    padding-inline: 14px;
  }

  .legal-summary,
  .legal-article,
  .legal-toc,
  .legal-link-strip-inner,
  .legal-acceptance-box {
    padding: 20px;
  }

  .legal-header-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .legal-header-link {
    width: 100%;
    min-height: 36px;
    max-width: 160px;
    padding-inline: 12px;
    font-size: 0.9rem;
  }

}
