/* Homepage conversion and trust improvements — v0.2.95 */

.sds-homepage {
  --sds-home-ink: #17212b;
  --sds-home-copy: #5d6975;
  --sds-home-line: #dfe6ec;
  --sds-home-soft: #f7f9fb;
}

.sds-home-section-label {
  margin: 0 0 12px;
  color: var(--sds-blue);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .02em;
  text-transform: none;
}

.sds-home-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid var(--sds-blue);
  border-radius: 8px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.sds-home-button--primary {
  border-color: var(--sds-red);
  background: var(--sds-red);
  color: #fff;
}

.sds-home-button--secondary {
  background: #fff;
  color: var(--sds-blue);
}

.sds-home-button--primary:hover,
.sds-home-button--primary:focus-visible {
  color: #fff;
}

/* Cleaner hero booking gateway. */
.sds-review-source--booking .sds-review-source__mark--booking {
  display: grid;
  place-items: center;
  border: 1px solid #d8e5ee;
  border-radius: 8px;
  background: #fff;
  color: var(--sds-blue);
}

.sds-review-source--booking svg {
  width: 19px;
  height: 19px;
}

.sds-hero-booking__heading {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.sds-hero-booking__heading > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #d5e3ed;
  border-radius: 8px;
  color: var(--sds-blue);
}

.sds-hero-booking__heading svg {
  width: 20px;
  height: 20px;
}

.sds-hero-booking__heading h2 {
  margin: 0;
}

.sds-hero-booking__heading p {
  margin: 3px 0 0;
  color: #667480;
  font-size: 12px;
  line-height: 1.45;
}

.sds-hero-booking__fields--compact {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.sds-hero-booking button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sds-hero-booking button svg {
  width: 17px;
  height: 17px;
}

/* Strong trust strip immediately below hero. */
.sds-home-trust-strip {
  position: relative;
  z-index: 3;
  background: #fff;
  border-bottom: 1px solid var(--sds-home-line);
}

.sds-home-trust-strip__inner {
  width: min(1220px, calc(100% - 40px));
  min-height: 108px;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  margin: 0 auto;
}

.sds-home-trust-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  align-items: center;
  gap: 11px;
  padding: 22px 18px;
  border-right: 1px solid var(--sds-home-line);
  color: inherit;
  text-decoration: none;
}

.sds-home-trust-item:first-child {
  border-left: 1px solid var(--sds-home-line);
}

.sds-home-trust-item__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #d8e5ee;
  border-radius: 9px;
  background: #fafdff;
  color: var(--sds-blue);
}

.sds-home-trust-item:nth-child(even) .sds-home-trust-item__icon {
  border-color: #ecdada;
  background: #fffafa;
  color: var(--sds-red);
}

.sds-home-trust-item svg {
  width: 20px;
  height: 20px;
}

.sds-home-trust-item strong,
.sds-home-trust-item small {
  display: block;
}

.sds-home-trust-item strong {
  color: var(--sds-home-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.sds-home-trust-item small {
  margin-top: 3px;
  color: var(--sds-home-copy);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}

/* Instructor section. */
.sds-home-instructor,
.sds-home-live-booking,
.sds-home-success-preview,
.sds-home-areas {
  padding: 80px 0;
}

.sds-home-instructor {
  background: #fff;
}

.sds-home-instructor__grid {
  display: grid;
  grid-template-columns: minmax(390px,.92fr) minmax(0,1.08fr);
  align-items: center;
  gap: clamp(44px,6vw,82px);
}

.sds-home-instructor__media {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--sds-home-line);
  border-radius: 14px;
  background: #edf2f6;
}

.sds-home-instructor__media img {
  width: 100%;
  height: 570px;
  display: block;
  object-fit: cover;
}

.sds-home-instructor__media figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(218,228,236,.95);
  border-radius: 9px;
  background: rgba(255,255,255,.96);
  color: var(--sds-home-ink);
  font-size: 13px;
}

.sds-home-instructor__media figcaption span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #d8e5ee;
  border-radius: 8px;
  color: var(--sds-blue);
}

.sds-home-instructor__media figcaption svg {
  width: 18px;
  height: 18px;
}

.sds-home-instructor__media figcaption strong {
  font-weight: 600;
}

.sds-home-instructor__content h2,
.sds-home-live-booking__content h2,
.sds-home-section-header h2,
.sds-home-areas__content h2 {
  margin: 0;
  color: var(--sds-home-ink);
  font-size: clamp(36px,3.6vw,44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.03em;
}

.sds-home-instructor__content > p:not(.sds-home-section-label),
.sds-home-live-booking__content > p:not(.sds-home-section-label),
.sds-home-areas__content > p:not(.sds-home-section-label) {
  margin: 17px 0 0;
  color: var(--sds-home-copy);
  font-size: 16px;
  line-height: 1.72;
}

.sds-home-instructor__points {
  display: grid;
  gap: 12px;
  margin-top: 25px;
}

.sds-home-instructor__points > div {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  align-items: start;
  gap: 12px;
}

.sds-home-instructor__points > div > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #d9e5ee;
  border-radius: 8px;
  color: var(--sds-blue);
}

