/* 사진 첫 화면 · 초록 강조색 · 미니멀 격자 */
@import url('vendor/pretendard/pretendard.min.css');

:root {
  --green: #03C75A;
  --green-dark: #029E47;
  --green-soft: #E6F8EE;
  --black: #1A1A1A;
  --gray-900: #222226;
  --gray-700: #4B4F58;
  --gray-500: #82868F;
  --gray-300: #D0D2D8;
  --gray-200: #E3E5EA;
  --gray-100: #F4F5F7;
  --bg: #FAFAFA;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--black); background: white;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.22,.61,.36,1), transform 1s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
}
.header.dark {
  background: transparent;
  border-bottom-color: transparent;
  color: white;
}
.header-inner {
  height: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-weight: 900; font-size: 24px; color: var(--green);
  letter-spacing: -0.05em;
}
.nav-list { display: flex; gap: 40px; list-style: none; }
.nav-list a { font-size: 14px; font-weight: 600; transition: opacity .15s; }
.nav-list a:hover, .nav-list a.active { color: var(--green); }
.header.dark .nav-list a:hover, .header.dark .nav-list a.active { color: var(--green); }
.nav-utils { display: flex; gap: 20px; align-items: center; }
.nav-utils a { font-size: 13px; font-weight: 600; opacity: 0.7; }
.nav-utils a:hover { opacity: 1; }

/* Hero — full bleed cinematic */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%),
    url('images/hero.jpg');
  background-size: cover; background-position: center;
  transform: scale(1.08);
  animation: zoomOut 15s ease-out forwards;
}
@keyframes zoomOut { to { transform: scale(1); } }
.hero-content {
  position: absolute; bottom: 80px; left: 0; right: 0;
  padding: 0 32px;
  color: white;
  z-index: 2;
}
.hero-content .container { max-width: 1280px; }
.hero-pre {
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px;
}
.hero-pre::before {
  content: ''; width: 32px; height: 1px; background: var(--green);
}
.hero h1 {
  font-size: 88px; font-weight: 800;
  letter-spacing: -0.045em; line-height: 1.05;
  margin-bottom: 28px;
  max-width: 1000px;
}
.hero h1 .green { color: var(--green); }
.hero p {
  font-size: 19px; opacity: 0.85;
  line-height: 1.65; max-width: 580px;
  margin-bottom: 36px;
  font-weight: 500;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px;
  background: var(--green); color: white;
  border-radius: 100px;
  font-size: 15px; font-weight: 800;
  transition: background .2s, transform .15s;
}
.hero-cta:hover { background: var(--green-dark); transform: translateY(-2px); }
.hero-cta::after { content: '→'; }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 32px; right: 32px;
  color: white;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  z-index: 3;
  display: flex; align-items: center; gap: 8px;
}
.scroll-cue::after {
  content: '';
  width: 20px; height: 1px;
  background: white;
  animation: cueLine 1.5s ease-in-out infinite;
}
@keyframes cueLine { 0%, 100% { transform: scaleX(0.4); transform-origin: left; } 50% { transform: scaleX(1); } }

