/* =========================
   Section Title (Global for Home)
========================= */
.section__header {
  text-align: center;
  margin-bottom: 56px;
}

/* =========================
   1. Hero Carousel
========================= */
.hero {
  position: relative;
  height: 680px;
  min-height: 340px;
  background: #111;
  overflow: hidden;
}

.hero__slider { position: absolute; inset: 0; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.18) 100%);
  z-index: 2;
}

.hero__content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  z-index: 3;
  color: #fff;
  max-width: 680px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #F5ECD7;
  border: 1px solid rgba(245,236,215,0.45);
  border-radius: 50px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.hero__slogan {
  font-size: clamp(30px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 18px;
  text-shadow: 0 3px 20px rgba(0,0,0,0.4);
  letter-spacing: -0.02em;
}

.hero__sub-slogan {
  font-size: clamp(15px, 1.6vw, 18px);
  opacity: 0.88;
  margin: 0 0 32px;
  line-height: 1.6;
  max-width: 48ch;
}

.hero__cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: 0.3s;
  padding: 0;
}

.hero__dot.is-active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* =========================
   2. Stats Bar
========================= */
.stats-bar {
  background: var(--brand);
  padding: 48px 0;
}

.stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.stat-line {
  color: #fff;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/* 主數字：金色（與 about 頁 .page-hero__stat-num 一致） */
.stat-line__num { color: var(--gold-light); }

/* 標籤文字：白色但稍微壓低不透明度（與 about __stat-label 視覺對等） */
.stat-line__txt { opacity: 0.85; }

.stat-line__sub {
  font-size: 0.78em;
  font-weight: 600;
  opacity: 0.7;
  white-space: nowrap;
  display: inline-block;
}

.stats-bar__divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.28);
}

@media (max-width: 760px) {
  .stats-bar { padding: 32px 0; }
  .stats-bar__inner { gap: 16px; }
  .stats-bar__divider { display: none; }
  .stat-line { font-size: clamp(15px, 4.4vw, 20px); }
  .hero__content { left: 5%; right: 5%; max-width: 100%; }
}

/* =========================
   3. Latest News
========================= */
.news-section {
  padding: 96px 0;
  background: var(--bg-alt);
}

.news-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  display: flex;
  overflow: hidden;
  border-left: 4px solid var(--brand);
  box-shadow: var(--shadow-sm);
  transition: 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.news-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow);
  border-left-color: var(--gold);
}

.news-card--skeleton {
  background: #fafafa;
  border-left-color: var(--border);
  pointer-events: none;
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}
.news-card--skeleton .news-card__title { color: var(--muted); }

@keyframes skeleton-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.news-card__content {
  padding: 30px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.news-card__date {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.news-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 10px;
  color: var(--text);
}

.news-card:hover .news-card__title { color: var(--brand); }

.news-card__excerpt {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.news-card__readmore {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.03em;
}

.news-card__image {
  width: 240px;
  flex-shrink: 0;
  overflow: hidden;
}

.news-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.news-card:hover .news-card__image img {
  transform: scale(1.05);
}

/* News More Button */
.news-more-wrapper {
  text-align: center;
  margin-top: 52px;
}

.btn-fancy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 44px;
  background: var(--brand);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
  transition: 0.3s ease;
  box-shadow: 0 8px 24px rgba(78,52,46,0.22);
}

.btn-fancy:hover {
  background: var(--brand-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(78,52,46,0.3);
  color: #fff;
}

@media (max-width: 768px) {
  .news-card { flex-direction: column; }
  .news-card__image { width: 100%; height: 200px; }
  .news-card__content { padding: 22px; }
}

/* =========================
   4. Services Section
========================= */
.service-section {
  padding: 96px 0;
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .service-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: 0.35s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card__img {
  display: block;
  overflow: hidden;
  height: 220px;
}

.service-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.service-card:hover .service-card__img img {
  transform: scale(1.06);
}

.service-card__tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}

.service-card__img-wrap { position: relative; }

.service-card__body {
  padding: 28px 28px 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.service-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.3;
}

.service-card__text {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 20px;
  flex: 1;
}

.service-card .btn-outline {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* =========================
   5. Results Preview
========================= */
.results-preview {
  padding: 96px 0;
  background: var(--bg-alt);
}

.results-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.result-preview-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: 0.3s;
}

.result-preview-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.result-preview-card__icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.result-preview-card__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}

.result-preview-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 20px;
}

