/* ============================================
   AETHER AEROSPACE — Main Stylesheet
   Design inspired by Hanwha Aerospace
   ============================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #0b0c0e;
  --dark:       #14151a;
  --dark-mid:   #1e1f26;
  --gray-dark:  #2c2d35;
  --gray:       #64748B;        /* light-theme readable gray */
  --gray-light: #94A3B8;        /* lighter gray */
  --white:      #ffffff;
  --off-white:  #F8FAFC;        /* 밝은 배경색 (Base) */
  --text:       #334155;        /* 텍스트 */
  --primary:    #B4C6E7;        /* 파스텔 하늘색 (주조색) */
  --accent:     #1E3A8A;        /* 파란색 (강조색) */
  --accent-dark:#16306e;
  --accent-light:#B4C6E7;       /* = primary */
  --blue-dim:   #1a2540;

  --font-en:    'Barlow', sans-serif;
  --font-kr:    'Noto Sans KR', sans-serif;

  --header-h:   80px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 18px; }

body {
  font-family: var(--font-kr);
  background: var(--off-white);  /* #F8FAFC */
  color: var(--text);            /* #334155 */
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { cursor: pointer; border: none; background: none; }

/* ============================================
   HEADER
   ============================================ */
#main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: background var(--transition), box-shadow var(--transition);
}

#main-header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

#main-header.nav-open {
  box-shadow: none;
}

#main-header.menu-open {
  background: var(--black);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.logo-img {
  height: 100px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.logo-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.25em;
  color: var(--black);
}
.logo-sub {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: var(--accent-dark);
  text-transform: uppercase;
}
/* 로고 이미지 파일 사용 시 */
.logo img,
.footer-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* GNB */
.gnb-list {
  display: flex;
  gap: 0;
  height: var(--header-h);
  align-items: center;
}

.gnb-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.gnb-link {
  font-family: var(--font-kr);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--dark);
  padding: 0 100px;
  height: 100%;
  display: flex;
  align-items: center;
  letter-spacing: 0.03em;
  transition: color var(--transition);
  position: relative;
}
.gnb-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: var(--accent);
  transition: left var(--transition), right var(--transition);
}
.gnb-item:hover .gnb-link::after,
.gnb-item.active .gnb-link::after {
  left: 0; right: 0;
}
.gnb-item:hover .gnb-link { color: var(--accent); }

/* GNB Backdrop + Mega Menu */
.gnb-backdrop {
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  height: 0;
  overflow: hidden;
  background: rgba(248,250,252,0.98);
  box-shadow: 0 8px 32px rgba(30,58,138,0.10);
  transition: height var(--transition);
  z-index: 999;
  border-top: 2px solid var(--primary);
}

.mega-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  height: 310px;
}

.mega-col {
  position: absolute;
  top: 0;
  padding: 28px 0;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity var(--transition);
}

.gnb-backdrop[data-active] .mega-col { opacity: 0.25; }
.gnb-backdrop[data-active="company"]  .mega-col[data-col="company"],
.gnb-backdrop[data-active="business"] .mega-col[data-col="business"],
.gnb-backdrop[data-active="contact"]  .mega-col[data-col="contact"] { opacity: 1; }

.mega-col-title {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(51,65,85,0.45);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(51,65,85,0.12);
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
  text-align: center;
  width: 100%;
}

.gnb-backdrop[data-active="company"]  .mega-col[data-col="company"]  .mega-col-title,
.gnb-backdrop[data-active="business"] .mega-col[data-col="business"] .mega-col-title,
.gnb-backdrop[data-active="contact"]  .mega-col[data-col="contact"]  .mega-col-title {
  color: var(--accent);
  border-bottom-color: rgba(30,58,138,0.25);
}

.mega-link {
  display: block;
  font-family: var(--font-kr);
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(51,65,85,0.7);
  padding: 9px 0;
  transition: color var(--transition);
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-align: center;
  width: 100%;
}
.mega-link:hover { color: var(--accent); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(135deg, #0b0c0e 0%, #1a2540 50%, #0e1520 100%);
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(11,12,14,0.85) 0%,
    rgba(11,12,14,0.60) 55%,
    rgba(11,12,14,0.20) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  padding-top: var(--header-h);
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--accent-light);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-en);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--accent-light);
}

