/* ==========================================================================
   동행재가복지센터 v2
   PC(901px~)  : 메뉴별 한 화면 전환 · 스크롤 없음 · 슬림 푸터 고정
   모바일(~900px): 전체 섹션 세로 스크롤 · 푸터 맨 끝 한 번
   ========================================================================== */

:root{
  --cream:#FFFBF2;
  --cream-deep:#FFF4E0;
  --lime:#DFEBAE;
  --lime-soft:#F3F7E3;
  --lime-deep:#C9DD83;
  --olive:#5C7626;
  --teal:#0F6B5B;
  --teal-deep:#0A4B41;
  --teal-soft:#E4F2ED;
  --navy:#1B3657;
  --pink:#F0708C;
  --pink-deep:#D94E70;
  --pink-soft:#FFE6EC;
  --sky:#E3F0F7;
  --sand:#F8EBD1;
  --ink:#22312C;
  --muted:#5F6F68;
  --line:#E8E9DC;
  --white:#fff;
  --shadow:0 20px 50px rgba(27,54,87,.10);
  --shadow-soft:0 10px 28px rgba(27,54,87,.07);
}

*,*::before,*::after{box-sizing:border-box}

html{
  font-size:112.5%;
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  background-color:var(--cream);
}

body{
  margin:0;
  color:var(--ink);
  background-color:var(--cream);
  background-image:radial-gradient(rgba(15,107,91,.045) 1.3px,transparent 1.3px);
  background-size:26px 26px;
  font-family:"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  word-break:keep-all;
  overflow-wrap:break-word;
}

