/* ============================================================
   ScoreChom — Schools page styles
   ------------------------------------------------------------
   Photo-led hero with phone mock, 8-feature grid, VERIFIED &
   VERIFIED+ pricing cards, orange brush callout for referral
   revenue. Matches the partner-PDF aesthetic.
   Depends on vars.css + base.css.
   ============================================================ */

/* ---- HERO ---- */
.sch-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 6vw, 96px) 0 clamp(40px, 5vw, 72px);
  overflow: hidden;
}
.sch-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 80% 15%, rgba(25, 184, 106, 0.22), transparent 60%),
    radial-gradient(50% 40% at 12% 90%, rgba(255, 85, 51, 0.16), transparent 60%),
    linear-gradient(180deg, #050912 0%, #070b18 60%, #0a1228 100%);
}
.sch-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(70% 80% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.sch-hero__inner {
  position: relative;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding: 0 var(--space-5);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  color: #fff;
}
.sch-hero__copy { display: flex; flex-direction: column; gap: var(--space-4); }
.sch-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: var(--fs-xs);
  color: #fff;
  align-self: flex-start;
}
.sch-hero__eyebrow::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pitch-green);
}
.sch-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5.6vw, 78px);
  line-height: 0.94;
  letter-spacing: 0.005em;
  margin: 0;
  color: #fff;
}
.sch-hero__title .accent { color: var(--pitch-green); display: block; }
.sch-hero__sub {
  font-family: var(--font-script);
  font-size: clamp(20px, 2vw, 26px);
  color: var(--brand-yellow);
  margin: 0;
}
.sch-hero__lede {
  font-size: clamp(15px, 1.2vw, 17px);
  color: rgba(255, 255, 255, 0.86);
  max-width: 540px;
  margin: 0;
  line-height: 1.6;
}
.sch-hero__cta-row {
  display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-3);
}
.sch-hero__phone {
  position: relative;
  justify-self: end;
  max-width: 360px;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  background: #05080F;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.06),
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(25, 184, 106, 0.18);
  transform: rotate(2deg);
}
.sch-hero__phone img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.sch-hero__phone-badge {
  position: absolute;
  top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--pitch-green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(25, 184, 106, 0.5);
}
.sch-hero__phone-badge::before { content: "\2713"; font-size: 14px; }

/* ---- FEATURES — 8 checkmark items, two columns ---- */
.sch-features {
  background: linear-gradient(180deg, var(--brand-navy) 0%, var(--brand-navy-2) 100%);
  padding: clamp(48px, 7vw, 96px) 0;
}
.sch-features__inner {
  max-width: var(--container-xl);
  margin-inline: auto;
  padding: 0 var(--space-5);
}
.sch-features__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-7);
  color: #fff;
}
.sch-features__head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  margin: var(--space-3) 0;
  color: #fff;
}
.sch-features__head h2 .accent { color: var(--pitch-green); }
.sch-features__head p { color: rgba(255,255,255,0.78); font-size: var(--fs-md); margin: 0; line-height: 1.6; }
.sch-features__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4) clamp(24px, 4vw, 64px);
  max-width: 880px;
  margin-inline: auto;
}
.sch-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sch-feature__tick {
  width: 28px; height: 28px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pitch-green);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(25, 184, 106, 0.4);
}
.sch-feature__tick::before { content: "\2713"; }
.sch-feature__copy strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-lg);
  color: #fff;
  margin-bottom: 2px;
}
.sch-feature__copy span {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

/* ---- PRICING — VERIFIED + VERIFIED+ ---- */
.sch-pricing {
  background: var(--brand-navy);
  padding: clamp(48px, 7vw, 96px) 0;
}
.sch-pricing__inner {
  max-width: var(--container-xl);
  margin-inline: auto;
  padding: 0 var(--space-5);
}
.sch-pricing__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-7);
  color: #fff;
}
.sch-pricing__head .sc-eyebrow { font-size: 12px; }
.sch-pricing__head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  margin: var(--space-3) 0 var(--space-2);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.sch-pricing__head p { color: rgba(255,255,255,0.78); font-size: var(--fs-md); margin: 0; line-height: 1.6; }
.sch-pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  max-width: var(--container-xl);
  margin-inline: auto;
}

/* On medium screens the 4 tiers stack 2x2 — keep entry tiers on row 1
   and the higher Official/Official+ on row 2 for natural reading flow. */