.hero-desc {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  margin-bottom: 64px;
  max-width: 660px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.48);
  border: none;
  color: var(--dark-deep);
  font-family: var(--font-kr);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 14px 32px;
  letter-spacing: 0.05em;
  transition: background var(--transition), transform var(--transition);
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}
.btn-hero::after { content: '→'; }
.btn-hero:hover { background: rgba(255,255,255,0.65); transform: translateX(4px); }

/* Scroll Down */
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 1s 1.4s forwards;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--accent-light));
  animation: scrollPulse 2s 1.6s infinite;
}
.scroll-text {
  font-family: var(--font-en);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--accent-light);
}

/* ============================================
   SECTIONS — Common
   ============================================ */
.section { padding: 120px 0; }
.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-header {
  text-align: center;
  margin-bottom: 70px;
}
.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-kr);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.3;
}
.section-sub {
  font-size: 0.95rem;
  color: var(--gray);
  max-width: 500px;
  margin: 0 auto;
}
.section-header.light .section-label { color: var(--accent); }
.section-header.light .section-title { color: var(--text); }
.section-header.light .section-sub   { color: var(--gray); }

/* ============================================
   BUSINESS AREA
   ============================================ */
.business-area { background: var(--off-white); }

.biz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.biz-card {
  position: relative;
  background: var(--white);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}
.biz-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.13); }

