/* ─── company.css ─── */

/* ── Navbar: white on dark hero, primary when scrolled ── */
#mainNav .navbar-brand {
  color: #fff !important;
}

#mainNav.nav-scrolled .navbar-brand {
  color: var(--primary-color) !important;
}



#mainNav .custom-toggler .navbar-toggler-icon {
  filter: invert(1);
}

#mainNav.nav-scrolled .custom-toggler .navbar-toggler-icon {
  filter: none;
}

/* ── Hero ── */
.company-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--text-main));
  padding: 150px 0 100px;
  color: #fff;
}

/* ── Section 01 palette (시안 보랏빛 · 라벤더–바이올렛) ── */
.company-sec01 {
  --co-purple-50: #f6f0fc;
  --co-purple-100: #ebe0f9;
  --co-purple-200: #e2d1f9;
  --co-purple-300: #c9b0ef;
  --co-purple-400: #a98de0;
  --co-purple-500: #8f6fd4;
  --co-purple-600: #7b4397;
  --co-purple-700: #6a3093;
  --co-purple-800: #552678;
  --co-purple-overlay: rgba(123, 67, 151, 0.78);
  --co-purple-overlay-deep: rgba(90, 43, 120, 0.88);
  --brand-value-bg: url('../assets/main/brand1.webp');
  padding: 0;
  position: relative;
}

.company-sec01 .section-number {
  z-index: 5;
  color: rgba(255, 255, 255, 0.35);
}

/* ═══ 기업 가치 (Brand Value) ═══ */
.company-brand-value {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 720px;
}

.company-brand-value__visual {
  position: relative;
  background:
    linear-gradient(135deg, var(--co-purple-overlay), var(--co-purple-overlay-deep)),
    var(--brand-value-bg) center / cover no-repeat;
  overflow: hidden;
  min-height: 360px;
}