.result-preview-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 5px;
}

.result-preview-card__link:hover { color: var(--gold); }

/* School logos strip */
.school-logos-strip {
  margin-top: 48px;
  overflow: hidden;
}

.school-logos-strip__title {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.school-logos-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.school-tag {
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: 0.2s;
}

.school-tag:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: #EDE0DC;
}

@media (max-width: 700px) {
  .results-preview__grid { grid-template-columns: 1fr; }
}

/* =========================
   6. Video / CTA Section
========================= */
.video-section {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-video {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* Fallback when video is absent */
.video-section {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 50%, #7D5A50 100%);
}

.video-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("/assets/images/sun-motif.svg") top left / 80px 80px repeat;
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
}
.video-content { position: relative; z-index: 2; }

.video-overlay {
  position: absolute; inset: 0;
  background: rgba(20,10,8,0.58);
  z-index: 1;
}

.video-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.video-content h2 {
  font-size: clamp(26px, 3.5vw, 48px);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.video-content p {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.65;
  margin: 0 0 32px;
}

.video-content .btn-gold {
  font-size: 16px;
  padding: 15px 44px;
}

/* =========================
   7. Tutoring Home Section
========================= */
.tutoring-home-section {
  padding: 96px 0;
  background: #fff;
}

.tutoring-home__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 52px;
}

.tutoring-home__cta-group {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Score Improvement Strip */
.score-improve-strip {
  display: flex;
  align-items: center;
  background: var(--brand);
  border-radius: var(--radius-lg);
  padding: 32px 48px;
  margin-bottom: 48px;
  gap: 0;
  flex-wrap: wrap;
}

.score-improve-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
  color: #fff;
}

.score-improve-item__arrow {
  font-size: 22px;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}

.score-improve-item__num {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--gold-light);
}

.score-improve-item__label {
  font-size: 13px;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

.score-improve-divider {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  margin: 0 8px;
}

/* Tutoring Category Cards Grid */
.tutoring-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}

.tutoring-cat-card {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tutoring-cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border);
  transition: 0.3s;
}

.tutoring-cat-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.tutoring-cat-card:hover::before {
  background: var(--gold);
}

.tutoring-cat-card--featured {
  border-color: var(--brand);
  background: linear-gradient(160deg, #FAF6F3 0%, #fff 100%);
}

.tutoring-cat-card--featured::before {
  background: var(--brand);
}

.tutoring-cat-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tutoring-cat-card__icon {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  background: var(--brand);
  color: var(--gold-light);
  border-radius: 6px;
  padding: 5px 10px;
  line-height: 1;
}

.tutoring-cat-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.3;
}

.tutoring-cat-card__desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 16px;
  flex: 1;
}

.tutoring-cat-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.tutoring-cat-card__tags span {
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-alt);
  color: var(--muted);
  border-radius: 50px;
  padding: 4px 10px;
  letter-spacing: 0.03em;
}

.tutoring-cat-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.tutoring-cat-card__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}

.tutoring-cat-card:hover .tutoring-cat-card__link { color: var(--gold); }

/* Home Guarantee Bar */
.home-guarantee-bar {
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 40px;
  gap: 0;
  flex-wrap: wrap;
}