.biz-card-img {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--dark-mid);
}
.biz-card-img img {
  transition: transform 0.6s ease;
  /* Placeholder color per card */
}
.biz-card:nth-child(1) .biz-card-img { background: linear-gradient(135deg, #1a2540, #0e1a30); }
.biz-card:nth-child(2) .biz-card-img { background: linear-gradient(135deg, #16243f, #0c1828); }
.biz-card:nth-child(3) .biz-card-img { background: linear-gradient(135deg, #101a2a, #0e1820); }

.biz-card:hover .biz-card-img img { transform: scale(1.06); }

.biz-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,12,14,0.25);
}

.biz-card-body {
  padding: 36px 32px 40px;
}

.biz-num {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.biz-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 14px;
  color: var(--dark);
}
.biz-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 24px;
}
.biz-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.biz-more:hover { gap: 12px; }

/* ============================================
   MATERIALS
   ============================================ */
.materials {
  background: #EBF1FA;   /* 파스텔 하늘색 기반 섹션 배경 */
  position: relative;
}
.materials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><rect width="60" height="60" fill="none" stroke="%231E3A8A0A" stroke-width="1"/></svg>');
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mat-card {
  background: var(--white);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 3px solid transparent;
  box-shadow: 0 2px 12px rgba(30,58,138,0.07);
}
.mat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(30,58,138,0.15);
  border-bottom-color: var(--primary);
}

.mat-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.mat-card:nth-child(1) .mat-img { background: linear-gradient(135deg, #dce8f5, #c4d9ee); }
.mat-card:nth-child(2) .mat-img { background: linear-gradient(135deg, #cfe0f0, #b8cfe7); }
.mat-card:nth-child(3) .mat-img { background: linear-gradient(135deg, #c8dbee, #afc9e3); }
.mat-card:nth-child(4) .mat-img { background: linear-gradient(135deg, #d4e5f5, #bdd4ec); }

.mat-img img { transition: transform 0.6s ease; }
.mat-card:hover .mat-img img { transform: scale(1.08); }

.mat-info {
  padding: 28px 26px 32px;
}
.mat-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.mat-info > p {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.mat-info ul { display: flex; flex-direction: column; gap: 6px; }
.mat-info li {
  font-size: 0.8rem;
  color: var(--gray);
  padding-left: 14px;
  position: relative;
}
.mat-info li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 4px;
  background: var(--primary);
  border-radius: 50%;
}

/* ============================================
   ABOUT BANNER
   ============================================ */
.about-banner {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.about-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0e1520 0%, #1a2a40 100%);
}
.about-banner-bg img { opacity: 0.35; }
.about-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,12,14,0.82) 30%, transparent 100%);
}
.about-banner-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.about-banner-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: var(--accent-light);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.about-banner-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
}
.about-banner-content > p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 36px;
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--white);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 13px 30px;
  letter-spacing: 0.05em;
  transition: background var(--transition), color var(--transition);
}
.btn-outline-white::after { content: '→'; }
.btn-outline-white:hover { background: var(--white); color: var(--black); }

/* ============================================
   FOOTER
   ============================================ */
#main-footer { background: var(--white); border-top: 1px solid rgba(0,0,0,0.08); }

.footer-top { padding: 70px 0 50px; border-bottom: 1px solid rgba(0,0,0,0.08); }

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.footer-logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-right: 20px;
}
.footer-logo .logo-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.25em;
  color: var(--black);
}
.footer-logo .logo-sub {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  color: var(--accent-dark);
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  gap: 60px;
  flex: 1;
}
.footer-col h5 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 0.8rem;
  color: var(--gray);
  transition: color var(--transition);
  white-space: nowrap;
}
.footer-col a:hover { color: var(--accent-dark); }

.footer-contact {
  flex-shrink: 0;
  text-align: right;
}
.footer-contact p {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-bottom { padding: 24px 0; }
.footer-bottom .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.copyright {
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.02em;
}
.footer-policy {
  display: flex;
  gap: 24px;
}
.footer-policy a {
  font-size: 0.75rem;
  color: var(--gray);
  transition: color var(--transition);
}
.footer-policy a:hover { color: var(--dark); }

/* ============================================
   PROCESS INFOGRAPHIC
   ============================================ */
.pif-wrap {
  max-width: 1000px;
  margin: 0 auto;
}
.pif-bar {
  display: flex;
  height: 60px;
  border-radius: 40px;
  background: linear-gradient(90deg, #1a237e 0%, #1565c0 35%, #0097a7 68%, #00838f 100%);
  overflow: hidden;
}
.pif-seg {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px dashed rgba(255,255,255,0.22);
}
.pif-seg:last-child { border-right: none; }
.pif-chev {
  color: rgba(255,255,255,0.9);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: -3px;
  line-height: 1;
}
.pif-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.pif-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
}
.pif-connector {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(21,101,192,0.4), rgba(21,101,192,0.8));
}
.pif-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid #1565c0;
  background: var(--white);
  margin-bottom: 18px;
  flex-shrink: 0;
}
.pif-dot-blue  { border-color: #1565c0; }
.pif-dot-teal  { border-color: #00838f; }
.pif-step:nth-child(3) .pif-connector,
.pif-step:nth-child(4) .pif-connector {
  background: linear-gradient(to bottom, rgba(0,131,143,0.4), rgba(0,131,143,0.8));
}
.pif-step h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.35;
}
.pif-step p {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.7;
}

/* Single Window Feature Cards */
.sw-feature-wrap {
  max-width: 1000px;
  margin: 56px auto 0;
  background: var(--white);
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 32px rgba(0,0,0,0.07);
  overflow: hidden;
}
.sw-feature-header {
  padding: 40px 52px 32px;
  border-bottom: 1px solid #ececec;
  background: var(--off-white);
}
.sw-feature-label {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.sw-feature-header h3 {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: var(--dark);
}
.sw-feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.sw-feat-card {
  padding: 40px 52px 44px;
  position: relative;
  transition: background var(--transition);
}
.sw-feat-card:first-child {
  border-right: 1px solid #ececec;
}
.sw-feat-card:hover { background: #fafafa; }
.swfc-number {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(30,58,138,0.18);
  line-height: 1;
  margin-bottom: 14px;
}
.swfc-divider {
  width: 28px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 18px;
}
.sw-feat-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.4;
}
.sw-feat-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.85;
}
@media (max-width: 700px) {
  .sw-feature-cards { grid-template-columns: 1fr; }
  .sw-feat-card:first-child { border-right: none; border-bottom: 1px solid #ececec; }
  .sw-feature-header, .sw-feat-card { padding: 28px 28px; }
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.benefit-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.13);
}
.benefit-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.benefit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.benefit-card:hover .benefit-img img { transform: scale(1.06); }
.benefit-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,12,14,0.35);
}
.benefit-num {
  position: absolute;
  top: 20px; left: 22px;
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent-light);
  background: rgba(11,12,14,0.55);
  padding: 4px 10px;
  z-index: 1;
}
.benefit-body {
  padding: 28px 28px 34px;
}
.benefit-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.45;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent);
}
.benefit-body p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.85;
}

