/* EDU NATURE LAB — 메인페이지 전용 (front page only) */
.home{
  --hg:#24563A;--hg-d:#173C2C;--hg-mint:#DCEFE2;--hg-cream:#FAFBF7;--hg-gray:#EEF2EC;--hg-lime:#C7E28A;--hg-text:#3D4941;
  background:var(--hg-cream);color:var(--hg-text);
}
.home .hm-wrap{max-width:1240px;margin:0 auto;padding:0 28px}
.home h1,.home h2,.home h3{color:var(--hg-d);letter-spacing:-.02em}
.home{word-break:keep-all;overflow-wrap:break-word}
.hand{font-family:"Nanum Pen Script","Gaegu","Comic Sans MS",cursive;color:var(--hg-d);font-weight:400;line-height:1.25}

/* header: 히어로 위에 얹는 투명 헤더 */
.home .site-header{position:absolute;left:0;right:0;background:linear-gradient(#fffffff2,#ffffff00);border:0;backdrop-filter:none}
.home .site-logo{color:var(--hg-d)}
.home .site-nav a{color:var(--hg-d)}
.home .header-cta .btn{background:var(--hg);border-color:var(--hg);color:#fff;border-radius:999px}
.home .header-cta .btn:hover{background:var(--hg-d);border-color:var(--hg-d)}

/* buttons */
.hm-btn{display:inline-flex;align-items:center;gap:10px;padding:15px 28px;border-radius:999px;background:var(--hg);color:#fff;font-weight:700;font-size:.98rem;border:1.5px solid var(--hg);transition:background .2s,transform .15s}
.hm-btn:hover{background:var(--hg-d);transform:translateY(-2px)}
.hm-btn--line{background:#fff;color:var(--hg);}
.hm-btn--line:hover{background:var(--hg-mint);color:var(--hg-d)}
.hm-btn--light{background:#fff;color:var(--hg-d);border-color:#fff}
.hm-btn--light:hover{background:var(--hg-lime);color:var(--hg-d)}
.hm-btn--sm{padding:11px 22px;font-size:.9rem;margin-top:18px}

/* section scaffold */
.hm-sec{padding:72px 0;border-top:1px solid #e3e9df}
.hm-head{max-width:420px}
.hm-num{font-size:2.2rem;font-weight:300;color:var(--hg-d);margin-right:10px;line-height:1}
.hm-sub{font-size:.72rem;letter-spacing:.14em;color:#7a877e;font-weight:600}
.hm-head h2{font-size:clamp(1.6rem,2.6vw,2.15rem);font-weight:800;margin:20px 0 14px;line-height:1.35}
.hm-head p{font-size:.98rem;margin:0 0 24px}

/* 01 hero */
.hm-hero{position:relative;min-height:clamp(560px,52vw,720px);display:flex;align-items:flex-end;overflow:hidden;background:var(--hg-cream)}
.hm-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 50%}
.hm-hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#fafbf7f2 0%,#fafbf7d9 32%,#fafbf700 62%)}
.hm-hero-in{position:relative;z-index:2;width:100%;padding-top:130px;padding-bottom:36px;display:grid;gap:36px}
.hm-hero-copy{max-width:520px}
.hm-eyebrow{font-size:.8rem;letter-spacing:.14em;font-weight:700;color:var(--hg);margin:0 0 10px}
.hm-lead{font-size:1.1rem;font-weight:600;color:var(--hg-d);margin:0 0 6px}
.hm-hero h1{font-size:clamp(3rem,7vw,5.2rem);font-weight:900;line-height:1.05;margin:0 0 22px;color:var(--hg)}
.hm-desc{font-size:1.02rem;margin:0 0 28px;max-width:440px}
.hm-values{list-style:none;margin:0;padding:18px 10px;display:grid;grid-template-columns:repeat(2,1fr);gap:6px;background:#ffffffeb;border-radius:18px;box-shadow:0 10px 30px #1b3a2a1f;max-width:640px}
.hm-values li{display:flex;flex-direction:column;align-items:center;text-align:center;padding:10px 8px;gap:4px;border-left:1px solid #e3e9df}
.hm-values li:nth-child(odd){border-left:0}
.hm-values svg{width:30px;height:30px;fill:none;stroke:var(--hg);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.hm-values b{font-size:.92rem;color:var(--hg-d)}
.hm-values span{font-size:.76rem;color:#6a776e;line-height:1.4}
@media(min-width:900px){
  .hm-hero-in{grid-template-columns:1fr minmax(560px,640px);align-items:end}
  .hm-values{grid-template-columns:repeat(4,1fr);justify-self:end}
  .hm-values li:nth-child(odd){border-left:1px solid #e3e9df}
  .hm-values li:first-child{border-left:0}
}
@media(max-width:899px){
  .hm-hero{align-items:flex-start;flex-direction:column;min-height:0}
  .hm-hero-img{position:relative;height:320px;order:2}
  .hm-hero::before{display:none}
  .hm-hero-in{order:1;padding-top:96px;padding-bottom:28px;background:var(--hg-cream)}
  .hm-hero-in{gap:26px}
  .hm-hero-copy{max-width:none}
}
.hm-hero{flex-wrap:nowrap}
@media(max-width:899px){.hm-hero{display:block}.hm-hero-in{padding-bottom:0}.hm-hero-img{margin-top:0}}

/* 02 classroom */
.hm-classroom .hm-wrap{display:grid;gap:36px}
.hm-mosaic{display:grid;gap:14px;grid-template-columns:1fr 1fr}
.hm-mosaic figure{margin:0;position:relative;overflow:hidden;border-radius:16px;background:var(--hg-gray)}
.hm-mosaic img{width:100%;height:100%;object-fit:cover}
.m-main{grid-column:1/-1;aspect-ratio:4/3}
.m-a,.m-b{aspect-ratio:1/1}
.m-c{grid-column:1/-1;aspect-ratio:16/9}
.m-main figcaption{position:absolute;right:6%;bottom:6%;font-size:clamp(1.3rem,3.4vw,1.9rem);text-align:left;color:#fff;text-shadow:0 1px 8px #000a}
.m-text{grid-column:1/-1;padding:6px 4px}
.m-text h3{font-size:1.5rem;font-weight:800;line-height:1.35}
.m-text p{font-size:.92rem;margin:0}
@media(min-width:900px){
  .hm-classroom .hm-wrap{grid-template-columns:300px 1fr;gap:40px;align-items:center}
  .hm-mosaic{grid-template-columns:1.05fr 1fr .85fr;grid-template-rows:200px 200px 40px;gap:14px}
  .m-main{grid-column:1;grid-row:1/4;aspect-ratio:auto;border-radius:18px}
  .m-a{grid-column:2/4;grid-row:1;aspect-ratio:auto}
  .m-b{grid-column:2;grid-row:2/4;aspect-ratio:auto}
  .m-c{grid-column:3;grid-row:2/4;aspect-ratio:auto}
  .m-text{display:none}
  .hm-mosaic{grid-template-rows:260px 260px 0}
}
@media(min-width:1180px){
  .hm-classroom .hm-wrap{grid-template-columns:280px 1fr 200px}
  .hm-classroom .hm-mosaic{grid-column:2}
  .m-text{display:block;grid-column:3;grid-row:1;align-self:center;grid-area:auto}
}
@media(min-width:1180px){.hm-classroom .hm-wrap{position:relative}.m-text{position:absolute;right:28px;top:50%;transform:translateY(-50%);width:200px}.hm-classroom .hm-wrap{grid-template-columns:300px 1fr;padding-right:260px}}

/* 03 types */
.hm-types .hm-wrap{display:grid;gap:28px}
.hm-type-grid{list-style:none;margin:0;padding:0;display:grid;gap:14px;grid-template-columns:repeat(2,1fr)}
.hm-type-grid a{display:block;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 16px #1b3a2a14;transition:transform .2s}
.hm-type-grid a:hover{transform:translateY(-4px)}
.hm-type-grid img{width:100%;aspect-ratio:4/3;object-fit:cover}
.hm-type-grid b{display:block;padding:12px 12px 0;color:var(--hg-d);font-size:1rem;text-align:center}
.hm-type-grid span{display:block;padding:2px 12px 14px;color:#7a877e;font-size:.78rem;text-align:center}
@media(max-width:899px){.hm-type-grid li:last-child{grid-column:1/-1}.hm-type-grid li:last-child img{aspect-ratio:16/9}}
@media(min-width:900px){
  .hm-types .hm-wrap{grid-template-columns:260px 1fr;align-items:center}
  .hm-type-grid{grid-template-columns:repeat(5,1fr);gap:12px}
}

/* 04 programs */
.hm-programs{background:linear-gradient(#fafbf7,#f3f7ef)}
.hm-programs .hm-wrap{display:grid;gap:34px}
.hm-steps{list-style:none;margin:0;padding:0;display:grid;gap:26px 14px;grid-template-columns:repeat(2,1fr)}
.hm-steps li{text-align:center;position:relative}
.hm-steps img{width:104px;height:104px;border-radius:50%;object-fit:cover;margin:0 auto 12px;border:4px solid #fff;box-shadow:0 6px 18px #1b3a2a24}
.hm-steps h3{font-size:.95rem;font-weight:800;margin:0 0 4px}
.hm-steps h3 i{font-style:normal;color:var(--hg);margin-right:4px}
.hm-steps p{font-size:.8rem;margin:0;color:#66756b;line-height:1.5}
.hm-steps small{display:block;margin-top:4px;font-size:.62rem;letter-spacing:.12em;color:#9aa89f}
@media(min-width:900px){
  .hm-programs .hm-wrap{grid-template-columns:300px 1fr;align-items:center}
  .hm-steps{grid-template-columns:repeat(6,1fr);gap:12px}
  .hm-steps li:not(:last-child)::after{content:"›";position:absolute;right:-9px;top:38px;color:#a9b8ad;font-size:1.3rem}
}

/* 05 cases */
.hm-cases .hm-wrap{display:grid;gap:30px}
.hm-slider{position:relative;min-width:0}
.hm-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 2px}
.hm-track::-webkit-scrollbar{display:none}
.hm-track article{flex:0 0 78%;scroll-snap-align:start}
.hm-track img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px}
.hm-track h3{font-size:1rem;margin:12px 0 2px;font-weight:800}
.hm-track p{margin:0;font-size:.86rem;color:#66756b}
.hm-arrow{position:absolute;top:38%;z-index:2;width:42px;height:42px;border-radius:50%;border:0;background:#fff;color:var(--hg-d);font-size:1.6rem;line-height:1;box-shadow:0 4px 14px #1b3a2a33;cursor:pointer}
.hm-arrow.prev{left:-10px}.hm-arrow.next{right:-10px}
.hm-arrow:hover{background:var(--hg-lime)}
@media(min-width:900px){
  .hm-cases .hm-wrap{grid-template-columns:280px 1fr;align-items:center}
  .hm-track article{flex-basis:calc((100% - 32px)/3)}
}

/* 06 tech */
.hm-tech{background:#f3f7ef}
.hm-tech-grid{display:grid;gap:30px}
.hm-tech-fig{position:relative}
.hm-tech-fig img{width:100%;max-height:420px;object-fit:cover;border-radius:18px}
.hm-tech-fig ul{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:10px;grid-template-columns:1fr 1fr}
.hm-tech-fig li{background:#fff;border-radius:12px;padding:12px 14px;font-size:.8rem;color:#66756b;box-shadow:0 3px 10px #1b3a2a12;border-left:3px solid var(--hg-lime)}
.hm-tech-fig li b{display:block;font-size:.92rem;color:var(--hg-d)}
.hm-tech-photo{margin:0;position:relative}
.hm-tech-photo img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:18px}
.hm-tech-photo figcaption{position:absolute;left:6%;top:8%;font-size:1.5rem;color:#fff;text-shadow:0 1px 8px #000b}
@media(min-width:900px){
  .hm-tech-grid{grid-template-columns:280px 1fr 300px;align-items:center}
  .hm-tech-fig img{max-height:360px}
}

/* 07 services */
.hm-svc-cols{display:grid;gap:28px;margin-top:16px}
.hm-svc h2{font-size:1.15rem;font-weight:800;margin:0 0 14px}
.hm-links{list-style:none;margin:0;padding:0}
.hm-links a{display:flex;justify-content:space-between;padding:13px 4px;border-bottom:1px solid #dfe6db;font-size:.95rem}
.hm-links a:hover{color:var(--hg);background:#fff}
.hm-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.hm-chips a{display:block;padding:7px 16px;border-radius:999px;background:var(--hg-gray);font-size:.88rem;color:var(--hg-d)}
.hm-chips a:hover{background:var(--hg-lime)}
@media(min-width:700px){.hm-svc-cols{grid-template-columns:1fr 1fr;gap:56px}}

/* 08 about + faq */
.hm-about{background:#fff}
.hm-about-grid{display:grid;gap:44px}
.hm-about h2{font-size:clamp(1.5rem,2.6vw,2rem);font-weight:800;margin:18px 0 16px;line-height:1.4}
.hm-about h3{font-size:1.08rem;margin:28px 0 8px;font-weight:800}
.hm-about p{margin:0 0 12px}
.hm-list{margin:0 0 6px;padding-left:20px}
.hm-list li{margin-bottom:8px}
.hm-list b{color:var(--hg-d)}
.hm-table{width:100%;border-collapse:collapse;margin:8px 0 22px;font-size:.9rem}
.hm-table caption{text-align:left;font-weight:700;color:var(--hg-d);padding-bottom:8px}
.hm-table th,.hm-table td{padding:10px 12px;border-bottom:1px solid #dfe6db;text-align:left;vertical-align:top}
.hm-table thead th{background:var(--hg-mint);color:var(--hg-d)}
.hm-faq-title{font-size:1.3rem;font-weight:800;margin:0 0 14px}
.hm-faq{border:1px solid #dfe6db;border-radius:12px;margin-bottom:10px;background:var(--hg-cream)}
.hm-faq summary{list-style:none;cursor:pointer;padding:14px 44px 14px 16px;position:relative}
.hm-faq summary::-webkit-details-marker{display:none}
.hm-faq summary::after{content:"+";position:absolute;right:16px;top:50%;transform:translateY(-50%);color:var(--hg);font-size:1.3rem}
.hm-faq[open] summary::after{content:"–"}
.hm-faq h3{display:inline;margin:0;font-size:.95rem;font-weight:700}
.hm-faq div{padding:0 16px 16px;font-size:.92rem}
@media(min-width:960px){.hm-about-grid{grid-template-columns:1.25fr 1fr;gap:64px;align-items:start}.hm-about-grid>#faq{position:sticky;top:24px}}

/* consult cta */
.hm-cta{background:var(--hg);color:#fff;text-align:center;padding:64px 0}
.hm-cta h2{color:#fff;font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800;margin:0 0 14px}
.hm-cta p{max-width:520px;margin:0 auto 26px;color:#ffffffe0}
