/* 대상누수탐지기술 — 메인 시안
   Layout: 실사 히어로 → 숫자 띠 → 전문분야(사진+목록) → 기술력(어두운 띠) → 실적 카드 → 문의 → 푸터
   색: 강철 잉크 + 로고 레드(포인트 한 곳씩만) + 밝은 회백 */
:root{
  --ink:#0f1821;
  --steel:#1c2934;
  --paper:#f3f5f7;
  --white:#ffffff;
  --line:#dde3e8;
  --muted:#5b6873;
  --muted-on-dark:#a9b5bf;
  --red:#e2262b;
  --red-dark:#c21c21;
  --font:"Pretendard Variable",Pretendard,"Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
  --mono:"JetBrains Mono",ui-monospace,Consolas,monospace;
  --container:1200px;
  --header-h:72px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:var(--header-h)}
body{margin:0;font-family:var(--font);color:var(--ink);background:var(--white);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;word-break:keep-all;overflow-wrap:break-word}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3,h4,p{margin:0}
h1,h2,h3{text-wrap:balance;letter-spacing:-.02em}
ul,ol{margin:0;padding:0;list-style:none}
:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.container{max-width:var(--container);margin:0 auto;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;height:54px;padding:0 26px;border-radius:4px;font-weight:700;font-size:1rem;text-decoration:none;transition:background .2s,border-color .2s,color .2s}
.btn-red{background:var(--red);color:var(--white)}
.btn-red:hover{background:var(--red-dark)}
.btn-ghost{border:1.5px solid rgba(255,255,255,.55);color:var(--white)}
.btn-ghost:hover{border-color:var(--white);background:rgba(255,255,255,.08)}

/* ---------- header ---------- */
.site-header{position:fixed;inset:0 0 auto;z-index:50;color:var(--white);transition:background .25s,box-shadow .25s,color .25s}
.site-header.is-solid,.site-header.menu-open{background:var(--white);color:var(--ink);box-shadow:0 1px 0 var(--line)}
.header-inner{height:var(--header-h);display:flex;align-items:center;gap:40px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:700;font-size:1.12rem;letter-spacing:-.02em;white-space:nowrap}
.brand img{width:34px;height:34px}
.nav{display:flex;gap:36px;margin-left:auto}
.nav a{text-decoration:none;font-weight:600;font-size:.98rem;opacity:.92;position:relative;padding:6px 0}
.nav a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--red);transform:scaleX(0);transition:transform .2s}
.nav a:hover::after{transform:scaleX(1)}
.header-call{display:inline-flex;align-items:center;gap:8px;font-family:var(--mono);font-weight:600;font-size:.95rem;text-decoration:none;padding:9px 14px;border:1.5px solid currentColor;border-radius:4px;opacity:.95}
.header-call .dot{width:7px;height:7px;border-radius:50%;background:var(--red)}
.menu-btn{display:none;margin-left:auto;width:44px;height:44px;border:0;background:none;color:inherit;cursor:pointer;position:relative}
.menu-btn span{position:absolute;left:11px;right:11px;height:2px;background:currentColor;transition:transform .2s,top .2s}
.menu-btn span:first-child{top:17px}.menu-btn span:last-child{top:25px}
.menu-open .menu-btn span:first-child{top:21px;transform:rotate(45deg)}
.menu-open .menu-btn span:last-child{top:21px;transform:rotate(-45deg)}

/* ---------- hero ---------- */
.hero{position:relative;min-height:clamp(600px,88vh,900px);display:flex;flex-direction:column;justify-content:flex-end;color:var(--white);background:var(--ink);overflow:hidden}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.hero-shade{position:absolute;inset:0;background:
  linear-gradient(90deg,rgba(10,17,24,.86) 0%,rgba(10,17,24,.62) 38%,rgba(10,17,24,.08) 70%),
  linear-gradient(0deg,rgba(10,17,24,.75) 0%,rgba(10,17,24,0) 40%),
  linear-gradient(180deg,rgba(10,17,24,.55) 0%,rgba(10,17,24,0) 22%)}
.hero-content{position:relative;width:100%;padding-bottom:120px;display:flex;flex-direction:column;gap:22px}
.eyebrow{font-size:.92rem;font-weight:600;letter-spacing:.02em;color:#ffd7d8;display:flex;align-items:center;gap:10px}
.eyebrow::before{content:"";width:28px;height:2px;background:var(--red)}
.hero h1{font-size:clamp(2.6rem,6.4vw,5.2rem);line-height:1.08;font-weight:800;letter-spacing:-.035em}
.hero-sub{font-size:clamp(1rem,1.5vw,1.2rem);color:#dfe6ec;line-height:1.75;max-width:40em}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.hero-caption{position:absolute;right:0;left:0;bottom:84px;text-align:right;font-size:.8rem;color:rgba(255,255,255,.7);letter-spacing:.02em;pointer-events:none}

/* ---------- stats ---------- */
.stats{position:relative;z-index:2;background:var(--white);padding-bottom:56px}
.stats-grid{display:grid;grid-template-columns:repeat(5,1fr);margin-top:-64px;background:var(--white);box-shadow:0 18px 50px -20px rgba(15,24,33,.35);border-top:3px solid var(--red)}
.stat{padding:30px 24px 28px;display:flex;flex-direction:column;gap:8px;border-left:1px solid var(--line)}
.stat:first-child{border-left:0}
.stat-num{font-size:clamp(2.2rem,3.6vw,3rem);font-weight:800;line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.stat-num span{font-size:.42em;font-weight:700;margin-left:4px;color:var(--red);letter-spacing:0}
.stat-word{color:var(--ink)}
.stat-label{color:var(--muted);font-size:.95rem;line-height:1.5}
.clients{display:grid;grid-template-columns:110px 1fr;gap:28px;margin-top:44px;align-items:start}
.clients-label{font-size:.82rem;font-weight:700;color:var(--ink);letter-spacing:.04em;padding-top:12px}
.client-groups{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.cg{display:grid;grid-template-columns:170px 1fr;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);align-items:baseline}
.cg-h{font-size:.82rem;font-weight:700;color:var(--red);letter-spacing:.02em}
.clients-list{display:flex;flex-wrap:wrap;gap:4px 0;color:#5f6b75;font-weight:600;font-size:.95rem}
.clients-list li{white-space:nowrap}
.clients-list li:not(:last-child)::after{content:"·";color:#b9c2c9;margin:0 10px}
.clients-list small{font-size:.8em;font-weight:500;color:#8a959e;margin-left:2px}

/* ---------- section common ---------- */
.section{padding-block:110px}
.kicker{font-size:.85rem;font-weight:700;color:var(--red);letter-spacing:.06em;margin-bottom:14px}
.kicker-light{color:#ff7d80}
h2{font-size:clamp(1.9rem,3.4vw,2.75rem);line-height:1.22;font-weight:800}
.lead{font-size:1.06rem;color:var(--muted);line-height:1.8;max-width:34em;margin-top:20px}

/* ---------- field ---------- */
.field{background:var(--paper)}
.field-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:64px;align-items:center}
.field-photo{margin:0;aspect-ratio:4/5;overflow:hidden;border-radius:2px;max-width:100%}
.field-photo img{width:100%;height:100%;object-fit:cover;object-position:24% 50%}
.field-text{min-width:0}
.pipes{display:grid;grid-template-columns:1fr 1fr;margin-top:36px;border-top:1px solid var(--line)}
.pipes li{padding:18px 4px 18px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:2px}
.pipes li:nth-child(odd){padding-right:20px}
.pipes b{font-size:1.12rem;font-weight:700;display:flex;align-items:center;gap:10px}
.pipes b::before{content:"";width:10px;height:10px;border:2.5px solid var(--red);border-radius:50%}
.pipes span{color:var(--muted);font-size:.92rem;padding-left:20px}
.services{margin-top:96px}
.services-title{font-size:1.25rem;font-weight:700;margin-bottom:24px}
.svc-list{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.svc{background:var(--white);display:flex;flex-direction:column}
.svc img{aspect-ratio:4/3;width:100%;height:auto;object-fit:cover}
.svc>div{padding:20px 22px 26px;display:flex;flex-direction:column;gap:6px}
.svc-step{font-family:var(--mono);font-size:.8rem;font-weight:600;color:var(--red)}
.svc h4{font-size:1.15rem;font-weight:700;margin:0}
.svc p:last-child{color:var(--muted);font-size:.94rem;line-height:1.6}

/* ---------- tech ---------- */
.tech{position:relative;color:var(--white);background:var(--ink);overflow:hidden}
.tech-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.9}
.tech-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,19,26,.95) 0%,rgba(12,19,26,.88) 50%,rgba(12,19,26,.8) 100%)}
.tech-grid{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:start}
.tech .lead{color:var(--muted-on-dark)}
.tech-points{margin-top:26px;display:flex;flex-direction:column;gap:12px}
.tech-points li{position:relative;padding-left:22px;font-size:1.06rem;color:#dbe2e8;line-height:1.6}
.tech-points li::before{content:"";position:absolute;left:0;top:.8em;width:10px;height:2px;background:var(--red)}
.badges{display:flex;flex-wrap:wrap;gap:12px;margin-top:36px}
.badge{display:flex;flex-direction:column;gap:2px;padding:14px 18px;border:1px solid rgba(255,255,255,.22);border-radius:4px;text-decoration:none;min-width:0}
.badge b{font-size:.98rem}
.badge span{font-size:.84rem;color:var(--muted-on-dark)}
.badge-link:hover{border-color:var(--red);background:rgba(226,38,43,.08)}
.timeline{border-left:1px solid rgba(255,255,255,.22);margin-top:8px}
.timeline li{position:relative;display:grid;grid-template-columns:72px 1fr;gap:14px;padding:0 0 26px 28px}
.timeline li:last-child{padding-bottom:0}
.timeline li::before{content:"";position:absolute;left:-5px;top:9px;width:9px;height:9px;border-radius:50%;background:var(--ink);border:2px solid var(--muted-on-dark)}
.timeline li:last-child::before{background:var(--red);border-color:var(--red)}
.yr{font-family:var(--mono);font-weight:600;font-size:1.05rem;color:var(--white)}
.timeline p{color:#d2dae1;line-height:1.6}

/* ---------- cases ---------- */
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:44px;flex-wrap:wrap}
.more{font-weight:700;text-decoration:none;border-bottom:2px solid var(--red);padding-bottom:3px}
.case-nav{display:flex;align-items:center;gap:10px}
.case-count{font-family:var(--mono);font-size:.9rem;color:var(--muted);margin-right:8px}
.case-count b{color:var(--ink)}
.arrow{width:50px;height:50px;border-radius:50%;border:1.5px solid var(--ink);background:var(--white);color:var(--ink);font-size:1.2rem;cursor:pointer;display:grid;place-items:center;transition:background .2s,color .2s,border-color .2s}
.arrow:hover:not(:disabled){background:var(--ink);color:var(--white)}
.arrow:disabled{opacity:.28;cursor:default}
.case-viewport{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.case-viewport::-webkit-scrollbar{display:none}
.case-track{display:flex}
.case-page{flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always}
.case-foot{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:40px;padding-top:24px;border-top:1px solid var(--line)}
.case-dots{display:flex;gap:8px}
.case-dots i{width:26px;height:3px;background:var(--line);transition:background .2s}
.case-dots i.on{background:var(--red)}
.case-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px 24px}
.case{display:flex;flex-direction:column;min-width:0}
.case img{aspect-ratio:3/2;width:100%;height:auto;object-fit:cover;transition:transform .5s}
.case{overflow:hidden}
.case:hover img{transform:scale(1.03)}
.case-body{padding:18px 2px 0;display:flex;flex-direction:column;gap:4px;border-top:0}
.case-tag{font-size:.82rem;font-weight:700;color:var(--muted)}
.case h3{font-size:1.2rem;font-weight:700}
.spec{font-size:.95rem;font-weight:600;font-variant-numeric:tabular-nums;color:var(--steel);margin-top:4px}
.spec i{font-style:normal;color:var(--red);margin:0 2px}

/* ---------- contact ---------- */
.contact{background:var(--paper)}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:72px}
.contact-main{min-width:0}
.contact-list{margin:36px 0 0;display:flex;flex-direction:column;border-top:2px solid var(--ink)}
.contact-list div{display:grid;grid-template-columns:110px 1fr;padding:16px 0;border-bottom:1px solid var(--line);align-items:baseline}
.contact-list dt{color:var(--muted);font-size:.92rem;font-weight:600}
.contact-list dd{margin:0;font-size:1.15rem;font-weight:700;overflow-wrap:anywhere}
.contact-list a{text-decoration:none}
.contact-list a:hover{color:var(--red)}
.faq{min-width:0}
.faq h3{font-size:1.25rem;font-weight:700;margin-bottom:18px}
details{background:var(--white);border:1px solid var(--line);border-radius:4px;margin-bottom:10px}
summary{cursor:pointer;list-style:none;padding:20px 52px 20px 22px;font-weight:700;font-size:1.04rem;position:relative}
summary::-webkit-details-marker{display:none}
summary::after{content:"";position:absolute;right:22px;top:50%;width:10px;height:10px;border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:translateY(-70%) rotate(45deg);transition:transform .2s}
details[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
details>p,details>ol{padding:0 22px 22px;color:var(--muted)}
.flow{counter-reset:f;display:flex;flex-direction:column;gap:8px}
.flow li{counter-increment:f;display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;color:var(--ink);font-weight:600}
.flow li::before{content:counter(f);font-family:var(--mono);font-size:.8rem;color:var(--white);background:var(--steel);width:22px;height:22px;border-radius:50%;display:inline-grid;place-items:center;flex:none}
.flow small{font-weight:400;color:var(--muted);font-size:.88rem}

/* ---------- footer ---------- */
.site-footer{background:var(--ink);color:var(--muted-on-dark);padding-block:56px 32px;font-size:.9rem}
.footer-grid{display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap}
.brand-foot{color:var(--white);margin-bottom:16px}
.brand-foot img{width:30px;height:30px}
.footer-info{line-height:1.9}
.footer-info i{font-style:normal;opacity:.4;margin:0 6px}
.footer-links{display:flex;flex-direction:column;gap:10px;min-width:240px}
.footer-h{color:var(--white);font-weight:700;margin-bottom:4px}
.footer-links a{display:flex;justify-content:space-between;gap:16px;text-decoration:none;color:var(--white);padding:12px 16px;border:1px solid rgba(255,255,255,.16);border-radius:4px}
.footer-links a span{color:var(--muted-on-dark);font-size:.84rem}
.footer-links a:hover{border-color:var(--red)}
.copy{margin-top:40px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);font-size:.8rem}
.mobile-call{display:none}

/* ---------- 탐지실적 페이지 ---------- */
.subpage .site-header{background:var(--white);color:var(--ink);box-shadow:0 1px 0 var(--line)}
.nav a[aria-current="page"]::after{transform:scaleX(1)}
.page-hero{background:var(--ink);color:var(--white);padding:calc(var(--header-h) + 72px) 0 64px}
.page-hero h1{font-size:clamp(2.2rem,4.6vw,3.6rem);font-weight:800;letter-spacing:-.03em;line-height:1.15}
.page-lead{color:#c9d2da;font-size:1.08rem;line-height:1.8;max-width:40em;margin-top:18px}
.page-facts{display:flex;flex-wrap:wrap;gap:12px 48px;margin-top:40px;padding-top:28px;border-top:1px solid rgba(255,255,255,.14);color:var(--muted-on-dark);font-size:.92rem}
.page-facts li{display:flex;flex-direction:column;gap:4px}
.page-facts b{color:var(--white);font-size:2rem;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.page-facts b span{font-size:.45em;color:#ff7d80;margin-left:3px;font-weight:700}
.perf-major,.perf-all{padding-block:88px}
.perf-region{background:var(--paper);padding-block:80px}
.perf-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px 28px;flex-wrap:wrap;margin-bottom:28px}
.perf-head h2{font-size:clamp(1.6rem,2.6vw,2.1rem)}
.perf-head p{color:var(--muted);max-width:36em}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.ptable{width:100%;border-collapse:collapse;font-size:.97rem;border-top:2px solid var(--ink)}
.ptable th{text-align:left;font-size:.84rem;font-weight:700;color:var(--muted);padding:14px 16px;border-bottom:1px solid var(--line);white-space:nowrap;background:var(--paper)}
.ptable td{padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:top}
.ptable tbody tr:hover{background:#f8fafb}
.t-name{font-weight:700}
.t-num{font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}
.t-no{width:64px;color:#8a959e;font-variant-numeric:tabular-nums}
.tag{display:inline-block;font-size:.8rem;font-weight:700;color:var(--steel);background:var(--paper);border:1px solid var(--line);padding:2px 8px;border-radius:3px;white-space:nowrap}
.rg-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.rg{background:var(--white);padding:26px 28px}
.rg h3{font-size:1.1rem;font-weight:700;padding-bottom:12px;margin-bottom:12px;border-bottom:2px solid var(--red);display:inline-block}
.rg ul{display:flex;flex-direction:column;gap:6px;color:var(--muted)}
.filter{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{font:inherit;font-size:.9rem;font-weight:600;padding:8px 14px;border:1px solid var(--line);background:var(--white);border-radius:999px;cursor:pointer;color:var(--ink)}
.chip span{color:#8a959e;font-weight:500;margin-left:2px;font-variant-numeric:tabular-nums}
.chip.on{background:var(--ink);border-color:var(--ink);color:var(--white)}
.chip.on span{color:#b9c2c9}
.search input{font:inherit;font-size:.95rem;width:260px;max-width:100%;height:42px;padding:0 14px;border:1px solid var(--line);border-radius:4px}
.search input:focus{outline:2px solid var(--red);outline-offset:0;border-color:transparent}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.result{font-size:.88rem;color:var(--muted);margin-bottom:8px}
.plist td:nth-child(3){color:#3c4852}
.perf-cta{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-top:48px;padding:28px 32px;background:var(--paper)}
.perf-cta p{font-weight:700;font-size:1.1rem}
@media (max-width:900px){
  .rg-grid{grid-template-columns:1fr}
  .page-hero{padding-top:calc(var(--header-h) + 48px)}
}
@media (max-width:560px){
  .ptable{font-size:.88rem}
  .ptable th,.ptable td{padding:11px 8px}
  .t-num,.ptable th{white-space:normal}
  .t-no{width:44px}
  .search,.search input{width:100%}
  .perf-cta{padding:22px}
  .perf-cta .btn{width:100%}
  .plist th:nth-child(4),.plist td:nth-child(4),
  .perf-major .ptable th:nth-child(2),.perf-major .ptable td:nth-child(2){display:none}
  .clients-list{font-size:.88rem}
}

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .nav{gap:24px}
  .header-call{display:none}
  .svc-list{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  :root{--header-h:62px}
  .menu-btn{display:block}
  .nav{position:absolute;top:var(--header-h);left:0;right:0;flex-direction:column;gap:0;background:var(--white);color:var(--ink);padding:8px 20px 20px;box-shadow:0 12px 24px -12px rgba(0,0,0,.25);display:none}
  .menu-open .nav{display:flex}
  .nav a{padding:14px 0;border-bottom:1px solid var(--line);font-size:1.05rem}
  .nav a::after{display:none}
  .stats-grid{grid-template-columns:1fr 1fr}
  .stat:nth-child(odd){border-left:0}
  .stat:last-child{grid-column:1/-1}
  .stat:nth-child(n+3){border-top:1px solid var(--line)}
  .clients{grid-template-columns:1fr;gap:10px}
  .cg{grid-template-columns:1fr;gap:4px}
  .field-grid,.tech-grid,.contact-grid{grid-template-columns:1fr;gap:44px}
  .field-photo{aspect-ratio:16/10}
  .case-grid{grid-template-columns:1fr 1fr}
  .section{padding-block:80px}
  .hero-caption{display:none}
}
@media (max-width:560px){
  body{font-size:15px;padding-bottom:64px}
  .brand{font-size:1rem}
  .brand img{width:30px;height:30px}
  .hero{min-height:620px}
  .hero-img{object-position:80% 50%}
  .hero-shade{background:linear-gradient(0deg,rgba(10,17,24,.92) 0%,rgba(10,17,24,.6) 55%,rgba(10,17,24,.35) 100%)}
  .hero-content{padding-bottom:96px}
  .br-md{display:none}
  .hero-cta .btn{flex:1 1 100%}
  .stats-grid{margin-top:-48px}
  .stat{padding:22px 18px}
  .pipes{grid-template-columns:1fr}
  .pipes li:nth-child(odd){padding-right:0}
  .svc-list{grid-template-columns:1fr}
  .case-grid{gap:22px 12px}
  .case h3{font-size:1rem}
  .case-tag{font-size:.74rem}
  .spec{font-size:.82rem}
  .arrow{width:42px;height:42px}
  .case-count{display:none}
  .contact-list div{grid-template-columns:88px 1fr}
  .mobile-call{display:flex;align-items:center;justify-content:center;position:fixed;left:0;right:0;bottom:0;z-index:60;height:calc(56px + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);background:var(--red);color:var(--white);font-weight:800;font-size:1.05rem;text-decoration:none}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
}
.spec .cnt{white-space:nowrap}

/* ============ 회사소개 페이지 ============ */
.greet-grid,.hist-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px 72px;align-items:start}
.greet-text p{font-size:1.06rem;line-height:1.95;color:var(--steel);margin-top:18px}
.greet-text p:first-child{margin-top:0}
.greet-text .greet-hello{font-size:1.2rem;font-weight:700;color:var(--ink);line-height:1.7}
.sign{display:flex;align-items:baseline;justify-content:flex-end;gap:14px;margin-top:40px!important;padding-top:24px;border-top:1px solid var(--line)}
.sign span{color:var(--muted);font-size:.95rem}
.sign b{font-size:1.5rem;font-weight:800;letter-spacing:.2em;color:var(--ink)}
.about-history{background:var(--paper)}
.history{border-top:2px solid var(--ink)}
.history>li{display:grid;grid-template-columns:110px 1fr;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}
.h-yr{font-family:var(--mono);font-size:1.35rem;font-weight:700;color:var(--red);line-height:1.4}
.history ul li{font-size:1.04rem;font-weight:600;line-height:1.7}
.history ul li+li{margin-top:4px;color:var(--muted);font-weight:500}
.map-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px 64px;align-items:stretch}
.map-links{display:flex;gap:10px;margin-top:28px;flex-wrap:wrap}
.btn-line{border:1.5px solid var(--ink);color:var(--ink);height:48px;padding:0 20px;font-size:.95rem}
.btn-line:hover{background:var(--ink);color:var(--white)}
.map-frame{min-height:420px;background:var(--line)}
.map-frame iframe{width:100%;height:100%;min-height:420px;border:0;display:block}
@media (max-width:900px){
  .greet-grid,.hist-grid,.map-grid{grid-template-columns:1fr;gap:28px}
  .map-frame,.map-frame iframe{min-height:320px}
}
@media (max-width:560px){
  .history>li{grid-template-columns:64px 1fr;gap:12px;padding:18px 0}
  .h-yr{font-size:1.1rem}
  .history ul li{font-size:.98rem}
  .greet-text p{font-size:1rem}
}

/* ============ 전문분야 페이지 ============ */
.pipe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:36px 24px}
.pipe-card{display:flex;flex-direction:column;min-width:0;border-bottom:1px solid var(--line);padding-bottom:22px}
.pipe-card img{aspect-ratio:3/2;width:100%;height:auto;object-fit:cover}
.pipe-body{padding-top:18px}
.pipe-body h3{font-size:1.3rem;font-weight:800;padding-left:14px;border-left:3px solid var(--red);line-height:1.2}
.pipe-sub{color:var(--muted);font-size:.95rem;margin-top:8px}
.pipe-ref-h{font-size:.78rem;font-weight:700;color:var(--red);letter-spacing:.06em;margin-top:16px}
.pipe-ref li{font-size:.95rem;font-weight:600;color:var(--steel);padding:4px 0}
.pipe-ref li::before{content:"–";color:var(--red);margin-right:8px}
.field-svc .services{margin-top:0;padding-top:0;border-top:0}
.proc{display:grid;grid-template-columns:repeat(5,1fr);border-top:2px solid var(--ink)}
.proc li{display:flex;flex-direction:column;gap:6px;padding:24px 20px 26px 0;border-bottom:1px solid var(--line)}
.proc li+li{padding-left:20px;border-left:1px solid var(--line)}
.proc-no{font-family:var(--mono);color:var(--red);font-weight:700;font-size:1.05rem}
.proc b{font-size:1.06rem}
.proc-sub{color:var(--muted);font-size:.9rem}
@media (max-width:900px){
  .pipe-grid{grid-template-columns:1fr 1fr}
  .proc{grid-template-columns:1fr}
  .proc li,.proc li+li{padding:16px 0;border-left:0;flex-direction:row;align-items:baseline;gap:14px;flex-wrap:wrap}
}
@media (max-width:560px){
  .pipe-grid{grid-template-columns:1fr;gap:28px}
}
.map-more{display:inline-block;margin-left:10px;font-size:.88rem;font-weight:600;color:var(--red)}
/* 전화번호 링크: PC(마우스 환경)에서는 클릭 안 됨, 휴대폰 · 태블릿(터치)에서만 전화 연결 */
@media (hover:hover) and (pointer:fine){
  a[href^="tel:"]{pointer-events:none;cursor:default}
}
.facts-list dd{font-size:1rem;font-weight:600;line-height:1.6}
.facts-list div{grid-template-columns:140px 1fr}
@media (max-width:560px){.facts-list div{grid-template-columns:96px 1fr}}
