/* Program pages (Board & Train first, round 111). Loads after main.css and form-e.css.
   Top: the Application form, as on inquiry.html. Below it: "Still deciding?" sections for people who keep scrolling. */

/* Top: short promise beside the form */
.prog-ticks { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 0.55rem; }
.prog-ticks li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 1.05rem; }
.prog-ticks .ico { flex: none; width: 1.25rem; height: auto; margin-top: 0.2rem; color: var(--red); }
.form-card { scroll-margin-top: 92px; }
@media (max-width: 959px) { .prog-ticks { order: 2; } }
.apply .bridge-wrap { position: relative; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.apply .bridge::after { display: none; }

/* The details under the form start closed (owner, 2026-11-27). The "js" class comes from a line in the page head,
   so without JavaScript everything shows. */
.js .more-info:not(.open) { display: none; }
/* "Still deciding?" is a dark clickable card (owner picked design 5 of 6, 2026-11-27): black card, yellow label,
   white title, gray line about what is inside, yellow round arrow. Lifts on hover. */
.apply .more-toggle { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.25rem; width: min(100%, 640px); margin: 0 auto; padding: 1.4rem 1.4rem 1.4rem 1.6rem; background: var(--ink); border: 0; border-radius: 18px; color: #fff; font: inherit; letter-spacing: normal; text-transform: none; text-align: left; cursor: pointer; box-shadow: 0 20px 40px rgba(20, 20, 20, 0.18); }
.mt-text { display: grid; gap: 0.2rem; }
.mt-kicker { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun); }
.mt-title { font-family: "Oswald", sans-serif; font-weight: 700; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.1; text-transform: uppercase; }
.mt-sub { margin-top: 0.2rem; color: #cfcfcf; font-size: 0.95rem; line-height: 1.45; }
.mt-sub[hidden] { display: none; }
.mt-arrow { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sun); color: var(--ink); }
.mt-arrow svg { width: 1.35rem; height: 1.35rem; }
.apply .more-toggle[aria-expanded="true"] .mt-arrow svg { transform: rotate(180deg); }
.apply .more-toggle:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .apply .more-toggle { transition: transform 240ms var(--ease), box-shadow 240ms ease; }
  .mt-arrow, .mt-arrow svg { transition: background-color 200ms ease, transform 200ms ease; }
  .apply .more-toggle:active { transform: scale(0.985); }
}
@media (hover: hover) {
  .apply .more-toggle:hover { box-shadow: 0 26px 50px rgba(20, 20, 20, 0.26); }
  .apply .more-toggle:hover .mt-arrow { background: #fff; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .apply .more-toggle:hover { transform: translateY(-4px); } }
/* No menu on program pages (nothing to pull people away from the form), so the header keeps two columns */
@media (min-width: 1100px) { .top.prog-top { grid-template-columns: 1fr auto; } }

/* The longer Application (js/application.js): numbered part headings and the breed list */
.q-step { display: flex; align-items: center; gap: 0.75rem; margin: 1.25rem 0 0; padding-top: 1.75rem; border-top: 1px solid var(--line); font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
#form-fields > .q-step:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.q-step span { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--sun); color: var(--ink); font-size: 1rem; }
.q-note { margin: -0.6rem 0 0; color: var(--mute); font-size: 0.95rem; }
/* One part at a time: a progress bar, "Part 2 of 5", Back and Next */
.q-progress { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin: 0 0 1.25rem; }
.q-progress span { height: 6px; border-radius: 3px; background: var(--line); }
.q-progress span.on { background: var(--sun); }
.q-part { display: grid; gap: 1.35rem; }
.q-part[hidden] { display: none; }
.q-part > .q-step { margin: 0; padding-top: 0; border-top: 0; }
.q-part > .q-step:focus { outline: none; }
.q-count { margin: 0 0 -0.85rem; font-family: "Oswald", sans-serif; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.q-nav { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.q-nav .submit { margin-top: 0; width: auto; min-width: 0; flex: 1 1 10.5rem; }
.q-nav .btn { padding-left: 1.4rem; padding-right: 1.4rem; }
.q-back { flex: none; background: #fff; color: var(--ink); border: 1.5px solid var(--ink); cursor: pointer; }
.q-back[hidden] { display: none; }
@media (hover: hover) { .q-back:hover { background: var(--sun-soft); } }
@media (min-width: 600px) { .q-nav .submit { flex: none; } }
.field .breed-mix { margin-top: 0.15rem; }
.field .breed-mix[hidden], .field .breed-other[hidden] { display: none; }

/* Two column sections: intro on the left (sticky on computers), content on the right */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.split > * { max-width: none; }
.split-intro .btn { margin-top: 1.75rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; padding-left: max(var(--pad), calc((100vw - var(--max)) / 2)); padding-right: max(var(--pad), calc((100vw - var(--max)) / 2)); }
  .split-intro { position: sticky; top: 6rem; }
}

/* 1. How it works: numbered steps joined by a line */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.9rem; }
.timeline li { position: relative; display: grid; grid-template-columns: 3rem 1fr; column-gap: 1.25rem; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; top: 3rem; bottom: -1.9rem; left: 1.5rem; border-left: 2px solid var(--ink); transform: translateX(-1px); }
.timeline .n { grid-column: 1; grid-row: 1 / span 2; box-shadow: 0 0 0 6px #fff; }
.timeline h3, .timeline p { grid-column: 2; }
.timeline h3 { font-size: 1.25rem; margin: 0.55rem 0 0.35rem; }
.timeline p { margin: 0; color: #4a4a4a; }

/* 2. Care and support: dark section (the training program itself stays private, owner 2026-11-27) */
.training { background: var(--ink); color: #fff; }
.training .kicker { color: var(--sun); }
.training .head-note { color: #cfcfcf; }
.training-photo { margin: 2rem 0 0; }
.training-photo img { width: 100%; max-width: 520px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
/* The support part's group class photo, big (owner, 2026-11-27) */
.support-photo img { max-width: none; aspect-ratio: 1 / 1; }
@media (min-width: 900px) { #support.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.care-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.care-list li { padding: 1.5rem 0 1.5rem 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.18); box-shadow: inset 4px 0 0 var(--sun); }
.care-list h3 { font-size: 1.25rem; margin: 0 0 0.4rem; }
.care-list p { margin: 0; color: #cfcfcf; max-width: 52ch; }

/* 3. Owner lessons: photo beside the text */
.learn-photo { margin: 0; }
.learn-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; }
/* A tall photo in the community part (Cooper and his owner on the puppy page) */
.learn-photo.portrait { width: min(100%, 520px); justify-self: center; }
.learn-photo.portrait img { aspect-ratio: 4 / 5; }
.learn-text p { max-width: 54ch; }
.learn-quote { position: relative; display: grid; gap: 0.75rem; margin: 1.75rem 0 0; padding-left: 1.25rem; border-left: 5px solid var(--sun); }
.learn-quote .read-full { justify-self: start; }
.learn-quote .stars { color: var(--red); font-size: 1.3rem; letter-spacing: 0.1em; }
.learn-side { display: grid; gap: 1.75rem; align-content: start; }
.learn-side .learn-quote { margin-top: 0; }
.learn-quote .read-full::after { border-radius: 0; }
.learn-quote blockquote { margin: 0; font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem); line-height: 1.5; }
.learn-quote figcaption { margin-top: 0.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.learn-quote figcaption b { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.04em; }
@media (min-width: 900px) { .learn { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; } }

/* 4. Reviews from Board & Train graduates (no dog photos: they would repeat the home page) */
.prog-reviews { background: var(--sun-soft); }
.prog-reviews .cards-2 { max-width: 1100px; margin-bottom: 0; }
.prog-reviews .review figcaption { margin-top: auto; }
.with { color: var(--mute); font-size: 0.95rem; }
/* Reviews carousel: one card on phones, two side by side on computers; swipe or use the arrows and dots */
.rv { max-width: 1100px; margin: 0 auto; }
.rv-track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0; padding: 0.75rem 0.25rem 1.5rem; margin: -0.75rem -0.25rem 0; scrollbar-width: none; overscroll-behavior-x: contain; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-track:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 18px; }
/* One big review at a time on every screen (owner, 2026-11-27), with the whole excerpt showing */
.rv { max-width: 900px; }
.rv-track > .review { flex: 0 0 100%; scroll-snap-align: start; padding: clamp(1.75rem, 4vw, 3rem); }
.reviews .rv-track > .review blockquote { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; font-size: clamp(1.15rem, 1rem + 0.8vw, 1.6rem); line-height: 1.5; }
.reviews .rv-track > .review .stars { font-size: 1.6rem; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .rv-track > .review:hover { transform: translateY(-4px); } }
.rv-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 0.5rem; }
.rv-arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.rv-arrow:disabled { opacity: 0.35; cursor: default; }
@media (hover: hover) { .rv-arrow:not(:disabled):hover { background: var(--ink); color: #fff; } }
.rv-arrow:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.rv-dots { display: flex; gap: 0.15rem; }
.rv-dot { width: 28px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.rv-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: rgba(20, 20, 20, 0.25); transform: translate(-50%, -50%); }
.rv-dot[aria-current="true"]::after { width: 22px; border-radius: 5px; background: var(--red); }
.rv-dot:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; border-radius: 8px; }
.prog-reviews .center { margin-top: clamp(2.5rem, 5vw, 3.25rem); margin-bottom: 0; }

/* 5. A note from Gabriel: his photo, big, beside a letter in his own words */
.note { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.note > * { max-width: none; }
@media (min-width: 900px) { .note { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); padding-left: max(var(--pad), calc((100vw - var(--max)) / 2)); padding-right: max(var(--pad), calc((100vw - var(--max)) / 2)); } }
.note-card { max-width: 46rem; }
.note-card p:not(.kicker):not(.note-sign) { margin: 0 0 1.25rem; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.65; }
.note-card .note-lead { font-family: "Oswald", sans-serif; font-weight: 600; font-size: clamp(1.4rem, 1.15rem + 1.1vw, 2rem) !important; line-height: 1.3 !important; text-transform: none; }
.note-card .note-alone { font-family: "Oswald", sans-serif; font-weight: 600; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem) !important; color: var(--red); }
.note-sign { display: flex; align-items: center; gap: 1rem; margin: 2rem 0 0; }
.note-sign img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.note-sign span { display: grid; color: var(--mute); font-size: 0.95rem; }
.note-sign b { font-family: "Oswald", sans-serif; font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }

/* 6. Questions, folded so each opens on a tap */
.faq { border-top: 1px solid var(--line); }
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid rgba(20, 20, 20, 0.18); }
.faq details { border-bottom: 1px solid rgba(20, 20, 20, 0.18); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 64px; padding: 1rem 0; font-family: "Oswald", sans-serif; font-weight: 600; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); letter-spacing: 0.03em; text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1.5px solid var(--ink); border-radius: 50%; font-family: system-ui, sans-serif; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
.faq details p { margin: 0 0 1.25rem; max-width: 64ch; color: #333; }
@media (hover: hover) { .faq summary:hover { text-decoration: underline; text-underline-offset: 5px; } }

/* Closing call to action */
.final .btn { margin-bottom: 0; }
.final p.prog-final-call { margin: 1.5rem auto 0; font-size: 1rem; }
.prog-final-call a { font-weight: 700; white-space: nowrap; text-underline-offset: 4px; }

/* Wrong age for this program page (owner, 2026-11-27): the note under "Dog's age" with a button to the right program. */
.q-wrong-age { margin-top: 0.75rem; padding: 1rem 1.1rem 1.1rem; border: 2px solid var(--red); border-radius: 14px; background: #fdecea; color: var(--ink); }
.q-wrong-age[hidden] { display: none; }
.q-wrong-age p { margin: 0 0 0.85rem; font-size: 0.98rem; line-height: 1.5; }
.q-wrong-age b { display: block; margin-bottom: 0.25rem; color: var(--red); font-size: 1.02rem; }
.q-wrong-age .btn { display: flex; width: 100%; min-height: 48px; padding: 0.7rem 1.2rem; line-height: 1.25; text-align: center; }
