/* ===== 홈(index.html) 전용 스타일 ===== */

body.intro-lock { overflow: hidden; }

/* Hero slider */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  color: var(--white);
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-slide.active .bg { transform: scale(1); }
.hero-slide .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,26,24,.55) 0%,
    rgba(26,26,24,.35) 40%,
    rgba(26,26,24,.7) 100%
  );
}
.hero-content {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  z-index: 2;
}
.hero-kicker {
  font-family: var(--font-sub); font-weight: 700;
  font-size: 13px; letter-spacing: .3em;
  color: var(--accent-soft);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(40px, 6.5vw, 84px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 24px;
  max-width: 820px;
}
.hero-title em {
  color: var(--accent);
  font-style: normal;
  /* 어두운 배경 위에서도 올리브색 가독성 확보를 위한 외곽선 */
  -webkit-text-stroke: 1.5px #000;
  paint-order: stroke fill;
  text-shadow:
    2px 0 0 #000, -2px 0 0 #000,
    0 2px 0 #000, 0 -2px 0 #000,
    2px 2px 0 #000, -2px 2px 0 #000,
    2px -2px 0 #000, -2px -2px 0 #000;
}
.hero-desc {
  font-family: var(--font-sub); font-weight: 300;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--concrete-light);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-ctas .btn-primary, .hero-ctas .btn-ghost { color: var(--white); }
.hero-ctas .btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.hero-ctas .btn-ghost:hover { background: var(--white); color: var(--concrete-dark); }

/* slider controls */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 3;
}
.hero-dots button {
  width: 32px; height: 2px;
  background: rgba(255,255,255,.35);
  transition: background .3s, width .3s;
}
.hero-dots button.active { background: var(--white); width: 48px; }

.hero-meta {
  position: absolute;
  bottom: 40px; right: var(--gutter);
  font-family: var(--font-sub);
  font-size: 11px; letter-spacing: .3em;
  color: var(--concrete-light);
  opacity: .7;
  z-index: 3;
}

/* ===== 섹션 공통 ===== */
section.block {
  padding: clamp(60px, 10vw, 120px) var(--gutter);
}
section.block.bg-concrete { background: var(--concrete-light); }
section.block.bg-soft { background: var(--concrete-soft); }
section.block.bg-dark { background: var(--concrete-dark); color: var(--concrete-light); }
section.block.bg-dark .section-heading h2 { color: var(--white); }
section.block.bg-dark .section-heading p { color: var(--concrete-mid); }

/* ===== 주요사업 4카드 ===== */
.biz-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.biz-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--concrete-dark);
  color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px 28px;
  transition: transform .4s ease;
}
.biz-card::before {
  content: '';
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .45;
  transition: opacity .4s, transform .8s;
}
.biz-card:hover::before { opacity: .55; transform: scale(1.05); }
.biz-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(26,26,24,.85), transparent 60%);
}
.biz-card > * { position: relative; z-index: 2; }
.biz-card .no {
  font-family: var(--font-sub);
  font-size: 12px; letter-spacing: .2em;
  color: var(--accent-soft);
  margin-bottom: auto;
}
.biz-card h3 {
  font-family: var(--font-title);
  font-size: 28px;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.biz-card p {
  font-family: var(--font-sub); font-weight: 300;
  font-size: 14px;
  opacity: .85;
  line-height: 1.6;
}
.biz-card .more {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-sub); font-weight: 700;
  font-size: 12px; letter-spacing: .15em;
  color: var(--accent-soft);
}
.biz-card .more::after { content: ' →'; }
@media (max-width: 960px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .biz-grid { grid-template-columns: 1fr; }
  .biz-card { aspect-ratio: 16/10; }
}

/* ===== About intro (2column) ===== */
.about-split {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-split .figure {
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  background-color: var(--concrete-mid);
}
.about-split .copy .kicker {
  font-family: var(--font-sub); font-weight: 700;
  font-size: 13px; letter-spacing: .2em;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-block;
}
.about-split .copy h2 {
  font-family: var(--font-title);
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -.02em;
  margin-bottom: 24px;
  line-height: 1.3;
}
.about-split .copy p {
  font-family: var(--font-sub); font-weight: 300;
  font-size: 16px; line-height: 1.8;
  color: var(--concrete-mid);
  margin-bottom: 16px;
}
.about-split .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--concrete-light);
}
.about-split .stat .num {
  font-family: var(--font-title);
  font-size: 36px; color: var(--accent);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.about-split .stat .num small {
  font-size: 16px; color: var(--concrete-mid);
}
.about-split .stat .lbl {
  font-family: var(--font-sub); font-weight: 700;
  font-size: 12px; color: var(--concrete-mid);
  letter-spacing: .1em;
}
@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about-split .figure { aspect-ratio: 16/10; }
}

