/* =========================================================
   Homepage (index.php) - mirrors base-website-stage.letseduvate.com
   Everything is scoped under .hm so the shared header/footer keep style.css.
   ========================================================= */
.hm {
  --cream: #FBFAF7; --mist: #F4F8F6; --line: #E2E8EF;
  --ink: #13263B;  --muted: #5B6B7B;
  --navy: #053C75; --navy-100: #E7EFF8; --navy-500: #2278CF; --navy-600: #0B5FB8; --navy-700: #084A8C; --navy-ink: #0A2440;
  --amber: #FF9E35; --amber-100: #FFF1DC; --amber-600: #F5941F; --amber-700: #E07B12;
  --teal: #1F9187; --teal-100: #E3F2EE; --teal-700: #187A70;
  --coral: #E5483C; --coral-700: #C73A30; --wa: #1F8F55;
  --shadow-card: 0 18px 40px -24px rgba(5,60,117,.35);
  --shadow-lift: 0 26px 60px -30px rgba(5,60,117,.45);
  --ease-soft: cubic-bezier(.22,.61,.36,1);
  --f-display: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  --f-body: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, monospace;

  background: var(--cream); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.hm *, .hm *::before, .hm *::after { box-sizing: border-box; }
/* Resets use :where() so they never outrank the component classes below */
.hm :where(h1, h2, h3, h4) {
  font-family: var(--f-display); color: var(--navy); font-weight: 700;
  line-height: 1.1; letter-spacing: -.02em; margin: 0;
}
.hm :where(p) { margin: 0; }
.hm :where(a) { text-decoration: none; }
.hm :where(img) { max-width: 100%; display: block; }
.hm .muted { color: var(--muted); }

.hm .wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 640px) { .hm .wrap { padding: 0 2rem; } }

.hm .sec { padding: 40px 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .hm .sec { padding: 56px 0; } }
@media (min-width: 1024px) { .hm .sec { padding: 64px 0; } }
.hm .bg-white { background: #fff; }
.hm .bg-cream { background: var(--cream); }
.hm .bg-mist  { background: var(--mist); }

.hm .sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.hm .sec-title { font-size: 1.5rem; line-height: 1.2; }
@media (min-width: 640px) { .hm .sec-title { font-size: 2rem; } }
.hm .sec-lead { margin-top: 12px; font-size: 1.125rem; color: var(--muted); }

.hm .eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 12px;
  font-family: var(--f-mono); font-size: .75rem; line-height: 1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em; color: var(--teal-700);
}
.hm .eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--amber); }
.hm .eyebrow.on-dark { color: var(--amber); }

.hm .link {
  font-weight: 600; color: var(--navy);
  text-decoration: underline; text-decoration-color: var(--amber);
  text-decoration-thickness: 3px; text-underline-offset: 4px;
}
.hm .link:hover { text-decoration-color: var(--coral); }