/* Section heads */
.sec { padding: 140px 0; }
.sec.dark { background: var(--black); color: white; }
.sec.soft { background: var(--bg); }
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 24px;
}
.sec.dark .sec-head { border-color: rgba(255,255,255,0.1); }
.sec-head .pre {
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.sec-head h2 {
  font-size: 56px; font-weight: 800;
  letter-spacing: -0.045em; line-height: 1.1;
  max-width: 720px;
}
.sec-head h2 .green { color: var(--green); }
.sec-head .more {
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.sec-head .more::after { content: ' →'; }
.sec-head .more:hover { color: var(--green); }

/* Service grid — clean minimal */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.svc-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background-size: cover; background-position: center;
  cursor: pointer;
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.svc-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85));
  transition: opacity .3s;
}
.svc-card:hover { transform: scale(.98); }
.svc-1 { background-image: url('images/svc1.jpg'); }
.svc-2 { background-image: url('images/svc2.jpg'); }
.svc-3 { background-image: url('images/svc3.jpg'); }
.svc-4 { background-image: url('images/svc4.jpg'); }
.svc-5 { background-image: url('images/svc5.jpg'); }
.svc-6 { background-image: url('images/story.jpg'); }
.svc-meta {
  position: absolute; bottom: 32px; left: 32px; right: 32px;
  color: white;
  z-index: 2;
}
.svc-cat {
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.85;
}
.svc-card h3 {
  font-size: 26px; font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.3;
  margin-bottom: 8px;
}
.svc-card p {
  font-size: 13px; opacity: 0.85;
  line-height: 1.5;
  max-width: 320px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
}
.svc-card:hover p { opacity: 0.85; transform: translateY(0); }