@media (max-width: 900px) {
  .pif-steps      { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .pif-bar        { border-radius: 12px; }
  .benefits-grid  { grid-template-columns: 1fr; }
  .single-window-box { margin-top: 36px; }
}
@media (max-width: 600px) {
  .pif-steps { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   CORE VALUES
   ============================================ */
.core-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
}
.core-value-card {
  background: var(--white);
  padding: 44px 36px 48px;
  position: relative;
  border-bottom: 3px solid transparent;
  box-shadow: 0 2px 12px rgba(30,58,138,0.07);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.core-value-card:hover {
  border-bottom-color: var(--primary);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(30,58,138,0.13);
}
.cv-icon {
  font-family: var(--font-en);
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(30, 58, 138, 0.10);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.cv-divider {
  width: 32px;
  height: 2px;
  background: var(--primary);
  margin-bottom: 20px;
}
.core-value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.core-value-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 24px;
}
.cv-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cv-keywords li {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid rgba(30,58,138,0.25);
  padding: 4px 10px;
  text-transform: uppercase;
}

/* ============================================
   PROPOSAL SECTION — Split Layout
   ============================================ */
.proposal-fullsection {
  overflow: hidden;
  padding: 100px 0;
  border-bottom: 1px solid var(--off-white);
  background: var(--white);
}
.proposal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  gap: 60px;
  align-items: center;
}

/* 왼쪽 이미지 패널 */
.proposal-img-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0e1a30 0%, #1a3050 40%, #0a1828 100%);
  border-radius: 4px;
  min-height: 480px;
}
.proposal-img-panel img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 8s ease;
}
.proposal-img-panel:hover img { transform: scale(1.04); }
.proposal-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,12,14,0.55) 0%,
    rgba(11,12,14,0.25) 60%,
    rgba(11,12,14,0.50) 100%
  );
}
.proposal-img-quote {
  position: absolute;
  bottom: 48px;
  right: 48px;
  left: auto;
  z-index: 1;
  text-align: right;
  max-width: 80%;
}
.piq-mark {
  font-family: var(--font-en);
  font-size: 5rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 0.7;
  display: block;
  margin-bottom: 16px;
  opacity: 0.8;
}
.proposal-img-quote p {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* 오른쪽 컨텐츠 패널 */
.proposal-content-panel {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.proposal-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.proposal-title {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.proposal-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.pi-num {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(30,58,138,0.35);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
  padding-top: 2px;
}
.pi-body h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.pi-body p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.8;
}
.proposal-item-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 20px 0;
}

@media (max-width: 900px) {
  .proposal-split { grid-template-columns: 1fr; padding: 0 24px; }
  .proposal-img-panel { height: 300px; min-height: unset; }
  .proposal-content-panel { padding: 40px 0 0; }
}

/* ============================================
   DIRECTION CARDS & BODY
   ============================================ */
.biz-infographic-wrap {
  width: 100%;
  margin-top: 48px;
}
.biz-infographic-wrap iframe {
  width: 100%;
  height: 600px; /* postMessage로 자동 조정됨 */
  border: none;
  display: block;
}
.direction-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.direction-card {
  background: var(--off-white);
  padding: 32px 28px 36px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.direction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.dc-accent {
  width: 36px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 20px;
}
.direction-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.direction-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.8;
}
.direction-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e8e8e8;
}
.direction-text-block {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #e8e8e8;
}
.direction-text-block:last-child { border-bottom: none; }
.dtb-marker {
  flex-shrink: 0;
  width: 4px;
  background: var(--accent);
}
.dtb-content {
  flex: 1;
  padding: 36px 40px;
}
.dtb-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.dtb-content p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.9;
}

/* ============================================
   BIZ LINKS SECTION (사업방향 페이지 하단)
   ============================================ */
.biz-links-section {
  background: var(--off-white);
  padding: 80px 0;
}
.biz-links-title {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 48px;
}
.biz-link-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.biz-link-card {
  background: var(--white);
  overflow: hidden;
  display: block;
  transition: transform var(--transition), box-shadow var(--transition);
}
.biz-link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.blc-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.blc-img img { transition: transform 0.6s ease; }
.biz-link-card:hover .blc-img img { transform: scale(1.06); }
.blc-body {
  padding: 28px 28px 32px;
}
.blc-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin: 8px 0 16px;
  line-height: 1.4;
}

/* 주소 페이지 문의 링크 버튼 */
.btn-inquiry-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 13px 28px;
  background: var(--dark);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background var(--transition);
}
.btn-inquiry-link:hover { background: var(--accent); color: var(--white); }