/* Buttons */
.hm .hbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 9999px; border: 2px solid transparent; padding: .75rem 1.5rem;
  font-family: var(--f-body); font-size: 1rem; font-weight: 600; line-height: 1.5;
  cursor: pointer; transition: all .2s var(--ease-soft); white-space: nowrap;
}
.hm .hbtn:hover { transform: translateY(-2px); }
.hm .hbtn-sm { padding: .5rem 1rem; font-size: .875rem; }
@media (min-width: 640px) { .hm .hbtn-sm.sm-lg { padding: .625rem 1.5rem; font-size: 1rem; } }
.hm .hbtn-amber { background: var(--amber); color: var(--navy-ink); box-shadow: 0 14px 30px -14px rgba(255,158,53,.75); }
.hm .hbtn-amber:hover { background: var(--amber-600); }
.hm .hbtn-line { border-color: rgba(5,60,117,.25); background: #fff; color: var(--navy); }
.hm .hbtn-line:hover { background: var(--navy-100); }
.hm .hbtn-wa { background: var(--wa); color: #fff; }
.hm .hbtn-wa:hover { background: #187646; }
.hm .hbtn i { font-size: 1.05em; }

/* Reveal on scroll (main.js adds .animate-fade-up to .fade-on-scroll) */

/* ---------- Alert bar ---------- */
.hm-alert { background: var(--navy-ink); color: #fff; font-size: 12px; }
@media (min-width: 640px) { .hm-alert { font-size: 13px; } }
.hm-alert .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-top: 8px; padding-bottom: 8px; }
.hm-alert p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.hm-alert-tag {
  border-radius: 6px; background: var(--amber); color: var(--navy-ink); padding: 2px 8px;
  font-family: var(--f-mono); font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.hm-alert a { color: var(--amber); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.hm-alert-ally { display: none; color: rgba(255,255,255,.7); }
.hm-alert-ally strong { color: #fff; font-weight: 600; }
@media (min-width: 768px) { .hm-alert-ally { display: block; } }

/* ---------- Hero ---------- */
.hm-hero { position: relative; overflow: hidden; background: var(--cream) radial-gradient(circle at 0% 20%, #E3F2EE 0, rgba(227,242,238,0) 35%); }
.hm-hero > .wrap { padding-top: 28px; padding-bottom: 36px; }
.hm-hero-grid { display: grid; grid-template-columns: 1fr; align-items: center; gap: 32px; }
@media (min-width: 1024px) { .hm-hero-grid { grid-template-columns: 1.08fr .92fr; gap: 40px; } }
.hm-hero h1 { max-width: 36rem; font-size: 1.75rem; line-height: 1.08; text-wrap: balance; }
@media (min-width: 640px) { .hm-hero h1 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .hm-hero h1 { font-size: 3rem; } }
.hm .ul-draw { position: relative; display: inline-block; color: var(--amber-700); }
.hm .ul-draw::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.32em; height: .5em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M3 12 C 70 4, 150 4, 297 10' stroke='%23FF9E35' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.hm-hero-lede { margin-top: 16px; max-width: 32rem; font-size: 1rem; line-height: 1.625; color: var(--muted); }
@media (min-width: 640px) { .hm-hero-lede { font-size: 1.05rem; } }
.hm-pills { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.hm-pills span {
  border-radius: 9999px; border: 1px solid var(--line); background: #fff; padding: 6px 14px;
  font-family: var(--f-mono); font-size: .75rem; font-weight: 600; color: var(--navy);
}
.hm-hero-ctas { margin-top: 20px; display: flex; align-items: center; gap: 10px; }
.hm-hero-ctas .short { display: inline; } .hm-hero-ctas .long { display: none; }
@media (min-width: 640px) { .hm-hero-ctas .short { display: none; } .hm-hero-ctas .long { display: inline; } }

.hm-hero-art { position: relative; margin: 0 auto; display: none; width: 100%; max-width: 400px; height: 430px; }
@media (min-width: 768px) { .hm-hero-art { display: block; } }
@media (min-width: 1024px) { .hm-hero-art { height: 470px; max-width: 430px; } }
.hm-hero-art .doodles { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--navy); opacity: .2; }
.hm-hero-art .dash { position: absolute; left: 11%; right: 3%; bottom: -14px; height: calc(72% + 14px); border-radius: 9999px 9999px 0 0; border: 2px dashed rgba(5,60,117,.25); }
.hm-hero-art .arch { position: absolute; bottom: 0; left: 15%; right: 7%; height: 68%; overflow: hidden; border-radius: 9999px 9999px 32px 32px; background: var(--amber); }
.hm-hero-art .arch span { position: absolute; left: 50%; top: 18%; width: 140%; height: 140%; transform: translateX(-50%); border-radius: 50%; background: rgba(245,148,31,.4); }
.hm-hero-art .student { position: absolute; bottom: 0; left: 57%; height: 96%; width: auto; max-width: none; transform: translateX(-50%); }
.hm-hero-art .tag {
  position: absolute; border-radius: 9999px; padding: 6px 12px; font-size: .75rem; font-weight: 800;
  letter-spacing: .025em; box-shadow: var(--shadow-card);
}
.hm-hero-art .tag-jee  { left: 9%; top: 34%; transform: rotate(-8deg); background: var(--navy); color: #fff; }
.hm-hero-art .tag-neet { right: 0; top: 46%; transform: rotate(7deg); background: #fff; color: var(--teal-700); }
.hm-hero-art .tag-kcet { right: 12%; top: 26%; transform: rotate(-5deg); background: var(--teal-700); color: #fff; }
.hm-hero-art .seal { position: absolute; right: 2%; top: 0; width: 104px; height: 104px; border-radius: 50%; background: var(--navy); box-shadow: var(--shadow-lift); }
.hm-hero-art .seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: hm-spin 24s linear infinite; }
.hm-hero-art .seal b { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; color: #fff; font-family: var(--f-display); font-size: 1.25rem; font-weight: 800; }
.hm-hero-art .seal b small { padding-top: 2px; font-family: var(--f-body); font-size: 9px; font-weight: 600; color: rgba(255,255,255,.7); }
@keyframes hm-spin { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .hm-hero-art .seal svg { animation: none; } }
.hm-hero-art .ticket { position: absolute; bottom: 24px; left: 0; display: flex; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lift); }
.hm-hero-art .ticket-l { display: flex; flex-direction: column; justify-content: center; gap: 2px; background: var(--navy); padding: 12px 16px; color: #fff; }
.hm-hero-art .ticket-l small { font-family: var(--f-mono); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--amber); }
.hm-hero-art .ticket-l b { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; line-height: 1; }
.hm-hero-art .ticket-cut { position: relative; width: 0; border-left: 2px dashed var(--line); }
.hm-hero-art .ticket-cut::before, .hm-hero-art .ticket-cut::after { content: ""; position: absolute; left: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); }
.hm-hero-art .ticket-cut::before { top: -8px; } .hm-hero-art .ticket-cut::after { bottom: -8px; }
.hm-hero-art .ticket-r { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 10px 16px; }
.hm-hero-art .ticket-r b { font-family: var(--f-display); font-size: .875rem; font-weight: 800; color: var(--navy); }
.hm-hero-art .ticket-r small { font-size: .75rem; color: var(--muted); }

.hm-quick { margin-top: 28px; display: grid; gap: 12px; }
@media (min-width: 768px) { .hm-quick { grid-template-columns: repeat(3, 1fr); } }
.hm-quick a {
  display: flex; align-items: center; gap: 14px; border-radius: 16px; border: 1px solid var(--line);
  background: #fff; padding: 12px 16px; box-shadow: var(--shadow-card); transition: all .2s;
}
.hm-quick a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.hm-quick .ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; }
.hm-quick .ico svg, .hm-quick .arr { width: 20px; height: 20px; }
.hm-quick .txt { display: flex; flex: 1; flex-direction: column; }
.hm-quick .txt b { font-family: var(--f-display); font-size: .95rem; font-weight: 800; color: var(--navy); }
.hm-quick .txt small { font-size: .75rem; color: var(--muted); }
.hm-quick .arr { flex: none; color: var(--navy); }
.ico-navy  { background: var(--navy-100); color: var(--navy); }
.ico-teal  { background: var(--teal-100); color: var(--teal-700); }
.ico-amber { background: var(--amber-100); color: var(--amber-700); }

/* ---------- Why BASE stats ---------- */
.hm-why { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; }
.hm-why .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.hm-why-intro { flex: 1 1 340px; }
.hm-why-intro h2 { font-size: 1.375rem; }
.hm-why-intro p { margin-top: 8px; font-size: .875rem; line-height: 1.625; color: var(--muted); }
@media (min-width: 640px) { .hm-why-intro p { font-size: 15px; } }
.hm-why dl { flex: 2 1 560px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; }
@media (min-width: 640px) { .hm-why dl { gap: 24px; } }
@media (min-width: 1024px) { .hm-why dl { grid-template-columns: repeat(4, 1fr); } }
.hm-stat { border-radius: 16px; border: 1px solid var(--line); background: var(--cream); padding: 16px; }
@media (min-width: 640px) {
  .hm-stat { border-radius: 0; border: 0; border-left: 2px solid var(--line); background: transparent; padding: 0 0 0 20px; }
  .hm-stat:first-child { border-left-color: var(--amber); }
}
.hm-stat dd { margin: 0; white-space: nowrap; font-family: var(--f-display); font-size: 1.875rem; font-weight: 800; letter-spacing: -.025em; color: var(--navy); line-height: 1.2; }
@media (min-width: 640px) { .hm-stat dd { font-size: 2.25rem; } }
.hm-stat dt { margin-top: 4px; font-size: .875rem; line-height: 1.375; color: var(--muted); }
.hm-stat dt small { display: block; font-size: .75rem; opacity: .8; }

/* ---------- Achievers ---------- */
.hm-chips { margin: 24px -24px 0; padding: 0 24px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.hm-chips::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .hm-chips { margin: 32px 0 0; padding: 0; flex-wrap: wrap; gap: 10px; } }
.hm-chip {
  min-height: 38px; flex: none; white-space: nowrap; border-radius: 9999px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); padding: 0 14px; font-family: var(--f-body); font-size: .875rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
@media (min-width: 640px) { .hm-chip { min-height: 44px; padding: 0 20px; font-size: 15px; } }
.hm-chip:hover { border-color: rgba(5,60,117,.4); }
.hm-chip.active { border-color: var(--navy); background: var(--navy); color: #fff; }

.hm-ach-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .hm-ach-grid { margin-top: 32px; gap: 16px; } }
/* Desktop: one row; the featured card is wider and the width follows it on hover */
@media (min-width: 1024px) { .hm-ach-grid { display: flex; gap: 16px; } }
.hm-ach {
  display: flex; flex-direction: column; gap: 12px; border-radius: 16px; border: 1px solid var(--line); background: #fff; padding: 16px;
  transition: flex-grow .35s ease, background-color .25s, border-color .25s, color .25s;
}
@media (min-width: 640px) { .hm-ach { gap: 16px; border-radius: 24px; padding: 24px; } }
@media (min-width: 1024px) { .hm-ach { flex: 1 1 0; min-width: 0; gap: 10px; padding: 22px; cursor: default; } }
.hm-ach[hidden] { display: none; }
.hm-ach-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hm-ach-flag { display: none; font-family: var(--f-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--amber); }
@media (min-width: 640px) { .hm-ach-flag { font-size: .75rem; } }
.hm-ach-av {
  position: relative; display: grid; place-items: center; overflow: hidden; flex: none;
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy-100);
  font-family: var(--f-display); font-size: 1rem; font-weight: 800; color: var(--navy);
  transition: width .35s ease, height .35s ease;
}
@media (min-width: 640px) { .hm-ach-av { width: 56px; height: 56px; font-size: 1.125rem; } }
.hm-ach-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(1.7); transform-origin: 50% 8%; background: #fff; }
.hm-ach-score { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.025em; color: var(--navy); line-height: 1.2; }
@media (min-width: 640px) { .hm-ach-score { font-size: 1.5rem; } }
@media (min-width: 1024px) { .hm-ach-score { font-size: 1.375rem; } }
.hm-ach-exam { margin-top: 4px; font-size: 13px; color: var(--muted); }
.hm-ach-name { margin-top: auto; font-size: .875rem; font-weight: 600; color: var(--ink); }
@media (min-width: 640px) { .hm-ach-name { font-size: .9375rem; } }

/* Featured achiever: first visible card, or the hovered one on desktop */
.hm-ach.is-featured { border-color: var(--navy); background: var(--navy); color: #fff; }
.hm-ach.is-featured .hm-ach-flag { display: inline; }
.hm-ach.is-featured .hm-ach-av { border: 2px solid var(--amber); background: var(--navy-700); color: #fff; }
.hm-ach.is-featured .hm-ach-score { color: var(--amber); }
.hm-ach.is-featured .hm-ach-exam { color: rgba(255,255,255,.7); }
.hm-ach.is-featured .hm-ach-name { margin-top: 8px; color: #fff; }
.hm-ach.is-featured .hm-ach-flag .long { display: none; }
@media (min-width: 640px) { .hm-ach.is-featured .hm-ach-flag .long { display: inline; } }
@media (min-width: 1024px) {
  .hm-ach.is-featured { flex-grow: 2.15; gap: 14px; border-radius: 2rem; padding: 28px 32px; }
  .hm-ach.is-featured .hm-ach-av { width: 80px; height: 80px; border-width: 3px; font-size: 1.5rem; }
  .hm-ach.is-featured .hm-ach-score { font-size: 2.75rem; line-height: 1.05; }
  .hm-ach.is-featured .hm-ach-exam { margin-top: 10px; font-size: .9375rem; }
  .hm-ach.is-featured .hm-ach-name { margin-top: 4px; font-family: var(--f-display); font-size: 1.2rem; font-weight: 700; }
}

/* Video cards */
.hm-sub { margin-top: 40px; font-size: 1.125rem; }
@media (min-width: 640px) { .hm-sub { margin-top: 56px; } }
.hm-videos { margin-top: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .hm-videos { gap: 16px; } }
@media (min-width: 1024px) { .hm-videos { grid-template-columns: repeat(4, 1fr); } }
.hm-vid { display: block; }
.hm-vid-box { position: relative; display: block; overflow: hidden; height: 110px; border-radius: 16px; background: var(--navy-ink); }
@media (min-width: 640px) { .hm-vid-box { height: 150px; } }
.hm-vid-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hm-vid:hover .hm-vid-box img { transform: scale(1.03); }
.hm-vid-box .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,36,64,.9), rgba(10,36,64,.25), rgba(10,36,64,.1)); }
.hm-vid-box .bar { position: absolute; left: 20px; bottom: 56px; width: 36px; height: 4px; border-radius: 9999px; }
.hm-vid-box .cap { position: absolute; left: 20px; bottom: 16px; color: #fff; }
.hm-vid-box .cap b { display: block; font-family: var(--f-display); font-size: 1rem; font-weight: 800; line-height: 1; }
@media (min-width: 640px) { .hm-vid-box .cap b { font-size: 1.25rem; } }
.hm-vid-box .cap small { display: block; margin-top: 4px; font-size: .75rem; color: rgba(255,255,255,.8); }
.hm-vid-box .badge { position: absolute; left: 16px; top: 16px; border-radius: 9999px; padding: 4px 12px; font-family: var(--f-display); font-size: 11px; font-weight: 800; color: var(--navy-ink); }
.hm-vid-box .play { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy-ink); box-shadow: var(--shadow-card); transition: transform .2s; }
.hm-vid:hover .play { transform: scale(1.05); }
.hm-vid-title { margin-top: 8px; font-size: .875rem; font-weight: 600; color: var(--ink); }
@media (min-width: 640px) { .hm-vid-title { margin-top: 10px; font-size: 15px; } }
.hm-vid:hover .hm-vid-title { color: var(--navy); }
.acc-amber { background: var(--amber); } .acc-navy { background: var(--navy-500); }
.acc-teal { background: var(--teal); }   .acc-coral { background: var(--coral); }

/* ---------- Programmes ---------- */
.hm-progs { margin-top: 40px; display: grid; gap: 20px; }
@media (min-width: 640px) { .hm-progs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hm-progs { grid-template-columns: repeat(4, 1fr); } }
.hm-prog { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: #fff; transition: all .2s; }
.hm-prog:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.hm-prog-img { position: relative; height: 130px; background: var(--mist); }
@media (min-width: 640px) { .hm-prog-img { height: 170px; } }
.hm-prog-img img { width: 100%; height: 100%; object-fit: cover; }
.hm-prog-img span { position: absolute; left: 14px; top: 14px; border-radius: 9999px; background: #fff; padding: 4px 10px; font-size: .75rem; font-weight: 700; }
.hm-prog-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 20px; }
.hm-prog h3 { font-size: 1.25rem; }
.hm-prog-dur { margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--amber-700); }
.hm-prog-desc { font-size: .875rem; line-height: 1.625; color: var(--muted); }
.hm-prog-modes { display: flex; flex-wrap: wrap; gap: 6px; }
.hm-prog-modes span { border-radius: 9999px; padding: 4px 10px; font-size: .75rem; font-weight: 600; }
.hm-prog-meta { margin-top: auto; display: flex; gap: 16px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; font-weight: 600; color: var(--ink); }
.hm-prog-go { font-weight: 600; color: var(--navy); font-size: 1rem; }
.hm-prog-go:hover { color: var(--amber-700); }
.c-navy-600 { color: var(--navy-600); } .c-teal-700 { color: var(--teal-700); }
.c-amber-700 { color: var(--amber-700); } .c-coral-700 { color: var(--coral-700); }

/* ---------- Sections kept in the earlier design (BASE Way, Ecosystem) ---------- */
.hm .hm-legacy { font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); }
.hm .hm-legacy :where(h1, h2, h3, h4) { font-family: inherit; color: inherit; letter-spacing: normal; line-height: inherit; }

/* ---------- Testimonials ---------- */
.hm-voices { background: var(--navy); color: #fff; padding: 48px 0; }
@media (min-width: 640px) { .hm-voices { padding: 64px 0; } }
.hm-voices .wrap { display: grid; align-items: center; gap: 48px; }
@media (min-width: 1024px) { .hm-voices .wrap { grid-template-columns: 1fr 1.2fr; } }
.hm-voices h2 { color: #fff; }
.hm-voices blockquote { margin: 20px 0 0; border-left: 3px solid var(--amber); padding-left: 20px; font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,.9); }
@media (min-width: 640px) { .hm-voices blockquote { font-size: 1.0625rem; } }
.hm-voice-name { margin-top: 20px; font-family: var(--f-display); font-size: 1.05rem; font-weight: 800; }
.hm-voice-role { font-size: .875rem; color: rgba(255,255,255,.7); }
.hm-voice-nav { margin-top: 24px; display: flex; align-items: center; gap: 12px; }
.hm-voice-nav button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; transition: background .2s; font-size: .9rem; }
.hm-voice-prev { border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; }
.hm-voice-prev:hover { background: rgba(255,255,255,.1); }
.hm-voice-next { border: 0; background: var(--amber); color: var(--navy-ink); }
.hm-voice-next:hover { background: var(--amber-600); }
.hm-voice-count { font-size: 13px; color: rgba(255,255,255,.7); }
.hm-voice-vid .hm-vid-box { height: 240px; border-radius: 28px; }
@media (min-width: 640px) { .hm-voice-vid .hm-vid-box { height: 360px; } }
.hm-voice-vid .bar { left: 20px; bottom: 88px; }
.hm-voice-vid .cap { bottom: 24px; }
.hm-voice-vid .cap b { font-size: 2.25rem; }
.hm-voice-vid .cap small { margin-top: 6px; font-size: 1rem; }
.hm-voice-vid .badge { left: 20px; top: 20px; }
.hm-voice-vid .play { left: 50%; top: 50%; right: auto; bottom: auto; width: 76px; height: 76px; transform: translate(-50%, -50%); background: var(--amber); box-shadow: 0 0 0 12px rgba(255,158,53,.25); font-size: 1.5rem; }
.hm-voice-vid:hover .play { transform: translate(-50%, -50%) scale(1.05); }

/* ---------- Centres ---------- */
.hm-cities { margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .hm-cities { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .hm-cities { grid-template-columns: repeat(6, 1fr); } }
.hm-city {
  display: flex; flex-direction: column; align-items: center; gap: 6px; border-radius: 24px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); padding: 16px; text-align: center; cursor: pointer; font-family: var(--f-body);
  transition: all .2s var(--ease-soft);
}
@media (min-width: 640px) { .hm-city { gap: 8px; padding: 20px; } }
.hm-city:hover { transform: translateY(-4px); border-color: rgba(255,158,53,.6); box-shadow: var(--shadow-card); }
.hm-city img { width: 80px; height: 80px; object-fit: contain; }
@media (min-width: 640px) { .hm-city img { width: 96px; height: 96px; } }
.hm-city .img-on { display: none; }
.hm-city b { margin-top: 4px; font-family: var(--f-display); font-size: 1rem; font-weight: 700; }
.hm-city small { font-size: .75rem; font-weight: 500; color: var(--muted); }
.hm-city.active { border-color: var(--amber); background: var(--amber); color: #fff; box-shadow: 0 14px 30px -14px rgba(255,158,53,.75); transform: none; }
.hm-city.active small { color: rgba(255,255,255,.85); }
.hm-city.active .img-on { display: block; } .hm-city.active .img-off { display: none; }
.hm-city-panel { margin-top: 20px; border-radius: 24px; border: 1px solid var(--line); background: var(--cream); padding: 24px; }
.hm-city-panel[hidden] { display: none; }
.hm-city-panel > p { font-weight: 600; color: var(--navy); }
.hm-city-links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.hm-city-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border-radius: 9999px; border: 1px solid var(--line);
  background: #fff; padding: 0 16px; font-size: 15px; font-weight: 600; color: var(--navy); transition: border-color .2s;
}
.hm-city-links a:hover { border-color: rgba(5,60,117,.4); }
.hm-city-links i { font-size: .8rem; color: var(--amber-700); }

/* ---------- Kept sections (Life at BASE, Insights) in the new style ---------- */
.hm .gallery-grid { margin-top: 40px; }
.hm .gallery-item, .hm .katte-card { border-radius: 24px; border-color: var(--line); }
.hm .katte-grid { margin-top: 40px; }
.hm .katte-body h4 { font-family: var(--f-display); color: var(--navy); }
.hm .katte-read { color: var(--navy); }

/* ---------- FAQ ---------- */
.hm-faq .wrap { display: grid; gap: 48px; }
@media (min-width: 1024px) { .hm-faq .wrap { grid-template-columns: 1fr 1.7fr; } }
.hm-faq-list details { border-bottom: 1px solid var(--line); padding: 8px 0; }
.hm-faq-list details:first-child { border-top: 0; }
.hm-faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0;
  cursor: pointer; list-style: none; font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; color: var(--navy);
}
.hm-faq-list summary::-webkit-details-marker { display: none; }
.hm-faq-list summary i { flex: none; color: var(--amber-700); transition: transform .2s; }
.hm-faq-list details[open] summary i { transform: rotate(180deg); }
.hm-faq-list p { padding-bottom: 16px; font-size: 15px; line-height: 1.625; color: var(--muted); }
.hm-faq .hbtn { margin-top: 20px; }

/* ---------- Enquiry ---------- */
.hm-enq { background: var(--cream); padding: 0 0 56px; }
@media (min-width: 640px) { .hm-enq { padding-bottom: 80px; } }
@media (min-width: 1024px) { .hm-enq { padding-bottom: 88px; } }
.hm-enq-box {
  position: relative; display: grid; align-items: center; gap: 40px; overflow: hidden; border-radius: 28px;
  border: 1px solid rgba(255,158,53,.4); background: linear-gradient(to bottom right, var(--amber-100), var(--amber-100), #FFF8EE); padding: 24px;
}
@media (min-width: 640px) { .hm-enq-box { padding: 40px; } }
@media (min-width: 1024px) { .hm-enq-box { grid-template-columns: 1fr 1.2fr; } }
.hm-enq-glow { pointer-events: none; position: absolute; right: -64px; top: -96px; width: 288px; height: 288px; border-radius: 50%; background: rgba(255,158,53,.3); filter: blur(64px); }
.hm-enq-copy { position: relative; }
.hm-enq-copy h2 { font-size: 1.5rem; line-height: 1.25; }
@media (min-width: 640px) { .hm-enq-copy h2 { font-size: 2.125rem; } }
.hm-enq-copy > p { margin-top: 12px; max-width: 28rem; color: #5B4A35; }
.hm-enq-steps { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.hm-enq-steps li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--ink); }
.hm-enq-steps b { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--amber); font-family: var(--f-display); font-size: .875rem; font-weight: 800; color: var(--navy-ink); }
.hm-enq-ctas { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hm-enq-ctas .hbtn { padding-top: .625rem; padding-bottom: .625rem; }
.hm-enq-ctas .hbtn-line { border-color: rgba(255,158,53,.5); }
.hm-enq-facts { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 4px 20px; font-family: var(--f-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: rgba(5,60,117,.6); }
.hm-enq-card { position: relative; border-radius: 24px; background: #fff; padding: 20px; box-shadow: var(--shadow-lift); }
@media (min-width: 640px) { .hm-enq-card { padding: 28px; } }

.hm .form { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .hm .form { grid-template-columns: repeat(2, 1fr); } .hm .form .full { grid-column: span 2; } }
.hm .field label { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 600; color: var(--navy); }
.hm .field label .muted { font-weight: 400; }
.hm .field input, .hm .field select {
  width: 100%; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 12px 14px;
  font-family: var(--f-body); font-size: 15px; font-weight: 500; color: var(--ink);
}
.hm .field input:focus, .hm .field select:focus { border-color: var(--teal); outline: none; }
.hm .field select, .hm .tel select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.4rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23053C75' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .85rem center / 1rem;
}
.hm .tel { display: flex; gap: 8px; }
.hm .tel select { width: 6rem; flex: none; padding-right: 1.9rem; background-position: right .55rem center; background-size: .95rem; }
.hm .consent { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; color: var(--muted); }
.hm .consent input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--navy); }
.hm .form .hbtn { width: 100%; }

/* Enquiry form errors (includes/enquiry-form.php) */
.hm .field .err, .hm [data-field] .err { display: none; margin-top: 4px; font-size: .875rem; font-weight: 600; color: var(--coral); }
.hm .invalid .err { display: block; }
.hm .field.invalid input, .hm .field.invalid select { border-color: var(--coral); }
.hm .check { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; color: var(--muted); cursor: pointer; }
.hm .check input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--navy); }
.hm .form-err { margin-top: 8px; font-size: .875rem; font-weight: 600; color: var(--coral); }
.hm .form-err:empty { display: none; }