.home-guarantee-bar__item {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.home-guarantee-bar__icon {
  font-size: 16px;
  flex-shrink: 0;
  color: var(--gold);
  line-height: 1;
}

.home-guarantee-bar__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.home-guarantee-bar__sub {
  font-size: 12.5px;
  color: var(--muted);
}

.home-guarantee-bar__sep {
  width: 1px;
  height: 44px;
  background: var(--border);
  margin: 0 8px;
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .tutoring-cat-grid { grid-template-columns: 1fr 1fr; }
  .tutoring-home__header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  .score-improve-strip { padding: 24px 20px; gap: 12px; }
  .score-improve-divider { display: none; }
  .score-improve-item { min-width: 80px; flex: 1 1 40%; }
  .tutoring-cat-grid { grid-template-columns: 1fr; }
  .home-guarantee-bar { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px 24px; }
  .home-guarantee-bar__sep { display: none; }
}

/* =========================
   Achievement Wall (PDF Style)
========================= */
.ach-wall {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 50%, #6B4C44 100%);
  color: #fff;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.ach-wall::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("/assets/images/sun-motif.svg") top left / 80px 80px repeat;
  opacity: 0.4;
  pointer-events: none;
}
.ach-wall .container { position: relative; z-index: 1; }
.ach-wall__heading {
  text-align: center;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0 0 56px;
  position: relative;
}
.ach-wall__heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 18px auto 0;
}
.ach-wall__layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.ach-wall__stats { display: flex; flex-direction: column; gap: 32px; }
.ach-stat__num {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.ach-stat__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin: 0;
  max-width: 36ch;
}
.ach-wall__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 14px 28px;
  background: var(--gold);
  color: #fff;
  border-radius: 50px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  align-self: flex-start;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(184,148,63,0.35);
}
.ach-wall__cta:hover {
  background: #9e7d32;
  transform: translateY(-2px);
  color: #fff;
}
.ach-wall__schools {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px 14px;
}
.ach-school {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px 8px 14px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.ach-school:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(245,236,215,0.35);
  transform: translateY(-3px);
}

