/* Homeschool Co-op page: extras on top of /winter-camp/style.css */

/* Hero enquiry card */
.hs-hero .hero-v3-grid { align-items: start; }
.hs-hero .hero-pills { margin-top: 22px; }
.hs-form-card {
  background: #fff; border-radius: 18px; padding: 26px 26px 22px;
  box-shadow: 0 24px 60px -24px rgba(3, 10, 26, 0.55); color: var(--ink, #222);
}
.hs-form-card.is-light { box-shadow: 0 18px 44px -22px rgba(11, 31, 63, 0.28); border: 1px solid var(--border, #dfe7f0); }
.hs-form-card h3 { font-family: var(--font-serif, Georgia, serif); font-size: 22px; line-height: 1.25; color: var(--navy, #0b1f3f); margin: 6px 0 6px; }
.hs-form-card .eyebrow-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-2, #3e8dc4); }
.hs-form-card .form-sub { font-size: 14px; color: var(--muted, #5d7089); margin: 0 0 14px; }

.hs-page form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.hs-page form .form-row:has(> .form-field.full:only-child) { grid-template-columns: 1fr; }
.hs-page form .form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hs-page form .form-field.full { grid-column: 1 / -1; }
.hs-page form label { font-size: 13px; font-weight: 600; color: var(--navy, #0b1f3f); }
.hs-page form input, .hs-page form select, .hs-page form textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; color: var(--ink, #222);
  background: var(--bg-input, #fbfcfe); border: 1px solid #cfd9e6; border-radius: 10px; padding: 11px 12px; min-height: 44px;
}
.hs-page form textarea { min-height: 88px; resize: vertical; }
.hs-page form input:focus, .hs-page form select:focus, .hs-page form textarea:focus {
  outline: none; border-color: var(--blue, #5babe0); box-shadow: 0 0 0 3px rgba(91, 171, 224, 0.2);
}
.hs-page form .is-invalid { border-color: #D84343 !important; }
.hs-page .hs-enquiry .btn-submit {
  width: 100%; margin-top: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--navy, #0b1f3f); color: #fff; border: 0; border-radius: 999px; padding: 14px 20px; font-weight: 700; font-size: 15px; cursor: pointer;
}
.hs-page .hs-enquiry .btn-submit:hover { background: var(--navy-2, #0d2243); }
.hs-page .hs-enquiry .btn-submit:disabled { opacity: .6; cursor: wait; }
.hs-error { color: #D84343; font-size: 13px; margin: 10px 0 0; text-align: center; }
.hs-done { text-align: center; padding: 22px 6px; }
.hs-done .check { width: 52px; height: 52px; border-radius: 50%; background: #e8f4ec; color: #1f8a4c; display: grid; place-items: center; font-size: 26px; margin: 0 auto 12px; }
.hs-done h3 { font-size: 20px; margin: 0 0 8px; color: var(--navy, #0b1f3f); }
.hs-done.is-wide { grid-column: 1 / -1; background: #fff; border-radius: 18px; padding: 40px 24px; border: 1px solid var(--border, #dfe7f0); }

/* Stats band under the hero */
.hs-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.hs-stats div { display: flex; align-items: baseline; gap: 10px; }
.hs-stats strong { font-family: var(--font-serif, Georgia, serif); font-size: 30px; color: #fff; }
.hs-stats span { color: rgba(255, 255, 255, 0.78); font-size: 15px; }

/* Problem / solution */
.hs-checks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.hs-checks li { position: relative; padding-left: 30px; color: var(--ink, #222); line-height: 1.5; }
.hs-checks li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(91, 171, 224, 0.14); color: var(--blue-2, #3e8dc4); font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.hs-strong { font-weight: 700; color: var(--navy, #0b1f3f); margin: 16px 0 6px; }
.hs-muted { color: var(--muted, #5d7089); margin: 0 0 18px; }
.hs-solution { background: var(--bg-light, #f4f8fc); }
.hs-solution .btn-navy { margin-top: 6px; }
@media (min-width: 900px) { .hs-flip { grid-template-columns: 1fr 1fr; } }

/* Labels, centered CTAs */
.hs-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-2, #3e8dc4); text-align: center; margin: 8px 0 18px; }
.hs-center { text-align: center; margin-top: 28px; }
.hs-electives .glance-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hs-steps .glance-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .hs-electives .glance-grid, .hs-steps .glance-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hs-electives .glance-grid, .hs-steps .glance-grid { grid-template-columns: 1fr; } }

/* "More sports" tile */
.hs-more-card { display: flex; }
.hs-more { flex: 1; min-height: 160px; border-radius: 14px; border: 2px dashed #c9d6e8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--blue-2, #3e8dc4); font-weight: 700; text-align: center; padding: 16px; }

/* Videos */
.hs-video-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.hs-video { position: relative; border: 0; padding: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy, #0b1f3f); cursor: pointer; box-shadow: 0 16px 36px -20px rgba(11, 31, 63, 0.45); }
.hs-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-video .video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: rgba(11, 31, 63, 0.66); color: #fff; display: grid; place-items: center; font-size: 18px; padding-left: 3px; }
.hs-video.is-playing .video-play { display: none; }
@media (max-width: 760px) { .hs-video-row { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; } }

/* Founder */
.hs-founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 36px; align-items: center; }
.hs-founder .lunch-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .hs-founder { grid-template-columns: 1fr; } .hs-founder .lunch-photo img { aspect-ratio: 3 / 2; } }

/* Pricing */
.hs-packages { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-left: auto; margin-right: auto; }
.hs-packages .package-price .per { font-size: 16px; font-weight: 600; margin-left: 6px; opacity: .75; }
.hs-packages .badge-popular { position: static; display: inline-block; margin-bottom: 10px; }
@media (max-width: 760px) { .hs-packages { grid-template-columns: 1fr; } }

/* Enrollment summary steps */
.hs-enroll-steps { margin: 18px 0 10px; padding-left: 20px; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.45; color: #C9D4E8; }
.hs-enroll-steps strong { color: #fff; }
.hs-cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Bottom enquiry */
.hs-bottom-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.hs-bottom-grid h2 { text-align: left; }
.hs-bottom-grid .section-lede { margin-left: 0; text-align: left; }
.hs-bottom-grid .contact-rows { margin-top: 20px; }
@media (max-width: 900px) { .hs-bottom-grid { grid-template-columns: 1fr; } }

/* Booking popup */
.hs-book { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-start; justify-content: center; padding: 24px 12px; overflow-y: auto; }
.hs-book[hidden] { display: none; }
.hs-book-backdrop { position: fixed; inset: 0; background: rgba(5, 14, 32, 0.6); }
.hs-book-card { position: relative; width: 100%; max-width: 760px; background: #fff; border-radius: 18px; padding: 26px 22px 12px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5); }
.hs-book-card h3 { font-family: var(--font-serif, Georgia, serif); font-size: 24px; color: var(--navy, #0b1f3f); margin: 4px 0 6px; }
.hs-book-card .form-sub { color: var(--muted, #5d7089); margin: 0 0 12px; }
.hs-book-ok { margin: 0; color: #1f8a4c; font-weight: 700; font-size: 14px; }
.hs-book-close { position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #eef3f9; color: var(--navy, #0b1f3f); font-size: 24px; line-height: 1; cursor: pointer; }

@media (max-width: 640px) {
  .hs-page form .form-row { grid-template-columns: 1fr; }
  .hs-form-card { padding: 22px 18px 18px; }
  .hs-stats { justify-content: center; text-align: center; }
}

/* Fixes on top of the camp layout */
.camp-pricing .package-grid.hs-packages { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; gap: 28px; }
@media (max-width: 760px) { .camp-pricing .package-grid.hs-packages { grid-template-columns: 1fr; max-width: 520px; } }
.hs-founder .lunch-photo { height: auto; margin-bottom: 0; }
.hs-founder .lunch-photo img { transform: none; }
.hs-page .reg-choice input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.hs-page .reg-summary .reg-total { gap: 12px; flex-wrap: wrap; }
.hs-bottom .contact-row {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--border, #dfe7f0);
  border-radius: 14px; background: #fff; text-decoration: none; color: var(--navy, #0b1f3f);
}
.hs-bottom .contact-row .camp-feature-icon { flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(91, 171, 224, 0.12); color: var(--blue-2, #3e8dc4); }
.hs-bottom .contact-row strong { font-size: 15px; }
.hs-bottom .contact-row > span:last-child > span { display: block; font-size: 13px; color: var(--muted, #5d7089); }
@media (max-width: 767px) {
  .hs-page .hs-checks { max-width: 420px; margin-left: auto; margin-right: auto; }
  .hs-page .hs-checks li, .hs-page .hs-enroll-steps li { text-align: left !important; }
}

/* Video reviews: same fanned layout as the subject pages */
.hs-fan { position: relative; height: 400px; display: flex; align-items: center; justify-content: center; margin-top: 10px; }
.hs-fan .fan-photo {
  position: absolute; width: 214px; height: 302px; border-radius: 22px; overflow: hidden; border: 0; padding: 0; cursor: pointer;
  background: var(--navy, #0b1f3f); box-shadow: 0 12px 30px rgba(11, 31, 63, 0.25);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
}
.hs-fan .fan-photo video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-fan .fan-photo::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.25); pointer-events: none; }
.hs-fan .fan-photo.is-center { width: 270px; height: 360px; z-index: 5; transform: translateY(20px); }
.hs-fan .fan-photo.is-center::after { background: transparent; }
.hs-fan .fan-2 { transform: rotate(-4.7deg) translateX(-205px); z-index: 2; }
.hs-fan .fan-4 { transform: rotate(5deg) translateX(205px); z-index: 2; }
.hs-fan .video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 45px; height: 45px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); color: #fff;
  display: grid; place-items: center; font-size: 15px; padding-left: 3px; transition: transform .25s ease;
}
.hs-fan .is-center .video-play { width: 64px; height: 64px; background: rgba(11, 31, 63, 0.55); font-size: 20px; }
.hs-fan .fan-photo:hover .video-play { transform: translate(-50%, -50%) scale(1.12); }
@media (min-width: 1024px) {
  .hs-fan .fan-photo:hover { box-shadow: 0 22px 44px rgba(11, 31, 63, 0.4); }
  .hs-fan .fan-photo:not(.is-center):hover::after { background: rgba(0, 0, 0, 0.08); }
}
@media (max-width: 1023px) {
  .hs-fan { height: auto; justify-content: flex-start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -24px; padding: 8px 24px 16px; }
  .hs-fan::-webkit-scrollbar { display: none; }
  .hs-fan .fan-photo, .hs-fan .fan-photo.is-center { position: relative; flex: 0 0 auto; transform: none !important; width: min(280px, 72vw); height: auto; aspect-ratio: 3 / 4; scroll-snap-align: center; }
  .hs-fan .fan-photo::after { background: transparent; }
  .hs-fan .fan-photo .video-play { width: 60px; height: 60px; background: rgba(11, 31, 63, 0.55); }
}

/* Sports: three cards per row */
@media (min-width: 768px) {
  .hs-page #sports .sport-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 960px; margin-left: auto; margin-right: auto; }
  .hs-page #sports .sport-card { flex-basis: auto; width: auto; max-width: none; }
}

/* How it works: same cards and hover effect as the community section (white section, light cards; hover = white card, border, lift, shadow) */
.hs-page .hs-steps { background: #fff; }

/* Founder photo: square, so the whole portrait shows */
.hs-founder .lunch-photo img { aspect-ratio: 1 / 1; object-position: center; }
/* Parent testimonials (text cards) */
.hs-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1100px; margin: 0 auto; }
.hs-review-card { position: relative; background: var(--bg-light, #f4f8fc); border: 1px solid transparent; border-radius: 18px; padding: 34px 28px 26px; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease; }
.hs-review-card:hover { background: #fff; border-color: var(--border, #e3e9f2); transform: translateY(-6px); box-shadow: 0 28px 50px -24px rgba(11,31,63,.3); }
.hs-review-mark { font-family: Georgia, serif; font-size: 64px; line-height: .6; height: 30px; color: var(--blue-2, #3e8dc4); margin-bottom: 4px; }
.hs-review-text { font-size: 16px; line-height: 1.6; color: var(--navy, #0b1f3f); margin: 0 0 22px; flex: 1; }
.hs-review-by { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border, #e3e9f2); }
.hs-review-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy, #0b1f3f); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; transition: background-color .2s ease; }
.hs-review-card:hover .hs-review-avatar { background: var(--blue-2, #3e8dc4); }
.hs-review-by strong { display: block; color: var(--navy, #0b1f3f); font-size: 15px; }
.hs-review-by span { font-size: 13px; color: var(--muted, #5b6b82); }
@media (max-width: 900px) { .hs-review-grid { grid-template-columns: 1fr; max-width: 560px; } }
.hs-review-by .hs-review-avatar { color: #fff; font-size: 14px; }
