@import url("https://fonts.googleapis.com/css2?family=Shrikhand&family=Work+Sans:wght@400;500;700&display=swap");

/* Mama Duck Swims — plain CSS parts. Class names are the API. */
.mds-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-12); }
.mds-stack { display: flex; flex-direction: column; gap: var(--space-16); }

/* Button */
.mds-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8);
  height: 52px; padding: 0 28px; box-sizing: border-box;
  border: 2px solid transparent; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 16px; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  background: var(--lake-blue); color: var(--white);
}
.mds-btn:hover { background: var(--lake-blue-hover); }
.mds-btn:focus-visible, .mds-btn.is-focus { outline: 3px solid var(--duck-yellow); outline-offset: 3px; }
.mds-btn--lg { height: 64px; padding: 0 36px; font-size: 18px; }
.mds-btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.mds-btn--stop { background: var(--buoy-red); }
.mds-btn--stop:hover { background: var(--buoy-red-text); }
.mds-btn--outline { background: transparent; border-color: var(--deep-water); color: var(--deep-water); }
.mds-btn--outline:hover { background: var(--white); }
.mds-btn--light { background: var(--white); color: var(--lake-blue); }
.mds-btn--light:hover { background: var(--limestone); }
.mds-btn--outline-light { background: transparent; border-color: var(--limestone); color: var(--limestone); }
.mds-btn--outline-light:hover { background: var(--lake-blue-hover); }
.mds-btn:disabled, .mds-btn[aria-disabled="true"] { background: var(--pebble); border-color: var(--pebble); color: var(--pebble-text); cursor: not-allowed; }

/* Tag */
.mds-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; box-sizing: border-box;
  border-radius: var(--radius-pill); font-family: var(--font-body); font-size: 14px; font-weight: 700; line-height: 1.2;
  background: var(--limestone); color: var(--deep-water);
}
.mds-tag--spots { background: var(--duck-yellow); }
.mds-tag--outline { background: var(--white); border: 2px solid var(--deep-water); }
.mds-tag--blue { background: var(--lake-blue); color: var(--white); }
.mds-tag--full { background: var(--buoy-red-tint); color: var(--buoy-red-text); }

/* Text field */
.mds-field { display: flex; flex-direction: column; gap: var(--space-4); font-family: var(--font-body); color: var(--deep-water); }
.mds-field__label { font-size: 16px; font-weight: 700; }
.mds-field__hint { font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.mds-field__input {
  height: 50px; width: 100%; box-sizing: border-box; padding: 0 14px;
  border: 2px solid var(--field-border); border-radius: var(--radius-field);
  background: var(--white); color: var(--deep-water); font-family: inherit; font-size: 16px;
}
.mds-field__input:focus, .mds-field__input.is-focus { border-color: var(--lake-blue); outline: 3px solid var(--duck-yellow); outline-offset: 3px; }
.mds-field.is-error .mds-field__input { border-color: var(--buoy-red); }
.mds-field.is-error .mds-field__hint { color: var(--buoy-red-text); font-weight: 700; font-size: 13px; }
.mds-field__input:disabled { background: var(--pebble); border-color: var(--pebble); color: var(--pebble-text); }

/* Notice */
.mds-notice {
  display: flex; gap: var(--space-12); align-items: flex-start; padding: 16px 18px;
  border-radius: var(--radius-message); font-family: var(--font-body); font-size: 15px; line-height: 1.5;
  background: var(--sky-tint); color: var(--deep-water);
}
.mds-notice__title { display: block; font-weight: 700; }
.mds-notice--warn { background: var(--buoy-red-tint); color: var(--buoy-red-text); }
.mds-notice__mark { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; background: var(--lake-blue); color: var(--white); }
.mds-notice--warn .mds-notice__mark { background: var(--buoy-red); }

/* ---------- Shared bits ---------- */
.mds-h3 { margin: 0; font-family: var(--font-heading); font-weight: 400; font-size: 28px; line-height: 1.2; color: var(--lake-blue); }
.mds-eyebrow { font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lake-blue); }
.mds-icon-tile { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--limestone); display: inline-flex; align-items: center; justify-content: center; }
.mds-icon-tile svg, .mds-icon-tile img { width: 24px; height: 24px; }
/* The duck: an inline SVG (viewBox "6 6 36 36") with class mds-duck; children .mds-duck__body, .mds-duck__bill, .mds-duck__eye */
.mds-duck { display: block; overflow: visible; }
.mds-duck__body { fill: var(--duck-yellow); stroke: var(--deep-water); stroke-width: 2.2px; stroke-linejoin: round; }
.mds-duck__bill { fill: var(--buoy-red); }
.mds-duck__eye { fill: var(--deep-water); }
.mds-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-family: var(--font-body); font-size: 16px; line-height: 1.4; color: var(--deep-water); }
.mds-checklist li { position: relative; padding-left: 30px; }
.mds-checklist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; background: no-repeat center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4e79' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.8 2.8L16 10'/%3E%3C/svg%3E"); }
.mds-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-family: var(--font-body); font-size: 16px; font-weight: 700; color: var(--lake-blue); text-decoration: underline; text-underline-offset: 3px; }
.mds-link:focus-visible { outline: 3px solid var(--duck-yellow); outline-offset: 3px; border-radius: 6px; }

