/* ===== 귀인 보청기 — 사이트 스타일 (원본 imweb 디자인 재현) ===== */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

:root{
  --blue:#1a6fb8;          /* 메인 블루 (제목/포인트) */
  --blue-link:#0f6cbb;     /* 로고/링크 블루 */
  --navy:#06436e;          /* 히어로 펜던트 네이비 */
  --gold:#c5a878;          /* 골드 포인트 */
  --footer:#2470b6;        /* 푸터 배경 블루 */
  --ink:#2f3a47;           /* 진한 제목색 */
  --body:#56606c;          /* 본문색 */
  --muted:#8893a0;
  --line:#e7ebf1;
  --bg:#ffffff;
  --bg-soft:#f4f7fa;       /* 연회색 섹션 */
  --bg-blue:#e9f1fa;       /* 연하늘 섹션 */
  --maxw:1140px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"Pretendard","Noto Sans KR",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo",sans-serif;
  color:var(--body);background:var(--bg);
  line-height:1.45;-webkit-font-smoothing:antialiased;font-size:16px;word-break:keep-all;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px}
.blue{color:var(--blue)}
.center{text-align:center}

/* ===== 헤더 ===== */
.site-header{
  position:sticky;top:0;left:0;width:100%;z-index:100;background:#fff;
  border-bottom:1px solid var(--line);
}
.site-header .inner{
  max-width:var(--maxw);margin:0 auto;padding:0 20px;height:80px;
  display:flex;align-items:center;justify-content:space-between;
}
.logo img{height:38px;width:auto}
.gnb{display:flex;align-items:center;gap:34px}
.gnb a{color:#3a4654;font-size:16px;font-weight:600;padding:8px 0;position:relative;white-space:nowrap}
.gnb a:hover{color:var(--blue)}
.gnb a.active{color:var(--blue)}
.gnb a.active::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--blue)}
.gnb a.tel{color:var(--blue);font-weight:700}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;width:40px;height:40px}
.nav-toggle span{display:block;width:24px;height:2px;background:#333;margin:5px auto;transition:.25s}

/* ===== 히어로 (홈) ===== */
.hero{position:relative;height:560px;overflow:hidden;background:#222}
.hero-slides{position:absolute;inset:0}
.hero-slides .slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1.1s ease}
.hero-slides .slide.on{opacity:1}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.25),rgba(0,0,0,.05))}
.hero-banner{position:absolute;z-index:3;top:50%;right:8%;transform:translateY(-50%);width:330px;max-width:42%}
.hero-dots{position:absolute;z-index:4;bottom:22px;left:0;right:0;display:flex;justify-content:center;gap:9px}
.hero-dots button{width:9px;height:9px;border-radius:50%;border:0;background:rgba(255,255,255,.55);cursor:pointer;padding:0}
.hero-dots button.on{background:#fff}

/* ===== 섹션 공통 ===== */
section{position:relative}
.sec{padding:84px 0}
.sec-soft{background:var(--bg-soft)}
.sec-blue{background:var(--bg-blue)}
.sec-title{text-align:center;margin-bottom:46px}
.sec-title h2{font-size:30px;color:var(--ink);font-weight:700;line-height:1.4}
.sec-title h2 .blue{color:var(--blue)}
.sec-title p{margin-top:16px;color:var(--muted);font-size:17px;line-height:1.75}
.eyebrow{color:var(--blue);font-weight:700;font-size:16px;margin-bottom:10px}

/* 인트로(다릅니다) */
.intro{padding:74px 0;text-align:center}
.intro h2{font-size:30px;color:var(--ink);font-weight:700}
.intro p{margin-top:18px;color:var(--body);font-size:17px;line-height:1.8}

/* 4 요약 카드 */
.usp{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:8px}
.usp .card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:34px 18px;text-align:center;box-shadow:0 6px 22px rgba(20,60,110,.05)}
.usp .ic{width:60px;height:60px;margin:0 auto 16px;color:var(--blue)}
.usp .ic svg{width:100%;height:100%}
.usp h3{font-size:17px;color:var(--ink);font-weight:700;line-height:1.5}

