@charset "UTF-8";

:root {
  --navy: #102a43;
  --navy-2: #173f5f;
  --blue: #1686a5;
  --blue-soft: #dff4f7;
  --lime: #d9e85f;
  --orange: #f39a35;
  --ink: #18232d;
  --muted: #65717c;
  --line: #dce4e9;
  --paper: #f5f8f9;
  --white: #fff;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(16, 42, 67, .14);
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
html, body { max-width: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
body.sf-lb-open { overflow: hidden; }
img { display: block; width: 100%; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
svg { display: block; }
h1, h2, h3, p, blockquote, dd, summary, label, .btn {
  overflow-wrap: anywhere;
}
.hero-copy, .hero-visual, .section-head, .intro-copy, .program-card,
.system-copy, .system-steps, .system-step, .results figure,
.contact-info, .contact-map, .sf-ct-head, .sf-ct-form {
  min-width: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 82px;
  border-bottom: 1px solid rgba(16, 42, 67, .08);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(calc(100% - 48px), var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand { flex: 0 0 174px; }
.brand img { height: 58px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: clamp(12px, 1.55vw, 24px); margin-left: auto; }
.main-nav a {
  position: relative;
  color: #314454;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -.02em;
}
.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transition: transform .25s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.header-call {
  min-width: 174px;
  display: grid;
  grid-template-columns: 30px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  padding: 10px 16px;
  border-radius: 14px;
  color: #fff;
  background: var(--navy);
}
.header-call svg { grid-row: 1 / 3; width: 22px; fill: var(--lime); }
.header-call span { font-size: 10px; line-height: 1.2; opacity: .72; }
.header-call strong { font-size: 14px; line-height: 1.25; letter-spacing: -.02em; }

.hero {
  width: min(calc(100% - 48px), 1440px);
  min-height: calc(100vh - 82px);
  max-height: 850px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(460px, .88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: clamp(48px, 6vw, 92px);
  padding: 70px 0 88px;
}
.hero-copy { padding-left: max(0px, calc((100vw - 1280px) / 2)); }
.eyebrow {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before {
  display: inline-block;
  width: 28px;
  height: 2px;
  margin: 0 10px 4px 0;
  background: currentColor;
  content: "";
}
.eyebrow.light { color: var(--lime); }
.hero h1, .section-head h2, .system h2, .contact h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(40px, 4.3vw, 64px);
  line-height: 1.08;
  letter-spacing: -.06em;
}
.hero h1 em, .section-head h2 em, .system h2 em, .contact h2 em {
  color: var(--blue);
  font-style: normal;
}
.hero h1 { line-height: 1.18; }
.hero-lead {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: -.02em;
}
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn {
  min-width: 156px;
  min-height: 54px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--navy); box-shadow: 0 12px 30px rgba(16, 42, 67, .18); }
.btn-primary:hover { box-shadow: 0 16px 34px rgba(16, 42, 67, .24); }
.btn-ghost { border-color: var(--line); background: #fff; }
.btn-light { color: var(--navy); background: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.34); color: #fff; background: transparent; }
.hero-points {
  margin: 48px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}
.hero-points li { position: relative; display: flex; flex-direction: column; gap: 2px; padding-left: 18px; }
.hero-points li:first-child { padding-left: 0; }
.hero-points li + li::before {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 1px;
  background: var(--line);
  content: "";
}
.hero-points strong { color: var(--navy); font-size: 24px; line-height: 1.2; letter-spacing: -.04em; }
.hero-points span { color: var(--muted); font-size: 12px; }
.hero-visual {
  position: relative;
  height: min(70vh, 690px);
  min-height: 520px;
  overflow: hidden;
  border-radius: 42px 0 0 42px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 54%, rgba(5, 23, 38, .34));
  content: "";
}
.hero-visual img { height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  min-width: 226px;
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 18px;
  color: #fff;
  background: rgba(16, 42, 67, .78);
  backdrop-filter: blur(12px);
}
.hero-badge span, .hero-badge strong { display: block; }
.hero-badge span { font-size: 14px; opacity: .8; }
.hero-badge strong { margin-top: 3px; font-size: 21px; }

.trust-strip {
  width: min(calc(100% - 48px), var(--max));
  margin: -38px auto 0;
  padding: 28px 38px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #fff;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.trust-strip div { display: flex; align-items: center; gap: 15px; padding: 0 22px; }
.trust-strip div + div { border-left: 1px solid rgba(255,255,255,.15); }
.trust-strip span { color: var(--lime); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.trust-strip strong { font-size: 15px; }

.section { padding: 140px max(24px, calc((100% - var(--max)) / 2)); }
.section-head { max-width: 820px; margin-bottom: 62px; }
.section-head h2, .system h2, .contact h2 { font-size: clamp(36px, 4.2vw, 58px); }
.section-head > p:last-child {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.intro { overflow: hidden; }
.intro-head { margin-left: auto; margin-right: auto; text-align: center; }
.intro-head .eyebrow::before { display: none; }
.intro-head h2 { line-height: 1.25; }
.intro-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.intro-photo {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
}
.intro-photo::after {
  position: absolute;
  inset: auto 28px 28px auto;
  width: 88px;
  height: 88px;
  border: 20px solid var(--lime);
  border-radius: 50%;
  content: "";
  opacity: .86;
}
.intro-photo img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.intro-copy > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 2; }
.intro-copy blockquote {
  margin: 36px 0;
  padding: 28px 0 28px 30px;
  border-left: 4px solid var(--blue);
  color: var(--navy);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 850;
  line-height: 1.55;
  letter-spacing: -.04em;
}
.text-link { color: var(--navy); font-weight: 850; }
.text-link span { display: inline-block; margin-left: 8px; color: var(--blue); transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }

.programs { background: var(--paper); }
.programs .section-head { margin-right: auto; margin-left: auto; text-align: center; }
.programs .eyebrow::before { display: none; }
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.program-card {
  position: relative;
  min-height: 315px;
  padding: 34px 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.program-card:hover { transform: translateY(-8px); border-color: transparent; box-shadow: var(--shadow); }
.program-card::after {
  position: absolute;
  right: -48px;
  bottom: -52px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--blue-soft);
  content: "";
  transition: transform .3s ease;
}
.program-card:nth-child(2)::after { background: #f2f6cd; }
.program-card:nth-child(3)::after { background: #ffe8cf; }
.program-card:nth-child(4)::after { background: #dfe7f1; }
.program-card:hover::after { transform: scale(1.3); }
.program-num { color: var(--blue); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.program-card h3 { margin: 66px 0 18px; color: var(--navy); font-size: 28px; letter-spacing: -.04em; }
.program-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }

.system { color: #fff; background: var(--navy); }
.system-layout { display: grid; grid-template-columns: .83fr 1.17fr; gap: 90px; align-items: start; }
.system h2 { color: #fff; }
.system h2 em { color: var(--lime); }
.system-copy > p:not(.eyebrow) { max-width: 520px; margin: 28px 0 0; color: rgba(255,255,255,.68); font-size: 17px; }
.system-note { margin-top: 44px; padding: 22px 24px; border-left: 3px solid var(--lime); background: rgba(255,255,255,.06); }
.system-note strong, .system-note span { display: block; }
.system-note strong { font-size: 21px; }
.system-note span { margin-top: 8px; color: rgba(255,255,255,.68); font-size: 16px; }
.system-steps { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); list-style: none; }
.system-step {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: center;
  padding: 31px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.system-step .step-num { color: var(--lime); font-size: 13px; font-weight: 900; letter-spacing: .1em; }
.system-step h3 { margin: 0; font-size: 19px; letter-spacing: -.03em; }
.system-step p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; }

.results { overflow: hidden; }
.results .section-head { max-width: none; margin-right: auto; margin-left: auto; text-align: center; }
.results .eyebrow::before { display: none; }
.results .section-head h2 { font-size: clamp(32px, 3.6vw, 52px); white-space: nowrap; }
.results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.results figure { position: relative; min-height: 510px; margin: 0; overflow: hidden; border-radius: var(--radius); background: #e9eef1; }
.results figure::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(9,28,44,.76)); content: ""; }
.results figure img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.results figure:hover img { transform: scale(1.035); }
.results figcaption { position: absolute; right: 32px; bottom: 30px; left: 32px; z-index: 1; color: #fff; }
.results figcaption span, .results figcaption strong { display: block; }
.results figcaption span { margin-bottom: 7px; color: var(--lime); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.results figcaption strong { font-size: clamp(22px, 2vw, 30px); line-height: 1.4; }
.result-side img { object-position: center 22%; }
.result-caption { margin: 16px 4px 0; color: #8a949c; font-size: 12px; }

.space { background: var(--paper); }
.space .split-head { display: block; max-width: none; margin-right: auto; margin-left: auto; text-align: center; }
.space .eyebrow::before { display: none; }
.split-head { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.split-head > p:last-child { max-width: 430px; margin-bottom: 4px; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-auto-rows: 280px;
  gap: 16px;
}
.gallery-card { position: relative; margin: 0; overflow: hidden; border-radius: 22px; cursor: zoom-in; background: #dce5e9; }
.gallery-card:first-child { grid-row: span 2; }
.gallery-card img { height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-card:hover img { transform: scale(1.045); }
.gallery-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 36px 20px 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  background: linear-gradient(transparent, rgba(7,26,40,.7));
  opacity: 0;
  transition: opacity .25s ease;
}
.gallery-card:hover figcaption { opacity: 1; }

/* 공지사항 · 학원일정: 사진 카드가 아닌 글 중심 게시판 */
.community { background: #f7f9fb; }
.community .section-head { max-width: none; margin-right: auto; margin-left: auto; text-align: center; }
.community .section-head h2 { font-size: clamp(34px, 3.8vw, 54px); }
.board-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; }
.board-tab { min-width: 132px; padding: 13px 22px; border: 1px solid #d7e0e7; border-radius: 999px; color: #5d6c78; background: #fff; text-align: center; font-size: 15px; font-weight: 800; transition: .2s ease; }
.board-tab:hover, .board-tab:focus-visible { border-color: var(--navy); color: var(--navy); }
.board-tab.is-active { border-color: var(--navy); color: #fff; background: var(--navy); }
.board-panel { max-width: 1000px; margin: 0 auto; overflow: hidden; border: 1px solid #e0e7ec; border-radius: 22px; background: #fff; box-shadow: 0 18px 50px rgba(16,42,67,.07); }
.board-list { padding: 8px 30px; }
.board-item { display: grid; grid-template-columns: minmax(0,1fr) auto 32px; gap: 24px; align-items: center; padding: 25px 4px; color: inherit; border-bottom: 1px solid #e9eef2; }
.board-item:last-child { border-bottom: 0; }
.board-item-copy { min-width: 0; }
.board-item-title { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.board-item-title strong { overflow: hidden; color: var(--navy); font-size: 18px; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.board-item p { overflow: hidden; color: #72808b; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.board-item time { color: #87939c; font-size: 13px; white-space: nowrap; }
.board-pin, .board-category { display: inline-flex; align-items: center; flex: none; padding: 4px 9px; border-radius: 999px; color: #fff; background: var(--blue); font-size: 11px; font-weight: 850; }
.board-arrow { color: var(--blue); font-size: 22px; transition: transform .2s ease; }
.board-item:hover .board-arrow { transform: translateX(4px); }
.board-detail { padding: clamp(28px, 5vw, 58px); }
.board-detail header { padding-bottom: 26px; border-bottom: 1px solid #e3e9ee; }
.board-detail h3 { max-width: 820px; margin: 14px 0 12px; color: var(--navy); font-size: clamp(24px, 3vw, 36px); line-height: 1.35; letter-spacing: -.04em; }
.board-detail time { color: #84919b; font-size: 13px; }
.board-body { min-height: 220px; padding: 36px 0 48px; color: #344958; font-size: 17px; line-height: 1.95; word-break: keep-all; }
.board-back { display: inline-flex; padding: 12px 20px; border: 1px solid var(--navy); border-radius: 10px; color: var(--navy); font-size: 14px; font-weight: 800; }
.board-empty { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 40px; color: #8a959d; text-align: center; }
.board-empty strong { color: var(--navy); font-size: 18px; }

.faq { display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; }
.faq .section-head { margin: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  padding: 26px 54px 26px 2px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 16px;
  height: 2px;
  background: var(--blue);
  content: "";
  transition: transform .2s ease;
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0); }
.faq-item p { margin: -6px 0 0; padding: 0 54px 28px 2px; color: var(--muted); font-size: 14px; }

.contact { color: #fff; background: var(--navy); }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: stretch; }
.contact h2 { color: #fff; }
.contact h2 em { color: var(--lime); }
.contact-info > p:not(.eyebrow) { max-width: 520px; margin: 28px 0 0; color: rgba(255,255,255,.67); }
.contact dl { margin: 44px 0 0; }
.contact dl div { display: grid; grid-template-columns: 70px 1fr; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact dl div:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.contact dt { color: var(--lime); font-size: 12px; font-weight: 850; }
.contact dd { margin: 0; color: rgba(255,255,255,.86); font-size: 14px; }
.contact-map { min-height: 0; background: transparent; }
.sf-map, .sf-map-embed { width: 100%; max-width: 100%; }
.contact-map .sf-map { height: auto; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-map .sf-map-embed { flex: 0 0 auto; min-height: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: #eef3f5; }
.sf-map-embed > div, .sf-map-embed iframe { width: 100% !important; height: 100% !important; }
.contact-map .root_daum_roughmap { width: 100% !important; height: 100% !important; }
.contact-map .root_daum_roughmap .wrap_map { height: 100% !important; }
.contact-map .root_daum_roughmap .wrap_controllers { display: none !important; }
.sf-map-links {
  position: static;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.sf-map-links a { padding: 9px 13px; border-radius: 8px; color: var(--navy); background: #fff; box-shadow: 0 5px 16px rgba(0,0,0,.15); font-size: 12px; font-weight: 800; white-space: nowrap; }

.sf-ct { background: #fff; }
.sf-ct-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.sf-ct-head h2 { margin: 0; color: var(--navy); font-size: clamp(34px, 4vw, 52px); line-height: 1.15; letter-spacing: -.05em; }
.sf-ct-head > p:last-child { margin-top: 20px; color: var(--muted); }
.sf-ct-form { padding: 40px; border-radius: var(--radius); background: var(--paper); }
.sf-ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sf-ct-field { margin-bottom: 18px; }
.sf-ct-field label { display: block; margin-bottom: 8px; color: var(--navy); font-size: 13px; font-weight: 800; }
.sf-ct-field label span { color: var(--orange); }
.sf-ct-field input, .sf-ct-field textarea,
.sf-iq-form input, .sf-iq-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.sf-ct-field input { height: 52px; padding: 0 15px; }
.sf-ct-field textarea { min-height: 130px; padding: 14px 15px; resize: vertical; }
.sf-ct-field input:focus, .sf-ct-field textarea:focus,
.sf-iq-form input:focus, .sf-iq-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,134,165,.12); }
.sf-ct-agree { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; cursor: pointer; }
.sf-ct-agree input { accent-color: var(--blue); }
.sf-ct-submit {
  width: 100%;
  min-height: 56px;
  margin-top: 18px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--navy);
  font-weight: 850;
  cursor: pointer;
}
.sf-ct-submit:disabled, .sf-iq-submit:disabled { opacity: .55; cursor: wait; }
.sf-ct-msg { display: none; margin-top: 12px; padding: 12px; border-radius: 8px; font-size: 13px; }
.sf-ct-msg.show { display: block; }
.sf-ct-msg.ok { color: #0e6847; background: #e7f7ef; }
.sf-ct-msg.err { color: #a52b32; background: #ffeaec; }

.site-footer {
  padding: 52px max(24px, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 40px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-size: 12px;
}
.footer-brand { display: flex; align-items: center; gap: 16px; color: var(--navy); }
.footer-brand img { width: 105px; height: 50px; object-fit: contain; }
.footer-brand strong { font-size: 15px; }
.footer-info { display: flex; gap: 20px; }
.site-footer > p { grid-column: 1 / -1; margin: 0; }

.sf-iq-rail {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 90;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(16,42,67,.2);
}
.sf-iq-r {
  width: 52px;
  height: 48px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: #fff;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}
.sf-iq-r:last-child { border-bottom: 0; }
.sf-iq-r-on { color: #fff; background: var(--blue); }
[data-sf-top] { display: none; }
[data-sf-top].sf-show { display: flex; }

.sf-iq-back {
  position: fixed;
  inset: 0;
  z-index: 300;
  padding: 24px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 24, 38, .72);
  backdrop-filter: blur(6px);
}
.sf-iq-back.open { display: flex; }
.sf-iq-modal { position: relative; width: min(100%, 520px); max-height: calc(100vh - 48px); overflow-y: auto; border-radius: 24px; background: #fff; box-shadow: 0 25px 80px rgba(0,0,0,.28); }
.sf-iq-x { position: absolute; top: 14px; right: 16px; z-index: 1; width: 38px; height: 38px; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); font-size: 26px; line-height: 1; cursor: pointer; }
.sf-iq-head { padding: 34px 40px 30px; color: #fff; background: var(--navy); }
.sf-iq-head p { margin: 0 0 8px; color: var(--lime); font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.sf-iq-head h3 { margin: 0; font-size: 28px; letter-spacing: -.04em; }
.sf-iq-head span { display: block; margin-top: 7px; color: rgba(255,255,255,.65); font-size: 13px; }
.sf-iq-form { padding: 30px 40px 36px; }
.sf-iq-form label { display: block; margin-bottom: 16px; color: var(--navy); font-size: 13px; font-weight: 800; }
.sf-iq-form input { height: 50px; margin-top: 7px; padding: 0 14px; }
.sf-iq-form textarea { min-height: 110px; margin-top: 7px; padding: 13px 14px; resize: vertical; }
.sf-iq-submit, .sf-iq-ok button { width: 100%; min-height: 52px; border: 0; border-radius: 12px; color: #fff; background: var(--blue); font-weight: 850; cursor: pointer; }
.sf-iq-err { display: none; margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; color: #a52b32; background: #ffeaec; font-size: 12px; }
.sf-iq-err.show { display: block; }
.sf-iq-note { margin: 12px 0 0; color: #8a959e; font-size: 11px; text-align: center; }
.sf-iq-ok { display: none; padding: 50px 40px; text-align: center; }
.sf-iq-ok.show { display: block; }
.sf-iq-ok strong { color: var(--navy); font-size: 24px; }
.sf-iq-ok p { color: var(--muted); }
.sf-iq-ok button { margin-top: 16px; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: translateY(0); }
.sf-lb {
  position: fixed;
  inset: 0;
  z-index: 500;
  padding: 40px 80px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4, 17, 28, .92);
}
.sf-lb.open { display: flex; }
.sf-lb img { width: auto; max-width: 100%; max-height: 88vh; object-fit: contain; }
.sf-lb-btn { position: absolute; z-index: 1; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); font-size: 31px; cursor: pointer; }
.sf-lb-close { top: 24px; right: 24px; }
.sf-lb-prev { top: 50%; left: 22px; }
.sf-lb-next { top: 50%; right: 22px; }
.sf-lb-count { position: absolute; bottom: 18px; left: 50%; color: #fff; font-size: 12px; transform: translateX(-50%); }

@media (max-width: 1120px) {
  .main-nav { display: none; }
  .hero { grid-template-columns: .9fr 1.1fr; gap: 38px; }
  .hero-copy { padding-left: 0; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .system-layout, .contact-layout { gap: 50px; }
  .system-step { grid-template-columns: 150px 1fr; }
  .sf-ct-wrap { gap: 50px; }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 68px; }
  body { padding-bottom: 62px; }
  .site-header { height: 68px; }
  .header-inner { width: calc(100% - 32px); }
  .brand { flex-basis: 138px; }
  .brand img { height: 48px; }
  .header-call { min-width: 0; padding: 10px 13px; display: flex; gap: 8px; }
  .header-call svg { width: 18px; }
  .header-call span { display: none; }
  .header-call strong { font-size: 12px; }
  .hero {
    width: 100%;
    min-height: 0;
    max-height: none;
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 66px 20px 50px;
  }
  .hero h1 { font-size: clamp(34px, 9.5vw, 48px); line-height: 1.2; }
  .hero-lead { font-size: 16px; }
  .hero-visual { height: 66vw; min-height: 360px; max-height: 540px; border-radius: 28px; }
  .hero-badge { right: 16px; bottom: 16px; min-width: 200px; padding: 16px 18px; }
  .trust-strip { width: calc(100% - 40px); margin: 0 auto; grid-template-columns: 1fr 1fr; padding: 14px; }
  .trust-strip div { padding: 14px 12px; }
  .trust-strip div + div { border-left: 0; }
  .trust-strip div:nth-child(even) { border-left: 1px solid rgba(255,255,255,.15); }
  .trust-strip div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.15); }
  .section { padding: 92px 20px; }
  .section-head { margin-bottom: 42px; }
  .section-head h2, .system h2, .contact h2 { font-size: clamp(34px, 9vw, 48px); }
  .intro-grid, .system-layout, .contact-layout, .sf-ct-wrap, .faq { grid-template-columns: 1fr; gap: 42px; }
  .intro-photo { min-height: 58vw; }
  .program-grid { gap: 14px; }
  .system-steps { margin-top: 12px; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .results figure { min-height: 430px; }
  .split-head { align-items: start; flex-direction: column; gap: 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 250px; }
  .gallery-card:first-child { grid-row: span 2; }
  .gallery-card:nth-child(4) { grid-column: auto; }
  .faq { gap: 30px; }
  .contact-map { min-height: 0; }
  .sf-ct-form { padding: 28px; }
  .site-footer { grid-template-columns: 1fr; padding-bottom: 42px; }
  .footer-info { flex-direction: column; gap: 2px; }
  .sf-iq-rail {
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 200;
    height: 62px;
    border: 0;
    border-radius: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .sf-iq-r { width: auto; height: 62px; border-right: 1px solid var(--line); border-bottom: 0; font-size: 11px; }
  [data-sf-top] { display: flex; }
  [data-sf-top]:not(.sf-show) { opacity: .45; }
}

@media (max-width: 560px) {
  .header-inner { gap: 8px; }
  .brand { flex-basis: 120px; }
  .header-call strong { font-size: 11px; }
  .hero { padding-top: 52px; }
  .hero-actions .btn { flex: 1 1 0; min-width: 0; padding-inline: 12px; font-size: 13px; }
  .hero-points { margin-top: 38px; }
  .hero-points li { padding-left: 10px; }
  .hero-points strong { font-size: 20px; }
  .hero-points span { font-size: 10px; }
  .hero-visual { min-height: 310px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip div:nth-child(even) { border-left: 0; }
  .trust-strip div + div { border-top: 1px solid rgba(255,255,255,.15); }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { min-height: 250px; }
  .program-card h3 { margin-top: 46px; }
  .system-step { grid-template-columns: 1fr; padding: 24px 0; }
  .system-step p { grid-column: 1; }
  .results .section-head h2 { font-size: clamp(20px, 6.4vw, 30px); }
  .results-grid { grid-template-columns: 1fr; }
  .results figure { min-height: 0; aspect-ratio: 4 / 3; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: min(76vw, 300px); }
  .gallery-card:first-child { grid-row: auto; }
  .gallery-card figcaption { opacity: 1; }
  .board-tabs { gap: 6px; }
  .board-tab { min-width: 0; flex: 1; padding-inline: 12px; }
  .board-panel { border-radius: 16px; }
  .board-list { padding: 2px 16px; }
  .board-item { grid-template-columns: minmax(0,1fr); gap: 6px; padding: 20px 2px; }
  .board-item p { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .board-item time { grid-row: auto; grid-column: auto; align-self: auto; padding-top: 2px; }
  .board-arrow { display: none; }
  .board-item-title { align-items: flex-start; }
  .board-item-title strong { white-space: normal; line-height: 1.45; }
  .board-body { padding-top: 28px; font-size: 16px; line-height: 1.85; word-break: normal; }
  .contact-map .sf-map-embed { width: 100% !important; max-width: 100%; aspect-ratio: 4 / 3; }
  .sf-map-links { max-width: 100%; flex-wrap: wrap; }
  .sf-ct-row { grid-template-columns: 1fr; gap: 0; }
  .sf-ct-form { padding: 22px 18px; }
  .sf-iq-back { padding: 12px; }
  .sf-iq-head { padding: 30px 24px 25px; }
  .sf-iq-form { padding: 24px; }
  .sf-lb { padding: 70px 14px; }
  .sf-lb-prev { left: 10px; }
  .sf-lb-next { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
