/* ── Variables ── */
:root {
  --bg:          #F1F5F9;
  --text:        #1a2340;
  --text-soft:   #5a6a85;
  --accent:      #F59E0B;
  --accent-dark: #d97706;
  --sub-bg:      #e8eef6;
  --border:      #d1dbe8;
  --navy:        #1E3A8A;
  --gold:        #F59E0B;
  --radius:      8px;
  --shadow:      0 2px 16px rgba(30,58,138,.10);
  --transition:  0.3s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Common ── */
.section { padding: 100px 0; }
.section--sub { background: var(--sub-bg); }

.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.35;
}
.section-head p {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.7;
}

/* ── Fade-in Animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in[data-delay="1"] { transition-delay: .1s; }
.fade-in[data-delay="2"] { transition-delay: .2s; }
.fade-in[data-delay="3"] { transition-delay: .3s; }
.fade-in[data-delay="4"] { transition-delay: .4s; }
.fade-in[data-delay="5"] { transition-delay: .5s; }
.fade-in[data-delay="6"] { transition-delay: .6s; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: background var(--transition), transform .15s ease;
}
.btn:active { transform: scale(.98); }
.btn--primary {
  background: var(--gold);
  color: #1a2340;
  font-weight: 800;
}
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: #fff;
}
.btn--white {
  background: #fff;
  color: var(--navy);
  font-weight: 800;
}
.btn--white:hover { background: var(--gold); color: #1a2340; }
.btn--lg { padding: 18px 40px; font-size: 17px; border-radius: 10px; }

/* ══════════════════════════════════
   HEADER
══════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.1); }

.header-inner {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 16px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-logo__text {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--navy);
  line-height: 1;
}
.site-logo__text span { color: var(--gold); }

/* Nav */
.site-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 18px;
  border-radius: var(--radius);
  color: var(--text-soft);
  transition: background var(--transition), color var(--transition);
  min-width: 64px;
}
.nav-list a:hover,
.nav-list a.active {
  background: var(--sub-bg);
  color: var(--accent);
}
.nav-icon { display: flex; }
.nav-icon svg { width: 20px; height: 20px; stroke: currentColor; }
.nav-label { font-size: 11px; font-weight: 600; letter-spacing: .03em; }

/* Header CTA */
.header-cta {
  margin-left: 16px;
  padding: 10px 22px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #1a2340;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: background var(--transition);
  box-shadow: 0 2px 10px rgba(245,158,11,.35);
}
.header-cta:hover { background: var(--accent-dark); color: #fff; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: 8px;
  border-radius: var(--radius);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav Backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 70px 0 0 0;
  background: rgba(15, 23, 60, .45);
  z-index: 998;
  backdrop-filter: blur(2px);
}
.nav-backdrop.open { display: block; }

