/* 한국도시녹화 — Corporate Site */
:root{
  /* CI 컬러: 로고 원색 #00d958 기준 파생 */
  --brand:#00d958; --green:#00a94a; --green-dark:#00813a; --green-pale:#e6fbee;
  --ink:#1a1c1e; --gray:#5b6168; --line:#e4e7ea; --bg:#ffffff; --bg-soft:#f7f9f8;
  --maxw:1140px; --radius:14px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,'Malgun Gothic',sans-serif;color:var(--ink);background:var(--bg);line-height:1.65;font-size:16px;word-break:keep-all}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px}

/* Header */
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.site-header .inner{max-width:var(--maxw);margin:0 auto;padding:0 24px;height:68px;display:flex;align-items:center;justify-content:space-between}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;letter-spacing:-.02em}
.logo svg{flex:none}
.logo img{height:30px;width:auto;display:block}
.gnb{display:flex;align-items:center;gap:30px;font-size:15px;font-weight:600}
.gnb a{color:#3a3f45;padding:6px 2px}
.gnb a:hover,.gnb a.active{color:var(--green-dark)}
.gnb .btn-cta{background:var(--green);color:#fff;padding:10px 20px;border-radius:999px;font-weight:700}
.gnb .btn-cta:hover{background:var(--green-dark);color:#fff}
.nav-toggle{display:none;background:none;border:0;font-size:26px;cursor:pointer}

/* Hero */
.hero{position:relative;color:#fff;overflow:hidden}
.hero .bg{position:absolute;inset:0;background-size:cover;background-position:center}
.hero .bg::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(8,32,15,.78) 0%,rgba(8,32,15,.45) 55%,rgba(8,32,15,.15) 100%)}
.hero .inner{position:relative;max-width:var(--maxw);margin:0 auto;padding:120px 24px}
.hero.sub .inner{padding:88px 24px}
.hero .eyebrow{display:inline-block;font-size:14px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#9fe0ae;margin-bottom:14px}
.hero h1{font-size:44px;line-height:1.25;font-weight:800;letter-spacing:-.02em;margin-bottom:18px}
.hero p.lead{font-size:18px;max-width:640px;color:rgba(255,255,255,.92)}
.hero .actions{margin-top:34px;display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-block;padding:14px 28px;border-radius:999px;font-weight:700;font-size:16px;transition:.15s}
.btn-primary{background:var(--green);color:#fff}
.btn-primary:hover{background:var(--green-dark)}
.btn-ghost{border:1.5px solid rgba(255,255,255,.7);color:#fff}
.btn-ghost:hover{background:rgba(255,255,255,.12)}
.btn-line{border:1.5px solid var(--green);color:var(--green-dark)}
.btn-line:hover{background:var(--green-pale)}

/* Sections */
section{padding:84px 0}
section.soft{background:var(--bg-soft)}
.sec-head{margin-bottom:44px}
.sec-head .eyebrow{color:var(--green);font-weight:700;font-size:14px;letter-spacing:.1em;text-transform:uppercase}
.sec-head h2{font-size:32px;font-weight:800;letter-spacing:-.02em;margin-top:6px}
.sec-head p{color:var(--gray);margin-top:10px;max-width:720px}

/* Cards */
.grid{display:grid;gap:24px}
.grid.c2{grid-template-columns:repeat(2,1fr)}
.grid.c3{grid-template-columns:repeat(3,1fr)}
.grid.c4{grid-template-columns:repeat(4,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.2s}
.card:hover{box-shadow:0 10px 30px rgba(20,60,30,.12);transform:translateY(-3px)}
.card .thumb{aspect-ratio:16/10;background-size:cover;background-position:center}
.card .body{padding:22px}
.card h3{font-size:19px;font-weight:700;margin-bottom:8px}
.card p{font-size:14.5px;color:var(--gray)}
.card .more{display:inline-block;margin-top:14px;color:var(--green-dark);font-weight:700;font-size:14px}

/* Badges / cert strip */
.badges{display:flex;flex-wrap:wrap;gap:10px}
.badge{background:var(--green-pale);color:var(--green-dark);font-size:13.5px;font-weight:700;padding:7px 14px;border-radius:999px}
.cert-strip{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.cert-strip .badge{font-size:14px;padding:10px 20px}

/* Stats */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
.stat .num{font-size:40px;font-weight:800;color:var(--green-dark);letter-spacing:-.02em}
.stat .num small{font-size:20px;font-weight:700}
.stat .label{font-size:14.5px;color:var(--gray);margin-top:6px}

/* System block (제품 상세) */
.system{border:1px solid var(--line);border-radius:var(--radius);padding:36px;background:#fff}
.system + .system{margin-top:28px}
.system .sys-head{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin-bottom:6px}
.system h3{font-size:24px;font-weight:800}
.system .en{color:var(--green);font-weight:700;font-size:14px;letter-spacing:.06em}
.system p.desc{color:var(--gray);margin:12px 0 4px;max-width:820px}
.system h4{font-size:16px;font-weight:700;margin:26px 0 12px;color:var(--ink)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;counter-reset:step}
.steps li{list-style:none;background:var(--bg-soft);border-radius:10px;padding:14px 16px;font-size:14px;color:#3a3f45;counter-increment:step;position:relative;padding-left:44px}
.steps li::before{content:counter(step);position:absolute;left:14px;top:13px;width:22px;height:22px;border-radius:50%;background:var(--green);color:#fff;font-size:12.5px;font-weight:700;display:flex;align-items:center;justify-content:center}
.ref{font-size:14px;color:var(--gray)}
.ref b{color:var(--ink)}

/* Tables */
table.mat{width:100%;border-collapse:collapse;font-size:14px}
table.mat th{background:var(--bg-soft);text-align:left;padding:10px 14px;border-bottom:1.5px solid var(--line);font-weight:700;white-space:nowrap}
table.mat td{padding:10px 14px;border-bottom:1px solid var(--line);color:#3a3f45;vertical-align:top}
table.mat td:first-child{font-weight:700;color:var(--ink);white-space:nowrap}

/* Feature rows (기술 페이지) */
.feature{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start;padding:40px 0;border-bottom:1px solid var(--line)}
.feature:last-child{border-bottom:0}
.feature h3{font-size:22px;font-weight:800;margin-bottom:12px}
.feature h3 .tag{display:inline-block;vertical-align:4px;margin-left:10px;background:var(--green-pale);color:var(--green-dark);font-size:12.5px;padding:4px 10px;border-radius:999px}
.feature p{color:var(--gray);font-size:15px}
.feature ul{margin-top:12px;padding-left:0}
.feature li{list-style:none;padding:8px 0 8px 26px;position:relative;font-size:14.5px;color:#3a3f45}
.feature li::before{content:"";position:absolute;left:4px;top:16px;width:8px;height:8px;border-radius:50%;background:var(--green)}
.kpi{background:var(--green-pale);border-radius:12px;padding:22px 26px}
.kpi .num{font-size:34px;font-weight:800;color:var(--green-dark)}
.kpi .cap{font-size:13.5px;color:var(--gray);margin-top:4px}

/* CTA band */
.cta-band{background:linear-gradient(120deg,#065c2b,#00a94a);color:#fff;text-align:center}
.cta-band h2{font-size:30px;font-weight:800;letter-spacing:-.02em}
.cta-band p{margin-top:12px;color:rgba(255,255,255,.9)}
.cta-band .actions{margin-top:30px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.cta-band .types{margin-top:26px;display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.cta-band .types span{border:1px solid rgba(255,255,255,.4);border-radius:999px;padding:7px 16px;font-size:14px}

/* Contact */
.contact-wrap{display:grid;grid-template-columns:1.2fr .8fr;gap:48px;align-items:start}
.form-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:34px}
.form-panel .notice{background:#fff8e6;border:1px solid #f2dfa0;color:#7a5d00;font-size:13.5px;border-radius:10px;padding:12px 16px;margin-bottom:22px}
.field{margin-bottom:18px}
.field label{display:block;font-size:14px;font-weight:700;margin-bottom:7px}
.field label .req{color:#d33}
.field input,.field select,.field textarea{width:100%;border:1.5px solid var(--line);border-radius:10px;padding:12px 14px;font-size:15px;font-family:inherit;background:#fff}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--green)}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.info-panel h3{font-size:18px;font-weight:800;margin-bottom:14px}
.info-panel .box{background:var(--bg-soft);border-radius:12px;padding:24px;margin-bottom:18px;font-size:15px}
.info-panel .box b{display:block;margin-bottom:4px}
.info-panel .box + h3{margin-top:28px}

/* Floating CTA */
.float-cta{position:fixed;right:24px;bottom:24px;z-index:99;background:var(--green);color:#fff;font-weight:700;padding:14px 22px;border-radius:999px;box-shadow:0 8px 24px rgba(20,90,40,.35);font-size:15px}
.float-cta:hover{background:var(--green-dark)}

/* Footer */
footer{background:#12181c;color:#aeb6bd;padding:56px 0 40px;font-size:14px}
footer .cols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}
footer h4{color:#fff;font-size:15px;margin-bottom:12px}
footer a:hover{color:#fff}
footer .copyright{margin-top:36px;padding-top:20px;border-top:1px solid #2a3238;font-size:13px;color:#7d868d}

/* Material thumbnails in tables */
table.mat td.mimg{width:86px;padding:8px}
table.mat td.mimg img{width:78px;height:78px;object-fit:cover;border-radius:8px;border:1px solid var(--line);background:#fff}
table.mat td.mimg + td{font-weight:700;color:var(--ink);white-space:nowrap}

/* Project gallery */
.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:8px}
.gallery.g3{grid-template-columns:repeat(3,1fr)}
.gallery figure{margin:0;border-radius:10px;overflow:hidden;border:1px solid var(--line);background:#fff}
.gallery img{width:100%;aspect-ratio:16/10;object-fit:cover}
.gallery figcaption{font-size:13px;color:var(--gray);padding:9px 12px}

/* System block with side image */
.sys-flex{display:grid;grid-template-columns:1.15fr .85fr;gap:30px;align-items:start}
.sys-flex .sys-media img{width:100%;border-radius:10px;border:1px solid var(--line)}
.sys-flex .sys-media figcaption{font-size:12.5px;color:var(--gray);margin-top:6px}

/* Reference page */
.ref-card .thumb{aspect-ratio:4/3}
.ref-card .tag{display:inline-block;background:var(--green-pale);color:var(--green-dark);font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;margin-bottom:8px}
.blog-list{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.blog-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
.blog-card .thumb{aspect-ratio:16/9;background:var(--green-pale) center/cover no-repeat}
.blog-card .body{padding:20px;flex:1}
.blog-card h3{font-size:16.5px;font-weight:700;line-height:1.45;margin-bottom:8px}
.blog-card .date{font-size:12.5px;color:var(--gray)}
.blog-card p{font-size:14px;color:var(--gray);margin-top:8px}
.blog-placeholder{background:var(--bg-soft);border:1.5px dashed var(--line);border-radius:var(--radius);padding:40px;text-align:center;color:var(--gray);font-size:15px}

/* Responsive */
@media(max-width:920px){
  .grid.c3,.grid.c4{grid-template-columns:repeat(2,1fr)}
  .stats{grid-template-columns:repeat(2,1fr)}
  .feature,.contact-wrap,.sys-flex{grid-template-columns:1fr}
  .blog-list{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr 1fr}
  .hero h1{font-size:34px}
  .gnb{display:none;position:absolute;top:68px;left:0;right:0;background:#fff;flex-direction:column;padding:20px;border-bottom:1px solid var(--line);gap:16px}
  .gnb.open{display:flex}
  .nav-toggle{display:block}
  footer .cols{grid-template-columns:1fr}
}
@media(max-width:560px){
  .grid.c2,.grid.c3,.grid.c4,.steps,.field-row,.gallery,.gallery.g3,.blog-list{grid-template-columns:1fr}
  .hero .inner{padding:80px 24px}
  .hero h1{font-size:28px}
  section{padding:60px 0}
  .system{padding:24px}
  table.mat{font-size:13px}
}
