@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f7f7f7;
  --white: #ffffff;
  --primary: #2c6e49;
  --primary-dark: #1b4332;
  --primary-light: #e9f2ec;
  --accent: #d4a24e;
  --text: #1a1a1a;
  --text-sub: #5a5a5a;
  --text-light: #999;
  --border: #e2e2e2;
  --font: 'Pretendard', -apple-system, 'Malgun Gothic', sans-serif;
  --radius: 6px;
  --shadow: 0 2px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--text); font-size: 15px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; }

/* ═══ HEADER ═══ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); transition: box-shadow .3s; }
.header.scrolled { box-shadow: var(--shadow); }
.header-top { background: var(--primary-dark); padding: 5px 0; font-size: 12px; color: rgba(255,255,255,.75); }
.header-top .container { display: flex; justify-content: space-between; align-items: center; }
.header-top-left { display: flex; gap: 16px; }
.header-top a { color: rgba(255,255,255,.75); transition: color .2s; }
.header-top a:hover { color: #fff; }
.header-main .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; color: var(--primary); letter-spacing: -.03em; }
.logo-mark { width: 32px; height: 32px; background: var(--primary); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.logo-mark svg { width: 18px; height: 18px; fill: #fff; }

/* GNB */
.gnb { display: flex; gap: 0; }
.gnb > li { position: relative; }
.gnb > li > a { display: block; padding: 22px 20px; font-size: 15px; font-weight: 600; color: var(--text); transition: color .2s; }
.gnb > li > a:hover, .gnb > li > a.active { color: var(--primary); }
.gnb-sub { position: absolute; top: 100%; left: 0; background: var(--white); min-width: 170px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s; z-index: 10; }
.gnb > li:hover .gnb-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.gnb-sub a { display: block; padding: 10px 18px; font-size: 13px; color: var(--text-sub); border-bottom: 1px solid #f5f5f5; transition: all .15s; }
.gnb-sub a:last-child { border-bottom: none; }
.gnb-sub a:hover { background: var(--primary-light); color: var(--primary); padding-left: 22px; }

.header-right { display: flex; align-items: center; gap: 16px; }
.header-tel { display: flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 700; color: var(--primary); }
.header-tel svg { width: 15px; height: 15px; }
.hamburger { display: none; background: none; border: none; padding: 6px; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); transition: all .3s; }
@media(max-width:1024px) { .gnb { display: none; } .hamburger { display: flex; } .header-top { display: none; } .header-tel { display: none; } }

