/* Public entry page only. */
.hero p { text-align: left; }
.hero .hero-free-message { margin-top: 22px; color: #243f38; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; margin-top: 22px; }
.hero-subscription-link, .resources-account-link { color: #315a50; text-underline-offset: 4px; }
.hero-subscription-link { padding: 10px 0; font-size: 15px; }
.hero .hero-reassurance { font-size: 15px; line-height: 1.5; margin-top: 12px; }
.free-section .section-title p, .free-section .card p, #suscripcion p { text-align: left; }
#suscripcion { padding: 64px 0; }
#suscripcion .section-title p { max-width: 750px; }
.plan.plan-free { border: 2px solid #315a50; background: #eef3e8; }
.plan.plan-optional { background: #fff; border: 1px solid #d4dfd8; }
.plan h3 { margin-bottom: 12px; }
.plan-explanation { color: #40594f; font-size: 16px; margin-bottom: 20px; }
.plan ul { margin-top: 0; }
.plan-optional .pmc-benefit-content { background: #f2f5ef; color: #243f38; }
.plan-optional .benefit-description { color: #40594f; }
.programs-optional-note { margin-bottom: 22px; text-align: left; font-size: 16px !important; }
.pmc .section-title p { text-align: left; }
.free-resources-section { padding: 48px 0; background: #f1eee7; }
.resources-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 56px; }
.resources-copy h2 { font-size: clamp(30px, 3.4vw, 43px); }
.resources-copy > p { text-align: left; }
.resources-copy > p:not(.events-eyebrow) { color: #40594f; font-size: 18px; }
.resources-account-link { display: inline-block; margin-top: 24px; line-height: 1.5; font-weight: 600; }
.resources-carousel { position: relative; min-width: 0; }
.resources-stage { position: relative; }
.resources-window { height: 422px; overflow-y: auto; overflow-x: hidden; scroll-snap-type: y mandatory; scrollbar-width: none; position: relative; mask-image: linear-gradient(transparent,#000 12%,#000 88%,transparent); touch-action: pan-y pinch-zoom; }
.resources-window::-webkit-scrollbar { display: none; }
.resources-track { display: flex; flex-direction: column; gap: 18px; padding: 70px 8px; }
/* Only the surface scales; the slide retains its native touch/scroll alignment. */
.resource-sample { position: relative; z-index: 0; flex: 0 0 auto; min-width: 0; scroll-snap-align: center; }
.resource-sample-surface { padding: 24px; border: 1px solid #d4dfd8; border-radius: 22px; background: white; opacity: .48; transform-origin: center top; transform: translateY(-12px) scale(.8); filter: saturate(.7); transition: transform .48s ease, transform-origin .48s ease, opacity .48s ease, filter .48s ease, box-shadow .48s ease; }
.resource-sample:has(~ .is-current) .resource-sample-surface { transform-origin: center bottom; transform: translateY(12px) scale(.8); }
.resource-sample.is-current { z-index: 1; }
.resource-sample.is-current .resource-sample-surface { opacity: 1; transform-origin: center; transform: translateY(0) scale(1); filter: none; box-shadow: 0 8px 20px -15px #174b3e55; }
.resources-track.is-normalizing .resource-sample-surface { transition: none; }
.resource-sample-heading { display: flex; align-items: flex-start; gap: 14px; }
.resource-sample-icon { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: #315a50; color: #fff; }
.resource-sample-icon[data-format="Video"] { background: #3f7ccb; }
.resource-sample-icon[data-format="PDF"] { background: #e05252; }
.resource-sample-icon[data-format="Audio"] { background: #7656c8; }
.resource-sample-icon[data-format="Imagen"] { background: #df8a35; }
.resource-sample-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.resource-sample h3 { font-family: 'Lora',serif; font-size: 23px; line-height: 1.25; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.resource-sample-description { margin: 16px 0 12px; color: #596b63; font-size: 16px; line-height: 1.5; text-align: left; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.resource-sample-meta { margin: 0 0 8px; color: #40594f; font-size: 14px; text-align: left; }
.resource-sample-link { display: inline-flex; align-items: center; min-height: 44px; color: #174b3e; font-weight: 700; text-underline-offset: 4px; }
.resources-controls { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.resources-controls button { position: absolute; left: 50%; transform: translateX(-50%); display: grid; place-items: center; padding: 0; width: 48px; height: 48px; border: 1px solid #d1ddd4; border-radius: 50%; background: #fffdf8; color: #174b3e; box-shadow: 0 3px 12px #173b2c26; cursor: pointer; pointer-events: auto; }
#resources-prev { top: 6px; }
#resources-next { bottom: 6px; }
.resources-controls button:hover { background: #e7efea; }
.resources-controls svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#resources-position { font-size: 13px; color: #40594f; }
.resources-footer { display: flex; align-items: center; justify-content: center; gap: 8px; }
.resources-motion { display: block; min-height: 44px; border: 0; background: transparent; color: #315a50; font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; margin: 0; padding: 8px 12px; cursor: pointer; }
#resources-status { padding: 28px; text-align: left; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.resources-window:has(.resource-sample:only-child) { height: auto; mask-image: none; }
.resources-window:has(.resource-sample:only-child) .resources-track { padding: 16px 0; }
@media (max-width: 800px) {
  .resources-layout { grid-template-columns: 1fr; gap: 16px; }
  .resources-copy { max-width: 600px; }
  .resources-copy h2 { font-size: 32px; }
  .hero-actions { gap: 8px 18px; }
  .hero .hero-free-message { margin-top: 16px; }
  #suscripcion { padding: 40px 0; }
  .plan { padding: 28px; }
}
@media (max-width: 480px) {
  header .nav-actions .button { padding: 11px 8px; font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero .hero-reassurance { margin-top: 6px; }
  .resources-track { padding-left: 0; padding-right: 0; }
  .resource-sample-surface { padding: 20px 16px; border-radius: 18px; }
  .resource-sample h3 { font-size: 20px; }
  .resource-sample-heading { gap: 10px; }
  .resource-sample-icon { flex-basis: 36px; height: 36px; border-radius: 10px; }
  .resource-sample-icon svg { width: 22px; height: 22px; }
  .resource-sample-description { font-size: 15px; }
  .resources-controls button { width: 44px; height: 44px; }
  .free-resources-section { padding: 36px 0; }
}
@media (prefers-reduced-motion: reduce) { .resource-sample-surface { transition: none; } }