.company-brand-value__circles {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-brand-value__circle {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  aspect-ratio: 1;
}

.company-brand-value__circle--1 {
  width: min(52vw, 340px);
  transform: translate(-8%, -6%);
}

.company-brand-value__circle--2 {
  width: min(58vw, 400px);
  transform: translate(4%, 2%);
}

.company-brand-value__circle--3 {
  width: min(64vw, 460px);
  transform: translate(-2%, 8%);
}

.company-brand-value__word {
  position: absolute;
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.company-brand-value__word--brand {
  top: 28%;
  left: 14%;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.company-brand-value__word--value {
  bottom: 32%;
  right: 12%;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.company-brand-value__logo {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  z-index: 2;
}

.company-brand-value__logo-en {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 0.35rem;
}

.company-brand-value__logo-ko {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.company-brand-value__content {
  background: #fff;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.75rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.company-brand-value__header {
  margin-bottom: 2rem;
}

.company-brand-value__title {
  margin: 0 0 0.5rem;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.company-brand-value__title-light {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 300;
  color: var(--co-purple-400);
  letter-spacing: 0.02em;
}

.company-brand-value__title-bold {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--co-purple-700);
  letter-spacing: -0.02em;
}

.company-brand-value__subtitle {
  margin: 0;
  text-align: right;
  font-size: 0.95rem;
  color: #b5adc8;
  font-weight: 500;
}

.company-brand-value__steps {
  list-style: none;
  margin: 0 0 2.25rem;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0;
}

.company-brand-value__step {
  flex: 0 0 auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0.75rem;
  position: relative;
  margin-left: -1.5rem;
  box-shadow: 0 4px 16px rgba(106, 48, 147, 0.12);
}

.company-brand-value__step:first-child {
  margin-left: 0;
}

.company-brand-value__step--1 {
  z-index: 1;
  background: var(--co-purple-200);
  color: var(--co-purple-800);
}

.company-brand-value__step--2 {
  z-index: 2;
  background: var(--co-purple-400);
  color: #fff;
}

.company-brand-value__step--3 {
  z-index: 3;
  background: var(--co-purple-700);
  color: #fff;
}

.company-brand-value__step-num {
  font-size: 1.3rem;
  font-weight: 700;
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.company-brand-value__step-label {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
}

.company-brand-value__details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.company-brand-value__detail h3 {
  font-weight: 800;
  color: var(--co-purple-700);
  margin-bottom: 0.5rem;
}

.company-brand-value__detail p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  font-weight: 700;
  color: var(--text-main);
}

/* ═══ COMPANY VISION ═══ */
.company-vision {
  position: relative;
  background: #fff;
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(5rem, 10vw, 7rem);
  overflow: hidden;
}

.company-vision::before,
.company-vision::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--co-purple-200), var(--co-purple-50), var(--co-purple-300));
  opacity: 0.75;
}

.company-vision::before {
  top: 0;
}

.company-vision::after {
  bottom: 0;
}

.company-vision__deco {
  position: absolute;
  pointer-events: none;
}

.company-vision__deco--sphere-1 {
  width: 120px;
  height: 120px;
  top: 8%;
  right: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f5e8ff, #c9a8e8 45%, #8b6fc4 100%);
  box-shadow: 0 20px 40px rgba(123, 104, 196, 0.25);
}

.company-vision__deco--sphere-2 {
  width: 64px;
  height: 64px;
  top: 22%;
  right: 18%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #d4b8f0 50%, #9b7fd4);
  opacity: 0.85;
}

.company-vision__deco--ring {
  width: 180px;
  height: 180px;
  bottom: -40px;
  left: -50px;
  border-radius: 50%;
  border: 28px solid transparent;
  border-top-color: var(--co-purple-300);
  border-right-color: var(--co-purple-200);
  opacity: 0.5;
  transform: rotate(-25deg);
}

.company-vision__deco--dots {
  width: 100px;
  height: 60px;
  bottom: 12%;
  right: 12%;
  background-image: radial-gradient(circle, #d1c4e9 1.5px, transparent 1.5px);
  background-size: 10px 10px;
  opacity: 0.7;
}

.company-vision__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.company-vision__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

.company-vision__title {
  margin: 0 0 1.5rem;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.company-vision__title-light {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: #1a1a1a;
  letter-spacing: 0.04em;
}

.company-vision__title-bold {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: #111;
  letter-spacing: 0.02em;
}

.company-vision__quote-en {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.25rem;
  padding: 0.55rem clamp(2.5rem, 8vw, 4.5rem);
  border: 1.5px solid var(--co-purple-400);
  border-radius: 50px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--co-purple-700);
  font-style: italic;
}

.company-vision__quote-ko {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.65rem 2.25rem;
  background: linear-gradient(135deg, var(--co-purple-600), var(--co-purple-700));
  color: #fff;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  border-radius: 4px;
}

.company-vision__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.company-vision__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.35rem;
  align-items: center;
  width: 100%;
}

.company-vision__badge {
  grid-row: 1 / 3;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.company-vision__badge--1 {
  background: var(--co-purple-200);
  color: var(--co-purple-700);
}

.company-vision__badge--2 {
  background: var(--co-purple-400);
}

.company-vision__badge--3 {
  background: var(--co-purple-600);
}

.company-vision__connector {
  grid-column: 2;
  height: 1px;
  border: none;
  background: repeating-linear-gradient(90deg,
      var(--co-purple-300) 0,
      var(--co-purple-300) 4px,
      transparent 4px,
      transparent 10px);
  opacity: 0.6;
  margin: 0;
}

.company-vision__text {
  grid-column: 2;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 600;
  color: var(--text-main);
}

.company-ceo-photo {
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(45, 36, 32, 0.18);
}

.company-locations {
  background: #fff;
}

.company-location-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.6fr);
  gap: 28px;
  align-items: stretch;
}

.company-location-list {
  display: grid;
  gap: 14px;
  align-content: start;
}

.company-location-card {
  width: 100%;
  border: 1px solid rgba(45, 36, 32, 0.12);
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: left;
  display: grid;
  gap: 8px;
  color: var(--text-main);
  box-shadow: 0 10px 26px rgba(45, 36, 32, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.company-location-card:hover,
.company-location-card:focus-visible,
.company-location-card.active {
  border-color: var(--primary-color);
  box-shadow: 0 16px 34px rgba(45, 36, 32, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.company-location-card__label {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(143, 111, 212, 0.12);
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 800;
}

.company-location-card strong {
  font-size: 1.12rem;
  font-weight: 800;
}

.company-location-card span:last-child {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.company-location-map {
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(45, 36, 32, 0.14);
  border: 1px solid rgba(45, 36, 32, 0.1);
  background: #f5f1ee;
}

.company-location-map__canvas {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.company-location-map__fallback {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-weight: 700;
}

/* ── Responsive ── */
@media (min-width: 768px) and (max-width: 991.98px) {
  .company-brand-value {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .company-brand-value__visual {
    min-height: 320px;
  }

  .company-brand-value__content {
    padding: 2.5rem 1.5rem 3rem;
  }

  .company-brand-value__subtitle {
    text-align: left;
  }

  .company-brand-value__steps {
    justify-content: center;
    flex-wrap: wrap;
  }

  .company-brand-value__step {
    width: 110px;
    height: 110px;
    margin-left: -1rem;
  }

  .company-brand-value__step:first-child {
    margin-left: 0;
  }

  .company-vision__item {
    grid-template-columns: 72px 1fr;
  }

  .company-vision__badge {
    width: 72px;
    height: 72px;
    font-size: 0.9rem;
  }

  .company-vision__deco--sphere-1 {
    width: 80px;
    height: 80px;
    right: 4%;
  }

  .company-vision__deco--sphere-2 {
    display: none;
  }

  .company-location-grid {
    grid-template-columns: 1fr;
  }

  .company-location-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767.98px) {
  .company-brand-value {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .company-brand-value__visual {
    min-height: 280px;
  }

  .company-brand-value__content {
    padding: 2.25rem 1.25rem 2.75rem;
  }

  .company-brand-value__subtitle {
    text-align: left;
  }

  .company-brand-value__steps {
    justify-content: center;
    flex-wrap: wrap;
  }

  .company-brand-value__step {
    width: 110px;
    height: 110px;
    margin-left: -1rem;
  }

  .company-brand-value__step:first-child {
    margin-left: 0;
  }

  .company-vision__item {
    grid-template-columns: 72px 1fr;
  }

  .company-vision__badge {
    width: 72px;
    height: 72px;
    font-size: 0.9rem;
  }

  .company-vision__deco--sphere-1 {
    width: 80px;
    height: 80px;
    right: 4%;
  }

  .company-vision__deco--sphere-2 {
    display: none;
  }

  .company-location-grid {
    grid-template-columns: 1fr;
  }

  .company-location-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .company-brand-value__step {
    width: 96px;
    height: 96px;
    margin-left: -0.75rem;
    padding: 0.5rem;
  }

  .company-brand-value__step-num {
    font-size: 1rem;
  }

  .company-brand-value__step-label {
    font-size: 1.05rem;
  }

  .company-vision__list {
    max-width: 100%;
  }

  .company-vision__quote-en {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .company-location-list {
    grid-template-columns: 1fr;
  }

  .company-location-map,
  .company-location-map__canvas,
  .company-location-map__fallback {
    min-height: 340px;
  }
}
