/* ==============================
   BASE
============================== */
body {
  margin: 0;
}

* {
  box-sizing: border-box;
}

body,
.creative-page,
.site-header {
  font-family: "Noto Sans KR", Arial, sans-serif;
}

.creative-page {
  color: #061b3a;
  background: #fff;
}

.section-inner {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
}

.creative-hero h1,
.section-label,
.main-nav a {
  font-family: "Montserrat", "Noto Sans KR", Arial, sans-serif;
}


/* ==============================
   HEADER
============================== */
.site-header {
  background: #fff;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.header-top {
  position: relative;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e5e5e5;
}

.header-logo img {
  display: block;
  width: 130px;
  height: auto;
}

.header-actions {
  position: absolute;
  right: 96px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 28px;
  z-index: 20;
}

.header-actions a {
  pointer-events: auto;
}

.header-link {
  font-size: 14px;
  color: #111;
  text-decoration: none;
}

.dealer-btn {
  min-width: 140px;
  height: 40px;
  padding: 0 20px;
  border: 1px solid #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  text-decoration: none;
  font-size: 14px;
}

.mobile-menu-btn {
  display: none;
}

.mobile-panel {
  display: none;
}

.main-nav {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  border-bottom: 1px solid #e5e5e5;
}

.main-nav a {
  color: #555;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.18em;
}

.main-nav a:hover {
  color: #061b3a;
}

.sub-nav {
  height: 56px;
  border-bottom: 1px solid #e5e5e5;
}

.sub-nav__inner {
  width: min(1280px, calc(100% - 80px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sub-nav__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.sub-nav__brand img {
  display: block;
  width: auto;
  height: 18px;
}

.sub-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.sub-nav__links a {
  font-family: "Noto Sans KR", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  color: #111;
  text-decoration: none;
}

.sub-nav__links a:last-child {
  color: #061b3a;
}


/* ==============================
   HERO COMMON
============================== */
.creative-hero {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  border-bottom: 1px solid #edf0f3;
}

.creative-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  background-image: var(--hero-bg);
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  z-index: 0;
  opacity: 1;

  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.35) 18%,
    rgba(0, 0, 0, 1) 42%
  );
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.35) 18%,
    rgba(0, 0, 0, 1) 42%
  );
}

.creative-hero__inner {
  width: min(1280px, calc(100% - 80px));
  min-height: 460px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.creative-hero__text {
  position: relative;
  z-index: 3;
}

.creative-hero h1 {
  margin: 0;
  font-size: clamp(64px, 7.2vw, 104px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-weight: 800;
  color: #061b3a;
}

.red-line {
  display: block;
  width: 42px;
  height: 2px;
  margin: 28px 0;
  background: #e30613;
}

.hero-desc {
  margin: 0;
  font-size: 22px;
  line-height: 1.8;
  font-weight: 500;
  color: #1d2d44;
}

.creative-hero__visual {
  position: relative;
  min-height: 460px;
  z-index: 2;
}

.product-img {
  position: absolute;
  z-index: 3;
  right: 42%;
  bottom: 0;
  width: auto;
  height: 360px;
  max-height: 86%;
  filter: drop-shadow(0 22px 26px rgba(6, 27, 58, 0.18));
}


/* ==============================
   PAGE TYPE BACKGROUND
============================== */
.creative-detail {
  --hero-bg: url("/images/koleston/creative-brush-bg.png");
}

.veil-texture-detail {
  --hero-bg: url("/images/koleston/veiltexture-brush-bg.png");
}

.nature-control-detail {
  --hero-bg: url("/images/koleston/naturecontrol-brush-bg.png");
}

.bright-brown-detail {
  --hero-bg: url("/images/koleston/brightbrown-brush-bg.png");
}

.natural-brown-detail {
  --hero-bg: url("/images/koleston/naturalbrown-brush-bg.png");
}

.color-control-detail {
  --hero-bg: url("/images/koleston/colorcontrol-brush-bg.png");
}


/* ==============================
   PAGE TITLE CUSTOM
============================== */
.veil-texture-detail .creative-hero h1,
.nature-control-detail .creative-hero h1,
.bright-brown-detail .creative-hero h1,
.natural-brown-detail .creative-hero h1,
.color-control-detail .creative-hero h1 {
  font-size: clamp(52px, 6vw, 86px);
  line-height: 0.98;
}


/* ==============================
   CHART SECTION
============================== */
.creative-chart-section {
  padding: 46px 0 88px;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}

.chart-title-wrap {
  margin-bottom: 30px;
}

.section-label {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: #061b3a;
}

.section-label::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin-top: 14px;
  background: #e30613;
}

.creative-chart-section h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.4;
  font-weight: 500;
  color: #061b3a;
}

.chart-desc {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: #7b8490;
}

.chart-card {
  padding: 0;
  background: #fff;
  border: 1px solid #e6e8eb;
  box-shadow: 0 24px 54px rgba(6, 27, 58, 0.07);
  overflow: hidden;
}

.chart-card img {
  display: block;
  width: 100%;
  height: auto;
}

.chart-notice {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #9a9a9a;
}


