/* ===== RESET ===== */
*{margin:0;padding:0;box-sizing:border-box}
body{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:#fff;
  color:#0b1220;
}
a{color:inherit;text-decoration:none}

/* ===== WRAP ===== */
.wrap{width:min(1120px,92%);margin:0 auto}

/* ===== HERO ===== */
.hero-intro{
  position:relative;
  width:100%;
  min-height:60vh;
  margin-top:80px;
  display:flex;
  align-items:center;
  background:url("images/Intensive.png") no-repeat center / cover;
}
.hero-overlay{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.hero-content{position:relative;z-index:2;width:min(1100px,92%);margin:0 auto;color:#fff}

.hero-title{
  margin:0 0 14px;
  font-size:clamp(30px,3.6vw,46px);
  font-weight:900;
  line-height:1.15;
  opacity:0;
  transform:translateX(-40px);
  animation:heroSlide .9s ease forwards;
}
.hero-text{
  max-width:900px;
  font-size:16px;
  line-height:1.7;
  color:#e5e7eb;
  opacity:0;
  transform:translateY(20px);
  animation:heroFade 1.1s ease forwards;
  animation-delay:.2s;
}
@keyframes heroSlide{to{opacity:1;transform:translateX(0)}}
@keyframes heroFade{to{opacity:1;transform:translateY(0)}}

/* ===== WHY SECTION ===== */
.page-intro{padding:70px 0 40px}
.page-intro h2{
  font-size:clamp(26px,3vw,36px);
  font-weight:900;
  margin:0 0 14px;
}
.page-intro p{
  font-size:15px;
  line-height:1.75;
  color:#374151;
  max-width:980px;
}

/* ===== LIST HEADER ===== */
.schools{padding:10px 0 70px}
.list-head{margin:0 0 18px}
.list-head h2{
  font-size:clamp(28px,3.2vw,38px);
  font-weight:900;
  margin:0 0 8px;
}
.list-head p{color:#5b6473}

/* ===== CARD ===== */
.school-row{
  display:grid;
  grid-template-columns:180px 1fr 300px;
  gap:18px;
  padding:16px;
  border:1px solid #e9e9ee;
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  margin-top:14px;
}

/* LEFT IMAGE */
.school-left{
  border-radius:14px;
  overflow:hidden;
  background:#f3f4f6;
  min-height:140px;
}
.thumb{
  width:100%;
  height:100%;
  min-height:140px;
  position:relative;
  background-image:var(--img);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.thumb::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.35) 100%);
}

/* MID */
.school-mid{padding:2px}
.mid-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.school-name{
  margin:0;
  font-size:20px;
  font-weight:900;
  color:#0b1220;
  line-height:1.15;
}
.rating{
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  font-size:13px;
}
.rating .score{font-weight:900;color:#0b1220}
.rating .stars{color:#f4b400;letter-spacing:1px}
.rating .count{color:#667085}

.meta-line{
  display:flex;
  flex-wrap:wrap;
  gap:8px 10px;
  margin:10px 0 8px;
  align-items:center;
}
.pill{
  font-size:12px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  background:#f2f6ff;
  border:1px solid #d8e6ff;
  color:#1f3b73;
}
.pill-outline{background:#fff;border:1px solid #e5e7eb;color:#111827}
.pill-outline b{font-weight:900}
.mini{font-size:13px;color:#667085}

.like-title{
  font-weight:900;
  color:#0b1220;
  margin:10px 0 6px;
  font-size:13px;
}
.likes{
  margin:0;padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}
.likes li{
  position:relative;
  padding-left:28px;
  color:#374151;
  font-size:14px;
  line-height:1.5;
}
.likes li::before{
  content:"✓";
  position:absolute;
  left:0;top:0;
  width:20px;height:20px;
  border-radius:999px;
  background:#eafaf0;
  color:#16a34a;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  transform:translateY(2px);
}
.desc{
  margin:10px 0 0;
  color:#5b6473;
  line-height:1.7;
  font-size:14px;
}

/* RIGHT */
.school-right{
  border-left:1px solid #eef0f6;
  padding-left:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
  justify-content:center;
}
.price-box{
  border-radius:12px;
  padding:12px;
  background:#fff;
  border:1px solid #e7f3ea;
  box-shadow:0 8px 20px rgba(0,0,0,.05);
}
.price-box .note{
  font-size:12px;
  font-weight:900;
  color:#16a34a;
  padding:8px 10px;
  border:1px solid rgba(22,163,74,.35);
  border-radius:10px;
  margin-bottom:10px;
}
.price-box .old{font-size:12px;color:#667085;margin-bottom:6px}
.price-box .new{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.price-box .offer{
  font-size:11px;
  font-weight:900;
  background:#fb923c;
  color:#fff;
  padding:4px 8px;
  border-radius:999px;
}
.price-box strong{font-size:22px;font-weight:900;color:#ef4444}
.price-box .free{margin-top:10px;font-size:13px;font-weight:900;color:#16a34a}

.btn-view{
  height:42px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  background:#16a34a;
  color:#fff;
  border:1px solid #16a34a;
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn-view:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 26px rgba(0,0,0,.12);
}

/* ===== RESPONSIVE ===== */
@media(max-width:980px){
  .school-row{
    grid-template-columns:170px 1fr;
    grid-template-areas:
      "left mid"
      "right right";
  }
  .school-left{grid-area:left}
  .school-mid{grid-area:mid}
  .school-right{
    grid-area:right;
    border-left:none;
    padding-left:0;
    border-top:1px solid #eef0f6;
    padding-top:12px;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
  }
  .price-box{flex:1;min-width:260px}
  .btn-view{min-width:180px}
}

@media(max-width:768px){
  .hero-intro{min-height:55vh;margin-top:60px}
}

@media(max-width:640px){
  .school-row{grid-template-columns:1fr}
  .school-left,.thumb{min-height:180px}
  .mid-top{flex-direction:column;align-items:flex-start;gap:6px}
  .school-right{flex-direction:column;align-items:stretch}
  .btn-view{width:100%}
}
