/* =========================================================
   HOME PAGE — modern refresh
   Loaded only by index.html, after styles.css. Everything is
   scoped under body.home so inner pages are unaffected.
   ========================================================= */
body.home{
  --radius-lg:28px;
  --radius-md:20px;
  --radius-sm:14px;
  --shadow-soft:0 1px 2px rgba(16,26,74,0.04), 0 8px 24px rgba(16,26,74,0.06);
  --shadow-lift:0 2px 4px rgba(16,26,74,0.05), 0 24px 48px rgba(16,26,74,0.12);
  --glass:rgba(255,255,255,0.06);
  --glass-line:rgba(255,255,255,0.12);
}

/* ---------- shared bits ---------- */
.home .section{padding:104px 0;}
.home .section-head{margin-bottom:52px;}
.home .section h2{font-size:44px;font-weight:600;letter-spacing:-0.02em;line-height:1.1;margin-bottom:16px;}
.home .section-head p{font-size:17px;}
.home .eyebrow{display:inline-flex;align-items:center;gap:10px;}
.home .section .eyebrow::before{content:"";width:22px;height:2px;border-radius:2px;background:currentColor;opacity:.7;}
.home .section-head.split{max-width:none;display:flex;align-items:flex-end;justify-content:space-between;gap:40px;}
.home .section-head.split > div{max-width:600px;}
.home .btn{border-radius:100px;}
.home .btn-arrow svg{transition:transform .2s ease;}
.home .btn-arrow:hover svg{transform:translateX(3px);}
.home .btn-ghost-light{background:rgba(255,255,255,0.06);color:#fff;border:1px solid rgba(255,255,255,0.22);backdrop-filter:blur(6px);}
.home .btn-ghost-light:hover{background:rgba(255,255,255,0.14);}
.home .btn-dark{background:var(--navy-deep);color:#fff;}
.home .btn-dark:hover{background:var(--navy);}

/* ---------- HERO ---------- */
.home .hero-modern{
  overflow:hidden;
  background-color:var(--navy-deep);
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size:60px 60px, 60px 60px;
}
.home .hero-modern > .wrap{padding-top:56px;position:relative;z-index:1;}
.home .hero-modern-text h1{font-size:80px;letter-spacing:-0.035em;line-height:1.02;margin-bottom:24px;}
.home .hero-modern-text h1 em{
  font-style:italic;font-weight:500;
  background:linear-gradient(100deg, #F4DFA6 0%, var(--gold) 45%, #D9A94A 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  padding-right:.06em;
}
.home .hero-modern-text p{font-size:19px;color:rgba(255,255,255,0.72);margin-bottom:34px;}

.hero-badge{
  display:inline-flex;align-items:center;gap:10px;
  padding:7px 16px 7px 8px;margin-bottom:26px;
  border-radius:100px;background:var(--glass);border:1px solid var(--glass-line);
  color:rgba(255,255,255,0.86);font-size:13.5px;font-weight:500;
  backdrop-filter:blur(8px);
}
.hero-badge .tag{
  background:var(--gold);color:var(--navy-deep);font-weight:700;font-size:11px;
  letter-spacing:.04em;text-transform:uppercase;padding:4px 10px;border-radius:100px;
}
.hero-badge .live{width:8px;height:8px;border-radius:50%;background:#3DDC84;position:relative;flex-shrink:0;}
.hero-badge .live::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:2px solid #3DDC84;opacity:0;animation:pulse 2s ease-out infinite;}
@keyframes pulse{0%{transform:scale(.6);opacity:.9;}100%{transform:scale(1.8);opacity:0;}}

.home .hero-btns{flex-wrap:wrap;}
.home .hero-btns .btn{height:54px;padding:0 28px;border-radius:100px;font-size:15.5px;}

.home .hero-metrics{
  display:grid;grid-template-columns:repeat(4,auto);gap:0;align-items:center;
  width:fit-content;max-width:100%;margin-top:44px;padding:20px 4px;
  background:var(--glass);border:1px solid var(--glass-line);border-radius:var(--radius-md);
  backdrop-filter:blur(10px);
}
.home .hero-metrics .m{padding:2px 24px;border-left:1px solid var(--glass-line);}
.home .hero-metrics .m:first-child{border-left:none;}
.home .hero-metrics .m .n{font-size:28px;letter-spacing:-0.01em;}
.home .hero-metrics .m .l{font-size:13px;line-height:1.35;margin-top:8px;white-space:nowrap;}

.home .hero-visual{position:relative;}
.home .hero-visual img.hero-person{margin-right:40px;}

/* ---------- TRUST STRIP ---------- */
.trust-strip{background:#fff;border-bottom:1px solid var(--line);}
.trust-strip .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px 40px;flex-wrap:wrap;padding-top:26px;padding-bottom:26px;}
.trust-strip .ts-label{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-weight:700;}
.trust-strip .cert-pills{display:flex;gap:12px;flex-wrap:wrap;}
.trust-strip .cert-pills span{
  display:inline-flex;align-items:center;gap:8px;
  font-size:14px;font-weight:600;color:var(--navy);
  padding:9px 16px;border-radius:100px;background:var(--paper);border:1px solid var(--line);
}
.trust-strip .cert-pills svg{width:16px;height:16px;color:var(--gold-deep);flex-shrink:0;}

/* ---------- HALL TICKET CARD ---------- */
.ticket-band{padding:28px 0 0;}
.ticket-card{
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  padding:20px 22px 20px 20px;border-radius:var(--radius-md);
  background:linear-gradient(100deg,#fff 0%, #fff 55%, #FBEAE8 100%);
  border:1px solid var(--line);box-shadow:var(--shadow-soft);
}
.ticket-card .tc-left{display:flex;align-items:center;gap:16px;}
.ticket-card .tc-icon{width:56px;height:56px;border-radius:16px;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.ticket-card .tc-icon svg{width:28px;height:28px;}
.ticket-card .tc-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:17px;font-weight:700;color:var(--navy);}
.ticket-card .tc-tag{background:#FDF3DE;border:1px solid #E8C87A;color:#8C6410;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:2px 10px;border-radius:20px;}
.ticket-card .tc-sub{font-size:14px;color:var(--muted);margin-top:2px;}

/* ---------- WHY ETC (bento) ---------- */
.why-bento{display:grid;grid-template-columns:1.05fr 1fr;gap:20px;}
.why-photo{
  position:relative;border-radius:var(--radius-lg);overflow:hidden;min-height:480px;
  box-shadow:var(--shadow-lift);
}
.why-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s ease;}
.why-photo:hover img{transform:scale(1.04);}
.why-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(16,26,74,0) 35%, rgba(16,26,74,0.92) 100%);}
.why-photo .wp-cap{position:absolute;left:28px;right:28px;bottom:26px;z-index:2;color:#fff;}
.why-photo .wp-cap .q{font-family:'Fraunces',serif;font-size:28px;font-weight:500;line-height:1.2;letter-spacing:-0.01em;}
.why-photo .wp-cap .s{margin-top:10px;font-size:14px;color:rgba(255,255,255,0.75);}
.why-photo .wp-chip{position:absolute;top:22px;left:22px;z-index:2;background:rgba(255,255,255,0.92);color:var(--navy-deep);font-size:12.5px;font-weight:700;padding:7px 14px;border-radius:100px;display:inline-flex;align-items:center;gap:8px;}
.why-photo .wp-chip i{width:7px;height:7px;border-radius:50%;background:var(--red);}
.why-list{display:grid;grid-template-rows:repeat(3,1fr);gap:20px;}
.home .why-list .plain-card{
  display:flex;gap:20px;align-items:flex-start;padding:28px;border-radius:var(--radius-md);
  border:1px solid var(--line);box-shadow:var(--shadow-soft);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.home .why-list .plain-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift);border-color:transparent;}
.home .why-list .plain-card .icon{
  width:52px;height:52px;border-radius:16px;margin:0;flex-shrink:0;
  background:linear-gradient(135deg,var(--navy) 0%, var(--navy-deep) 100%);color:var(--gold);
}
.home .why-list .plain-card .icon svg{width:24px;height:24px;}
.home .why-list .plain-card h3{font-size:20px;margin-bottom:6px;}

/* ---------- COURSES ---------- */
.home .tabs{
  display:inline-flex;gap:4px;padding:5px;margin-bottom:32px;
  border:1px solid var(--line);border-radius:100px;background:var(--paper);
  max-width:100%;overflow-x:auto;scrollbar-width:none;flex-wrap:nowrap;
}
.home .tabs::-webkit-scrollbar{display:none;}
.home .tab{
  margin:0;padding:11px 20px;border:none;border-radius:100px;white-space:nowrap;
  font-size:14.5px;color:var(--muted);transition:background .2s ease, color .2s ease, box-shadow .2s ease;
}
.home .tab:hover{color:var(--navy);}
.home .tab.active{background:var(--navy-deep);color:#fff;box-shadow:0 6px 16px rgba(16,26,74,0.25);border-bottom:none;}
.home .course-grid{gap:18px;}
.home .course-card{
  position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);
  padding:26px 26px 28px;overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.home .course-card::before{
  content:"";position:absolute;left:0;top:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--red),var(--gold));
  transform:scaleX(0);transform-origin:left;transition:transform .35s ease;
}
.home .course-card::after{
  /* arrow badge, top right */
  content:"";position:absolute;top:22px;right:22px;width:34px;height:34px;border-radius:50%;
  background:var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C2B6E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center/16px no-repeat;
  transition:background-color .25s ease, transform .25s ease;
}
.home .course-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lift);border-color:transparent;}
.home .course-card:hover::before{transform:scaleX(1);}
.home .course-card:hover::after{background-color:var(--gold);transform:rotate(45deg);}
.home .course-card .dur{background:#FDF3DE;margin-bottom:18px;}
.home .course-card h3{font-size:19px;padding-right:44px;margin-bottom:8px;}
.home .course-card p{font-size:15px;}
.courses-foot{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:40px;}
.courses-foot .note{font-size:14px;color:var(--muted);}

/* ---------- HOW TO JOIN ---------- */
.home .process-grid{position:relative;gap:20px;}
.home .process-step{
  position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);
  padding:30px 28px 32px;box-shadow:var(--shadow-soft);
}
.home .process-step .ps-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;}
.home .process-step .num{
  font-size:15px;font-weight:600;font-family:'Satoshi',sans-serif;color:var(--navy);margin:0;
  width:44px;height:44px;border-radius:50%;border:1.5px solid var(--navy);
  display:flex;align-items:center;justify-content:center;background:#fff;
}
.home .process-step:last-child .num{background:var(--red);border-color:var(--red);color:#fff;}
.home .process-step{transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;}
.home .process-step:hover{transform:translateY(-4px);box-shadow:var(--shadow-lift);border-color:transparent;}
.home .process-step .ps-icon{transition:color .25s ease, transform .25s ease;}
.home .process-step:hover .ps-icon{color:var(--red);transform:translateY(-2px);}
.home .process-step .num{transition:background .25s ease, color .25s ease, border-color .25s ease;}
.home .process-step:hover .num{background:var(--navy-deep);border-color:var(--navy-deep);color:#fff;}
.home .process-step:last-child:hover .num{background:var(--red-deep);border-color:var(--red-deep);}
.home .process-step .ps-icon{color:var(--gold-deep);}
.home .process-step .ps-icon svg{width:30px;height:30px;}
.home .process-step h3{font-size:21px;margin-bottom:8px;}
.home .process-step p{font-size:15px;}
.home .process-step:not(:last-child)::after{
  /* connector between cards */
  content:"";position:absolute;top:52px;right:-21px;width:22px;height:2px;
  background:repeating-linear-gradient(90deg,var(--gold-deep) 0 4px, transparent 4px 8px);
  opacity:.6;
}

/* ---------- FACILITIES (bento) ---------- */
.home .facility-grid{grid-template-columns:repeat(4,1fr);grid-template-rows:260px 260px;gap:18px;}
.home .facility-card{aspect-ratio:auto;border:none;border-radius:var(--radius-md);box-shadow:var(--shadow-soft);}
.home .facility-card:nth-child(1){grid-column:span 2;grid-row:span 2;}
.home .facility-card:nth-child(2){grid-column:span 2;}
.home .facility-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lift);}
.home .facility-label{padding:60px 22px 20px;background:linear-gradient(0deg,rgba(16,26,74,0.9) 0%,rgba(16,26,74,0.35) 60%,transparent 100%);}
.home .facility-label .fl-title{font-size:19px;}
.home .facility-card:nth-child(1) .fl-title{font-size:26px;}
.home .facility-label .fl-bar{width:28px;height:3px;border-radius:3px;}