/* ==============================
   NATURE CONTROL INFO CARD
============================== */
.control-info-section {
  padding: 56px 0 24px;
  background: #fff;
}

.control-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.control-info-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  background: #fff;
  border: 1px solid #e6e8eb;
  box-shadow: 0 18px 42px rgba(6, 27, 58, 0.06);
}

.control-info-badge {
  width: 110px;
  height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.05;
  text-align: center;
}

.control-info-badge span {
  font-size: 24px;
  font-weight: 500;
}

.control-info-badge small {
  margin-top: 4px;
  font-size: 14px;
}

.control-info-badge--nature {
  border: 3px solid #061b3a;
  color: #111;
  background: #fff;
}

.control-info-badge--skin {
  background: #435782;
  color: #fff;
}

.control-info-text h3 {
  margin: 0 0 12px;
  font-family: "Montserrat", "Noto Sans KR", Arial, sans-serif;
  font-size: 24px;
  color: #061b3a;
}

.control-info-text h3 span {
  color: #9b6a36;
}

.control-info-text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #1d2d44;
}


/* ==============================
   TABLET
============================== */
@media (max-width: 1024px) {
  .section-inner,
  .creative-hero__inner,
  .sub-nav__inner {
    width: min(100% - 40px, 960px);
  }

  .creative-hero::before {
    width: 62%;
  }

  .creative-hero__inner {
    grid-template-columns: 0.88fr 1.12fr;
    gap: 32px;
    min-height: 420px;
  }

  .creative-hero h1 {
    font-size: 72px;
  }

  .veil-texture-detail .creative-hero h1,
  .nature-control-detail .creative-hero h1,
  .bright-brown-detail .creative-hero h1,
  .natural-brown-detail .creative-hero h1,
  .color-control-detail .creative-hero h1 {
    font-size: 64px;
  }

  .hero-desc {
    font-size: 19px;
  }

  .creative-hero__visual {
    min-height: 420px;
  }

  .product-img {
    right: 36%;
    height: 320px;
  }
}


/* ==============================
   MOBILE HEADER
============================== */
@media (max-width: 768px) {
  .header-top {
    height: 80px;
  }

  .header-logo img {
    width: 110px;
  }

  .header-actions {
    display: none;
  }

  .mobile-menu-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    width: 28px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
  }

  .mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background: #111;
    transition: 0.25s ease;
  }

  .mobile-menu-btn.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-menu-btn.is-active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mobile-panel {
    display: none;
    padding: 8px 22px 0;
    background: #fff;
    border-top: 1px solid #e5e5e5;
  }

  .mobile-panel.is-open {
    display: block;
  }

  .mobile-panel a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
    color: #111;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
  }

  .main-nav {
    height: 46px;
    gap: 34px;
    overflow-x: auto;
  }

  .main-nav a {
    font-size: 12px;
    white-space: nowrap;
  }

  .sub-nav__inner {
    width: calc(100% - 24px);
  }

  .sub-nav__brand img {
    height: 16px;
  }

  .sub-nav__links {
    gap: 18px;
  }

  .sub-nav__links a {
    font-size: 12px;
  }

  .control-info-grid {
    grid-template-columns: 1fr;
  }

  .control-info-card {
    grid-template-columns: 90px 1fr;
    gap: 18px;
    padding: 22px;
  }

  .control-info-badge {
    width: 82px;
    height: 82px;
  }

  .control-info-badge span {
    font-size: 18px;
  }

  .control-info-badge small {
    font-size: 11px;
  }

  .control-info-text h3 {
    font-size: 20px;
  }

  .control-info-text p {
    font-size: 14px;
  }
}


/* ==============================
   MOBILE HERO
============================== */
@media (max-width: 640px) {
  .section-inner,
  .creative-hero__inner,
  .sub-nav__inner {
    width: calc(100% - 24px);
  }

  .creative-hero::before {
    display: none;
  }

  .creative-hero {
    background: #f8fafc;
  }

  .creative-hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
    padding-top: 46px;
  }

  .creative-hero h1,
  .veil-texture-detail .creative-hero h1,
  .nature-control-detail .creative-hero h1,
  .bright-brown-detail .creative-hero h1,
  .natural-brown-detail .creative-hero h1,
  .color-control-detail .creative-hero h1 {
    font-size: 48px;
    line-height: 1;
  }

  .red-line {
    margin: 26px 0;
  }

  .hero-desc {
    font-size: 16px;
    line-height: 1.8;
  }

  .creative-hero__visual {
    min-height: 250px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: 28px;
  }

  .product-img {
    position: static;
    width: auto;
    height: 220px;
    max-height: none;
    filter: drop-shadow(0 18px 24px rgba(6, 27, 58, 0.16));
  }

  .creative-chart-section {
    padding: 42px 0 64px;
  }

  .chart-card {
    overflow-x: auto;
  }

  .chart-card img {
    min-width: 900px;
  }
}

.creative-page .creative-hero__text .hero-desc {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;

  margin-top: 28px !important;
  color: #071d3c !important;

  font-family: "Noto Sans KR", sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.9 !important;
}