/* ============================================================
   강남에너지산업 - Main Stylesheet
   ============================================================ */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --color-dark: #363636;
  --color-darker: #282828;
  --color-darkest: #212121;
  --color-blue: #192caf;
  --color-orange: #ff6900;
  --color-badge-land: #F9A746;
  --color-badge-building: #00B8FF;
  --color-badge-farm: #6ECC51;
  --color-text: #363636;
  --color-text-sub: #757575;
  --color-border: #e5e5e5;
  --header-height: 90px;
  --max-width: 1280px;
  --transition: 0.3s ease;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: 16px;
}

/* ============================================================
   Layout Helpers
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 80px 0;
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

#header.scrolled {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

#header .header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.header-logo a {
  display: flex;
  align-items: center;
}

.logo-default {
  height: 50px;
  display: block;
}

.logo-scroll {
  height: 50px;
  display: none;
}

#header.scrolled .logo-default {
  display: none;
}

#header.scrolled .logo-scroll {
  display: block;
}

/* Inner page headers always show scroll logo */
#header.header-inner-page .logo-default {
  display: none;
}

#header.header-inner-page .logo-scroll {
  display: block;
}

/* Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0 18px;
  height: var(--header-height);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-orange);
}

#header.scrolled .nav-link,
#header.header-inner-page .nav-link {
  color: var(--color-dark);
}

#header.scrolled .nav-link:hover,
#header.header-inner-page .nav-link:hover {
  color: var(--color-orange);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(var(--header-height) - 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #fff;
  border-top: 3px solid var(--color-blue);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: visibility var(--transition), opacity var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.dropdown-menu a {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), color var(--transition);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: #f5f7ff;
  color: var(--color-blue);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: all var(--transition);
  border-radius: 2px;
}

#header.scrolled .mobile-menu-btn span,
#header.header-inner-page .mobile-menu-btn span {
  background: var(--color-dark);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Nav Panel */
