:root {
  --ink: #16233a;
  --muted: #6f7684;
  --line: #e9e2d8;
  --blue-soft: #f4f6fb;
  --green: #8f6b2f;
  --green-soft: #f7f1e7;
  --yellow: #c9a15f;
  --bg: #fbf8f3;
  --white: #fff;
  --shadow: 0 18px 44px rgba(21, 31, 53, 0.08);
  --radius: 26px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  line-height: 1.65;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}
header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
}

section {
  padding: 88px 0;
}
.soft {
  background: linear-gradient(180deg, #fbf8f3, #f8f4ee);
}
.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.kicker {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
}
h2 {
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.045em;
  margin: 10px 0 13px;
}
.section-head p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}
.step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  position: relative;
}
.step b {
  display: block;
  color: var(--blue);
  font-size: 13px;
  margin-bottom: 12px;
}
.step h3 {
  margin: 0 0 7px;
  font-size: 18px;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.feature .label {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}
.feature h3 {
  font-size: 20px;
  margin: 8px 0;
}
.feature p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.feature ul {
  padding-left: 18px;
  color: #647187;
  font-size: 13px;
  margin: 14px 0 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.blog {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.thumb {
  height: 170px;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  font-size: 23px;
  font-weight: 950;
  line-height: 1.15;
}
.thumb.a {
  background: linear-gradient(135deg, #3857ce, #8394ff);
}
.thumb.b {
  background: linear-gradient(135deg, #168175, #61c6b8);
}
.thumb.c {
  background: linear-gradient(135deg, #a86428, #e2a06a);
}
.blog-body {
  padding: 19px;
}
.blog-cat {
  font-size: 11px;
  color: var(--blue);
  font-weight: 900;
}
.blog h3 {
  font-size: 17px;
  line-height: 1.45;
  margin: 7px 0 8px;
}
.blog p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.final-cta {
  background: #eef3fb;
  border: 1px solid #dde6f2;
  border-radius: 28px;
  padding: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.final-cta h3 {
  font-size: 25px;
  margin: 0 0 5px;
  letter-spacing: -0.03em;
}
.final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

footer {
  padding: 34px 0 46px;
  color: #8792a5;
  font-size: 12px;
}
.disclaimer {
  margin-top: 10px;
  max-width: 900px;
}

@media (max-width: 980px) {
  .feature-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
  }
  .feature-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 65px 0;
  }
  h2 {
    font-size: 31px;
  }
  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

.result-slider {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0,
    black 4%,
    black 96%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    black 4%,
    black 96%,
    transparent 100%
  );
}
.result-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: resultMarquee 34s linear infinite;
}
.result-slider:hover .result-track {
  animation-play-state: paused;
}
.result-item {
  flex: 0 0 auto;
  width: 235px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(36, 55, 90, 0.07);
}
.result-item img {
  width: 100%;
  height: auto;
  display: block;
}
.result-note {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
@keyframes resultMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * (235px * 6 + 18px * 6)));
  }
}
@media (max-width: 980px) {
  .result-item {
    width: 220px;
  }
  @keyframes resultMarquee {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(calc(-1 * (220px * 6 + 18px * 6)));
    }
  }
}
@media (max-width: 640px) {
  .result-slider {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .result-track {
    animation: none;
    gap: 12px;
    padding-bottom: 4px;
  }
  .result-item {
    width: 210px;
    scroll-snap-align: start;
  }
}

:root {
  --blue: #244d8f;
  --blue2: #315f9f;
  --navy: #132b63;
  --accent-gold: #b78a46;
  --accent-gold-soft: #f7f1e8;
}

body {
  background: #fdfcf9;
}
header {
  background: #fefdf8 !important;
  border-bottom: 1px solid #ebe4d8 !important;
}
.step,
.feature,
.blog {
  background: #fffefb !important;
}
.kicker {
  color: #8f6b2f !important;
}
#reviews {
  background: linear-gradient(180deg, #f9f5ef 0%, #fdfcf9 100%);
}
.sig-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fefdf8;
  border-bottom: 1px solid #eadfce;
  backdrop-filter: blur(12px);
}
.sig-nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.sig-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.sig-logo img {
  height: auto;
  display: block;
}
.sig-menu {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: auto;
  font-size: 13px;
  font-weight: 800;
  color: #28364e;
}
.sig-menu a:hover {
  color: #b78a46;
}
.sig-top-cta {
  margin-left: 6px;
  background: #102a4b;
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(16, 42, 75, 0.14);
}
.sig-hero-inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 20px;
}
.sig-hero-kicker {
  margin-top: 8px;
}
.sig-hero-copy h1 {
  margin: 12px 0 14px;
  font-family: inherit;
  font-weight: 800;
}
.sig-hero-copy h1::first-line {
  color: #102a4b;
}
.sig-hero-copy p {
  margin: 0;
  color: #5f6774;
  font-size: 17px;
  line-height: 1.75;
}
.sig-hero-photo-wrap {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
}
.sig-hero-photo {
  box-shadow: 0 22px 46px rgba(51, 43, 30, 0.13);
}

@media (max-width: 980px) {
  .sig-menu {
    display: none;
  }
  .sig-hero-inner {
    grid-template-columns: 1fr;
  }
  .sig-hero-photo-wrap {
    min-height: auto;
  }
  .sig-hero-photo {
    max-width: 100%;
    height: 300px;
    border-radius: 24px;
  }
}
@media (max-width: 640px) {
  .sig-nav {
    min-height: 60px;
  }
  .sig-top-cta {
    padding: 10px 13px;
    font-size: 11px;
  }
  .sig-hero-copy p {
    font-size: 15px;
  }
}
.sig-logo img {
  width: 190px !important;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}
.sig-hero-inner {
  min-height: 430px;
}
.sig-hero-copy h1 {
  color: #102a4b !important;
}
.sig-hero-copy h1 em {
  color: #ad7d39 !important;
  font-style: normal;
}
.sig-hero-kicker {
  color: #a47a41 !important;
  font-family: inherit;
  letter-spacing: 0.22em;
  font-size: 13px !important;
  font-weight: 700;
}
.sig-hero-photo-wrap {
  min-height: 400px !important;
}
.sig-hero-photo {
  width: 100% !important;
  max-width: 520px !important;
  height: 390px !important;
  object-fit: cover !important;
  border-radius: 30px !important;
}

.sig-category-section {
  padding: 76px 0 84px;
  background: #0d0f1c;
}
.sig-category-section .section-head h2 {
  color: #fff;
}
.sig-category-section .section-head p {
  color: #aeb4c2;
}
.sig-category-section .kicker {
  color: #d5b77f !important;
}
.sig-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.sig-category-card {
  min-height: 230px;
  border-radius: 28px;
  padding: 34px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.sig-category-card.english {
  background: linear-gradient(135deg, #00536f, #0fa8ad);
}
.sig-category-card.ged {
  background: linear-gradient(135deg, #28105c, #53189a);
}
.sig-category-card.coding {
  background: linear-gradient(135deg, #10296b, #0769c9);
}
.sig-category-copy {
  position: relative;
  z-index: 2;
}
.sig-category-copy h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 29px;
  letter-spacing: -0.035em;
}
.sig-category-copy p {
  margin: 0 0 18px;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}
.sig-category-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #0d0f1c;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.sig-category-card img {
  position: absolute;
}
@media (max-width: 980px) {
  .sig-category-grid {
    grid-template-columns: 1fr;
  }
  .sig-category-card {
    min-height: 210px;
  }
}
@media (max-width: 640px) {
  .sig-logo img {
    width: 145px !important;
  }
  .sig-hero-photo {
    height: 270px !important;
  }
  .sig-category-card {
    padding: 26px 22px;
    min-height: 180px;
  }
  .sig-category-copy h3 {
    font-size: 24px;
  }
  .sig-category-copy p {
    font-size: 14px;
  }
}
.sig-hero-photo {
  object-position: center center !important;
}
.sig-category-card {
  overflow: hidden;
}
.sig-category-copy {
  width: 50% !important;
}
.sig-category-card img {
  right: 18px !important;
  bottom: 14px !important;
  width: 42% !important;
  height: 76% !important;
  object-fit: contain !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
}
.sig-category-card.english img {
  width: 44% !important;
  height: 78% !important;
}
.sig-category-card.ged img {
  width: 40% !important;
  height: 74% !important;
}
.sig-category-card.coding img {
  width: 43% !important;
  height: 77% !important;
}
@media (max-width: 980px) {
  .sig-category-copy {
    width: 55% !important;
  }
  .sig-category-card img {
    width: 36% !important;
    height: 70% !important;
    right: 10px !important;
    bottom: 10px !important;
  }
}
@media (max-width: 640px) {
  .sig-category-copy {
    width: 58% !important;
  }
  .sig-category-card img {
    width: 34% !important;
    height: 62% !important;
  }
}
.student-review-showcase {
  margin: 34px 0 30px;
}
.student-review-title {
  margin: 0 0 16px;
  text-align: center;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: #102a4b;
}
.student-review-sub {
  margin: 0 0 20px;
  text-align: center;
  font-size: 14px;
  color: #6f7684;
}
.student-review-figure {
  margin: 0;
  background: #fffefb;
  border: 1px solid #e9e2d8;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.08);
}
.student-review-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.student-review-caption {
  padding: 14px 18px 16px;
  text-align: center;
  font-size: 13px;
  color: #6f7684;
  background: #fffefb;
}
@media (max-width: 640px) {
  .student-review-showcase {
    margin: 26px 0 22px;
  }
  .student-review-title {
    font-size: 19px;
  }
  .student-review-sub {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .student-review-figure {
    border-radius: 16px;
  }
}
.signature-inquiry {
  background:
    radial-gradient(
      circle at 92% 18%,
      rgba(183, 138, 70, 0.1),
      transparent 22%
    ),
    linear-gradient(180deg, #fffdf9 0%, #f8f3eb 100%);
  border-top: 1px solid #eee4d6;
  border-bottom: 1px solid #eee4d6;
}
.signature-inquiry-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  color: #d8b16e;
}
.signature-inquiry-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8b16e;
  box-shadow: 0 0 0 5px rgba(216, 177, 110, 0.12);
}
.signature-inquiry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  background: #d1a45c;
  color: #102a4b;
  font-weight: 950;
}
.signature-inquiry-card {
  position: relative;
  overflow: hidden;
}
.signature-inquiry-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(183, 138, 70, 0.07);
}
.signature-inquiry-card-top {
  display: flex;
  align-items: center;
}
.signature-inquiry-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: #f7f1e7;
  color: #8f6b2f;
  font-weight: 900;
}
.signature-inquiry-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b78a46;
}
.signature-inquiry-date {
  color: #9a9388;
  font-variant-numeric: tabular-nums;
}
.signature-inquiry-grade {
  color: #315f9f;
}
.signature-inquiry-text {
  letter-spacing: -0.03em;
  color: #18263e;
}
@media (max-width: 980px) {
  .signature-inquiry-shell {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .signature-inquiry-board {
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }
  .signature-inquiry-card {
    scroll-snap-align: start;
  }
}
.sig-hero-copy h1 {
  font-size: 44px !important;
  letter-spacing: -0.048em !important;
  line-height: 1.14 !important;
  word-break: keep-all !important;
}
.sig-hero-copy h1 .hero-line2 {
  display: block !important;
  white-space: normal !important;
}
@media (max-width: 1180px) {
  .sig-hero-copy h1 {
    font-size: 40px !important;
  }
}
@media (max-width: 980px) {
  .sig-hero-copy h1 {
    font-size: 42px !important;
  }
}
@media (max-width: 640px) {
  .sig-hero-copy h1 {
    font-size: 34px !important;
    line-height: 1.22 !important;
  }
}
@media (max-width: 640px) {
  body {
    padding-bottom: 0 !important;
  }
}
.signature-metrics .metrics-shell {
  color: #fff;
  overflow: hidden;
  position: relative;
}
.signature-metrics .metrics-shell::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.metrics-head {
  position: relative;
  z-index: 1;
}
.metrics-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.metrics-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.metrics-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.metric-card {
  backdrop-filter: blur(2px);
}
.metric-label {
  font-weight: 700;
}
.metric-value {
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.04em;
}
.metric-unit {
  margin-left: 4px;
}
@media (max-width: 980px) {
  .metric-value {
    font-size: 32px;
  }
}
@media (max-width: 760px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .metric-note {
    font-size: 12px;
  }
}
.signature-metrics .metrics-shell {
  padding: 20px 22px 18px !important;
  border-radius: 28px !important;
}
.metrics-badge {
  padding: 6px 12px !important;
  font-size: 11px !important;
}
.metrics-grid {
  gap: 10px !important;
}
.metric-card {
  padding: 16px 16px 14px !important;
  border-radius: 20px !important;
}
.metric-label {
  font-size: 13px !important;
  margin-bottom: 8px !important;
}
.metric-value {
  font-size: 30px !important;
}
.metric-unit {
  font-size: 16px !important;
}
.metric-note {
  margin-top: 7px !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}
@media (max-width: 760px) {
  .signature-metrics {
    padding: 12px 0 18px !important;
  }
  .signature-metrics .metrics-shell {
    width: calc(100% - 28px);
    margin: 0 auto;
    padding: 16px 14px 14px !important;
    border-radius: 22px !important;
  }
  .metrics-head {
    margin-bottom: 12px !important;
  }
  .metrics-grid {
    gap: 8px !important;
  }
  .metric-card {
    padding: 14px 13px 12px !important;
    border-radius: 16px !important;
  }
  .metric-value {
    font-size: 26px !important;
  }
}
.signature-metrics .metrics-shell {
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(199, 154, 85, 0.14),
      transparent 22%
    ),
    linear-gradient(135deg, #302d2a 0%, #3a3530 58%, #4a423a 100%) !important;
  box-shadow: 0 22px 48px rgba(48, 45, 42, 0.16) !important;
}
.metrics-badge {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #e7c58a !important;
}
.metrics-badge::before {
  background: #e7c58a !important;
}
.metric-card {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
}
.metric-label {
  color: #ede7de !important;
}
.metric-value {
  color: #fffdf8 !important;
}
.metric-unit {
  color: #e7c58a !important;
}
.metric-note {
  color: rgba(255, 255, 255, 0.68) !important;
}
.metrics-head {
  margin-bottom: 12px !important;
}
.metrics-head {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}
.metrics-grid {
  justify-items: center !important;
  align-items: stretch !important;
}
.metric-card {
  width: 100% !important;
  text-align: center !important;
}
.metric-label {
  display: block !important;
  text-align: center !important;
}
.metric-note {
  text-align: center !important;
}
@media (max-width: 760px) {
  .metric-card {
    text-align: center !important;
  }
}
.metrics-grid {
  margin-bottom: 0 !important;
}

.signature-teachers {
  padding: 78px 0;
  background: linear-gradient(180deg, #fffdf9 0%, #f8f3eb 100%);
}
@media (max-width: 760px) {
  .signature-teachers {
    padding: 58px 0;
  }
}
@media (max-width: 1100px) {
  .signature-inquiry-board {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 10px !important;
    padding-bottom: 6px !important;
    scroll-snap-type: x mandatory !important;
  }
  .signature-inquiry-card {
    min-width: 300px !important;
    scroll-snap-align: start !important;
  }
}
@media (max-width: 760px) {
  .signature-inquiry-board {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
  }
  .signature-inquiry-card {
    min-width: 0 !important;
  }
}
.signature-inquiry-board {
  overflow: hidden !important;
}
.signature-inquiry-intro {
  margin-bottom: 10px !important;
}
@media (max-width: 760px) {
  .signature-inquiry-intro {
    margin-bottom: 8px !important;
  }
}
.signature-inquiry-intro {
  text-align: center !important;
}
.signature-inquiry-intro > div {
  text-align: center !important;
}
.signature-inquiry-kicker {
  justify-content: center !important;
}
.signature-inquiry-button {
  margin-left: auto !important;
  margin-right: auto !important;
}
.signature-inquiry-card {
  text-align: center !important;
}
.signature-inquiry-card-top {
  justify-content: center !important;
  position: relative !important;
}
.signature-inquiry-date {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}
.signature-inquiry-grade,
.signature-inquiry-text,
.signature-inquiry-name {
  text-align: center !important;
}
.signature-inquiry-grade {
  margin-left: auto !important;
  margin-right: auto !important;
}
.signature-diagnosis .section-head h2 {
  word-break: keep-all !important;
}
.signature-diagnosis {
  padding: 72px 0 !important;
  background: linear-gradient(180deg, #fbf7ef 0%, #fffdfa 100%) !important;
}
.signature-diagnosis .section-head {
  margin-bottom: 28px !important;
}
.diagnosis-visual-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
}
.diagnosis-visual-card {
  background: #fff !important;
  border: 1px solid #eadfce !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  box-shadow: 0 18px 40px rgba(28, 32, 41, 0.08) !important;
}
.diagnosis-visual-head {
  padding: 18px 20px 16px !important;
  color: #fff !important;
}
.diagnosis-visual-num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  margin-bottom: 10px !important;
  background: rgba(255, 255, 255, 0.17) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}
.diagnosis-visual-head h3 {
  margin: 0 0 6px !important;
  font-size: 28px !important;
  line-height: 1.25 !important;
  letter-spacing: -0.04em !important;
  color: #fff !important;
  word-break: keep-all !important;
}
.diagnosis-visual-head p {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  word-break: keep-all !important;
}
.diagnosis-visual-body {
  padding: 12px !important;
  background: #faf7f1 !important;
}
.diagnosis-visual-image {
  display: block !important;
  width: 100% !important;
  border-radius: 18px !important;
  border: 1px solid #ece2d4 !important;
}
@media (max-width: 1100px) {
  .diagnosis-visual-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 760px) {
  .signature-diagnosis {
    padding: 54px 0 !important;
  }
  .diagnosis-visual-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .diagnosis-visual-card {
    border-radius: 22px !important;
  }
  .diagnosis-visual-head {
    padding: 16px 16px 14px !important;
  }
  .diagnosis-visual-head h3 {
    font-size: 24px !important;
  }
  .diagnosis-visual-head p {
    font-size: 13px !important;
  }
  .diagnosis-visual-body {
    padding: 10px !important;
  }
  .diagnosis-visual-image {
    border-radius: 14px !important;
  }
}
.signature-teachers-v2 {
  padding: 76px 0 !important;
  background: linear-gradient(180deg, #fffdf9 0%, #f8f3eb 100%) !important;
}
.signature-teachers-v2 .section-head {
  margin-bottom: 30px !important;
}
.teacher-profile-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
}
.teacher-profile-card {
  background: #fff !important;
  border: 1px solid #eadfce !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 14px 32px rgba(34, 38, 48, 0.07) !important;
}
.teacher-profile-photo-wrap {
  aspect-ratio: 1 / 0.95 !important;
  overflow: hidden !important;
  background: #f4eee6 !important;
}
.teacher-profile-photo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 32% !important;
}
.teacher-profile-info {
  position: relative !important;
  padding: 22px 18px 20px !important;
  text-align: left !important;
}
.teacher-profile-number {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  margin-bottom: 12px !important;
  border-radius: 50% !important;
  background: #f7f0e5 !important;
  border: 1px solid #d8bb85 !important;
  color: #a8732d !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}
.teacher-profile-info h3 {
  margin: 0 0 8px !important;
  color: #102a4b !important;
  font-size: 21px !important;
  letter-spacing: -0.035em !important;
}
.teacher-profile-meta {
  margin: 0 0 12px !important;
  color: #7a8190 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  min-height: 36px !important;
}
.teacher-profile-desc {
  margin: 0 0 16px !important;
  color: #4f5967 !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  word-break: keep-all !important;
}
.teacher-profile-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  border: 1px solid #caa35c !important;
  color: #102a4b !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  background: #fffaf1 !important;
}
@media (max-width: 1100px) {
  .teacher-profile-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 760px) {
  .signature-teachers-v2 {
    padding: 56px 0 !important;
  }
  .teacher-profile-grid {
    display: flex !important;
    overflow-x: auto !important;
    gap: 10px !important;
    scroll-snap-type: x mandatory !important;
    padding-bottom: 6px !important;
  }
  .teacher-profile-card {
    flex: 0 0 80% !important;
    scroll-snap-align: start !important;
    border-radius: 20px !important;
  }
  .teacher-profile-info {
    padding: 18px 16px 18px !important;
  }
  .teacher-profile-info h3 {
    font-size: 19px !important;
  }
}