/* Mobile Menu */
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--white); padding: 76px 0 0; opacity: 0; visibility: hidden; transition: all .3s; overflow-y: auto; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-list { padding: 0 20px; }
.mobile-menu-item { border-bottom: 1px solid var(--border); }
.mobile-menu-item > a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-size: 16px; font-weight: 600; }
.mobile-menu-sub { display: none; padding: 0 0 10px 12px; }
.mobile-menu-sub.open { display: block; }
.mobile-menu-sub a { display: block; padding: 7px 0; font-size: 14px; color: var(--text-sub); }
.mobile-menu-bottom { padding: 20px; margin-top: 16px; }
.mobile-menu-tel { display: block; padding: 16px; background: var(--primary); text-align: center; color: #fff; font-size: 17px; font-weight: 700; border-radius: var(--radius); }

/* ═══ CONTAINER ═══ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ═══ HERO SLIDER ═══ */
.hero { position: relative; height: 520px; margin-top: 99px; overflow: hidden; }
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide-img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.52) 0%, rgba(0,0,0,.18) 60%, rgba(0,0,0,.1) 100%); }
.hero-content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.hero-badge { display: inline-block; padding: 5px 14px; background: rgba(255,255,255,.15); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; font-size: 12px; font-weight: 600; color: #fff; margin-bottom: 16px; width: fit-content; }
.hero-title { font-size: 40px; font-weight: 800; color: #fff; line-height: 1.3; letter-spacing: -.03em; margin-bottom: 14px; }
.hero-title strong { color: var(--accent); }
.hero-desc { font-size: 15px; color: rgba(255,255,255,.8); line-height: 1.75; max-width: 440px; margin-bottom: 28px; }
.hero-btn { display: inline-flex; align-items: center; gap: 6px; padding: 13px 28px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 600; border: none; border-radius: var(--radius); transition: background .2s; width: fit-content; }
.hero-btn:hover { background: var(--primary-dark); }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; cursor: pointer; transition: all .3s; padding: 0; }
.hero-dot.active { background: #fff; width: 28px; border-radius: 5px; }

@media(max-width:768px) {
  .hero { height: 380px; margin-top: 68px; }
  .hero-content { padding: 0 20px; }
  .hero-title { font-size: 26px; }
  .hero-desc { font-size: 13px; }
}

/* ═══ QUICK CARDS ═══ */
.quick-section { margin-top: -48px; position: relative; z-index: 10; padding: 0 20px; }
.quick-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(5,1fr); background: var(--white); box-shadow: var(--shadow-lg); border-radius: var(--radius); overflow: hidden; }
.quick-card { padding: 32px 16px; text-align: center; border-right: 1px solid var(--border); transition: all .3s; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.quick-card:last-child { border-right: none; }
.quick-card:hover { background: var(--primary); }
.quick-card:hover .quick-icon { background: rgba(255,255,255,.15); }
.quick-card:hover .quick-icon svg { stroke: #fff; }
.quick-card:hover .quick-label { color: rgba(255,255,255,.6); }
.quick-card:hover .quick-name { color: #fff; }
.quick-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; transition: all .3s; }
.quick-icon svg { width: 22px; height: 22px; stroke: var(--primary); stroke-width: 1.5; fill: none; transition: stroke .3s; }
.quick-label { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--text-light); text-transform: uppercase; transition: color .3s; }
.quick-name { font-size: 14px; font-weight: 700; color: var(--text); transition: color .3s; }
@media(max-width:768px) { .quick-grid { grid-template-columns: repeat(3,1fr); } .quick-card { padding: 24px 10px; border-bottom: 1px solid var(--border); } }
@media(max-width:480px) { .quick-grid { grid-template-columns: 1fr 1fr; } }

/* ═══ SECTION ═══ */
.section { padding: 72px 0; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 2px solid var(--text); }
.section-tag { font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.section-title { font-size: 24px; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.section-more { font-size: 13px; font-weight: 500; color: var(--text-sub); display: flex; align-items: center; gap: 3px; border: 1px solid var(--border); padding: 7px 14px; border-radius: var(--radius); transition: all .2s; flex-shrink: 0; }
.section-more:hover { border-color: var(--primary); color: var(--primary); }

/* ═══ MAIN ROW (gallery + notice) ═══ */
.main-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media(max-width:768px) { .main-row { grid-template-columns: 1fr; gap: 48px; } }

.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery-card { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; background: #ddd; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-card:hover img { transform: scale(1.04); }
.gallery-card-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 12px; background: linear-gradient(to top, rgba(0,0,0,.6), transparent); font-size: 12px; color: #fff; font-weight: 500; }

.notice-list {}
.notice-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid #f0f0f0; transition: padding-left .2s; }
.notice-item:hover { padding-left: 6px; }
.notice-item:hover .notice-title { color: var(--primary); }
.notice-title { font-size: 14px; color: var(--text); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 12px; transition: color .2s; }
.notice-title::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--primary); margin-right: 8px; vertical-align: middle; }
.notice-date { font-size: 12px; color: var(--text-light); flex-shrink: 0; }

/* ═══ HOURS BAR ═══ */
.hours-bar { background: var(--bg); padding: 40px 0; }
.hours-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.hours-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.hours-card-title { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.hours-card-time { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.hours-card-note { font-size: 12px; color: var(--text-light); }
@media(max-width:768px) { .hours-grid { grid-template-columns: 1fr; } }

/* ═══ CONTACT BAR ═══ */
.contact-bar { background: var(--primary); padding: 44px 0; }
.contact-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.contact-bar-text h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.contact-bar-text p { font-size: 13px; color: rgba(255,255,255,.65); }
.contact-bar-right { display: flex; align-items: center; gap: 20px; }
.contact-bar-tel { font-size: 28px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 8px; }
.contact-bar-tel svg { width: 24px; height: 24px; stroke: #fff; }
.contact-bar-btn { padding: 12px 24px; background: #fff; color: var(--primary); font-size: 14px; font-weight: 700; border: none; border-radius: var(--radius); transition: background .2s; }
.contact-bar-btn:hover { background: #f0f0f0; }
@media(max-width:768px) { .contact-bar-inner { flex-direction: column; text-align: center; } .contact-bar-right { flex-direction: column; } .contact-bar-tel { font-size: 22px; } }

/* ═══ PAGE HEADER ═══ */
.page-header { margin-top: 99px; padding: 48px 0; background: var(--primary-dark); }
.page-header h1 { font-size: 26px; font-weight: 800; color: #fff; }
.page-breadcrumb { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,.5); }
.page-breadcrumb a { color: rgba(255,255,255,.5); }
.page-breadcrumb span { color: rgba(255,255,255,.85); }
@media(max-width:768px) { .page-header { margin-top: 68px; padding: 36px 0; } .page-header h1 { font-size: 21px; } }

/* ═══ SUB CONTENT ═══ */
.sub-content { padding: 56px 0 72px; }
.sub-section { margin-bottom: 56px; }
.sub-section:last-child { margin-bottom: 0; }
.sub-section-title { font-size: 20px; font-weight: 800; color: var(--text); padding-bottom: 14px; border-bottom: 2px solid var(--primary); margin-bottom: 28px; display: flex; align-items: center; gap: 8px; }
.sub-section-title::before { content: ''; width: 4px; height: 20px; background: var(--primary); border-radius: 2px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: #e0e0e0; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { font-size: 14px; color: var(--text-sub); line-height: 1.85; margin-bottom: 14px; }
.about-text p strong { color: var(--text); }
.about-list { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.about-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); padding: 9px 12px; background: var(--primary-light); border-radius: var(--radius); }
.about-list li svg { width: 14px; height: 14px; stroke: var(--primary); flex-shrink: 0; }
@media(max-width:768px) { .about-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.stat-card { background: var(--white); border: 1px solid var(--border); padding: 28px 16px; text-align: center; border-radius: var(--radius); }
.stat-num { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.stat-label { font-size: 12px; color: var(--text-sub); }
@media(max-width:768px) { .stats-grid { grid-template-columns: 1fr 1fr; } }

/* Services cards */
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.svc-card { border: 1px solid var(--border); padding: 28px 20px; border-radius: var(--radius); transition: all .25s; }
.svc-card:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(44,110,73,.08); transform: translateY(-2px); }
.svc-card-icon { width: 44px; height: 44px; background: var(--primary-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.svc-card-icon svg { width: 20px; height: 20px; stroke: var(--primary); fill: none; stroke-width: 1.5; }
.svc-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.svc-card p { font-size: 13px; color: var(--text-sub); line-height: 1.7; }
@media(max-width:900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px) { .services-grid { grid-template-columns: 1fr; } }

/* Facility gallery */
.facility-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.facility-item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; background: #ddd; }
.facility-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.facility-item:hover img { transform: scale(1.04); }
.facility-item-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 12px; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); font-size: 12px; color: #fff; font-weight: 500; }
@media(max-width:768px) { .facility-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px) { .facility-grid { grid-template-columns: 1fr; } }

/* Process */
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.process-step { text-align: center; padding: 0 16px; position: relative; }
.process-step::after { content: ''; position: absolute; top: 24px; right: -8px; width: 16px; height: 1px; background: var(--border); }
.process-step:last-child::after { display: none; }
.step-number { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; margin: 0 auto 14px; }
.process-step h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.process-step p { font-size: 12px; color: var(--text-sub); line-height: 1.6; }
@media(max-width:768px) { .process-steps { grid-template-columns: 1fr 1fr; gap: 28px; } .process-step::after { display: none; } }
@media(max-width:480px) { .process-steps { grid-template-columns: 1fr; } }

/* Staff */
.staff-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.staff-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.staff-photo { aspect-ratio: 1/1; background: linear-gradient(135deg,#e9f2ec,#d0ddd4); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-photo svg { width: 40px; height: 40px; stroke: var(--primary); opacity: .3; }
.staff-info { padding: 20px 16px; text-align: center; }
.staff-role { font-size: 11px; font-weight: 700; color: var(--primary); margin-bottom: 2px; }
.staff-name { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.staff-desc { font-size: 12px; color: var(--text-sub); line-height: 1.6; }
@media(max-width:768px) { .staff-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px) { .staff-grid { grid-template-columns: 1fr; } }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 16px; }
.contact-info-item { display: flex; gap: 12px; align-items: flex-start; }
.contact-info-icon { width: 36px; height: 36px; background: var(--primary); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { width: 16px; height: 16px; stroke: #fff; fill: none; }
.contact-info-text strong { display: block; font-size: 12px; font-weight: 700; margin-bottom: 1px; }
.contact-info-text span { font-size: 13px; color: var(--text-sub); }
.map-area { margin-top: 20px; width: 100%; height: 220px; background: #e8e8e8; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--text-light); }
.form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--text-sub); }
.form-group input, .form-group select, .form-group textarea { padding: 11px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; font-family: var(--font); color: var(--text); outline: none; transition: border-color .2s; width: 100%; background: var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.form-submit { padding: 13px 20px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 600; border: none; border-radius: var(--radius); transition: background .2s; }
.form-submit:hover { background: var(--primary-dark); }
@media(max-width:768px) { .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* Cost table */
.cost-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cost-table th, .cost-table td { padding: 12px 14px; border: 1px solid var(--border); text-align: center; }
.cost-table thead th { background: var(--primary); color: #fff; font-weight: 600; font-size: 12px; }
.cost-table tbody tr:nth-child(even) { background: #fafafa; }
.cost-table tbody td:first-child { font-weight: 600; background: var(--primary-light); }

/* Program table */
.program-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.program-table th, .program-table td { padding: 10px 8px; border: 1px solid var(--border); text-align: center; }
.program-table thead th { background: var(--primary); color: #fff; font-weight: 600; }
.program-table tbody td:first-child { font-weight: 600; background: var(--primary-light); font-size: 11px; }

/* ═══ FOOTER ═══ */
footer { background: #222; color: rgba(255,255,255,.55); padding: 44px 0 20px; font-size: 13px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-desc { font-size: 12px; line-height: 1.7; max-width: 260px; }
.footer-col h5 { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.3); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 7px; }
.footer-col a { font-size: 12px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-info { font-size: 11px; line-height: 1.7; color: rgba(255,255,255,.35); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,.25); }
.footer-legal { margin-top: 4px; }
.footer-legal a { font-size: 11px; color: rgba(255,255,255,.45); margin-right: 12px; }
.footer-legal a:hover { color: #fff; }
@media(max-width:768px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }

/* ═══ SNS ICONS ═══ */
.sns-links { display: flex; gap: 8px; margin-top: 14px; }
.sns-link { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.sns-link:hover { background: rgba(255,255,255,.18); }
.sns-link svg { width: 14px; height: 14px; fill: rgba(255,255,255,.6); }

/* ═══ FLOATING BUTTONS ═══ */
.float-cta { position: fixed; bottom: 20px; right: 20px; z-index: 50; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateY(12px); transition: all .3s; }
.float-cta.visible { opacity: 1; transform: translateY(0); }
.float-btn { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 12px rgba(0,0,0,.15); transition: transform .2s; text-decoration: none; }
.float-btn:hover { transform: scale(1.06); }
.float-btn svg { width: 20px; height: 20px; }
.float-btn-kakao { background: #FEE500; }
.float-btn-kakao svg { fill: #3C1E1E; stroke: none; }
.float-btn-call { background: var(--primary); }
.float-btn-call svg { stroke: #fff; fill: none; }
.float-btn-top { background: var(--white); border: 1px solid var(--border); }
.float-btn-top svg { stroke: var(--text-sub); fill: none; }
@media(max-width:768px) { .float-cta { bottom: 72px; right: 14px; } }

/* Mobile bottom bar */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: var(--white); border-top: 1px solid var(--border); padding: 6px 10px; }
.mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 10px; font-size: 13px; font-weight: 600; border-radius: var(--radius); }
.mobile-bar-call { background: var(--primary); color: #fff; }
.mobile-bar-kakao { background: #FEE500; color: #3C1E1E; margin-left: 6px; }
.mobile-bar svg { width: 14px; height: 14px; }
@media(max-width:768px) { .mobile-bar { display: flex; } }

/* ═══ ABOUT PAGE EXTRAS ═══ */
.section-bg { background: var(--bg); }
.section-desc { font-size: 14px; color: var(--text-sub); margin-bottom: 28px; line-height: 1.7; }
.about-sign { margin-top: 20px; font-size: 14px; color: var(--text-sub); }
.about-sign strong { color: var(--text); font-weight: 700; }
.about-text h3 { font-size: 20px; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 16px; }
.stat-number { font-size: 32px; font-weight: 800; color: var(--primary); display: block; margin-bottom: 4px; }
.stat-number span { font-size: 18px; font-weight: 600; }
.staff-img { aspect-ratio: 1/1; overflow: hidden; background: linear-gradient(135deg,#e9f2ec,#d0ddd4); }
.staff-img img { width: 100%; height: 100%; object-fit: cover; }
.staff-career { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.staff-career li { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-sub); }
.staff-career li svg { width: 12px; height: 12px; flex-shrink: 0; }
.staff-name span { font-size: 14px; font-weight: 500; color: var(--text-sub); }

/* About page map section */
.map-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.map-info-item { display: flex; gap: 10px; font-size: 13px; color: var(--text-sub); }
.map-info-item svg { width: 16px; height: 16px; stroke: var(--primary); flex-shrink: 0; margin-top: 2px; }
.map-info-item strong { display: block; font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.transport-info { margin-top: 20px; }
.transport-info h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.transport-info p { font-size: 13px; color: var(--text-sub); line-height: 1.7; }
@media(max-width:768px) { .map-info-grid { grid-template-columns: 1fr; } }

/* ═══ CONTACT PAGE EXTRAS ═══ */
.contact-info { }
.contact-info .contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact-info .contact-info-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-info .contact-info-list li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; stroke: var(--primary); }
.contact-info .contact-info-list li div { }
.contact-info .contact-info-list li strong { display: block; font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 1px; }
.contact-info .contact-info-list li span { font-size: 13px; color: var(--text-sub); }
.contact-form-wrap { }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form .form-group { display: flex; flex-direction: column; gap: 5px; }
.contact-form .form-group label { font-size: 12px; font-weight: 600; color: var(--text-sub); }
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea { padding: 11px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; font-family: var(--font); color: var(--text); outline: none; transition: border-color .2s; width: 100%; background: var(--white); }
.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus { border-color: var(--primary); }
.contact-form .form-group textarea { resize: vertical; min-height: 90px; }
.contact-form .form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.contact-form .form-submit { padding: 13px 20px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 600; border: none; border-radius: var(--radius); cursor: pointer; transition: background .2s; }
.contact-form .form-submit:hover { background: var(--primary-dark); }
@media(max-width:768px) { .contact-form .form-row { grid-template-columns: 1fr; } }

/* ═══ MAP SECTION (about page) ═══ */
.map-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 280px; background: #e8e8e8; border-radius: var(--radius); color: var(--text-light); gap: 8px; }
.map-placeholder svg { width: 40px; height: 40px; stroke: var(--text-light); }
.map-placeholder p { font-size: 13px; }
.map-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.map-info-item { display: flex; gap: 10px; }
.map-info-icon { width: 36px; height: 36px; background: var(--primary-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.map-info-icon svg { width: 16px; height: 16px; stroke: var(--primary); }
.map-info-item strong { display: block; font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.map-info-item p { font-size: 13px; color: var(--text-sub); line-height: 1.6; }
.map-info-item p a { color: var(--primary); }
.map-transport { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.map-transport-item { padding: 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.map-transport-item h4 { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.map-transport-item h4 svg { width: 16px; height: 16px; stroke: var(--primary); }
.map-transport-item p { font-size: 13px; color: var(--text-sub); line-height: 1.7; }
@media(max-width:768px) { .map-info { grid-template-columns: 1fr; } .map-transport { grid-template-columns: 1fr; } }

/* ═══ ABOUT PAGE FOOTER/CONTACT BAR EXTRAS ═══ */
.contact-bar-actions { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 24px; font-size: 14px; font-weight: 600; border-radius: var(--radius); transition: all .2s; border: none; cursor: pointer; }
.btn svg { width: 16px; height: 16px; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #f0f0f0; }
.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
@media(max-width:768px) { .contact-bar-actions { flex-direction: column; width: 100%; } .btn { justify-content: center; width: 100%; } }

/* About page footer structure */
.footer-top { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-bottom: 24px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-logo .logo-mark { width: 28px; height: 28px; border-radius: 6px; }
.footer-logo .logo-mark svg { width: 14px; height: 14px; }
.footer .footer-info p { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.7; margin-top: 4px; }
.footer .footer-info p a { color: rgba(255,255,255,.6); }
.footer-sns { display: flex; gap: 8px; align-items: flex-start; padding-top: 4px; }
.footer-sns a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.footer-sns a:hover { background: rgba(255,255,255,.18); }
.footer-sns a svg { width: 14px; height: 14px; stroke: rgba(255,255,255,.6); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.06); margin: 0 0 16px; }
.footer-bottom-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom-row p { font-size: 11px; color: rgba(255,255,255,.3); }
.footer-bottom-row a { font-size: 11px; color: rgba(255,255,255,.4); margin-left: 12px; }
.footer-bottom-row a:hover { color: rgba(255,255,255,.7); }
@media(max-width:768px) { .footer-top { grid-template-columns: 1fr; gap: 24px; } }

/* ═══ ABOUT PAGE FLOATING/MOBILE BAR EXTRAS ═══ */
.floating-btns { position: fixed; bottom: 20px; right: 20px; z-index: 50; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateY(12px); transition: all .3s; }
.floating-btns.visible { opacity: 1; transform: translateY(0); }
.floating-btn { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 12px rgba(0,0,0,.15); transition: transform .2s; text-decoration: none; border: none; cursor: pointer; }
.floating-btn:hover { transform: scale(1.06); }
.floating-btn svg { width: 20px; height: 20px; }
.kakao-btn { background: #FEE500; }
.kakao-btn svg { stroke: #3C1E1E; }
.call-btn { background: var(--primary); }
.call-btn svg { stroke: #fff; }
.top-btn { background: var(--white); border: 1px solid var(--border); }
.top-btn svg { stroke: var(--text-sub); }
@media(max-width:768px) { .floating-btns { bottom: 72px; right: 14px; } }

/* About page mobile bar items */
.mobile-bar-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 4px; font-size: 11px; font-weight: 600; color: var(--text-sub); border-radius: var(--radius); transition: color .2s; }
.mobile-bar-item svg { width: 18px; height: 18px; stroke: var(--text-sub); }
.mobile-bar-item:hover { color: var(--primary); }
.mobile-bar-item:hover svg { stroke: var(--primary); }

/* Footer links in about page */
.footer-links { display: flex; gap: 12px; }
.footer-links a { font-size: 11px; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.7); }

/* ═══ PROCESS PAGE EXTRAS ═══ */
.process-step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; margin: 0 auto 14px; }
.process-step-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; text-align: center; }
.process-step-desc { font-size: 12px; color: var(--text-sub); line-height: 1.6; text-align: center; }

/* ═══ COMPREHENSIVE RESPONSIVE FIXES ═══ */

/* Prevent horizontal overflow globally */
html, body { overflow-x: hidden; }

/* Support logo-icon variant (used on some pages) */
.logo-icon { width: 32px; height: 32px; background: var(--primary); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.logo-icon svg { width: 18px; height: 18px; }

/* Support header-cta variant (used on some pages) */
.header-cta { display: flex; align-items: center; gap: 16px; }

/* Support mobile-bar-consult (used on cost/privacy/program pages) */
.mobile-bar-consult { background: var(--primary); color: #fff; margin-left: 6px; }

/* Table responsive wrappers */
.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ═══ TABLET: max-width 1024px ═══ */
@media(max-width:1024px) {
  .header-cta { display: none; }

  .hero-title { font-size: 34px; }
  .hero-desc { font-size: 14px; }

  .quick-grid { grid-template-columns: repeat(5, 1fr); }
  .quick-card { padding: 24px 12px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-bar-tel { font-size: 24px; }

  .footer-top { grid-template-columns: 1fr; gap: 24px; }
}

/* ═══ MOBILE: max-width 768px ═══ */
@media(max-width:768px) {
  /* Body padding for mobile bottom bar */
  body { padding-bottom: 64px; }

  /* Hero adjustments */
  .hero-btn { width: 100%; justify-content: center; }
  .hero-badge { font-size: 11px; padding: 4px 12px; }

  /* Quick cards */
  .quick-section { margin-top: -32px; }
  .quick-card .quick-label { font-size: 9px; }
  .quick-card .quick-name { font-size: 13px; }

  /* Section headers */
  .section-title { font-size: 20px; }
  .sub-section-title { font-size: 18px; }

  /* Section padding */
  .section { padding: 48px 0; }
  .sub-content { padding: 40px 0 56px; }
  .sub-section { margin-bottom: 40px; }

  /* Gallery grid on mobile */
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }

  /* Contact bar full-width buttons */
  .contact-bar { padding: 32px 0; }
  .contact-bar-text h3 { font-size: 18px; }
  .contact-bar-btn { width: 100%; text-align: center; display: block; }

  /* Tables: ensure they stay readable in scroll wrapper */
  .table-responsive { margin: 0 -16px; padding: 0 16px; }
  .cost-table, .program-table { min-width: 500px; }

  /* Form buttons full-width */
  .form-submit { width: 100%; }
  .contact-form .form-submit { width: 100%; }

  /* Footer */
  .footer-bottom { flex-direction: column; gap: 8px; }
  .footer-info { font-size: 10px; word-break: keep-all; }
  .footer-links { flex-wrap: wrap; }

  /* About page text */
  .about-text h3 { font-size: 18px; }
  .about-text p { font-size: 13px; }

  /* Map info */
  .map-placeholder { height: 200px; }

  /* Notice items */
  .notice-title { font-size: 13px; }
  .notice-date { font-size: 11px; }

  /* Hours bar */
  .hours-bar { padding: 28px 0; }
  .hours-card { padding: 20px 16px; }
  .hours-card-time { font-size: 18px; }

  /* Staff cards */
  .staff-info { padding: 16px 12px; }
  .staff-name { font-size: 15px; }

  /* Floating buttons above mobile bar */
  .float-cta { bottom: 80px; }
  .floating-btns { bottom: 80px; }
}

/* ═══ SMALL PHONE: max-width 480px ═══ */
@media(max-width:480px) {
  /* Further font reduction */
  body { font-size: 14px; }

  .container { padding: 0 16px; }

  /* Hero */
  .hero { height: 340px; }
  .hero-content { padding: 0 16px; }
  .hero-title { font-size: 22px; }
  .hero-desc { font-size: 12px; margin-bottom: 20px; }
  .hero-btn { padding: 12px 20px; font-size: 13px; }
  .hero-badge { font-size: 10px; margin-bottom: 12px; }

  /* Quick cards */
  .quick-section { margin-top: -28px; padding: 0 16px; }
  .quick-card { padding: 20px 8px; gap: 8px; }
  .quick-icon { width: 44px; height: 44px; }
  .quick-icon svg { width: 18px; height: 18px; }
  .quick-card .quick-name { font-size: 12px; }

  /* Page header */
  .page-header { padding: 28px 0; }
  .page-header h1 { font-size: 19px; }
  .page-breadcrumb { font-size: 11px; }

  /* Section titles */
  .section-title { font-size: 18px; }
  .sub-section-title { font-size: 16px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-more { align-self: flex-end; }

  /* Section padding */
  .section { padding: 36px 0; }
  .sub-content { padding: 32px 0 48px; }
  .sub-section { margin-bottom: 32px; }

  /* Gallery single column */
  .gallery-grid { grid-template-columns: 1fr; gap: 8px; }

  /* Contact bar */
  .contact-bar-text h3 { font-size: 16px; }
  .contact-bar-text p { font-size: 12px; }
  .contact-bar-tel { font-size: 20px; }
  .contact-bar-btn { padding: 10px 20px; font-size: 13px; }

  /* Hours */
  .hours-grid { gap: 12px; }
  .hours-card { padding: 16px 12px; }
  .hours-card-time { font-size: 16px; }
  .hours-card-note { font-size: 11px; }

  /* Footer */
  footer { padding: 32px 0 16px; }
  .footer-inner { gap: 20px; margin-bottom: 24px; }
  .footer-brand { font-size: 16px; }
  .footer-desc { font-size: 11px; }
  .footer-col h5 { font-size: 10px; margin-bottom: 10px; }
  .footer-col ul { gap: 5px; }
  .footer-col a { font-size: 11px; }
  .footer-copy { font-size: 10px; }
  .footer-info { font-size: 10px; }
  .footer-legal a { font-size: 10px; }

  /* About page */
  .about-text h3 { font-size: 16px; }
  .stat-number { font-size: 26px; }
  .stat-number span { font-size: 15px; }
  .stat-label { font-size: 11px; }
  .stat-card { padding: 20px 12px; }

  /* Process steps */
  .process-step-num { width: 40px; height: 40px; font-size: 14px; }
  .process-step { padding: 0 8px; }

  /* Service cards */
  .svc-card { padding: 22px 16px; }
  .svc-card h3 { font-size: 15px; }
  .svc-card p { font-size: 12px; }

  /* Contact form */
  .contact-info .contact-info-list li span { font-size: 12px; }
  .form-group input, .form-group select, .form-group textarea { font-size: 14px; padding: 12px; }
  .contact-form .form-group input,
  .contact-form .form-group select,
  .contact-form .form-group textarea { font-size: 14px; padding: 12px; }

  /* Map */
  .map-placeholder { height: 160px; }
  .map-area { height: 180px; }
  .map-transport-item { padding: 16px; }
  .map-transport-item h4 { font-size: 13px; }
  .map-transport-item p { font-size: 12px; }

  /* Mobile bottom bar */
  .mobile-bar a { padding: 8px; font-size: 12px; }
  .mobile-bar-item { font-size: 10px; }
  .mobile-bar-item svg { width: 16px; height: 16px; }

  /* Floating buttons smaller */
  .float-btn { width: 42px; height: 42px; }
  .float-btn svg { width: 18px; height: 18px; }
  .floating-btn { width: 42px; height: 42px; }
  .floating-btn svg { width: 18px; height: 18px; }

  /* Privacy page text */
  .about-text p { font-size: 13px; }

  /* Notice items */
  .notice-item { padding: 12px 0; }
  .notice-title { font-size: 12px; padding-right: 8px; }
  .notice-date { font-size: 10px; }

  /* Staff */
  .staff-career li { font-size: 11px; }
  .staff-name { font-size: 14px; }
  .staff-name span { font-size: 12px; }
}