/* Responsive overrides */
@media (max-width: 900px) {
  .core-values-grid  { grid-template-columns: 1fr; gap: 2px; }
  .direction-cards   { grid-template-columns: 1fr; }
  .biz-link-cards    { grid-template-columns: 1fr; max-width: 500px; }
  .proposal-block    { flex-direction: column; }
  .proposal-icon     { width: 100%; flex-direction: row; padding: 18px 28px; justify-content: flex-start; gap: 8px; }
  .dtb-content       { padding: 24px 24px; }
}

/* ============================================
   BIZ HERO FULL (사업방향 — 히어로+태그라인 통합)
   ============================================ */
.biz-hero-full {
  position: relative;
  height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  overflow: hidden;
  background: var(--black);
}
.biz-hero-full-bg {
  position: absolute;
  inset: 0;
}
.biz-hero-full-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
}
.biz-hero-full-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,0.2) 0%, rgba(11,12,14,0.55) 100%);
}
.biz-hero-full .page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 40px 0;
}
.biz-hero-full .biz-tagline-inner {
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
}
@media (max-width: 900px) {
  .biz-hero-full { height: auto; min-height: 600px; }
}
@media (max-width: 600px) {
  .biz-hero-full { min-height: 480px; }
  .biz-hero-full .page-hero-content { padding: 36px 20px 0; }
  .biz-hero-full .biz-tagline-inner { padding-bottom: 48px; }
}

/* ============================================
   BIZ TAGLINE BAR
   ============================================ */
.biz-tagline-bar {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1e35, #0b1422);
}
.biz-tagline-bg {
  position: absolute;
  inset: 0;
}
.biz-tagline-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.biz-tagline-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11,12,14,0.72);
}
.biz-tagline-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  width: 100%;
}
.biz-tagline-inner p {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: rgba(255,255,255,0.9);
  line-height: 2;
  font-weight: 300;
}
.biz-tagline-inner strong {
  color: var(--accent-light);
  font-weight: 700;
}

/* ============================================
   PARTNER LOGO CAROUSEL
   ============================================ */
.partner-carousel-wrap {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid #e8e8e8;
  text-align: center;
}
.partner-carousel-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.35em;
  color: var(--accent);
  margin-bottom: 36px;
  text-transform: uppercase;
}
.partner-carousel {
  overflow: hidden;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  /* 양쪽 페이드 마스크 */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.partner-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: marquee 22s linear infinite;
  width: max-content;
}
.partner-track:hover { animation-play-state: paused; }

.partner-logo {
  width: 180px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-right: 1px solid #ececec;
  filter: grayscale(100%) opacity(0.45);
  transition: filter var(--transition);
}
.partner-logo:hover { filter: grayscale(0%) opacity(1); }
.partner-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.partner-logo span {
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--dark);
  white-space: nowrap;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-16.6667%); }
}

/* ============================================
   CUTTING METHOD GRID
   ============================================ */
.cutting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 64px;
}
.cutting-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cutting-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.13);
}
.cutting-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.cutting-img img {
  transition: transform 0.6s ease;
}
.cutting-card:hover .cutting-img img { transform: scale(1.05); }
.cutting-info {
  padding: 28px 28px 32px;
}
.cutting-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.cutting-info p {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.8;
}

@media (max-width: 700px) {
  .cutting-grid { grid-template-columns: 1fr; }
  .partner-logo { width: 140px; }
}

/* ============================================
   PAGE — INNER (공통 내부 페이지)
   ============================================ */
.page-hero {
  height: 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  background: var(--black);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,0.3) 0%, rgba(11,12,14,0.85) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent-light); }
.breadcrumb span { color: var(--gray-dark); }
.page-hero-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--white);
}

/* In-page section anchors */
.inner-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--off-white);
}
.inner-section:last-child { border-bottom: none; }
.inner-section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
.inner-section-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: center;
}
.inner-section-title {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 32px;
  line-height: 1.35;
  text-align: center;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.greeting-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.greeting-img {
  height: 460px;
  background: linear-gradient(135deg, #1a2540, #0e1520);
  overflow: hidden;
}
.greeting-text blockquote {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.5;
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin-bottom: 32px;
}
.greeting-text p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 16px;
}
.greeting-sign {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.greeting-sign strong { font-size: 1rem; font-weight: 700; color: var(--dark); }
.greeting-sign span { font-size: 0.8rem; color: var(--gray); }

/* History Layout */
.history-layout {
  display: grid;
  grid-template-columns: 1fr 1080px;
  gap: 40px;
  align-items: start;
}
#history .inner-section-inner {
  max-width: 1700px;
}
.history-side-img {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  height: 620px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--dark-mid);
}
.history-side-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
@media (max-width: 1500px) {
  .history-layout { grid-template-columns: 1fr 700px; }
}
@media (max-width: 1100px) {
  .history-layout { grid-template-columns: 1fr 500px; gap: 32px; }
}
@media (max-width: 800px) {
  .history-layout { grid-template-columns: 1fr; }
  .history-side-img { display: none; }
}

