:root {
  --navy: #0b1e3d;
  --navy-2: #10346f;
  --blue: #2354d6;
  --gold: #f7a812;
  --gold-2: #ffcf33;
  --ink: #0d1728;
  --text: #2a3a55;
  --muted: #6f7e95;
  --line: #dce7f7;
  --soft: #f5f8ff;
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(15, 43, 92, 0.12);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 48%, #f7fbff 100%);
  word-break: keep-all;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 231, 247, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.logo-box {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--navy);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 30, 61, 0.2);
}

.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-title {
  display: grid;
  line-height: 1.05;
}

.brand-title strong {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.brand-title span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
  margin-top: 5px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.nav a {
  padding: 11px 12px;
  border-radius: 999px;
  color: #40506a;
  font-size: 15px;
  font-weight: 800;
}

.nav a:hover {
  background: #eff5ff;
  color: var(--navy-2);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #08182f;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 12px 28px rgba(247, 168, 18, 0.28);
}

.btn-outline {
  color: var(--navy-2);
  background: #fff;
  border-color: #d3e0f4;
}

.btn-dark {
  color: #fff;
  background: linear-gradient(135deg, #102b61, #071831);
  box-shadow: 0 12px 30px rgba(16, 43, 97, 0.22);
}

.mobile-menu {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid #d3e0f4;
  background: #fff;
  font-size: 22px;
  color: var(--navy);
}

.hero {
  position: relative;
  padding: 70px 0 52px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -180px -120px auto auto;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(247,168,18,0.35), rgba(247,168,18,0) 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf4ff;
  color: var(--navy-2);
  font-weight: 900;
  font-size: 14px;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 span {
  color: var(--gold);
}

.hero-copy {
  margin: 0 0 28px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.75;
  max-width: 670px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-info {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.info-pill {
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dce7f7;
}

.hero-card {
  position: relative;
  border-radius: 36px;
  padding: 26px;
  background: linear-gradient(160deg, #0b1e3d, #113b7a 64%, #f7a812 165%);
  color: #fff;
  box-shadow: 0 26px 80px rgba(9, 28, 60, 0.28);
  min-height: 430px;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.hero-card-logo {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}

.hero-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.14);
  color: #b4ffd0;
  font-size: 13px;
  font-weight: 900;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.hero-card h2 {
  position: relative;
  z-index: 1;
  margin: 44px 0 14px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.hero-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
}

.quick-grid {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quick-item {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.quick-item b {
  display: block;
  font-size: 24px;
  margin-bottom: 6px;
}

.quick-item span {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 800;
}

.section {
  padding: 64px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.section-lead {
  margin: 10px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.program-card {
  min-height: 310px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.program-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #edf4ff;
  font-size: 34px;
}

.program-card h3 {
  margin: 24px 0 10px;
  font-size: 27px;
  letter-spacing: -0.04em;
}

.program-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 650;
}

.program-tags {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.program-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f6f9ff;
  border: 1px solid #dfebfb;
  color: var(--navy-2);
  font-size: 13px;
  font-weight: 900;
}

.cta-strip {
  border-radius: 34px;
  padding: 36px;
  background: linear-gradient(135deg, #fff3c7, #f6fbff 55%, #eaf2ff);
  border: 1px solid #e8dcae;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.cta-strip h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.cta-strip p {
  margin: 12px 0 0;
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature {
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.feature b {
  display: block;
  font-size: 18px;
  margin-bottom: 9px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
  font-weight: 650;
}

.info-section {
  padding: 64px 0 90px;
}

.info-card {
  border-radius: 34px;
  background: #0b1e3d;
  color: #fff;
  padding: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  box-shadow: 0 26px 70px rgba(11,30,61,0.2);
}

.info-card h2 {
  margin: 0 0 12px;
  font-size: 38px;
  letter-spacing: -0.05em;
}

.info-card p {
  margin: 0;
  color: rgba(255,255,255,0.74);
  line-height: 1.7;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
  font-weight: 900;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  color: var(--muted);
  font-weight: 750;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.floating-cta {
  display: none;
}

.page-frame {
  min-height: 100vh;
  background: #f5f8ff;
}

.sub-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 64px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid #dbe5f5;
  backdrop-filter: blur(12px);
}

.sub-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 950;
  font-size: 17px;
}

.sub-title img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--navy);
}

.sub-actions {
  display: flex;
  gap: 8px;
}

.sub-actions a {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid #d2e0f3;
  background: #fff;
  color: var(--navy-2);
  font-size: 13px;
  font-weight: 900;
}

.embed-frame {
  width: 100%;
  height: calc(100vh - 64px);
  border: 0;
  display: block;
  background: #fff;
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 28px, 720px);
  }

  .header-inner {
    min-height: 68px;
  }

  .nav {
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px;
  }

  .header-actions {
    display: none;
  }

  .mobile-menu {
    display: grid;
    place-items: center;
  }

  .hero {
    padding: 38px 0 36px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: auto;
  }

  .program-grid,
  .feature-grid,
  .info-card {
    grid-template-columns: 1fr;
  }

  .cta-strip {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .floating-cta {
    position: fixed;
    z-index: 80;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 22px;
    background: rgba(255,255,255,0.94);
    border: 1px solid var(--line);
    box-shadow: 0 14px 40px rgba(11, 30, 61, 0.18);
    backdrop-filter: blur(12px);
  }

  .floating-cta a {
    min-height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 950;
    font-size: 14px;
  }

  .floating-cta a:first-child {
    background: var(--gold);
    color: #08182f;
  }

  .floating-cta a:last-child {
    background: var(--navy);
    color: #fff;
  }

  body {
    padding-bottom: 76px;
  }
}

@media (max-width: 560px) {
  .brand-title strong {
    font-size: 17px;
  }

  .brand-title span {
    display: none;
  }

  .logo-box {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    display: block;
  }

  .program-card {
    min-height: auto;
  }

  .info-card {
    padding: 28px;
  }

  .sub-topbar {
    min-height: 58px;
    padding: 0 12px;
  }

  .sub-title {
    font-size: 15px;
  }

  .sub-actions a {
    padding: 8px 10px;
    font-size: 12px;
  }

  .embed-frame {
    height: calc(100vh - 58px);
  }
}


/* v2 additions: program locations and DO / Develop / Overcome course structure */
.program-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-card-large {
  min-height: 520px;
  gap: 24px;
}

.program-address {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f6f9ff;
  border: 1px solid #dfebfb;
  color: var(--navy-2);
  font-size: 15px;
  font-weight: 900;
}

.level-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.level-card {
  padding: 14px 15px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid #dce7f7;
}

.level-card b {
  display: block;
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 5px;
}

.level-card span {
  display: block;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
  font-weight: 750;
}

.goal-section {
  background: linear-gradient(180deg, rgba(237,244,255,0.65), rgba(255,255,255,0));
}

.goal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.goal-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.goal-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(247, 168, 18, 0.14);
}

.goal-step {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
  font-weight: 950;
}

.goal-card h3 {
  margin: 22px 0 8px;
  font-size: 28px;
  letter-spacing: -0.045em;
}

.goal-card strong {
  display: block;
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 12px;
}

.goal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 700;
}

.info-card-wide {
  grid-template-columns: 0.85fr 1.15fr;
}

@media (max-width: 980px) {
  .program-grid-two,
  .goal-grid,
  .info-card-wide {
    grid-template-columns: 1fr;
  }

  .program-card-large {
    min-height: auto;
  }
}

/* v3 additions: kids sports program card */
.program-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-grid-three .program-card-large {
  min-height: 560px;
}

@media (max-width: 1180px) {
  .program-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .program-grid-three {
    grid-template-columns: 1fr;
  }

  .program-grid-three .program-card-large {
    min-height: auto;
  }
}


.program-points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.program-points li {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border-radius: 18px;
  background: #f7fbff;
  border: 1px solid #dde9fb;
}

.program-points b {
  color: var(--navy-2);
  font-size: 14px;
}

.program-points span {
  color: var(--text);
  line-height: 1.55;
  font-size: 14px;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.map-card {
  background: #fff;
  border: 1px solid #dce7f7;
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.map-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.map-head h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.map-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f5f8ff;
  border: 1px solid #d6e2f6;
  color: var(--navy-2);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}


@media (max-width: 960px) {
  .map-grid {
    grid-template-columns: 1fr;
  }
}


/* v5: simplified location cards without rough map illustration */
.location-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f7fbff;
  border: 1px solid #e1ebfb;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
}

.map-card {
  min-height: 0;
}

@media (max-width: 640px) {
  .map-head {
    display: grid;
  }

  .mini-link {
    width: 100%;
  }
}
