:root {
  --bg: #FFFFFF; /* 맑고 투명한 순백색 */
  --surface: #FCFDFD;
  --surface-peach: #F0F7F6; /* 맑은 민트빛 파스텔 틴트 */
  --primary: #38A3A5; /* 청량하고 맑은 에메랄드 블루 */
  --accent: #FF7E67; /* 투명하고 생기 넘치는 코랄 살구 */
  --text-main: #121816; /* 극도로 진하고 또렷한 차콜 블랙 */
  --text-sub: #2C3532; /* 가독성을 위해 훨씬 명도를 높여 진하게 조율한 어두운 차콜 */
  --line: rgba(30, 37, 34, 0.07);
  --font-title: "Jua", sans-serif; /* 꼬불거림 없이 꽉 찬 동글동글 귀여운 주아체 */
  --font-body: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; /* 꼬불거림 0%의 단정하고 맑은 본문 */
  --font-eng: "Cormorant Garamond", Georgia, serif; /* 초슬림 우아 세리프 */
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 16px 40px rgba(30, 37, 34, 0.03);
  --shadow-hover: 0 24px 56px rgba(30, 37, 34, 0.06);
}

* {
  box-sizing: border-box;
}

input, select, textarea, button {
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 21px; /* 18px -> 21px 초특대화 */
  font-weight: 500; /* 본고딕(Noto Sans)의 맑은 가독성을 위해 Medium(500) 두께로 설정 */
  line-height: 1.75;
  word-break: keep-all;
}

h1, h2, h3, h4, .ta-logo strong {
  font-family: var(--font-title);
  font-weight: 500;
  margin-top: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(54px, 7vw, 92px); /* 얇은 손글씨 특성에 맞춰 크기를 더 키워 시원하게 강조 */
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
h1 span {
  color: var(--accent);
  font-family: var(--font-title);
}

h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

p {
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--text-sub);
  font-size: 17px; /* 20px -> Noto Sans 감각에 맞춰 17px로 슬림화 */
  font-weight: 500;
  line-height: 1.85;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.eyebrow {
  font-family: var(--font-eng);
  font-size: 15px; /* 13px -> 15px */
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

/* Header */
.ta-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100px; /* 90px -> 100px 로 높이 여유 확보 */
  background: rgba(250, 247, 240, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  z-index: 50;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ta-logo {
  display: flex;
  flex-direction: column;
}
.ta-logo strong {
  font-family: var(--font-title); /* 로고도 동일하게 귀여운 개구체 손글씨로 통일 */
  font-size: 32px; /* 둥근 폰트이므로 크기를 더 키워 시원스럽게 변경 */
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
}
.ta-logo span {
  font-family: var(--font-title); /* 서브 카피도 귀여운 폰트 적용 */
  font-size: 13px; /* 8px -> 13px 로 가독성 인상 */
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-sub);
  text-transform: uppercase;
  margin-top: 2px;
}

.ta-nav {
  display: flex;
  gap: 36px;
}
.ta-nav a {
  font-family: var(--font-title); /* 메뉴 링크도 로고와 같은 동글동글 주아체로 일치화 */
  font-size: 20px;
  font-weight: 500;
  color: var(--text-sub);
  transition: color 0.2s;
  cursor: pointer;
}
.ta-nav a:hover {
  color: var(--primary);
}

.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px; /* 56px -> 50px 로 컴팩트 밸런싱 */
  padding: 0 28px;
  border-radius: 30px;
  font-size: 16px; /* 20px -> Noto Sans 감각에 맞춰 16px로 슬림화 */
  font-weight: 700;
  transition: transform 0.2s, background-color 0.2s;
  cursor: pointer;
  border: 2px solid transparent; /* 얇은 1px -> 2px 로 선 두께 조정 */
}
.header-cta {
  background: var(--primary);
  color: white;
}
.header-cta:hover, .btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-main);
  cursor: pointer;
}

/* Sections */
main {
  padding-top: 140px; /* 상단바 고정 헤더와 콘텐츠 간의 시원한 숨통을 트기 위해 100px -> 140px 로 확장 */
}

/* 개별 페이지의 첫 번째 메인 섹션에 시원한 상단 내부 여백 강제 적용 */
main > section:first-of-type {
  padding-top: 40px !important;
}

.hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 80px; /* 상단 패딩을 조율 */
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero-desc {
  font-size: 18px; /* 24px -> Noto Sans 감각에 맞춰 18px로 최적화 */
  line-height: 1.8;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.btn-dark {
  background: var(--text-main);
  color: white;
}
.btn-light {
  background: white;
  border-color: var(--text-main); /* 연한 선 대신 진한 차콜 보더를 줘서 가독성 보강 */
  color: var(--text-main);
}
.hero-visual img {
  width: 100%;
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

/* Promise Strip */
.promise-strip {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.promise-item {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.promise-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 16px;
}
.promise-item h3 {
  font-size: 24px; /* 18px -> 24px 로 인상 */
  color: var(--primary); /* 서브 타이틀 컬러를 맑은 에메랄드 블루로 다르게 설정 */
  margin-bottom: 12px;
}
.promise-item p {
  font-size: 17px; /* 15px -> 17px */
  line-height: 1.7;
  margin-bottom: 0;
}

/* Classes Section */
.classes-section {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 80px 40px;
  background: var(--surface-peach);
  border-radius: var(--radius-lg);
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 54px;
}
.section-header h2 {
  margin-bottom: 14px;
}
.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.class-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s;
}
.class-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.card-img-box {
  position: relative;
  overflow: hidden;
}
.card-img-box img {
  border-radius: 0;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.age-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 15px; /* 13px -> 15px */
  font-weight: 700;
}
.card-content {
  padding: 24px;
}
.card-content h3 {
  font-size: 24px; /* 18px -> 24px 로 인상 */
  color: var(--primary); /* 서브 타이틀 컬러 다르게 설정 */
  margin-bottom: 10px;
  transition: color 0.3s ease;
}
.class-card:hover .card-content h3 {
  color: var(--accent); /* 카드 호버 시 따뜻한 코랄 살구색으로 피어남 */
}
.card-content p {
  font-size: 17px; /* 15px -> 17px */
  line-height: 1.7;
  margin-bottom: 0;
}

/* Philosophy Section */
.philosophy-section {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 40px;
}
.philosophy-container {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
}
.ph-visual img {
  width: 100%;
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}
.ph-content h2 span {
  color: var(--primary);
}
.ph-features {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.ph-features li {
  margin-bottom: 16px;
  font-size: 14px;
  display: flex;
  gap: 12px;
  color: var(--text-sub);
}
.ph-features span {
  color: var(--primary);
  font-weight: 700;
}

/* Reviews Section */
.reviews-section {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 40px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0;
}
.review-card p {
  font-family: var(--font-title);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 20px;
}
.review-card cite {
  font-style: normal;
  font-size: 17px; /* 15px -> 17px */
  color: var(--text-sub);
}

/* Gallery Section */
.gallery-section {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 40px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.gallery-item:hover img {
  transform: scale(1.03);
}

/* FAQ Accordion */
.faq-section {
  max-width: 800px;
  margin: 0 auto 100px;
  padding: 0 40px;
}
.faq-accordion {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  padding: 22px 4px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-title);
  font-size: 16px;
  user-select: none;
}
summary::after {
  content: "+";
  color: var(--primary);
  font-weight: 700;
}
details[open] summary::after {
  content: "−";
}
details p {
  padding: 0 4px 22px;
  font-size: 17px; /* 15px -> 17px */
  color: var(--text-sub);
  line-height: 1.8;
}

/* Inquiry Section */
.inquiry-section {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 80px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.inquiry-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.inquiry-heading h2 {
  font-size: 36px;
  margin-bottom: 18px;
}
.contact-info {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 17px; /* 15px -> 17px */
}
.contact-info p {
  margin-bottom: 8px;
}
.inquiry-form {
  background: var(--bg);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 16px; /* 14px -> 16px */
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: var(--text-sub);
}
.inquiry-form input, .inquiry-form select {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s;
}
.inquiry-form input:focus, .inquiry-form select:focus {
  border-color: var(--primary);
}

/* Footer */
.ta-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-brand strong {
  font-family: var(--font-title); /* 푸터 로고도 귀여운 손글씨로 통일 */
  font-size: 24px; /* 18px -> 24px 로 인상 */
  color: var(--primary);
}
.footer-brand span {
  font-family: var(--font-title);
  font-size: 14px; /* 11px -> 14px 로 인상 */
  color: var(--text-sub);
}
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 17px; /* 15px -> 17px */
  color: var(--text-sub);
}

/* Responsive */
@media (max-width: 960px) {
  .ta-header {
    height: 76px;
    padding: 0 20px;
  }
  .menu-toggle {
    display: block;
  }
  .ta-nav {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    gap: 18px;
  }
  .ta-nav.is-open {
    display: flex;
  }
  .header-cta {
    display: none;
  }
  main {
    padding-top: 110px; /* 모바일에서도 상단바 고정 헤더와 콘텐츠 간의 시원한 숨통을 위해 여유 패딩 확보 */
  }
  .hero-section, .promise-strip, .class-grid, .philosophy-container, .review-grid, .gallery-grid, .inquiry-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-section {
    padding: 40px 20px;
  }
  .hero-visual {
    order: 2;
  }
  .hero-copy {
    order: 1;
  }
  .promise-strip, .classes-section, .philosophy-section, .reviews-section, .gallery-section, .faq-section {
    padding: 40px 20px;
    margin-bottom: 40px;
  }
  .inquiry-section {
    padding: 32px 20px;
    margin-bottom: 40px;
  }
}
