
:root{
  --navy:#102A43;
  --deep:#0B1F33;
  --blue:#1769AA;
  --green:#32A852;
  --line:#D8E2EC;
  --soft:#F5F8FA;
  --softblue:#EEF5FB;
  --text:#243B53;
  --muted:#627D98;
  --white:#FFFFFF;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Noto Sans KR","Malgun Gothic",Arial,sans-serif;color:var(--text);background:#fff;line-height:1.6}
a{text-decoration:none;color:inherit}
.wrap{max-width:1240px;margin:0 auto;padding:0 28px}

/* COMMON HEADER */
.site-header{
  min-height:92px;
  border-bottom:1px solid #DDE6EE;
  position:sticky;top:0;z-index:50;
  background:
    linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.97) 56%,rgba(255,255,255,.88) 78%,rgba(255,255,255,.80) 100%),
    url("../images/header_cnc.jpg") right center/cover no-repeat;
  box-shadow:0 2px 12px rgba(11,31,51,.035);
}
.site-header .nav-wrap{
  max-width:1240px;margin:0 auto;min-height:92px;padding:0 28px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.site-brand{display:flex;align-items:center;gap:12px;min-width:210px}
.site-brand img{width:54px;height:54px;object-fit:contain}
.site-brand .brand-copy{display:flex;flex-direction:column;line-height:1.05}
.site-brand strong{font-size:20px;letter-spacing:-.02em;color:var(--deep)}
.site-brand small{font-size:12px;color:#526D82;font-weight:800;margin-top:6px}
.site-nav{display:flex;align-items:center;gap:18px;font-size:14px;font-weight:850}
.site-nav a{padding:9px 3px;color:var(--deep);white-space:nowrap;border-bottom:2px solid transparent}
.site-nav a:hover,.site-nav a.active{color:var(--blue);border-bottom-color:var(--blue)}
.site-nav .estimate-link{
  background:var(--blue);color:#fff!important;border:0!important;border-radius:9px;padding:11px 15px;
  box-shadow:0 5px 12px rgba(23,105,170,.15)
}

/* SUB HERO */
.page-hero{
  background:linear-gradient(135deg,#F7FAFC 0%,#EAF3F8 100%);
  border-bottom:1px solid #DCE7EF;
  padding:66px 0 58px;
}
.page-hero .eyebrow,.eyebrow{font-size:13px;font-weight:900;color:var(--blue);letter-spacing:.09em}
.page-hero h1{font-size:48px;line-height:1.12;color:var(--deep);margin:11px 0 15px;letter-spacing:-1.7px}
.page-hero p{font-size:17px;line-height:1.75;max-width:820px;color:#486581;margin:0}

/* HOME HERO */
.home-hero{
  background:
    linear-gradient(90deg,rgba(10,31,51,.94),rgba(16,42,67,.84)),
    url("../images/machine_gt2600lm.png") right center/contain no-repeat,
    #102A43;
  color:#fff;padding:88px 0 82px;
}
.home-hero .eyebrow{color:#9CC9EF}
.home-hero h1{font-size:56px;line-height:1.08;margin:12px 0 18px;letter-spacing:-2px}
.home-hero p{font-size:18px;line-height:1.78;max-width:760px;color:#D9E7F2}
.home-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}

/* CONTENT */
main{padding:54px 0 86px}
.section{padding:54px 0}
.section.alt{background:#F7FAFC}
.section h2,.section-title{font-size:34px;color:var(--deep);margin:8px 0 12px;letter-spacing:-1px}
.lead,.desc,.muted{color:var(--muted);line-height:1.8}
.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.card{
  border:1px solid var(--line);border-radius:16px;background:#fff;padding:24px;
  box-shadow:0 8px 26px rgba(16,42,67,.05)
}
.card h3{margin:0 0 10px;color:var(--deep)}
.stat{font-size:34px;font-weight:900;color:var(--navy)}
.tag{display:inline-block;background:#EEF5FB;color:#245B9C;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:800}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 17px;border-radius:9px;font-weight:900}
.btn.primary{background:var(--blue);color:#fff}
.btn.secondary{background:#fff;color:var(--navy);border:1px solid #B9CAD8}
.btn.green{background:var(--green);color:#fff}
.cta-band{
  background:linear-gradient(135deg,#0B1F33,#173E6D);color:#fff;border-radius:18px;
  padding:32px;display:flex;justify-content:space-between;gap:22px;align-items:center
}
.cta-band h2{color:#fff;margin:0 0 6px}.cta-band p{color:#C9D9E5;margin:0}
.timeline{border-left:3px solid #DBE7F5;padding-left:22px}.timeline div{margin:18px 0}.timeline b{color:var(--blue)}
.table{width:100%;border-collapse:collapse;border:1px solid var(--line);overflow:hidden}
.table th,.table td{padding:13px 14px;border-bottom:1px solid var(--line);text-align:left}
.table th{background:var(--navy);color:#fff}.table tr:last-child td{border-bottom:0}

/* PORTFOLIO */
.case-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.case{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(16,42,67,.04)}
.case img{width:100%;height:240px;object-fit:cover;display:block}.case .body{padding:18px}

/* EQUIPMENT */
.machine-photo{height:230px;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.machine-photo img{width:100%;height:100%;object-fit:contain}
.cap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.cap{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px}.cap b{display:block;color:var(--deep);margin-bottom:7px}

/* SHOP */
.shop-feature{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:center}
.shop-feature img{width:100%;border-radius:18px;border:1px solid var(--line)}

/* INQUIRY COMMON */
.step{font-size:13px;font-weight:900;color:var(--blue);letter-spacing:.03em;margin-bottom:7px}
.form-title{font-size:32px;color:var(--deep);margin:0 0 8px}
.form-card{border:1px solid var(--line);border-radius:16px;padding:27px;background:#fff;box-shadow:0 8px 25px rgba(16,42,67,.05);margin-bottom:28px}
.form-card label{display:block;font-size:13px;font-weight:900;color:#405B70;margin-bottom:7px}
.form-card input,.form-card select,.form-card textarea{width:100%;border:1px solid #BCCDDD;border-radius:9px;padding:0 13px;font-size:15px;color:var(--deep);background:#fff}
.form-card input,.form-card select{height:48px}.form-card textarea{min-height:150px;padding-top:13px;resize:vertical}
.form-card input:focus,.form-card select:focus,.form-card textarea:focus{outline:2px solid rgba(23,105,170,.14);border-color:var(--blue)}
.types{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.type{border:1px solid #C6D4DF;border-radius:10px;padding:14px;background:#fff;font-size:14px;font-weight:800}
.type input{width:auto!important;height:auto!important;margin-right:6px}
.upload{border:2px dashed #A9C0D2;border-radius:13px;padding:28px;text-align:center;background:#F8FBFD}.upload strong{display:block;color:var(--deep);font-size:18px;margin-bottom:8px}
.agree{display:flex;gap:8px;align-items:flex-start;background:var(--soft);border-radius:10px;padding:15px;font-size:13px;line-height:1.6}.agree input{width:auto!important;height:auto!important;margin-top:4px}
.required{color:#C33}

/* FOOTER */
.site-footer{background:#0B1F33;color:#fff;padding:32px 0;margin-top:0}
.site-footer .footer-inner{display:flex;justify-content:space-between;gap:30px;font-size:13px;line-height:1.8}
.site-footer .right{text-align:right;color:#C9D9E5}

/* keep special pages visually aligned */
body.special-page header.site-header{height:auto}
body.special-page .wrap{max-width:1240px}

@media(max-width:980px){
  .site-nav{display:none}
  .grid3,.case-grid,.cap-grid{grid-template-columns:1fr 1fr}
  .shop-feature{grid-template-columns:1fr}
}
@media(max-width:700px){
  .wrap,.site-header .nav-wrap{padding-left:18px;padding-right:18px}
  .site-header{min-height:78px}.site-header .nav-wrap{min-height:78px}
  .site-brand img{width:46px;height:46px}.site-brand strong{font-size:18px}
  .page-hero{padding:48px 0}.page-hero h1{font-size:38px}
  .home-hero{padding:62px 0}.home-hero h1{font-size:42px}
  .grid2,.grid3,.grid4,.case-grid,.cap-grid,.types{grid-template-columns:1fr}
  .cta-band,.site-footer .footer-inner{display:block}
  .site-footer .right{text-align:left;margin-top:18px}
}


/* =========================================================
   LEGACY PAGE NORMALIZATION
   EZ-ROCK / ESTIMATE 공통 UI 강제 통일
   ========================================================= */
body.special-page{
  margin:0 !important;
  background:#fff !important;
  color:var(--text) !important;
  font-family:"Noto Sans KR","Malgun Gothic",Arial,sans-serif !important;
}

/* 공통 헤더는 다른 페이지와 완전히 같은 규격으로 고정 */
body.special-page .site-header{
  min-height:92px !important;
  height:auto !important;
  background:
    linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.97) 56%,rgba(255,255,255,.88) 78%,rgba(255,255,255,.80) 100%),
    url("../images/header_cnc.jpg") right center/cover no-repeat !important;
  border-bottom:1px solid #DDE6EE !important;
  box-shadow:0 2px 12px rgba(11,31,51,.035) !important;
}
body.special-page .site-header .nav-wrap{
  max-width:1240px !important;
  min-height:92px !important;
  margin:0 auto !important;
  padding:0 28px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:24px !important;
}
body.special-page .site-brand{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  min-width:210px !important;
}
body.special-page .site-brand img{
  width:54px !important;
  height:54px !important;
  object-fit:contain !important;
}
body.special-page .site-brand .brand-copy{
  display:flex !important;
  flex-direction:column !important;
  line-height:1.05 !important;
}
body.special-page .site-brand strong{
  font-size:20px !important;
  color:var(--deep) !important;
  letter-spacing:-.02em !important;
  font-weight:900 !important;
}
body.special-page .site-brand small{
  font-size:12px !important;
  color:#526D82 !important;
  font-weight:800 !important;
  margin-top:6px !important;
}
body.special-page .site-nav{
  display:flex !important;
  align-items:center !important;
  gap:18px !important;
  font-size:14px !important;
  font-weight:850 !important;
}
body.special-page .site-nav a{
  padding:9px 3px !important;
  color:var(--deep) !important;
  border-bottom:2px solid transparent !important;
  white-space:nowrap !important;
  background:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
body.special-page .site-nav a:hover,
body.special-page .site-nav a.active{
  color:var(--blue) !important;
  border-bottom-color:var(--blue) !important;
}
body.special-page .site-nav .estimate-link{
  background:var(--blue) !important;
  color:#fff !important;
  border:0 !important;
  border-radius:9px !important;
  padding:11px 15px !important;
  box-shadow:0 5px 12px rgba(23,105,170,.15) !important;
}

/* EZ-ROCK / 자동견적의 최상단 히어로를 동일한 폭/높이/배경으로 정규화 */
body.special-page .hero,
body.special-page .hero-section,
body.special-page .intro,
body.special-page .estimate-hero,
body.special-page .product-hero{
  background:linear-gradient(135deg,#F7FAFC 0%,#EAF3F8 100%) !important;
  border-bottom:1px solid #DCE7EF !important;
}

/* 특수 페이지 안에서 일반적인 컨테이너 폭을 통일 */
body.special-page .container,
body.special-page .wrap,
body.special-page main > section > div,
body.special-page section > .container{
  max-width:1240px;
}

/* EZ-ROCK 자체 상단 nav/brand 잔재가 보이지 않도록 */
body.special-page > header:not(.site-header),
body.special-page .topbar,
body.special-page .top-nav,
body.special-page .mobile-nav{
  display:none !important;
}

/* 공통 푸터 */
body.special-page .site-footer{
  background:#0B1F33 !important;
  color:#fff !important;
  padding:32px 0 !important;
  margin-top:0 !important;
}
body.special-page .site-footer .footer-inner{
  max-width:1240px !important;
  margin:0 auto !important;
  padding:0 28px !important;
  display:flex !important;
  justify-content:space-between !important;
  gap:30px !important;
  font-size:13px !important;
  line-height:1.8 !important;
}

/* 반응형 */
@media(max-width:980px){
  body.special-page .site-nav{display:none !important;}
}
@media(max-width:700px){
  body.special-page .site-header,
  body.special-page .site-header .nav-wrap{min-height:78px !important;}
  body.special-page .site-header .nav-wrap{padding-left:18px !important;padding-right:18px !important;}
  body.special-page .site-brand img{width:46px !important;height:46px !important;}
  body.special-page .site-brand strong{font-size:18px !important;}
}


/* =========================================================
   FUNCTION PAGE UI — ESTIMATE / INQUIRY
   다른 일반 페이지와 동일한 디자인 체계
   ========================================================= */
.function-main{
  padding:54px 0 86px !important;
  background:#fff !important;
}
.estimate-page .page-hero,
.inquiry-page .page-hero{
  padding:66px 0 58px !important;
  background:linear-gradient(135deg,#F7FAFC 0%,#EAF3F8 100%) !important;
  border-bottom:1px solid #DCE7EF !important;
}
.estimate-page .page-hero h1,
.inquiry-page .page-hero h1{
  font-size:48px !important;
  line-height:1.12 !important;
  margin:11px 0 15px !important;
  letter-spacing:-1.7px !important;
}
.estimate-page .page-hero p,
.inquiry-page .page-hero p{
  font-size:17px !important;
  line-height:1.75 !important;
  max-width:820px !important;
  color:#486581 !important;
  margin:0 !important;
}

.estimate-badges{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-top:22px;
}
.estimate-badges span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border:1px solid #C7D7E5;
  border-radius:999px;
  background:#fff;
  color:#254B67;
  font-size:12px;
  font-weight:900;
}

/* 기능 페이지 단계 제목: 회사소개/설비현황과 동일한 위계 */
.estimate-page .step,
.inquiry-page .step{
  font-size:13px !important;
  font-weight:900 !important;
  color:var(--blue) !important;
  letter-spacing:.04em !important;
  margin:0 0 7px !important;
}
.function-title{
  font-size:32px !important;
  color:var(--deep) !important;
  margin:0 0 8px !important;
  letter-spacing:-.8px !important;
  line-height:1.25 !important;
}
.estimate-page .desc,
.inquiry-page .desc{
  color:var(--muted) !important;
  margin:0 0 22px !important;
  line-height:1.75 !important;
}

/* 카드 모양을 전 사이트 기준과 동일화 */
.function-card{
  border:1px solid var(--line) !important;
  border-radius:16px !important;
  padding:27px !important;
  background:#fff !important;
  box-shadow:0 8px 25px rgba(16,42,67,.05) !important;
  margin-bottom:28px !important;
}

/* 폼 공통 */
.estimate-page label,
.inquiry-page label{
  font-size:13px;
  font-weight:900;
  color:#405B70;
}
.estimate-page input,
.estimate-page select,
.inquiry-page input,
.inquiry-page select,
.inquiry-page textarea{
  border:1px solid #BCCDDD !important;
  border-radius:9px !important;
  background:#fff !important;
  color:var(--deep) !important;
  font-family:inherit !important;
}
.estimate-page input,
.estimate-page select,
.inquiry-page input,
.inquiry-page select{
  height:48px;
}
.inquiry-page textarea{
  min-height:150px;
}

/* estimate 전용 */
.estimate-page .upload,
.inquiry-page .upload{
  border:2px dashed #A9C0D2 !important;
  border-radius:13px !important;
  background:#F8FBFD !important;
}
.estimate-page .choice,
.estimate-page .op,
.inquiry-page .type{
  border:1px solid #C6D4DF !important;
  border-radius:10px !important;
  background:#fff !important;
}
.estimate-page .choice{
  padding:14px !important;
}
.estimate-page .op{
  padding:12px !important;
}
.estimate-page .op.active{
  border-color:#7FB1D9 !important;
  background:#F3F9FE !important;
}
.estimate-page .engineBox,
.estimate-page .inlineNote{
  border-radius:12px !important;
}
.estimate-page .engineBox{
  background:#F8FAFC !important;
  border:1px solid var(--line) !important;
  padding:20px !important;
}
.estimate-page .inlineNote{
  background:#EEF5FB !important;
  color:#486581 !important;
  padding:14px 16px !important;
}
.estimate-page .btns{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:22px;
}
.estimate-page .btn{
  min-height:44px !important;
  padding:0 17px !important;
  border-radius:9px !important;
  font-size:14px !important;
  font-weight:900 !important;
  background:var(--blue) !important;
  color:#fff !important;
}
.estimate-page .btn.white{
  background:#fff !important;
  color:var(--navy) !important;
  border:1px solid #B9CAD8 !important;
}
.estimate-page .result{
  margin-top:28px !important;
  background:linear-gradient(135deg,#0B1F33,#173E6D) !important;
  border-radius:18px !important;
  padding:32px !important;
}
.estimate-page .footerCTA{
  margin-top:42px !important;
  background:linear-gradient(135deg,#0B1F33,#173E6D) !important;
  border-radius:18px !important;
  padding:30px !important;
}

/* inquiry 전용 */
.inquiry-page .types{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}
.inquiry-page .type{
  padding:14px !important;
  font-size:14px;
  font-weight:800;
}
.inquiry-page .agree{
  border-radius:10px !important;
  background:var(--soft) !important;
}
.inquiry-page button.btn{
  min-height:44px !important;
  padding:0 17px !important;
  border-radius:9px !important;
  background:var(--blue) !important;
  color:#fff !important;
  font-size:14px !important;
}

/* 헤더는 모든 페이지 동일 */
.estimate-page .site-header,
.inquiry-page .site-header{
  min-height:92px !important;
}
.estimate-page .site-header .nav-wrap,
.inquiry-page .site-header .nav-wrap{
  min-height:92px !important;
  max-width:1240px !important;
}

/* 모바일 */
@media(max-width:900px){
  .estimate-page .page-hero,
  .inquiry-page .page-hero{padding:48px 0 !important;}
  .estimate-page .page-hero h1,
  .inquiry-page .page-hero h1{font-size:38px !important;}
}
@media(max-width:700px){
  .inquiry-page .types{grid-template-columns:1fr;}
  .function-card{padding:20px !important;}
}


/* =========================================================
   ISU BRAND LOCKUP 2026-08-25e
   상단: 심볼 + 이수기계 / 하단: ISU MACHINE
   두 줄의 시각적 가로폭을 동일하게 맞춤
   ========================================================= */
.site-header .isu-brand-lockup{
  width:156px !important;
  min-width:156px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:2px !important;
  text-decoration:none !important;
}
.site-header .isu-brand-lockup .isu-brand-top{
  width:156px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:8px !important;
}
.site-header .isu-brand-lockup .isu-brand-top img{
  width:48px !important;
  height:38px !important;
  object-fit:contain !important;
  flex:0 0 48px !important;
}
.site-header .isu-brand-lockup .isu-brand-top strong{
  display:block !important;
  flex:1 1 auto !important;
  margin:0 !important;
  font-size:22px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:-1.3px !important;
  white-space:nowrap !important;
  color:#102A43 !important;
}
.site-header .isu-brand-lockup .isu-brand-en{
  display:block !important;
  width:156px !important;
  font-size:15px !important;
  line-height:1.05 !important;
  font-weight:900 !important;
  letter-spacing:3.55px !important;
  white-space:nowrap !important;
  color:#102A43 !important;
  text-align:justify !important;
  text-align-last:justify !important;
}
@media(max-width:700px){
  .site-header .isu-brand-lockup{
    width:142px !important;
    min-width:142px !important;
  }
  .site-header .isu-brand-lockup .isu-brand-top,
  .site-header .isu-brand-lockup .isu-brand-en{
    width:142px !important;
  }
  .site-header .isu-brand-lockup .isu-brand-top img{
    width:43px !important;
    height:34px !important;
    flex-basis:43px !important;
  }
  .site-header .isu-brand-lockup .isu-brand-top strong{
    font-size:20px !important;
  }
  .site-header .isu-brand-lockup .isu-brand-en{
    font-size:13.5px !important;
    letter-spacing:3.25px !important;
  }
}


/* FINAL HEADER BRAND OVERRIDE 2026-08-25f */
.site-header .site-brand.isu-brand-lockup{width:156px!important;min-width:156px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important;margin-right:auto!important;}
.site-header .site-brand.isu-brand-lockup .isu-brand-top{width:156px!important;display:flex!important;align-items:center!important;gap:8px!important;}
.site-header .site-brand.isu-brand-lockup .isu-brand-top img{width:48px!important;height:38px!important;object-fit:contain!important;flex:0 0 48px!important;}
.site-header .site-brand.isu-brand-lockup .isu-brand-top strong{font-size:22px!important;line-height:1!important;font-weight:900!important;letter-spacing:-1.3px!important;white-space:nowrap!important;color:#102A43!important;}
.site-header .site-brand.isu-brand-lockup .isu-brand-en{display:block!important;width:156px!important;font-size:15px!important;line-height:1.05!important;font-weight:900!important;letter-spacing:3.55px!important;white-space:nowrap!important;color:#102A43!important;text-align:justify!important;text-align-last:justify!important;}
@media(max-width:700px){.site-header .site-brand.isu-brand-lockup{width:142px!important;min-width:142px!important}.site-header .site-brand.isu-brand-lockup .isu-brand-top,.site-header .site-brand.isu-brand-lockup .isu-brand-en{width:142px!important}.site-header .site-brand.isu-brand-lockup .isu-brand-top img{width:43px!important;height:34px!important;flex-basis:43px!important}.site-header .site-brand.isu-brand-lockup .isu-brand-top strong{font-size:20px!important}.site-header .site-brand.isu-brand-lockup .isu-brand-en{font-size:13.5px!important;letter-spacing:3.25px!important}}