.mobile-nav {
  position: fixed;
  top: var(--header-height, 70px);
  left: -300px;
  width: 280px;
  height: calc(100% - var(--header-height, 70px));
  background: #fff;
  z-index: 999;
  overflow-y: auto;
  transition: left var(--transition);
  padding: 20px 0;
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav-header {
  display: none;
  padding: 10px 20px 20px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 10px;
}

.mobile-nav-header img {
  height: 40px;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-link {
  display: block;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
}

.mobile-nav-link:hover {
  color: var(--color-blue);
  background: #f5f7ff;
}

.mobile-nav-sub {
  background: #f9f9f9;
  display: none;
}

.mobile-nav-sub.open {
  display: block;
}

.mobile-nav-sub a {
  display: block;
  padding: 12px 36px;
  font-size: 14px;
  color: var(--color-text-sub);
  border-top: 1px solid var(--color-border);
}

.mobile-nav-sub a:hover {
  color: var(--color-blue);
}

.mobile-nav-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.mobile-nav-toggle-btn .arrow {
  font-size: 12px;
  transition: transform var(--transition);
}

.mobile-nav-toggle-btn.open .arrow {
  transform: rotate(180deg);
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */

/* Main hero */
.hero-main {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 6.3; /* 16:9 영상의 70% 높이 */
}

.hero-main .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-main .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.hero-main .hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-main .hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  white-space: pre-line;
}

.hero-main .hero-sub {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-arrow {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.hero-arrow img {
  height: 57px;
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* Inner page hero */
.hero-inner {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero-inner .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-inner .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-inner .hero-en-title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 4px;
  line-height: 1.2;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-inner .hero-ko-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.25);
  padding: 6px 18px;
  border-radius: 30px;
  margin-top: 10px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.breadcrumb .sep {
  opacity: 0.6;
}

/* ============================================================
   SECTION: Company + Business Nav Cards
   ============================================================ */
.section-nav-cards {
  display: flex;
  width: 100%;
  height: 420px;
}

.nav-card {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  transition: filter 0.4s ease;
}

.nav-card--company {
  background-image: url('/static/images/home/home_logo_left.png');
}

.nav-card--business {
  background-image: url('/static/images/home/home_logo_right.png');
}

.nav-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.4s ease;
}

.nav-card:hover .nav-card-overlay {
  background: rgba(0, 0, 0, 0.3);
}

.nav-card-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 40px 0;
  text-align: right;
  color: #fff;
}

.nav-card-ko {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin: 0 0 6px;
  opacity: 0.9;
}

.nav-card-en {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
  line-height: 1;
}

.nav-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  font-size: 20px;
  color: #fff;
  margin-left: auto;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-card:hover .nav-card-arrow {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

/* ============================================================
   SECTION: Construction Cases
   ============================================================ */
.section-cases {
  padding: 80px 0;
  background: #fff;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-dark);
  white-space: pre-line;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-sub);
  margin-top: 12px;
  line-height: 1.8;
}

.section-header {
  margin-bottom: 50px;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.case-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card:hover .card-overlay {
  opacity: 1;
}

.card-overlay-text {
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 20px;
  line-height: 1.7;
}

.card-body {
  padding: 20px;
}

.card-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.badge-land { background: var(--color-badge-land); }
.badge-building { background: var(--color-badge-building); }
.badge-farm { background: var(--color-badge-farm); }

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-text {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.card-date {
  font-size: 12px;
  color: #aaa;
}

/* 더보기 버튼 (아웃라인 스타일) */
.btn-more-outline {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 36px;
  background: transparent;
  color: var(--color-dark);
  font-size: 14px;
  border: 1px solid var(--color-dark);
  border-radius: 30px;
  transition: background var(--transition), color var(--transition);
}

.btn-more-outline:hover {
  background: var(--color-dark);
  color: #fff;
}

/* 기존 btn-more (다른 페이지용 유지) */
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding: 14px 36px;
  background: var(--color-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px;
  transition: background var(--transition);
}

.btn-more:hover {
  background: var(--color-blue);
  color: #fff;
}

.section-footer {
  text-align: center;
  margin-top: 10px;
}

/* ============================================================
   시공사례 히어로 내 보러가기 버튼
   ============================================================ */
.cases-hero-bottom {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.cases-hero-bottom .breadcrumb {
  margin-top: 0;
}
.cases-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 10px 16px 10px 22px;
  border: 1.5px solid rgba(255,255,255,0.85);
  border-radius: 40px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(2px);
  transition: background 0.25s, border-color 0.25s;
}
.cases-hero-btn:hover {
  background: rgba(255,255,255,0.22);
  border-color: #fff;
}
.cases-hero-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   CTA 배너 (시공문의 + 네이버 블로그)
   ============================================================ */
.section-cta {
  display: flex;
}

.cta-banner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 48px;
  gap: 20px;
  text-decoration: none;
  transition: filter var(--transition);
}

.cta-banner:hover {
  filter: brightness(0.95);
}

.cta-banner--blue {
  background: #1a6eff;
}

.cta-banner--green {
  background: #1ab954;
}

.cta-btn {
  display: inline-block;
  padding: 10px 24px;
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px;
  flex-shrink: 0;
  transition: background var(--transition);
}

.cta-banner:hover .cta-btn {
  background: #000;
}

.cta-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-text strong {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.cta-text span {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.cta-btn-img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .section-cta {
    flex-direction: column;
  }

  .cta-banner {
    padding: 28px 24px;
  }

  .cta-text strong {
    font-size: 18px;
  }

  .cta-btn-img {
    height: 38px;
  }
}

/* ============================================================
   COMPANY PAGE
   ============================================================ */
.about-section {
  padding: 80px 0;
}

.about-section:nth-of-type(even) {
  background: #f9f9f9;
}

.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-cols.reverse {
  direction: rtl;
}

.about-cols.reverse > * {
  direction: ltr;
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.about-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-heading {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1.5;
  white-space: pre-line;
  margin-bottom: 24px;
}

.about-text {
  font-size: 16px;
  color: var(--color-text-sub);
  line-height: 2;
  white-space: pre-line;
}

.about-text strong {
  color: var(--color-dark);
  font-weight: 600;
}

/* ============================================================
   BUSINESS PAGE — Section Layout
   ============================================================ */
.biz-section {
  padding: 80px 0;
  background: #fff;
}

.biz-section--gray {
  background: #f7f8fa;
}

.biz-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Reverse: text left, image right */
.biz-section--reverse .biz-section-inner {
  direction: rtl;
}

.biz-section--reverse .biz-section-inner > * {
  direction: ltr;
}

.biz-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.biz-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.biz-text .badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  width: fit-content;
}

.biz-text h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.45;
  margin: 0;
}

.biz-text p {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.9;
  margin: 0;
}

.biz-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
}

.biz-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-sub);
}

.biz-check {
  font-size: 18px;
  flex-shrink: 0;
}

/* ============================================================
   BUSINESS PAGE — Detail (Tab Layout)
   ============================================================ */

/* Hero — top image */
.biz-hero-img {
  display: none;
  width: 100%;
  margin-top: var(--header-height);
  line-height: 0;
  overflow: hidden;
}

.biz-hero-img.active {
  display: block;
}

.biz-hero-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Tab Navigation */
.biz-tab-nav-wrap {
  margin-top: 40px;
  padding: 0 40px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.biz-tab-nav {
  display: flex;
  border: 1px solid #ddd;
}

.biz-tab-btn {
  flex: 1;
  padding: 18px 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  border-right: 1px solid #ddd;
  background: #fff;
  color: #888;
  transition: background 0.25s, color 0.25s;
  font-family: inherit;
}

.biz-tab-btn:last-child {
  border-right: none;
}

.biz-tab-btn.active {
  background: #1e3a6e;
  color: #fff;
}

.biz-tab-btn:hover:not(.active) {
  background: #f0f3fa;
  color: var(--color-dark);
}

/* Tab Content */
.biz-tab-content {
  display: none;
  padding-bottom: 60px;
}

.biz-tab-content.active {
  display: block;
}

/* Intro heading */
.biz-intro {
  padding: 50px 0 28px;
}

.biz-section-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  border-left: 4px solid var(--color-blue);
  padding-left: 14px;
  margin-bottom: 14px;
  line-height: 1.4;
}

.biz-intro-desc {
  font-size: 13px;
  color: var(--color-text-sub);
  padding-left: 18px;
  line-height: 1.8;
}

/* Recommend Card — 이미지 전체 표시 */
.biz-recommend-card-img {
  margin-bottom: 50px;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
}

.biz-recommend-card-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Recommend Text */
.biz-recommend-text {
  padding-bottom: 50px;
}

.biz-reason-list {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.biz-reason-list li {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

.biz-reason-list li strong {
  color: var(--color-blue);
  font-weight: 700;
}

/* Process */
.biz-process {
  border-top: 1px solid var(--color-border);
  padding-top: 50px;
}

.biz-process-desc {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.95;
  padding-left: 18px;
  margin-bottom: 36px;
}

.biz-process-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 36px;
}

.biz-process-btn {
  text-align: center;
}

.biz-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 32px;
  border: 1px solid var(--color-border);
  border-radius: 30px;
  font-size: 14px;
  color: var(--color-dark);
  transition: all var(--transition);
}

.biz-detail-btn:hover {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: #fff;
}

/* ============================================================
   PROCEDURE PAGE
   ============================================================ */
.procedure-section {
  padding: 80px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.step-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-blue);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-card:hover {
  box-shadow: 0 8px 30px rgba(25, 44, 175, 0.12);
  transform: translateY(-4px);
}

.step-number {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f0f3ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

.procedure-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 50px;
}

.procedure-img-row img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 8px;
}

