@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;900&display=swap');

:root {
  --navy: #2B3F6B;
  --navy-dark: #1C2A45;
  --orange: #F97316;
  --orange-light: #FFB74D;
  --cream: #FFF0E6;
  --cream-soft: #FFF9F4;
  --text: #2C2C2A;
  --text-muted: #7A7768;
  --border: #EFDFCE;
  --white: #FFFFFF;
  --max-width: 480px;
}

@media (min-width: 900px) {
  :root {
    --max-width: 720px;
  }
}

@media (min-width: 1100px) {
  :root {
    --max-width: 1120px;
  }
}

@media (min-width: 1500px) {
  :root {
    --max-width: 1440px;
  }
}

@media (min-width: 1800px) {
  :root {
    --max-width: 1760px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  color: var(--text);
  background: #EDEAE3;
  -webkit-font-smoothing: antialiased;
}

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

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

.page {
  max-width: var(--max-width);
  margin: 0;
  background: var(--cream-soft);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 24px rgba(0,0,0,0.08);
}

/* header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--cream-soft);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header.with-back {
  gap: 10px;
  justify-content: flex-start;
}

.top-links {
  display: flex;
  gap: 8px;
  padding: 0 20px 14px;
  background: var(--cream-soft);
}

.top-links a {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--navy-dark);
  background: var(--white);
  border: 0.5px solid var(--border);
  padding: 7px 16px;
  border-radius: 20px;
}

.top-links a.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--cream-soft);
  font-weight: 700;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-dark);
}

.desktop-nav a:hover {
  color: var(--orange);
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo img {
  width: 24px;
  height: 24px;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.with {
  color: var(--navy);
  font-weight: 700;
}

.on {
  color: var(--orange);
  font-weight: 700;
}

.facility-title {
  font-weight: 700;
  color: var(--navy-dark);
}

.facility-orange {
  color: var(--orange);
}

.menu-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--navy-dark);
  padding: 4px;
  cursor: pointer;
}

.back-btn {
  font-size: 20px;
  color: var(--navy-dark);
}

.page-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-dark);
}

/* nav drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: var(--max-width);
  z-index: 50;
  display: none;
}

.nav-drawer.open {
  display: block;
}

.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28,42,69,0.45);
}

.nav-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 78%;
  max-width: 340px;
  height: 100%;
  background: var(--white);
  padding: 20px;
  overflow-y: auto;
}

.nav-drawer-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--navy-dark);
  margin-bottom: 12px;
  cursor: pointer;
}

.nav-drawer-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 0.5px solid var(--border);
}

.nav-drawer-panel .nav-group-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  margin: 18px 0 4px;
}

/* hero */
.hero {
  padding: 30px 20px 26px;
  background: var(--cream);
  text-align: center;
}

.hero .eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 1px;
  margin: 0 0 8px;
}

.hero h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-dark);
  margin: 0 0 8px;
  line-height: 1.45;
}

.hero p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.hero .hero-desc {
  font-size: 12.5px;
  line-height: 1.7;
  margin: 14px 0 0;
}

/* split hero (desktop only, voicehana.ai-style) */
.split-hero-left,
.split-hero-right {
  display: none;
}

.hero-photo-mobile {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* section */
.section {
  padding: 18px 16px 6px;
}

.section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-dark);
  margin: 0 0 10px;
  padding: 0 4px;
}

/* cards */
.card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card {
  background: var(--white);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0.5px solid var(--border);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon i {
  font-size: 22px;
  color: var(--orange);
}

.card-body {
  flex: 1;
  min-width: 0;
}

.card-eyebrow {
  font-size: 11px;
  color: #B08B5A;
  font-weight: 500;
  margin: 0 0 2px;
}

.card-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
}

.card-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin: 3px 0 0;
  line-height: 1.5;
}

.card-arrow {
  font-size: 16px;
  color: #C9B79A;
  flex-shrink: 0;
}

/* contact buttons */
.contact-row {
  display: flex;
  gap: 10px;
  padding: 16px 16px 4px;
}

.btn {
  flex: 1;
  border-radius: 12px;
  padding: 12px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  border: none;
  cursor: pointer;
}

.btn i {
  font-size: 16px;
  vertical-align: -3px;
  margin-right: 6px;
}

.btn-primary {
  background: var(--orange);
  color: var(--cream-soft);
}

.btn-secondary {
  background: var(--cream);
  color: #8A5A2B;
}