.tuition-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.tuition-plan-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 36px rgba(18, 33, 56, 0.14);
  padding: 24px 22px;
}
.tuition-plan-card h3 {
  margin: 0 0 8px;
  color: #162d4b;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.tuition-plan-sub {
  margin: 0 0 16px;
  color: #7a8595;
  font-size: 13px;
  line-height: 1.65;
}
.tuition-plan-card ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.tuition-plan-card li {
  position: relative;
  padding-left: 16px;
  margin: 0 0 9px;
  color: #4d5968;
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
}
.tuition-plan-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #d07b2b;
  font-weight: 900;
}
.tuition-plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #16385e;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.tuition-table-wrap {
  max-width: 980px;
  margin: 0 auto;
  background: #1f3452;
  border-radius: 24px;
  padding: 28px 20px 22px;
  box-shadow: 0 20px 40px rgba(12, 24, 42, 0.18);
}
.tuition-table-head {
  text-align: center;
  margin-bottom: 16px;
}
.tuition-table-head h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 30px;
  letter-spacing: -0.03em;
}
.tuition-table-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}
.tuition-table-scroll {
  overflow-x: auto;
}
.tuition-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.tuition-table th,
.tuition-table td {
  border: 1px solid #e6e2dc;
  padding: 14px 12px;
  text-align: center;
  font-size: 14px;
  color: #344154;
}
.tuition-table th {
  background: #f5f2eb;
  color: #173559;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .tuition-card-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .tuition-plan-card {
    padding: 18px 16px;
    border-radius: 16px;
  }
  .tuition-plan-card h3 {
    font-size: 19px;
  }
  .tuition-table-wrap {
    border-radius: 18px;
    padding: 20px 12px 14px;
  }
  .tuition-table-head h3 {
    font-size: 24px;
  }
  .tuition-table th,
  .tuition-table td {
    font-size: 12px;
    padding: 10px 8px;
  }
}
.signature-tuition {
  padding: 84px 0 !important;
  background:
    radial-gradient(
      circle at 50% 15%,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0) 28%
    ),
    linear-gradient(180deg, #7fa8cf 0%, #6e97be 100%) !important;
}
.signature-tuition .section-head {
  color: #fff !important;
  margin-bottom: 32px !important;
}
.signature-tuition .section-head .kicker {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff5dc !important;
}
.signature-tuition .section-head h2 {
  color: #fff !important;
}
.signature-tuition .section-head p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.tuition-table-wrap-photo-style {
  max-width: 980px !important;
  margin: 0 auto !important;
  background: #233f66 !important;
  border-radius: 24px !important;
  padding: 20px 14px 16px !important;
  box-shadow: 0 18px 36px rgba(22, 44, 74, 0.2) !important;
}
.tuition-table-head-photo {
  text-align: center !important;
  margin-bottom: 16px !important;
}
.tuition-table-head-photo h3 {
  margin: 0 0 8px !important;
  color: #fff !important;
  font-size: 40px !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}
.tuition-table-head-photo p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
.tuition-table-photo {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #f5f1eb !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}
.tuition-table-photo th,
.tuition-table-photo td {
  padding: 18px 16px !important;
  text-align: center !important;
  font-size: 18px !important;
  border-right: 1px solid #d8d3cd !important;
  border-bottom: 1px solid #d8d3cd !important;
}
.tuition-table-photo th:last-child,
.tuition-table-photo td:last-child {
  border-right: 0 !important;
}
.tuition-table-photo tbody tr:last-child td {
  border-bottom: 0 !important;
}
.tuition-table-photo thead th {
  background: #f0ece6 !important;
  color: #14355b !important;
  font-weight: 900 !important;
}
.tuition-table-photo tbody td {
  background: #fcfaf7 !important;
  color: #2d3950 !important;
}
.tuition-table-photo tbody td:first-child {
  font-weight: 900 !important;
  color: #1f3f67 !important;
}
@media (max-width: 760px) {
  .signature-tuition {
    padding: 60px 0 !important;
  }
  .tuition-table-wrap-photo-style {
    border-radius: 18px !important;
    padding: 16px 10px 12px !important;
  }
  .tuition-table-head-photo h3 {
    font-size: 27px !important;
  }
  .tuition-table-head-photo p {
    font-size: 12px !important;
  }
  .tuition-table-photo th,
  .tuition-table-photo td {
    padding: 13px 8px !important;
    font-size: 13px !important;
  }
}
.signature-hero-track {
  will-change: transform;
}
.hero-slide {
  flex: 0 0 50%;
}
.signature-slider-controls {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 6px 20px rgba(30, 36, 50, 0.09);
}
.signature-slider-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: #c9c2b8;
  padding: 0;
  cursor: pointer;
}
.signature-slider-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: #b6863e;
}

@media (max-width: 900px) {
  .hero-slide-main .sig-hero-inner {
    min-height: auto;
  }
}
@media (max-width: 760px) {
  .signature-hero-track {
    transition-duration: 0.58s;
  }
  .signature-slider-controls {
    bottom: 10px;
  }
}
.signature-hero-track {
  transition: none !important;
}

