@charset "UTF-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  --primary: #1b4332;
  --primary-light: #2d6a4f;
  --primary-soft: #edf5f0;
  --accent: #d97736;
  --accent-hover: #c06528;
  --text-main: #1f2923;
  --text-sub: #4b5a52;
  --text-muted: #7c8d84;
  --bg-page: #f8faf8;
  --bg-card: #ffffff;
  --border: #e2ece5;
  --shadow-sm: 0 3px 12px rgba(27, 67, 50, 0.05);
  --shadow-md: 0 8px 24px rgba(27, 67, 50, 0.08);
  --shadow-lg: 0 16px 36px rgba(27, 67, 50, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --header-height: 74px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-main);
  -webkit-text-size-adjust: 100%;
}

body {
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Common Layout */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 85px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-light);
  background: var(--primary-soft);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 14px;
  word-break: keep-all;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-sub);
  max-width: 620px;
  margin: 0 auto;
  word-break: keep-all;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 54, 0.35);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 54, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

.site-logo .logo-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-sub);
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 80px;
  background: linear-gradient(135deg, #132e22 0%, #1b4332 50%, #285d46 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2f0e7;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 20px;
  word-break: keep-all;
}

.hero-title .highlight {
  color: #ffd166;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #d8e6dd;
  margin-bottom: 36px;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-card-preview {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
}

.hero-card-preview h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.09);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
}

.hero-card-item .item-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.hero-card-item p {
  font-size: 0.93rem;
  color: #eef5f0;
  line-height: 1.5;
}

/* Quick Trust Stats */
.trust-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 26px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  text-align: center;
  padding: 6px 12px;
  border-right: 1px solid var(--border);
}

.trust-item:last-child {
  border-right: none;
}

.trust-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.trust-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-top: 4px;
}

/* Values (밝음 스타일 3대 약속 카드) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 38px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #b7d6c6;
}

.value-icon {
  width: 58px;
  height: 58px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
}

.value-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.value-desc {
  font-size: 0.98rem;
  color: var(--text-sub);
  line-height: 1.7;
  word-break: keep-all;
}

/* Programs Section (카드형 그리드) */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.program-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #b7d6c6;
}

.program-img-wrap {
  width: 100%;
  height: 210px;
  overflow: hidden;
  position: relative;
  background: #eee;
}

.program-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.program-card:hover .program-img-wrap img {
  transform: scale(1.06);
}

.program-body {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-cat {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.program-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.program-desc {
  font-size: 0.94rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 18px;
  word-break: keep-all;
  flex-grow: 1;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.tag {
  background: var(--primary-soft);
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

/* About & History Section */
.about-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
}

.about-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 46px;
}

.about-intro h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.about-intro p {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.8;
  word-break: keep-all;
}

.history-timeline {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.history-col h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.history-item {
  display: flex;
  gap: 14px;
  font-size: 0.93rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.history-year {
  font-weight: 700;
  color: var(--primary-light);
  min-width: 78px;
}

/* Location & Contact Section */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.location-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
}

.location-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: var(--text-sub);
}

.location-details .phone-big {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent);
}

.location-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.88rem;
  border-radius: 8px;
}

/* Mobile Quick Floating Bar */
.mobile-quick-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid #e2e2e2;
  padding: 10px 16px 14px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 9999;
}

.quick-bar-inner {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.quick-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.quick-btn.call {
  background: var(--primary);
  color: #ffffff;
}

.quick-btn.map {
  background: var(--accent);
  color: #ffffff;
}

/* Footer */
.site-footer {
  background: #15241d;
  color: #a4b3aa;
  padding: 50px 0 60px;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-info {
  line-height: 1.8;
}

.footer-info strong {
  color: #e2ede6;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.82rem;
  color: #798b81;
}

/* Responsive Queries */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card-preview { display: none; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }
  
  .section-padding { padding: 60px 0; }
  .section-title { font-size: 1.65rem; }
  .hero-title { font-size: 2.1rem; }
  
  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 16px;
  }

  .mobile-menu-btn {
    display: block;
  }

  .header-cta .btn {
    display: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .trust-item:nth-child(2) {
    border-right: none;
  }

  .values-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .history-timeline { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }

  /* Show mobile floating bar */
  .mobile-quick-bar { display: block; }
  body { padding-bottom: 74px; }
}

/* Extra Mobile Optimization (Smartphones <= 480px) */
@media (max-width: 480px) {
  .site-header {
    height: 60px;
  }
  .site-logo span {
    font-size: 1.15rem;
  }
  .site-logo .logo-img {
    width: 36px;
    height: 36px;
  }
  .hero-section {
    padding-top: calc(60px + 32px);
    padding-bottom: 50px;
  }
  .hero-badge {
    font-size: 0.82rem;
    padding: 5px 12px;
  }
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.35;
    margin-bottom: 16px;
  }
  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 26px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.95rem;
  }
  .section-padding {
    padding: 50px 0;
  }
  .section-header {
    margin-bottom: 34px;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .section-desc {
    font-size: 0.93rem;
  }
  .trust-number {
    font-size: 1.45rem;
  }
  .trust-label {
    font-size: 0.78rem;
  }
  .value-card, .location-card, .about-box {
    padding: 24px 20px;
    border-radius: var(--radius-sm);
  }
  .value-title, .location-title {
    font-size: 1.18rem;
  }
  .program-img-wrap {
    height: 180px;
  }
  .program-body {
    padding: 20px 18px;
  }
  .program-name {
    font-size: 1.18rem;
  }
  .about-intro h3 {
    font-size: 1.45rem;
  }
  .history-year {
    min-width: 65px;
    font-size: 0.88rem;
  }
  .history-item span {
    font-size: 0.88rem;
  }
  .location-details .phone-big {
    font-size: 1.35rem;
  }
  .location-links .btn {
    flex: 1;
    text-align: center;
  }
  .mobile-quick-bar {
    padding: 10px 14px max(14px, env(safe-area-inset-bottom));
  }
  .quick-btn {
    padding: 12px 8px;
    font-size: 0.92rem;
  }
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }
}
