/* ================= Clean 3-Zone Robust Flex GNB ================= */
.gnb-toggle {
  display: none;
}

.gnb {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: box-shadow 0.25s ease;
  border-bottom: 1px solid rgba(25, 31, 40, 0.05);
}

:root[data-gnb-scrolled] .gnb {
  box-shadow: 0 1px 0 rgba(25, 31, 40, 0.08);
}

.gnb__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  height: 64px;
  margin: 0 auto;
  padding-inline: var(--container-pad);
}

.gnb__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
  flex-shrink: 0;
  font-family: "Exo 2", "Pretendard Variable", Pretendard, sans-serif;
  font-style: italic;
  line-height: 1;
  user-select: none;
}

.gnb__logo-solar {
  display: inline-block;
  font-size: 20.5px;
  font-weight: 800;
  line-height: 1.08;
  padding: 1px 4px 1px 0;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #215191 8%, #0d2956 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.gnb__logo-insight {
  display: inline-block;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.08;
  padding: 1px 4px 1px 0;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #1e6fb8 8%, #0b3670 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.gnb__drawer {
  display: contents;
}

.gnb__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  height: 100%;
}

.gnb__link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--color-grey-800);
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.gnb__link:hover {
  color: var(--color-brand);
}

.gnb__link[aria-current="page"] {
  font-weight: 500;
  color: var(--color-grey-800);
}

.gnb__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.gnb__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 7px;
  background: #f2f4f6;
  border: 1px solid #e5e8eb;
  color: #333d4b;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.gnb__cta:hover {
  background: #e5e8eb;
  color: #191f28;
}

.gnb__cta:active {
  transform: scale(0.98);
}

.gnb__burger {
  display: none;
}

/* ================= Hero Section: Spacious Breathing Room + Clean Visual ================= */
.solar-hero {
  background: #ffffff;
  padding: 38px 0 20px;
}

.solar-hero__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.solar-hero__title {
  margin: 0;
  display: block;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: clamp(40px, 5.2svh, 52px);
  line-height: 1.42;
  font-weight: 600;
  color: #191f28;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.solar-hero__title .hero-line-1,
.solar-hero__title .hero-line-2 {
  display: block;
  color: #191f28;
}

.solar-hero__title .hero-line-2a,
.solar-hero__title .hero-line-2b {
  display: inline;
}

.solar-hero__title .hero-accent {
  display: inline;
  font-size: 1.22em;
  font-weight: 800;
  line-height: 0;
  padding: 0.06em 0.02em;
  background: linear-gradient(100deg, #103c96 0%, #2264e5 48%, #389bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.035em;
  margin-right: 0.05em;
}

.mo-only-br {
  display: none;
}

@media (max-width: 1023px) {
  .solar-hero__title {
    font-size: 40px;
    line-height: 1.42;
  }
}

@media (max-width: 639px) {
  .solar-hero__title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: clamp(25px, 6.85vw, 28px);
    line-height: 1.12;
  }
  .solar-hero__title .hero-line-2 {
    display: contents;
  }
  .solar-hero__title .hero-line-1,
  .solar-hero__title .hero-line-2a,
  .solar-hero__title .hero-line-2b {
    display: block;
    line-height: 1.12;
  }
  .solar-hero__title .hero-accent {
    display: inline-block;
    font-size: 1.24em;
    line-height: 1.02;
    vertical-align: -0.02em;
  }
  .mo-only-br {
    display: inline;
  }
}

/* Clean Side-by-Side 2-Column Hero Visuals */
.solar-hero__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin: 26px 0 0;
}

.solar-hero__frame {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 316px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-grey-100);
}

.solar-hero__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.solar-hero__frame:hover img {
  transform: scale(1.025);
}

@media (max-width: 768px) {
  .solar-hero__gallery {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
  }
  .solar-hero__frame {
    aspect-ratio: 16 / 10;
    height: auto;
    max-height: none;
    border-radius: 14px;
  }
}

/* Reveal Motion: Above-the-fold Hero is immediately visible to avoid layout jump */
.solar-hero [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  will-change: opacity, transform;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================= Responsive ================= */

@media (max-width: 1024px) {
  .gnb__drawer {
    display: none;
  }

  .gnb__burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
  }

  .gnb__burger-bars,
  .gnb__burger-bars::before,
  .gnb__burger-bars::after {
    display: block;
    position: relative;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-grey-800);
    transition: transform 0.18s ease, background-color 0.18s ease;
  }

  .gnb__burger-bars::before,
  .gnb__burger-bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .gnb__burger-bars::before { transform: translateY(-6.5px); }
  .gnb__burger-bars::after { transform: translateY(6.5px); }

  .gnb-toggle:checked ~ .gnb .gnb__burger-bars { background: transparent; }
  .gnb-toggle:checked ~ .gnb .gnb__burger-bars::before { transform: rotate(45deg); }
  .gnb-toggle:checked ~ .gnb .gnb__burger-bars::after { transform: rotate(-45deg); }

  .gnb-toggle:checked ~ .gnb .gnb__drawer {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(25, 31, 40, 0.08);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    padding: 16px 0 24px;
    display: block;
    z-index: 30;
  }

  .gnb__nav {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: auto;
    gap: 4px;
    padding: 0 20px;
  }

  .gnb__link {
    min-height: 48px;
    height: auto;
    font-size: 17px;
    width: 100%;
  }

  .solar-hero__gallery {
    gap: 18px;
    margin-top: 28px;
  }
}

@media (max-width: 768px) {
  .solar-hero {
    min-height: calc(100svh - 132px);
    display: flex;
    align-items: stretch;
    padding: 28px 0 18px;
  }

  .solar-hero > .container {
    display: flex;
    flex-direction: column;
  }

  .solar-hero__gallery {
    flex: 1;
    display: flex;
    margin-top: 16px;
  }

  .solar-hero__frame {
    width: 100%;
    aspect-ratio: auto;
    height: auto;
    min-height: 210px;
    max-height: 320px;
    border-radius: 16px;
  }

  .solar-hero__frame:nth-child(2) {
    display: none;
  }
}