/* Mobile Nav Drawer (오른쪽 슬라이드) */
.mobile-nav {
  position: fixed;
  top: 70px;
  right: 0;
  bottom: 0;
  width: 76vw;
  max-width: 300px;
  background: #fff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(30,58,138,.15);
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  gap: 6px;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav-link:hover,
.mobile-nav-link.active { background: var(--sub-bg); color: var(--navy); }
.mobile-nav-link .nav-icon { display: flex; }
.mobile-nav-link .nav-icon svg { width: 22px; height: 22px; stroke: currentColor; }
.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #1a2340;
  font-size: 15px;
  font-weight: 800;
  transition: background var(--transition);
}
.mobile-nav-cta:hover { background: var(--accent-dark); color: #fff; }

/* ══════════════════════════════════
   HERO (PC: 이미지 + 텍스트 오버레이)
══════════════════════════════════ */
.hero {
  position: relative;
  margin-top: 70px;
  overflow: hidden;
}
.hero-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 480px;
  max-height: 85vh;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-slide--1 {
  z-index: 2;
  animation: hero-crossfade 10s ease-in-out infinite;
}
.hero-slide--2 {
  z-index: 1;
  opacity: 1;
}
@keyframes hero-crossfade {
  0%   { opacity: 1; }
  42%  { opacity: 1; }
  50%  { opacity: 0; }
  92%  { opacity: 0; }
  100% { opacity: 1; }
}
/* PC: 텍스트를 이미지 아래쪽에 오버레이 */
.hero-text {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 80px 0 56px;
  background: linear-gradient(to top, rgba(15,30,80,.92) 0%, rgba(30,58,138,.55) 55%, transparent 100%);
  color: #fff;
  text-align: center;
  z-index: 2;
}
.hero-text-inner {
  max-width: 720px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.hero-text h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,255,255,.8);
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════
   BEFORE / AFTER SLIDER
══════════════════════════════════ */
.ba-section { padding-top: 20px; }

.ba-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  max-height: 600px;
  overflow: hidden;
  border-radius: 12px;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 8px 40px rgba(30,58,138,.18);
  touch-action: none;
}
.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  display: block;
}
.ba-after  { z-index: 1; object-position: center top; }
.ba-before { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.28);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-handle svg { stroke: var(--navy); }
.ba-label {
  position: absolute;
  bottom: 20px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  z-index: 4;
  pointer-events: none;
}
.ba-label--before {
  left: 16px;
  background: rgba(0,0,0,.55);
  color: #fff;
}
.ba-label--after {
  right: 16px;
  background: var(--gold);
  color: #1a2340;
}
.ba-guide {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(4px);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  z-index: 5;
  pointer-events: none;
  transition: opacity .4s ease;
}
.ba-guide.hidden { opacity: 0; }

/* ══════════════════════════════════
   PAIN POINTS
══════════════════════════════════ */
.pain-points {}
.pain-points .section-head { margin-bottom: 48px; }

.accordion-list { max-width: 720px; margin: 0 auto; }
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-item:first-child { border-top: 1px solid var(--border); }
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  text-align: left;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}
.accordion-btn:hover { color: var(--accent); }
.accordion-btn.open { color: var(--accent); }
.accordion-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.accordion-icon svg {
  transition: transform var(--transition);
  stroke: currentColor;
}
.accordion-btn.open .accordion-icon svg { transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.accordion-body-inner {
  padding: 0 0 24px;
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 15px;
}

/* ── Pain Points List ── */
.painpoint-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.painpoint-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 28px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 1px 6px rgba(30,58,138,.06);
}
.painpoint-mark {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: painpoint-pulse 1.8s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(245,158,11,.5);
}
@keyframes painpoint-pulse {
  0%,100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(245,158,11,.45); }
  50%      { transform: scale(1.18); box-shadow: 0 0 0 8px rgba(245,158,11,0); }
}

/* ══════════════════════════════════
   SHOWCASE (이미지 슬라이드)
══════════════════════════════════ */
.showcase {
  position: relative;
  width: 100%;
  height: 56vw;
  max-height: 680px;
  min-height: 300px;
  overflow: hidden;
  background: #0a1628;
}
.showcase-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: translateX(100%);
  will-change: transform, opacity;
}
.showcase-img.active {
  opacity: 1;
  transform: translate(0,0) scale(1);
}

/* ══════════════════════════════════
   WHY US
══════════════════════════════════ */
.why-us {}
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.why-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.why-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(245,158,11,.35);
}
.why-card-icon svg { width: 28px; height: 28px; stroke: #fff; }
.why-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -.01em;
  line-height: 1.4;
}
.why-card p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.8;
}

/* ══════════════════════════════════
   PORTFOLIO
══════════════════════════════════ */
.portfolio {}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ddd;
}
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.portfolio-card:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 138, .88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .35s ease;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-card.touched .portfolio-overlay { opacity: 1; }
.portfolio-overlay-location {
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 8px;
}
.portfolio-overlay-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
.portfolio-overlay-more {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .04em;
}
a.portfolio-card { display: block; }
a.portfolio-card:hover { color: inherit; }