/* Story */
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
}
.story-img {
  aspect-ratio: 5/6;
  background-image: url('images/story.jpg');
  background-size: cover; background-position: center;
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
.story-img:hover { transform: scale(1.02); }
.story-text .pre {
  font-size: 12px; font-weight: 800; color: var(--green);
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 18px;
}
.story-text h2 {
  font-size: 56px; font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.1;
  margin-bottom: 28px;
}
.story-text h2 .green { color: var(--green); }
.story-text p {
  font-size: 18px; line-height: 1.85;
  opacity: 0.7; font-weight: 500;
  margin-bottom: 16px;
}
.story-text .btn-line {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px;
  padding: 16px 28px;
  background: white; color: var(--black);
  border: 1px solid currentColor;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all .2s;
}
.sec.dark .story-text .btn-line { background: transparent; color: white; }
.story-text .btn-line:hover { background: var(--green); border-color: var(--green); color: white; }
.story-text .btn-line::after { content: '→'; }

/* Stats — clean big numbers */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.stat {
  padding: 56px 0;
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 32px;
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat-num {
  font-size: 88px; font-weight: 800;
  color: var(--green);
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 14px;
}
.stat-num small { font-size: 28px; color: rgba(255,255,255,0.5); }
.stat-label {
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* CTA */
.cta {
  background: var(--green);
  color: white;
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 50%);
}
.cta > .container { position: relative; }
.cta h2 {
  font-size: 88px; font-weight: 800;
  letter-spacing: -0.045em; line-height: 1.05;
  margin-bottom: 32px;
}
.cta p {
  font-size: 18px; opacity: 0.92;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}
.cta .btn {
  display: inline-block;
  padding: 18px 40px;
  background: white; color: var(--green-dark);
  border-radius: 100px;
  font-size: 15px; font-weight: 800;
  transition: transform .15s;
}
.cta .btn:hover { transform: translateY(-2px); }

/* Footer */
.footer { background: var(--black); color: white; padding: 80px 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer .logo { color: var(--green); margin-bottom: 16px; display: inline-block; }
.footer-desc { font-size: 13px; line-height: 1.85; color: rgba(255,255,255,0.55); }
.footer h4 { font-size: 12px; font-weight: 800; color: white; margin-bottom: 18px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 13px; color: rgba(255,255,255,0.55); }
.footer ul a:hover { color: var(--green); }
.footer-info {
  display: flex; flex-wrap: wrap; gap: 4px 16px;
  font-size: 11px; color: rgba(255,255,255,0.4);
  padding: 24px 0 8px; line-height: 1.85;
}
.footer-info span { display: inline-flex; align-items: center; gap: 8px; }
.footer-info span::before { content: ''; width: 1px; height: 10px; background: rgba(255,255,255,0.12); }
.footer-info span:first-child::before { display: none; }
.footer-copy { font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 6px; }

/* ===== Sub-page styles ===== */
.page-hero { padding: 200px 0 100px; background: var(--black); color: white; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; right: -100px; bottom: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(3,199,90,0.15), transparent 60%); }
.page-hero > .container { position: relative; z-index: 2; }
.breadcrumb { font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.6; margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.breadcrumb::before { content: ''; width: 32px; height: 1px; background: var(--green); }
.breadcrumb a:hover { color: var(--green); } .breadcrumb .sep { margin: 0 8px; }
.page-hero h1 { font-size: 72px; font-weight: 800; letter-spacing: -0.045em; line-height: 1.08; margin-bottom: 24px; max-width: 900px; }
.page-hero h1 .green { color: var(--green); }
.page-hero p { font-size: 18px; opacity: 0.8; max-width: 640px; font-weight: 500; line-height: 1.7; }

.sub-sec { padding: 140px 0; background: white; }
.sub-sec.dark { background: var(--black); color: white; }
.sub-sec.soft { background: var(--bg); }
.sub-head { margin-bottom: 56px; border-bottom: 1px solid var(--gray-200); padding-bottom: 28px; }
.sub-sec.dark .sub-head { border-color: rgba(255,255,255,0.1); }
.sub-head .pre { font-size: 12px; font-weight: 800; color: var(--green); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }
.sub-head h2 { font-size: 48px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; max-width: 720px; }
.sub-head h2 .green { color: var(--green); }
.sub-head p { font-size: 16px; opacity: 0.7; margin-top: 14px; line-height: 1.75; max-width: 560px; }

.timeline-block { max-width: 760px; margin: 0 auto; }
.timeline-item { display: grid; grid-template-columns: 120px 1fr; gap: 48px; padding: 32px 0; border-bottom: 1px solid var(--gray-200); }
.sub-sec.dark .timeline-item { border-color: rgba(255,255,255,0.1); }
.timeline-year { font-size: 28px; font-weight: 800; color: var(--green); letter-spacing: -0.02em; }
.timeline-body h4 { font-size: 22px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 8px; }
.timeline-body p { font-size: 15px; line-height: 1.75; opacity: 0.7; font-weight: 500; }

.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.person { position: relative; overflow: hidden; cursor: pointer; transition: transform .3s; }
.person:hover { transform: scale(.98); }
.person::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85)); }
.person-img { aspect-ratio: 3/4; background-size: cover; background-position: center; }
.person:nth-child(1) .person-img { background-image: url('images/person1.jpg'); }
.person:nth-child(2) .person-img { background-image: url('images/person2.jpg'); }
.person:nth-child(3) .person-img { background-image: url('images/person3.jpg'); }
.person:nth-child(4) .person-img { background-image: url('images/person4.jpg'); }
.person-body { position: absolute; bottom: 24px; left: 24px; right: 24px; z-index: 2; color: white; }
.person-name { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.person-role { font-size: 12px; font-weight: 700; opacity: 0.85; letter-spacing: 0.05em; text-transform: uppercase; }

.svc-detail-block { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 80px 0; border-bottom: 1px solid var(--gray-200); }
.sub-sec.dark .svc-detail-block { border-color: rgba(255,255,255,0.1); }
.svc-detail-block:last-child { border-bottom: none; }
.svc-detail-block.alt { direction: rtl; } .svc-detail-block.alt > * { direction: ltr; }
.svc-num { font-size: 12px; font-weight: 800; color: var(--green); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px; }
.svc-detail-block h2 { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 20px; }
.svc-detail-block h2 .green { color: var(--green); }
.svc-detail-block p { font-size: 16px; line-height: 1.85; opacity: 0.7; margin-bottom: 22px; font-weight: 500; }
.svc-bullets { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.svc-bullets li { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; }
.svc-bullets li .bi { color: var(--green); font-size: 18px; }
.svc-detail-img { aspect-ratio: 4/5; background-size: cover; background-position: center; box-shadow: 0 30px 80px rgba(0,0,0,0.18); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--gray-200); border-left: 1px solid var(--gray-200); margin-top: 32px; }
.sub-sec.dark .process-grid { border-color: rgba(255,255,255,0.1); }
.proc { padding: 40px 32px; border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.sub-sec.dark .proc { border-color: rgba(255,255,255,0.1); }
.proc-num { font-size: 12px; font-weight: 800; color: var(--green); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }
.proc h4 { font-size: 20px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
.proc p { font-size: 14px; line-height: 1.75; opacity: 0.7; font-weight: 500; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: flex-start; }
.form-card { background: white; border: 1px solid var(--gray-200); padding: 48px 52px; }
.sub-sec.dark .form-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.form-field { margin-bottom: 22px; }
.form-field label { display: block; font-size: 12px; font-weight: 800; margin-bottom: 8px; opacity: 0.7; letter-spacing: 0.05em; text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 14px 18px; border: 1px solid var(--gray-200); font-size: 15px; font-family: inherit; outline: none; background: white; color: inherit; transition: border-color .2s; }
.sub-sec.dark .form-field input, .sub-sec.dark .form-field select, .sub-sec.dark .form-field textarea { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--green); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; padding: 18px; background: var(--green); color: white; border: none; font-size: 14px; font-weight: 800; cursor: pointer; font-family: inherit; transition: background .2s, transform .15s; display: flex; align-items: center; gap: 8px; justify-content: center; letter-spacing: 0.05em; text-transform: uppercase; }
.form-submit:hover { background: var(--green-dark); transform: translateY(-2px); }
.info-card { background: var(--bg); padding: 40px 36px; }
.sub-sec.dark .info-card { background: rgba(255,255,255,0.04); }
.info-block { padding: 20px 0; border-bottom: 1px solid var(--gray-200); }
.sub-sec.dark .info-block { border-color: rgba(255,255,255,0.1); }
.info-block:first-child { padding-top: 0; } .info-block:last-child { border-bottom: none; }
.info-label { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 800; color: var(--green); margin-bottom: 8px; letter-spacing: 0.1em; text-transform: uppercase; }
.info-value { font-size: 15px; font-weight: 600; line-height: 1.6; }
.info-value small { display: block; font-size: 12px; opacity: 0.6; font-weight: 500; margin-top: 4px; }
.map { margin-top: 40px; aspect-ratio: 21/9; background: linear-gradient(135deg, rgba(3,199,90,0.15), transparent), url('images/map.jpg'); background-size: cover; background-position: center; position: relative; }
.map::after { content: ''; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; background: var(--green); border-radius: 50% 50% 50% 0; transform: translate(-50%, -100%) rotate(-45deg); }

@media (max-width: 1024px) {
  .page-hero h1 { font-size: 48px; }
  .sub-head h2 { font-size: 32px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-detail-block { grid-template-columns: 1fr; gap: 32px; }
  .svc-detail-block.alt { direction: ltr; }
  .svc-detail-block h2 { font-size: 32px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .page-hero h1 { font-size: 32px; }
  .svc-bullets { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 32px 28px; }
  .people-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ===== Bootstrap Icons sizing fix ===== */
.bi { display: inline-block; line-height: 1; vertical-align: -0.125em; }
.nav-utils a .bi { font-size: 20px; opacity: 1; }
.header.dark .nav-utils a .bi { color: white; }
.header:not(.dark) .nav-utils a .bi { color: var(--gray-700); }
.header:not(.dark) .nav-utils a:hover .bi { color: var(--green); }
.scroll-cue .bi { font-size: 16px; }

@media (max-width: 1024px) {
  .hero h1 { font-size: 56px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sec-head h2 { font-size: 36px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-text h2 { font-size: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; padding-left: 0; }
  .stat-num { font-size: 56px; }
  .cta h2 { font-size: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-list { display: none; }
  .hero h1 { font-size: 36px; }
  .svc-grid { grid-template-columns: 1fr; }
  .cta h2 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
