/* AILO Corporate C20 — 브릭에듀
   원형: C 분할 대형 사진형(교실 실사 60% 왼쪽 + 글 40% 오른쪽, 사진 위 숫자 카드 1장) / 타이포: Pretendard + Poppins(영문·숫자) / 컬러: 브릭 블루 #2b59c3 1색 + 무채색, 둥근 모서리 12px */

:root {
  --ailo-bg: #ffffff;
  --ailo-fg: #141a2a;
  --ailo-muted: #4b5368;
  --ailo-line: rgba(20, 26, 42, .12);
  --ailo-accent: #2b59c3;
  --ailo-accent-ink: #ffffff;
  --ailo-header-h: 84px;
  --ailo-eyebrow-size: 14px;
  --c20-blue: #2b59c3;
  --c20-blue-d: #21469c;
  --c20-sky: #eef2fb;
  --c20-gray: #f5f6f8;
  --c20-en: "Poppins", "Pretendard Variable", Pretendard, sans-serif;
  --c20-sec: clamp(80px, 9vw, 132px);
}

body { font-size: 17px; }
p { line-height: 1.7; }
.ailo-eyebrow { font-family: var(--c20-en); font-synthesis: none; letter-spacing: .1em; }
.sec { padding: var(--c20-sec) 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 12px; border: 1px solid transparent; font-size: 16px; font-weight: 700; transition: background-color .2s, color .2s, border-color .2s; }
.btn--solid { background: var(--c20-blue); color: #fff; }
.btn--solid:hover { background: var(--c20-blue-d); color: #fff; }
.btn--line { border-color: rgba(20, 26, 42, .2); color: var(--ailo-fg); }
.btn--line:hover { border-color: var(--c20-blue); color: var(--c20-blue); }

/* ---------- Header ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--ailo-header-h); background: #fff; border-bottom: 1px solid var(--ailo-line); transition: box-shadow .3s; }
.hd.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.hd__in { height: 100%; display: flex; align-items: center; gap: 24px; max-width: 1440px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--c20-en); font-synthesis: none; font-size: 22px; font-weight: 800; color: var(--ailo-fg); white-space: nowrap; }
.logo b { font-weight: 800; color: var(--c20-blue); }
.logo:hover { color: var(--ailo-fg); }
.logo__mark { display: grid; grid-template-columns: 10px 10px; gap: 3px; }
.logo__mark i { width: 10px; height: 10px; border-radius: 3px; background: var(--c20-blue); }
.logo__mark i:nth-child(3) { grid-column: span 2; width: 23px; opacity: .5; }
.hd .ailo-mega { margin: 0 auto; }
.hd__util { display: flex; align-items: center; gap: 6px; }
.hd__cta { display: inline-flex; align-items: center; min-height: 42px; padding: 0 20px; border-radius: 10px; background: var(--c20-blue); color: #fff; font-size: 15px; font-weight: 700; }
.hd__cta:hover { background: var(--c20-blue-d); color: #fff; }
@media (max-width: 991.98px) {
  :root { --ailo-header-h: 66px; }
  .hd__util { display: none; }
  .hd .ailo-burger { margin-left: auto; }
}

/* ---------- 모바일 메뉴 ---------- */
.mnav { background: #fff; padding: calc(var(--ailo-header-h) + 20px) 24px 40px; }
.mnav__in { display: flex; flex-direction: column; }
.mnav__in > a { padding: 16px 0; border-bottom: 1px solid var(--ailo-line); font-size: 21px; font-weight: 700; }
.mnav__in > a.mnav__cta { margin-top: 28px; text-align: center; border: 0; border-radius: 12px; background: var(--c20-blue); color: #fff; font-size: 17px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); min-height: clamp(640px, 100svh, 920px); padding-top: var(--ailo-header-h); }
.hero__ph { position: relative; margin: 0; overflow: hidden; background: #2a3550; }
.hero__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__stat { position: absolute; right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); display: grid; padding: 20px 26px; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .25); font-size: 15px; font-weight: 600; color: var(--ailo-muted); }
.hero__stat b { font-family: var(--c20-en); font-size: 40px; font-weight: 800; line-height: 1.1; color: var(--c20-blue); }
.hero__txt { display: flex; flex-direction: column; justify-content: center; padding: 56px max(var(--ailo-gutter), calc((100vw - 1440px) / 2 + 48px)) 56px clamp(32px, 4vw, 80px); }
.hero__title { font-size: clamp(38px, 3.6vw + 8px, 72px); font-weight: 800; line-height: 1.15; letter-spacing: -.04em; }
.hero__sub { margin-top: 24px; font-size: clamp(16px, .3vw + 15px, 18px); color: var(--ailo-muted); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.hero__chips li { padding: 6px 14px; border-radius: 999px; background: var(--c20-sky); font-size: 14px; font-weight: 600; color: var(--c20-blue-d); }

/* ---------- About ---------- */
.vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vals li { padding: 36px 32px; border-radius: 12px; background: var(--c20-gray); }
.vals i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--c20-blue); font-size: 20px; }
.vals span { display: block; margin-top: 22px; font-family: var(--c20-en); font-size: 14px; font-weight: 700; color: var(--c20-blue); }
.vals h3 { margin: 4px 0 8px; font-size: 23px; font-weight: 800; }
.vals p { font-size: 16px; color: var(--ailo-muted); }

/* ---------- Services ---------- */
.services { background: var(--c20-sky); }
.prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prog__card { display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; transition: transform .3s var(--ailo-ease), box-shadow .3s; }
.prog__card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px -12px rgba(43, 89, 195, .25); }
.prog__card img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.prog__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.prog__en { font-family: var(--c20-en); font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--c20-blue); }
.prog__body h3 { margin: 6px 0 10px; font-size: 21px; font-weight: 800; }
.prog__body > p:not(.prog__en) { font-size: 16px; color: var(--ailo-muted); }
.prog__body ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 20px; }
.prog__body li { padding: 3px 10px; border-radius: 6px; background: var(--c20-gray); font-size: 14px; font-weight: 600; }
.prog__more { margin-top: auto; display: inline-flex; gap: 8px; align-items: center; font-size: 15px; font-weight: 700; color: var(--c20-blue); }