/* ---------- Card: lesson, price and session cards share it ---------- */
.mds-card { display: flex; flex-direction: column; gap: 18px; padding: 28px; box-sizing: border-box; background: var(--white); border: 1px solid var(--limestone-line); border-radius: var(--radius-card); font-family: var(--font-body); color: var(--deep-water); }
.mds-card--featured { border: 2px solid var(--lake-blue); }
.mds-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-12); }
.mds-card__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--limestone-line); display: flex; align-items: center; justify-content: space-between; gap: var(--space-12); }
.mds-card__price { font-size: 14px; color: var(--ink-muted); }
.mds-card__price b { font-size: 20px; color: var(--deep-water); }
.mds-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: var(--space-12); }
.mds-card__actions .mds-btn { flex: 1 1 auto; }
.mds-price__amount { margin: 0; font-family: var(--font-heading); font-weight: 400; font-size: 48px; line-height: 1.05; color: var(--lake-blue); }
.mds-price__per { font-family: var(--font-body); font-size: 16px; color: var(--ink-muted); }
.mds-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.mds-facts li { display: flex; align-items: center; gap: var(--space-8); }
.mds-facts svg { flex: none; width: 20px; height: 20px; }
.mds-card.is-full .mds-h3 { color: var(--ink-muted); }

/* ---------- Choice card (radio) ---------- */
.mds-choice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 2px solid var(--field-border); border-radius: var(--radius-panel); background: var(--white); font-family: var(--font-body); color: var(--deep-water); cursor: pointer; }
.mds-choice input { appearance: none; flex: none; width: 22px; height: 22px; margin: 2px 0 0; border: 2px solid var(--field-border); border-radius: 50%; background: var(--white); cursor: pointer; }
.mds-choice input:checked { border-color: var(--lake-blue); box-shadow: inset 0 0 0 4px var(--white); background: var(--lake-blue); }
.mds-choice:has(input:checked) { border-color: var(--lake-blue); background: var(--sky-tint); }
.mds-choice input:focus-visible { outline: 3px solid var(--duck-yellow); outline-offset: 3px; }
.mds-choice__title { display: block; font-size: 18px; font-weight: 700; }
.mds-choice__text { display: block; margin-top: 2px; font-size: 15px; line-height: 1.5; color: var(--ink-muted); }

/* ---------- Checkbox ---------- */
.mds-check { display: flex; gap: 12px; align-items: flex-start; font-family: var(--font-body); font-size: 16px; line-height: 1.5; color: var(--deep-water); cursor: pointer; }
.mds-check input { appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border: 2px solid var(--field-border); border-radius: 6px; background: var(--white) no-repeat center / 16px; cursor: pointer; }
.mds-check input:checked { border-color: var(--lake-blue); background-color: var(--lake-blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.mds-check input:focus-visible { outline: 3px solid var(--duck-yellow); outline-offset: 3px; }
.mds-check.is-error input { border-color: var(--buoy-red); }
.mds-check__hint { display: block; font-size: 13px; font-weight: 700; color: var(--buoy-red-text); }

/* ---------- Select ---------- */
.mds-select { appearance: none; height: 50px; width: 100%; box-sizing: border-box; padding: 0 44px 0 14px; border: 2px solid var(--field-border); border-radius: var(--radius-field); font-family: var(--font-body); font-size: 16px; color: var(--deep-water); cursor: pointer; background: var(--white) no-repeat right 14px center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313263b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.mds-select:focus { border-color: var(--lake-blue); outline: 3px solid var(--duck-yellow); outline-offset: 3px; }

/* ---------- Calendar ---------- */
.mds-cal { font-family: var(--font-body); color: var(--deep-water); max-width: 420px; }
.mds-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-16); }
.mds-cal__month { margin: 0; font-family: var(--font-heading); font-weight: 400; font-size: 24px; color: var(--lake-blue); }
.mds-cal__nav { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--deep-water); background: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mds-cal__nav:focus-visible { outline: 3px solid var(--duck-yellow); outline-offset: 3px; }
.mds-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mds-cal__dow { text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-muted); padding-bottom: 4px; }
.mds-cal__day { height: 44px; border-radius: var(--radius-field); border: 2px solid var(--lake-blue); background: var(--white); color: var(--lake-blue); font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.mds-cal__day:focus-visible { outline: 3px solid var(--duck-yellow); outline-offset: 2px; }
.mds-cal__day[aria-pressed="true"] { background: var(--lake-blue); color: var(--white); }
.mds-cal__day.is-full { border-color: var(--buoy-red-tint); background: var(--buoy-red-tint); color: var(--buoy-red-text); text-decoration: line-through; cursor: not-allowed; }
.mds-cal__day:disabled:not(.is-full) { border-color: var(--pebble); background: var(--pebble); color: var(--pebble-text); cursor: not-allowed; }
.mds-cal__off { height: 44px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--ink-muted); }

