@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --navy-deep: #081226;
  --navy: #0f1c36;
  --navy-mid: #172b52;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --silver: #cbd5e1;
  --silver-light: #e2e8f0;
  --bg-soft: #f8fafc;
  --white: #ffffff;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-glow: rgba(37, 99, 235, 0.35);
  --gold: #f59e0b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 14px rgba(8, 18, 38, 0.05);
  --shadow-md: 0 12px 32px rgba(8, 18, 38, 0.08);
  --shadow-lg: 0 24px 50px rgba(8, 18, 38, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =================================================== */
/* 상단 프리미엄 헤더 */
/* =================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 18, 38, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(8, 18, 38, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 16px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}
.brand-logo img {
  height: 42px;
  width: auto;
  background: #fff;
  padding: 5px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.brand-text strong {
  display: block;
  font-size: 1.18rem;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: var(--white);
}
.brand-text span {
  display: block;
  font-size: 0.74rem;
  color: var(--silver);
  letter-spacing: 0.4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-menu a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}
.nav-menu a.nav-cta {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: var(--white);
  margin-left: 10px;
  padding: 10px 18px;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.nav-menu a.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 1.35rem;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* =================================================== */
/* 히어로 섹션 (프리미엄 이미지 + 네이비 오버레이) */
/* =================================================== */
.hero {
  position: relative;
  min-height: 680px;
  padding: 150px 0 110px;
  color: var(--white);
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(105deg, rgba(8, 18, 38, 0.93) 0%, rgba(15, 28, 54, 0.82) 52%, rgba(15, 28, 54, 0.55) 100%),
    url('./hero-main.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 35%, rgba(37, 99, 235, 0.25), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 30px;
  font-size: 0.82rem;
  color: #93c5fd;
  margin-bottom: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}
.hero h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 1.2;
  margin: 0 0 22px 0;
  font-weight: 800;
  letter-spacing: -0.8px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.hero p {
  font-size: 1.1rem;
  color: #e2e8f0;
  margin: 0 0 34px 0;
  max-width: 580px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: var(--white);
  padding: 15px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 22px var(--accent-glow);
  transition: all 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.5);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 15px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--white);
}

.hero-card {
  background: rgba(15, 28, 54, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}
.hero-card h3 {
  margin: 0 0 18px 0;
  font-size: 1.15rem;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 14px;
}
.hero-card h3 span {
  font-size: 0.75rem;
  color: #93c5fd;
  letter-spacing: 1px;
  font-weight: 700;
}
.hero-stat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-stat {
  background: rgba(8, 18, 38, 0.6);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.hero-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.45);
}
.hero-stat strong {
  display: block;
  font-size: 1.25rem;
  color: #60a5fa;
  margin-bottom: 4px;
}
.hero-stat span {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.4;
  display: block;
}