/* History Timeline */
.history-wrap { max-width: 100%; }
.history-year-group { margin-bottom: 48px; }
.history-year {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.history-year::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 40px; height: 2px;
  background: var(--accent);
}
.history-items { border-left: 1px solid var(--off-white); padding-left: 32px; }
.history-item {
  position: relative;
  padding: 0 0 20px 0;
  display: flex;
  gap: 20px;
}
.history-item::before {
  content: '';
  position: absolute;
  left: -37px; top: 8px;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--white);
}
.history-month {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--accent);
  flex-shrink: 0;
  width: 32px;
  margin-top: 2px;
}
.history-item p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; }

/* ============================================
   BUSINESS PAGE
   ============================================ */
.biz-detail-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.biz-detail-wrap.reverse { direction: rtl; }
.biz-detail-wrap.reverse > * { direction: ltr; }
.biz-detail-img {
  height: 420px;
  overflow: hidden;
}
.biz-detail-img img { height: 100%; }
.biz-detail-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.4;
}
.biz-detail-text p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 14px;
}
.biz-feature-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.biz-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--dark);
}
.biz-feature-list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 8px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
  align-items: flex-start;
}
.contact-icon {
  width: 48px; height: 48px;
  background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-info-item h5 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.contact-info-item p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

.map-wrap {
  height: 460px;
  margin-top: 12px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}
#naver-map {
  width: 100%;
  height: 100%;
}

/* Contact Form */
.inquiry-section { background: var(--off-white); }
.contact-form { max-width: 720px; margin: 0 auto; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.form-group label .req { color: var(--accent); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #d8d8d8;
  border-radius: 0;
  font-family: var(--font-kr);
  font-size: 0.88rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 160px; resize: vertical; }
.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 0.82rem;
  color: var(--gray);
  cursor: pointer;
}
.form-privacy input[type="checkbox"] { margin-top: 2px; accent-color: var(--accent); }
.btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-kr);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: background var(--transition);
}
.btn-submit:hover { background: var(--accent); color: var(--white); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.6); opacity: 0.4; }
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Hero entrance — plays automatically on load */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.hero-bg      { animation: heroZoom 2s cubic-bezier(0.4,0,0.2,1) both; }
.hero-eyebrow { animation: heroFadeUp 1s cubic-bezier(0.4,0,0.2,1) 0.2s both; }
.hero-title   { animation: heroFadeUp 1s cubic-bezier(0.4,0,0.2,1) 0.45s both; }
.hero-desc    { animation: heroFadeUp 1s cubic-bezier(0.4,0,0.2,1) 0.7s both; }
.btn-hero     { animation: heroFadeUp 1s cubic-bezier(0.4,0,0.2,1) 0.95s both; }
.scroll-down  { animation: heroFadeIn 1s ease 1.3s both; }