/* ---------- Time slots ---------- */
.mds-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-12); }
.mds-slot { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px; padding: 0 18px; border-radius: var(--radius-pill); border: 2px solid var(--lake-blue); background: var(--white); color: var(--lake-blue); font-family: var(--font-body); font-size: 16px; font-weight: 700; cursor: pointer; }
.mds-slot[aria-pressed="true"] { background: var(--lake-blue); color: var(--white); }
.mds-slot.is-full { border-color: var(--buoy-red-tint); background: var(--buoy-red-tint); color: var(--buoy-red-text); cursor: not-allowed; }
.mds-slot:focus-visible { outline: 3px solid var(--duck-yellow); outline-offset: 3px; }

/* ---------- Motion: the duck parade (ducks bob in place, never swim across) ---------- */
@keyframes mds-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.mds-parade { display: inline-flex; align-items: flex-end; gap: 3px; }
.mds-parade > .mds-duck { width: 14px; height: 14px; animation: mds-bob 1.1s ease-in-out infinite; }
.mds-parade > .mds-duck:last-child { width: 26px; height: 26px; }
.mds-parade > .mds-duck:nth-last-child(2) { animation-delay: 0.15s; }
.mds-parade > .mds-duck:nth-last-child(3) { animation-delay: 0.3s; }
.mds-parade > .mds-duck:nth-last-child(4) { animation-delay: 0.45s; }
.mds-parade--lg > .mds-duck { width: 30px; height: 30px; }
.mds-parade--lg > .mds-duck:last-child { width: 60px; height: 60px; }
.mds-btn.is-loading { cursor: progress; }
.mds-loader { display: inline-flex; flex-direction: column; align-items: center; gap: var(--space-8); font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--lake-blue); }
.mds-loader__wave { display: block; width: 240px; height: 14px; background: no-repeat left center / 240px 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 14'%3E%3Cpath d='M0 7c7.5 6 22.5 6 30 0s22.5-6 30 0 22.5 6 30 0 22.5-6 30 0 22.5 6 30 0 22.5-6 30 0 22.5 6 30 0 22.5-6 30 0' stroke='%231f4e79' stroke-width='3' fill='none'/%3E%3C/svg%3E"); }

/* Progress bar: set --value on it (style="--value: 62%"); mama sits centered above the leading edge */
.mds-progress { position: relative; padding-top: 34px; font-family: var(--font-body); color: var(--deep-water); }
.mds-progress__track { height: 12px; border-radius: 6px; background: var(--limestone); overflow: hidden; }
.mds-progress__fill { width: var(--value, 0%); height: 100%; border-radius: 6px; background: var(--lake-blue); }
.mds-progress > .mds-parade { position: absolute; top: 2px; right: calc(100% - var(--value, 0%)); margin-right: -13px; }
.mds-progress__label { display: flex; justify-content: space-between; margin-top: var(--space-8); font-size: 14px; }
.mds-progress__label span { color: var(--ink-muted); }
/* Plain top-of-page bar: no duck, no bounce */
.mds-topbar { height: 4px; background: var(--limestone); }
.mds-topbar__fill { width: var(--value, 0%); height: 100%; background: var(--lake-blue); }
/* Wait band: full-width waits such as payment */
.mds-wait { display: flex; flex-direction: column; gap: var(--space-12); padding: 28px 32px; border-radius: var(--radius-panel); background: var(--lake-blue); color: var(--white); font-family: var(--font-body); }
.mds-wait__title { font-size: 17px; font-weight: 700; }
.mds-wait__note { font-size: 14px; color: var(--sky-tint); }

/* ---------- Stepper (stepping stones) ---------- */
.mds-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); font-family: var(--font-body); position: relative; }
.mds-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 40px; height: 8px; background: repeat-x left center / 60px 8px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 8'%3E%3Cpath d='M0 4c7.5 4 22.5 4 30 0s22.5-4 30 0' stroke='%237fb3d5' stroke-width='2.4' fill='none'/%3E%3C/svg%3E"); }
.mds-steps__step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.mds-steps__duck { height: 32px; display: flex; align-items: flex-end; }
.mds-steps__duck .mds-duck { width: 20px; height: 20px; animation: mds-bob 1.1s ease-in-out infinite; }
.is-current .mds-steps__duck .mds-duck { width: 32px; height: 32px; }
.mds-steps__stone { position: relative; z-index: 1; width: 64px; height: 20px; border-radius: 50%; background: var(--limestone); border: 2px solid var(--limestone-line); box-sizing: border-box; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--ink-muted); }
.is-current .mds-steps__stone { border: 3px solid var(--lake-blue); }
.mds-steps__label { font-size: 14px; color: var(--ink-muted); }
.is-done .mds-steps__label { color: var(--deep-water); }
.is-current .mds-steps__label { color: var(--deep-water); font-weight: 700; }