@media (max-width: 1100px) {
  .sch-pricing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 740px; }
}
.sch-tier {
  position: relative;
  background: var(--card-strong);
  border: 2px solid var(--pitch-green);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-align: center;
  color: #fff;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.sch-tier:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(25, 184, 106, 0.22);
}
/* Featured (Recommended) ribbon — used on Verified+ */
.sch-tier--featured {
  background: linear-gradient(160deg, var(--card-strong), #0e1b34);
  border-color: var(--pitch-green);
  box-shadow: 0 18px 48px rgba(25, 184, 106, 0.18);
}

/* Official + Official Plus use the orange brand theme (PDF page 3). */
.sch-tier--official {
  border-color: var(--brand-orange);
}
.sch-tier--official .sch-tier__name { color: var(--brand-orange); }
.sch-tier--official .sch-tier__list li::before {
  background: rgba(255, 85, 51, 0.18);
  color: var(--brand-orange);
}
.sch-tier--official:hover {
  box-shadow: 0 24px 60px rgba(255, 85, 51, 0.22);
}
.sch-tier--official.sch-tier--featured {
  background: linear-gradient(160deg, var(--card-strong), #1a0d0a);
  box-shadow: 0 18px 48px rgba(255, 85, 51, 0.22);
}
.sch-tier--featured::before {
  content: "Recommended";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: var(--brand-orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(255, 85, 51, 0.5);
}
.sch-tier__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-xl);
  color: var(--pitch-green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}
.sch-tier__price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 5vw, 64px);
  line-height: 0.95;
  color: #fff;
  margin: var(--space-2) 0 0;
}
.sch-tier__per {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 var(--space-3);
}
.sch-tier__per-alt {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin-top: 4px;
}
.sch-tier__divider {
  height: 1px;
  background: var(--line);
  margin: 0 0 var(--space-3);
}
.sch-tier__list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  list-style: none;
  padding: 0;
}
.sch-tier__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.86);
}
.sch-tier__list li::before {
  content: "\2713";
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(25, 184, 106, 0.18);
  color: var(--pitch-green);
  font-size: 11px;
  font-weight: 900;
  margin-top: 2px;
}
.sch-tier__cta {
  margin-top: auto;
}

/* ---- REFERRAL BRUSH CALLOUT ---- */
.sch-referral {
  background: var(--brand-navy);
  padding: 0 0 clamp(48px, 7vw, 96px);
}
.sch-referral__inner {
  max-width: 760px;
  margin-inline: auto;
  padding: 0 var(--space-5);
}
.sch-callout {
  position: relative;
  background: var(--brand-orange);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  font-family: var(--font-script);
  font-size: clamp(20px, 2vw, 28px);
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 24px 60px rgba(255, 85, 51, 0.32);
  transform: rotate(-1deg);
}
.sch-callout::after {
  content: "";
  position: absolute;
  inset: -8px;
  background:
    radial-gradient(ellipse at 10% 10%, rgba(255, 122, 85, 0.45), transparent 50%),
    radial-gradient(ellipse at 90% 90%, rgba(217, 65, 29, 0.5),  transparent 50%);
  border-radius: var(--radius-xl);
  z-index: -1;
  filter: blur(20px);
}
.sch-callout strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5em;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: var(--space-2);
}
/* ---- Tier "feature sticker" — pinned onto Official Plus card ---- */
/* Look + feel: a small, hand-pinned orange brush sticker that overlaps
   the top-right of the Official Plus card. Communicates a tier-exclusive
   feature without competing with the universal referral callout. */
.sch-tier--has-sticker { overflow: visible; }
.sch-tier__sticker {
  position: absolute;
  top: -22px;
  right: -18px;
  width: 150px;
  padding: 10px 14px;
  background: var(--brand-orange);
  color: #fff;
  border-radius: 14px;
  transform: rotate(8deg);
  text-align: center;
  line-height: 1.1;
  box-shadow:
    0 12px 28px rgba(255, 85, 51, 0.45),
    0 0 0 2px rgba(255, 122, 85, 0.5);
  z-index: 2;
  /* Subtle hand-painted edge feel */
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}
.sch-tier__sticker-line {
  display: block;
  font-family: var(--font-script);
  font-size: 14px;
  letter-spacing: 0.01em;
  opacity: 0.95;
  margin-bottom: 2px;
}
.sch-tier__sticker strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sch-tier__sticker::after {
  /* Small "pin dot" in the corner to sell the sticker illusion */
  content: "";
  position: absolute;
  top: 6px; left: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
@media (max-width: 1100px) {
  .sch-tier__sticker { width: 130px; font-size: 14px; top: -18px; right: -10px; }
  .sch-tier__sticker strong { font-size: 15px; }
}
@media (max-width: 860px) {
  /* On stacked mobile cards, pull the sticker inside so it doesn't push off-screen */
  .sch-tier__sticker { right: 8px; top: -16px; transform: rotate(6deg); }
}

/* ---- FINAL CTA ---- */
.sch-final-cta {
  position: relative;
  padding: clamp(60px, 8vw, 120px) 0;
  background:
    linear-gradient(135deg, rgba(7,11,24,0.82), rgba(7,11,24,0.92)),
    url("../../images/marketing/site/hero-rugby.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}
.sch-final-cta__inner {
  max-width: var(--container-md);
  margin-inline: auto;
  padding: 0 var(--space-5);
}
.sch-final-cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  margin: 0 0 var(--space-3);
  color: #fff;
  text-transform: uppercase;
}
.sch-final-cta__script {
  font-family: var(--font-script);
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--brand-yellow);
  margin: 0 0 var(--space-4);
}
.sch-final-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-md);
  max-width: 580px;
  margin: 0 auto var(--space-5);
  line-height: 1.6;
}
.sch-final-cta__cta {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 860px) {
  .sch-hero__inner { grid-template-columns: 1fr; }
  .sch-hero__phone { justify-self: center; max-width: 260px; transform: none; }
  .sch-features__grid { grid-template-columns: 1fr; }
  .sch-pricing__grid { grid-template-columns: 1fr; max-width: 460px; }
  .sch-tier__price { font-size: 48px; }
}