/* School shield/badge — 顯示真實校徽，深色背景上以白色圓底襯托 */
.ach-school__shield {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ach-school:hover .ach-school__shield {
  transform: scale(1.06);
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}
.ach-school__shield img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ach-school__shield span { display: none; }

.ach-school__name-en {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.ach-school__name-zh {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  line-height: 1.3;
  letter-spacing: 0.02em;
}

@media (max-width: 980px) {
  .ach-wall__layout { grid-template-columns: 1fr; gap: 48px; }
  .ach-wall__schools { grid-template-columns: repeat(4, 1fr); }
  .ach-school__shield { width: 60px; height: 60px; }
}
@media (max-width: 600px) {
  .ach-wall { padding: 64px 0; }
  .ach-wall__heading { margin-bottom: 40px; }
  .ach-wall__schools { grid-template-columns: repeat(3, 1fr); gap: 12px 10px; }
  .ach-school { padding: 12px 6px 10px; }
  .ach-school__shield { width: 54px; height: 54px; padding: 6px; }
  .ach-school__name-en { font-size: 11.5px; }
  .ach-school__name-zh { font-size: 10px; }
}
@media (max-width: 380px) {
  .ach-wall__schools { gap: 10px 8px; }
  .ach-school__shield { width: 48px; height: 48px; padding: 5px; }
  .ach-school__name-en { font-size: 10.5px; }
  .ach-school__name-zh { font-size: 9.5px; }
}

/* =========================
   Partners Section · Logo Cards
========================= */
.partners-section {
  padding: 90px 0;
  background: var(--bg-alt);
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 12px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.partner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.partner-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.partner-card__logo {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.partner-card__name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
  padding: 18px 20px 4px;
}
.partner-card__type {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding: 0 20px 22px;
}
.partner-card--placeholder {
  background: transparent;
  border-style: dashed;
}
.partner-card--placeholder .partner-card__name { color: var(--muted); }
.partner-card--placeholder .partner-card__logo { background: rgba(0,0,0,0.02); }

/* ── Logo: College Board (deep navy + downward triangle) ── */
.partner-card[data-brand="collegeboard"] .partner-card__logo {
  background: linear-gradient(135deg, #006298 0%, #003E69 100%);
}
.logo-cb {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo-cb__c {
  display: inline-block;
  font-size: 18px;
  color: #fff;
  transform: rotate(0deg);
  margin-right: 4px;
}
.logo-cb__b {
  font-style: italic;
  font-weight: 400;
}

/* ── Logo: ACT (red squared) ── */
.partner-card[data-brand="act"] .partner-card__logo {
  background: linear-gradient(135deg, #D71E28 0%, #A01620 100%);
}
.logo-act {
  font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 56px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  font-style: italic;
}

/* ── Logo: IB (blue diamond + monogram) ── */
.partner-card[data-brand="ib"] .partner-card__logo {
  background: linear-gradient(135deg, #0F4391 0%, #002B6C 100%);
}
.logo-ib {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-ib__square {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 6px;
}
.logo-ib__text {
  position: relative;
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: #0F4391;
  font-style: italic;
  letter-spacing: -0.02em;
}

/* ── Logo: ETS (clean type with dot) ── */
.partner-card[data-brand="ets"] .partner-card__logo {
  background: linear-gradient(135deg, #1B2A4E 0%, #0E1932 100%);
}
.logo-ets {
  font-family: "Helvetica Neue", -apple-system, Arial, sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
}
.logo-ets__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #E8B400;
  margin-right: 8px;
  margin-top: 18px;
}

/* ── Logo: British Council (red squares) ── */
.partner-card[data-brand="bc"] .partner-card__logo {
  background: #E5005A;
}
.logo-bc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
}
.logo-bc__sq {
  width: 14px;
  height: 14px;
  background: #fff;
}
.logo-bc__sq:nth-child(2) { background: rgba(255,255,255,0.7); }
.logo-bc__sq:nth-child(3) { background: rgba(255,255,255,0.4); }
.logo-bc__txt {
  margin-left: 10px;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-align: left;
}

/* ── Logo: Cognia (lowercase + dot) ── */
.partner-card[data-brand="cognia"] .partner-card__logo {
  background: linear-gradient(135deg, #2A2A2A 0%, #000 100%);
}
.logo-cognia {
  font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  position: relative;
}
.logo-cognia__dot {
  color: #E5005A;
  font-size: 38px;
  margin-left: 1px;
}

/* ── Logo: WASC (deep purple + serif) ── */
.partner-card[data-brand="wasc"] .partner-card__logo {
  background: linear-gradient(135deg, #2C1B4E 0%, #1A0E33 100%);
}
.logo-wasc {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo-wasc__laurel {
  font-size: 20px;
  color: #C9A961;
  opacity: 0.9;
}
.logo-wasc__laurel--l { transform: scaleX(-1); }
.logo-wasc__text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  font-style: italic;
}

/* ── Logo: NCAA (blue) ── */
.partner-card[data-brand="ncaa"] .partner-card__logo {
  background: linear-gradient(135deg, #003C7E 0%, #001E50 100%);
}
.logo-ncaa {
  font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.02em;
  font-style: italic;
}

@media (max-width: 900px) {
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-card__logo { height: 120px; }
}
@media (max-width: 480px) {
  .partner-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .partner-card__logo { height: 100px; }
  .logo-act, .logo-ets, .logo-cognia, .logo-ncaa { font-size: 32px; }
  .logo-cb { font-size: 16px; }
  .logo-wasc__text { font-size: 26px; }
}

/* =========================
   Mobile Section Padding
========================= */
@media (max-width: 768px) {
  .hero { height: 480px; }

  .news-section,
  .service-section,
  .results-preview,
  .ach-wall,
  .partners-section,
  .tutoring-home-section { padding: 56px 0; }

  .video-section { height: 50vh; min-height: 300px; }

  .section__header { margin-bottom: 36px; }
  .news-more-wrapper { margin-top: 28px; }

  .news-card__content { padding: 18px 20px; }
  .news-card__excerpt { display: none; }

  .service-card__body { padding: 20px 20px 24px; }

  .school-logos-strip { margin-top: 32px; }
}