/* mission */
.mission {
  padding: 30px 24px 8px;
  text-align: center;
}

.mission h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.6;
  margin: 0 0 10px;
}

.mission p {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.7;
  margin: 0;
}

/* story teaser */
.story-teaser {
  display: block;
  margin: 18px 16px 0;
  padding: 22px 20px;
  background: var(--navy-dark);
  border-radius: 16px;
}

.story-teaser .quote-mark {
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1;
  color: var(--orange-light);
  margin: 0 0 8px;
}

.story-teaser p {
  font-size: 13px;
  line-height: 1.8;
  color: #D7DEEC;
  margin: 0 0 14px;
}

.story-teaser .story-more {
  font-size: 12px;
  font-weight: 500;
  color: var(--orange-light);
}

/* feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.feature-item {
  background: var(--white);
  border-radius: 14px;
  border: 0.5px solid var(--border);
  padding: 18px 14px;
  text-align: center;
}

.feature-item i {
  font-size: 24px;
  color: var(--orange);
  margin-bottom: 10px;
  display: inline-block;
}

.feature-item.group-home {
  background: #EEF1F8;
  border-color: #D7DEEC;
}

.feature-item.group-home i {
  color: var(--navy);
}

.feature-item .feature-title {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 3px;
}

.feature-item .feature-desc {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* spotlight */
.spotlight {
  margin: 12px 16px 0;
  padding: 22px 20px;
  border-radius: 16px;
  background: var(--cream);
}

.spotlight.alt {
  background: var(--white);
  border: 0.5px solid var(--border);
}

.spotlight .spotlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.spotlight.alt .spotlight-icon {
  background: var(--cream);
}

.spotlight .spotlight-icon i {
  font-size: 22px;
  color: var(--orange);
}

.spotlight h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-dark);
  margin: 0 0 8px;
}

.spotlight p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* info box */
.info-box {
  display: block;
  margin: 14px 16px 0;
  padding: 16px;
  background: var(--white);
  border-radius: 14px;
  border: 0.5px solid var(--border);
  position: relative;
}

.info-box.card-clickable {
  padding-right: 40px;
}

.info-box .info-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 16px;
  color: #C9B79A;
}

.info-box p {
  margin: 0;
}

.info-box .info-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 6px;
}

.info-box .info-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.info-box .info-desc.greeting-text {
  font-size: 13px;
}

/* staff row */
.staff-card {
  margin: 14px 16px 0;
  padding: 14px 16px;
  background: var(--white);
  border-radius: 14px;
  border: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* split tiles (photo preview pair) */
.split-tiles {
  display: flex;
  gap: 10px;
  margin: 14px 16px 0;
}

.split-tile {
  flex: 1;
  background-color: var(--white);
  background-size: cover;
  background-position: center;
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 22px 12px;
  text-align: center;
  cursor: pointer;
}

.split-tile i {
  font-size: 26px;
  color: var(--orange);
  margin-bottom: 8px;
  display: inline-block;
}

.split-tile p {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
}

.staff-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream);
}

.staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.7);
  transform-origin: 50% 0%;
}

.staff-card .staff-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 2px;
}

.staff-card .staff-role {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
}

/* fact strip */
.fact-strip {
  display: flex;
  margin: 14px 16px 0;
  background: var(--navy);
  border-radius: 14px;
  overflow: hidden;
}

.fact-strip .fact {
  flex: 1;
  text-align: center;
  padding: 16px 4px;
}

.fact-strip .fact + .fact {
  border-left: 0.5px solid rgba(255,255,255,0.15);
}

.fact-strip .fact .num {
  font-size: 17px;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 3px;
}

.fact-strip .fact .label {
  font-size: 10.5px;
  color: #9FB0CC;
  margin: 0;
}

/* footer */
.site-footer {
  margin-top: 26px;
  padding: 18px 20px 26px;
  background: var(--navy-dark);
}

.site-footer .foot-logo {
  font-size: 13px;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 8px;
}

.site-footer p {
  font-size: 11px;
  color: #9FB0CC;
  margin: 0;
  line-height: 1.8;
}

.site-footer i {
  font-size: 12px;
  vertical-align: -1px;
  margin-right: 5px;
}

.site-footer .foot-links {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 0.5px solid rgba(255,255,255,0.12);
}

.site-footer .biz-info {
  font-size: 10px;
  color: #7A8CB0;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 0.5px solid rgba(255,255,255,0.12);
  line-height: 1.7;
}

.site-footer .foot-links a {
  font-size: 11px;
  color: #C9D4E8;
}

/* segmented back link */
.section-link-all {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--orange);
  padding: 10px 0 4px;
}

/* clickable card */
.card-clickable {
  cursor: pointer;
}

.card-list .card.card-clickable {
  background-size: cover;
}

/* lightbox */
.lightbox {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: var(--max-width);
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 42, 69, 0.9);
}

.lightbox-content {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  z-index: 1;
}

.lightbox-images {
  max-height: 80vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lightbox-images img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: var(--cream-soft);
}

.lightbox-img-wrap {
  position: relative;
}

.lightbox-img-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 22px 16px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  border-radius: 0 0 12px 12px;
}

.lightbox-caption {
  color: var(--cream);
  font-size: 13px;
  text-align: center;
  margin: 10px 0 0;
}

.lightbox-close {
  position: absolute;
  top: -36px;
  right: 0;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 22px;
  cursor: pointer;
}

/* desktop layout (responsive, like voicehana.ai) */
@media (min-width: 1100px) {
  .page {
    max-width: 100%;
    box-shadow: none;
  }

  .site-header {
    padding: 20px 40px;
  }

  .menu-btn {
    display: none;
  }

  .nav-drawer {
    display: none !important;
  }

  .desktop-nav {
    display: flex;
  }

  .hero {
    padding: 64px 40px 56px;
  }

  .hero .eyebrow {
    font-size: 13px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.35;
  }

  .hero p {
    font-size: 15px;
    margin-top: 4px;
  }

  .hero .hero-desc {
    font-size: 15px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .page.has-split-hero .site-header,
  .page.has-split-hero .hero,
  .page.has-split-hero .mission,
  .page.has-split-hero .business-section,
  .hero-photo-mobile {
    display: none;
  }

  .split-page {
    display: flex;
    align-items: flex-start;
  }

  .split-hero-business {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
  }

  .split-hero-left {
    width: 25%;
    flex-shrink: 0;
    background: var(--cream);
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    overflow-y: auto;
  }

  .split-scroll {
    flex: 1;
    min-width: 0;
  }

  .split-hero-logo {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .split-hero-logo img {
    width: 24px;
    height: 24px;
  }

  .split-hero-copy {
    margin-top: 56px;
    text-align: center;
  }

  .split-hero-copy .eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 1px;
    margin: 0 0 12px;
  }

  .split-hero-copy h1 {
    font-size: 30px;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.4;
    margin: 0 0 14px;
  }

  .split-hero-copy p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
  }

  .split-hero-right {
    display: flex;
    flex-direction: column;
  }

  .split-hero-right img {
    width: 100%;
    aspect-ratio: 1.677;
    height: auto;
    object-fit: cover;
    object-position: center 65%;
    display: block;
  }

  .split-hero-mission {
    flex: 1;
    background: var(--cream-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 40px;
  }

  .split-hero-mission h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.55;
    margin: 0 0 10px;
  }

  .split-hero-mission p {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.7;
    margin: 0;
  }

  .section {
    padding: 28px 40px 10px;
  }

  .section-title {
    font-size: 17px;
  }

  .core-services-title {
    font-size: 24px;
  }

  .info-box .info-desc.greeting-text {
    font-size: 20px;
  }

  .feature-item .feature-title {
    font-size: 20px;
  }

  .feature-item .feature-desc {
    font-size: 15px;
  }

  .card-list.grid-desktop {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
  }

  .card-list.grid-desktop .card {
    height: 100%;
  }

  .info-box,
  .staff-card,
  .split-tiles,
  .fact-strip,
  .contact-row {
    margin-left: 40px;
    margin-right: 40px;
  }

  .site-footer {
    padding: 26px 40px 32px;
  }

  .mission {
    padding: 40px 40px 8px;
  }

  .mission h2 {
    font-size: 24px;
  }

  .mission p {
    font-size: 24px;
  }

  .story-teaser {
    margin: 24px 40px 0;
    padding: 36px 44px;
  }

  .story-teaser p {
    font-size: 20px;
    max-width: 720px;
  }

  .feature-grid {
    grid-template-columns: repeat(6, 1fr);
    margin: 0 40px;
  }

  .section .feature-grid {
    margin: 0;
  }

  .spotlight-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 12px 40px 0;
  }

  .spotlight-row .spotlight {
    margin: 0;
  }
}
