/* preschool-parents.css
   Copyright © 2026 LexPro. All rights reserved.

   Sunporch's For families (site/lib/sites/preschool/pages/parents/):
   app/lib/web/site/sections/preschool/parents/. */

/* The hero's heading at .8 of the home's (titleScale), its picture inset. */
.fam-hero .sunny-display { font-size: calc(clamp(34px, 5.4vw, 66px) * .8); }
.fam-hero__note { max-width: 560px; }
.fam-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.fam-badge { height: 48px; width: auto; }
.fam-badges__soon { margin-top: 10px; font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--home-text); }

/* ---- Three ways in at the door ---- */
.fam-ways { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 44px; align-items: start; }
.fam-way__phone { max-width: 360px; }
.fam-way__words { display: flex; align-items: flex-start; gap: 14px; margin-top: 24px; }
.fam-way__n {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%; background: var(--sunny-yellow); border: 2.5px solid var(--sunny-navy);
  box-sizing: border-box; font-family: var(--sunny-display); font-weight: 800; font-size: 18px; color: var(--sunny-navy);
}
.fam-way__body { margin-top: 4px; }
@media (max-width: 600px) {
  /* A rail of cards, 290 wide, as SiteScroller lays them out. */
  .fam-ways {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-left: -20px; margin-right: -20px; padding: 0 20px 8px; scrollbar-width: none;
  }
  .fam-ways::-webkit-scrollbar { display: none; }
  .fam-way { flex: 0 0 290px; scroll-snap-align: start; }
  .fam-way__phone { width: 290px; }
}

/* ---- No phone: the family card in a sunny scene ---- */
/* The scene is an SVG drawn 560 wide; the card sits over it, tilted, its
   sizes a share of the picture's width (container units). */
.fam-card-art { position: relative; max-width: 561px; margin-inline: auto; container-type: inline-size; }
.fam-card-art__scene { display: block; width: 100%; height: auto; }
.fam-card-art__card {
  position: absolute; left: 54%; top: 24%; width: 33%; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; gap: 1.6cqw; padding: 2cqw 3cqw 4cqw;
  border: 2.5px solid var(--sunny-navy); border-radius: 18px; background: #fff;
  box-shadow: 0 10px 0 rgba(255, 184, 150, .75), 0 18px 36px rgba(22, 48, 90, .12);
  transform: rotate(-5deg); text-align: center;
}
.fam-card-art__slot {
  width: 8cqw; height: 1.9cqw; min-height: 6px; border-radius: 6px;
  border: 1.5px solid var(--sunny-navy); background: var(--sunny-yellow-wash);
}
.fam-card-art__label {
  font-family: var(--sunny-read); font-size: max(9px, 2.3cqw); line-height: 1.3; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--sunny-text);
}
.fam-card-art__number {
  font-family: var(--sunny-display); font-size: 13cqw; line-height: .95; font-weight: 800;
  letter-spacing: -0.02em; color: var(--sunny-navy);
}
@media (min-width: 601px) and (max-width: 980px) { .fam-card-art { width: 80%; } }

/* ---- The details ---- */
.fam-details { display: grid; gap: 24px; }
