/* Sobre Ruedas public page (latanish.com/sobre-ruedas/): the course's own colours over the site's base styles */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&display=swap');

.lt-home { --sr-deep: #005468; --sr-night: #003845; --sr-sun: #ffc83d; --sr-coral: #ff6b4a; --sr-leaf: #1f9d63; --sr-paper: #fffaf0;
  --sr-display: 'Fredoka', 'Nunito', system-ui, sans-serif; }

/* buttons */
.lt-home .sr-btn-go { background: var(--sr-coral); color: #fff; box-shadow: 0 5px 0 #c94a2e; }
.lt-home .sr-btn-go:hover { background: #ff5a36; }
.lt-home .sr-btn-line { background: transparent; color: inherit; border-color: currentColor; }
.lt-home .sr-btn-line:hover { background: rgba(255, 255, 255, .12); }
.lt-home button.btn { font: inherit; font-weight: 900; cursor: pointer; }
.lt-home .btn:focus-visible, .lt-home a:focus-visible, .lt-home summary:focus-visible, .lt-home input:focus-visible { outline: 3px solid var(--sr-sun); outline-offset: 3px; }

/* hero: the film is the first thing you see */
.lt-home .sr-hero { color: #fff; padding: 72px 0 80px;
  background: linear-gradient(105deg, rgba(0, 46, 58, .97) 0%, rgba(0, 70, 86, .92) 50%, rgba(0, 84, 104, .78) 100%),
              url('/dashboard/learning-program/lp/roadscape.webp') center 35% / cover, var(--sr-deep); }
.lt-home .sr-hero-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.lt-home .sr-kick { font-weight: 800; color: #9fe3f0; }
.lt-home .sr-name { font-family: var(--sr-display); font-weight: 700; font-size: clamp(3rem, 7vw, 5.2rem); line-height: .95; margin-top: 6px; letter-spacing: -.01em; }
.lt-home .sr-slogan { font-family: var(--sr-display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--sr-sun); margin-top: 10px; }
.lt-home .sr-sub { font-size: 1.15rem; font-weight: 700; color: #dcf1f5; margin-top: 18px; max-width: 34em; }
.lt-home .sr-hero .btns { margin-top: 28px; }
.lt-home .sr-hero-note { margin-top: 14px; font-weight: 700; color: #b9e2ea; font-size: .98rem; }
/* the presentation: how every trip works (any level); slides cross-fade, the chiva drives to the current one */
.lt-home .sr-show { margin: 0; --at: 0; }
.lt-home .sr-show-stage { position: relative; aspect-ratio: 16 / 10; border-radius: 26px; overflow: hidden; background: #00222b; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.lt-home .sr-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.lt-home .sr-slide.on { opacity: 1; }
.lt-home .sr-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.02); }
.lt-home .sr-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 34, 43, .92) 0%, rgba(0, 34, 43, .55) 38%, rgba(0, 34, 43, 0) 65%); }
.lt-home .sr-slide-t { position: absolute; left: 26px; right: 26px; bottom: 22px; z-index: 1; }
.lt-home .sr-slide-es { font-family: var(--sr-display); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1; color: var(--sr-sun); margin: 0; }
.lt-home .sr-slide-en { margin: 8px 0 0; font-weight: 700; color: #e6f6f9; font-size: 1.05rem; max-width: 30em; }
.lt-home .sr-say { position: absolute; z-index: 1; top: 22px; right: 22px; margin: 0; max-width: 62%; background: #fff; color: var(--sr-night);
  font-family: var(--sr-display); font-weight: 600; font-size: 1.15rem; padding: 10px 16px; border-radius: 18px 18px 6px 18px; box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  opacity: 0; transform: translateY(8px); transition: opacity .4s ease .7s, transform .4s ease .7s; }
.lt-home .sr-slide.on .sr-say { opacity: 1; transform: none; }
.lt-home .sr-show-bar { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.lt-home .sr-show-play { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); background: transparent; cursor: pointer; display: grid; place-items: center; }
.lt-home .sr-show-play span { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.lt-home .sr-show.paused .sr-show-play span { width: 0; height: 0; border-right: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.lt-home .sr-show-play:hover { background: rgba(255, 255, 255, .12); }
.lt-home .sr-show-road { position: relative; flex: 1; height: 44px; margin: 0 14px; }
.lt-home .sr-show-road::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 4px dashed rgba(255, 200, 61, .6); transform: translateY(-2px); }
.lt-home .sr-show-dot { position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: var(--sr-night); border: 4px solid var(--sr-sun); cursor: pointer; padding: 0; }
.lt-home .sr-show-dot.on { background: var(--sr-sun); }
.lt-home .sr-show-chiva { position: absolute; bottom: 50%; left: calc(var(--at) * 100%); width: 64px; height: auto; margin: 0 0 4px -32px; pointer-events: none; transition: left 1s cubic-bezier(.5, 0, .3, 1); z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .lt-home .sr-slide.on img { animation: sr-drift 6s ease-out both; }
}
@keyframes sr-drift { from { transform: scale(1.1); } to { transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .lt-home .sr-slide, .lt-home .sr-say, .lt-home .sr-show-chiva { transition: none; } }

/* the A1 trailer, in its own window from the A1 story card */
.lt-home .sr-btn-trailer { margin-top: 14px; background: var(--sr-deep); color: #fff; }
.lt-home .sr-btn-trailer:hover { background: var(--sr-night); }
.sr-trailer { border: 0; padding: 0; background: transparent; width: min(960px, calc(100vw - 24px)); }
.sr-trailer::backdrop { background: rgba(0, 20, 26, .85); }
.sr-trailer video { width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: 18px; background: #000; }
.sr-trailer form { text-align: center; margin-top: 14px; }

/* the idea: one level, one trip */
.lt-home .sr-idea-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.lt-home .sr-idea-grid article { text-align: center; padding: 8px 12px; }
.lt-home .sr-idea-grid .sr-ic { margin: 0 auto; background: #e0f4f7; color: var(--sr-deep); }
.lt-home .sr-idea-grid h3 { font-family: var(--sr-display); font-weight: 600; font-size: 1.4rem; color: var(--sr-deep); margin-top: 14px; }
.lt-home .sr-idea-grid p { color: var(--muted); margin-top: 6px; }

/* the stories: one card per level */
.lt-home .sr-stories { background: var(--sr-paper); }
.lt-home .sr-story-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; margin-top: 40px; align-items: start; }
.lt-home .sr-story-card { background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(15, 23, 42, .06); }
.lt-home .sr-story-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lt-home .sr-story-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.lt-home .sr-story-body h3 { font-family: var(--sr-display); font-weight: 600; font-size: 1.7rem; color: var(--sr-deep); line-height: 1.15; }
.lt-home .sr-story-body > p { color: var(--muted); }
.lt-home .sr-tagline-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 800; color: var(--sr-deep) !important; }
.lt-home .sr-lvl { background: var(--sr-deep); color: #fff; border-radius: 10px; padding: 2px 10px; font-family: var(--sr-display); }
.lt-home .sr-now { background: #e2f6ec; color: #13804f; border-radius: 99px; padding: 2px 10px; font-size: .9rem; }
.lt-home .sr-soon { background: #fff1c9; color: #6b4b00; border-radius: 99px; padding: 2px 10px; font-size: .9rem; }
.lt-home .sr-meta { font-weight: 800; color: var(--sr-deep) !important; font-size: .97rem; }
.lt-home .sr-story-card.is-soon { background: linear-gradient(160deg, #fff, #fff8e6); border-style: dashed; border-width: 2px; }
.lt-home .sr-soon-art { aspect-ratio: 16 / 9; display: grid; place-items: center; color: #e2b23a;
  background: radial-gradient(circle at 50% 50%, #fff3cf, #ffe6a3); }
.lt-home .sr-soon-art svg { width: 30%; height: auto; }
.lt-home .sr-route-box { border-top: 1px solid var(--line); padding-top: 12px; }
.lt-home .sr-route-box summary { cursor: pointer; font-weight: 900; color: var(--teal-dark); }
.lt-home .sr-route { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.lt-home .sr-route li { display: flex; gap: 12px; align-items: flex-start; }
.lt-home .sr-pin { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--sr-deep); border: 3px solid var(--sr-sun);
  display: grid; place-items: center; font-family: var(--sr-display); font-weight: 700; font-size: .95rem; }
.lt-home .sr-route li.is-free .sr-pin { background: var(--sr-sun); }
.lt-home .sr-stop-t { display: flex; flex-direction: column; gap: 1px; }
.lt-home .sr-stop-t small { font-weight: 800; color: var(--teal-dark); }
.lt-home .sr-route li.is-free .sr-stop-t small { color: var(--sr-leaf); }
.lt-home .sr-stop-t strong { font-family: var(--sr-display); font-weight: 600; font-size: 1.05rem; line-height: 1.2; color: var(--sr-deep); }
.lt-home .sr-stop-t span { color: var(--muted); font-size: .92rem; line-height: 1.35; }

/* how a stop works */
.lt-home .sr-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.lt-home .sr-steps article { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.lt-home .sr-ic { width: 52px; height: 52px; border-radius: 16px; background: #ffece7; color: var(--sr-coral); display: grid; place-items: center; }
.lt-home .sr-ic svg { width: 28px; height: 28px; }
.lt-home .sr-steps h3 { font-family: var(--sr-display); font-weight: 600; font-size: 1.45rem; color: var(--sr-deep); margin-top: 14px; }
.lt-home .sr-steps p { color: var(--muted); margin-top: 6px; }
.lt-home .sr-perks { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lt-home .sr-perks li { background: var(--mist); color: var(--sr-deep); font-weight: 800; border-radius: 99px; padding: 8px 16px; font-size: .97rem; }

/* plans */
.lt-home .sr-plans { background: linear-gradient(180deg, #fff, var(--mist)); }
.lt-home .sr-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; align-items: stretch; }
.lt-home .sr-plan { background: #fff; border: 2px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.lt-home .sr-plan.is-main { border-color: var(--sr-sun); box-shadow: 0 18px 40px rgba(255, 200, 61, .25); }
.lt-home .sr-plan small { font-weight: 800; color: var(--muted); }
.lt-home .sr-plan h3 { font-family: var(--sr-display); font-weight: 600; font-size: 1.6rem; color: var(--sr-deep); }
.lt-home .sr-amt { font-family: var(--sr-display); font-weight: 700; font-size: 2rem; color: var(--sr-ink, #10313a); }
.lt-home .sr-plan ul { list-style: none; padding: 0; margin: 8px 0 20px; display: grid; gap: 8px; flex: 1; }
.lt-home .sr-plan li { padding-left: 28px; position: relative; font-weight: 700; }
.lt-home .sr-plan li::before { content: ''; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 3px solid var(--sr-leaf); border-bottom: 3px solid var(--sr-leaf); transform: rotate(-45deg); }
.lt-home .sr-plan .sr-btn-line { color: var(--sr-deep); }
.lt-home .sr-plan .sr-btn-line:hover { background: var(--mist); }

/* free sign-up */
.lt-home .sr-start { background: var(--sr-night); color: #fff; }
.lt-home .sr-start-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: center; }
.lt-home .sr-start h2.title { color: #fff; }
.lt-home .sr-start-text p { color: #dcf1f5; font-size: 1.1rem; margin-top: 12px; }
.lt-home .sr-small { font-size: .95rem !important; color: #b9e2ea; }
.lt-home .sr-start a:not(.btn) { color: var(--sr-sun); font-weight: 800; }
.lt-home .sr-form { background: #fff; color: var(--ink); border-radius: 24px; padding: 26px; display: grid; gap: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.lt-home .sr-form label { display: grid; gap: 6px; font-weight: 800; }
.lt-home .sr-form input { font: inherit; font-weight: 600; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; width: 100%; }
.lt-home .sr-form input:focus { border-color: var(--teal); outline: none; }
.lt-home .sr-form label small { font-weight: 600; color: var(--muted); }
.lt-home .sr-form .sr-small { color: var(--muted); text-align: center; }
.lt-home .sr-form .sr-small a { color: var(--teal-dark); }
.lt-home .sr-form .btn { width: 100%; }
.lt-home .sr-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lt-home .sr-err { background: #fdecea; color: #a12f17; border-radius: 12px; padding: 10px 12px; font-weight: 700; }
.lt-home .sr-err a { color: #a12f17 !important; text-decoration: underline; }
.lt-home .sr-in { text-align: center; }

/* questions */
.lt-home .sr-faq .wrap { max-width: 780px; }
.lt-home .sr-faq details { border-bottom: 1px solid var(--line); padding: 16px 4px; }
.lt-home .sr-faq details:first-of-type { margin-top: 26px; }
.lt-home .sr-faq summary { font-weight: 900; font-size: 1.1rem; cursor: pointer; color: var(--sr-deep); }
.lt-home .sr-faq details p { margin-top: 8px; color: var(--muted); }
.lt-home .sr-faq a { color: var(--teal-dark); font-weight: 800; }

@media (max-width: 960px) {
  .lt-home .sr-hero-in, .lt-home .sr-start-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lt-home .sr-story-grid, .lt-home .sr-idea-grid { grid-template-columns: minmax(0, 1fr); }
  .lt-home .sr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lt-home .sr-plan-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .lt-home .sr-hero { padding: 48px 0 56px; }
  .lt-home .sr-steps { grid-template-columns: 1fr; }
  .lt-home .sr-route { grid-template-columns: minmax(0, 1fr); }
  .lt-home .sr-hero .btns .btn { flex: 1; }
}
@media (max-width: 560px) {
  .lt-home .sr-show-stage { aspect-ratio: 4 / 5; border-radius: 20px; }
  .lt-home .sr-say { top: 14px; right: 14px; font-size: 1rem; max-width: 78%; }
  .lt-home .sr-slide-t { left: 18px; right: 18px; bottom: 16px; }
}
