
/* === About Hero Background Video === */
.about-hero{position:relative;min-height:100vh;display:grid;place-items:center;overflow:hidden;isolation:isolate}
.about-hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;transform:scale(1.01);background:#000;}
.about-hero__overlay{position:absolute;inset:0;background:radial-gradient(75% 55% at 50% 40%, rgba(0,0,0,0.04), rgba(0,0,0,0.42)), rgba(0,0,0,0.42);z-index:1}
.about-hero__content{position:relative;z-index:2;text-align:center;color:#fff;padding:clamp(24px,4vw,64px);max-width:960px;animation:about-float 12s ease-in-out infinite alternate}
.about-hero__content h1{font-size:clamp(2.2rem,4vw,3.5rem);line-height:1.05;margin:0 0 .5rem 0;text-shadow:0 4px 28px rgba(0,0,0,.65);letter-spacing:.3px}
.about-hero__content .lede{font-size:clamp(1rem,1.4vw,1.25rem);opacity:.94;margin:.25rem auto 1.25rem}
.cta-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.btn{display:inline-block;padding:.75rem 1.1rem;border-radius:999px;border:1px solid rgba(255,255,255,.22);text-decoration:none;font-weight:600;transition:transform .2s ease,background .2s ease,border-color .2s ease}
.btn-primary{background:rgba(255,255,255,.12);color:#fff}.btn-primary:hover{transform:translateY(-2px);background:rgba(255,255,255,.2)}
.btn-ghost{background:transparent;color:#fff}.btn-ghost:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.45)}
@media (prefers-reduced-motion:reduce){.about-hero__content{animation:none}.about-hero__video{transform:none}}
@keyframes about-float{from{transform:translateY(0)}to{transform:translateY(-8px)}}

/* === Review Stickers (overlayed on hero) === */
.review-stickers{position:relative;z-index:3;display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:clamp(10px,2vw,18px);margin-top:clamp(16px,3vh,28px);width:100%;max-width:1200px;margin:0 auto}
@media (max-width:1000px){.review-stickers{grid-template-columns:repeat(3,1fr)}}
@media (max-width:760px){.review-stickers{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.review-stickers{grid-auto-flow:column;grid-auto-columns:80%;overflow-x:auto;scroll-snap-type:x mandatory;grid-template-columns:none;padding-bottom:8px}.review-stickers>*{scroll-snap-align:start}}
.review-card{backdrop-filter:blur(6px);background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:12px 14px;color:#fff;box-shadow:0 6px 24px rgba(0,0,0,.35);display:flex;flex-direction:column;gap:8px}
.review-card .stars{font-size:14px;letter-spacing:1px}
.review-card .author{font-weight:700;font-size:14px;opacity:.95}
.review-card .snippet{font-size:13px;line-height:1.4;opacity:.95;max-height:6.2em;overflow:hidden}
.review-card .meta{font-size:12px;opacity:.75}
footer{margin-top:0}

/* === Review Modal === */
.review-modal{position:fixed;inset:0;background:rgba(0,0,0,.6);display:flex;justify-content:center;align-items:center;z-index:10000;padding:20px;overflow-y:auto}
.review-modal.hidden{display:none;}
.review-modal .modal-content{backdrop-filter:blur(8px);background:rgba(0,0,0,.9);border:1px solid rgba(255,255,255,0.15);border-radius:20px;padding:24px;max-width:600px;width:100%;color:#fff;position:relative;box-shadow:0 8px 32px rgba(0,0,0,.5);overflow:hidden}
.review-modal .modal-content .close{position:absolute;top:10px;right:14px;font-size:24px;font-weight:700;cursor:pointer;color:#fff;}
.review-modal .modal-content .stars{font-size:18px;margin-bottom:8px;}
.review-modal .modal-content .full-text{font-size:15px;line-height:1.6;margin-bottom:12px;white-space:pre-line;}
.review-modal .modal-content .author{font-weight:700;margin-bottom:4px;}
.review-modal .modal-content .meta{font-size:12px;opacity:.75;margin-bottom:8px;}
.review-modal .modal-content .google-link{font-size:14px;color:#66b8ff;text-decoration:underline;display:inline-block;margin-top:4px;}
.review-modal .modal-content .google-link:hover{text-decoration:none;}

/* Limit modal height to allow scrolling */
.review-modal .modal-content{
  max-height:80vh;
  overflow-y:auto;
}

/* Increase spacing between header, CTA buttons and review grid */
.cta-row{
  margin-top:clamp(16px,3vh,32px);
  gap:16px;
}
.review-stickers{
  margin-top:clamp(24px,4vh,40px);
}


/* === Compact Review Stickers (on hero) === */
.review-stickers{position:relative;z-index:3;display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:14px;width:min(1100px,92vw);margin:18px auto 0;padding:0;}

@media (max-width: 900px){
  .review-stickers{
    width: 100%;
    max-width: 560px;
    margin: 18px auto 0;
    padding: 0 16px;            /* small breathing room but stays centered */
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: stretch;
  }
  .review-stickers .sticker{
    width: 100%;
    margin: 0;                  /* absolutely no side offset */
  }
}
}
.sticker{background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:12px;color:#fff;backdrop-filter:blur(6px);box-shadow:0 10px 30px rgba(0,0,0,.35);cursor:pointer;transition:transform .15s ease, box-shadow .15s ease;}
.sticker:hover{transform:translateY(-2px);box-shadow:0 14px 38px rgba(0,0,0,.45);}
.sticker .head{display:flex;align-items:center;gap:10px;margin-bottom:6px;}
.sticker .head img{width:28px;height:28px;border-radius:50%;object-fit:cover;border:1px solid rgba(255,255,255,.25)}
.sticker .name{font-weight:700;font-size:14px;line-height:1;}
.sticker .time{font-size:11px;opacity:.8;}
.sticker .stars{font-size:14px;letter-spacing:2px;margin:2px 0 6px;}
.sticker .text{font-size:13px;line-height:1.5;max-height:5.1em;overflow:hidden;position:relative;}
.sticker .text:after{content:"";position:absolute;left:0;right:0;bottom:0;height:36px;background:linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.6));}
.sticker.expanded .text{max-height:none;}
.sticker.expanded .text:after{display:none;}


/* === Centering & Autoscroll Enhancements === */
.review-stickers{
  position:relative;
  z-index:3;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
  width:min(960px, 92vw);
  margin:18px auto 0;
  padding:0;
  justify-items:stretch;
}
@media (max-width: 1000px){
  .review-stickers{ grid-template-columns: 1fr; }
}
.sticker{
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 12px;
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.sticker:hover{ transform: translateY(-2px); box-shadow: 0 14px 38px rgba(0,0,0,.45); }
.sticker .head{ display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.sticker .head img{ width:28px; height:28px; border-radius:50%; object-fit:cover; border:1px solid rgba(255,255,255,.25); }
.sticker .name{ font-weight:700; font-size:14px; line-height:1; }
.sticker .time{ font-size:11px; opacity:.8; }
.sticker .stars{ font-size:14px; letter-spacing:2px; margin:2px 0 6px; }

/* Scroller viewport */
.sticker .text{
  position: relative;
  overflow: hidden;
  max-height: 5.6em;      /* ~4 lines */
  line-height: 1.4;
  font-size: 13px;
}
/* Inner scroller that moves vertically */
.sticker .text-inner{
  display:block;
  will-change: transform;
}
/* gradient fade at bottom */
.sticker .text:after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0; height:24px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.7));
  pointer-events:none;
}

/* Expanded state (click to toggle) */
.sticker.expanded .text{
  max-height:none;
}
.sticker.expanded .text:after{ display:none; }


/* === Center fix & Read-more === */
.review-stickers{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
  width:min(960px, 92vw);   /* matches hero content width more closely */
  margin:18px auto 0;       /* centers container */
  padding:0;                /* remove side padding that nudged it off-center */
  justify-items:stretch;
}
@media (max-width: 980px){
  .review-stickers{ grid-template-columns: 1fr; }
}

.sticker .text{
  position: relative;
  overflow: hidden;
  max-height: 5.6em; /* ~4 lines */
  line-height: 1.4;
  font-size: 13px;
}
.sticker .text:after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:24px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.7));
  pointer-events:none;
}
.sticker.expanded .text{ max-height:none; }
.sticker.expanded .text:after{ display:none; }

.read-more{
  display:inline-block;
  margin-top:6px;
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
  cursor:pointer;
}
.read-more:hover{ background:rgba(255,255,255,.18); }

/* Read-less button (same style as read-more) */
.read-less{
  display:inline-block;
  margin-top:6px;
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
  cursor:pointer;
}
.read-less:hover{ background:rgba(255,255,255,.18); }


/* Mobile tweaks for single review carousel */

@media (max-width: 900px){
  .review-stickers{
    width: 100%;
    max-width: 560px;
    margin: 18px auto 0;
    padding: 0 16px;            /* small breathing room but stays centered */
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: stretch;
  }
  .review-stickers .sticker{
    width: 100%;
    margin: 0;                  /* absolutely no side offset */
  }
}

  .sticker{ border-radius:16px; }
}


/* Precise centering + swap animation */

@media (max-width: 900px){
  .review-stickers{
    width: 100%;
    max-width: 560px;
    margin: 18px auto 0;
    padding: 0 16px;            /* small breathing room but stays centered */
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: stretch;
  }
  .review-stickers .sticker{
    width: 100%;
    margin: 0;                  /* absolutely no side offset */
  }
}

  .review-stickers .sticker{
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }
}