/* ============================================================
   CASES PAGE
   ============================================================ */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 10px 22px;
  border: 2px solid var(--color-border);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-sub);
  cursor: pointer;
  transition: all var(--transition);
  background: #fff;
}

.filter-tab:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.filter-tab.active {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: #fff;
}

/* ============================================================
   INQUIRY PAGE
   ============================================================ */
.inquiry-section {
  padding: 80px 0;
  background: #f9f9f9;
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

.inquiry-form-wrap h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.inquiry-form-wrap .form-desc {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-bottom: 32px;
  line-height: 1.7;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.form-label .required {
  color: var(--color-orange);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 15px;
  color: var(--color-dark);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(25, 44, 175, 0.08);
}

.form-control::placeholder {
  color: #bbb;
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23363636' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--color-blue);
  margin-top: 2px;
}

.form-check-label {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.6;
}

.form-check-label a {
  color: var(--color-blue);
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--color-dark);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 16px;
  letter-spacing: 0.5px;
}

.btn-submit:hover {
  background: var(--color-blue);
}

/* Contact info */
.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-wrap h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow var(--transition);
}

.contact-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f0f3ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #363636;
  color: rgba(255,255,255,0.75);
  padding: 44px 0 36px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.footer-info-center p {
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,0.8);
  letter-spacing: -0.02em;
}