.portfolio-more {
  text-align: center;
  margin-top: 48px;
}

/* ══════════════════════════════════
   SERVICES
══════════════════════════════════ */
.services {}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.service-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.service-card-img a {
  display: block;
  width: 100%;
  height: 100%;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.service-card:hover .service-card-img img { transform: scale(1.07); }
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 138, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.service-card-overlay span {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}
.service-card:hover .service-card-overlay { opacity: 1; }
.service-card-body { padding: 20px 24px 24px; }

/* 아코디언 토글 */
.service-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.service-toggle h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.4;
  flex: 1;
  color: var(--text);
}
.service-chevron {
  flex-shrink: 0;
  color: var(--text-soft);
  transition: transform .3s ease;
}
.service-toggle[aria-expanded="true"] .service-chevron { transform: rotate(180deg); }

/* 아코디언 본문 */
.service-accordion {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding-top .35s ease;
  border-top: 1px solid transparent;
  padding-top: 0;
}
.service-accordion.open {
  max-height: 220px;
  border-top-color: var(--border);
  padding-top: 16px;
}

/* 불릿 리스트 */
.service-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-bullets li {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}
.service-bullets li::before {
  content: '●';
  position: absolute;
  left: 0;
  font-size: 6px;
  top: 7px;
  color: var(--gold);
}
.service-detail-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: .02em;
}
.service-detail-link:hover { text-decoration: underline; }

/* ══════════════════════════════════
   COMPANY INTRO
══════════════════════════════════ */
.company-intro { background: var(--navy); color: #fff; }
.company-intro .section-head h2 { color: #fff; }
.company-intro .section-head p { color: rgba(255,255,255,.7); }

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.intro-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  transition: background var(--transition);
}
.intro-card:hover { background: rgba(255,255,255,.1); }
.intro-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 16px rgba(245,158,11,.4);
}
.intro-card-icon svg { width: 30px; height: 30px; stroke: #fff; }
.intro-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.4;
}
.intro-card p {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.8;
}

/* ══════════════════════════════════
   FAQ
══════════════════════════════════ */
.faq {}
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}
.faq-btn:hover { color: var(--accent); }
.faq-btn.open { color: var(--accent); }
.faq-q-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a2340;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-btn.open .faq-q-mark { background: var(--navy); color: #fff; }
.faq-q-text { flex: 1; padding-top: 2px; }
.faq-chevron { flex-shrink: 0; }
.faq-chevron svg { transition: transform var(--transition); stroke: currentColor; }
.faq-btn.open .faq-chevron svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-answer-inner {
  padding: 0 44px 24px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
}

/* ══════════════════════════════════
   CTA SECTION
══════════════════════════════════ */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1E3A8A 0%, #0f2260 100%);
  color: #fff;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.3;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  margin-bottom: 48px;
  line-height: 1.8;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn--call {
  background: var(--gold);
  color: #1a2340;
  font-weight: 800;
  font-size: 18px;
  padding: 18px 40px;
  border-radius: 10px;
  transition: background var(--transition), transform .15s;
  box-shadow: 0 4px 20px rgba(245,158,11,.45);
}
.btn--call:hover { background: #e08e00; }
.btn--sms {
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 18px 40px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,.35);
  transition: background var(--transition);
}
.btn--sms:hover { background: rgba(255,255,255,.22); }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.site-footer {
  background: #1E3A8A;
  color: rgba(255,255,255,.55);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo__text {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
}
.footer-logo__text span { color: var(--gold); }
.footer-info {
  font-size: 13px;
  line-height: 2;
}
.footer-info strong { color: rgba(255,255,255,.8); font-weight: 500; }
.footer-copy {
  font-size: 12px;
  margin-top: 12px;
}
.footer-nav {
  display: flex;
  gap: 24px;
}
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-nav a:hover { color: #fff; }

/* ══════════════════════════════════
   PAGE TEMPLATES
══════════════════════════════════ */
.page-hero {
  background: #1E3A8A;
  color: #fff;
  text-align: center;
  padding: 120px 0 80px;
  margin-top: 70px;
}
.page-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -.03em;
}
.page-hero p {
  margin-top: 12px;
  color: rgba(255,255,255,.7);
  font-size: 17px;
}

/* Cases Page — Hero */
.cases-hero {
  position: relative;
  background-size: cover;
  background-position: center center;
  min-height: 480px;
  display: flex;
  align-items: center;
  margin-top: 70px;
  color: #fff;
}
.cases-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,58,138,.80) 0%, rgba(30,58,138,.55) 100%);
}
.cases-hero__inner {
  position: relative;
  z-index: 1;
  padding: 100px 0 80px;
  text-align: center;
}
.cases-hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 18px;
}
.cases-hero__h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: 18px;
}
.cases-hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.78);
  font-weight: 400;
}