/* Scroll reveal — up (default) */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1),
              transform 0.75s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-64px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1),
              transform 0.75s cubic-bezier(0.4,0,0.2,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(64px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1),
              transform 0.75s cubic-bezier(0.4,0,0.2,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Scale up */
.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1),
              transform 0.75s cubic-bezier(0.4,0,0.2,1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Fade only */
.reveal-fade {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.reveal-fade.visible { opacity: 1; }

/* Delays */
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }
.reveal-delay-4 { transition-delay: 0.46s; }
.reveal-delay-5 { transition-delay: 0.58s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .biz-grid { grid-template-columns: 1fr; }
  .biz-card-img { height: 220px; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-nav { gap: 36px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .gnb { display: none; }
  .hamburger { display: flex; }
  .biz-grid { grid-template-columns: 1fr; }
  .greeting-wrap,
  .biz-detail-wrap,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .biz-detail-wrap.reverse { direction: ltr; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-contact { text-align: left; }
  .footer-bottom .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .section-inner, .inner-section-inner,
  .header-inner, .hero-content,
  .about-banner-content, .footer-inner { padding: 0 20px; }
  .materials-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-nav { flex-direction: column; gap: 24px; }
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  overflow-y: auto;
  padding: var(--header-h) 24px 40px;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav-list { margin-top: 24px; }
.mobile-nav-list > li { border-bottom: 1px solid var(--gray-dark); }
.mobile-nav-list > li > a {
  display: block;
  padding: 18px 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.mobile-sub-list { padding: 0 0 16px 16px; }
.mobile-sub-list a {
  display: block;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--gray);
}

/* ============================================
   ORG CHART (about page)
   ============================================ */
.org-chart {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.org-ceo {
  background: var(--accent);
  color: var(--white);
  padding: 22px 56px;
  text-align: center;
}
.org-ceo .org-role {
  display: block;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  opacity: 0.75;
  margin-bottom: 6px;
}
.org-ceo .org-name {
  font-size: 1.15rem;
  font-weight: 700;
}
.org-stem {
  width: 2px;
  height: 28px;
  background: rgba(30, 58, 138, 0.50);
  margin-bottom: -1px;  /* 플렉스 서브픽셀 간격 방지 */
}
.org-parts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  position: relative;
  padding-top: 24px;   /* 수평선 + 수직 드롭 공간 */
}
/* 수평 가로선 — gap 24px 반영: 카드 중앙 = (100% - 3*24px) / 8 = 12.5% - 9px */
.org-parts::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(12.5% - 9px);
  right: calc(12.5% - 9px);
  height: 2px;
  background: rgba(30, 58, 138, 0.50);
}
/* CEO → 수평선 수직 브리지: flex 간격 보완 */
.org-parts::after {
  content: '';
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 30px;  /* org-stem(28px) + 수평선 2px 겹침 */
  background: rgba(30, 58, 138, 0.50);
  pointer-events: none;
}
.org-part {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 3px solid var(--accent);
  padding: 26px 24px 14px;
  position: relative;
}
/* 수직 드롭선 — 수평선에서 각 카드 상단까지 */
.org-part::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 24px;
  background: rgba(30, 58, 138, 0.50);
}
.org-part-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.org-part-head h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark);
}
.org-headcount {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-align: right;
}
.org-part ul li {
  font-size: 0.86rem;
  color: var(--gray);
  padding: 9px 0;
  border-bottom: 1px solid var(--off-white);
}
.org-part ul li:last-child { border-bottom: none; }

/* ============================================
   EQUIPMENT CARD — 장비 사진 반투명 배경
   ============================================ */
#equipment .core-value-card {
  overflow: hidden;
}
/* 각 카드 텍스트를 사진 위에 유지 */
#equipment .core-value-card > * {
  position: relative;
  z-index: 1;
}
/* 반투명 장비 사진 레이어 */
#equipment .core-value-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.60;
  z-index: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
#equipment .core-value-card:hover::after {
  opacity: 0.70;
}
/* 다크 섹션 — 카드도 다크 베이스 + 사진 블렌딩 */
#equipment .core-value-card {
  background: #1a1d26;
}
#equipment .core-value-card::after {
  opacity: 0.45;
}
#equipment .core-value-card:hover::after {
  opacity: 0.60;
}
#equipment .cv-icon {
  color: rgba(180, 198, 231, 0.12);
  font-weight: 800;
}
#equipment .cv-divider {
  background: var(--accent-light);
}
#equipment .core-value-card h3 {
  color: var(--white);
  font-weight: 800;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
#equipment .core-value-card p {
  color: rgba(255,255,255,0.78);
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
#equipment .cv-keywords li {
  color: var(--accent-light);
  font-weight: 600;
  border-color: rgba(180,198,231,0.35);
  background: rgba(0,0,0,0.30);
}
/* 장비 사진 — CSS 변수로 cms.js가 동적 주입 */
#equipment .core-value-card::after { background-image: var(--eq-bg); }

@media (max-width: 900px) {
  .org-parts { grid-template-columns: repeat(2, 1fr); }
  /* 2열: (100% - 24px) / 4 = 25% - 6px */
  .org-parts::before { left: calc(25% - 6px); right: calc(25% - 6px); }
}
@media (max-width: 600px) {
  .org-parts { grid-template-columns: 1fr; }
  .org-parts::before { display: none; }           /* 1열이면 가로선 숨김 */
  .org-part::before  { display: none; }
}