/* 특징 교차 행 */
.feature{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;margin:0 auto;max-width:1080px}
.feature + .feature{margin-top:76px}
.feature .txt .eyebrow{font-size:16px}
.feature .txt h3{font-size:25px;color:var(--ink);font-weight:700;margin-bottom:18px;line-height:1.45}
.feature .txt p{color:var(--body);font-size:16.5px;line-height:1.85}
.feature .img img{width:100%;border-radius:16px;box-shadow:0 14px 40px rgba(20,60,110,.13);aspect-ratio:3/2;object-fit:cover}
.feature.rev .img{order:-1}

/* 원장/부부 소개 배너 */
.profile{display:grid;grid-template-columns:1fr 1.15fr;gap:54px;align-items:center;max-width:1080px;margin:0 auto}
.profile .txt h2{font-size:28px;color:var(--ink);font-weight:700;margin-bottom:8px}
.profile .txt p{color:var(--body);font-size:16.5px;line-height:1.85;margin-top:14px}
.profile .pic img{width:100%;border-radius:14px;box-shadow:0 14px 40px rgba(20,60,110,.14)}
.btn-line{display:inline-block;margin-top:24px;padding:12px 26px;border:1.5px solid var(--blue);color:var(--blue);border-radius:30px;font-weight:700;font-size:15px;transition:.2s}
.btn-line:hover{background:var(--blue);color:#fff}

/* 정부지원 */
.gov{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center;max-width:1060px;margin:0 auto}
.gov .txt p{font-size:16.5px;line-height:1.9;color:var(--body)}
.gov .txt p b{color:var(--ink)}
.gov .txt .hl{color:var(--blue);font-weight:700}
.gov .pic img{width:100%;border-radius:16px}
.steps{max-width:760px;margin:46px auto 0}
.steps h3{text-align:center;color:var(--ink);font-size:20px;font-weight:700;margin-bottom:26px}
.steps ol{list-style:none;counter-reset:s;display:grid;gap:12px}
.steps li{counter-increment:s;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 18px 16px 60px;position:relative;font-size:15.5px;color:var(--ink);font-weight:500}
.steps li::before{content:counter(s);position:absolute;left:14px;top:50%;transform:translateY(-50%);width:32px;height:32px;background:var(--blue);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px}

/* 둘러보기 미리보기 그리드 */
.tour-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:1080px;margin:0 auto}
.tour-grid img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:12px}

/* ===== 서브페이지 헤더 ===== */
.page-hero{position:relative;height:260px;display:flex;align-items:center;justify-content:center;text-align:center;background-size:cover;background-position:center;color:#fff}
.page-hero::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.5)}
.page-hero .ph-inner{position:relative;z-index:2}
.page-hero .ic{width:42px;margin:0 auto 12px;opacity:.95}
.page-hero h1{font-size:32px;font-weight:700;letter-spacing:.04em}
.subnav{background:var(--footer);}
.subnav .inner{max-width:var(--maxw);margin:0 auto;display:flex;justify-content:center;gap:30px;flex-wrap:wrap;padding:13px 20px}
.subnav a{color:rgba(255,255,255,.78);font-size:14.5px;font-weight:500}
.subnav a.active,.subnav a:hover{color:#fff;font-weight:700}

/* 자격증 그리드 */
.cert-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;max-width:1080px;margin:30px auto 0}
.cert-grid img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:10px;box-shadow:0 8px 24px rgba(20,60,110,.1)}
.director-banner{max-width:1080px;margin:0 auto;border-radius:14px;overflow:hidden;box-shadow:0 14px 40px rgba(20,60,110,.14)}
.director-banner img{width:100%}

/* ===== 둘러보기 갤러리 슬라이더 ===== */
.gallery{max-width:1100px;margin:0 auto}
.gallery .stage{position:relative;border-radius:16px;overflow:hidden;background:#000}
.gallery .stage img{width:100%;aspect-ratio:16/9;object-fit:cover}
.gallery .nav{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.85);cursor:pointer;font-size:20px;color:#333;display:flex;align-items:center;justify-content:center}
.gallery .nav.prev{left:14px}.gallery .nav.next{right:14px}
.gallery .thumbs{display:grid;grid-template-columns:repeat(8,1fr);gap:8px;margin-top:12px}
.gallery .thumbs img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:7px;cursor:pointer;opacity:.55;transition:.2s}
.gallery .thumbs img.on,.gallery .thumbs img:hover{opacity:1;outline:2px solid var(--blue)}