/* Cases Page — Intro Strip */
.cases-intro {
  background: var(--sub-bg);
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.cases-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cases-intro__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--navy);
  margin-bottom: 14px;
}
.cases-intro__h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.35;
  color: var(--text);
}
.cases-intro__right p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-soft);
  margin-bottom: 12px;
}
.cases-intro__right p:last-child { margin-bottom: 0; }

/* Cases Page — Grid */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 80px 0;
}
.case-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow var(--transition), transform var(--transition);
}
.case-card:hover {
  box-shadow: 0 8px 32px rgba(30,58,138,.18);
  transform: translateY(-5px);
}
.case-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.case-card:hover .case-card-img img { transform: scale(1.07); }
.case-card-view {
  position: absolute;
  inset: 0;
  background: rgba(30,58,138,.60);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
}
.case-card:hover .case-card-view { opacity: 1; }
.case-card-body { padding: 20px 24px; }
.case-card-location {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.case-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

/* Cases Page — CTA */
.cases-cta {
  background: var(--navy);
  color: #fff;
  padding: 100px 0;
  text-align: center;
}
.cases-cta__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 18px;
}
.cases-cta__h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}
.cases-cta__body {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  margin-bottom: 44px;
}

/* Consultation Page */

/* Consultation — Why GNS */
.consult-why {
  background: var(--navy);
  padding: 100px 0;
  color: #fff;
}
.consult-why__head {
  text-align: center;
  margin-bottom: 64px;
}
.consult-why__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--gold);
  margin-bottom: 14px;
}
.consult-why__h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: #fff;
}
.consult-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.consult-why-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 44px 32px 40px;
  transition: background var(--transition), transform var(--transition);
}
.consult-why-card:hover {
  background: rgba(255,255,255,.13);
  transform: translateY(-4px);
}
.consult-why-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(245,158,11,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 24px;
}
.consult-why-card__title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.4;
}
.consult-why-card__desc {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255,255,255,.65);
}
.consult-cards__head {
  text-align: center;
  margin-bottom: 56px;
}
.consult-cards__head .consult-why__h2 { color: var(--text); }
.consult-cards__head .consult-why__eyebrow { color: var(--navy); }

.consult-hero {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 140px 0 100px;
  margin-top: 70px;
}
.consult-hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 18px;
}
.consult-hero__h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: 18px;
}
.consult-hero__sub {
  font-size: clamp(15px, 2vw, 17px);
  color: rgba(255,255,255,.72);
}
.consult-cards {
  padding: 100px 0 120px;
  background: var(--bg);
}
.consult-cards__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.consult-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 56px 36px 44px;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.consult-card:hover {
  box-shadow: 0 8px 40px rgba(30,58,138,.15);
  transform: translateY(-5px);
  border-color: var(--navy);
}
.consult-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--sub-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 28px;
  transition: background var(--transition), color var(--transition);
}
.consult-card:hover .consult-card__icon {
  background: var(--navy);
  color: #fff;
}
.consult-card__method {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--text-soft);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.consult-card__number {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--navy);
  margin-bottom: 12px;
}
.consult-card__desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 32px;
  flex: 1;
}
.consult-card__btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 8px;
  letter-spacing: .04em;
  transition: background var(--transition);
}
.consult-card:hover .consult-card__btn { background: #152e74; }

/* Sitemap Page */
.sitemap-section { padding: 80px 0; }
.sitemap-group { margin-bottom: 48px; }
.sitemap-group h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
}
.sitemap-list { display: flex; flex-direction: column; gap: 8px; }
.sitemap-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text-soft);
  transition: color var(--transition);
}
.sitemap-list a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.sitemap-list a:hover { color: var(--accent); }