/* ---------- GRADUATES (carousel) ---------- */
.home .section.navy{
  background-color:var(--navy-deep);
  background-image:none;
}
.grad-controls{display:flex;gap:10px;flex-shrink:0;}
.grad-controls button{
  width:48px;height:48px;border-radius:50%;cursor:pointer;
  background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.2);color:#fff;
  display:flex;align-items:center;justify-content:center;transition:background .2s ease, opacity .2s ease;
}
.grad-controls button:hover{background:var(--gold);color:var(--navy-deep);border-color:var(--gold);}
.grad-controls button:disabled{opacity:.35;cursor:default;background:rgba(255,255,255,0.06);color:#fff;border-color:rgba(255,255,255,0.2);}
.grad-controls svg{width:20px;height:20px;}
.home .grad-grid{
  display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:calc((100% - 66px) / 4);
  gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;
  padding-bottom:6px;margin-bottom:0;scrollbar-width:none;
}
.home .grad-grid::-webkit-scrollbar{display:none;}
.home .grad-card{scroll-snap-align:start;border-radius:var(--radius-md);background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.1);box-shadow:none;}
.home .grad-card:hover{transform:translateY(-4px);box-shadow:0 24px 48px rgba(0,0,0,0.35);}
.home .grad-photo{aspect-ratio:4/5;position:relative;}
.home .grad-body{padding:18px 18px 20px;}
.home .grad-card .name{color:#fff;font-size:20px;}
.home .grad-card .place{color:rgba(255,255,255,0.6);}
.home .grad-role-chip{background:rgba(232,200,122,0.1);border:1px solid rgba(232,200,122,0.22);}
.home .grad-role-chip .rl{color:rgba(255,255,255,0.55);}
.home .grad-role-chip .rv{color:var(--gold);}
.grad-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:36px;}
.grad-progress{flex:1;max-width:320px;height:3px;border-radius:3px;background:rgba(255,255,255,0.12);overflow:hidden;}
.grad-progress span{display:block;height:100%;width:25%;background:var(--gold);border-radius:3px;transition:width .2s ease, margin-left .2s ease;}