/* Swap animations */
.sticker{ transition: opacity .35s ease, transform .35s ease; }


/* === Swoosh mobile review swap === */
.sticker{
  transition: opacity .45s cubic-bezier(.22,.61,.36,1), transform .45s cubic-bezier(.22,.61,.36,1);
}
.sticker.enter{ opacity:0; transform: translateY(18px); }
.sticker.enter-active{ opacity:1; transform: translateY(0); }
.sticker.exit{ opacity:1; transform: translateY(0); }
.sticker.exit-active{ opacity:0; transform: translateY(-18px); }

/*
 * Center reviewer name, stars, and time within each review card
 * Without altering the overall layout, ensure that the reviewer’s
 * name, the relative time (e.g. “a year ago”), and the star rating
 * line up centrally in the card.  We do this by allowing the
 * textual column to flex across the card and centering its
 * contents, while leaving the avatar in its original position.
 * The star bar is also given full width and centered text.
 */
.sticker .head{
  /* Center the avatar/text group horizontally */
  justify-content:center;
  width:100%;
  /* Offset the header slightly to account for the avatar’s width
     so that the textual centre aligns exactly with the star row */
  margin-left:-14px;
}
.sticker .head > div{
  /* Let the name/time container grow and center its own content */
  flex:1;
  text-align:center;
}
.sticker .name,
.sticker .time{
  /* Place each text element on its own line */
  display:block;
}
.sticker .stars{
  /* Give the stars row the full card width and center its contents */
  width:100%;
  text-align:center;
}

/* === Programs overlay badges (Purebred) === */
.program-badges{position:relative;z-index:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;width:min(960px,92vw);margin:18px auto 0;}
.pbadge{display:flex;align-items:center;gap:10px;justify-content:center;background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:12px 14px;color:#fff;text-decoration:none;backdrop-filter:blur(6px);box-shadow:0 10px 30px rgba(0,0,0,.35);transition:transform .15s ease, box-shadow .15s ease, background .2s ease;}
.pbadge:hover{transform:translateY(-1px);box-shadow:0 14px 38px rgba(0,0,0,.45);background:rgba(0,0,0,.42);}
.p-logo{width:18px;height:18px;object-fit:contain;filter:drop-shadow(0 0 4px rgba(255,255,255,.2));}
.p-title{font-weight:700;font-size:14px;letter-spacing:.2px;}
@media(max-width:900px){.program-badges{grid-template-columns:repeat(2,minmax(0,1fr));width:min(560px,92vw);} .pbadge{padding:12px 12px;} .p-title{font-size:13px}}