/* ===== 실적 프리뷰 ===== */
.projects-preview {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--concrete-light);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.project-card .thumb {
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  background-color: var(--concrete-light);
}
.project-card .body { padding: 24px; }
.project-card .tag {
  display: inline-block;
  font-family: var(--font-sub); font-weight: 700;
  font-size: 11px; letter-spacing: .15em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 10px;
  margin-bottom: 12px;
}
.project-card h4 {
  font-family: var(--font-title);
  font-size: 18px;
  letter-spacing: -.01em;
  margin-bottom: 8px;
  line-height: 1.4;
}
.project-card .meta {
  font-family: var(--font-sub); font-weight: 300;
  font-size: 13px;
  color: var(--concrete-mid);
}
@media (max-width: 900px) {
  .projects-preview { grid-template-columns: 1fr; }
}
.cta-row { text-align: center; margin-top: 48px; }

/* ===== 기술력 스트립 ===== */
.tech-strip {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.tech-item { text-align: center; }
.tech-item .big {
  font-family: var(--font-title);
  font-size: clamp(36px, 5vw, 56px);
  color: var(--accent);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 12px;
}
.tech-item .ttl {
  font-family: var(--font-title);
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--white);
}
.tech-item .desc {
  font-family: var(--font-sub); font-weight: 300;
  font-size: 13px; line-height: 1.6;
  color: var(--concrete-mid);
}
@media (max-width: 900px) { .tech-strip { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 500px) { .tech-strip { grid-template-columns: 1fr; } }

/* ===== 홈 갤러리 티저 ===== */
.gallery-teaser { background: var(--concrete-soft); }
.gallery-teaser .gt-head {
  max-width: var(--max-w);
  margin: 0 auto 32px;
  text-align: center;
}
.gallery-teaser .kicker {
  font-family: var(--font-sub); font-weight: 700;
  font-size: 13px; letter-spacing: .2em;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 12px;
}
.gallery-teaser h2 {
  font-family: var(--font-title);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.gallery-teaser p {
  font-family: var(--font-sub); font-weight: 300;
  font-size: 15px;
  color: var(--concrete-mid);
}
.gt-rail {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.gt-item {
  display: block;
  position: relative;
  aspect-ratio: 3/4;
  background-size: cover; background-position: center;
  background-color: var(--concrete-mid);
  overflow: hidden;
  transition: transform .3s ease;
}
.gt-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(26,26,24,.7), transparent 55%);
  transition: opacity .3s;
}
.gt-item:hover { transform: translateY(-3px); }
.gt-item > span {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--white);
  letter-spacing: -.01em;
  z-index: 2;
}
.gt-item.gt-more {
  background: var(--concrete-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}
.gt-item.gt-more::after { display: none; }
.gt-more-big {
  font-family: var(--font-title);
  font-size: clamp(32px, 3vw, 44px);
  color: var(--accent);
  letter-spacing: -.02em;
  position: static;
  margin-bottom: 4px;
}
.gt-more-label {
  font-family: var(--font-sub); font-weight: 700;
  font-size: 12px;
  letter-spacing: .15em;
  color: var(--concrete-light);
  position: static;
}

@media (max-width: 960px) {
  .gt-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .gt-item {
    flex: 0 0 60%;
    scroll-snap-align: center;
    aspect-ratio: 4/5;
  }
}

/* ===== 기업형 Contact 섹션 ===== */
.corp-contact {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.corp-contact .kicker {
  font-family: var(--font-sub); font-weight: 700;
  font-size: 13px; letter-spacing: .2em;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 12px;
}
.corp-contact h2 {
  font-family: var(--font-title);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -.02em;
  color: var(--concrete-dark);
  margin-bottom: 16px;
}
.corp-contact .lead {
  font-family: var(--font-sub); font-weight: 300;
  font-size: 15px;
  color: var(--concrete-mid);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto 48px;
}
.corp-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 40px;
}
.cc-item {
  background: var(--white);
  border: 1px solid var(--concrete-light);
  border-top: 3px solid var(--accent);
  padding: 28px 20px;
  transition: transform .2s, box-shadow .2s;
}
.cc-item:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(0,0,0,.06); }
.cc-label {
  font-family: var(--font-sub); font-weight: 700;
  font-size: 11px; letter-spacing: .2em;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.cc-value {
  font-family: var(--font-sub); font-weight: 300;
  font-size: 13px;
  color: var(--concrete-mid);
  margin-bottom: 10px;
}
.cc-link {
  display: inline-block;
  font-family: var(--font-title);
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--concrete-dark);
  letter-spacing: -.01em;
  border-bottom: 1px dashed var(--concrete-mid);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
  word-break: break-all;
}
.cc-link:hover { color: var(--accent); border-color: var(--accent); }
.corp-contact-ctas {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
@media (max-width: 780px) {
  .corp-contact-grid { grid-template-columns: 1fr; }
}

/* ===== Contact CTA 섹션 (레거시 - 사용 안 함) ===== */
.contact-cta {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.contact-cta .big-phone {
  font-family: var(--font-title);
  font-size: clamp(40px, 7vw, 72px);
  letter-spacing: -.02em;
  color: var(--accent);
  display: inline-block;
  margin: 24px 0 32px;
}
.contact-cta .big-phone::before {
  content: '☎';
  margin-right: 16px;
  font-size: .8em;
  color: var(--concrete-dark);
}
.contact-cta .contact-hint {
  font-family: var(--font-point);
  font-size: 18px;
  color: var(--concrete-mid);
  margin-bottom: 12px;
}