/* ---------- FAQ ---------- */
.mds-faq { border: 2px solid var(--limestone-line); border-radius: var(--radius-panel); background: var(--white); font-family: var(--font-body); color: var(--deep-water); }
.mds-faq[open] { border-color: var(--lake-blue); }
.mds-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-16); min-height: 44px; padding: 14px 18px; font-size: 18px; font-weight: 700; cursor: pointer; }
.mds-faq summary::-webkit-details-marker { display: none; }
.mds-faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--limestone); color: var(--deep-water); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; line-height: 1; }
.mds-faq[open] summary::after { content: "\2212"; background: var(--lake-blue); color: var(--white); }
/* The +/- is decoration: keep screen readers from reading it out (browsers without the "/ alt" syntax use the two lines above) */
.mds-faq summary::after { content: "+" / ""; }
.mds-faq[open] summary::after { content: "\2212" / ""; }
.mds-faq summary:focus-visible { outline: 3px solid var(--duck-yellow); outline-offset: 3px; border-radius: var(--radius-panel); }
.mds-faq__answer { margin: 0; padding: 0 18px 18px; font-size: 16px; line-height: 1.6; }

/* ---------- Blue band ---------- */
.mds-band { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-16); padding: var(--space-48) var(--space-64); border-radius: var(--radius-panel); background: var(--lake-blue); color: var(--white); font-family: var(--font-body); }
.mds-band__title { margin: 0; font-family: var(--font-heading); font-weight: 400; font-size: 44px; line-height: 1.12; color: var(--duck-yellow); }
.mds-band__text { margin: 0; font-size: 18px; line-height: 1.6; color: var(--white); max-width: 560px; }
.mds-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-12); margin-top: var(--space-8); }
@media (max-width: 640px) { .mds-band { padding: var(--space-32) var(--space-24); } .mds-band__title { font-size: 32px; } }

/* ---------- Site header ---------- */
.mds-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-24); padding: 12px var(--space-24); background: var(--white); border-bottom: 1px solid var(--limestone-line); font-family: var(--font-body); }
.mds-header__brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.mds-header__brand img { width: 44px; height: 44px; }
.mds-header__name { font-family: var(--font-heading); font-size: 24px; color: var(--lake-blue); white-space: nowrap; }
.mds-header__nav { display: flex; align-items: center; gap: var(--space-24); }
.mds-header__nav a:not(.mds-btn) { min-height: 44px; display: inline-flex; align-items: center; font-size: 16px; font-weight: 700; color: var(--deep-water); text-decoration: none; }
.mds-header__nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--duck-yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.mds-header__menu { display: none; width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--limestone); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 640px) { .mds-header { padding: 10px var(--space-16); gap: var(--space-12); } .mds-header__brand { gap: 8px; } .mds-header__brand img { width: 40px; height: 40px; } .mds-header__name { font-size: 18px; } .mds-header__nav { gap: var(--space-8); } .mds-header__nav .mds-btn { padding: 0 14px; } .mds-header__nav a:not(.mds-btn) { display: none; } .mds-header__menu { display: inline-flex; } }

@media (prefers-reduced-motion: reduce) { .mds-parade > .mds-duck, .mds-steps__duck .mds-duck { animation: none; } }

.mds-i { fill: none; stroke: var(--deep-water); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
