/* ===== 기본 ===== */
:root {
  --navy: #103b59; --navy-2: #164d6b; --navy-3: #0c2b40;
  --blue: #137ea7; --blue-2: #217797;
  --ink: #172837; --text: #3f5566; --muted: #5a6f7e;
  --line: #d6e3ea; --pale: #f2f6f8; --pale-2: #e8f1f5;
  font-family: 'Pretendard Variable', Pretendard, system-ui, -apple-system, 'Malgun Gothic', sans-serif;
  color: var(--ink); background: #fff; font-size: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; word-break: keep-all; overflow-wrap: break-word; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #62b8ea; outline-offset: 3px; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: auto; }
.skip { position: absolute; left: 10px; top: -70px; background: #fff; padding: 12px; z-index: 20; }
.skip:focus { top: 10px; }
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* PC/휴대폰 전용 표시 */
.only-desktop { display: none; }
@media (min-width: 901px) {
  .only-mobile { display: none; }
  .only-desktop { display: inline; }
  html:not(.has-kakao) .msg-link { display: none; } /* PC에서는 문자 앱이 없으므로 숨김 */
}
@media (max-width: 900px) { .copy-phone { display: none !important; } }

/* ===== 헤더 ===== */
.header { position: sticky; top: 0; background: #fff; z-index: 10; border-bottom: 1px solid #e5edf2; }
.head { height: 72px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 800; line-height: 1.1; white-space: nowrap; }
.brandmark { width: 40px; height: 40px; }
.brand small { display: block; color: #6d8798; font-size: .62rem; letter-spacing: .2em; margin-top: 4px; font-weight: 700; }
.head nav { display: flex; gap: 28px; margin: auto; font-size: .95rem; font-weight: 600; }
.head nav a:hover { color: var(--blue); }
.head-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; padding: 11px 18px; font-weight: 800; font-size: 1.05rem; border-radius: 6px; }
.head-cta .i { width: 18px; height: 18px; }
.head-cta:hover { background: #195b7d; }
.menu, .mobile-nav { display: none; }

/* ===== 버튼 ===== */
.button { min-height: 56px; padding: 14px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 1.02rem; border: 1px solid transparent; border-radius: 6px; transition: background .2s, color .2s, border-color .2s; }
.primary { background: var(--navy); color: #fff; }
.primary:hover { background: #195b7d; }
.primary strong { font-size: 1.12rem; letter-spacing: .01em; }
.secondary { border-color: #a9c1cf; color: var(--navy); background: #fff; }
.secondary:hover { border-color: var(--navy); background: var(--pale-2); }
.white { background: #fff; color: var(--navy); }
.white:hover { background: #d9eff7; }
.outline { border-color: #9bc3d5; color: #fff; }
.outline:hover { background: #ffffff20; }

/* ===== HERO ===== */
.hero { background: var(--pale); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 580px; align-items: center; gap: 56px; padding: 56px 0; }
.eyebrow, .kicker { display: inline-block; color: var(--blue-2); letter-spacing: .04em; font-weight: 800; font-size: .95rem; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4.3rem); line-height: 1.2; letter-spacing: -.04em; margin: 20px 0; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p { font-size: 1.1rem; line-height: 1.8; max-width: 580px; color: var(--text); margin: 0; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0 22px; }
.hero-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-meta li { background: #fff; border: 1px solid var(--line); color: #34566b; font-size: .9rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.hero-visual { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: #dce9ee; }
.hero-visual picture, .hero-visual img { width: 100%; height: 100%; }
.hero-visual img { object-fit: cover; object-position: 70% center; }
.photo-note { position: absolute; right: 10px; bottom: 8px; font-size: .72rem; color: #fff; text-shadow: 0 1px 3px #0008; opacity: .85; }

/* ===== TRUST ===== */
.trust { border-bottom: 1px solid #e4edf1; padding: 40px 0 32px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats > div { padding: 4px 24px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats strong { display: block; font-size: 2.3rem; font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -.02em; }
.stats strong span { font-size: 1.05rem; margin-left: 3px; letter-spacing: 0; }
.stats small { display: block; color: var(--muted); margin-top: 8px; font-size: .95rem; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.badges li { background: var(--pale); color: #34566b; font-size: .88rem; font-weight: 600; padding: 7px 12px; border-radius: 4px; }

/* ===== 공통 섹션 ===== */
.section { padding: 100px 0; scroll-margin-top: 72px; }
.pale { background: var(--pale); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section h2 { font-size: clamp(1.75rem, 3.2vw, 2.7rem); letter-spacing: -.04em; line-height: 1.3; margin: 12px 0 14px; }
.section-head p, .docs p, .contact p { color: var(--text); line-height: 1.8; font-size: 1.05rem; margin: 0; }
.note { margin: 24px 0 0; color: var(--muted); font-size: .95rem; }

/* ===== 서비스 ===== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-grid article { padding: 28px; background: var(--pale); border: 1px solid #e3ecf1; border-radius: 8px; }
.service-grid .i { width: 34px; height: 34px; color: var(--blue); }
.service-grid .service-sub { background: #fff; border-style: dashed; border-color: #bcd2de; }
.service-grid h3 { margin: 18px 0 8px; font-size: 1.2rem; }
.service-grid p { color: var(--text); line-height: 1.7; margin: 0; }

/* ===== 시설 ===== */
.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.facility { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px; transition: border-color .2s, box-shadow .2s; }
.facility:hover { border-color: var(--blue); box-shadow: 0 6px 20px #0d3b5a14; }
.facility .i { width: 34px; height: 34px; color: var(--navy); }
.facility h3 { margin: 16px 0 8px; font-size: 1.2rem; }
.facility p { color: var(--text); line-height: 1.7; margin: 0 0 16px; }
.facility .more { margin-top: auto; color: var(--blue); font-weight: 700; font-size: .95rem; }

/* ===== 소독주기 ===== */
.frequency-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.frequency-grid article { border: 1px solid var(--line); border-radius: 8px; padding: 26px; display: flex; flex-direction: column; }
.frequency-top { display: flex; align-items: center; gap: 12px; }
.frequency-top span { background: var(--navy); color: #fff; width: 32px; height: 32px; display: grid; place-items: center; font-weight: 800; border-radius: 6px; }
.frequency-top strong { font-size: 1.2rem; }
.frequency-grid article > p { line-height: 1.7; color: var(--text); margin: 16px 0 20px; }
.frequency-grid dl { margin: auto 0 0; }
.frequency-grid dl div { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid #e0eaf0; padding: 14px 0 0; margin-top: 14px; }
.frequency-grid dt { color: var(--muted); }
.frequency-grid dd { margin: 0; font-weight: 800; color: #0e4d6c; text-align: right; font-size: 1.05rem; }
.legal-note { margin: 20px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.legal-note a { text-decoration: underline; }
.inline-cta { margin-top: 28px; padding: 24px 28px; background: var(--pale-2); border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.inline-cta p { margin: 0; color: var(--text); line-height: 1.6; }
.inline-cta strong { color: var(--ink); }
.inline-cta .button { flex: none; }

/* ===== 진행과정 ===== */
.dark { background: var(--navy); color: #fff; }
.dark .kicker { color: #8fd6e8; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.steps li { border-top: 2px solid #5f9dbb; padding-top: 18px; }
.steps span { color: #8fd6e8; font-size: .9rem; font-weight: 800; }
.steps h3 { margin: 12px 0 8px; font-size: 1.15rem; }
.steps p { color: #cfe0ea; line-height: 1.7; margin: 0; }
.steps-note { margin: 36px 0 0; padding: 16px 20px; background: #ffffff14; border-left: 3px solid #8fd6e8; color: #e6f1f6; font-weight: 600; }

/* ===== 관리 경험 ===== */
.experience { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.experience .section-head { margin-bottom: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags li { border: 1px solid var(--line); color: #2c4c60; padding: 7px 13px; border-radius: 999px; font-size: .93rem; font-weight: 600; }
.timeline { border-left: 2px solid var(--line); padding-left: 28px; display: grid; gap: 30px; }
.timeline li { position: relative; }
.timeline li::before { content: ''; position: absolute; left: -36px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.timeline strong { font-size: 1.6rem; color: var(--navy); font-weight: 800; }
.timeline p { margin: 6px 0 0; color: var(--text); line-height: 1.7; }

/* ===== 갤러리 ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { position: relative; border-radius: 8px; overflow: hidden; background: #dce9ee; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; background: #ffffffeb; color: var(--navy); font-weight: 700; font-size: .9rem; padding: 5px 10px; border-radius: 4px; }
.photo-disclosure { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }

/* ===== 증명서 ===== */
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.docs-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.doc-list { margin-top: 26px; }
.doc-list li { padding: 16px 0 16px 32px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.05rem; position: relative; }
.doc-list li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 12px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }

/* ===== FAQ ===== */
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; }
.faq-list details { border-bottom: 1px solid #d0dfe7; }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 34px 22px 0; font-size: 1.08rem; font-weight: 700; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 18px; color: var(--blue); font-size: 1.4rem; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { margin: 0; padding: 0 30px 22px 0; color: var(--text); line-height: 1.8; }

/* ===== 문의 ===== */
.contact { background: var(--navy-2); color: #fff; }
.contact .kicker { color: #9cdaeb; }
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 64px; align-items: center; }
.contact p { color: #d9eaf1; }
.contact-card { background: #fff; color: #12364c; padding: 32px; border-radius: 10px; }
.contact-card > span { display: block; font-size: .9rem; color: var(--muted); font-weight: 700; }
.contact-card .big-phone { display: block; font-size: 2.1rem; font-weight: 800; margin: 6px 0 4px; color: var(--navy); letter-spacing: .01em; }
.contact-card p { color: var(--text); margin: 10px 0; }
.contact-card hr { border: 0; border-top: 1px solid #e0eaef; margin: 22px 0; }
.link-button { background: none; border: 1px solid var(--line); color: var(--navy); padding: 6px 12px; border-radius: 4px; font-size: .9rem; font-weight: 600; }
.link-button:hover { border-color: var(--navy); }
#map-link { display: inline-block; margin-top: 4px; color: #0e668b; text-decoration: underline; font-weight: 700; }

/* ===== 푸터 ===== */
footer { background: var(--navy-3); color: #fff; padding: 50px 0 60px; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 30px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 36px; height: 36px; }
footer strong { font-size: 1.25rem; }
footer p { color: #bcd0db; font-size: .92rem; line-height: 1.8; margin: 0; }
footer a { text-decoration: underline; color: #dce9ef; }
.mobile-bar { display: none; }

/* ===== 태블릿 ===== */
@media (max-width: 900px) {
  .head nav, .head-cta { display: none; }
  .menu { display: block; margin-left: auto; border: 0; background: none; color: var(--navy); font-size: 1.6rem; }
  .mobile-nav:not([hidden]) { display: grid; padding: 8px 24px 16px; background: #fff; border-top: 1px solid #e0e9ee; }
  .mobile-nav a { padding: 13px 4px; border-bottom: 1px solid #eef3f5; font-weight: 600; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; min-height: 0; padding: 48px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .service-grid, .facility-grid, .frequency-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .experience, .docs, .faq-layout, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  footer { padding-bottom: 110px; }
  .mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr; z-index: 11; background: #fff; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -5px 22px #0a30421f; gap: 8px; }
  .mobile-bar a { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 1.05rem; border-radius: 6px; background: var(--navy); color: #fff; }
  .mobile-bar a:last-child { background: #e8f1f5; color: var(--navy); }
  html.has-kakao .mobile-bar a:last-child { background: #fee500; color: #3a2e00; }
}

/* ===== 휴대폰 ===== */
@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .head { height: 60px; }
  .brand { font-size: 1.1rem; }
  .brandmark { width: 34px; height: 34px; }
  .hero-grid { padding: 36px 0 40px; gap: 28px; }
  .eyebrow { font-size: .9rem; }
  .hero h1 { font-size: 2.15rem; margin: 14px 0 16px; }
  .hero p { font-size: 1.02rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 24px 0 18px; }
  .hero-actions .button { padding: 12px 10px; }
  .hero-meta li { font-size: .88rem; padding: 5px 11px; }
  .hero-visual { aspect-ratio: 4 / 3; }
  .hero-visual img { object-position: center; }
  .trust { padding: 32px 0 26px; }
  .stats > div { padding: 0 0 0 16px; }
  .stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats strong { font-size: 1.9rem; }
  .stats strong span { font-size: .95rem; }
  .stats small { font-size: .9rem; }
  .badges { margin-top: 24px; }
  .badges li { font-size: .85rem; }
  .section { padding: 68px 0; scroll-margin-top: 60px; }
  .section-head { margin-bottom: 28px; }
  .service-grid { gap: 10px; }
  .service-grid article { padding: 18px 16px; }
  .service-grid .i { width: 28px; height: 28px; }
  .service-grid h3 { font-size: 1.05rem; margin: 12px 0 6px; }
  .service-grid p { font-size: .93rem; line-height: 1.6; }
  .facility-grid, .frequency-grid { grid-template-columns: 1fr; gap: 10px; }
  .facility { padding: 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; }
  .facility .i { grid-row: span 3; width: 30px; height: 30px; margin-top: 2px; }
  .facility h3 { margin: 0 0 6px; font-size: 1.1rem; }
  .facility p { margin: 0 0 10px; font-size: .95rem; }
  .frequency-grid article { padding: 20px; }
  .inline-cta { flex-direction: column; align-items: stretch; padding: 20px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 8px; padding: 16px 0; border-top: 1px solid #ffffff2e; }
  .steps li span { grid-row: span 2; padding-top: 3px; }
  .steps h3 { margin: 0 0 4px; }
  .gallery { gap: 8px; }
  .gallery figcaption { font-size: .8rem; left: 6px; bottom: 6px; padding: 3px 8px; }
  .faq-list summary { font-size: 1.02rem; }
  .contact-card { padding: 24px; }
  .contact-card .big-phone { font-size: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