/* ---------- FAQ ---------- */
.faq-layout{display:grid;grid-template-columns:0.8fr 1.2fr;gap:64px;align-items:start;}
.faq-aside{position:sticky;top:110px;}
.faq-aside .section-head{margin-bottom:28px;}
.faq-help{
  background:var(--navy-deep);color:#fff;border-radius:var(--radius-md);padding:26px;
}
.faq-help .fh-t{font-family:'Fraunces',serif;font-size:22px;font-weight:600;margin-bottom:6px;}
.faq-help .fh-s{font-size:14.5px;color:rgba(255,255,255,0.72);margin-bottom:20px;line-height:1.55;}
.faq-help .fh-btns{display:flex;gap:10px;flex-wrap:wrap;}
.faq-help .btn{height:44px;padding:0 18px;}
.home .faq-list{column-count:1;border-top:none;display:flex;flex-direction:column;gap:12px;}
.home .faq-item{background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);transition:box-shadow .2s ease, border-color .2s ease;}
.home .faq-item:hover{border-color:#D9D4C4;}
.home .faq-item.open{box-shadow:var(--shadow-soft);border-color:transparent;}
.home .faq-q{padding:20px 22px;font-size:16px;}
.home .faq-icon{width:30px;height:30px;border-radius:50%;background:var(--paper);transition:background .2s ease;}
.home .faq-item.open .faq-icon{background:var(--navy-deep);}
.home .faq-item.open .faq-icon::before{background:#fff;}
.home .faq-a-inner{padding:0 22px 22px;font-size:15.5px;}

/* ---------- CTA / FORM ---------- */
.home .form-section{padding:104px 0;}
.home .cta{
  padding:56px;border-radius:var(--radius-lg);gap:56px;align-items:center;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.12);overflow:hidden;
}
.home .cta h2{font-size:46px;letter-spacing:-0.02em;line-height:1.08;}
.home .cta h2 em{font-style:italic;font-weight:500;}
.home .cta form{background:rgba(9,15,46,0.55);border:1px solid rgba(255,255,255,0.1);border-radius:var(--radius-md);padding:30px;backdrop-filter:blur(10px);}
.home .cta input, .home .cta select{border-radius:12px;}
.home .cta .submit{border-radius:100px;height:54px;}
.home .trust-bullets{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.home .trust-bullets div{align-items:center;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);border-radius:14px;padding:14px;}
.home .trust-bullets span.txt{font-size:14.5px;line-height:1.35;}

/* ---------- SCROLL REVEAL ---------- */
/* Uses `translate` (not `transform`) so it never fights card hover lifts,
   and lists the hover transitions too so cards keep them once revealed. */
.js-reveal .reveal{
  opacity:0;translate:0 24px;
  transition:opacity .7s ease, translate .7s cubic-bezier(.2,.7,.2,1), transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.js-reveal .reveal.in{opacity:1;translate:none;}
.js-reveal .reveal.d1{transition-delay:.08s, .08s, 0s, 0s, 0s, 0s;}
.js-reveal .reveal.d2{transition-delay:.16s, .16s, 0s, 0s, 0s, 0s;}
.js-reveal .reveal.d3{transition-delay:.24s, .24s, 0s, 0s, 0s, 0s;}
@media (prefers-reduced-motion: reduce){
  .js-reveal .reveal{opacity:1;translate:none;transition:none;}
  .hero-badge .live::after{animation:none;}
  .home .grad-grid{scroll-behavior:auto;}
}

/* ---------- TABLET ---------- */
@media(min-width:901px) and (max-width:1180px){
  .home .hero-modern-text h1{font-size:56px;}
  .home .hero-metrics{width:auto;max-width:520px;grid-template-columns:repeat(2,1fr);gap:16px 0;margin-bottom:48px;}
  .home .hero-metrics .m{padding:2px 20px;}
  .home .hero-metrics .m .l{white-space:normal;}
  .home .hero-metrics .m:nth-child(3){border-left:none;}
    .home .section h2{font-size:38px;}
  .home .grad-grid{grid-auto-columns:calc((100% - 44px) / 3);}
  .home .cta{padding:40px;}
}

/* ---------- MOBILE ---------- */
@media(max-width:900px){
  .home .section, .home .form-section{padding:64px 0;}
  .home .section h2{font-size:34px;}
  .home .section-head{margin-bottom:36px;}
  .home .section-head.split{flex-direction:column;align-items:flex-start;gap:20px;}

  .home .hero-modern > .wrap{padding-top:44px;}
  .home .hero-modern-text h1{font-size:52px;}
  .home .hero-metrics{width:auto;grid-template-columns:repeat(2,1fr);gap:18px 0;max-width:none;}
  .home .hero-metrics .m{padding:2px 20px;}
  .home .hero-metrics .m .l{white-space:normal;}
  .home .hero-metrics .m:nth-child(3){border-left:none;}
  .home .hero-visual img.hero-person{max-height:56vh;margin:0 auto;}

  .trust-strip .cert-pills{width:100%;}
  .trust-strip .cert-pills span{justify-content:center;}

  .why-bento{grid-template-columns:1fr;}
  .why-photo{min-height:340px;}
  .why-list{grid-template-rows:none;}

  .home .tabs{display:flex;}
  .home .process-step:not(:last-child)::after{display:none;}

  .home .facility-grid{grid-template-columns:1fr 1fr!important;grid-template-rows:auto;}
  .home .facility-card{aspect-ratio:3/4;}
  .home .facility-card:nth-child(1){grid-column:span 2;grid-row:auto;aspect-ratio:4/3;}
  .home .facility-card:nth-child(2){grid-column:auto;}
  .home .facility-card:nth-child(4){grid-column:span 2;aspect-ratio:16/9;}
  .home .facility-card:nth-child(1) .fl-title{font-size:21px;}

  .home .grad-grid{grid-template-columns:none!important;grid-auto-columns:72%;}

  .faq-layout{grid-template-columns:1fr;gap:28px;}
  .faq-aside{position:static;}

  .home .cta{padding:28px 22px;gap:32px;}
  .home .cta h2{font-size:36px;}
  .home .cta form{padding:22px;}
}
@media(max-width:520px){
  .home .section h2{font-size:30px;}
  .home .hero-modern-text h1{font-size:46px;}
  .home .hero-modern-text p{font-size:17px;}
  .home .hero-metrics .m{padding:0 12px;}
  .home .hero-metrics .m .n{font-size:24px;}
  .home .why-list .plain-card{padding:22px;gap:16px;}
  .why-photo .wp-cap .q{font-size:23px;}
  .home .trust-bullets{grid-template-columns:1fr;}
  .home .cta h2{font-size:31px;}
  .home .grad-grid{grid-auto-columns:82%;}
  .ticket-card .btn{width:100%;}
}

/* hero badge: keep it to one line on phones */
.hero-badge .tag{white-space:nowrap;}
@media(max-width:520px){
  .hero-badge .hb-extra{display:none;}
}
@media(max-width:900px){
  .home .facility-card:nth-child(2) .facility-label,
  .home .facility-card:nth-child(3) .facility-label{padding:40px 14px 14px;}
  .home .facility-card:nth-child(2) .fl-title,
  .home .facility-card:nth-child(3) .fl-title{font-size:15px;line-height:1.25;}
}