/* ===== 오시는길 ===== */
.mapbox{max-width:1080px;margin:0 auto;border-radius:14px;overflow:hidden;border:1px solid var(--line)}
.mapbox iframe,.mapbox img{width:100%;height:420px;border:0;display:block;object-fit:cover}
.map-actions{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;margin:26px 0 0}
.btn-map{display:inline-flex;align-items:center;gap:7px;padding:12px 22px;border-radius:8px;font-weight:700;font-size:15px;color:#fff}
.btn-naver{background:#03c75a}.btn-kakao{background:#fae100;color:#371d1e}
.tag-park{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:#3a4654;font-size:15px}
.info-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;max-width:1000px;margin:60px auto 0;background:var(--bg-blue);border-radius:16px;padding:46px 40px}
.info-cols h3{color:var(--blue);font-size:19px;font-weight:700;margin-bottom:14px}
.info-cols p,.info-cols li{color:var(--body);font-size:16px;line-height:1.85;list-style:none}
.info-cols .hours span{display:inline-block;min-width:62px;font-weight:700;color:var(--ink)}

/* ===== 문의 ===== */
.contact-box{text-align:center;padding:30px 0}
.contact-box h2{font-size:28px;color:var(--ink);font-weight:700}
.contact-box p{margin-top:16px;color:var(--body);font-size:17px;line-height:1.8}
.contact-tel{display:inline-flex;align-items:center;gap:12px;margin-top:30px;font-size:30px;font-weight:800;color:var(--ink)}
.contact-tel svg{width:30px;height:30px;color:var(--blue)}

/* ===== 푸터 ===== */
.site-footer{background:var(--footer);color:#fff;text-align:center;padding:54px 20px 60px}
.site-footer .flogo img{height:36px;margin:0 auto 22px;filter:brightness(0) invert(1)}
.site-footer .policy{display:flex;justify-content:center;gap:16px;color:rgba(255,255,255,.85);font-size:14px;margin-bottom:22px}
.site-footer .policy span{opacity:.5}
.site-footer .biz{color:rgba(255,255,255,.9);font-size:14px;line-height:1.95}
.site-footer .copy{color:rgba(255,255,255,.7);font-size:13px;margin-top:18px}
.site-footer .fmap{display:flex;justify-content:center;gap:12px;margin-top:24px;flex-wrap:wrap}
.site-footer .fmap a{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.3);color:#fff;padding:9px 18px;border-radius:7px;font-size:14px;font-weight:600}
.site-footer .fmap a:hover{background:rgba(255,255,255,.22)}

/* 떠있는 전화 버튼 (모바일) */
.float-call{position:fixed;right:18px;bottom:18px;z-index:90;background:var(--blue);color:#fff;width:58px;height:58px;border-radius:50%;display:none;align-items:center;justify-content:center;box-shadow:0 8px 22px rgba(20,60,110,.35)}
.float-call svg{width:26px;height:26px}

/* ===== 반응형 ===== */
@media (max-width:900px){
  .gnb{position:fixed;top:80px;right:0;left:0;background:#fff;flex-direction:column;gap:0;border-top:1px solid var(--line);max-height:0;overflow:hidden;transition:max-height .3s ease}
  .gnb.open{max-height:420px;box-shadow:0 18px 30px rgba(0,0,0,.08)}
  .gnb a{width:100%;text-align:center;padding:16px;border-bottom:1px solid var(--line)}
  .gnb a.active::after{display:none}
  .nav-toggle{display:block}
  .nav-toggle.x span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .nav-toggle.x span:nth-child(2){opacity:0}
  .nav-toggle.x span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .hero{height:420px}
  .hero-banner{right:50%;transform:translate(50%,-50%);width:260px;max-width:74%}
  .usp{grid-template-columns:repeat(2,1fr)}
  .feature,.profile,.gov{grid-template-columns:1fr;gap:26px}
  .feature.rev .img{order:0}
  .profile .pic{order:-1}
  .tour-grid{grid-template-columns:repeat(2,1fr)}
  .cert-grid{grid-template-columns:repeat(2,1fr)}
  .gallery .thumbs{grid-template-columns:repeat(4,1fr)}
  .info-cols{grid-template-columns:1fr;gap:24px;padding:34px 26px}
  .subnav{display:none}
  .sec{padding:58px 0}
  .sec-title h2,.intro h2{font-size:24px}
  .float-call{display:flex}
}
@media (max-width:480px){
  .usp{grid-template-columns:1fr}
  .tour-grid{grid-template-columns:1fr}
  .gallery .thumbs{grid-template-columns:repeat(3,1fr)}
  .page-hero h1{font-size:25px}
}

/* ===== 함께하는 사람들 — 구성원 프로필 ===== */
.staff{max-width:1000px;margin:0 auto;display:grid;gap:26px}
.member{display:grid;grid-template-columns:230px 1fr;gap:40px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:32px 40px;box-shadow:0 10px 30px rgba(20,60,110,.06)}
.member .photo img{width:100%;border-radius:14px;aspect-ratio:3/4;object-fit:cover;object-position:top;background:#eef2f7;box-shadow:0 8px 22px rgba(20,60,110,.13)}
.member .bio .role{color:var(--blue);font-weight:700;font-size:14px}
.member .bio h3{font-size:24px;color:var(--ink);font-weight:800;margin:3px 0 18px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.member .bio .badge{font-size:12px;font-weight:700;color:#fff;background:var(--blue);padding:3px 12px;border-radius:30px}
.member .bio ul{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:9px 26px}
.member .bio li{position:relative;padding-left:15px;color:var(--body);font-size:14.5px;line-height:1.5}
.member .bio li::before{content:"";position:absolute;left:0;top:8px;width:5px;height:5px;border-radius:50%;background:var(--blue)}
@media (max-width:760px){
  .member{grid-template-columns:1fr;gap:20px;padding:26px 22px;text-align:center}
  .member .photo{max-width:188px;margin:0 auto}
  .member .bio h3{justify-content:center}
  .member .bio ul{grid-template-columns:1fr;text-align:left;max-width:330px;margin:0 auto;gap:7px}
}

/* ===== 오시는길 — 지점 카드 ===== */
.branches{max-width:1040px;margin:0 auto 50px;display:grid;gap:28px}
.branch{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(20,60,110,.06)}
.branch-head{display:flex;align-items:center;gap:10px;padding:22px 28px 16px}
.branch-head h3{font-size:21px;color:var(--ink);font-weight:800}
.branch-head .badge{font-size:12px;font-weight:700;color:#fff;background:var(--blue);padding:3px 12px;border-radius:30px}
.branch-body{display:grid;grid-template-columns:1.25fr 1fr}
.branch .map{background:#eef2f7}
.branch .map iframe,.branch .map img{width:100%;height:100%;min-height:300px;border:0;display:block;object-fit:cover}
.branch-info{padding:26px 30px;display:flex;flex-direction:column;justify-content:center;gap:16px}
.branch-info .addr{color:var(--ink);font-size:15.5px;line-height:1.75;font-weight:500}
.branch-info .row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
@media (max-width:760px){
  .branch-body{grid-template-columns:1fr}
  .branch .map iframe,.branch .map img{min-height:220px}
  .branch-info{padding:22px 24px}
}
.bus-info{background:var(--bg-soft);border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.bus-info .bus-title{font-weight:700;color:var(--blue);font-size:15px;margin-bottom:7px}
.bus-info p{color:var(--body);font-size:14px;line-height:1.65;margin:0}
.bus-info p b{color:var(--ink);font-weight:700}
.bus-info .bus-note{color:var(--muted);font-size:12.5px;margin-top:7px}

/* ===== 자주 묻는 질문(FAQ) ===== */
.faq{max-width:820px;margin:0 auto;display:grid;gap:12px}
.faq details{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 5px 18px rgba(20,60,110,.05)}
.faq summary{cursor:pointer;list-style:none;padding:18px 22px;font-weight:700;color:var(--ink);font-size:16.5px;display:flex;justify-content:space-between;align-items:center;gap:14px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--blue);font-size:24px;font-weight:400;line-height:1}
.faq details[open] summary::after{content:"\2212"}
.faq summary:hover{color:var(--blue)}
.faq .a{padding:0 22px 20px;color:var(--body);font-size:15.5px;line-height:1.8}
.faq .a b{color:var(--ink)}

/* 화면에는 안 보이고 검색엔진·스크린리더만 읽는 텍스트 */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* 언어 전환(EN/한국어) 버튼 */
.gnb a.lang{border:1.5px solid var(--line);border-radius:20px;padding:5px 13px;font-size:13px;color:var(--muted)}
.gnb a.lang:hover{border-color:var(--blue);color:var(--blue)}