.hero-slide {
  min-width: 0 !important;
}
.hero-slide-main .sig-hero-photo {
  transform: scale(1.035) !important;
  transition: transform 4.2s ease !important;
}
.hero-slide.is-active .sig-hero-photo,
.hero-slide.is-active .signature-about-photo {
  transform: scale(1) !important;
}
.hero-slide-main .sig-hero-kicker,
.hero-slide-main h1,
.hero-slide-main p,
.hero-slide-main .sig-hero-copy > *,
.hero-slide-about h2,
.hero-slide-about p {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero-slide.is-active .sig-hero-kicker,
.hero-slide.is-active .signature-about-kicker {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}
.hero-slide.is-active h1,
.hero-slide.is-active .signature-about-copy h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.22s;
}
.hero-slide.is-active .sig-hero-copy p,
.hero-slide.is-active .signature-about-copy p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.34s;
}
.hero-slide.is-active .signature-about-tags {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.46s;
}
.signature-slider-controls {
  backdrop-filter: blur(10px) !important;
}
.signature-slider-dot {
  transition:
    width 0.35s ease,
    background 0.35s ease,
    transform 0.35s ease !important;
}
.signature-slider-dot.is-active {
  transform: scale(1.05) !important;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide *,
  .signature-slider-dot {
    transition: none !important;
    animation: none !important;
  }
}
.hero-slide-main .sig-hero-inner {
  align-items: center !important;
}
.hero-slide-main .sig-hero-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.signature-inquiry-board {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
.signature-inquiry-grade {
  margin-bottom: 6px !important;
}
.signature-inquiry-text {
  margin-bottom: 12px !important;
}
.signature-inquiry-intro > div {
  width: 100% !important;
}
@media (max-width: 1100px) {
  .signature-inquiry-intro {
    align-items: center !important;
    text-align: center !important;
  }
  .signature-inquiry-button {
    align-self: center !important;
  }
  .signature-inquiry-board {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 760px) {
  .signature-inquiry-board {
    grid-template-columns: 1fr !important;
  }
}

.signature-inquiry-intro {
  align-items: flex-start !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.signature-inquiry-button {
  border-radius: 999px !important;
}
@media (max-width: 1100px) {
  .signature-inquiry-intro,
  .signature-inquiry-card {
    flex: 0 0 250px !important;
    width: 250px !important;
    min-height: 176px !important;
  }
  .signature-inquiry-intro h3 {
    font-size: 24px !important;
  }
}
.signature-hero-slider {
  position: relative !important;
  overflow: hidden !important;
}
.signature-hero-track {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}
.hero-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(18px) scale(0.995) !important;
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s linear 0.9s !important;
  z-index: 1 !important;
}
.hero-slide.is-active {
  position: relative !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(0) scale(1) !important;
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s linear 0s !important;
  z-index: 2 !important;
}
.signature-slider-controls {
  z-index: 20 !important;
}
.hero-slide.is-active .hero-service-tags {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition-delay: 0.45s !important;
}
.signature-inquiry-intro,
.signature-inquiry-card {
  box-sizing: border-box !important;
}

@media (max-width: 960px) {
  .signature-hero-track {
    min-height: 520px !important;
  }
  .hero-slide-main .sig-hero-inner {
    min-height: 520px !important;
  }
  .signature-inquiry-intro,
  .signature-inquiry-card {
    flex: 0 0 320px !important;
    width: 320px !important;
  }
}
@media (max-width: 760px) {
  .hero-slide {
    transform: translateY(8px) scale(0.996) !important;
  }
  .hero-slide.is-active {
    transform: translateY(0) scale(1) !important;
  }
  .hero-slide-main .sig-hero-inner {
    min-height: auto !important;
  }
  .signature-inquiry-intro,
  .signature-inquiry-card {
    flex: 0 0 260px !important;
    width: 260px !important;
  }
  .signature-inquiry-intro p {
    font-size: 13px !important;
  }
}
.signature-inquiry {
  padding: 12px 0 16px !important;
}
.signature-inquiry-shell {
  margin: 0 auto !important;
  display: grid !important;
  align-items: stretch !important;
  overflow: visible !important;
}
.signature-inquiry-intro {
  position: relative !important;
  flex: none !important;
  width: auto !important;
  padding: 18px 18px 16px !important;
  background: #163760 !important;
  color: #fff !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow: 0 10px 22px rgba(16, 34, 57, 0.12) !important;
}
.signature-inquiry-kicker {
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
}
.signature-inquiry-intro h3 {
  margin: 6px 0 4px !important;
  font-size: 21px !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em !important;
}
.signature-inquiry-intro p {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: rgba(255, 255, 255, 0.8) !important;
}
.signature-inquiry-button {
  margin-top: 10px !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  font-size: 12px !important;
  align-self: flex-start !important;
}
.signature-inquiry-board {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
  padding: 0 !important;
}
.signature-inquiry-board::-webkit-scrollbar {
  display: none !important;
}
.signature-inquiry-card {
  background: #fff !important;
  border: 1px solid #e7dccd !important;
  box-shadow: 0 8px 18px rgba(40, 47, 63, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}
.signature-inquiry-card-top {
  gap: 6px !important;
}
@media (max-width: 1100px) {
  .signature-inquiry-card {
    flex-basis: 230px !important;
  }
}
@media (max-width: 760px) {
  .signature-inquiry {
    padding: 10px 0 14px !important;
  }
  .signature-inquiry-intro {
    padding: 16px 15px 14px !important;
  }
  .signature-inquiry-intro h3 {
    font-size: 20px !important;
  }
}
.signature-inquiry-card {
  justify-content: flex-start !important;
}
.signature-inquiry-card > div:first-child {
  display: block !important;
}
.signature-inquiry-card-top {
  margin-bottom: 4px !important;
}
.signature-inquiry-text {
  margin: 0 !important;
}
.signature-inquiry-name {
  padding-top: 0 !important;
  border-top: 0 !important;
  text-align: center !important;
  color: #7b8190 !important;
}
.signature-inquiry-card {
  padding: 12px 14px !important;
}
.signature-inquiry-status {
  font-size: 12px !important;
  padding: 6px 10px !important;
}
.signature-inquiry-date {
  font-size: 11px !important;
}
.signature-inquiry-grade {
  margin: 7px 0 2px !important;
  font-weight: 900 !important;
}
.signature-inquiry-text {
  font-weight: 900 !important;
}
.signature-inquiry-name {
  margin-top: 6px !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
}
@media (max-width: 760px) {
  .signature-inquiry-card {
    padding: 10px 12px !important;
  }
  .signature-inquiry-name {
    font-size: 13px !important;
  }
}
.signature-inquiry-grade {
  font-size: 18px !important;
  line-height: 1.28 !important;
}
.signature-inquiry-text {
  font-size: 19px !important;
  line-height: 1.28 !important;
}
@media (max-width: 760px) {
  .signature-inquiry-grade {
    font-size: 17px !important;
  }
  .signature-inquiry-text {
    font-size: 18px !important;
  }
}
@media (max-width: 900px) {
  body {
    padding-bottom: 132px !important;
  }
}
body {
  padding-bottom: 0 !important;
}
.signature-inquiry-shell {
  width: min(1160px, calc(100% - 40px)) !important;
  grid-template-columns: 300px minmax(0, 1fr) !important;
  gap: 12px !important;
}
.signature-inquiry-intro {
  min-height: 178px !important;
  border-radius: 24px !important;
}
.signature-inquiry-board {
  gap: 10px !important;
  align-items: stretch !important;
}
.signature-inquiry-card {
  flex: 0 0 205px !important;
  width: 205px !important;
  min-height: 178px !important;
  border-radius: 24px !important;
}
.signature-inquiry-card::after {
  width: 64px !important;
  height: 64px !important;
  right: -20px !important;
  top: -20px !important;
}
@media (max-width: 1100px) {
  .signature-inquiry-shell {
    width: calc(100% - 32px) !important;
    grid-template-columns: 280px minmax(0, 1fr) !important;
  }
  .signature-inquiry-card {
    flex: 0 0 195px !important;
    width: 195px !important;
    min-height: 168px !important;
  }
}
@media (max-width: 760px) {
  .signature-inquiry-shell {
    width: calc(100% - 20px) !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .signature-inquiry-intro {
    min-height: auto !important;
    border-radius: 18px !important;
  }
  .signature-inquiry-board {
    gap: 8px !important;
  }
  .signature-inquiry-card {
    flex: 0 0 220px !important;
    width: 220px !important;
    min-height: 132px !important;
    border-radius: 16px !important;
  }
}
.signature-hero-slider {
  background:
    radial-gradient(
      circle at 82% 24%,
      rgba(199, 154, 85, 0.1),
      transparent 23%
    ),
    linear-gradient(180deg, #fffdf8 0%, #fbf7ef 100%) !important;
}
.signature-hero-track {
  min-height: 500px !important;
}
.hero-slide-main .sig-hero-inner {
  min-height: 500px !important;
}
.hero-slide-main .sig-hero-copy {
  max-width: 620px !important;
}
.hero-slide-main .sig-hero-copy h1 {
  margin-bottom: 14px !important;
  line-height: 1.12 !important;
}
.hero-slide-main .sig-hero-copy > p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1.65 !important;
}
.hero-cta-row {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin-top: 24px !important;
}
.hero-cta-row a {
  min-height: 48px !important;
  padding: 0 22px !important;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}
.hero-trust-row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-top: 18px !important;
  color: #6f7680 !important;
  font-size: 13px !important;
}
.hero-trust-row span {
  position: relative !important;
  padding-left: 12px !important;
}
.hero-trust-row span::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 7px !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #c6964d !important;
}
.hero-slide-main .sig-hero-photo-wrap {
  position: relative !important;
  padding: 12px !important;
  border-radius: 32px !important;
  background: linear-gradient(
    135deg,
    rgba(219, 190, 140, 0.55),
    rgba(255, 255, 255, 0.75)
  ) !important;
  box-shadow: 0 24px 50px rgba(53, 47, 38, 0.14) !important;
}
.hero-slide-main .sig-hero-photo-wrap::before {
  content: "" !important;
  position: absolute !important;
  inset: -12px 18px 18px -12px !important;
  border-radius: 34px !important;
  border: 1px solid rgba(190, 145, 72, 0.28) !important;
  z-index: -1 !important;
}
.hero-slide-main .sig-hero-photo {
  border-radius: 24px !important;
}
.hero-overlap-cards {
  width: min(1160px, calc(100% - 40px)) !important;
  margin: -46px auto 24px !important;
  position: relative !important;
  z-index: 15 !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
}
.hero-overlap-card {
  background: #fffaf2 !important;
  border: 1px solid #e1d1b8 !important;
  border-radius: 22px !important;
  min-height: 112px !important;
  padding: 18px 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  box-shadow: 0 16px 34px rgba(34, 38, 48, 0.1) !important;
}
.hero-overlap-icon {
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 20px !important;
  border: none !important;
  box-shadow: 0 10px 20px rgba(34, 38, 48, 0.16) !important;
  position: relative !important;
  overflow: hidden !important;
}
.hero-overlap-icon::after {
  content: "" !important;
  position: absolute !important;
  inset: 1px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
}
.hero-overlap-card:nth-child(1) .hero-overlap-icon {
  background: linear-gradient(135deg, #5ba8ff 0%, #214fcf 100%) !important;
}
.hero-overlap-card:nth-child(2) .hero-overlap-icon {
  background: linear-gradient(135deg, #d7b16a 0%, #b57927 100%) !important;
}
.hero-overlap-card:nth-child(3) .hero-overlap-icon {
  background: linear-gradient(135deg, #9584ff 0%, #5f55dd 100%) !important;
}
.hero-overlap-card h3 {
  margin: 0 0 5px !important;
  color: #153760 !important;
  font-size: 18px !important;
}
.hero-overlap-card p {
  margin: 0 !important;
  color: #777d86 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  word-break: keep-all !important;
}
.signature-metrics {
  padding-top: 14px !important;
}

@media (max-width: 900px) {
  .hero-overlap-cards {
    grid-template-columns: 1fr !important;
    margin: -28px auto 20px !important;
  }
}
@media (max-width: 760px) {
  .signature-hero-track {
    min-height: auto !important;
  }
  .hero-cta-row {
    gap: 8px !important;
    margin-top: 18px !important;
  }
  .hero-cta-row a {
    min-height: 44px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
  }
  .hero-trust-row {
    font-size: 12px !important;
    gap: 7px 12px !important;
  }
  .hero-slide-main .sig-hero-photo-wrap {
    padding: 9px !important;
    border-radius: 24px !important;
  }
  .hero-slide-main .sig-hero-photo {
    border-radius: 18px !important;
  }
  .hero-overlap-cards {
    width: calc(100% - 20px) !important;
    margin: -20px auto 16px !important;
    gap: 8px !important;
  }
  .hero-overlap-card {
    min-height: 92px !important;
    padding: 14px 14px !important;
    border-radius: 18px !important;
  }
  .hero-overlap-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
  }
  .hero-overlap-card h3 {
    font-size: 16px !important;
  }
  .hero-overlap-card p {
    font-size: 12px !important;
  }
}
.hero-cta-trial {
  background: linear-gradient(135deg, #7667ff 0%, #5a49e8 100%) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 12px 26px rgba(94, 78, 229, 0.28) !important;
  position: relative !important;
  overflow: hidden !important;
}
.hero-cta-trial::before {
  content: "✦" !important;
  margin-right: 8px !important;
  font-size: 14px !important;
}
.hero-cta-trial:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 30px rgba(94, 78, 229, 0.34) !important;
}
@media (max-width: 640px) {
  .hero-cta-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
  }
  .hero-cta-row a {
    padding: 0 12px !important;
    font-size: 13px !important;
  }
}
.hero-slide-main .hero-cta-row,
.hero-slide-main .hero-trust-row {
  opacity: 0 !important;
  transform: translateY(18px) !important;
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}

.hero-slide-main.is-active .hero-cta-row,
.hero-slide.is-active .hero-cta-row {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition-delay: 0.44s !important;
}

.hero-slide-main.is-active .hero-trust-row,
.hero-slide.is-active .hero-trust-row {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition-delay: 0.56s !important;
}
.hero-slide-main .hero-cta-row {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  margin-top: 22px !important;
  margin-bottom: 0 !important;
}

.hero-slide-main .hero-cta-trial {
  min-width: 178px !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #7462ff 0%, #6548e8 100%) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: 0 12px 26px rgba(98, 75, 232, 0.27) !important;
}

.hero-slide-main .hero-cta-trial::before {
  content: "✦" !important;
  display: inline-block !important;
  margin-right: 8px !important;
  color: #ffe09b !important;
}
.hero-slide-main .hero-trust-row {
  margin-top: 18px !important;
}
.hero-slide.is-active .sig-hero-copy > .hero-cta-row,
.hero-slide.is-active .sig-hero-copy > .hero-trust-row {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media (max-width: 640px) {
  .hero-slide-main .hero-cta-row {
    display: flex !important;
    width: auto !important;
  }
  .hero-slide-main .hero-cta-trial {
    width: auto !important;
    min-width: 168px !important;
    min-height: 44px !important;
    font-size: 14px !important;
  }
}
.hero-trust-row {
  gap: 10px 22px !important;
}
.hero-trust-row strong {
  font-size: 15px !important;
  color: #a8732d !important;
  font-weight: 900 !important;
}
.signature-metrics {
  padding: 20px 0 8px !important;
  background: #f3efe6 !important;
}
.signature-metrics .container {
  max-width: 1240px !important;
}
.metrics-shell-refresh {
  background: linear-gradient(180deg, #fbf8f1 0%, #f5efe4 100%) !important;
  border: 1px solid #e6d8c1 !important;
  border-radius: 28px !important;
  box-shadow: 0 12px 28px rgba(31, 39, 56, 0.05) !important;
  padding: 22px 22px 20px !important;
  position: relative !important;
  overflow: hidden !important;
}
.metrics-shell-refresh::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 15% 18%,
      rgba(196, 139, 57, 0.08),
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(196, 139, 57, 0.06),
      transparent 28%
    );
  pointer-events: none;
}
.metrics-head-refresh {
  position: relative !important;
  z-index: 1 !important;
  text-align: center !important;
  margin-bottom: 16px !important;
}
.metrics-head-refresh .metrics-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  background: rgba(184, 131, 55, 0.12) !important;
  color: #ad7a2f !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  font-size: 12px !important;
  margin-bottom: 8px !important;
}
.metrics-grid-refresh {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
}
.metric-card-refresh {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid #eadbc3 !important;
  border-radius: 22px !important;
  padding: 18px 14px 16px !important;
  text-align: center !important;
  box-shadow: 0 8px 16px rgba(31, 39, 56, 0.04) !important;
}
.metric-card-refresh .metric-visual {
  width: 72px !important;
  height: 72px !important;
  margin: 0 auto 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.metric-card-refresh .metric-visual img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 6px 12px rgba(230, 135, 36, 0.16)) !important;
}
.metric-value-refresh {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 4px !important;
  margin: 0 auto 2px !important;
  color: #e86b00 !important;
  font-size: 34px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}
.metric-value-refresh .metric-unit {
  display: inline-block !important;
  font-size: 18px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  color: #e86b00 !important;
  margin-bottom: 2px !important;
}
.metric-label-refresh {
  font-size: 18px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  color: #111827 !important;
  margin-bottom: 8px !important;
}
.metric-note-refresh {
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: #2a2e35 !important;
  word-break: keep-all !important;
}
@media (max-width: 1100px) {
  .metrics-grid-refresh {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 767px) {
  .signature-metrics {
    padding: 22px 0 0 !important;
  }
  .metrics-shell-refresh {
    padding: 24px 16px 20px !important;
    border-radius: 24px !important;
  }
  .metrics-head-refresh {
    margin-bottom: 18px !important;
  }
  .metrics-grid-refresh {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .metric-card-refresh {
    padding: 18px 12px 16px !important;
    border-radius: 18px !important;
  }
  .metric-card-refresh .metric-visual {
    width: 68px !important;
    height: 68px !important;
    margin-bottom: 8px !important;
  }
  .metric-value-refresh {
    font-size: 34px !important;
  }
  .metric-value-refresh .metric-unit {
    font-size: 17px !important;
    margin-bottom: 2px !important;
  }
  .metric-label-refresh {
    font-size: 18px !important;
    margin-bottom: 7px !important;
  }
  .metric-note-refresh {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }
}
.hero-slide-about-fixed {
  background: linear-gradient(180deg, #fffdf8 0%, #fbf7ef 100%) !important;
  padding: 0 !important;
}
.hero-slide-about-fixed .about-hero-fixed-inner {
  min-height: 500px !important;
  display: grid !important;
  grid-template-columns: 1.08fr 0.92fr !important;
  align-items: center !important;
  gap: 42px !important;
  padding-top: 42px !important;
  padding-bottom: 62px !important;
}
.about-hero-fixed-copy {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.about-hero-fixed-kicker {
  display: inline-flex !important;
  align-items: center !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: #f4ecdf !important;
  color: #ad7a2f !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  opacity: 1 !important;
  transform: none !important;
}
.about-hero-fixed-copy h2 {
  margin: 18px 0 18px !important;
  font-size: 48px !important;
  line-height: 1.08 !important;
  letter-spacing: -0.05em !important;
  color: #102a4b !important;
  opacity: 1 !important;
  transform: none !important;
}
.about-hero-fixed-copy p {
  margin: 0 0 14px !important;
  max-width: 650px !important;
  font-size: 18px !important;
  line-height: 1.8 !important;
  color: #4b5563 !important;
  word-break: keep-all !important;
  opacity: 1 !important;
  transform: none !important;
}
.about-hero-fixed-copy strong {
  color: #1a1a1a !important;
  font-weight: 900 !important;
}
.about-hero-fixed-visual {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.about-hero-fixed-photo-frame {
  width: min(380px, 100%) !important;
  padding: 12px !important;
  border-radius: 32px !important;
  background: linear-gradient(
    135deg,
    rgba(220, 190, 140, 0.62),
    rgba(255, 255, 255, 0.88)
  ) !important;
  border: 1px solid rgba(197, 151, 80, 0.28) !important;
  box-shadow: 0 24px 50px rgba(53, 47, 38, 0.14) !important;
}
.about-hero-fixed-photo {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 4/5 !important;
  object-fit: cover !important;
  object-position: center 20% !important;
  border-radius: 23px !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.hero-slide-about-fixed.is-active .about-hero-fixed-copy,
.hero-slide-about-fixed.is-active .about-hero-fixed-visual,
.hero-slide-about-fixed.is-active .about-hero-fixed-photo {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
@media (max-width: 900px) {
  .hero-slide-about-fixed .about-hero-fixed-inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
  .about-hero-fixed-copy h2 {
    font-size: 38px !important;
  }
  .about-hero-fixed-copy p {
    font-size: 16px !important;
  }
}
@media (max-width: 760px) {
  .hero-slide-about-fixed .about-hero-fixed-inner {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding: 24px 18px 58px !important;
    gap: 18px !important;
  }
  .about-hero-fixed-copy {
    text-align: center !important;
  }
  .about-hero-fixed-copy h2 {
    font-size: 30px !important;
    margin: 14px 0 12px !important;
  }
  .about-hero-fixed-copy p {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
  .about-hero-fixed-photo-frame {
    width: min(280px, 100%) !important;
  }
}
.sig-nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.sig-nav-dropdown-toggle {
  border: 0;
  background: transparent;
  color: #28364e;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.sig-nav-dropdown-toggle:hover,
.sig-nav-dropdown.is-open .sig-nav-dropdown-toggle {
  color: #b78a46;
}
.sig-nav-caret {
  font-size: 11px;
  transition: transform 0.22s ease;
}
.sig-nav-dropdown.is-open .sig-nav-caret {
  transform: rotate(180deg);
}
.sig-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, -6px);
  width: 190px;
  background: #fff;
  border: 1px solid #ebe4d8;
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(28, 39, 61, 0.13);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.22s ease;
  z-index: 1200;
}
.sig-nav-dropdown:hover .sig-nav-dropdown-menu,
.sig-nav-dropdown.is-open .sig-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.sig-nav-dropdown-menu a {
  display: block;
  padding: 13px 16px;
  color: #6d7480 !important;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid #f0ece5;
  white-space: nowrap;
}
.sig-nav-dropdown-menu a:last-child {
  border-bottom: 0;
}
.sig-nav-dropdown-menu a:hover {
  background: #faf7f1;
  color: #163760 !important;
}
@media (max-width: 980px) {
  .sig-nav-dropdown {
    display: none;
  }
}

/* =========================================================
   대문 슬라이드: 두 슬라이드를 같은 자리에 겹쳐 높이 흔들림 방지
   ========================================================= */
.signature-hero-track {
  display: grid !important;
}
.signature-hero-track > .hero-slide {
  grid-area: 1 / 1 !important;
  position: relative !important;
  inset: auto !important;
}
@media (min-width: 981px) {
  .about-hero-fixed-photo-frame {
    width: min(320px, 100%) !important;
  }
}

/* 메뉴로 이동할 때 고정 헤더에 제목이 가려지지 않도록 */
main section[id],
#about-signature {
  scroll-margin-top: 76px;
}

/* =========================================================
   모바일 메뉴 (980px 이하)
   ========================================================= */
.sig-mobile-toggle,
.sig-mobile-menu {
  display: none;
}
@media (max-width: 980px) {
  .sig-top-cta {
    margin-left: auto;
  }
  .sig-nav {
    gap: 8px;
  }
  .sig-mobile-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #eadfce;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
  }
  .sig-mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #102a4b;
    transition:
      transform 0.22s ease,
      opacity 0.22s ease;
  }
  .sig-header.is-menu-open .sig-mobile-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .sig-header.is-menu-open .sig-mobile-toggle span:nth-child(2) {
    opacity: 0;
  }
  .sig-header.is-menu-open .sig-mobile-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .sig-mobile-menu {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 6px 20px 22px;
    background: #fffdf9;
    border-bottom: 1px solid #eadfce;
    box-shadow: 0 18px 34px rgba(28, 39, 61, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0s linear 0.22s;
  }
  .sig-header.is-menu-open .sig-mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0s;
  }
  .sig-mobile-menu > a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid #f0ece5;
    color: #28364e;
    font-size: 15px;
    font-weight: 800;
  }
  .sig-mobile-menu > a:hover {
    color: #b78a46;
  }
  .sig-mobile-group {
    padding: 14px 4px;
    border-bottom: 1px solid #f0ece5;
  }
  .sig-mobile-group-title {
    display: block;
    margin-bottom: 10px;
    color: #28364e;
    font-size: 15px;
    font-weight: 800;
  }
  .sig-mobile-sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .sig-mobile-sub a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    background: #faf7f1;
    color: #6d7480;
    font-size: 13px;
    font-weight: 700;
  }
  .sig-mobile-sub a:hover {
    color: #163760;
  }
  .sig-mobile-menu .sig-mobile-cta {
    display: block;
    margin-top: 18px;
    padding: 14px;
    border: 0;
    border-radius: 999px;
    background: #102a4b;
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(16, 42, 75, 0.14);
  }
}

/* 진단 카드 이미지 높이 통일 (2026-10-02 이미지 자르기 후) */
.diagnosis-visual-image {
  aspect-ratio: 4 / 3;
  height: auto !important;
  object-fit: cover;
  object-position: top center;
}

/* ===== 메인 최종 정리 (2026-10-02) ===== */
/* 특별 프로그램 카드 제목이 글자 중간에서 끊기지 않게 */
.sig-category-card h3 {
  white-space: nowrap;
  font-size: clamp(22px, 2vw, 28px) !important;
}
/* 상담 현황 카드: '상담 접수'와 날짜 사이 간격 */
.signature-inquiry-card-top {
  flex-direction: column;
  gap: 4px;
}
.signature-inquiry-date {
  position: static !important;
  transform: none !important;
  color: #9aa3b2;
}
/* 수업 비용 영역 상단 라벨이 가로로 길게 늘어나던 것 정리 */
.signature-tuition .section-head .kicker {
  display: inline-block !important;
  width: auto !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
}
@media (max-width: 760px) {
  /* 모바일 대문 사진 위 빈 공간 제거 */
  .sig-hero-photo-wrap {
    min-height: 0 !important;
  }
  /* 모바일 후기 이미지: 글자가 읽히도록 크게, 옆으로 넘겨 보기 */
  .student-review-figure {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .student-review-figure img {
    width: 900px !important;
    max-width: none !important;
    height: auto !important;
  }
}

/* ===== 숫자 영역 (SIGNATURE DATA) 새 디자인 ===== */
.sig-stats-section {
  padding: 28px 0 44px !important;
  background: transparent !important;
}
.sig-stats {
  display: grid;
  grid-template-columns: 1.15fr repeat(4, 1fr);
  align-items: stretch;
  padding: 30px 8px;
  border-radius: 22px;
  background: #102a4b;
  box-shadow: 0 18px 40px rgba(16, 42, 75, 0.18);
}
.sig-stats-head,
.sig-stat {
  padding: 4px 26px;
}
.sig-stats-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.sig-stats-kicker {
  color: #d4ad6a;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.sig-stats-head h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  word-break: keep-all;
}
.sig-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.sig-stat-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  font-weight: 700;
}
.sig-stat-num {
  color: #fff;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.sig-stat-num small {
  margin-left: 4px;
  color: #d4ad6a;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}
.sig-stat-note {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
  line-height: 1.6;
  word-break: keep-all;
}
@media (max-width: 1100px) {
  .sig-stats {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 22px;
  }
  .sig-stats-head {
    grid-column: 1 / -1;
  }
  .sig-stats-head h2 br { display: none; }
  .sig-stat:nth-child(2) { border-left: 0; }
}
@media (max-width: 640px) {
  .sig-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 4px;
  }
  .sig-stats-head, .sig-stat { padding: 4px 18px; }
  .sig-stats-head h2 { font-size: 20px; }
  .sig-stat:nth-child(4) { border-left: 0; }
  .sig-stat-num { font-size: 34px; }
  .sig-stat-num small { font-size: 15px; }
}
/* 숫자 영역 제목 삭제 후 4칸 배치 */
.sig-stats { grid-template-columns: repeat(4, 1fr) !important; padding: 28px 8px !important; }
.sig-stat:first-child { border-left: 0 !important; }
.sig-stat:nth-child(2) { border-left: 1px solid rgba(255, 255, 255, 0.12) !important; }
.sig-stat { padding: 4px 30px !important; }
@media (max-width: 640px) {
  .sig-stats { grid-template-columns: repeat(2, 1fr) !important; row-gap: 22px; }
  .sig-stat { padding: 4px 18px !important; }
  .sig-stat:nth-child(3) { border-left: 0 !important; }
  .sig-stat:nth-child(4) { border-left: 1px solid rgba(255, 255, 255, 0.12) !important; }
}
/* 숫자 영역: 배경 없이 글자만 */
.sig-stats {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 8px 0 !important;
}
.sig-stat { border-left-color: #e6dccb !important; }
.sig-stat:first-child { border-left: 0 !important; }
.sig-stat-label { color: #6b7280 !important; }
.sig-stat-num { color: #102a4b !important; }
.sig-stat-num small { color: #b78a46 !important; }
.sig-stat-note { color: #8a93a3 !important; }
@media (max-width: 640px) {
  .sig-stat:nth-child(3) { border-left: 0 !important; }
}
.sig-stats .sig-stat:nth-child(n+2) { border-left: 1px solid #e6dccb !important; }
@media (max-width: 640px) {
  .sig-stats .sig-stat:nth-child(3) { border-left: 0 !important; }
}
/* 특별 프로그램: 영어 제목만 크게 */
.sig-category-section .section-head h2.sig-en-title {
  margin: 0;
  color: #d4ad6a !important;
  font-size: clamp(30px, 4vw, 48px) !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em;
  line-height: 1.1;
}
/* 특별 프로그램: 검정 배경 → 밝은 배경 */
.sig-category-section {
  background: #f7f2e9 !important;
  padding: 64px 0 72px !important;
}
.sig-category-section .section-head h2.sig-en-title {
  color: #102a4b !important;
}
.sig-category-card {
  box-shadow: 0 14px 30px rgba(16, 42, 75, 0.12) !important;
}

/* 글씨체 통일: Pretendard (fonts/pretendard, SIL OFL 1.1) */
button, input, select, textarea { font-family: inherit; }
.sig-hero-copy h1 { letter-spacing: -0.02em; }

/* ===== 최근 수업문의 (가로 띠) ===== */
.sig-inquiry-bar-section { padding: 28px 0 8px; background: transparent; }
.sig-inquiry-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto 220px;
  align-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: #102a4b;
  color: #fff;
}
.sig-inquiry-title {
  margin: 0;
  padding: 0 34px;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  white-space: nowrap;
}
.sig-inquiry-list-wrap {
  height: 96px;            /* 3줄 × 32px */
  overflow: hidden;
  margin: 18px 0;
}
.sig-inquiry-list { margin: 0; padding: 0; list-style: none; }
.sig-inquiry-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  height: 32px;
  font-size: 14.5px;
}
.sig-inquiry-grade { color: #d4ad6a; font-weight: 700; }
.sig-inquiry-text {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sig-inquiry-date {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}
.sig-inquiry-ctrl {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 28px 0 36px;
}
.sig-inquiry-arrow {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.sig-inquiry-arrow:hover,
.sig-inquiry-arrow:focus-visible { background: rgba(255, 255, 255, 0.1); color: #fff; outline: none; }
.sig-inquiry-divider { width: 1px; height: 12px; background: rgba(255, 255, 255, 0.25); }
.sig-inquiry-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: stretch;
  background: #b78a46;
  color: #fff !important;
  font-size: 16px;
  font-weight: 800;
  transition: background 0.2s;
}
.sig-inquiry-cta:hover { background: #a27737; }
@media (max-width: 900px) {
  .sig-inquiry-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .sig-inquiry-title { padding: 18px 20px 0; }
  .sig-inquiry-list-wrap { grid-column: 1 / 2; margin: 10px 0 16px 20px; }
  .sig-inquiry-ctrl { padding: 0 14px; }
  .sig-inquiry-cta { grid-column: 1 / -1; padding: 15px; }
}
@media (max-width: 520px) {
  .sig-inquiry-row { grid-template-columns: 38px minmax(0, 1fr); }
  .sig-inquiry-date { display: none; }
  .sig-inquiry-row { font-size: 13.5px; }
}
.sig-inquiry-arrow { display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.sig-inquiry-text em { font-style: normal; color: rgba(255, 255, 255, 0.6); }

/* ===== 수업 관리 3카드: 고급 카드형 ===== */
.lux-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.lux-card {
  --lux-photo: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 40px 28px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(10, 24, 46, 0.55), rgba(10, 24, 46, 0.92)),
    var(--lux-photo) center / cover no-repeat,
    radial-gradient(120% 80% at 50% 0%, #22406b 0%, #102a4b 55%, #0b1d36 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 40px rgba(16, 42, 75, 0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.lux-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(212, 173, 106, 0.22);
  border-radius: 16px;
  pointer-events: none;
}
.lux-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 230px;
  height: 230px;
  transform: translate(-50%, -54%);
  opacity: 0.12;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.lux-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #d4ad6a;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lux-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lux-label {
  color: #d4ad6a;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.lux-card h3 {
  margin: 0;
  color: #fff !important;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.38;
  word-break: keep-all;
}
.lux-card p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 14.5px;
  line-height: 1.75;
  word-break: keep-all;
}
.lux-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.lux-tags li {
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
}
.lux-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(16, 42, 75, 0.3);
}
.lux-card:hover .lux-icon {
  opacity: 0.2;
  transform: translate(-50%, -58%) scale(1.04);
}
@media (prefers-reduced-motion: reduce) {
  .lux-card, .lux-icon { transition: none; }
  .lux-card:hover { transform: none; }
}
@media (max-width: 900px) {
  .lux-grid { grid-template-columns: minmax(0, 1fr); }
  .lux-card { min-height: 300px; }
  .lux-card p br { display: none; }
}
.lux-icon { opacity: 0.16; }
.lux-card:hover .lux-icon { opacity: 0.24; }
.lux-card {
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(212, 173, 106, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(10, 24, 46, 0.55), rgba(10, 24, 46, 0.92)),
    var(--lux-photo) center / cover no-repeat,
    radial-gradient(120% 80% at 50% 0%, #22406b 0%, #102a4b 55%, #0b1d36 100%);
}

/* 수업 관리 카드 v2: 밝은 톤 + 왼쪽 정렬 + 숫자 한 줄 맞춤 */
.lux-grid { align-items: stretch; }
.lux-card {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 0;
  padding: 30px 30px 28px;
  border: 1px solid #ece3d3;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf7f0 100%) !important;
  color: #16233a;
  text-align: left;
  box-shadow: 0 10px 28px rgba(16, 42, 75, 0.06);
}
.lux-card::after { display: none; }
.lux-body {
  align-items: stretch;
  width: 100%;
  gap: 0;
}
.lux-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ece3d3;
}
.lux-num {
  color: #b78a46;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.lux-label {
  color: #8a93a3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}
.lux-icon {
  top: 26px;
  left: auto;
  right: 26px;
  width: 44px;
  height: 44px;
  transform: none;
  opacity: 0.9;
}
.lux-icon svg { stroke: #c9a15f; stroke-width: 4; }
.lux-card:hover .lux-icon { opacity: 1; transform: none; }
.lux-card h3 {
  color: #102a4b !important;
  font-size: 21px;
  line-height: 1.42;
  min-height: 2.84em;
}
.lux-card p {
  margin: 12px 0 0;
  color: #5d6676 !important;
  font-size: 14.5px;
  line-height: 1.7;
}
.lux-tags {
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 20px;
}
.lux-tags li {
  border-color: #e6dccb;
  background: #fff;
  color: #6b5a3c;
}
.lux-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(16, 42, 75, 0.1);
}
@media (max-width: 900px) {
  .lux-card h3 { min-height: 0; }
}

/* 수업 관리 카드 v3: 가운데 정렬 + 줄 맞춤 */
.lux-card { text-align: center; padding: 34px 30px 30px; }
.lux-body { align-items: center; }
.lux-top {
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding-bottom: 18px;
  margin-bottom: 20px;
}
.lux-num { font-size: 38px; }
.lux-icon { display: none; }
.lux-card h3 { min-height: 2.84em; }
.lux-card p { min-height: 3.4em; max-width: 30ch; margin-left: auto; margin-right: auto; }
.lux-tags { justify-content: center; }
.lux-card { border-top: 3px solid #c9a15f; }

/* 배경 시안 (section#features 에 클래스로 적용) */
/* A: 웜 베이지 + 금색 점무늬 */
#features.bg-a {
  background:
    radial-gradient(circle, rgba(183, 138, 70, 0.16) 1px, transparent 1.6px) 0 0 / 22px 22px,
    #f3ece0 !important;
}
/* B: 은은한 남색 틴트 → 베이지 그라데이션 + 큰 곡선 (추천) */
#features.bg-b {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #edf1f7 0%, #f4f1ea 100%) !important;
}
#features.bg-b::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -55%;
  width: 160%;
  height: 90%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(16, 42, 75, 0.07), transparent);
  pointer-events: none;
}
#features.bg-b::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 120px;
  height: 3px;
  transform: translateX(-50%);
  background: #c9a15f;
}
#features.bg-b > .container { position: relative; z-index: 1; }
/* C: 남색 띠 위에 흰 카드 */
#features.bg-c {
  background: linear-gradient(180deg, #f7f2e9 0 34%, #102a4b 34% 100%) !important;
}
#features.bg-c .section-more a { background: #fff; }
/* 수업 관리 카드: 항목명(맞춤수업·데이터·학부모 공유) 강조 */
.lux-top .lux-label {
  color: #102a4b !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
}

/* ===== 검정고시 수강생 후기 ===== */
.ged-reviews { margin-top: 44px; }
.ged-reviews-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.ged-chip {
  padding: 4px 12px;
  border-radius: 999px;
  background: #f6ecdc;
  color: #8f6b2f;
  font-size: 12.5px;
  font-weight: 800;
}
.ged-reviews-head h3 {
  margin: 0;
  color: #102a4b;
  font-size: 24px;
  font-weight: 800;
}
.ged-review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.ged-review {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 22px 24px;
  border: 1px solid #ece3d3;
  border-top: 3px solid #c9a15f;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 42, 75, 0.06);
}
.ged-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: #102a4b;
  color: #f1d9ab;
  font-size: 16px;
  font-weight: 800;
}
.ged-review h4 {
  margin: 0;
  color: #102a4b;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  word-break: keep-all;
}
.ged-name { color: #9aa3b2; font-size: 12.5px; }
.ged-review p {
  margin: 6px 0 0;
  padding-top: 12px;
  border-top: 1px dashed #e6dccb;
  color: #4a5465;
  font-size: 14px;
  line-height: 1.75;
  word-break: keep-all;
}
@media (max-width: 1100px) { .ged-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .ged-review-grid { grid-template-columns: minmax(0, 1fr); }
  .ged-review h4 br { display: none; }
}

/* 특별 프로그램 카드: 사이트 톤(남색·금색) 색감으로 변경 */
.sig-category-card.ged {
  background: linear-gradient(135deg, #102a4b 0%, #2a4f82 100%) !important;
}
.sig-category-card.english {
  background: linear-gradient(135deg, #8f6b2f 0%, #c9a15f 100%) !important;
}
.sig-category-card.coding {
  background: linear-gradient(135deg, #1f4741 0%, #3a7468 100%) !important;
}
.sig-category-copy a {
  background: #fff !important;
  color: #102a4b !important;
  font-weight: 800;
}
.sig-category-copy a:hover { background: #f6ecdc !important; }
.sig-category-copy p { min-height: 3.3em; }
.sig-category-copy { align-self: center; }

/* 과외 종류 카드: PC 가운데 정렬 */
@media (min-width: 761px) {
  .tuition-plan-card {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center !important;
  }
  .tuition-plan-card ul {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    text-align: left;
  }
  .tuition-plan-card .tuition-plan-btn { margin-top: auto; align-self: center; }
}

/* ===== 선생님 미리보기 (홈, v39) ===== */
.tp-section{padding:90px 0;background:#fff}
.tp-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:34px}
.tp-title{margin:0 0 10px!important;text-align:left!important}
.tp-lead{margin:0;font-size:22px;color:#33415c;letter-spacing:-.02em}
.tp-lead strong{color:#102a4b;font-weight:800}
.tp-arrows{display:flex;gap:10px;flex-shrink:0}
.tp-arrow{width:46px;height:46px;border-radius:50%;border:1px solid #d9cdb6;background:#fff;color:#102a4b;font-size:18px;cursor:pointer;transition:.2s}
.tp-arrow:hover{background:#102a4b;color:#fff;border-color:#102a4b}
.tp-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 48px)/3);gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
.tp-track::-webkit-scrollbar{display:none}
.tp-card{position:relative;display:block;height:330px;border-radius:20px;overflow:hidden;scroll-snap-align:start;color:#fff;text-decoration:none;box-shadow:0 14px 30px rgba(16,42,75,.12);transition:transform .25s,box-shadow .25s}
.tp-card:hover{transform:translateY(-4px);box-shadow:0 20px 38px rgba(16,42,75,.2)}
.tp-card.c1{background:linear-gradient(150deg,#1b3a64,#3a5f92)}
.tp-card.c2{background:linear-gradient(150deg,#8a5a3c,#c08a62)}
.tp-card.c3{background:linear-gradient(150deg,#2f5547,#5b8a76)}
.tp-card.c4{background:linear-gradient(150deg,#4a4566,#7a739c)}
.tp-copy{position:relative;z-index:2;padding:26px 0 0 26px;max-width:60%}
.tp-quote{display:block;font-size:40px;line-height:.6;color:rgba(255,255,255,.45);font-family:Georgia,serif;margin-bottom:8px}
.tp-tagline{margin:0 0 14px;font-size:21px;font-weight:800;line-height:1.38;letter-spacing:-.03em;word-break:keep-all}
.tp-tags{margin:0;font-size:14px;line-height:1.7;color:#f3dfb4;font-weight:600}
.tp-img{position:absolute;right:-18px;bottom:62px;width:58%;max-width:230px;z-index:1;pointer-events:none}
.tp-foot{position:absolute;left:0;right:0;bottom:0;z-index:3;height:62px;display:flex;align-items:center;gap:10px;padding:0 22px;background:rgba(0,0,0,.22);backdrop-filter:blur(2px)}
.tp-foot strong{font-size:16px;font-weight:800}
.tp-grade{font-size:13px;opacity:.85}
.tp-badge{font-size:11px;font-weight:800;padding:4px 9px;border-radius:999px;background:#fff;color:#8f6b2f;letter-spacing:-.01em}
@media (max-width:1024px){.tp-track{grid-auto-columns:calc((100% - 24px)/2)}}
@media (max-width:760px){
  .tp-section{padding:64px 0}
  .tp-lead{font-size:17px}
  .tp-arrow{width:40px;height:40px;font-size:16px}
  .tp-track{grid-auto-columns:84%;gap:14px}
  .tp-card{height:300px}
  .tp-tagline{font-size:19px}
  .tp-tags{font-size:13px}
}
.tp-title{color:#102a4b!important;font-size:clamp(30px,4vw,48px)!important;font-weight:900!important;letter-spacing:.08em;line-height:1.1}
.tp-track{padding:6px 6px 30px;margin:-6px -6px -30px}
.tp-img{width:66%;max-width:265px;right:-6px}
.tp-lead strong{white-space:nowrap}
.tp-section{padding-bottom:110px}
@media (max-width:760px){.tp-section{padding-bottom:80px}}
@media (max-width:760px){.tp-img{width:56%;right:-4px}}
/* 선생님 미리보기: AI 예시 사진 (v40) */
.tp-img{width:auto!important;max-width:none!important;height:300px;right:4px!important;bottom:0!important;filter:drop-shadow(0 6px 14px rgba(0,0,0,.18))}
.tp-copy{max-width:56%}
.tp-foot{background:rgba(10,20,35,.38)}
.tp-note{margin:18px 0 0;font-size:12.5px;color:#8a8f98;text-align:right}
@media (max-width:760px){.tp-img{height:272px;right:0!important}.tp-copy{max-width:58%}.tp-note{text-align:left}}
.tp-card{box-shadow:0 8px 18px rgba(16,42,75,.10)}
/* 선생님 미리보기: 과학·검정고시 추가, 이름만 표기 (v41) */
.tp-card.c5{background:linear-gradient(150deg,#1f5668,#3f8296)}
.tp-card.c6{background:linear-gradient(150deg,#6e2f3b,#a35a66)}
.tp-foot strong{font-size:17px;letter-spacing:-.02em}
/* 선생님 미리보기: 실제 경력 해시태그 3줄 (v42) */
.tp-card{height:350px}
.tp-tags{line-height:1.75}
@media (max-width:760px){.tp-card{height:330px}.tp-tagline{font-size:18px;margin-bottom:10px}.tp-tags{font-size:12.5px}}
/* 선생님 미리보기: 영어회화·일본어회화 추가 (v43) */
.tp-card.c7{background:linear-gradient(150deg,#2b3340,#56627a)}
.tp-card.c8{background:linear-gradient(150deg,#7f4f61,#b07f92)}


/* =========================================================
   하위 페이지 공통 스타일 (메인 디자인 톤에 맞춤)
   색상: 남색 #102a4b / 글자 #16233a / 금색 #b78a46 #8f6b2f / 바탕 #fbf8f3
   ========================================================= */

/* 현재 메뉴 표시 */
.sig-menu a[aria-current="page"],
.sig-nav-dropdown-menu a[aria-current="page"],
.sig-mobile-menu a[aria-current="page"] {
  color: #b78a46 !important;
}
.sig-nav-dropdown.is-current .sig-nav-dropdown-toggle {
  color: #b78a46;
}

/* ---------- 페이지 상단 ---------- */
.page-hero {
  padding: 56px 0 72px;
  background:
    radial-gradient(circle at 85% 10%, rgba(201, 161, 95, 0.14), transparent 42%),
    linear-gradient(180deg, #fdfcf9 0%, #fbf8f3 100%);
  border-bottom: 1px solid #efe7da;
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.page-hero.no-visual .page-hero-inner {
  grid-template-columns: 1fr;
  max-width: 780px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: #8a8f99;
}
.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: #c3b49b;
}
.breadcrumb a:hover {
  color: #b78a46;
}
.page-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f4ead9;
  color: #8f6b2f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.page-hero h1 {
  margin: 0 0 18px;
  color: #16233a;
  font-size: 44px;
  line-height: 1.22;
  letter-spacing: -0.045em;
}
.page-hero h1 em {
  font-style: normal;
  color: #a67a3a;
}
.page-lead {
  margin: 0 0 28px;
  color: #5f6775;
  font-size: 17px;
  line-height: 1.75;
}
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn-navy,
.btn-line,
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-navy {
  background: #102a4b;
  color: #fff;
  box-shadow: 0 10px 22px rgba(16, 42, 75, 0.18);
}
.btn-gold {
  background: #c9a15f;
  color: #1d1a12;
  box-shadow: 0 10px 22px rgba(166, 122, 58, 0.22);
}
.btn-line {
  background: #fff;
  color: #102a4b;
  border-color: #dccfb9;
}
.btn-navy:hover,
.btn-gold:hover,
.btn-line:hover {
  transform: translateY(-2px);
}
.page-visual {
  padding: 12px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(220, 190, 140, 0.62), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(197, 151, 80, 0.28);
  box-shadow: 0 24px 50px rgba(53, 47, 38, 0.12);
}
.page-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  background: #fff;
}
.page-visual.contain img {
  object-fit: contain;
}

/* ---------- 이미지 빈 자리 ---------- */
.img-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 24px;
  border: 2px dashed #d3b98d;
  border-radius: 22px;
  background:
    repeating-linear-gradient(45deg, rgba(201, 161, 95, 0.06) 0 12px, transparent 12px 24px),
    #faf6ef;
  color: #8f6b2f;
  text-align: center;
}
.img-slot strong {
  font-size: 15px;
  font-weight: 900;
}
.img-slot span {
  font-size: 13px;
  color: #9a8a70;
  line-height: 1.55;
}
.img-slot::before {
  content: "";
  width: 44px;
  height: 36px;
  border: 2px solid #c9a15f;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 35%, #c9a15f 0 4px, transparent 5px),
    linear-gradient(135deg, transparent 55%, rgba(201, 161, 95, 0.5) 56%);
}
.img-slot.wide {
  aspect-ratio: 16 / 7;
}

/* ---------- 본문 섹션 ---------- */
.page-section {
  padding: 84px 0;
}
.page-section.soft {
  background: linear-gradient(180deg, #fbf8f3, #f8f4ee);
}
.page-section .section-head {
  margin-bottom: 36px;
}
.page-section .section-head h2 {
  margin: 10px 0 12px;
  font-size: 34px;
}

/* 이런 학생에게 추천 */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.check-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 22px;
  border: 1px solid #e9e2d8;
  border-radius: 20px;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  color: #28364e;
  line-height: 1.6;
}
.check-item::before {
  content: "✓";
  flex: 0 0 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f4ead9;
  color: #8f6b2f;
  font-size: 14px;
  font-weight: 900;
}

/* 특징 카드 */
.point-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.point-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.point-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.point-card {
  padding: 28px 26px;
  border: 1px solid #e9e2d8;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(21, 31, 53, 0.05);
}
.point-num {
  display: inline-block;
  margin-bottom: 14px;
  color: #b78a46;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
}
.point-card h3 {
  margin: 0 0 10px;
  color: #16233a;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.point-card p {
  margin: 0;
  color: #6f7684;
  font-size: 15px;
  line-height: 1.7;
}
.point-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #5f6775;
  font-size: 14px;
  line-height: 1.8;
}

/* 진행 단계 */
.step-flow {
  display: grid;
  grid-template-columns: repeat(var(--steps, 4), 1fr);
  gap: 14px;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step-flow li {
  position: relative;
  padding: 26px 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e9e2d8;
}
.step-flow li::before {
  counter-increment: step;
  content: "STEP " counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: #b78a46;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
}
.step-flow li strong {
  display: block;
  margin-bottom: 8px;
  color: #16233a;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.step-flow li span {
  color: #6f7684;
  font-size: 14px;
  line-height: 1.65;
}

/* 소개 + 이미지 2단 */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split.reverse > :first-child {
  order: 2;
}
.split-copy h2 {
  margin: 10px 0 16px;
  font-size: 34px;
}
.split-copy p {
  margin: 0 0 14px;
  color: #5f6775;
  font-size: 16px;
  line-height: 1.8;
}
.split-media img {
  display: block;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(21, 31, 53, 0.1);
}

/* 과외 프로그램 바로가기 카드 */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.program-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px;
  border: 1px solid #e9e2d8;
  border-radius: 22px;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.program-card:hover {
  transform: translateY(-3px);
  border-color: #d3b98d;
  box-shadow: 0 18px 36px rgba(21, 31, 53, 0.08);
}
.program-card .program-tag {
  color: #b78a46;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}
.program-card strong {
  color: #16233a;
  font-size: 19px;
  letter-spacing: -0.03em;
}
.program-card p {
  margin: 0;
  color: #6f7684;
  font-size: 14px;
  line-height: 1.65;
}
.program-card .program-more {
  margin-top: auto;
  padding-top: 8px;
  color: #102a4b;
  font-size: 14px;
  font-weight: 900;
}

/* 과외 종류 탭 (과외 페이지 상단) */
.sub-tabs {
  position: sticky;
  top: 66px;
  z-index: 40;
  background: rgba(253, 252, 249, 0.97);
  border-bottom: 1px solid #efe7da;
}
.sub-tabs .container {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.sub-tabs .container::-webkit-scrollbar {
  display: none;
}
.sub-tabs a {
  flex: 0 0 auto;
  padding: 9px 16px;
  border-radius: 999px;
  color: #5f6775;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.sub-tabs a:hover {
  background: #f4ead9;
  color: #8f6b2f;
}
.sub-tabs a[aria-current="page"] {
  background: #102a4b;
  color: #fff;
}

/* 자주 묻는 질문 */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-list details {
  border: 1px solid #e9e2d8;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.faq-list summary {
  position: relative;
  padding: 20px 56px 20px 24px;
  color: #16233a;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::before {
  content: "Q.";
  margin-right: 8px;
  color: #b78a46;
  font-weight: 950;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: #b78a46;
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-list .faq-answer {
  padding: 0 24px 22px 50px;
  color: #5f6775;
  font-size: 15px;
  line-height: 1.8;
}

/* 하단 상담 유도 띠 */
.cta-band {
  padding: 72px 0;
  background: linear-gradient(135deg, #102a4b 0%, #1f3d68 100%);
  color: #fff;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-band h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 30px;
  letter-spacing: -0.04em;
}
.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}
.cta-band .page-actions {
  flex: 0 0 auto;
}
.cta-band .btn-line {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

/* 메인 섹션 '자세히 보기' 링크 */
.section-more {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
.section-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border: 1px solid #dccfb9;
  border-radius: 999px;
  background: #fff;
  color: #102a4b;
  font-size: 14px;
  font-weight: 900;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.section-more a:hover {
  border-color: #b78a46;
  color: #8f6b2f;
}
.final-cta .page-actions {
  flex: 0 0 auto;
}

/* 안내 박스 */
.note-box {
  margin-top: 26px;
  padding: 18px 22px;
  border-radius: 16px;
  background: #f7f1e7;
  color: #6b5a3c;
  font-size: 14px;
  line-height: 1.7;
}

/* 학습정보 분류 */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.chip-row span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #e3d7c3;
  background: #fff;
  color: #6b5a3c;
  font-size: 13px;
  font-weight: 800;
}
.blog-soon {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4ead9;
  color: #8f6b2f;
  font-size: 12px;
  font-weight: 800;
}

/* ---------- 상담신청 ---------- */
.consult-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: start;
}
.consult-form {
  padding: 34px;
  border: 1px solid #e9e2d8;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(21, 31, 53, 0.06);
}
.consult-form h2 {
  margin: 0 0 6px;
  font-size: 26px;
}
.consult-form > p {
  margin: 0 0 24px;
  color: #6f7684;
  font-size: 14px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field.full {
  grid-column: 1 / -1;
}
.form-field > label,
.form-field > .form-label {
  color: #28364e;
  font-size: 14px;
  font-weight: 800;
}
.form-field .req {
  color: #c4572f;
  margin-left: 2px;
}
.consult-form input[type="text"],
.consult-form input[type="tel"],
.consult-form select,
.consult-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #ddd3c3;
  border-radius: 12px;
  background: #fdfcf9;
  color: #16233a;
  font-size: 15px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.consult-form textarea {
  min-height: 120px;
  resize: vertical;
}
.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus {
  outline: none;
  border-color: #b78a46;
  box-shadow: 0 0 0 3px rgba(183, 138, 70, 0.16);
}
.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice-row label {
  position: relative;
}
.choice-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice-row span {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid #ddd3c3;
  border-radius: 999px;
  background: #fdfcf9;
  color: #5f6775;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}
.choice-row input:checked + span {
  background: #102a4b;
  border-color: #102a4b;
  color: #fff;
}
.choice-row input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(183, 138, 70, 0.3);
}
.agree-box {
  grid-column: 1 / -1;
  padding: 16px 18px;
  border-radius: 14px;
  background: #faf7f1;
  font-size: 13px;
  color: #6f7684;
}
.agree-box label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #28364e;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.agree-box details {
  margin-top: 8px;
}
.agree-box summary {
  cursor: pointer;
  color: #8f6b2f;
  font-weight: 700;
}
.agree-box ul {
  margin: 8px 0 0;
  padding-left: 18px;
  line-height: 1.8;
}
.form-submit {
  grid-column: 1 / -1;
}
.form-submit .btn-navy {
  width: 100%;
  padding: 17px;
  font-size: 16px;
}
.form-message {
  grid-column: 1 / -1;
  display: none;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.form-message.is-error {
  display: block;
  background: #fdf0ec;
  color: #a2442a;
}
.form-message.is-info {
  display: block;
  background: #eef3fb;
  color: #1f3d68;
}
.contact-side {
  display: grid;
  gap: 14px;
}
.contact-card {
  display: block;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid #e9e2d8;
  background: #fff;
}
.contact-card.kakao {
  background: #fee500;
  border-color: #f2d900;
  color: #191600;
}
.contact-card.phone {
  background: #102a4b;
  border-color: #102a4b;
  color: #fff;
}
.contact-card .contact-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  opacity: 0.8;
}
.contact-card strong {
  display: block;
  margin: 6px 0 4px;
  font-size: 21px;
  letter-spacing: -0.03em;
}
.contact-card p {
  margin: 0;
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.6;
}
.contact-card.hours {
  background: #faf7f1;
}
.contact-card.hours dl {
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  font-size: 14px;
  color: #5f6775;
}
.contact-card.hours dt {
  font-weight: 800;
  color: #28364e;
}
.contact-card.hours dd {
  margin: 0;
}

/* ---------- 공통 푸터 ---------- */
.site-footer {
  padding: 48px 0 40px;
  background: #f6f2ea;
  border-top: 1px solid #ebe3d6;
  color: #7d8494;
  font-size: 13px;
}
.site-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid #e6dccb;
}
.site-footer-brand img {
  width: 170px;
  display: block;
  mix-blend-mode: multiply;
}
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: flex-end;
  max-width: 640px;
}
.site-footer-links a {
  color: #28364e;
  font-size: 14px;
  font-weight: 800;
}
.site-footer-links a:hover {
  color: #b78a46;
}
.site-footer-info {
  margin: 22px 0 8px;
  line-height: 1.9;
}
.site-footer-info span + span::before {
  content: "|";
  margin: 0 10px;
  color: #d0c4b0;
}
.site-footer-copy {
  margin: 0;
  color: #9aa1ae;
}

/* ---------- 반응형 ---------- */
@media (max-width: 980px) {
  .page-hero-inner,
  .split,
  .consult-layout {
    grid-template-columns: 1fr;
  }
  .split.reverse > :first-child {
    order: 0;
  }
  .page-hero h1 {
    font-size: 36px;
  }
  .point-grid,
  .point-grid.cols-4,
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .sub-tabs {
    top: 60px;
  }
  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer-top {
    flex-direction: column;
  }
  .site-footer-links {
    justify-content: flex-start;
  }
}
@media (max-width: 640px) {
  .page-hero {
    padding: 34px 0 52px;
  }
  .page-hero h1 {
    font-size: 30px;
  }
  .page-lead {
    font-size: 15px;
  }
  .page-section {
    padding: 60px 0;
  }
  .page-section .section-head h2,
  .split-copy h2 {
    font-size: 27px;
  }
  .check-grid,
  .point-grid,
  .point-grid.cols-2,
  .point-grid.cols-4,
  .program-grid,
  .step-flow,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .page-actions .btn-navy,
  .page-actions .btn-gold,
  .page-actions .btn-line {
    flex: 1 1 auto;
  }
  .consult-form {
    padding: 24px 20px;
  }
  .cta-band {
    padding: 56px 0;
  }
  .cta-band h2 {
    font-size: 24px;
  }
  .faq-list summary {
    font-size: 15px;
  }
  .final-cta .page-actions {
    width: 100%;
  }
}

/* 한글 단어 중간 줄바꿈 방지 (모바일) */
main, main * {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ---------- 선생님 카드 (선생님소개) ---------- */
.coach-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.coach-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 18px;
  background: #fff;
  border: 1px solid #efe7da;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(16, 42, 75, 0.06);
}
.coach-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 5px 11px;
  border-radius: 8px;
  background: #102a4b;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.coach-photo {
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  background: #f4efe6;
}
.coach-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.coach-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.coach-subject {
  padding: 3px 10px;
  border-radius: 999px;
  background: #f6ecdc;
  color: #8f6b2f;
  font-size: 12px;
  font-weight: 800;
}
.coach-grade {
  color: #7a8394;
  font-size: 12px;
}
.coach-tagline {
  margin: 0;
  color: #16233a;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  min-height: 2.9em;
}
.coach-bio {
  height: 190px;
  overflow-y: auto;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fbf6ec;
  color: #4a5465;
  font-size: 13.5px;
  line-height: 1.7;
  scrollbar-width: thin;
  scrollbar-color: #c9a15f transparent;
}
.coach-bio:focus-visible {
  outline: 2px solid #b78a46;
  outline-offset: 2px;
}
.coach-bio p { margin: 0 0 8px; }
.coach-bio ul { margin: 0 0 10px; padding: 0; list-style: none; }
.coach-bio li { position: relative; padding-left: 14px; }
.coach-bio li::before { content: "▸"; position: absolute; left: 0; color: #b78a46; }
.coach-bio .coach-career { margin: 0; padding-top: 8px; border-top: 1px dashed #e2d3b8; color: #9a8a70; font-size: 12.5px; }
.coach-bio .coach-career strong { margin-right: 6px; color: #8f6b2f; }
.coach-link {
  margin-top: auto;
  color: #102a4b;
  font-size: 13.5px;
  font-weight: 800;
}
.coach-link:hover { color: #b78a46; }
@media (max-width: 1100px) {
  .coach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .coach-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .coach-bio { height: auto; max-height: 220px; }
  .coach-tagline { min-height: 0; }
}

/* ===== 학습정보 블로그 (v47) ===== */
.blog-link{display:block;color:inherit;text-decoration:none;height:100%}
.blog{transition:transform .2s,box-shadow .2s}
.blog:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(16,42,75,.10)}
.blog-date{display:block;margin-top:12px;font-size:12px;color:#9aa0aa}
.post-main{background:#fff}
.post-container{max-width:780px}
.post-head{background:#f9f5ef;padding:48px 0 40px;border-bottom:1px solid #eee5d6}
.post-cat{display:inline-block;margin:18px 0 12px;padding:5px 12px;border-radius:999px;background:#102a4b;color:#fff;font-size:12.5px;font-weight:800}
.post-head h1{margin:0 0 14px;font-size:clamp(26px,3.4vw,38px);line-height:1.32;letter-spacing:-.03em;color:#102a4b;word-break:keep-all}
.post-lead{margin:0 0 18px;font-size:16.5px;line-height:1.7;color:#4a5568;word-break:keep-all}
.post-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13.5px;color:#7a828e}
.post-meta span+span::before{content:"·";margin-right:16px;color:#c9c0b0}
.post-content{padding-top:36px;padding-bottom:80px}
.post-thumb{height:auto;min-height:220px;border-radius:20px;font-size:clamp(26px,3.6vw,36px);padding:32px;margin-bottom:28px}
.post-summary{background:#f7f2e9;border-left:4px solid #b78a46;border-radius:0 14px 14px 0;padding:22px 24px;margin-bottom:22px}
.post-summary strong,.post-toc strong,.post-related>strong{display:block;font-size:15px;color:#102a4b;margin-bottom:10px;font-weight:800}
.post-summary ul{margin:0;padding-left:18px}
.post-summary li{font-size:15px;line-height:1.75;color:#33415c;margin:4px 0;word-break:keep-all}
.post-toc{border:1px solid #e8e1d4;border-radius:14px;padding:20px 24px;margin-bottom:36px}
.post-toc ol{margin:0;padding-left:20px}
.post-toc li{margin:5px 0;font-size:14.5px}
.post-toc a{color:#33415c;text-decoration:none}
.post-toc a:hover{color:#8f6b2f;text-decoration:underline}
.post-body{font-size:16.5px;line-height:1.85;color:#2d3748;word-break:keep-all}
.post-body h2,.post-faq h2{scroll-margin-top:90px;margin:44px 0 16px;padding-top:6px;font-size:23px;line-height:1.4;color:#102a4b;letter-spacing:-.02em}
.post-body p{margin:0 0 16px}
.post-body ul,.post-body ol{margin:0 0 18px;padding-left:22px}
.post-body li{margin:8px 0}
.post-body strong{color:#102a4b}
.post-check{list-style:none;padding-left:0!important;counter-reset:pc}
.post-check li{position:relative;padding:14px 16px 14px 52px;background:#fbf9f5;border:1px solid #efe8db;border-radius:12px;counter-increment:pc}
.post-check li::before{content:counter(pc);position:absolute;left:16px;top:14px;width:24px;height:24px;border-radius:50%;background:#b78a46;color:#fff;font-size:13px;font-weight:800;line-height:24px;text-align:center}
.post-table-wrap{overflow-x:auto;margin:0 0 10px;border:1px solid #e8e1d4;border-radius:12px}
.post-table{width:100%;border-collapse:collapse;font-size:14.5px;line-height:1.6;min-width:520px}
.post-table th,.post-table td{padding:12px 14px;border-bottom:1px solid #efe8db;text-align:left;vertical-align:top}
.post-table thead th{background:#102a4b;color:#fff;font-weight:700}
.post-table tbody th{background:#f7f2e9;color:#102a4b;white-space:nowrap}
.post-table tbody tr:last-child th,.post-table tbody tr:last-child td{border-bottom:0}
.post-note{font-size:13.5px!important;color:#7a828e}
.post-steps{display:grid;gap:12px;margin:0 0 18px}
.post-step{display:grid;grid-template-columns:86px 1fr;gap:16px;align-items:start;padding:18px;border:1px solid #efe8db;border-radius:14px;background:#fbf9f5}
.post-step-no{display:block;text-align:center;padding:8px 0;border-radius:10px;background:#102a4b;color:#fff;font-size:14px;font-weight:800}
.post-step strong{display:block;margin-bottom:4px;font-size:17px}
.post-step p{margin:0;font-size:15px;line-height:1.7;color:#4a5568}
.post-faq{margin-top:12px}
.post-faq-item{border:1px solid #e8e1d4;border-radius:12px;margin-bottom:10px;background:#fff}
.post-faq-item summary{cursor:pointer;padding:16px 44px 16px 18px;font-weight:700;color:#102a4b;font-size:15.5px;list-style:none;position:relative}
.post-faq-item summary::-webkit-details-marker{display:none}
.post-faq-item summary::after{content:"+";position:absolute;right:18px;top:13px;font-size:20px;color:#b78a46}
.post-faq-item[open] summary::after{content:"−"}
.post-faq-item p{margin:0;padding:0 18px 18px;font-size:15px;line-height:1.8;color:#4a5568;word-break:keep-all}
.post-refs{margin-top:28px;font-size:14px;color:#4a5568}
.post-refs ul{margin:8px 0 0;padding-left:18px}
.post-refs a{color:#2c5aa0}
.post-disclaimer{margin:24px 0 0;font-size:13px;color:#9aa0aa}
.post-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:36px;padding:24px 26px;border-radius:16px;background:#102a4b;color:#fff}
.post-cta strong{font-size:17px}
.post-cta p{margin:4px 0 0;font-size:14px;color:rgba(255,255,255,.78)}
.post-cta .btn-navy{background:#b78a46!important;border-color:#b78a46!important;color:#fff!important;white-space:nowrap}
.post-related{margin-top:40px}
.post-related-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.post-related-card{display:block;padding:18px;border:1px solid #e8e1d4;border-radius:14px;text-decoration:none;color:#102a4b;transition:.2s}
.post-related-card:hover{border-color:#b78a46;background:#fbf9f5}
.post-related-cat{display:block;font-size:12px;color:#8f6b2f;font-weight:800;margin-bottom:6px}
.post-related-card strong{font-size:15px;line-height:1.5}
.post-back{margin-top:28px;text-align:center}
.post-back a{color:#4a5568;font-size:14.5px;text-decoration:none}
.post-back a:hover{color:#102a4b}
@media (max-width:760px){
  .post-head{padding:32px 0 28px}
  .post-thumb{min-height:170px;padding:24px}
  .post-body{font-size:16px}
  .post-body h2,.post-faq h2{font-size:20px;margin-top:36px}
  .post-step{grid-template-columns:1fr;gap:10px}
  .post-step-no{width:76px}
  .post-cta{flex-direction:column;align-items:flex-start}
  .post-related-grid{grid-template-columns:1fr}
}
.blog-filter button{font:inherit;cursor:pointer;border:1px solid #e3d9c6;background:#fff;color:#33415c;padding:8px 16px;border-radius:999px;font-size:14px;font-weight:700;transition:.2s}
.blog-filter button:hover{border-color:#b78a46}
.blog-filter button.is-on{background:#102a4b;border-color:#102a4b;color:#fff}
.post-content section.post-faq{padding:0!important;margin-top:12px}.post-content section.post-summary{padding:22px 24px!important}
.blog-filter{margin:0 0 22px}
.post-head{position:static!important;top:auto!important;box-shadow:none!important;backdrop-filter:none!important}

/* ===== [1차 수정 P0] ===== */
/* hidden 속성이 display:!important 규칙에 덮이지 않도록 */
[hidden] { display: none !important; }
/* 상단 고정 헤더에 섹션 제목이 가려지지 않도록 */
main section[id] { scroll-margin-top: 80px; }
/* 대문 제목·설명·버튼: JS 실행 전에도 바로 보이도록 (글자 애니메이션 제거) */
.hero-slide-main .sig-hero-kicker,
.hero-slide-main h1,
.hero-slide-main p,
.hero-slide-main .sig-hero-copy > *,
.hero-slide-main .hero-cta-row,
.hero-slide-main .hero-trust-row {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.sig-hero-copy p strong { color: #102a4b; font-weight: 800; }
/* 상담 안내 카드 */
.consult-guide {
  padding: 34px;
  border: 1px solid #e9e2d8;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(21, 31, 53, 0.06);
}
.consult-guide h3 { margin: 0 0 14px; font-size: 22px; color: #102a4b; letter-spacing: -0.03em; }
.consult-guide ul { margin: 0; padding-left: 20px; color: #28364e; font-size: 15px; line-height: 1.9; }
.consult-guide-note { margin: 20px 0 0; padding: 14px 18px; border-radius: 14px; background: #f7f1e7; color: #6b5a3c; font-size: 14px; line-height: 1.7; }
@media (max-width: 640px) { .consult-guide { padding: 24px 20px; } }


/* ---------- [3차] 상담신청 · 개인정보처리방침 페이지 ---------- */
.agree-box .agree-link { margin: 10px 0 0; }
.agree-box .agree-link a { color: #8f6b2f; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.consult-form [aria-invalid="true"] { border-color: #c4572f; }
.site-footer-links a.site-footer-privacy { font-weight: 800; color: #28364e; }

.policy-doc { max-width: 820px; color: #28364e; font-size: 15px; line-height: 1.85; }
.policy-doc h2 { margin: 40px 0 12px; color: #102a4b; font-size: 21px; letter-spacing: -0.03em; }
.policy-doc p { margin: 0 0 12px; }
.policy-doc ul { margin: 0 0 12px; padding-left: 20px; }
.policy-notice { padding: 14px 18px; border-radius: 14px; background: #f7f1e7; color: #6b5a3c; font-size: 14px; }
.policy-table, .compare-table { width: 100%; margin: 0 0 12px; border-collapse: collapse; border-top: 2px solid #102a4b; font-size: 14px; }
.policy-table th, .policy-table td, .compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px solid #e9e2d8; text-align: left; vertical-align: top; }
.policy-table th, .policy-table thead th, .compare-table th { background: #faf7f1; color: #28364e; font-weight: 800; white-space: nowrap; }
.policy-tbd { display: inline-block; padding: 1px 10px; border-radius: 999px; background: #f4ead9; color: #8f6b2f; font-size: 13px; font-weight: 800; }
@media (max-width: 640px) {
  .policy-doc { font-size: 14.5px; }
  .policy-doc h2 { margin-top: 32px; font-size: 19px; }
  .policy-table th, .policy-table td, .compare-table th, .compare-table td { padding: 10px; }
  .policy-table th, .compare-table th { white-space: normal; }
}

/* ---------- [4차] 방문과외 · 화상과외 페이지 / 메인 연결 ---------- */
/* 비교표: 표 스타일은 위 .policy-table과 공유, 좁은 화면에서는 표 안에서만 가로 스크롤 */
.compare-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; border-radius: 18px; background: #fff; border: 1px solid #e9e2d8; }
.compare-table { margin: 0; border-top: 0; font-size: 15px; line-height: 1.6; }
.compare-table thead th { background: #102a4b; color: #fff; }
.compare-table tbody th { width: 120px; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.hero-overlap-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.hero-overlap-links a { color: #153760; font-size: 13px; font-weight: 800; }
.hero-overlap-links a:hover { color: #8f6b2f; }
.consult-guide-cta { margin-top: 18px; }
@media (max-width: 640px) {
  .compare-table { font-size: 13.5px; }
  .compare-table tbody th { width: 84px; }
}

/* ---------- [5차] 수학과외 · 영어과외 페이지 / 과목 링크 ---------- */
/* 카드 전체가 링크인 경우 (.point-card 스타일 재사용, 호버는 .program-card와 동일) */
.point-card-link { display: block; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.point-card-link:hover { transform: translateY(-3px); border-color: #d3b98d; box-shadow: 0 18px 36px rgba(21, 31, 53, 0.08); }
.point-card-more { display: inline-block; margin-top: 14px; color: #102a4b; font-size: 14px; font-weight: 900; }
.section-more-multi { flex-wrap: wrap; gap: 10px; }
/* 상단 탭(sub-tabs)이 있는 페이지: 앵커 이동 시 헤더+탭에 제목이 가리지 않도록 */
.sub-tabs ~ main section[id] { scroll-margin-top: 136px; }

/* ---------- [7차] 학습정보 허브 · 정보글 ---------- */
/* 정보글 본문 소제목 (기존 post 스타일에 h3 규칙이 없어 추가) */
.post-body h3 { margin: 28px 0 10px; font-size: 18px; line-height: 1.5; color: #102a4b; letter-spacing: -0.02em; }
/* 본문 안 관련 링크 카드 간격 */
.post-body .post-related-grid { margin: 8px 0 18px; }
/* 서비스 페이지의 '관련 학습정보' 블록 (post-related 재사용) */
.related-info { max-width: 860px; margin: 36px auto 0; }
@media (max-width: 760px) {
  /* 비교표: 모바일에서 표 안 가로 스크롤 없이 줄바꿈으로 표시 */
  .post-table { min-width: 0; font-size: 13.5px; }
  .post-table th, .post-table td { padding: 10px; }
  .post-table tbody th { white-space: normal; }
}

/* ---------- [9차] 과목 탭 5개: 모바일에서 가로 스크롤 대신 줄바꿈 ---------- */
@media (max-width: 760px) {
  .sub-tabs .container { flex-wrap: wrap; overflow-x: visible; }
  /* 탭이 2줄이 되는 과목 페이지: 앵커 이동 시 제목이 탭에 가리지 않도록 여백 확대 */
  .sub-tabs:has(a:nth-child(5)) ~ main section[id] { scroll-margin-top: 184px; }
}

/* ---------- [10차] 특별 프로그램 카드: 상담 버튼 옆 '자세히 보기' 텍스트 링크 ---------- */
.sig-category-copy a.sig-category-more { display: table; min-height: 0; margin: 8px 0 0 2px; padding: 0; background: transparent !important; color: #fff !important; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; }
.sig-category-copy a.sig-category-more:hover { background: transparent !important; opacity: 0.85; }

/* ---------- [13차] 메인 첫 화면 무료수업 한 줄 안내 ---------- */
.hero-free-note { margin-top: 12px; color: #6f7684; font-size: 13.5px; line-height: 1.6; word-break: keep-all; }
/* ---------- [14차] 상담폼 거주 지역 입력 안내 ---------- */
.form-hint { margin: 0; color: #6f7684; font-size: 13px; line-height: 1.55; word-break: keep-all; }
/* ---------- [14.5차] 상담 접수: 성공 안내, 스팸 방지 숨김 칸 ---------- */
.form-message.is-success { display: block; background: #edf6ef; color: #245c35; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* ---------- [18차] 메인페이지 배경 색상 밸런스 (index.html body.page-home 에만 적용) ----------
   리듬: 히어로(크림) → 지표(화이트) → 수업 프로그램(연한 네이비) → LESSON FEATURES(화이트→크림)
         → 특별 프로그램(크림) → 선생님(화이트) → 후기(연한 크림) → 학습정보(화이트) → FAQ(연한 크림) → 상담 안내(연한 네이비)
   되돌리기: 이 블록 전체 삭제 + index.html <body class="page-home"> 의 class 삭제 */
/* 수업 프로그램: 진한 하늘색 → 연한 네이비 틴트 (제목은 네이비, 카드는 화이트) */
body.page-home #tuition.signature-tuition { background: linear-gradient(180deg, #f4f6fb 0%, #edf1f7 100%) !important; }
body.page-home #tuition .section-head h2 { color: #102a4b !important; }
body.page-home #tuition .section-head p { color: #5d6676 !important; }
body.page-home #tuition .section-head .kicker { background: #f7f1e7 !important; color: #8f6b2f !important; }
body.page-home #tuition .tuition-plan-card { border-color: var(--line); }
/* LESSON FEATURES: 화이트 → 크림으로 내려가 바로 아래 특별 프로그램(#f7f2e9)과 이어짐 */
body.page-home #features.bg-b { background: linear-gradient(180deg, var(--bg) 0%, #f7f2e9 100%) !important; } /* [19차] 위 선생님(화이트)과 구분되도록 연한 크림에서 시작 */
body.page-home #features.bg-b::before { display: none; }
body.page-home #features .lux-card,
body.page-home #features .lux-top,
body.page-home #features .lux-tags li { border-color: var(--line); }
body.page-home #features .lux-card { border-top-color: var(--yellow); }
/* 하단 섹션: 연한 크림 / 화이트 교대 */
body.page-home #consult-form.soft { background: linear-gradient(180deg, #f4f6fb 0%, #edf1f7 100%); }
/* ---------- [19차] 메인페이지 일괄 수정 (body.page-home 에만 적용) ----------
   되돌리기: 이 블록 삭제 + backup/19차수정전 파일 복원 */
/* 대문 신뢰 수치: 슬라이드 바깥 공통 영역. 넓은 화면에서는 슬라이드 점(●)과 같은 줄 왼쪽에 배치 */
body.page-home .hero-trust-common { position: relative; z-index: 3; pointer-events: none; } /* 빈 영역이 슬라이드 점(●) 클릭을 막지 않도록 */
body.page-home .hero-trust-common .hero-trust-row { width: fit-content; margin-top: 10px !important; pointer-events: auto; }
@media (min-width: 1100px) {
  body.page-home .hero-trust-common .hero-trust-row { margin-top: -41px !important; }
}
/* 상담 시 확인하는 내용: 안쪽 여백·제목·목록 글씨 키움 */
body.page-home #consult-form .consult-guide { padding: 40px 44px; }
body.page-home #consult-form .consult-guide h3 { margin-bottom: 18px; font-size: 26px; font-weight: 800; }
body.page-home #consult-form .consult-guide ul { padding-left: 22px; font-size: 16.5px; line-height: 2; }
@media (max-width: 640px) {
  body.page-home #consult-form .consult-guide { padding: 30px 24px; }
  body.page-home #consult-form .consult-guide h3 { font-size: 23px; }
  body.page-home #consult-form .consult-guide ul { font-size: 16px; }
}
/* ---------- [20차] 메인페이지: 숫자/카드 위치 교체 · 색상 대비 · 학생 후기 슬라이드 (body.page-home 에만 적용) ----------
   배경 리듬: 히어로(크림) → 숫자·카드(화이트) → 수업 프로그램(연한 네이비) → 선생님(화이트) → LESSON FEATURES(크림)
            → 특별 프로그램(연한 네이비) → 학생 후기(짙은 네이비) → FAQ(화이트) → 학습정보(크림) → 상담 안내(연한 네이비) → 푸터(크림)
   되돌리기: 이 블록 삭제 + backup/20차수정전 파일 복원 */
body.page-home { background: #fff; }
/* 숫자 지표: 히어로 바로 아래, 숫자 네이비 · 단위 골드 */
body.page-home .sig-stats-section { padding: 52px 0 36px !important; }
body.page-home .sig-stat-label { color: #4f5a6b !important; }
body.page-home .sig-stat-note { color: var(--muted) !important; }
/* 카드 3개: 숫자 아래로 이동 (히어로 겹침 해제) · 골드 윗선 포인트 · 그림자 약하게 */
body.page-home .hero-overlap-cards { margin: 0 auto 76px !important; }
body.page-home .hero-overlap-card {
  border-color: #dccfb9 !important;
  border-top: 3px solid var(--yellow) !important;
  box-shadow: 0 8px 22px rgba(16, 42, 75, 0.06) !important;
}
body.page-home .hero-overlap-card h3 { color: #102a4b !important; }
body.page-home .hero-overlap-card p { color: #5d6676 !important; }
/* 제목·본문 대비: 제목 네이비, 본문 한 단계 진하게 */
body.page-home main .section-head h2,
body.page-home main h2.sig-en-title { color: #102a4b; }
body.page-home main .section-head p { color: #5d6676; }
/* 대문 버튼: 네이비 + 흰색 (보라색 그라데이션 대신) */
body.page-home .hero-cta-trial {
  background: #102a4b !important;
  box-shadow: 0 10px 22px rgba(16, 42, 75, 0.18) !important;
}
body.page-home .hero-cta-trial::before { color: var(--yellow); }
body.page-home .hero-cta-trial:hover { box-shadow: 0 14px 26px rgba(16, 42, 75, 0.24) !important; }
/* 섹션 배경 */
body.page-home #special-categories { background: #f4f6fb !important; }
body.page-home #faq { background: #fff; }
/* 학생 후기: 짙은 네이비 강조 섹션 */
body.page-home #reviews { background: #102a4b; color: #fff; overflow: hidden; }
body.page-home #reviews .kicker { color: #d4ad6a !important; }
body.page-home #reviews .section-head h2 { color: #fff; }
body.page-home #reviews .section-head p { color: rgba(255, 255, 255, 0.78); }
.rv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.rv-head .section-head { margin: 0; }
.rv-nav { display: flex; gap: 10px; flex: none; }
.rv-arrow {
  width: 46px; height: 46px; padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%;
  background: transparent; color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.rv-arrow:hover, .rv-arrow:focus-visible { border-color: var(--yellow); color: var(--yellow); }
.rv-track {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.rv-track::-webkit-scrollbar { display: none; }
.rv-track:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; border-radius: 20px; }
.rv-card {
  flex: 0 0 calc((100% - 40px) / 3); min-width: 0;
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px 26px 24px;
  border: 1px solid rgba(212, 173, 106, 0.28); border-top: 3px solid var(--yellow); border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.rv-photo { margin: -8px -6px 6px; }
.rv-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.rv-tag {
  align-self: flex-start; padding: 4px 11px; border-radius: 999px;
  background: rgba(212, 173, 106, 0.14); color: #d4ad6a;
  font-size: 12px; font-weight: 800;
}
.rv-result { font-size: 24px; font-weight: 900; line-height: 1.3; letter-spacing: -0.02em; color: #d4ad6a; word-break: keep-all; }
.rv-card h3 { margin: 2px 0 0; font-size: 18px; line-height: 1.45; color: #fff; word-break: keep-all; }
.rv-card p { margin: 0; font-size: 14.5px; line-height: 1.75; color: rgba(255, 255, 255, 0.8); word-break: keep-all; }
.rv-points {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: auto 0 0; padding: 14px 0 0; list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.rv-points li { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; font-size: 12px; color: rgba(255, 255, 255, 0.85); }
@media (max-width: 900px) {
  .rv-card { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 640px) {
  body.page-home .sig-stats-section { padding: 40px 0 28px !important; }
  body.page-home .hero-overlap-cards { margin-bottom: 56px !important; }
  .rv-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
  .rv-card { flex-basis: 100%; padding: 24px 22px 22px; }
  .rv-result { font-size: 22px; }
}
/* ---------- [21차] 메인 후기 카드 이름줄 · 상담 영역 중앙 정렬 · 푸터 6개 / 과목과외 페이지 신규 섹션 ----------
   되돌리기: 이 블록 삭제 + backup/21차수정전 파일 복원 */
/* 후기 카드: 이미지 → 익명 학생명 · 과목 → 핵심 결과 → 설명 */
.rv-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rv-name { color: rgba(255, 255, 255, 0.92); font-size: 14px; font-weight: 800; }
.rv-meta .rv-tag { align-self: auto; }
/* 상담 시 확인하는 내용: 카드 중앙 정렬 (목록 문장은 왼쪽 정렬 유지) */
body.page-home #consult-form .consult-layout { align-items: stretch; }
body.page-home #consult-form .consult-guide { display: flex; flex-direction: column; align-items: center; text-align: center; }
body.page-home #consult-form .consult-guide ul { display: inline-block; margin: 0 auto; text-align: left; }
body.page-home #consult-form .consult-guide-note { max-width: 560px; margin-left: auto; margin-right: auto; text-align: center; }
/* 전화·카카오 카드: 같은 크기·같은 위치, 가운데 정렬, 왼쪽 카드와 위아래 높이 맞춤 */
body.page-home #consult-form .contact-side { grid-template-rows: 1fr 1fr; }
body.page-home #consult-form .contact-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 28px 24px; text-align: center;
}
@media (max-width: 980px) {
  body.page-home #consult-form .contact-side { grid-template-rows: none; }
}
/* 메인 푸터: 6개 메뉴 중앙 정렬, 글씨 약간 크고 굵게 */
body.page-home .site-footer { text-align: center; }
body.page-home .site-footer-top { flex-direction: column; align-items: center; gap: 22px; }
body.page-home .site-footer-links { justify-content: center; gap: 10px 34px; }
body.page-home .site-footer-links a { font-size: 15.5px; font-weight: 900; }

/* 과목과외 페이지 (subject/index.html, body.page-subject) */
.sj-reach { padding: 56px 0 60px; background: #102a4b; color: #fff; }
.sj-reach .section-head { margin-bottom: 30px; }
.sj-reach .kicker { color: #d4ad6a !important; }
.sj-reach h2 { margin: 10px 0 10px; color: #fff; font-size: 34px; }
.sj-reach .section-head p { color: rgba(255, 255, 255, 0.8); }
.sj-reach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sj-reach-item { padding: 24px 24px 22px; border: 1px solid rgba(212, 173, 106, 0.35); border-top: 3px solid var(--yellow); border-radius: 18px; background: rgba(255, 255, 255, 0.05); }
.sj-reach-item strong { display: block; margin-bottom: 8px; color: #d4ad6a; font-size: 19px; font-weight: 900; }
.sj-reach-item p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 14.5px; line-height: 1.7; word-break: keep-all; }
.page-subject main .section-head h2 { color: #102a4b; }
.page-subject main .section-head p { color: #5d6676; }
.page-subject .point-card p { color: #4f5a6b; }
.sj-cases { background: #102a4b; color: #fff; }
.sj-cases .kicker { color: #d4ad6a !important; }
.page-subject .sj-cases .section-head h2,
.page-subject .sj-reach .section-head h2 { color: #fff; }
.page-subject .sj-cases .section-head p,
.page-subject .sj-reach .section-head p { color: rgba(255, 255, 255, 0.8); }
.rv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rv-grid .rv-card { flex: none; }
.sj-trial-contacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 760px; margin: 28px auto 0; }
.sj-trial-contacts .contact-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.sj-trial-more { margin-top: 18px; text-align: center; }
@media (max-width: 1100px) {
  .rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .sj-reach-grid { grid-template-columns: 1fr; }
  .sj-reach h2 { font-size: 27px; }
}
@media (max-width: 640px) {
  .rv-grid, .sj-trial-contacts { grid-template-columns: 1fr; }
}
/* ---------- [22차] 메인 상담 영역 밀도 · 과목과외 전국수업 가독성 · 이유 카드 이미지 구조 ----------
   되돌리기: 이 블록 삭제 + backup/22차수정전 파일 복원 */
/* 메인 상담 영역: 빈 여백 축소 (문구 그대로) */
body.page-home #consult-form { padding: 68px 0; }
body.page-home #consult-form .section-head { margin-bottom: 26px; }
body.page-home #consult-form .consult-guide { padding: 30px 40px 28px; }
body.page-home #consult-form .consult-guide h3 { margin-bottom: 10px; }
body.page-home #consult-form .consult-guide ul { line-height: 1.85; }
body.page-home #consult-form .consult-guide-note { margin-top: 14px; padding: 12px 18px; }
body.page-home #consult-form .consult-guide-cta { margin-top: 14px; }
body.page-home #consult-form .contact-card { padding: 20px 24px; }
@media (max-width: 640px) {
  body.page-home #consult-form { padding: 52px 0; }
  body.page-home #consult-form .consult-guide { padding: 26px 22px 24px; }
}
/* 과목과외 전국수업: 네이비 위 글자 대비 강화 */
.page-subject .sj-reach .section-head h2 { color: #fff !important; }
.page-subject .sj-reach .section-head p { color: #f7f1e7 !important; }
.sj-reach-item p { color: #f7f1e7; }
.sj-reach-item strong { color: #d4ad6a; }
/* 이유 카드: 이미지 → 제목 → 설명. 이미지가 없으면 영역 숨김 */
.sj-reason-card { display: flex; flex-direction: column; }
.sj-photo { margin: -10px -8px 18px; border-radius: 16px; overflow: hidden; background: #f7f1e7; aspect-ratio: 4 / 3; }
.sj-photo:empty { display: none; }
.sj-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sj-reason-card h3 { margin-top: 0; }
/* 학년별 고등학생 카드: 특목고·과학고·외고 안내 */
.sj-grade-note { display: inline-block; margin: 2px 0 12px; padding: 4px 10px; border-radius: 999px; background: #f7f1e7; color: #8f6b2f; font-size: 12.5px; font-weight: 800; }
/* ---------- [24차] 과목과외: 대문 이미지 자리 · 추천 학생 슬라이드 · 학년별 아이콘 카드 · 성적향상 ----------
   되돌리기: 이 블록 삭제 + backup/24차수정전 파일 복원 */
/* 대문: 이미지가 들어오면 55:45, 없으면 기존 한 단 배치 유지 */
.sj-hero-visual:empty { display: none; }
.page-subject .page-hero.no-visual .page-hero-inner:has(.sj-hero-visual img) { grid-template-columns: 55fr 45fr; max-width: none; }
.sj-hero-visual { align-self: end; }
.sj-hero-visual img { display: block; width: 100%; max-width: 480px; height: auto; margin: 0 auto -72px; object-fit: contain; }
@media (max-width: 980px) {
  .sj-hero-visual img { max-width: 360px; margin-bottom: -52px; }
}
/* 추천 학생 슬라이드: 크림 섹션 위 네이비 카드 + 골드 포인트 */
.rec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.rec-head .section-head { margin: 0; }
.rec-nav { display: flex; gap: 10px; flex: none; }
.rec-arrow {
  width: 46px; height: 46px; padding: 0;
  border: 1px solid #dccfb9; border-radius: 50%;
  background: #fff; color: #102a4b;
  font-size: 26px; line-height: 1; cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.rec-arrow:hover, .rec-arrow:focus-visible { border-color: var(--yellow); color: #8f6b2f; }
.rec-track {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.rec-track::-webkit-scrollbar { display: none; }
.rec-track:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; border-radius: 22px; }
.rec-card {
  flex: 0 0 calc((100% - 40px) / 3); min-width: 0;
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px 26px 24px;
  border-top: 3px solid var(--yellow); border-radius: 22px;
  background: #102a4b; color: #fff;
}
.rec-photo { margin: -10px -8px 8px; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: rgba(255, 255, 255, 0.06); }
.rec-photo:empty { display: none; }
.rec-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rec-badge { align-self: flex-start; padding: 4px 11px; border-radius: 999px; background: rgba(212, 173, 106, 0.16); color: #d4ad6a; font-size: 11.5px; font-weight: 900; letter-spacing: 0.08em; }
.rec-card h3 { margin: 4px 0 0; color: #fff; font-size: 22px; line-height: 1.35; word-break: keep-all; }
.rec-card p { margin: 0; color: #f7f1e7; font-size: 15px; line-height: 1.7; word-break: keep-all; }
.rec-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.rec-tags li { padding: 4px 10px; border: 1px solid rgba(212, 173, 106, 0.45); border-radius: 999px; color: #d4ad6a; font-size: 12.5px; font-weight: 700; }
.rec-tags li::before { content: "#"; }
/* 학년별 아이콘 카드: 연한 네이비 카드 + 네이비/골드 아이콘 */
.gr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 18px; }
.gr-card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 26px 26px; border: 1px solid #e3e8f1; border-radius: 26px;
  background: #f4f6fb; color: #102a4b;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.gr-card:hover { transform: translateY(-3px); border-color: #d3b98d; box-shadow: 0 14px 30px rgba(16, 42, 75, 0.08); }
.gr-card:nth-child(even) { background: #fbf8f3; border-color: #efe7da; }
.gr-icon { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 18px; border-radius: 22px; background: #fff; box-shadow: 0 6px 16px rgba(16, 42, 75, 0.06); }
.gr-icon svg { width: 46px; height: 46px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.gr-icon .gr-s { stroke: #102a4b; }
.gr-icon .gr-g { stroke: var(--yellow); }
.gr-en { color: #b78a46; font-size: 12px; font-weight: 900; letter-spacing: 0.1em; }
.gr-card h3 { margin: 4px 0 6px; color: #102a4b; font-size: 26px; letter-spacing: -0.03em; }
.gr-sub { display: block; margin-bottom: 10px; color: #102a4b; font-size: 15px; font-weight: 800; word-break: keep-all; }
.gr-card p { margin: 0 0 18px; color: #4f5a6b; font-size: 14px; line-height: 1.7; word-break: keep-all; }
.gr-more { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(16, 42, 75, 0.1); color: #102a4b; font-size: 14px; font-weight: 900; }
.gr-more i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #102a4b; color: #fff; font-style: normal; font-size: 14px; }
/* 성적향상: 짙은 네이비 + 골드, 이전 점수는 작게 · 결과는 크게 */
.sc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sc-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 28px 18px 26px; text-align: center;
  border: 1px solid rgba(212, 173, 106, 0.3); border-top: 3px solid var(--yellow); border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}
.sc-label { color: rgba(255, 255, 255, 0.78); font-size: 13px; font-weight: 800; letter-spacing: 0.04em; }
.sc-change { display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; }
.sc-before { color: rgba(255, 255, 255, 0.6); font-size: 18px; font-weight: 700; text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.35); }
.sc-arrow { color: var(--yellow); font-size: 20px; font-weight: 900; }
.sc-after { color: #fff; font-size: 52px; font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.sc-after small { margin-left: 2px; color: #d4ad6a; font-size: 18px; font-weight: 800; letter-spacing: 0; }
.sc-gain { padding: 6px 14px; border-radius: 999px; background: #d4ad6a; color: #102a4b; font-size: 14px; font-weight: 900; }
.sc-care { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.sc-care li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; color: #f7f1e7; font-size: 15px; font-weight: 800; }
.sc-care li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); color: #102a4b; font-size: 12px; font-weight: 900; }
.sc-quote { margin: 30px 0 0; text-align: center; color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; word-break: keep-all; }
.sc-quote em { color: #d4ad6a; font-style: normal; }
@media (max-width: 980px) {
  .rec-card { flex-basis: calc((100% - 20px) / 2); }
  .gr-grid, .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .rec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
  .rec-card { flex-basis: 100%; padding: 24px 22px 22px; }
  .gr-grid { grid-template-columns: 1fr; }
  .sc-grid { gap: 12px; }
  .sc-card { padding: 22px 12px 20px; }
  .sc-before { font-size: 15px; }
  .sc-after { font-size: 40px; }
  .sc-after small { font-size: 15px; }
  .sc-gain { font-size: 12.5px; padding: 5px 11px; }
  .sc-care li { font-size: 14px; padding: 9px 14px; }
  .sc-quote { font-size: 20px; }
}