/* ---------- Featured ---------- */
.feat__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feat__ph { position: relative; }
.feat__ph img { width: 100%; aspect-ratio: 50 / 38; object-fit: cover; border-radius: 12px; }
.feat__bubble { position: absolute; left: 24px; bottom: -24px; max-width: 320px; padding: 18px 22px; border-radius: 12px 12px 12px 2px; background: var(--c20-blue); color: #fff; font-size: 16px; line-height: 1.55; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .3); }
.feat__bubble b { display: block; font-size: 14px; color: #c8d6f5; margin-bottom: 4px; }
.feat__list { margin: 28px 0 32px; display: grid; gap: 16px; }
.feat__list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.feat__list span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--c20-sky); font-family: var(--c20-en); font-weight: 800; color: var(--c20-blue); }
.feat__list h3 { font-size: 18px; font-weight: 800; }
.feat__list p { font-size: 16px; color: var(--ailo-muted); }

/* ---------- Effect ---------- */
.effect { background: var(--c20-blue); color: #fff; padding: clamp(64px, 7vw, 104px) 0; }
.effect .ailo-eyebrow { color: #c8d6f5; }
.effect__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.effect__t { font-size: clamp(26px, 1.4vw + 16px, 40px); font-weight: 800; letter-spacing: -.03em; }
.effect__head > p { font-size: 16px; color: rgba(255, 255, 255, .8); max-width: 30em; }
.effect__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.effect__list li { padding: 28px 24px; border-radius: 12px; background: rgba(255, 255, 255, .1); }
.effect__v { font-family: var(--c20-en); font-synthesis: none; font-size: clamp(40px, 3vw + 12px, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.effect__v small { font-size: .45em; opacity: .8; }
.effect__list li > p:last-child { margin-top: 8px; font-size: 16px; color: rgba(255, 255, 255, .85); }

/* ---------- Curriculum ---------- */
.stairs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: end; }
.stairs li { padding: 26px 22px; border-radius: 12px; background: var(--c20-gray); box-shadow: inset 0 4px 0 color-mix(in srgb, var(--c20-blue) calc(var(--s) * 20%), #fff); margin-top: calc((5 - var(--s)) * 28px); }
.stairs__s { font-family: var(--c20-en); font-size: 13px; font-weight: 700; color: var(--c20-blue); }
.stairs h3 { margin: 8px 0 8px; font-size: 20px; font-weight: 800; }
.stairs p { font-size: 16px; color: var(--ailo-muted); line-height: 1.6; }

/* ---------- Partners ---------- */
.partners { padding: clamp(48px, 5vw, 72px) 0; border-top: 1px solid var(--ailo-line); border-bottom: 1px solid var(--ailo-line); }
.partners__t { font-size: 16px; font-weight: 700; color: var(--ailo-muted); margin-bottom: 16px; text-align: center; }
.partners .ailo-marquee { --ailo-marquee-gap: 56px; --ailo-marquee-speed: 46s; }

/* ---------- Notice ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards a { display: flex; flex-direction: column; height: 100%; min-height: 220px; padding: 26px 24px; border-radius: 12px; border: 1px solid var(--ailo-line); transition: border-color .25s, box-shadow .25s; }
.cards a:hover { border-color: var(--c20-blue); box-shadow: 0 10px 30px -12px rgba(43, 89, 195, .2); }
.cards__cat { align-self: flex-start; padding: 3px 10px; border-radius: 6px; background: var(--c20-sky); font-size: 14px; font-weight: 700; color: var(--c20-blue-d); }
.cards h3 { margin: 16px 0 20px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.cards time { margin-top: auto; font-family: var(--c20-en); font-size: 14px; color: var(--ailo-muted); }

/* ---------- Contact ---------- */
.contact { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #141c33; padding: var(--c20-sec) 0; }
.contact__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15, 22, 44, .84); }
.contact .ailo-eyebrow { color: #c8d6f5; }
.contact__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__title { font-size: clamp(30px, 2vw + 16px, 50px); font-weight: 800; letter-spacing: -.035em; line-height: 1.25; }
.contact__desc { margin-top: 18px; font-size: 17px; color: rgba(255, 255, 255, .82); }
.contact__info { margin-top: 32px; display: grid; gap: 14px; }
.contact__info li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; font-size: 16px; }
.contact__info i { width: 18px; color: #c8d6f5; }
.contact__info small { font-size: 14px; color: rgba(255, 255, 255, .7); }
.contact__info a:hover { color: #fff; text-decoration: underline; }
.cf { padding: clamp(24px, 3vw, 40px); background: #fff; color: var(--ailo-fg); border-radius: 12px; }
.cf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 6px; margin-bottom: 16px; }
.fld label { font-size: 14px; font-weight: 700; color: #333b50; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid rgba(20, 26, 42, .18); border-radius: 10px; background: #fff; font-size: 16px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid var(--c20-blue); outline-offset: -1px; }
.cf__agree { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ailo-muted); }
.cf__agree input { width: 18px; height: 18px; accent-color: var(--c20-blue); }
.cf__submit { width: 100%; margin-top: 20px; min-height: 56px; border: 0; border-radius: 12px; background: var(--c20-blue); color: #fff; font-size: 17px; font-weight: 700; }
.cf__submit:hover { background: var(--c20-blue-d); }

/* ---------- Footer ---------- */
.ft { background: #12172a; color: #a7aec0; padding: 56px 0 36px; font-size: 14px; }
.ft__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.logo--ft { color: #fff; }
.logo--ft:hover { color: #fff; }
.logo--ft b { color: #9db6ee; }
.logo--ft .logo__mark i { background: #9db6ee; }
.ft__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ft__nav a { color: #dfe3ec; }
.ft__nav a strong { color: #fff; }
.ft__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ft__info { line-height: 1.9; }
.ft__copy { margin-top: 16px; font-size: 13px; color: #858ca0; }

/* ---------- 반응형 ---------- */
@media (max-width: 1199.98px) {
  .prog, .cards { grid-template-columns: repeat(2, 1fr); }
  .stairs { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .stairs li { margin-top: 0; }
}
@media (max-width: 991.98px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__ph { min-height: 420px; }
  .hero__txt { padding: 48px var(--ailo-gutter); }
  .feat__grid, .contact__grid { grid-template-columns: 1fr; }
  .feat__grid > div:last-child { margin-top: 24px; }
  .effect__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
  .vals { grid-template-columns: 1fr; }
  .stairs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .sec, .contact { padding: 72px 0; }
  .hero__ph { min-height: 320px; }
  .hero__stat { padding: 14px 18px; }
  .hero__stat b { font-size: 30px; }
  .prog, .cards, .stairs { grid-template-columns: 1fr; }
  .cards a { min-height: 0; }
  .effect__list li { padding: 20px 16px; }
  .cf__row { grid-template-columns: 1fr; gap: 0; }
  .feat__bubble { position: static; margin-top: 12px; max-width: none; }
}

/* 이미지 height 속성이 aspect-ratio 를 덮지 않게 */
:where(img) { height: auto; }