.sds-home-instructor__points svg {
  width: 19px;
  height: 19px;
}

.sds-home-instructor__points p {
  margin: 0;
}

.sds-home-instructor__points strong,
.sds-home-instructor__points small {
  display: block;
}

.sds-home-instructor__points strong {
  color: var(--sds-home-ink);
  font-size: 14px;
  font-weight: 600;
}

.sds-home-instructor__points small {
  margin-top: 3px;
  color: var(--sds-home-copy);
  font-size: 12px;
  line-height: 1.5;
}

.sds-home-instructor__actions,
.sds-home-areas__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

/* Live booking preview. */
.sds-home-live-booking {
  background: var(--sds-home-soft);
  border-block: 1px solid var(--sds-home-line);
}

.sds-home-live-booking__grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(390px,.82fr);
  align-items: center;
  gap: clamp(42px,6vw,76px);
}

.sds-home-live-booking__form {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  margin-top: 26px;
}

.sds-home-live-booking__form label {
  display: grid;
  gap: 8px;
}

.sds-home-live-booking__form label > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #3e4a55;
  font-size: 12px;
  font-weight: 500;
}

.sds-home-live-booking__form label svg {
  width: 16px;
  height: 16px;
  color: var(--sds-blue);
}

.sds-home-live-booking__form select {
  min-height: 50px;
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #d1dbe3;
  border-radius: 8px;
  background: #fff;
  color: var(--sds-home-ink);
  font: inherit;
  font-size: 14px;
}

.sds-home-live-booking__form button {
  grid-column: 1 / -1;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--sds-red);
  border-radius: 8px;
  background: var(--sds-red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.sds-home-live-booking__form button svg {
  width: 18px;
  height: 18px;
}

.sds-home-live-booking__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
}

.sds-home-live-booking__notes span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #586571;
  font-size: 12px;
}

.sds-home-live-booking__notes svg {
  width: 16px;
  height: 16px;
  color: var(--sds-blue);
}

.sds-home-calendar-preview {
  padding: 24px;
  border: 1px solid var(--sds-home-line);
  border-radius: 14px;
  background: #fff;
}

.sds-home-calendar-preview__top {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr);
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--sds-home-line);
}

.sds-home-calendar-preview__top > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #d7e4ed;
  border-radius: 9px;
  color: var(--sds-blue);
}

.sds-home-calendar-preview__top svg {
  width: 21px;
  height: 21px;
}

.sds-home-calendar-preview__top p {
  margin: 0;
}

.sds-home-calendar-preview__top strong,
.sds-home-calendar-preview__top small {
  display: block;
}

.sds-home-calendar-preview__top strong {
  color: var(--sds-home-ink);
  font-size: 15px;
  font-weight: 600;
}

.sds-home-calendar-preview__top small {
  margin-top: 3px;
  color: var(--sds-home-copy);
  font-size: 11px;
}

.sds-home-calendar-preview__week,
.sds-home-calendar-preview__days {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 6px;
}

.sds-home-calendar-preview__week {
  margin: 18px 0 7px;
}

.sds-home-calendar-preview__week span {
  color: #7a8792;
  font-size: 10px;
  font-weight: 500;
  text-align: center;
}

.sds-home-calendar-preview__days span {
  min-height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid #e1e7ec;
  border-radius: 7px;
  color: #35414b;
  font-size: 11px;
}

.sds-home-calendar-preview__days .is-selected {
  border-color: var(--sds-blue);
  background: var(--sds-blue);
  color: #fff;
}

.sds-home-calendar-preview__days .is-closed {
  border-color: transparent;
  background: #f4f6f8;
  color: #a4adb5;
}

.sds-home-calendar-preview__slots {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 7px;
  margin-top: 16px;
}

.sds-home-calendar-preview__slots span {
  min-height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid #d6e0e7;
  border-radius: 7px;
  color: var(--sds-blue);
  font-size: 10px;
  font-weight: 500;
}

.sds-home-calendar-preview__slots .is-active {
  border-color: var(--sds-red);
  background: var(--sds-red);
  color: #fff;
}

/* Success preview. */
.sds-home-success-preview {
  background: #fff;
}

.sds-home-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.sds-home-section-header > a {
  flex: 0 0 auto;
  color: var(--sds-blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.sds-home-success-preview__grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
}

.sds-home-success-preview__item {
  overflow: hidden;
  border: 1px solid var(--sds-home-line);
  border-radius: 12px;
  background: #edf2f6;
}

.sds-home-success-preview__item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  transition: transform .25s ease;
}

