/* Section rhythm and phone form heading. */
main { --space-section: clamp(46px, 4.75vw, 64px); }
main .final-hero { padding-block: 30px 38px; }
main :is(.destination-section, .faq, .school-strip) { padding-block: var(--space-section); }
main .school-strip { padding-block: clamp(20px, 3vw, 36px); }
main .final-problem .new-section-heading { margin-bottom: 20px; }
.final-problem .problem-turn { margin-top: 28px; }
main .final-services .service-copy > p { margin-bottom: 24px !important; }
.consultation-section ul { margin-block: 20px; }
.booking-card .booking-title > .booking-title-compact { display: none; }

/* Keep the native date input inside its field, including mobile WebKit. */
.booking-date-control { position: relative; display: block; min-width: 0; width: 100%; }
.acq-form .booking-date-control input[type="date"] {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.booking-date-hint, .booking-date-icon { display: none; }

/* Keep the original card layout; only the content is filled with excerpts. */
main .whatsapp-stories { --space-section: 80px; scroll-margin-top: 78px; }
.whatsapp-wall .whatsapp-proof { min-height: 180px; padding: 24px; }
.whatsapp-proof figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #687084;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}
.whatsapp-proof figcaption svg { color: #222f7a; flex: 0 0 27px; }
.whatsapp-excerpt { display: block; border-radius: 5px; }
.whatsapp-excerpt img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: inherit; }
.whatsapp-excerpt:focus-visible { outline: 2px solid #222f7a; outline-offset: 3px; }
.whatsapp-proof:focus-within { z-index: 5; }

@media (max-width: 800px) {
  main { --space-section: 36px; }
  main .final-hero { padding-block: 20px 27px; gap: 17px; }
  main :is(.video-stories, .moving-universities) .new-section-heading { margin-bottom: 20px; }
  main .consultation-section { gap: 20px; }
  .consultation-section ul { gap: 8px; margin: 14px 0 0; }
  main .booking-card .booking-title {
    font-size: clamp(15px, 4.7vw, 21px) !important;
    line-height: 1.28 !important;
    margin-bottom: 21px !important;
  }
  .booking-card .booking-title > .booking-title-full { display: none; }
  .booking-card .booking-title > .booking-title-compact { display: inline-block; white-space: nowrap; }
  .acq-form .booking-date-control input[type="date"] { -webkit-appearance: none; appearance: none; text-align: left; }
  .booking-date-control input::-webkit-date-and-time-value { min-width: 0; text-align: left; }
  .booking-date-control.is-empty input:not(:focus) { color: transparent; }
  .booking-date-control.is-empty input:not(:focus)::-webkit-datetime-edit { visibility: hidden; }
  .booking-date-control.is-empty input:not(:focus) + .booking-date-hint {
    display: block; position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
    color: #c1c9e5; font-size: 16px; line-height: 1.4; pointer-events: none;
  }
  @supports selector(input::-webkit-calendar-picker-indicator) {
    .booking-date-control input::-webkit-calendar-picker-indicator {
      position: absolute; right: 10px; top: 50%; transform: translateY(-50%); margin: 0; opacity: 0;
    }
    .booking-date-icon {
      display: block; position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
      color: #dce1f7; pointer-events: none;
    }
  }
}
@media (max-width: 767px) {
  main .whatsapp-stories { --space-section: 48px; }
  .whatsapp-wall .whatsapp-proof { min-height: 150px; padding: 14px; }
  .whatsapp-proof figcaption { gap: 7px; font-size: 9px; }
}
@media (max-width: 360px) {
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 26px; }
}
@media (max-width: 320px) {
  body > header { padding-inline: 10px; gap: 5px; }
  body > header .brand-logo { width: clamp(82px, 34vw, 104px); }
  body > header .button.outline { padding-inline: 7px; gap: 4px; }
  body > header .button.outline svg { width: 13px; }
}