.footer-bottom {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-copyright {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

.footer-designed {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 4px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
  cursor: pointer;
}

.footer-links a.footer-links-bold {
  font-weight: 700;
  color: #fff;
}

.footer-links-sep {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #fff;
  border-radius: 6px;
  width: 100%;
  max-width: 700px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid #e5e5e5;
  flex-shrink: 0;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #212121;
}

.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #757575;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}

.modal-close:hover {
  background: #f5f5f5;
  color: #212121;
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.9;
  color: #363636;
}

.modal-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: #212121;
  margin: 24px 0 8px;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 8px;
  color: #555;
}

/* ============================================================
   MOBILE CARDS SECTION (mobile only bg)
   ============================================================ */

/* ============================================================
   RESPONSIVE: Tablet (max 991px)
   ============================================================ */
@media (max-width: 991px) {
  :root {
    --header-height: 70px;
  }

  .container {
    padding: 0 24px;
  }

  .header-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-nav-overlay {
    display: block;
  }

  .section-nav-cards {
    height: 300px;
  }

  .nav-card-en {
    font-size: 28px;
  }

  .nav-card-content {
    padding: 0 24px 28px 0;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .about-cols {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-cols.reverse {
    direction: ltr;
  }

  .biz-section-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 20px;
  }

  .biz-section--reverse .biz-section-inner {
    direction: ltr;
  }

  .biz-img img {
    height: 260px;
  }

  .biz-text h2 {
    font-size: 22px;
  }

  .biz-section {
    padding: 50px 0;
  }

  .biz-process-section {
    padding: 50px 0;
  }

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

  .procedure-img-row {
    grid-template-columns: 1fr;
  }

  .inquiry-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}

/* footer responsive는 이미 가운데 정렬이므로 추가 조정 불필요 */

/* ============================================================
   RESPONSIVE: Mobile (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }

  .container {
    padding: 0 16px;
  }

  .hero-main {
    aspect-ratio: unset;
    height: 420px;
  }

  .hero-main .hero-content {
    justify-content: flex-start;
    padding-top: calc(var(--header-height, 70px) + 28px);
  }

  .hero-main .hero-title {
    font-size: 26px;
  }

  .hero-main .hero-sub {
    font-size: 14px;
  }


  .hero-inner {
    height: 280px;
  }

  .hero-inner .hero-en-title {
    font-size: 34px;
    letter-spacing: 2px;
  }

  .hero-inner .hero-ko-title {
    font-size: 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .about-heading {
    font-size: 24px;
  }

  .about-text {
    font-size: 15px;
  }

  .footer-inner {
    padding: 0 16px;
  }

  .footer-info-center p {
    font-size: 12px;
  }

  .footer-inner {
    padding: 0 16px;
  }

  .inquiry-section {
    padding: 50px 0;
  }

  /* Business detail page */
  .biz-tab-nav-wrap {
    margin-top: 20px;
    padding: 0 16px;
  }

  .biz-hero-img img {
    height: 240px;
  }

  .biz-tab-btn {
    font-size: 12px;
    padding: 14px 6px;
  }

  .biz-recommend-card-img {
    border-radius: 8px;
  }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-blue { color: var(--color-blue); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

/* ============================================================
   SCROLL ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }
