/* 이안컴퓨터 회사 홈페이지 */
:root{
  --navy:#0E2470;      /* 브랜드 남색 */
  --navy-2:#0A1A52;    /* 하단 */
  --red:#E40001;       /* 로고 빨강 */
  --ink:#16203A;       /* 본문 글자 */
  --sub:#4F5B78;       /* 보조 글자 */
  --mist:#EEF2F8;      /* 옅은 바탕 */
  --line:#D6DDEA;      /* 테두리 */
  --cable:#2A6FDB;     /* 연결선 */
  --paper:#FFFFFF;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--paper);color:var(--ink);font:400 17px/1.75 "IBM Plex Sans KR",system-ui,sans-serif;word-break:keep-all;overflow-wrap:anywhere}
a{color:var(--navy)}
img{max-width:100%;height:auto}
h1,h2,h3{line-height:1.3;margin:0;letter-spacing:-.01em}
:focus-visible{outline:3px solid var(--cable);outline-offset:2px;border-radius:4px}
.wrap{max-width:1160px;margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-999px;top:8px;background:var(--navy);color:#fff;padding:8px 14px;border-radius:6px;z-index:10}
.skip:focus{left:8px}
section[id]{scroll-margin-top:96px}

/* 버튼 */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border-radius:8px;font:700 16px/1 inherit;font-family:inherit;text-decoration:none;border:2px solid transparent;cursor:pointer}
.btn.red{background:var(--red);color:#fff}
.btn.red:hover{background:#C20001}
.btn.line{border-color:var(--navy);color:var(--navy);background:#fff}
.btn.line:hover{background:var(--mist)}

/* 머리글 */
.top{position:sticky;top:0;z-index:5;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:saturate(1.4) blur(6px)}
.topin{display:flex;align-items:center;gap:28px;height:92px}
.brand{display:flex;line-height:0}
.brand img{width:260px}
.menu{display:flex;gap:26px;margin-left:auto}
.menu a{color:var(--ink);text-decoration:none;font-weight:500;font-size:16px}
.menu a:hover{color:var(--navy);text-decoration:underline;text-underline-offset:6px}
.btn.login{min-height:40px;padding:0 18px;background:var(--navy);color:#fff;font-size:15px}
.btn.login:hover{background:var(--navy-2)}
.mobile{display:none}

/* 첫 화면 */
.hero{padding:64px 0 72px;background:linear-gradient(var(--paper),var(--paper)) padding-box}
.heroin{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:48px;align-items:center}
.since{display:inline-block;margin:0 0 18px;padding:4px 12px;border-left:4px solid var(--red);background:var(--mist);font-weight:700;color:var(--navy);font-size:15px}
.hero h1{font-size:clamp(32px,4.2vw,48px);font-weight:700;color:var(--navy);max-width:15em}
.lead{font-size:18px;color:var(--sub);margin:22px 0 30px;max-width:34em}
.cta{display:flex;gap:12px;flex-wrap:wrap}

/* 장비 연결도 */
.topo{margin:0}
.topo svg{width:100%;height:auto;display:block}
.wires path{fill:none;stroke:var(--cable);stroke-width:2.5;stroke-linejoin:round}
.hub rect{fill:var(--navy)}
.hub text{fill:#fff;font:700 17px "IBM Plex Sans KR",sans-serif;text-anchor:middle}
.node rect{fill:#fff;stroke:var(--line);stroke-width:1.5}
.node .ico{fill:none;stroke:var(--navy);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.node text{fill:var(--ink);font:500 15px "IBM Plex Sans KR",sans-serif;text-anchor:middle}
@media (prefers-reduced-motion:no-preference){
  .wires path{stroke-dasharray:260;stroke-dashoffset:260;animation:wire 1.1s cubic-bezier(.4,0,.2,1) forwards}
  .wires path:nth-child(2),.wires path:nth-child(5){animation-delay:.15s}
  .wires path:nth-child(3),.wires path:nth-child(6){animation-delay:.3s}
  .node{opacity:0;animation:on .4s ease-out forwards}
  .node:nth-of-type(1),.node:nth-of-type(4){animation-delay:.7s}
  .node:nth-of-type(2),.node:nth-of-type(5){animation-delay:.85s}
  .node:nth-of-type(3),.node:nth-of-type(6){animation-delay:1s}
}
@keyframes wire{to{stroke-dashoffset:0}}
@keyframes on{to{opacity:1}}

/* 공통 구획 */
section h2{font-size:clamp(26px,3vw,34px);color:var(--navy)}
.sectlead{color:var(--sub);margin:10px 0 36px;max-width:40em}

/* 사업분야 */
.services{padding:80px 0;background:var(--mist)}
.svgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:3px solid var(--navy)}
.svgrid article{padding:26px 28px 30px 0;border-bottom:1px solid var(--line)}
.svgrid article:nth-child(3n+2),.svgrid article:nth-child(3n+3){padding-left:28px;border-left:1px solid var(--line)}
.svgrid h3{font-size:20px;color:var(--ink);margin-bottom:8px}
.svgrid article:first-child h3{color:var(--red)}
.svgrid p{margin:0;color:var(--sub);font-size:16px}

/* 렌탈 안내 */
.rental{padding:84px 0;background:var(--navy);color:#fff}
.rental h2{color:#fff;max-width:12em}
.rentin{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px}
.why{list-style:none;margin:30px 0 0;padding:0}
.why li{padding:14px 0 14px 22px;border-top:1px solid rgba(255,255,255,.18);position:relative;color:#D7DDF0}
.why li::before{content:"";position:absolute;left:0;top:25px;width:8px;height:8px;background:var(--red);border-radius:2px}
.why b{display:block;color:#fff;font-size:18px}
.steps-h{font-size:18px;color:#AFC0EE;font-weight:500;margin:6px 0 18px}
.steps{list-style:none;margin:0;padding:0;counter-reset:s}
.steps li{counter-increment:s;display:grid;grid-template-columns:44px 1fr;column-gap:16px;padding:0 0 22px;position:relative}
.steps li::before{content:counter(s);width:44px;height:44px;border-radius:50%;border:2px solid #fff;display:grid;place-items:center;font-weight:700;grid-row:span 2;background:var(--navy);position:relative;z-index:1}
.steps li:not(:last-child)::after{content:"";position:absolute;left:21px;top:44px;bottom:0;width:2px;background:rgba(255,255,255,.3)}
.steps b{font-size:18px;padding-top:8px}
.steps span{color:#D7DDF0;font-size:16px}

/* 회사 소개 */
.about{padding:84px 0}
.aboutin{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:56px;align-items:start}
.about .big{font-size:22px;font-weight:500;color:var(--ink);margin:18px 0 12px;max-width:24em}
.about p{color:var(--sub);max-width:36em}
.info{display:grid;grid-template-columns:88px 1fr;gap:12px 18px;margin:0;padding:26px 28px;border:1px solid var(--line);border-top:4px solid var(--red);border-radius:4px 4px 10px 10px}
.info dt{color:var(--sub);font-weight:500;font-size:15px}
.info dd{margin:0;font-size:16px}

/* 상담 신청 */
.contact{padding:84px 0;background:var(--mist)}
.contin{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:48px;align-items:start}
.callbox p{color:var(--sub)}
.callbox .tel{margin-top:28px;color:var(--ink);font-weight:500}
.callbox .tel a{display:inline-block;margin-top:4px;font-size:30px;font-weight:700;color:var(--navy);text-decoration:none}
.small{font-size:14px}
.inq{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px;background:#fff;padding:30px;border-radius:12px;border:1px solid var(--line)}
.inq label{display:flex;flex-direction:column;gap:6px;font-weight:500;font-size:15px}
.inq .wide{grid-column:1/-1}
.inq input,.inq select,.inq textarea{font:inherit;font-size:16px;padding:11px 12px;border:1.5px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);width:100%}
.inq input:focus,.inq select:focus,.inq textarea:focus{border-color:var(--cable);outline:none;box-shadow:0 0 0 3px rgba(42,111,219,.18)}
.inq .req{font-style:normal;margin-left:4px;font-size:12px;color:var(--red);font-weight:700}
.inq .agree{flex-direction:row;align-items:flex-start;gap:10px;font-weight:400;font-size:14px;color:var(--sub)}
.inq .agree input{width:20px;height:20px;margin-top:3px;flex:none}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.flash{grid-column:1/-1;margin:0;padding:12px 14px;border-radius:8px;background:#FDECEC;color:#9A0A0A;font-size:15px}

/* 하단 */
.foot{background:var(--navy-2);color:#B9C3E2;font-size:14px;padding:40px 0 20px}
.foot a{color:#fff}
.footin{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
.footlogo{background:#fff;border-radius:6px;padding:4px 6px;margin-bottom:12px}
.foot nav{display:flex;flex-direction:column;gap:8px;text-align:right}
.copy{margin-top:24px;color:#7F8CB8;font-size:13px}

/* 개인정보처리방침·안내 */
.doc{padding:56px 0 80px}
.doc .wrap{max-width:820px}
.doc h1{font-size:32px;color:var(--navy);margin-bottom:8px}
.doc h2{font-size:20px;margin:34px 0 8px;color:var(--ink)}
.doc p,.doc li{color:var(--sub)}
.doc table{border-collapse:collapse;width:100%;font-size:15px;margin-top:8px}
.doc th,.doc td{border:1px solid var(--line);padding:9px 12px;text-align:left;vertical-align:top}
.doc th{background:var(--mist);font-weight:500;width:28%}
.notice{padding:96px 0 120px;text-align:center}
.notice h1{font-size:30px;color:var(--navy)}
.notice p{color:var(--sub)}

/* 화면 폭별 */
@media (max-width:1000px){
  .heroin,.rentin,.aboutin,.contin{grid-template-columns:1fr;gap:36px}
  .topo{max-width:560px}
  .svgrid{grid-template-columns:1fr 1fr}
  .svgrid article:nth-child(n){padding:24px 24px 26px 0;border-left:0}
  .svgrid article:nth-child(2n){padding-left:24px;border-left:1px solid var(--line)}
}
@media (max-width:760px){
  .wrap{padding:0 16px}
  .menu,.btn.login{display:none}
  .topin{height:68px;justify-content:space-between}
  .brand img{width:190px}
  .mobile{display:block;position:relative}
  .mobile summary{list-style:none;cursor:pointer;width:44px;height:44px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:0 10px}
  .mobile summary::-webkit-details-marker{display:none}
  .mobile summary span{height:2px;background:var(--navy);border-radius:2px}
  .mobile nav{position:absolute;right:0;top:56px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px;display:flex;flex-direction:column;min-width:200px;box-shadow:0 12px 28px rgba(14,36,112,.14)}
  .mobile nav a{padding:12px 14px;text-decoration:none;color:var(--ink);font-weight:500;border-radius:6px}
  .mobile nav a:last-child{background:var(--navy);color:#fff;margin-top:4px}
  .hero{padding:40px 0 48px}
  .services,.rental,.about,.contact{padding:56px 0}
  .svgrid{grid-template-columns:1fr}
  .svgrid article:nth-child(n){padding:22px 0;border-left:0}
  .inq{grid-template-columns:1fr;padding:20px}
  .foot nav{text-align:left}
}