/* =================================================== */
/* 신뢰 배지 스트립 (Trust Strip) */
/* =================================================== */
.trust-strip {
  background: var(--navy);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
}
.trust-item .t-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.trust-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
}
.trust-item small {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* =================================================== */
/* 공통 섹션 */
/* =================================================== */
section.section {
  padding: 92px 0;
}
section.section.alt {
  background: var(--bg-soft);
}
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 54px;
}
.section-kicker {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  background: #eff6ff;
  padding: 5px 14px;
  border-radius: 20px;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  color: var(--navy);
  margin: 0 0 12px 0;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.section-head p {
  color: var(--slate-500);
  margin: 0;
  font-size: 1.05rem;
}

/* =================================================== */
/* 회사 소개 */
/* =================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: stretch;
}
.card-box {
  background: var(--white);
  border: 1px solid var(--silver-light);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.card-box h3 {
  margin: 0 0 18px 0;
  color: var(--navy);
  font-size: 1.32rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table th, .info-table td {
  padding: 13px 8px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
  font-size: 0.96rem;
}
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }
.info-table th {
  color: var(--slate-500);
  width: 32%;
  font-weight: 600;
}
.info-table td {
  color: var(--navy);
  font-weight: 700;
}

/* =================================================== */
/* 사업 분야 (4대 영역) */
/* =================================================== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.biz-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--silver-light);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.biz-photo {
  position: relative;
  height: 185px;
  overflow: hidden;
  background: var(--navy);
}
.biz-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.biz-card:hover .biz-photo img {
  transform: scale(1.06);
}
.biz-photo .biz-num {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(8, 18, 38, 0.82);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 2;
}
.biz-body {
  padding: 24px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.biz-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0 0;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--slate-700);
  font-weight: 600;
}
.biz-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--accent) 100%);
}
.biz-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #bfdbfe;
}
.biz-num {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 2rem;
  font-weight: 900;
  color: #f1f5f9;
  line-height: 1;
}
.biz-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
}
.biz-eng {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 1.2px;
  margin-bottom: 4px;
}
.biz-card h3 {
  margin: 0 0 12px 0;
  color: var(--navy);
  font-size: 1.22rem;
  font-weight: 800;
}
.biz-card p {
  margin: 0;
  color: var(--slate-500);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* =================================================== */
/* 업무 프로세스 (4단계 타임라인) */
/* =================================================== */
.process-section {
  background: linear-gradient(135deg, #0b1528 0%, #162a50 100%);
  color: var(--white);
  padding: 84px 0;
}
.process-section .section-head h2 { color: var(--white); }
.process-section .section-head p { color: #cbd5e1; }
.process-section .section-kicker {
  background: rgba(37, 99, 235, 0.25);
  color: #93c5fd;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  transition: background 0.2s;
}
.process-step:hover {
  background: rgba(255, 255, 255, 0.1);
}
.step-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.process-step h3 {
  margin: 0 0 8px 0;
  font-size: 1.15rem;
  color: var(--white);
}
.process-step p {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5e1;
}

/* =================================================== */
/* 제품 소개 & 시공 사례 카드 + 라이트박스 */
/* =================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}
.media-card {
  background: var(--white);
  border: 1px solid var(--silver-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  max-width: 390px;
  width: 100%;
  margin: 0 auto;
  transition: all 0.25s ease;
}
.media-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.media-thumb {
  height: 230px;
  background: linear-gradient(135deg, #101b32 0%, #243b6b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 0.95rem;
  overflow: hidden;
  position: relative;
}
.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
  cursor: zoom-in;
}
.media-card:hover .media-thumb img {
  transform: scale(1.06);
}
.media-body {
  padding: 22px 24px;
  flex: 1;
}
.media-tag {
  display: inline-block;
  background: #eff6ff;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.media-body h3 {
  margin: 0 0 8px 0;
  color: var(--navy);
  font-size: 1.14rem;
  font-weight: 800;
}
.media-body p {
  margin: 0;
  color: var(--slate-500);
  font-size: 0.93rem;
}

/* =================================================== */
/* 견적 문의 (프리미엄 2단 레이아웃) */
/* =================================================== */
.inquiry-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  background: var(--white);
  border: 1px solid var(--silver-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.inquiry-side {
  background: linear-gradient(160deg, #0b1528 0%, #1a315e 100%);
  color: var(--white);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.inquiry-side h3 {
  margin: 0 0 12px 0;
  font-size: 1.45rem;
  font-weight: 800;
}
.inquiry-side p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.96rem;
}
.inquiry-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.inquiry-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: #e2e8f0;
}
.inquiry-office-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 18px;
  font-size: 0.88rem;
  color: #cbd5e1;
}
.inquiry-office-box strong {
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.inquiry-wrap {
  padding: 40px 36px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full {
  grid-column: 1 / -1;
}
.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  background: #f8fafc;
  transition: all 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}
.photo-preview-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.photo-preview-grid img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}
.submit-status {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 600;
  display: none;
}
.submit-status.ok {
  display: block;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}
.submit-status.err {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* =================================================== */
/* 고객센터 & 푸터 */
/* =================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.site-footer {
  background: var(--navy-deep);
  color: #94a3b8;
  padding: 52px 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-inner strong { color: var(--white); font-size: 1.08rem; }

/* 플로팅 견적 문의 버튼 */
.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}
.floating-cta:hover { transform: translateY(-3px); }

/* 사진 크게 보기 라이트박스 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 18, 38, 0.88);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-inner img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #0f172a;
  display: block;
}
.lightbox-caption {
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.lightbox-close {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

/* 스크롤 등장 효과 */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid, .about-grid, .inquiry-layout { grid-template-columns: 1fr; }
  .trust-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { padding: 124px 0 76px; min-height: auto; }
  section.section { padding: 64px 0; }
  .trust-grid, .process-grid, .form-grid { grid-template-columns: 1fr; }
  .mobile-menu-btn { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: rgba(8, 18, 38, 0.98);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { width: 100%; text-align: left; padding: 12px 14px; }
  .nav-menu a.nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }
  .inquiry-wrap, .inquiry-side { padding: 26px 20px; }
  .floating-cta { right: 16px; bottom: 16px; padding: 12px 18px; font-size: 0.9rem; }
}