h1,h2,h3,h4{
  margin:0;
  font-family:"Jua","Noto Sans KR",sans-serif;
  font-weight:400;
  line-height:1.3;
  letter-spacing:-.02em;
  color:var(--teal-deep);
}
p{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
:focus-visible{outline:3px solid var(--pink);outline-offset:3px;border-radius:8px}
.pages:focus,.pages:focus-visible,.page:focus,.page:focus-visible,.page-inner:focus,.page-inner:focus-visible,.footer-full:focus,.footer-full:focus-visible{outline:none}
::selection{background:var(--lime-deep);color:var(--teal-deep)}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.icon{display:inline-block;width:24px;height:24px;flex:none;vertical-align:middle}
.container{width:min(1240px,calc(100% - 48px));margin-inline:auto}
.skip-link{position:fixed;top:-100px;left:16px;z-index:200;background:var(--teal-deep);color:#fff;padding:12px 20px;border-radius:0 0 12px 12px;font-weight:700;transition:top .2s}
.skip-link:focus{top:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  min-height:52px;padding:0 24px;border:1.5px solid transparent;border-radius:999px;
  font-size:.92rem;font-weight:700;line-height:1.2;white-space:nowrap;cursor:pointer;
  transition:transform .25s ease,background .25s ease,box-shadow .25s ease,border-color .25s ease,color .25s ease;
}
.btn .icon{width:20px;height:20px}
.btn--primary{background:var(--teal);color:#fff;box-shadow:0 10px 22px rgba(15,107,91,.20)}
.btn--primary:hover{background:var(--teal-deep);transform:translateY(-2px);box-shadow:0 14px 28px rgba(15,107,91,.26)}
.btn--ghost{background:#fff;border-color:rgba(15,107,91,.22);color:var(--teal-deep);box-shadow:0 4px 14px rgba(27,54,87,.05)}
.btn--ghost:hover{border-color:var(--teal);transform:translateY(-2px)}
.btn--sm{min-height:46px;padding:0 18px;font-size:.86rem}
.btn--kakao{background:#FFF9D6;border-color:#F0DD78;color:#3C1E1E}
.btn--kakao:hover:not(:disabled){background:#FFF3B0;transform:translateY(-2px)}
.btn--naver{background:#EAF8EF;border-color:#A8D9B9;color:#176A3B}
.btn--naver:hover:not(:disabled){background:#DCF2E5;transform:translateY(-2px)}
.btn img{width:25px;height:25px;flex:none}
.btn:disabled{opacity:.88;cursor:not-allowed}
.btn:disabled:hover{transform:none}

/* header */
.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(255,251,242,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(232,233,220,.95);
  transition:box-shadow .3s;
}
.site-header.is-scrolled{box-shadow:0 8px 30px rgba(27,54,87,.08)}
.header-inner{position:relative;display:flex;align-items:center;gap:clamp(10px,1.4vw,24px);min-height:86px}

/* logo lockup — header & footer share the same size */
.brand{display:flex;align-items:center;gap:13px;margin-right:auto;border-radius:16px}
.brand-mark{
  display:grid;place-items:center;flex:none;
  width:56px;height:56px;border-radius:16px;
  background:var(--lime);color:var(--teal);
}
.brand-mark .icon{width:34px;height:34px}
.brand-text{display:flex;flex-direction:column;align-items:stretch;width:max-content;max-width:100%}
.brand-text strong{
  display:block;white-space:nowrap;
  font-family:"Jua","Noto Sans KR",sans-serif;font-weight:400;
  font-size:1.5rem;line-height:1.15;letter-spacing:0;color:var(--teal-deep);
}
.brand-en{
  display:flex;justify-content:space-between;align-items:baseline;gap:0;width:100%;
  margin-top:3px;
  font-size:.64rem;font-weight:700;letter-spacing:.08em;line-height:1;color:var(--olive);
}
.brand-en span:last-child{margin-right:-.08em}

.site-nav{display:flex;align-items:center;gap:2px}
.site-nav a{
  position:relative;
  display:block;padding:10px 12px;border-radius:999px;
  font-size:.88rem;font-weight:700;line-height:1.2;color:#33473F;white-space:nowrap;
  transition:background .2s,color .2s;
}
.site-nav a:hover{background:var(--lime-soft);color:var(--teal)}
.site-nav a[aria-current="page"]{background:transparent;color:var(--teal-deep)}
.site-nav a[aria-current="page"]::after{
  content:"";position:absolute;left:12px;right:12px;bottom:4px;
  height:2px;border-radius:2px;background:#138045;
}
.header-cta{flex:none}
.header-call{display:none}

/* page shell */
.pages{position:relative}
.page{position:relative;isolation:isolate;scroll-margin-top:80px}
.page-inner{width:calc(100% - 36px);margin-inline:auto;padding:56px 0}

.page--home{background:linear-gradient(165deg,#FBF7E7 0%,#F1F6DA 52%,#E3EDB8 100%)}
.page--services{background:var(--lime-soft)}
.page--about{background:linear-gradient(180deg,var(--cream) 0%,#FFF6E6 100%)}
.page--guide{background:var(--cream)}
.page--hours{background:linear-gradient(165deg,#FBF7E7 0%,#F1F6DA 52%,#E3EDB8 100%);color:var(--ink)}
.contact-deco{
  position:absolute;right:-130px;bottom:0;z-index:0;
  height:100%;width:auto;
  color:#fff;opacity:.5;pointer-events:none;
  filter:drop-shadow(0 1px 1px rgba(19,128,69,.18));
  transform:scaleX(1.08) scaleY(1.2143);
  transform-origin:50% 15%;
}
.deco-layer{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
#hours{overflow:hidden}
.page--hours .page-inner{position:relative;z-index:1}
.page--blank{
  background-color:#FBF9EC;
  background-image:
    radial-gradient(rgba(15,107,91,.055) 1.3px,transparent 1.3px),
    radial-gradient(circle at 16% 18%,rgba(223,235,174,.55),transparent 40%),
    radial-gradient(circle at 86% 82%,rgba(248,235,209,.60),transparent 44%),
    linear-gradient(160deg,#FFFBF2 0%,#F3F8E5 100%);
  background-size:26px 26px,auto,auto,auto;
}
#inquiry{background:var(--cream)}

/* ==========================================================================
   HOME
   ========================================================================== */
.hero-grid{display:grid;gap:40px;align-items:center}
.hero-copy h1{
  margin:18px 0 20px;
  font-size:clamp(2.15rem,8.4vw,3.1rem);
  line-height:1.16;color:#163A32;
}
.hero-copy h1 .hero-line1,
.hero-copy h1 .hero-line2{display:inline}
.hero-copy h1 .hero-line2{padding-left:0}
.hero-copy h1 .mark{position:relative;display:inline-block;color:var(--teal)}
.hero-bang-text{color:var(--teal);margin-left:.068em}
.squiggle{position:absolute;left:1%;bottom:-.14em;width:98%;height:.2em;overflow:visible;pointer-events:none}
.eyebrow{
  --badge-scale:1.2;
  display:inline-flex;align-items:center;justify-content:center;gap:calc(8px * var(--badge-scale));
  max-width:100%;padding:calc(6px * var(--badge-scale)) calc(14px * var(--badge-scale));
  border:calc(1px * var(--badge-scale)) solid var(--line);border-radius:999px;
  background:#fff;font-size:calc(.76rem * var(--badge-scale));line-height:1.75;font-weight:700;letter-spacing:.01em;color:var(--teal);
}
.eyebrow::before{content:"";width:calc(7px * var(--badge-scale));height:calc(7px * var(--badge-scale));border-radius:50%;background:var(--pink);flex:none}
.hero-lead{max-width:34em;font-size:.98rem;line-height:1.85;color:#40544B}
.hero-lead strong{color:var(--teal-deep)}
.hero-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:26px}
.hero-actions .btn{min-width:0}

.hero-visual{position:relative;display:flex;justify-content:center;padding:8px 18px 20px}
.arch-wrap{position:relative;width:min(100%,340px)}
.arch-wrap::before{
  content:"";position:absolute;inset:-14px;
  border:2px solid rgba(15,107,91,.28);
  border-radius:230px 230px 44px 44px;
}
.hero-arch{
  position:relative;z-index:1;width:100%;aspect-ratio:4/5;overflow:hidden;
  border:8px solid #fff;border-radius:220px 220px 34px 34px;
  background:var(--lime-soft);
  box-shadow:0 26px 54px rgba(43,71,29,.18);
}
.hero-arch-img{position:absolute;inset:0;z-index:1;display:block;width:100%;height:100%;object-fit:cover}
.hero-art{display:none}
.hero-badge-wrap{width:min(380px,50vh,100%);max-width:100%;min-width:0;margin-left:auto}
.hero-visual{min-width:0}
.hero-badge{
  display:block;width:100%;height:auto;
  -webkit-mask-image:radial-gradient(circle closest-side at 50% 50%,#000 96%,transparent 96.5%);
  -webkit-mask-repeat:no-repeat;-webkit-mask-size:100% 100%;
  mask-image:radial-gradient(circle closest-side at 50% 50%,#000 96%,transparent 96.5%);
  mask-repeat:no-repeat;mask-size:100% 100%;
  filter:drop-shadow(0 22px 34px rgba(43,71,29,.22));
}

/* trust */
.trust-card{
  display:grid;grid-template-columns:1fr;gap:0;
  margin-top:26px;padding:8px 20px;
  background:#fff;border:1px solid #F0EEE0;border-radius:24px;
  box-shadow:var(--shadow);
}
.trust-card li{display:flex;align-items:center;gap:14px;padding:15px 0;border-top:1px dashed var(--line)}
.trust-card li:first-child{border-top:0}
.trust-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:var(--lime-soft);color:var(--teal);flex:none}
.trust-icon .icon{width:26px;height:26px}
.trust-card strong{display:block;font-size:.94rem;line-height:1.45;color:var(--teal-deep)}
.trust-card li>div>span{display:block;font-size:.84rem;line-height:1.5;color:var(--muted)}

/* ==========================================================================
   SHARED SECTION HEAD
   ========================================================================== */
.page-head{max-width:780px;margin:0 auto 30px;text-align:center}
.page-head h2{margin:14px 0 10px;font-size:clamp(1.9rem,7vw,2.4rem);text-wrap:balance}
.page-head h2 em{font-style:normal;color:var(--teal);background:linear-gradient(transparent 68%,rgba(223,235,174,.85) 68%);padding:0 .04em}
.page-head p:not(.eyebrow){font-size:.94rem;line-height:1.8;color:var(--muted)}
.sub-label{display:flex;align-items:center;justify-content:center;gap:10px;margin:30px 0 18px;font-size:.78rem;font-weight:900;letter-spacing:.08em;color:var(--olive)}
.sub-label::before,.sub-label::after{content:"";width:34px;border-top:1px dashed #CBD8A9}
.procedure-badge{display:flex;width:max-content;max-width:100%;margin:24px auto 16px}
html.js .page--placeholder .page-inner{justify-content:flex-start;padding-top:clamp(36px,6vh,72px)}
.placeholder-head{max-width:none;margin:0;text-align:center}

/* ==========================================================================
   GUIDE  (이런 경우 + 이용 안내)
   ========================================================================== */
.case-grid{display:grid;grid-template-columns:1fr;gap:14px}
.case-card{
  position:relative;padding:22px 20px;
  background:#fff;border:1px solid #EDEBDD;border-radius:22px;
  box-shadow:0 6px 18px rgba(27,54,87,.04);
}
.case-icon{display:grid;place-items:center;width:56px;height:56px;margin-bottom:16px;border-radius:18px;color:var(--teal)}
.case-icon .icon{width:29px;height:29px}
.case-icon--lime{background:var(--lime-soft);color:var(--olive)}
.case-icon--pink{background:var(--pink-soft);color:var(--pink-deep)}
.case-icon--sky{background:var(--sky);color:#2C6E8E}
.case-icon--sand{background:var(--sand);color:#A4762A}
.case-card h3{margin-bottom:7px;font-size:1.08rem;line-height:1.42;text-wrap:balance}
.case-card p{font-size:.9rem;line-height:1.7;color:var(--muted)}
.case-num{position:absolute;top:14px;right:18px;font-family:"Jua";font-size:1.9rem;line-height:1;color:rgba(201,221,131,.55)}

.steps{display:grid;grid-template-columns:1fr;gap:26px;margin-top:4px}
.step{display:grid;grid-template-columns:56px 1fr;gap:16px;align-items:center}
.step-num{display:grid;place-items:center;width:56px;height:56px;border:5px solid var(--cream);border-radius:50%;background:var(--teal);color:#fff;font-family:"Jua";font-size:1.12rem;box-shadow:0 10px 20px rgba(15,107,91,.18)}
.step h3{margin-bottom:5px;font-size:1.04rem;text-wrap:balance}
.step p{font-size:.88rem;line-height:1.7;color:var(--muted)}

.target{
  display:grid;grid-template-columns:1fr;gap:16px;
  margin-top:32px;padding:22px;
  border:1px solid #D3E29B;border-radius:26px;
  background:linear-gradient(120deg,#E9F2C8,#DDEBA8);
}
.target-head{display:flex;align-items:center;gap:16px}
.target-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#fff;color:var(--teal);flex:none}
.target-icon .icon{width:29px;height:29px}
.target-kicker{display:inline-block;margin-bottom:3px;font-size:.72rem;font-weight:900;letter-spacing:.08em;color:var(--olive)}
.target-copy p{font-size:.94rem;line-height:1.65;color:#33473F}
.target-copy strong{color:var(--teal-deep)}
.target-copy .target-sub{margin-top:3px;font-size:.84rem;color:#4F6343}
.target-actions{display:flex;flex-direction:column;align-items:flex-start;gap:10px}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-head{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:26px}
.services-head .page-head{margin:0;text-align:left;max-width:760px}
.consult{
  display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px;
  margin-bottom:18px;padding:18px;
  background:#fff;border:1.5px solid rgba(15,107,91,.20);border-radius:24px;
  box-shadow:var(--shadow-soft);
}
.consult-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:var(--lime-soft);color:var(--teal);flex:none}
.consult-icon .icon{width:32px;height:32px}
.consult-copy small{display:block;font-size:.74rem;font-weight:700;letter-spacing:.02em;color:var(--olive)}
.consult-copy strong{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-family:"Jua";font-weight:400;font-size:1.22rem;line-height:1.35;color:var(--teal-deep)}
.consult>.btn{grid-column:1/-1;width:100%}
.service-grid{display:grid;grid-template-columns:1fr;gap:12px}
.service-card{padding:22px 20px;background:#fff;border:1px solid #E9EDDC;border-radius:22px}
.service-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:15px;border-radius:16px;background:var(--teal-soft);color:var(--teal)}
.service-icon .icon{width:27px;height:27px}
.service-card h3{margin-bottom:6px;font-size:1rem;line-height:1.42;text-wrap:balance}
.service-card p{font-size:.88rem;line-height:1.7;color:var(--muted)}
.service-note{margin-top:18px;font-size:.82rem;line-height:1.6;color:var(--muted)}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid{display:grid;gap:30px;align-items:center}
.about-card{
  position:relative;display:flex;flex-direction:column;justify-content:space-between;
  min-height:330px;padding:28px;overflow:hidden;
  border-radius:38px 38px 110px 38px;
  background:linear-gradient(150deg,#EAF2C9,#D8E79F);
  box-shadow:0 24px 50px rgba(89,110,44,.14);
}
.about-card::before{content:"";position:absolute;right:-70px;bottom:-60px;width:280px;height:280px;border-radius:50%;background:rgba(255,255,255,.35)}
.about-house{position:relative;z-index:1;display:grid;place-items:center;width:60px;height:60px;border-radius:20px;background:#fff;color:var(--teal)}
.about-house .icon{width:34px;height:34px}
.about-quote{position:relative;z-index:1;margin-top:28px;font-family:"Jua";font-size:clamp(1.62rem,6vw,2rem);line-height:1.42;color:var(--teal-deep)}
.about-quote span{color:var(--pink-deep)}
.about-hand{position:relative;z-index:1;margin-top:16px;padding-left:28px;font-family:"Nanum Pen Script";font-size:1.4rem;line-height:1.3;color:#4E6432}
.about-hand::before{content:"";position:absolute;left:0;top:12px;width:18px;border-top:2px solid #91A952}
.about-copy h2{margin:14px 0 18px;font-size:clamp(1.9rem,6.6vw,2.5rem)}
.about-copy h2 em{font-style:normal;color:var(--teal);background:linear-gradient(transparent 68%,rgba(223,235,174,.85) 68%)}
.about-copy p:not(.eyebrow){margin-bottom:13px;font-size:.94rem;line-height:1.85;color:var(--muted)}
.director-line{
  margin-top:22px;padding-top:20px;
  font-family:"Jua","Noto Sans KR",sans-serif;
  font-size:1.12rem;line-height:1.5;color:#42554C;
}
.director-line strong{font-weight:400;color:var(--teal-deep)}

/* ==========================================================================
   HOURS  (운영시간)
   ========================================================================== */
.hours-grid{display:grid;gap:30px;align-items:center}

.hours-copy h2{margin:16px 0 10px;font-size:clamp(1.9rem,6.8vw,2.8rem);line-height:1.35;color:var(--teal-deep)}
.hours-copy h2 .hand{display:inline-block;font-family:"Nanum Pen Script";font-size:1.16em;line-height:1.1;color:var(--pink)}
.hand-heart{
  display:inline-block;width:1.125em;height:.9em;margin-left:.08em;vertical-align:-.1em;
  background:currentColor;
  -webkit-mask:url("assets/heart-hand-hi.png") center / contain no-repeat;
  mask:url("assets/heart-hand-hi.png") center / contain no-repeat;
}
.contact-phone{display:inline-flex;align-items:center;gap:10px;margin-top:16px;font-family:"Jua";font-size:clamp(1.95rem,7vw,2.9rem);line-height:1.2;color:#fff}
.contact-phone .icon{width:28px;height:28px;color:var(--lime)}
.contact-phone:hover{color:var(--lime)}
.hours-line{display:inline-flex;align-items:center;gap:8px;margin-top:10px;padding:7px 14px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.12);font-size:.84rem;color:#fff}
.hours-line .icon{width:17px;height:17px;color:var(--lime)}
.hours-line strong{color:#fff}
.biz-info{margin-top:18px;font-size:.76rem;line-height:1.7;color:rgba(255,255,255,.72)}

.contact-card{padding:22px;border-radius:26px;background:#FFFDF8;color:var(--ink);box-shadow:0 26px 60px rgba(0,0,0,.22)}
.contact-card-head{display:flex;align-items:center;gap:11px;padding-bottom:16px;border-bottom:1px dashed #E3E5D6}
.contact-card-head .brand-mark{width:44px;height:44px;border-radius:13px}
.contact-card-head .brand-mark .icon{width:27px;height:27px}
.contact-card-head strong{display:block;font-family:"Jua";font-weight:400;font-size:1.1rem;line-height:1.3;color:var(--teal-deep)}
.contact-card-head small{display:block;font-size:.54rem;font-weight:700;letter-spacing:.13em;color:var(--olive)}
.contact-list{display:grid;gap:2px;padding:10px 0}
.contact-list li{display:flex;align-items:flex-start;gap:11px;padding:7px 0;font-size:.9rem;line-height:1.6;color:#3D4D46}
.contact-list .icon{width:19px;height:19px;margin-top:4px;color:var(--teal);flex:none}
.contact-list strong{display:block;font-size:.7rem;font-weight:700;color:var(--muted)}
.contact-card .btn{width:100%}
.contact-card .btn + .btn{margin-top:8px}
.contact-card-note{margin-top:10px;text-align:center;font-size:.72rem;color:var(--muted)}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.link-btn{font-size:inherit;text-decoration:underline;text-underline-offset:3px;color:#42554C}
.link-btn:hover{color:var(--teal)}

.footer-full{background:var(--cream);border-top:1px solid var(--line);padding:40px 0 calc(26px + env(safe-area-inset-bottom))}
.footer-top{display:flex;flex-direction:column;align-items:center;gap:24px}
.footer-brand{display:flex;flex-direction:column;width:max-content;max-width:100%;gap:4px}
.footer-brand-row{display:flex;align-items:center;justify-content:center;gap:6px}
.footer-brand-mark{display:block;border-radius:10px}
.footer-brand .brand-mark{width:30px;height:30px;border-radius:9px}
.footer-brand .brand-mark .icon{width:19px;height:19px}
.footer-brand .brand-text strong{font-size:.744rem}
.footer-brand .brand-en{font-size:.36rem}
.footer-tag{font-size:.5rem;line-height:1.45;color:var(--muted);text-align:center;white-space:nowrap;width:100%}
.footer-cols{display:grid;gap:24px;margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
.footer-full h3{margin-bottom:8px;font-family:"Noto Sans KR",sans-serif;font-size:.74rem;font-weight:900;letter-spacing:.08em;color:var(--olive)}
.footer-nav{display:grid;grid-template-columns:1fr 1fr;gap:4px 14px}
.footer-nav a{font-size:.82rem;color:#42554C}
.footer-nav a:hover{color:var(--teal)}
.footer-info{width:100%}
.footer-info p{font-size:.78rem;line-height:1.45;color:var(--muted)}
.footer-info strong{color:var(--teal);font-weight:800}
.footer-info .fi-label{display:inline-flex;justify-content:space-between;width:3.68em;white-space:nowrap;vertical-align:baseline}
.footer-info .fi-label-base{display:inline-block;width:3.68em;white-space:nowrap}
.footer-info .fi-label-wide{display:inline-block;width:auto;white-space:nowrap}
.footer-info .fi-value{display:inline;margin-left:.6em}
.footer-info-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 2.2em}
.footer-info-address{margin-top:2px}
.footer-info-row--bottom{margin-top:2px}
.footer-info-grid{display:grid;grid-template-columns:1fr;gap:0}
.footer-info-full{grid-column:1/-1}
.footer-bottom{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:24px;padding-top:16px;border-top:1px solid var(--line);font-size:.7rem;color:var(--muted);text-align:center}

/* ==========================================================================
   DIALOG
   ========================================================================== */
dialog{width:min(620px,calc(100% - 32px));max-height:85vh;padding:0;overflow:auto;border:0;border-radius:24px;background:#FFFDF8;box-shadow:0 30px 80px rgba(0,0,0,.35)}
dialog::backdrop{background:rgba(16,32,26,.55);backdrop-filter:blur(3px)}
.dialog-inner{position:relative;padding:28px 24px 24px}
.dialog-inner h2{margin-bottom:14px;padding-right:36px;font-size:1.5rem}
.dialog-inner p{margin-bottom:10px;font-size:.86rem;line-height:1.8;color:var(--muted)}
.dialog-inner a{color:var(--teal);text-decoration:underline;text-underline-offset:2px}
.dialog-close{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--lime-soft);color:var(--teal-deep)}
.dialog-close:hover{background:var(--lime)}

/* page transition (PC) */
@keyframes pageIn{from{opacity:0}to{opacity:1}}
@media (min-width:901px){
  .page.is-active>.page-inner{animation:pageIn .4s cubic-bezier(.2,.7,.2,1) both}
}

/* ==========================================================================
   MOBILE  (~900px)
   ========================================================================== */
@media (max-width:900px){
  .site-nav--desktop,.header-cta{display:none}
  .header-inner{min-height:0;padding-block:9px}
  .header-call{
    display:grid;place-items:center;flex:none;
    width:48px;height:48px;border-radius:14px;
    background:var(--teal);color:#fff;
    box-shadow:0 8px 18px rgba(15,107,91,.20);
  }
  .header-call .icon{width:22px;height:22px}
  .brand-mark{width:50px;height:50px;border-radius:14px}
  .brand-mark .icon{width:31px;height:31px}
  .brand-text strong{font-size:1.24rem}
  .brand-en{font-size:.6rem}

  .page-inner{width:calc(100% - 36px);padding:52px 0}
  .page--home .page-inner{padding-top:34px;padding-bottom:48px}
  .page--blank{min-height:max(40vh,86vw)}
  .contact-deco{display:none}

  .hero-grid{gap:34px}
  .hero-visual{padding:6px 14px 22px}
  .arch-wrap{width:min(100%,350px)}
  .trust-card{margin-top:24px}

  .page-head{margin-bottom:24px}
  .page-head p:not(.eyebrow){font-size:.92rem}

  .case-grid{gap:12px}
  .steps{gap:22px}
  .target{margin-top:26px}
  .target-actions{flex-direction:row;align-items:center;justify-content:space-between;width:100%;flex-wrap:wrap}

  .services-head{margin-bottom:22px}
  .consult{padding:16px}
  .consult>.btn{width:100%}

  .about-card{min-height:320px;padding:26px;border-radius:34px 34px 100px 34px}
  .about-grid{gap:26px}

  .hours-grid{gap:24px}
  .contact-card{padding:20px}
  .footer-full{display:block}
}

/* ==========================================================================
   SMALL PHONES
   ========================================================================== */
@media (max-width:480px){
  .container{width:calc(100% - 32px)}
  .page-inner{width:calc(100% - 32px);padding:44px 0}
  .brand{gap:10px}
  .header-call{width:46px;height:46px}

  .hero-actions{gap:9px}
  .hero-actions .btn{width:100%}
  .hero-copy h1{font-size:clamp(1.95rem,8.8vw,2.5rem)}
  .hero-lead{font-size:.94rem}

  .case-card{padding:20px 18px}
  .case-card h3{font-size:1.02rem}
  .target{padding:18px}
  .target-head{gap:12px}
  .target-icon{width:46px;height:46px;border-radius:14px}
  .target-icon .icon{width:25px;height:25px}
  .target-actions{flex-direction:column;align-items:flex-start}
  .target-actions .btn{width:100%}

  .service-card{padding:20px 18px}
  .consult{gap:12px}
  .consult-icon{width:48px;height:48px;border-radius:14px}
  .consult-icon .icon{width:28px;height:28px}
  .consult-copy strong{font-size:1.12rem}

  .about-card{min-height:300px;padding:22px;border-radius:30px 30px 84px 30px}
  .about-quote{font-size:1.56rem}
  .about-hand{font-size:1.28rem}

  .hours-copy h2{font-size:1.85rem}
  .contact-phone{font-size:1.95rem;gap:8px}
  .contact-phone .icon{width:24px;height:24px}
  .footer-full{padding-top:34px}
}

/* ==========================================================================
   PC  (901px~)  — one page per menu, no scroll, slim footer fixed
   ========================================================================== */
@media (min-width:901px){
  html.js,html.js body{height:100%}
  html.js body{display:flex;flex-direction:column;height:100dvh;overflow:hidden}
  html.js .site-header{flex:none;position:relative}
  html.js .pages{flex:1 1 auto;min-height:0}
  html.js .page{display:none;height:100%;overflow-y:auto;overflow-x:hidden}
  html.js .page.is-active{display:block}
  html.js .page-inner{
    width:min(1240px,calc(100% - 48px));
    min-height:100%;
    display:flex;flex-direction:column;justify-content:center;
    padding-block:clamp(14px,2.6vh,30px);
  }

  /* header: one row */
  .header-inner{min-height:86px}
  .site-nav--desktop{display:flex}

  /* footer: full content, laid out horizontally to keep one screen */
  .footer-full{display:block;flex:none;padding:8px 0 calc(6px + env(safe-area-inset-bottom))}
  .footer-top{flex-direction:row;justify-content:center;gap:clamp(72px,11.25vw,162px);align-items:center}
  .footer-info{width:auto}
  .footer-brand{gap:4px}
  .footer-brand-row{gap:8px}
  .footer-brand .brand-mark{width:34px;height:34px;border-radius:10px}
  .footer-brand .brand-mark .icon{width:20px;height:20px}
  .footer-brand .brand-text strong{font-size:.9rem}
  .footer-brand .brand-en{font-size:.38rem}
  .footer-tag{margin:0;font-size:.5rem;line-height:1.45}
  .footer-cols{grid-template-columns:auto minmax(0,1fr);gap:clamp(24px,3.5vw,52px);margin-top:0;padding-top:0;border-top:0;align-items:center}
  .footer-full h3{margin-bottom:4px;font-size:.62rem}
  .footer-nav{grid-template-columns:repeat(4,auto);gap:2px 16px;justify-content:start}
  .footer-nav a{font-size:.76rem;line-height:1.7}
  .footer-info p{font-size:.68rem;line-height:1.4}
  .footer-info-grid{grid-template-columns:max-content max-content max-content;column-gap:50px;row-gap:2px}
  .footer-bottom{flex-direction:row;justify-content:center;align-items:center;gap:12px;margin-top:6px;padding-top:6px;font-size:.66rem}
  .footer-bottom .link-btn{position:absolute;right:0}

  /* home */
  .page--home .page-inner{gap:clamp(14px,2.4vh,26px);padding-block:clamp(12px,2vh,24px)}
  .hero-grid{grid-template-columns:1.18fr .82fr;gap:clamp(24px,4vw,56px)}
  .hero-copy h1{font-size:clamp(2.2rem,4.3vw,3.4rem);margin:16px 0 16px;white-space:nowrap}
  .hero-copy h1 .hero-line2{padding-left:0}
  .hero-lead{font-size:1.07rem;line-height:1.75}
  .hero-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}
  .hero-visual{justify-content:flex-end;padding:4px 10px 14px 16px}
  .arch-wrap{width:clamp(300px,42vh,460px)}
  .hero-arch{border-width:9px}

  .trust-card{grid-template-columns:repeat(3,1fr);margin-top:0;padding:14px 6px}
  .trust-card li{padding:0 clamp(14px,2vw,26px);border-top:0;border-left:1px dashed var(--line)}
  .trust-card li:first-child{border-left:0}
  .trust-icon{width:44px;height:44px;border-radius:14px}
  .trust-icon .icon{width:24px;height:24px}
  .trust-card strong{font-size:.9rem}
  .trust-card li>div>span{font-size:.8rem}

  /* shared head */
  .page-head{margin-bottom:clamp(14px,2.2vh,24px)}
  .page-head h2{font-size:clamp(1.8rem,3vw,2.5rem);margin:10px 0 8px}
  .page-head p:not(.eyebrow){font-size:.9rem;line-height:1.7}

  /* guide */
  html.js .page--guide .page-inner{gap:clamp(8px,1.4vh,14px);padding-block:clamp(10px,1.8vh,18px)}
  .page--guide .page-head{margin-bottom:0}
  .page--guide .page-head h2{font-size:clamp(1.7rem,2.6vw,2.15rem)}
  .page--guide .page-head p:not(.eyebrow){font-size:.86rem}
  .case-grid{grid-template-columns:repeat(4,1fr);gap:12px}
  .case-card{padding:14px}
  .case-icon{width:42px;height:42px;margin-bottom:9px;border-radius:13px}
  .case-icon .icon{width:22px;height:22px}
  .case-card h3{font-size:.93rem;line-height:1.38;margin-bottom:4px}
  .case-card p{font-size:.78rem;line-height:1.58}
  .case-num{top:10px;right:13px;font-size:1.5rem}
  .sub-label{margin:0;font-size:.72rem}
  .sub-label::before,.sub-label::after{width:24px}
  .procedure-badge{margin:0 auto}
  .steps{grid-template-columns:repeat(4,1fr);gap:12px;margin-top:0}
  .step{display:block;text-align:center;padding:0 4px}
  .step-num{width:40px;height:40px;margin:0 auto 7px;border-width:4px;font-size:.94rem}
  .step h3{font-size:.92rem;margin-bottom:3px}
  .step p{font-size:.77rem;line-height:1.55}
  .target{grid-template-columns:1fr auto;gap:16px;margin-top:0;padding:12px 18px}
  .target-head{gap:14px}
  .target-icon{width:44px;height:44px;border-radius:13px}
  .target-icon .icon{width:24px;height:24px}
  .target-copy p{font-size:.84rem;line-height:1.55}
  .target-copy .target-sub{font-size:.76rem}
  .target-actions{align-items:flex-end}
  .target .btn{min-height:40px;padding:0 14px;font-size:.78rem}

  /* services */
  .page--services .page-inner{gap:clamp(10px,1.8vh,18px)}
  .services-head{display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:0}
  .consult{margin-bottom:0;padding:12px 18px;grid-template-columns:auto 1fr auto}
  .consult-icon{width:48px;height:48px;border-radius:14px}
  .consult-icon .icon{width:28px;height:28px}
  .consult-copy strong{font-size:1.18rem}
  .consult>.btn{grid-column:auto;width:auto;min-height:44px;font-size:.82rem}
  .service-grid{grid-template-columns:repeat(5,1fr);gap:10px}
  .service-card{padding:14px}
  .service-icon{width:42px;height:42px;margin-bottom:9px;border-radius:13px}
  .service-icon .icon{width:22px;height:22px}
  .service-card h3{font-size:.9rem;line-height:1.38;margin-bottom:4px}
  .service-card p{font-size:.77rem;line-height:1.56}
  .service-note{margin-top:0;font-size:.74rem;text-align:right}

  /* about */
  .page--about .page-inner{padding-block:clamp(14px,2.4vh,26px)}
  .about-grid{grid-template-columns:.92fr 1.08fr;gap:clamp(28px,4vw,54px)}
  .about-card{min-height:min(56vh,430px);padding:32px;border-radius:40px 40px 140px 40px}
  .about-quote{font-size:clamp(1.7rem,2.5vw,2.1rem)}
  .about-copy h2{font-size:clamp(1.8rem,3vw,2.5rem);margin:12px 0 14px}
  .about-copy p:not(.eyebrow){font-size:.9rem;line-height:1.75;margin-bottom:10px}
  .director-line{margin-top:16px;padding-top:14px;font-size:1.06rem}

  /* hours */
  .page--hours .page-inner{padding-block:clamp(16px,2.6vh,30px)}
  .hours-grid{grid-template-columns:1.08fr .92fr;gap:clamp(28px,4vw,54px)}
  .hours-copy h2{font-size:clamp(1.9rem,3.1vw,2.7rem);margin:12px 0 6px}
  .contact-phone{margin-top:12px;font-size:clamp(2rem,3.4vw,2.8rem)}
  .contact-card{padding:20px}
  .contact-list{padding:6px 0}
  .contact-list li{padding:5px 0;font-size:.86rem}
  .biz-info{margin-top:14px;font-size:.72rem}
}

@media (min-width:901px) and (max-width:1100px){
  .site-nav a{font-size:.82rem;padding:9px 8px}
  .site-nav a[aria-current="page"]::after{left:8px;right:8px}
  .header-inner{gap:10px}
  .footer-top{gap:63px}
  .footer-full h3{display:none}
  .footer-nav a{font-size:.72rem}
  .footer-info p{font-size:.68rem}
  .hero-actions{gap:8px}
  .hero-actions .btn{padding:0 16px;font-size:.88rem}
}

@media (min-width:901px) and (max-width:1000px){
  .hero-actions{grid-template-columns:1fr}
}

@media (min-width:901px) and (max-width:960px){
  .footer-top{flex-direction:column;gap:16px}
}

@media (min-width:901px) and (max-width:1180px){
  .header-cta{display:none}
}

/* full footer takes more height: keep the dense guide page on one screen */
@media (min-width:901px) and (max-height:820px){
  html.js .page--guide .page-inner{padding-block:6px;gap:6px}
  .page--guide .page-head h2{margin:6px 0 4px}
  .page--guide .page-head p:not(.eyebrow){line-height:1.5}
  .case-card{padding:11px}
  .case-card h3{margin-bottom:3px}
  .case-card p{line-height:1.5}
  .sub-label{font-size:.68rem}
  .step-num{width:34px;height:34px;border-width:3px;margin-bottom:4px;font-size:.86rem}
  .step p{line-height:1.45}
  .target{padding:9px 14px;gap:12px}
  .target-icon{width:38px;height:38px;border-radius:11px}
  .target-icon .icon{width:21px;height:21px}
  .target-copy p{line-height:1.45}
  .target-copy .target-sub{font-size:.72rem}
  .target .btn{min-height:36px}
}

@media (min-width:901px) and (max-height:720px){
  html.js .page--guide .page-inner{padding-block:6px;gap:6px}
  .header-inner{min-height:74px}
  .hero-copy h1{font-size:clamp(2rem,3.9vw,2.8rem)}
  .arch-wrap{width:clamp(260px,40vh,360px)}
  .about-card{min-height:340px}
  .footer-full{padding:6px 0 calc(4px + env(safe-area-inset-bottom))}
  .footer-brand{gap:3px}
  .footer-full h3{margin-bottom:2px}
  .footer-nav a{line-height:1.6}
  .footer-info p{line-height:1.4}
  .footer-bottom{margin-top:4px;padding-top:4px}
  .page--hours .page-inner{padding-block:10px}
  .contact-card{padding:16px}
  .contact-list li{padding:4px 0}
}

/* TALL DESKTOP CANVAS — let the arch fill the extra height */
@media (min-width:1200px) and (max-width:1699px) and (min-height:1000px){
  .hero-arch{aspect-ratio:4/6.1}
  .hero-copy{align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;margin-top:0;padding-bottom:clamp(60px,8vh,90px)}
  .hero-copy .eyebrow{align-self:flex-start}
}

/* ==========================================================================
   LARGE DISPLAYS (QHD+) — scale the layout up so the page doesn't float
   in empty space between the menu and the footer
   ========================================================================== */
@media (min-width:1700px) and (min-height:1050px){
  .header-inner,.page-inner,.footer-full .container{zoom:1.15}
}
@media (min-width:1700px) and (min-height:1180px){
  .header-inner,.page-inner,.footer-full .container{zoom:1.25}
}
@media (min-width:2200px) and (min-height:1240px){
  .header-inner,.page-inner,.footer-full .container{zoom:1.35}
}
@media (min-width:2200px) and (min-height:1300px){
  .header-inner,.page-inner,.footer-full .container{zoom:1.4}
}
@media (min-width:2200px) and (min-height:1380px){
  .header-inner,.page-inner,.footer-full .container{zoom:1.525}
}

/* QHD-class viewports include 2560×1440 at 100%, 2048×1152 at 125%,
   and ~1700×960 at 150% OS scaling. Apply the same hero spacing there. */
@media (min-width:1600px) and (max-width:1899px) and (min-height:900px),
       (min-width:1921px) and (min-height:900px){
  .hero-copy{align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;margin-top:0;padding-bottom:clamp(24px,4vh,48px)}
  .hero-copy .eyebrow{align-self:flex-start}
}

/* Mobile + tablet: slightly smaller badges than PC */
@media (max-width:1100px){
  .eyebrow{--badge-scale:1.1}
}

/* ABOUT — refined editorial layout */
#about .page-inner{justify-content:space-evenly}
#about .about-grid{align-items:stretch;margin-top:clamp(20px,3vh,32px)}
@media (min-width:901px){
  #about .about-grid{grid-template-columns:1fr}
  #about .about-copy{order:1}
  #about .about-card{order:2}
}
#about .about-card{min-height:0;margin-top:6px;margin-bottom:clamp(8px,1.4vh,18px)}
#about .about-hand{text-align:right;padding-left:0;padding-right:28px;font-size:1.5rem}
#about .about-hand::before{left:auto;right:0;top:12px}
#about .about-copy > .eyebrow{display:flex;width:max-content}
@media (min-width:1200px){
  #about .about-copy h2{white-space:nowrap;font-size:clamp(1.7rem,2.8vw,1.95rem);letter-spacing:-.04em}
}
#about .about-quote{font-size:clamp(1.8rem,2.65vw,2.2rem)}
.about-quote-line{display:block}
.about-quote-line--left{text-align:left}
.about-quote-line--right{text-align:right}
.about-quote .about-quote-line{color:var(--teal-deep)}
.about-quote .about-quote-accent{color:var(--pink-deep)}
@media (min-width:901px){
  #about .about-copy h2{font-size:clamp(1.7rem,2.8vw,1.95rem)}
}
#about .values-block{width:100%}
#about .values-intro{display:flex;width:max-content;max-width:100%;margin:0 0 14px}
#about .about-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:0}
#about .value-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:clamp(220px,20vh,250px);padding:22px 24px 22px;background:linear-gradient(180deg,#FFFFFF 0%,#FFFDF8 100%);border:1px solid #EFEDDF;border-radius:24px;box-shadow:0 12px 28px rgba(27,54,87,.07)}
#about .value-card::before{content:"";position:absolute;left:20px;top:0;width:46px;height:3px;border-radius:0 0 3px 3px;background:#A9B98F}
#about .value-card:nth-child(2)::before{background:#E7C96C}
#about .value-card:nth-child(3)::before{background:var(--teal)}
#about .value-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
#about .value-num{font-family:"Jua","Noto Sans KR",sans-serif;font-size:1.35rem;line-height:1;color:#A9B98F;letter-spacing:.02em}
#about .value-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:13px;background:var(--lime-soft);color:var(--olive)}
#about .value-card:nth-child(2) .value-icon{background:#FFF4D6;color:#B07A2A}
#about .value-card:nth-child(3) .value-icon{background:var(--teal-soft);color:var(--teal)}
#about .value-icon .icon{width:22px;height:22px}
#about .value-card h3{margin:14px 0 8px;font-family:"IBM Plex Sans KR","Noto Sans KR","Malgun Gothic",sans-serif;font-weight:600;font-size:1.2rem;line-height:1.38;letter-spacing:-.015em;color:var(--teal-deep)}
#about .value-card p{margin:0;font-size:1rem;line-height:2;color:var(--muted)}
#about .director-line{font-size:1.344rem;line-height:1.4;text-align:right;margin-top:18px;padding-top:14px}
@media (min-width:901px) and (max-height:820px){
  #about .page-inner{padding-block:10px}
  #about .about-card{min-height:0;margin-bottom:10px;padding:24px;border-radius:32px 32px 90px 32px}
  #about .about-quote{font-size:1.8rem;margin-top:18px}
  #about .about-hand{font-size:1.28rem;margin-top:10px}
  #about .about-copy h2{font-size:2.15rem;margin:10px 0 12px}
  #about .about-copy p:not(.eyebrow){font-size:.88rem;line-height:1.7;margin-bottom:8px}
  #about .about-copy .director-line{font-size:1.344rem;margin-top:10px;padding-top:10px}
  #about .about-values{gap:10px;margin-top:0}
  #about .value-card{min-height:190px;padding:14px 18px 12px;border-radius:20px}
  #about .value-icon{width:38px;height:38px}
  #about .value-card h3{font-size:1.08rem;margin:8px 0 4px}
  #about .value-card p{font-size:.88rem;line-height:1.72}
}
@media (max-width:900px){
  #about .director-line{text-align:left;font-size:1.344rem}
  #about .about-values{grid-template-columns:1fr;gap:10px;margin-top:0}
  #about .values-intro{margin-top:24px}
}

/* ABOUT — director signature below the copy */
#about .about-copy .director-line{
  display:flex;align-items:baseline;justify-content:flex-end;gap:14.25px;
  padding-right:109px;
  font-family:"Jua","Noto Sans KR",sans-serif;
  font-size:1.344rem;line-height:1.4;color:#42554C;text-align:right;
}
#about .about-copy .director-title{
  font-size:.92rem;font-weight:400;line-height:1.4;color:#42554C;white-space:nowrap;
}
#about .about-copy .director-line strong{
  font-size:1.21rem;font-weight:400;color:var(--teal-deep);white-space:nowrap;
}
@media (max-width:900px){
  #about .about-copy .director-line{justify-content:flex-start;text-align:left}
}
@media (min-width:901px){
  #about .about-copy > .about-lead{width:100%;max-width:none}
}
#about .about-copy p.about-lead{margin-bottom:0}

/* 센터 소개 — 서명 위 여백 절반 + 액자 하단을 서명 하단에 정렬 */
@media (min-width:901px){
  #about .about-copy p.about-closing{margin-bottom:5px}
  #about .about-copy p.director-line{margin-top:8px;padding-top:8px;margin-bottom:0}
}
@media (min-width:901px) and (max-height:820px){
  #about .about-copy p.about-closing{margin-bottom:4px}
  #about .about-copy p.director-line{margin-top:5px;padding-top:5px;margin-bottom:0}
  #about .about-quote{margin-top:calc(18px - var(--frame-shrink,0px))}
}
@media (min-width:901px) and (min-height:821px){
  #about .about-card{padding-top:28px;padding-bottom:22px}
  #about .about-quote{margin-top:calc(22px - var(--frame-shrink,0px))}
  #about .about-hand{margin-top:8px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .page.is-active>.page-inner{animation:none}
  .btn,.case-card,.service-card{transition:none}
}

/* ==========================================================================
   SERVICES — editorial service guide
   ========================================================================== */
#services .svc-inner{display:flex;flex-direction:column;justify-content:flex-start;gap:clamp(18px,2.4vh,30px);padding-block:clamp(20px,3vh,36px)}
#services .svc-head{max-width:none}
#services .svc-head h2{margin:14px 0 10px;font-size:clamp(2rem,3vw,2.55rem);line-height:1.22;letter-spacing:-.03em;color:var(--teal-deep);word-break:keep-all}
#services .svc-head h2 em{font-style:normal;color:var(--teal);background:linear-gradient(transparent 68%,rgba(223,235,174,.85) 68%);padding:0 .04em}
#services .svc-lead{margin:0;max-width:none;font-size:.92rem;line-height:1.8;color:var(--muted);word-break:keep-all}

#services .svc-grid{display:grid;grid-template-columns:1fr;gap:12px}
#services .svc-card{
  position:relative;display:flex;flex-direction:column;min-width:0;
  padding:20px 20px 18px;
  background:linear-gradient(180deg,#FFFFFF 0%,#FFFDF8 100%);
  border:1px solid #E9EDDC;border-radius:22px;
  box-shadow:0 10px 24px rgba(27,54,87,.06);
}
#services .svc-card::before{content:"";position:absolute;left:20px;top:0;width:44px;height:3px;border-radius:0 0 3px 3px;background:var(--svc-accent,#A9B98F)}
#services .svc-card:nth-child(1){--svc-accent:#A9B98F}
#services .svc-card:nth-child(2){--svc-accent:#E7C96C}
#services .svc-card:nth-child(3){--svc-accent:#0F6B5B}
#services .svc-card:nth-child(4){--svc-accent:#D94E70}

#services .svc-photo{
  display:block;width:100%;height:100%;min-height:250px;
  overflow:hidden;background:var(--lime-soft);
}
#services .svc-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 30%}
#services .svc-body{position:relative;display:flex;flex-direction:column;min-width:0;padding:22px 22px 20px}
#services .svc-body::before{content:"";position:absolute;left:22px;top:0;width:44px;height:3px;border-radius:0 0 3px 3px;background:var(--svc-accent,#A9B98F)}
#services .svc-heading{min-width:0}
#services .svc-heading h3{margin:7px 0 0}
#services .svc-card::before{display:none}

@media (min-width:901px){
  #services .svc-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px}
  #services .svc-card{
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    padding:0!important;overflow:hidden;border-radius:24px;
  }
}
@media (max-width:900px){
  #services .svc-card{display:grid;grid-template-columns:1fr;padding:0}
  #services .svc-photo{height:200px;min-height:0}
  #services .svc-body{padding:18px}
  #services .svc-body::before{left:18px}
}
@media (min-width:901px) and (max-height:820px){
  #services .svc-photo{min-height:210px}
  #services .svc-body{padding:16px 16px 14px}
  #services .svc-body::before{left:16px;width:36px}
}

@media (min-width:901px) and (max-height:1000px),
       (min-width:1700px) and (max-height:1500px){
  #services .svc-inner{gap:14px}
  #services .svc-body{padding:16px 18px 14px}
  #services .svc-list{gap:4px;padding-top:8px}
  #services .svc-desc{margin-bottom:8px}
  #services .svc-head h2{margin:10px 0 6px}
  #services .svc-lead{line-height:1.65}
  #services .svc-foot{padding:8px 18px}
}

#services .svc-num{font-family:"Jua","Noto Sans KR",sans-serif;font-size:1.35rem;line-height:1;letter-spacing:.02em;color:var(--svc-accent)}
#services .svc-card h3{margin:10px 0 7px;font-family:"IBM Plex Sans KR","Noto Sans KR","Malgun Gothic",sans-serif;font-weight:600;font-size:1.08rem;line-height:1.4;letter-spacing:-.015em;color:var(--teal-deep);word-break:keep-all}
#services .svc-desc{margin:0 0 12px;font-size:.84rem;line-height:1.7;color:var(--muted);word-break:keep-all}
#services .svc-list{display:flex;flex-direction:column;gap:6px;margin:auto 0 0;padding:12px 0 0;border-top:1px dashed #E1E7D0;list-style:none}
#services .svc-list li{position:relative;padding-left:13px;font-size:.81rem;line-height:1.55;color:#54655D;word-break:keep-all}
#services .svc-list li::before{content:"·";position:absolute;left:0;top:-1px;font-weight:900;color:var(--svc-accent)}

#services .svc-foot{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:13px 24px;
  background:linear-gradient(180deg,#FFFFFF 0%,#F8FBEE 100%);
  border:1px solid #DCE5C6;border-radius:999px;
  box-shadow:0 10px 24px rgba(76,96,34,.08);
}
#services .svc-note{margin:0;font-size:.81rem;line-height:1.65;color:var(--muted);word-break:keep-all}
#services .svc-note strong{margin-right:12px;font-weight:900;letter-spacing:.02em;color:var(--olive)}

#about .svc-promise{padding-top:clamp(20px,2.8vh,30px)}
#about .svc-promise-head{display:block}
#about .svc-promise-label{display:flex;width:max-content;max-width:100%;margin:0}
#about .svc-promise-copy{margin-top:12px}
#about .svc-promise-copy p{margin:0;font-size:.9rem;line-height:1.8;color:var(--muted);word-break:keep-all}
#about .svc-promise-copy p+p{margin-top:8px}
#about .svc-promise-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:clamp(14px,1.8vh,20px)}
#about .svc-promise-card{padding:16px 18px 17px;background:#fff;border:1px solid #E9EDDC;border-radius:18px;box-shadow:0 8px 18px rgba(27,54,87,.05)}
#about .svc-promise-num{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--lime-soft);color:var(--olive);font-family:"Jua","Noto Sans KR",sans-serif;font-size:.8rem;line-height:1}
#about .svc-promise-card h4{margin:10px 0 5px;font-family:"IBM Plex Sans KR","Noto Sans KR",sans-serif;font-weight:600;font-size:.98rem;line-height:1.4;letter-spacing:-.01em;color:var(--teal-deep);word-break:keep-all}
#about .svc-promise-card p{margin:0;font-size:.8rem;line-height:1.65;color:var(--muted);word-break:keep-all}

@media (min-width:901px){
  #services .svc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  #services .svc-card{padding:22px 22px 20px}
  #services .svc-card h3{font-size:1.12rem}
  #services .svc-desc{font-size:.88rem;margin-bottom:14px}
  #services .svc-list{padding-top:14px;gap:7px}
  #services .svc-list li{font-size:.82rem}
  #services .svc-note{font-size:.85rem}
}

@media (min-width:1200px){
  #services .svc-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
}

@media (min-width:1200px) and (max-height:1000px),
       (min-width:1700px) and (min-height:1050px){
  #services .svc-inner{gap:12px;padding-block:8px}
  #services .svc-head h2{font-size:2.15rem;margin:10px 0 8px}
  #services .svc-lead{max-width:none;font-size:.85rem;line-height:1.65}
  #services .svc-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
  #services .svc-card{padding:15px 16px 14px;border-radius:20px}
  #services .svc-card::before{left:16px;width:36px}
  #services .svc-num{font-size:1.22rem}
  #services .svc-card h3{font-size:.98rem;margin:8px 0 5px}
  #services .svc-desc{font-size:.76rem;line-height:1.55;margin-bottom:9px}
  #services .svc-list{padding-top:9px;gap:4px}
  #services .svc-list li{font-size:.75rem;line-height:1.5;padding-left:11px}
  #services .svc-foot{padding:10px 20px}
  #services .svc-note{font-size:.73rem}
  #about .svc-promise{padding-top:14px}
  #about .svc-promise-copy{margin-top:10px}
  #about .svc-promise-copy p{font-size:.78rem;line-height:1.6}
  #about .svc-promise-grid{margin-top:10px;gap:10px}
  #about .svc-promise-card{padding:12px 14px 13px;border-radius:16px}
  #about .svc-promise-num{width:24px;height:24px;font-size:.72rem}
  #about .svc-promise-card h4{font-size:.9rem;margin:8px 0 4px}
  #about .svc-promise-card p{font-size:.74rem;line-height:1.55}
}

@media (max-width:900px){
  #services .svc-inner{padding-block:32px}
  #services .svc-head h2{font-size:clamp(1.9rem,6.4vw,2.4rem)}
  #services .svc-num{font-size:1.45rem}
  #services .svc-foot{padding:14px 18px;border-radius:20px}
  #about .svc-promise{padding-top:24px}
  #about .svc-promise-grid{grid-template-columns:1fr;margin-top:16px}
}

@media (min-width:1200px) and (max-height:820px){
  #services .svc-inner{gap:8px;padding-block:4px}
  #services .eyebrow{--badge-scale:1.02}
  #services .svc-head h2{font-size:2rem;margin:8px 0 6px}
  #services .svc-lead{font-size:.8rem;line-height:1.5}
  #services .svc-grid{gap:8px}
  #services .svc-card{padding:11px 12px 10px;border-radius:16px}
  #services .svc-card::before{left:12px;width:30px}
  #services .svc-num{font-size:1.1rem}
  #services .svc-card h3{font-size:.92rem;margin:5px 0 3px}
  #services .svc-desc{font-size:.72rem;line-height:1.45;margin-bottom:6px}
  #services .svc-list{padding-top:6px;gap:2px}
  #services .svc-list li{font-size:.72rem;line-height:1.4;padding-left:10px}
  #services .svc-foot{padding:8px 18px}
  #services .svc-note{font-size:.7rem}
  #about .svc-promise{padding-top:8px}
  #about .svc-promise-copy{margin-top:6px}
  #about .svc-promise-copy p{font-size:.72rem;line-height:1.5}
  #about .svc-promise-grid{margin-top:8px;gap:8px}
  #about .svc-promise-card{display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:10px;padding:9px 11px;border-radius:14px;align-content:center}
  #about .svc-promise-num{grid-row:1/3;width:22px;height:22px;font-size:.68rem;align-self:start;margin-top:2px}
  #about .svc-promise-card h4{margin:0 0 2px;font-size:.85rem;line-height:1.35}
  #about .svc-promise-card p{font-size:.7rem;line-height:1.45}
}

/* ==========================================================================
   GUIDE — editorial guide layout
   ========================================================================== */
#guide .case-icon--teal{background:var(--teal-soft);color:var(--teal)}
#guide .target-em{color:var(--teal-deep);font-weight:700}
#guide .target-subsidy{color:var(--pink-deep);font-weight:600;white-space:nowrap}
#guide .procedure-head{text-align:left}
#guide .procedure-head p{margin:0;font-size:.9rem;line-height:1.65;color:var(--muted)}
#guide .subhead-title{margin:0 0 8px;font-family:"Jua","Noto Sans KR",sans-serif;font-weight:400;font-size:clamp(1.7rem,2.6vw,2.15rem);line-height:1.22;letter-spacing:-.03em;color:var(--teal-deep);word-break:keep-all}
#guide .subhead-title em{font-style:normal;color:var(--teal);background:linear-gradient(transparent 68%,rgba(223,235,174,.85) 68%);padding:0 .04em}

@media (min-width:901px){
  #guide .page-inner{justify-content:flex-start;gap:13px;padding-bottom:4px}
  #guide .target{margin-top:28px;margin-bottom:28px}
  #guide .page-head{max-width:none;margin-left:0;margin-right:0;text-align:left}
  #guide .page-head .eyebrow{display:flex;width:max-content;margin-left:0;margin-right:auto}
  #guide .procedure-badge{margin-left:0;margin-right:auto}
  #guide .steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
  #guide .target-copy p{font-size:1rem;line-height:1.65}
}

@media (min-width:901px) and (max-height:820px){
  #guide .page-inner{gap:2px;padding-block:4px}
  #guide .target{margin-top:0;margin-bottom:0;padding:6px 12px}
  #guide .target-copy p{font-size:.9rem;line-height:1.5}
  #guide .subhead-title{margin-bottom:4px}
  #guide .procedure-head p{font-size:.78rem;line-height:1.45}
  #guide .case-card{padding:8px}
  #guide .case-icon{width:34px;height:34px;margin-bottom:5px;border-radius:11px}
  #guide .case-icon .icon{width:19px;height:19px}
  #guide .case-card h3{margin-bottom:3px}
  #guide .case-card p{line-height:1.4}
}

/* ==========================================================================
   ABOUT — values heading
   ========================================================================== */
#about .values-title{margin:0 0 6px;font-family:"Jua","Noto Sans KR",sans-serif;font-weight:400;font-size:clamp(1.7rem,2.8vw,1.95rem);line-height:1.22;letter-spacing:-.04em;color:var(--teal-deep);word-break:keep-all}
#about .values-title em{font-style:normal;color:var(--teal);background:linear-gradient(transparent 68%,rgba(223,235,174,.85) 68%);padding:0 .04em}
#about .values-lead{margin:0 0 10px;font-size:.94rem;line-height:1.85;color:var(--muted);word-break:keep-all}
#about .value-card{min-height:0}

@media (min-width:901px) and (max-height:820px){
  #about .page-inner{padding-block:4px}
  #about .values-title{font-size:2.15rem;line-height:1.2}
  #about .values-lead{font-size:.88rem;line-height:1.7;margin-bottom:6px}
  #about .value-card{padding:10px 16px 9px}
  #about .value-card p{font-size:.84rem;line-height:1.6}
}

/* ==========================================================================
   SERVICES — promise heading and cards
   ========================================================================== */
#about .svc-promise-title{margin:12px 0 8px;font-family:"Jua","Noto Sans KR",sans-serif;font-weight:400;font-size:clamp(2rem,3vw,2.55rem);line-height:1.22;letter-spacing:-.03em;color:var(--teal-deep)}
#about .svc-promise-title em{font-style:normal;color:var(--teal);background:linear-gradient(transparent 68%,rgba(223,235,174,.85) 68%);padding:0 .04em}
#about .svc-promise-copy{margin-top:0}
#about .svc-promise-num{display:block;width:auto;height:auto;border-radius:0;background:none;font-family:"Jua","Noto Sans KR",sans-serif;font-size:1.35rem;line-height:1;color:var(--svc-accent,#A9B98F)}
#about .svc-promise-card{position:relative;padding:18px 18px 17px}
#about .svc-promise-card::before{content:"";position:absolute;left:18px;top:0;width:44px;height:3px;border-radius:0 0 3px 3px;background:var(--svc-accent,#A9B98F)}
#about .svc-promise-card:nth-child(1){--svc-accent:#A9B98F}
#about .svc-promise-card:nth-child(2){--svc-accent:#E7C96C}
#about .svc-promise-card:nth-child(3){--svc-accent:#0F6B5B}

@media (min-width:1700px) and (min-height:1050px){
  #services .svc-inner{justify-content:center}
}

@media (min-width:1200px) and (max-width:1699px) and (min-height:1001px){
  #services .svc-inner{justify-content:center;gap:23px;padding-block:32px}
  #about .svc-promise-title{margin:8px 0 8px}
  #about .svc-promise-card{padding:16px 16px 15px}
}

@media (min-width:1200px) and (max-height:1000px),
       (min-width:1700px) and (min-height:1050px){
  #services .svc-inner{padding-block:4px}
  #about .svc-promise-title{font-size:2.15rem;margin:8px 0 6px}
  #about .svc-promise-card{padding:12px 14px 13px;border-radius:16px}
  #about .svc-promise-num{font-size:1.15rem}
}

@media (min-width:1200px) and (max-height:820px){
  #services .svc-inner{justify-content:center;gap:4px;padding-block:2px}
  #services .svc-lead{font-size:.78rem;line-height:1.45}
  #services .svc-card{padding:8px 11px 8px;border-radius:14px}
  #services .svc-card::before{left:11px;width:26px}
  #services .svc-num{font-size:1rem}
  #services .svc-card h3{font-size:.9rem;margin:4px 0 2px}
  #services .svc-desc{font-size:.7rem;line-height:1.35;margin-bottom:4px}
  #services .svc-list{padding-top:4px;gap:1px}
  #services .svc-list li{font-size:.68rem;line-height:1.3;padding-left:9px}
  #services .svc-foot{padding:6px 18px}
  #services .svc-note{font-size:.68rem}
  #about .svc-promise{padding-top:4px}
  #about .svc-promise-title{font-size:2.15rem;margin:2px 0 2px}
  #about .svc-promise-copy p{font-size:.76rem;line-height:1.4}
  #about .svc-promise-grid{margin-top:4px;gap:6px}
  #about .svc-promise-card{padding:6px 10px;border-radius:12px}
  #about .svc-promise-card::before{left:10px;width:26px}
  #about .svc-promise-num{font-size:.95rem}
  #about .svc-promise-card h4{font-size:.8rem;margin:3px 0 2px}
  #about .svc-promise-card p{font-size:.66rem;line-height:1.3}
}

/* ==========================================================================
   GUIDE — unified cards (A안)
   ========================================================================== */
#guide .case-card{
  position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;
  padding:22px 24px;
  background:linear-gradient(180deg,#FFFFFF 0%,#FFFDF8 100%);
  border:1px solid #EFEDDF;border-radius:24px;
  box-shadow:0 12px 28px rgba(27,54,87,.07);
}
#guide .case-card::before{content:"";position:absolute;left:20px;top:0;width:46px;height:3px;border-radius:0 0 3px 3px;background:var(--card-accent,#A9B98F)}
#guide .case-grid .case-card:nth-child(1),#guide .steps .case-card:nth-child(1){--card-accent:#A9B98F}
#guide .case-grid .case-card:nth-child(2),#guide .steps .case-card:nth-child(2){--card-accent:#D94E70}
#guide .case-grid .case-card:nth-child(3),#guide .steps .case-card:nth-child(3){--card-accent:#2C6E8E}
#guide .case-grid .case-card:nth-child(4),#guide .steps .case-card:nth-child(4){--card-accent:#A4762A}
#guide .steps .case-card:nth-child(5){--card-accent:#0F6B5B}

#guide .case-num{position:absolute;top:22px;left:24px;right:auto;font-family:"Jua","Noto Sans KR",sans-serif;font-size:1.35rem;line-height:1;letter-spacing:.02em;color:var(--card-accent)}
#guide .case-icon{position:absolute;top:22px;right:24px;margin:0;width:42px;height:42px;border-radius:13px}
#guide .case-icon .icon{width:22px;height:22px}
#guide .case-card h3{margin:56px 0 8px;font-family:"IBM Plex Sans KR","Noto Sans KR","Malgun Gothic",sans-serif;font-weight:600;font-size:1.2rem;line-height:1.38;letter-spacing:-.015em;color:var(--teal-deep);text-wrap:balance}
#guide .case-card p{margin:0;font-size:1rem;line-height:2;color:var(--muted)}
#guide .case-card p .case-notice{color:var(--pink-deep)}

@media (min-width:1700px) and (min-height:1050px){
  #guide .page-inner{gap:10px}
  #guide .case-card{padding:12px 14px 11px;border-radius:18px}
  #guide .case-card::before{left:14px;width:34px}
  #guide .case-num{top:12px;left:14px;font-size:1.15rem}
  #guide .case-icon{top:12px;right:14px;width:36px;height:36px;border-radius:11px}
  #guide .case-icon .icon{width:19px;height:19px}
  #guide .case-card h3{font-size:1rem;margin:43px 0 4px}
  #guide .case-card p{font-size:.8rem;line-height:1.55}
}

@media (min-width:901px) and (max-height:820px){
  #guide .case-card{padding:10px 12px 9px;border-radius:16px}
  #guide .case-card::before{left:12px;width:32px}
  #guide .case-num{top:10px;left:12px;font-size:1.05rem}
  #guide .case-icon{top:10px;right:12px;width:32px;height:32px;border-radius:10px}
  #guide .case-icon .icon{width:18px;height:18px}
  #guide .case-card h3{font-size:.92rem;margin:38px 0 3px}
  #guide .case-card p{font-size:.74rem;line-height:1.45}
}

/* ==========================================================================
   CARD COLOR ORDER — guide standard
   ========================================================================== */
#about .value-card:nth-child(2)::before{background:#D94E70}
#about .value-card:nth-child(3)::before{background:#2C6E8E}
#about .value-card:nth-child(2) .value-icon{background:var(--pink-soft);color:var(--pink-deep)}
#about .value-card:nth-child(3) .value-icon{background:var(--sky);color:#2C6E8E}
#about .value-card:nth-child(2) .value-num{color:#D94E70}
#about .value-card:nth-child(3) .value-num{color:#2C6E8E}

#services .svc-card:nth-child(2){--svc-accent:#D94E70}
#services .svc-card:nth-child(3){--svc-accent:#2C6E8E}
#services .svc-card:nth-child(4){--svc-accent:#A4762A}
#about .svc-promise-card:nth-child(2){--svc-accent:#D94E70}
#about .svc-promise-card:nth-child(3){--svc-accent:#2C6E8E}

/* ==========================================================================
   TYPOGRAPHY — about standard
   ========================================================================== */
#about .values-lead{font-size:.9rem}

@media (min-width:1200px){
  #services .svc-head h2{font-size:1.95rem}
  #services .svc-lead{font-size:.9rem}
  #about .svc-promise-title{font-size:1.95rem}
  #about .svc-promise-copy p{font-size:.9rem}
  #guide .page-head h2{font-size:1.95rem}
  #guide .page-head p:not(.eyebrow){font-size:.9rem}
  #guide .subhead-title{font-size:1.95rem}
  #guide .procedure-head p{font-size:.9rem}
}

@media (min-width:901px) and (max-height:820px){
  #about .about-copy h2{font-size:1.9rem}
  #about .values-title{font-size:1.9rem}
  #about .values-lead{font-size:.88rem}
  #services .svc-head h2{font-size:1.9rem}
  #services .svc-lead{font-size:.88rem}
  #about .svc-promise-title{font-size:1.9rem}
  #about .svc-promise-copy p{font-size:.88rem}
  #guide .page-head h2{font-size:1.9rem}
  #guide .page-head p:not(.eyebrow){font-size:.88rem}
  #guide .subhead-title{font-size:1.9rem}
  #guide .procedure-head p{font-size:.88rem}
}

@media (min-width:1200px) and (max-height:820px){
  #home .hero-copy .eyebrow,
  #about .eyebrow,#services .eyebrow,#guide .eyebrow{--badge-scale:1}
}

/* ==========================================================================
   CARD TYPE — downward unified
   ========================================================================== */
#about .value-card{padding-top:18px;padding-bottom:18px}

@media (min-width:1700px){
  #about .value-card h3{font-size:.9rem}
  #about .value-card p{font-size:.74rem}
  #about .value-num{font-size:1.15rem}
  #services .svc-card h3{font-size:.9rem}
  #services .svc-desc{font-size:.74rem}
  #services .svc-list li{font-size:.74rem}
  #services .svc-num{font-size:1.15rem}
  #about .svc-promise-card h4{font-size:.9rem}
  #about .svc-promise-card p{font-size:.74rem}
  #about .svc-promise-num{font-size:1.15rem}
  #guide .case-card h3{font-size:.9rem}
  #guide .case-card p{font-size:.74rem}
  #guide .case-num{font-size:1.15rem}
}

@media (min-width:1200px) and (max-width:1699px){
  #about .value-card h3{font-size:.98rem}
  #about .value-card p{font-size:.8rem}
  #about .value-num{font-size:1.35rem}
  #services .svc-card h3{font-size:.98rem}
  #services .svc-desc{font-size:.8rem}
  #services .svc-list li{font-size:.8rem}
  #services .svc-num{font-size:1.35rem}
  #about .svc-promise-card h4{font-size:.98rem}
  #about .svc-promise-card p{font-size:.8rem}
  #about .svc-promise-num{font-size:1.35rem}
  #guide .case-card h3{font-size:.98rem}
  #guide .case-card p{font-size:.8rem}
  #guide .case-num{font-size:1.35rem}
}

@media (min-width:901px) and (max-height:820px){
  #about .value-card{padding-top:8px;padding-bottom:7px}
  #about .value-card h3{font-size:.8rem}
  #about .value-card p{font-size:.66rem}
  #about .value-num{font-size:.95rem}
  #services .svc-card h3{font-size:.8rem}
  #services .svc-desc{font-size:.66rem}
  #services .svc-list li{font-size:.66rem}
  #services .svc-num{font-size:.95rem}
  #about .svc-promise-card h4{font-size:.8rem}
  #about .svc-promise-card p{font-size:.66rem}
  #about .svc-promise-num{font-size:.95rem}
  #guide .case-card h3{font-size:.8rem}
  #guide .case-card p{font-size:.66rem}
  #guide .case-num{font-size:.95rem}
}

/* ==========================================================================
   SPACING — 동행의 약속 기준 (QHD 8 / 6 / 10 · 화면 폭 비율로 축소)
   ========================================================================== */
@media (min-width:901px){
  :root{--sg1:.3125vw;--sg2:.234375vw;--sg3:.390625vw}

  /* 센터 소개 */
  #about .page-inner{justify-content:safe center;gap:0}
  #about .about-card{margin-bottom:0}
  #about .about-copy h2{margin:var(--sg1) 0 var(--sg2)}
  #about .values-intro{margin:0 0 var(--sg1)}
  #about .values-title{margin:0 0 var(--sg2)}
  #about .values-lead{margin:0 0 var(--sg3)}
  #about .about-values{gap:var(--sg3)}

  /* 제공 서비스 */
  #services .svc-inner{justify-content:safe center;gap:var(--sg3)}
  #services .svc-head h2{margin:var(--sg1) 0 var(--sg2)}
  #services .svc-lead{margin:0}
  #services .svc-grid{gap:var(--sg3)}
  #about .svc-promise{padding-top:var(--sg3)}
  #about .svc-promise-title{margin:var(--sg1) 0 var(--sg2)}
  #about .svc-promise-grid{margin-top:var(--sg3);gap:var(--sg3)}

  /* 이용 안내 */
  #guide .page-inner{justify-content:safe center;gap:var(--sg3);padding-block:4px}
  #guide .page-head h2{margin:var(--sg1) 0 var(--sg2)}
  #guide .procedure-badge{margin-bottom:calc(var(--sg1) - var(--sg3))}
  #guide .subhead-title{margin:0 0 var(--sg2)}
  #guide .case-grid,#guide .steps{gap:var(--sg3)}
}

/* 이용 안내 — 장기요양 안내 박스와 위쪽 카드 사이 간격 절반 */
@media (min-width:901px) and (min-height:821px){
  #guide .target{margin-top:calc(14px - var(--sg3) / 2)}
}

/* 이용 안내 — 장기요양 안내 박스와 이용 절차 뱃지 사이 구분선 */
#guide .guide-divider{display:none}

@media (min-width:901px){
  #guide .target{margin-bottom:0}
  #guide .guide-divider{
    display:block;height:0;
    border-top:1px dashed #D9E0C6;
    margin-block:calc(21px - (var(--sg3) / 4));
  }
}

@media (min-width:901px) and (max-height:820px){
  #guide .guide-divider{margin-block:calc(0px - (var(--sg3) / 4))}
  #guide .target{margin-top:calc(0px - (var(--sg3) / 2))}
}

/* 1366급 짧은 화면: QHD 간격을 폭 비율에 가깝게 유지 */
@media (min-width:1300px) and (max-width:1399px) and (min-height:750px) and (max-height:820px){
  #guide .target{margin-top:calc(14px - (var(--sg3) / 2))}
  #guide .guide-divider{margin-block:calc(21px - (var(--sg3) / 4))}
  #services .svc-inner{gap:12.9px}
  #about .svc-promise{margin-top:0;padding-top:12.9px}
}

/* 이용 안내 — 1549×900급: 카드 여백만 압축해 한 화면에 맞춤 */
@media (min-width:1280px) and (max-width:1699px) and (min-height:821px) and (max-height:950px){
  #guide .page-inner{gap:3px}
  #guide .case-card{padding:16px 20px}
  #guide .case-card::before{left:16px;width:40px}
  #guide .case-num{top:16px;left:18px;font-size:1.25rem}
  #guide .case-card h3{margin:39px 0 6px}
  #guide .case-card p{line-height:1.7}
  #guide .guide-divider{margin-block:8px}
  #guide .target{margin-top:3px}
  #guide .page-head h2{margin:6px 0 4px}
  #guide .procedure-badge{margin-bottom:0}
  #guide .subhead-title{margin:0 0 3px}
}

/* 센터 소개 — 메뉴/서명/가치/약속/푸터 네 구간 여백 통일
   기존 네 여백의 합을 유지해 페이지 높이는 바꾸지 않는다. */
@media (min-width:901px){
  :root{--about-gap:calc(clamp(14px,2.6vh,30px) / 2 + var(--sg3) / 4)}
}
@media (min-width:901px) and (max-height:820px){
  :root{--about-gap:calc(4px / 2 + var(--sg3) / 4)}
}
@media (min-width:1300px) and (max-width:1399px) and (min-height:750px) and (max-height:820px){
  :root{--about-gap:5.225px}
}
@media (min-width:901px){
  #about .page-inner{justify-content:flex-start;padding-top:var(--about-gap);padding-bottom:var(--about-gap)}
  #about .values-block{margin-top:0}
  #about .about-grid{margin-top:var(--about-gap)}
  #about .svc-promise{padding-top:var(--about-gap)}
}

/* ==========================================================================
   HOURS — left copy + contact card, right map area
   ========================================================================== */
@media (min-width:901px){
  #hours .page-inner{justify-content:center}
  #hours .hours-grid{
    position:relative;
    flex:1 1 auto;min-height:0;
    grid-template-columns:1fr 1fr;
    align-items:stretch;
    gap:clamp(24px,3.5vw,54px);
  }
  #hours .hours-left{
    display:flex;flex-direction:column;justify-content:center;min-height:0;
  }
  #hours .hours-left .contact-card{margin-top:clamp(16px,2.2vh,26px);margin-left:auto;margin-right:auto}
  #hours .hours-map{align-self:stretch;min-height:100%}

  #hours .contact-card{padding:20px;max-width:100%;position:relative}
  #hours .contact-card-head{padding-bottom:14px;justify-content:flex-start}
  #hours .contact-card-head strong{font-size:1.5rem;line-height:1.15}
  #hours .contact-card-head .brand{margin-right:0;gap:13px}
  #hours .contact-card-head .brand-mark{width:56px;height:56px;border-radius:16px}
  #hours .contact-card-head .brand-mark .icon{width:34px;height:34px}
  #hours .contact-card-call{width:100%;margin:2px 0 6px;font-size:1rem;white-space:nowrap}
  #hours .contact-card-call strong{color:#fff}
  #hours .contact-card-brand .brand-text{text-align:center}
  #hours .contact-card-head .brand-en{display:flex;justify-content:space-between;align-items:baseline;gap:0;width:100%;font-size:.64rem;margin-top:3px;letter-spacing:.08em;color:var(--olive)}
  #hours .contact-list{gap:0;padding:6px 0}
  #hours .contact-list li{padding:5px 0;font-size:1rem;line-height:1.55;gap:8px}
  #hours .contact-list .icon{width:20px;height:20px;margin-top:3px}
  #hours .contact-list strong{font-size:.78rem;margin-bottom:1px}
  #hours .contact-list a{color:inherit;text-decoration:none}
  #hours .contact-list a:hover{color:#138045}
  #hours .contact-card-actions{display:grid;grid-template-columns:1fr;gap:8px}
  #hours .contact-card .btn{width:100%;font-size:1rem}
  #hours .contact-card .btn + .btn{margin-top:0}
  #hours .contact-card-note{margin-top:8px;font-size:.8rem}
}

@media (min-width:901px) and (max-height:820px){
  #hours .hours-left .contact-card{margin-top:6px;padding:16px}
  #hours .contact-card-head{padding-bottom:10px}
  #hours .contact-card-head small{font-size:.6rem}
  #hours .contact-list li{padding:3px 0;font-size:1rem;line-height:1.55}
  #hours .contact-list strong{font-size:.78rem}
  #hours .contact-list .icon{width:20px;height:20px}
  #hours .contact-card-actions{gap:4px}
  #hours .contact-card .btn{font-size:1rem}
  #hours .contact-card-note{display:none}
}

/* 1366×768: 24px frame gutters need a little vertical breathing room */
@media (min-width:1300px) and (max-height:820px){
  #hours .hours-left .contact-card{margin-top:24px}
}

/* HOURS — handwritten line: bold + right aligned */
#hours .hours-copy h2{width:max-content;max-width:100%}
#hours .hours-copy h2 .hand{
  display:block;width:100%;text-align:right;
  font-weight:500;-webkit-text-stroke:.25px currentColor;
}

@media (min-width:901px){
  #hours .hours-copy h2{
    width:calc(100% + (clamp(24px,3.5vw,54px) / 2));
    max-width:none;
  }
}

/* HOURS — static map area */
#hours .hours-map{
  position:relative;overflow:hidden;min-height:320px;
  border-radius:26px;background:#F3F0E2;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 20px 50px rgba(0,0,0,.2);
}
#hours .hours-map-art{position:absolute;inset:0;display:block;width:100%;height:100%}
#hours .hours-map-canvas{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;z-index:1;display:none}
#hours .hours-map.is-live .hours-map-canvas{display:block}
#hours .hours-map.is-live .hours-map-art{display:none}
#hours .hours-map-card{
  display:none;position:absolute;left:50%;top:calc(50% - 105px);transform:translateX(-50%) scale(.8);transform-origin:50% 0;
  z-index:3;width:max-content;min-width:0;max-width:calc(100% - 36px);
  padding:8px 16px;border-radius:14px;background:#FFFDF8;
  box-shadow:0 8px 20px rgba(0,0,0,.18);text-align:center;pointer-events:auto;
  border:0;font:inherit;color:inherit;cursor:pointer;
}
#hours .hours-map.is-live .hours-map-card{display:block}
#hours .hours-map-card:hover{box-shadow:0 12px 26px rgba(0,0,0,.24)}
#hours .hours-map-card:focus-visible{outline:2px solid #138045;outline-offset:2px}
#hours .hours-map-card strong{display:block;font-family:"Jua","Noto Sans KR",sans-serif;font-weight:400;font-size:1.1rem;line-height:1.3;color:var(--teal-deep)}
#hours .hours-map-card span{display:block;margin-top:2px;font-size:.702rem;line-height:1.3;color:#5F6F68}
#hours .hours-map-link{
  position:absolute;left:18px;bottom:18px;z-index:2;
  display:inline-flex;align-items:center;gap:6px;
  padding:10px 14px;border-radius:999px;
  border:1px solid rgba(51,71,63,.12);
  background:#FFFFFF;color:#33473F;text-decoration:none;
  font-size:.672rem;font-weight:700;letter-spacing:-.01em;
  box-shadow:0 8px 20px rgba(0,0,0,.16);
  transition:background .2s,color .2s,transform .2s;
}
#hours .hours-map-link .icon{width:14px;height:14px;color:#33473F}
#hours .hours-map-link:hover{background:#138045;color:#fff;transform:translateY(-2px)}
#hours .hours-map-link:hover .icon{color:#fff}

/* HOURS — phone CTA above the map */
#hours .hours-call{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  width:max-content;max-width:100%;
  min-height:52px;padding:0 24px;margin:0 auto 16px;
  border:1.5px solid #DCE5C6;border-radius:999px;
  background:#FFFDF8;color:#138045;
  font-size:1rem;font-weight:700;line-height:1.2;white-space:nowrap;text-decoration:none;
  box-shadow:0 12px 26px rgba(0,0,0,.18);
  transition:background .2s,color .2s,border-color .2s,transform .2s;
}
#hours .hours-call .icon{width:20px;height:20px;color:#138045}
#hours .hours-call:hover{background:#0F6637;border-color:#0F6637;color:#fff;transform:translateY(-2px)}
#hours .hours-call:hover .icon{color:#fff}

@media (min-width:901px){
  #hours .hours-call{
    grid-column:2;grid-row:1;
    align-self:start;justify-self:center;
    margin:0;
  }
}

@media (min-width:901px){
  #hours .hours-map{grid-column:2;grid-row:1;align-self:start;justify-self:center;min-height:0;position:relative;z-index:1}
}

/* HOURS — lime frame box around the card + map */
#hours .hours-matte{display:none}

@media (min-width:901px){
  #hours .hours-matte{
    display:block;position:absolute;z-index:0;
    border:0;border-radius:50px;
    background:linear-gradient(145deg,#F2F8C8 0%,#EAF5B7 55%,#E1F0A7 100%);
    box-shadow:0 12px 28px rgba(0,0,0,.12);
    overflow:hidden;
    pointer-events:none;
  }
  #hours .hours-matte::before{
    content:"";position:absolute;right:-80px;top:-50px;
    width:360px;height:360px;border-radius:50%;
    background:rgba(255,255,255,.26);
  }
  #hours .hours-left{position:relative;z-index:1}
  #hours .hours-call{position:relative;z-index:2}
  #hours .contact-card,#hours .hours-map{box-shadow:none}
}

/* 뱃지 배율 — 1366·1549는 1.0, 1920·2560은 1.1 */
@media (min-width:901px) and (max-width:1919px){
  .eyebrow,
  #home .hero-copy .eyebrow,
  #about .eyebrow,
  #services .eyebrow,
  #guide .eyebrow,
  #notices .eyebrow,
  #inquiry .eyebrow,
  #hours .eyebrow{--badge-scale:1}
}
@media (min-width:1920px){
  .eyebrow,
  #home .hero-copy .eyebrow,
  #about .eyebrow,
  #services .eyebrow,
  #guide .eyebrow,
  #notices .eyebrow,
  #inquiry .eyebrow,
  #hours .eyebrow{--badge-scale:1.1}
}

/* 주요 제목 6종 — 기존 크기의 90% */
@media (min-width:901px) and (max-height:820px){
  #about .about-copy h2,
  #about .values-title,
  #about .svc-promise-title,
  #services .svc-head h2,
  #guide .page-head h2,
  #guide .subhead-title{font-size:1.71rem}
  #about .about-copy h2,
  #about .values-title,
  #about .svc-promise-title,
  #services .svc-head h2,
  #guide .page-head h2,
  #guide .subhead-title{margin-bottom:calc(var(--sg2) * .7)}
  #about .about-copy h2{margin-top:calc(var(--sg1) * .7)}
  #about .values-intro{margin-bottom:calc(var(--sg1) * .7)}
  #about .svc-promise-title{margin-top:calc(var(--sg1) * .7)}
  #services .svc-head h2{margin-top:calc(var(--sg1) * .7)}
  #guide .page-head h2{margin-top:calc(var(--sg1) * .7)}
  #guide .procedure-badge{margin-bottom:calc((var(--sg1) - var(--sg3)) * .7 - (.033 * 1.71rem))}
}
@media (min-width:1200px) and (min-height:821px){
  #about .about-copy h2,
  #about .values-title,
  #about .svc-promise-title,
  #services .svc-head h2,
  #guide .page-head h2,
  #guide .subhead-title{font-size:1.755rem}
  #about .about-copy h2,
  #about .values-title,
  #about .svc-promise-title,
  #services .svc-head h2,
  #guide .page-head h2,
  #guide .subhead-title{margin-bottom:calc(var(--sg2) * .7)}
  #about .about-copy h2{margin-top:calc(var(--sg1) * .7)}
  #about .values-intro{margin-bottom:calc(var(--sg1) * .7)}
  #about .svc-promise-title{margin-top:calc(var(--sg1) * .7)}
  #services .svc-head h2{margin-top:calc(var(--sg1) * .7)}
  #guide .page-head h2{margin-top:calc(var(--sg1) * .7)}
  #guide .procedure-badge{margin-bottom:calc((var(--sg1) - var(--sg3)) * .7 - (.033 * 1.755rem))}
}

/* ==========================================================================
   HOME ACCENT — green #138045
   적용: 헤더 전화상담, 홈 히어로 전화상담
   ========================================================================== */
.header-cta{
  background:#138045;
  box-shadow:0 10px 22px rgba(19,128,69,.24);
}
.header-cta:hover{
  background:#0F6637;
  box-shadow:0 14px 28px rgba(19,128,69,.30);
}

#home .hero-actions .btn--primary{
  background:#138045;
  box-shadow:0 10px 22px rgba(19,128,69,.24);
}
#home .hero-actions .btn--primary:hover{
  background:#0F6637;
  box-shadow:0 14px 28px rgba(19,128,69,.30);
}

@media (max-width:900px){
  .header-call{
    background:#138045;
    box-shadow:0 8px 18px rgba(19,128,69,.24);
  }
}

/* ABOUT — slightly taller cards on large screens */
@media (min-width:1700px) and (min-height:1050px){
  #about .about-value-card,
  #about .svc-promise-grid .svc-promise-card{
    padding-top:17px;
    padding-bottom:18px;
  }
}

/* PAGE BACKGROUND GROUPS */
:root{
  --page-bg-a:linear-gradient(165deg,#FBF7E7 0%,#F1F6DA 52%,#E3EDB8 100%);
  --page-bg-b:linear-gradient(180deg,#FFFBF2 0%,#FFF6E6 100%);
}
.page--home,
.page--services,
.page--hours,
#notices{background:var(--page-bg-a)}
.page--about,
.page--guide,
#inquiry{background:var(--page-bg-b)}

/* SERVICES — photo fills the left half, straight seam */
#services .svc-photo{
  position:relative!important;overflow:hidden!important;
  height:100%!important;min-height:0!important;background:#FFFFFF!important;
}
#services .svc-photo img{
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;
  object-fit:cover!important;object-position:center 30%!important;
  border-radius:0 28px 28px 0!important;
}

@media (min-width:901px){
  #services .svc-card{height:auto!important;min-height:0!important}
  #services .svc-body{padding:14px 16px 12px!important}
  #services .svc-desc{font-size:.78rem!important;line-height:1.5!important;margin-bottom:6px!important}
  #services .svc-list{gap:3px!important;padding-top:6px!important;margin-top:0!important}
  #services .svc-list li{font-size:.72rem!important;line-height:1.35!important}
  #services .svc-inner{gap:12px!important}
  #services .svc-head h2{margin:8px 0 4px!important}
  #services .svc-lead{line-height:1.55!important}
  #services .svc-foot{padding:6px 14px!important}
}

@media (min-width:901px) and (max-height:820px){
  #services .svc-body{padding:10px 14px 9px!important}
  #services .svc-desc{font-size:.74rem!important;line-height:1.4!important;margin-bottom:4px!important}
  #services .svc-list{gap:2px!important;padding-top:4px!important}
  #services .svc-list li{font-size:.68rem!important;line-height:1.3!important}
  #services .svc-heading h3{font-size:.92rem!important;margin:2px 0 0!important}
  #services .svc-num{font-size:1rem!important}
  #services .svc-head h2{font-size:1.9rem!important;margin:6px 0 4px!important}
  #services .svc-lead{font-size:.8rem!important;line-height:1.45!important}
  #services .svc-inner{gap:8px!important}
}

/* ==========================================================================
   BOARD — 공지사항 · 1:1 문의
   ========================================================================== */
#notices .page-inner,
#inquiry .page-inner{
  justify-content:flex-start;
  gap:10px;
  padding-block:clamp(12px,1.4vh,18px);
}
.board-head{margin-bottom:0}
.board-head h2{margin-top:8px}
.board-head p:not(.eyebrow){max-width:46em;margin-top:6px;font-size:.9rem;line-height:1.75}
.board-card{
  overflow:hidden;background:#fff;border:1px solid #EDEBDD;border-radius:18px;
  box-shadow:0 10px 26px rgba(27,54,87,.05);
}
.board-table-head{
  display:grid;grid-template-columns:86px minmax(0,1fr) 132px;align-items:center;
  padding:8px 10px;border-bottom:1px solid #F0EEE2;background:#FFFDF8;
  color:#7A8775;font-size:.78rem;font-weight:700;letter-spacing:.02em;
}
.board-table-head span{text-align:center}
.board-table-head span:nth-child(2){text-align:left}
.notice-items{list-style:none;margin:0;padding:0}
.notice-item{
  display:grid;grid-template-columns:86px minmax(0,1fr) 132px;align-items:center;
  border-top:1px solid #F2F0E6;
}
.notice-item:first-child{border-top:0}
.notice-item-number{padding:7px 10px;text-align:center;font-size:.82rem;color:#8A9586}
.notice-item-link{
  display:flex;align-items:center;min-width:0;padding:7px 10px;border:0;background:transparent;
  color:var(--teal-deep);font:inherit;text-align:left;cursor:pointer;transition:background .18s,color .18s;
}
.notice-item-link:hover{background:#FBFDF4;color:var(--teal)}
.notice-item-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:600}
.notice-item-date{padding:7px 10px;text-align:center;font-size:.78rem;color:#8A9586;white-space:nowrap}
.board-empty{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:240px;padding:36px 24px;text-align:center;background:#fff;
}
.board-empty[hidden]{display:none}
.board-empty-icon{
  display:grid;place-items:center;width:52px;height:52px;margin-bottom:14px;
  border-radius:50%;background:var(--lime-soft);color:var(--teal);
}
.board-empty-icon .icon{width:24px;height:24px}
.board-empty strong{font-family:"Jua","Noto Sans KR",sans-serif;font-weight:400;font-size:1.15rem;color:var(--teal-deep)}
.board-empty p{margin-top:6px;font-size:.86rem;line-height:1.7;color:var(--muted)}
.notice-list[hidden]{display:none}
.board-pagination{display:flex;justify-content:center;gap:5px;min-height:0}
.board-pagination:empty{display:none}
.board-pagination button{
  min-width:34px;height:34px;padding:0 9px;border:1px solid #E7E5D6;border-radius:9px;
  background:#fff;color:var(--teal-deep);font:inherit;font-size:.8rem;font-weight:700;cursor:pointer;
}
.board-pagination button:hover{background:var(--lime-soft)}
.board-pagination button[aria-current="page"]{border-color:var(--teal);background:var(--teal);color:#fff}
.board-pagination button:disabled{opacity:.35;cursor:default}

.board-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:34px;color:#6E7D72;font-size:.82rem}
.board-search{display:flex;gap:7px}
.board-search input{
  width:min(260px,44vw);min-height:34px;padding:5px 10px;border:1px solid #E7E5D6;
  border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:.84rem;
}
.board-search input:focus{border-color:var(--teal);outline:2px solid rgba(15,107,91,.2)}
.board-search .btn{min-height:34px;padding:5px 12px;font-size:.78rem}
.board-table-wrap{overflow-x:auto}
.board-table{width:100%;border-collapse:collapse;font-size:.86rem}
.board-table th{
  padding:8px 10px;border-bottom:1px solid #F0EEE2;background:#FFFDF8;
  color:#7A8775;font-size:.8rem;font-weight:700;text-align:center;
}
.board-table td{padding:8px 10px;border-top:1px solid #F2F0E6;color:#5F6F68;font-size:.8rem;text-align:center}
.board-table tbody tr:first-child td{border-top:0}
.board-table th:nth-child(2),.board-table td:nth-child(2){text-align:left}
.board-table th:first-child,.board-table td:first-child{width:86px}
.board-table th:last-child,.board-table td:last-child{width:132px}
.inquiry-row-title{
  display:flex;align-items:center;gap:8px;width:100%;min-width:0;padding:0;border:0;
  background:transparent;color:var(--teal-deep);font:inherit;font-weight:600;text-align:left;cursor:pointer;
}
.inquiry-row-title:hover{color:var(--teal);text-decoration:underline;text-underline-offset:3px}
.inquiry-row-title .icon{width:14px;height:14px;flex:none;color:#9AA79C}
.inquiry-row-title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.inquiry-reply-count{flex:none;color:#2C6E8E;font-size:.82em}
.inquiry-answer-badge{
  flex:none;margin-left:auto;padding:3px 8px;border-radius:999px;
  background:var(--teal-soft);color:var(--teal);font-size:.68rem;font-weight:700;white-space:nowrap;
}
.board-loading,.inquiry-empty{padding:40px 12px!important;text-align:center!important;color:var(--muted)!important}
.board-actions{display:flex;justify-content:flex-end}
.board-actions .btn{min-height:36px;padding-inline:18px;font-size:.8rem}

.board-view{display:flex;flex-direction:column;gap:5px}
.board-view[hidden]{display:none!important}
.board-back{
  align-self:flex-start;padding:0;border:0;background:none;color:var(--teal);
  font:inherit;font-size:.82rem;font-weight:700;cursor:pointer;
}
.board-back:hover{text-decoration:underline;text-underline-offset:3px}
.board-view-head h3{margin-bottom:4px;font-family:"Jua","Noto Sans KR",sans-serif;font-weight:400;font-size:1.35rem;color:var(--teal-deep)}
.board-view-head--center{text-align:center}
.board-intro{font-size:.84rem;line-height:1.7;color:#6E7D72}
.board-form{
  display:grid;gap:12px;width:100%;max-width:880px;padding:22px 24px;
  background:#fff;border:1px solid #EDEBDD;border-radius:22px;box-shadow:0 10px 26px rgba(27,54,87,.05);
}
.board-form--narrow{max-width:620px}
.board-field{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:12px;font-size:.84rem;font-weight:700;color:var(--teal-deep)}
.board-field em{color:var(--pink-deep);font-style:normal}
.board-field small{font-weight:400;color:#8A9586}
.board-field input,.board-field textarea{
  width:100%;min-height:42px;padding:10px 12px;border:1px solid #E7E5D6;border-radius:10px;
  background:#FFFDF8;color:var(--ink);font:inherit;font-size:.86rem;font-weight:400;
}
.board-field input:focus,.board-field textarea:focus{border-color:var(--teal);outline:2px solid rgba(15,107,91,.2)}
.board-field textarea{min-height:190px;resize:vertical;line-height:1.7}
.board-field--area{align-items:start}
.board-field--area>span{padding-top:11px}
.board-help{margin:-4px 0 2px 124px;font-size:.76rem;line-height:1.6;color:#8A9586}
.board-consent{display:flex;align-items:flex-start;gap:9px;font-size:.8rem;line-height:1.65;color:#5F6F68;font-weight:400}
.board-consent input{flex:none;width:17px;height:17px;margin-top:2px;accent-color:var(--teal)}
#turnstileWidget{margin-left:124px}
.board-honeypot{position:absolute;left:-10000px;width:1px;height:1px}
.board-form-actions{display:flex;justify-content:space-between;gap:10px;margin-top:4px}
.board-form-actions .btn{min-height:44px;padding-inline:20px;font-size:.84rem}
.board-message{min-height:1.2em;font-size:.8rem;line-height:1.6;color:var(--teal)}
.board-message.error{color:#C43D34}
.board-message[hidden]{display:none}

.board-lookup{display:flex;flex-direction:column;align-items:center;gap:12px}
.board-selected{
  display:grid;gap:5px;width:100%;max-width:620px;padding:16px 18px;
  border:1px solid #E7E5D6;border-radius:14px;background:#FFFDF8;
}
.board-selected span{font-size:.72rem;color:#8A9586}
.board-selected strong{font-size:.95rem;color:var(--teal-deep)}

.board-detail{
  width:100%;max-width:900px;padding:24px 26px;background:#fff;border:1px solid #EDEBDD;
  border-radius:22px;box-shadow:0 10px 26px rgba(27,54,87,.05);
}
.board-status{
  display:inline-flex;padding:4px 10px;border-radius:999px;background:var(--lime-soft);
  color:var(--teal);font-size:.72rem;font-weight:700;
}
.board-detail h3{margin:10px 0 4px;font-family:"Jua","Noto Sans KR",sans-serif;font-weight:400;font-size:1.35rem;color:var(--teal-deep)}
.board-date{font-size:.78rem;color:#8A9586}
.board-detail-message{
  padding:18px 0 22px;border-bottom:1px solid #F0EEE2;
  font-size:.88rem;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;
}
.board-detail h4{margin:20px 0 10px;font-size:.92rem;color:var(--teal-deep)}
.board-replies{display:grid;gap:10px}
.board-reply{
  padding:14px 16px;border-radius:12px;background:#F7F9EE;
  font-size:.84rem;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;
}
.board-reply--center{background:var(--teal-soft)}
.board-reply time{display:block;margin-bottom:5px;font-size:.72rem;color:#8A9586}
.board-reply strong{display:block;margin-bottom:3px;font-size:.78rem;color:var(--teal-deep)}
.board-reply p{margin:0}
.board-replies-empty{font-size:.84rem;color:#8A9586}
.board-followup{margin-top:22px;padding:18px 0 0;border:0;border-top:1px solid #F0EEE2;border-radius:0;box-shadow:none;background:transparent}

.board-dialog{width:min(680px,calc(100% - 32px))}
.board-dialog .dialog-inner{padding:28px 28px 24px}
.board-dialog-eyebrow{margin-bottom:8px;font-size:.7rem;font-weight:700;letter-spacing:.16em;color:var(--olive)}
.board-dialog h2{margin:0 0 6px;font-size:1.45rem;line-height:1.4;color:var(--teal-deep)}
.notice-detail-date{font-size:.78rem!important;color:#8A9586!important}
.notice-detail-content{margin-top:14px;font-size:.88rem;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}
.notice-detail-link-wrap{margin-top:14px}
.notice-detail-link-wrap a{display:inline-flex;align-items:center;gap:6px;color:var(--teal);font-size:.82rem;font-weight:700;text-decoration:none;border-bottom:1px solid rgba(15,107,91,.3);padding-bottom:2px}
.notice-detail-link-wrap .icon{width:15px;height:15px;transform:rotate(-45deg)}
.dialog-actions{display:flex;justify-content:flex-end;margin-top:18px}
.dialog-actions .btn{min-height:42px;padding-inline:20px;font-size:.82rem}

@media (max-width:900px){
  #notices .page-inner,
  #inquiry .page-inner{gap:14px;padding-block:28px 46px}
  .board-table-head,.notice-item{grid-template-columns:52px minmax(0,1fr) 88px}
  .board-table th:first-child,.board-table td:first-child{width:52px}
  .board-table th:last-child,.board-table td:last-child{width:88px}
  .board-table th,.board-table td,.notice-item-number,.notice-item-link,.notice-item-date{padding:11px 7px;font-size:.78rem}
  .notice-item-title{font-size:.82rem}
  .board-toolbar{flex-direction:column;align-items:stretch;gap:9px}
  .board-search{width:100%}
  .board-search input{flex:1;width:auto}
  .board-field{grid-template-columns:1fr;gap:6px}
  .board-field--area>span{padding-top:0}
  .board-help{margin-left:0}
  #turnstileWidget{margin-left:0}
  .board-form{padding:18px}
  .board-form-actions .btn{flex:1}
  .board-detail{padding:18px}
  .board-dialog .dialog-inner{padding:22px 18px 18px}
}
@media (max-width:520px){
  .board-table th:nth-child(1),.board-table td:nth-child(1){width:42px}
  .board-table th:nth-child(3),.board-table td:nth-child(3){width:76px}
  .notice-item{grid-template-columns:42px minmax(0,1fr) 76px}
  .inquiry-answer-badge{padding:2px 6px;font-size:.62rem}
  .board-actions{justify-content:stretch}
  .board-actions .btn{width:100%}
}

/* 개인정보 처리방침 */
.privacy-dialog{width:min(760px,calc(100% - 32px))}
.privacy-eyebrow{margin-bottom:4px;font-size:.7rem;font-weight:700;letter-spacing:.16em;color:var(--olive)}
.privacy-policy{display:grid;gap:15px;margin-top:14px;text-align:left}
.privacy-policy section{display:grid;gap:5px}
.privacy-policy h3{margin:0;font-size:.92rem;line-height:1.5;color:var(--teal-deep)}
.privacy-policy p,.privacy-policy li{font-size:.78rem;line-height:1.75;color:#5F6F68}
.privacy-policy ul{display:grid;gap:4px;margin:0;padding-left:1.1em}
.privacy-policy a{color:var(--teal);text-decoration:underline;text-underline-offset:2px}
.policy-date{font-size:.72rem!important;color:#8A9586!important}
.policy-intro{font-size:.8rem!important;line-height:1.75!important}
.policy-contact-label{display:inline-flex;gap:1px;font-weight:700;color:var(--teal-deep)}
.policy-callout{padding:10px 12px;border-radius:10px;background:var(--lime-soft);font-size:.74rem!important;line-height:1.65!important}
.privacy-dialog .dialog-inner h2{margin-bottom:0}
.privacy-dialog .dialog-actions .btn{min-height:42px;padding-inline:20px;font-size:.82rem}