.sds-home-success-preview__item:hover img,
.sds-home-success-preview__item:focus-visible img {
  transform: scale(1.025);
}

/* Areas section. */
.sds-home-areas {
  background: var(--sds-home-soft);
  border-block: 1px solid var(--sds-home-line);
}

.sds-home-areas__inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(430px,.9fr);
  align-items: center;
  gap: clamp(40px,6vw,74px);
}

.sds-home-areas__cards {
  display: grid;
  gap: 11px;
}

.sds-home-areas__cards > div {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr);
  gap: 3px 13px;
  padding: 17px;
  border: 1px solid var(--sds-home-line);
  border-radius: 10px;
  background: #fff;
}

.sds-home-areas__cards > div > span {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #d8e5ee;
  border-radius: 8px;
  color: var(--sds-blue);
}

.sds-home-areas__cards svg {
  width: 20px;
  height: 20px;
}

.sds-home-areas__cards strong {
  align-self: end;
  color: var(--sds-home-ink);
  font-size: 14px;
  font-weight: 600;
}

.sds-home-areas__cards small {
  color: var(--sds-home-copy);
  font-size: 11px;
}

/* Re-order refinements and lighter typography for existing homepage sections. */
.sds-homepage .sds-lessons,
.sds-homepage .sds-pricing,
.sds-homepage .sds-google-reviews,
.sds-homepage .sds-booking-steps,
.sds-homepage .sds-faq {
  padding-top: 80px;
  padding-bottom: 80px;
}

.sds-homepage .sds-lessons__title,
.sds-homepage .sds-pricing__title,
.sds-homepage .sds-booking-steps__title,
.sds-homepage .sds-google-reviews__title,
.sds-homepage .sds-faq__title {
  font-size: clamp(36px,3.6vw,44px);
  font-weight: 600;
  letter-spacing: -.03em;
}

.sds-homepage .sds-lesson-card__title,
.sds-homepage .sds-price-card__title,
.sds-homepage .sds-booking-step-card__title,
.sds-homepage .sds-faq-item__question {
  font-weight: 600;
}

.sds-homepage .sds-lesson-card__badge,
.sds-homepage .sds-price-card__tag,
.sds-homepage .sds-price-card__pill,
.sds-homepage .sds-lessons__eyebrow,
.sds-homepage .sds-pricing__eyebrow,
.sds-homepage .sds-booking-steps__eyebrow,
.sds-homepage .sds-google-reviews__eyebrow,
.sds-homepage .sds-faq__eyebrow {
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
}

@media (max-width: 1080px) {
  .sds-home-trust-strip__inner {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .sds-home-trust-item:nth-child(4) {
    border-left: 1px solid var(--sds-home-line);
  }

  .sds-home-instructor__grid,
  .sds-home-live-booking__grid,
  .sds-home-areas__inner {
    grid-template-columns: 1fr;
  }

  .sds-home-instructor__media img {
    height: 620px;
  }

  .sds-home-calendar-preview,
  .sds-home-areas__cards {
    max-width: 720px;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .sds-home-trust-strip__inner {
    width: min(100% - 24px,1220px);
    grid-template-columns: 1fr;
    padding-block: 8px;
  }

  .sds-home-trust-item,
  .sds-home-trust-item:first-child,
  .sds-home-trust-item:nth-child(4) {
    min-height: 76px;
    padding: 12px 6px;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--sds-home-line);
  }

  .sds-home-trust-item:last-child {
    border-bottom: 0;
  }

  .sds-home-instructor,
  .sds-home-live-booking,
  .sds-home-success-preview,
  .sds-home-areas {
    padding: 54px 0;
  }

  .sds-home-instructor__grid,
  .sds-home-live-booking__grid,
  .sds-home-areas__inner {
    width: min(100% - 24px,var(--sds-container));
    gap: 32px;
  }

  .sds-home-instructor__content h2,
  .sds-home-live-booking__content h2,
  .sds-home-section-header h2,
  .sds-home-areas__content h2 {
    font-size: clamp(31px,8vw,38px);
  }

  .sds-home-instructor__media img {
    height: 420px;
  }

  .sds-home-live-booking__form {
    grid-template-columns: 1fr;
  }

  .sds-home-live-booking__form button {
    grid-column: auto;
  }

  .sds-home-section-header {
    display: grid;
    align-items: start;
    gap: 14px;
  }

  .sds-home-success-preview__grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
  }

  .sds-home-areas__actions,
  .sds-home-instructor__actions {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .sds-home-button {
    width: 100%;
    padding-inline: 10px;
    font-size: 12px;
  }

  .sds-hero-booking__fields--compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .sds-home-areas__actions,
  .sds-home-instructor__actions {
    grid-template-columns: 1fr;
  }

  .sds-home-calendar-preview {
    padding: 14px;
  }

  .sds-home-calendar-preview__days span {
    min-height: 34px;
  }
}