/* 404 */
.not-found {
  text-align: center;
  padding: 160px 24px 120px;
  margin-top: 70px;
}
.not-found h1 {
  font-size: 120px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}
.not-found h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.not-found p {
  color: var(--text-soft);
  margin-bottom: 40px;
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */


@media (max-width: 1024px) {
  .why-us-grid,
  .portfolio-grid,
  .services-grid,
  .intro-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 48px; }

  .why-us { padding-bottom: 32px; }
  .ba-section { padding-top: 24px; }

  .ba-after  { object-position: center center; }
  .ba-before { object-position: center 65%; }

  .site-nav { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .header-cta { display: none; }

  .portfolio-grid,
  .services-grid,
  .cases-grid { grid-template-columns: 1fr; }

  /* 지앤에스가 만드는 차이: 모바일 가로 스와이프 슬라이더 */
  .intro-grid {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
  }
  .intro-grid::-webkit-scrollbar { display: none; }
  .intro-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }
  .intro-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
  }
  .intro-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
    transition: background .2s;
    cursor: pointer;
  }
  .intro-dot.active { background: var(--gold); }

  /* Why-us: 모바일 가로 스와이프 슬라이더 */
  .why-us-grid {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
  }
  .why-us-grid::-webkit-scrollbar { display: none; }
  .why-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }
  .why-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
  }
  .why-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: background .2s;
    cursor: pointer;
  }
  .why-dot.active { background: var(--gold); }

  .cases-hero { min-height: 360px; }
  .cases-hero__inner { padding: 72px 0 60px; }
  .cases-intro__inner { grid-template-columns: 1fr; gap: 28px; }
  .case-card-view { display: none; }
  .case-card-location { font-size: 10px; }

  .consult-why__grid { grid-template-columns: 1fr; }
  .consult-why { padding: 72px 0; }
  .consult-hero { padding: 100px 0 72px; }
  .consult-cards__grid { grid-template-columns: 1fr; max-width: 420px; }
  .consult-card { padding: 44px 28px 36px; }
  .consult-card__number { font-size: 26px; }

  .service-card-overlay { opacity: 0 !important; }
  .service-card-more {
    display: block !important;
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .03em;
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
    pointer-events: none;
    z-index: 2;
  }

  /* 모바일: 이미지 아래에 H1 섹션 배치 */
  .hero { display: flex; flex-direction: column; }
  .hero-slides {
    position: relative;
    aspect-ratio: 4/3;
    min-height: unset;
    max-height: unset;
    flex-shrink: 0;
  }
  .hero-text {
    position: static;
    background: var(--navy);
    padding: 36px 0 56px;
  }
  .hero-text h1 { font-size: clamp(28px, 9vw, 44px); }

  .showcase { height: 66vw; min-height: 220px; }

  .cta-actions { flex-direction: column; align-items: center; }
  .btn--call, .btn--sms { width: 100%; max-width: 320px; justify-content: center; }

  .footer-inner { flex-direction: column; }
  .footer-nav { flex-wrap: wrap; }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

/* PC에서 dot 숨김 */
@media (min-width: 769px) {
  .why-dots,
  .intro-dots { display: none; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
}
