﻿@charset "utf-8";

/* =========================
   Content Base Tokens
========================= */
#ctt_con {
  --c-font: var(--font-main);
  --c-body: 16px;
  --c-body-lg: 17px;
  --c-small: 13px;

  --c-title-xl: clamp(26px, 2.2vw + 14px, 34px);
  --c-title-lg: clamp(20px, 1.6vw + 12px, 26px);
  --c-title-md: clamp(17px, 1vw + 12px, 20px);

  --c-lh: 1.8;
  --c-lh-tight: 1.3;

  --c-text: var(--color-text);
  --c-muted: rgba(23, 50, 72, 0.64);

  --space-block: 24px;
  --space-section: 50px;

  --p-ink: var(--color-text);
  --p-ink-muted: rgba(23, 50, 72, 0.62);

  --p-surface: var(--color-surface-soft-2);
  --p-card: #ffffff;
  --p-tint: var(--color-surface-soft);

  --p-accent: var(--color-main);
  --p-accent-2: var(--color-sub-1);
  --p-accent-a: rgba(20, 110, 166, 0.22);

  --p-blue: var(--color-main, #3d89a7);
  --p-blue-soft: rgba(61, 137, 167, 0.1);

  --p-line: rgba(23, 50, 72, 0.1);
  --p-line-2: rgba(20, 110, 166, 0.14);

  --r-card: 18px;
  --r-card-lg: 24px;
  --r-pill: 999px;

  --sh-1: 0 10px 30px rgba(23, 50, 72, 0.06);
  --sh-2: 0 18px 50px rgba(23, 50, 72, 0.1);

  --tone-main-s1: #ffffff;
  --tone-main-s2: var(--color-surface-soft);
  --tone-main-border: rgba(20, 110, 166, 0.18);

  --tone-sub1-s1: #ffffff;
  --tone-sub1-s2: var(--color-surface-soft);
  --tone-sub1-border: rgba(20, 110, 166, 0.14);

  --tone-sub2-s1: #ffffff;
  --tone-sub2-s2: var(--color-surface-soft);
  --tone-sub2-border: rgba(23, 50, 72, 0.1);

  --tone-sub3-s1: #ffffff;
  --tone-sub3-s2: var(--color-surface-soft-2);
  --tone-sub3-border: rgba(20, 110, 166, 0.12);

  font-family: var(--c-font);
  font-size: var(--c-body);
  line-height: var(--c-lh);
  color: var(--c-text);
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* =========================
   Common Layout
========================= */
#ctt_con .c-introPage,
#ctt_con .c-section {
  margin-bottom: var(--space-section);
}

#ctt_con .c-introPage > h2,
#ctt_con .c-section > h2 {
  display: inline-block;
  position: relative;
  margin: var(--space-block) 0 14px;
  padding-bottom: 12px;
  font-size: var(--c-title-lg);
  line-height: var(--c-lh-tight);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--p-ink);
}

#ctt_con .c-introPage > h2::after,
#ctt_con .c-section > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: var(--color-title-line);
}

#ctt_con .c-copy p,
#ctt_con .c-introLead p,
#ctt_con .c-guideText,
#ctt_con .c-sectionDesc {
  margin: 0;
  color: var(--p-ink);
  line-height: 1.9;
}

#ctt_con .c-copy p + p,
#ctt_con .c-introLead p + p {
  margin-top: 12px;
}

/* =========================
   Hero
========================= */
#ctt_con .c-introHero {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: center;
  padding: 70px;
  border-radius: var(--r-card-lg);
  box-shadow: var(--sh-1);
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 38%, rgba(255, 255, 255, 0.58) 58%, rgba(255, 255, 255, 0.08) 78%),
    url("./img/samjeongwon-aerial.jpg");
  background-repeat: no-repeat;
  background-position: center, right 60%;
  background-size: 100% 100%, auto 145%;
  background-color: #fbf8f3;
}

#ctt_con .c-introHero__eyebrow {
  margin-bottom: 8px;
  font-size: var(--c-small);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--p-ink-muted);
  text-transform: uppercase;
}

#ctt_con .c-introHero__title {
  max-width: 54%;
  font-size: clamp(24px, 1.8vw + 12px, 32px);
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--p-ink);
}

#ctt_con .c-introHero__desc {
  margin-top: 18px;
  max-width: 54%;
  font-size: var(--c-body-lg);
  line-height: 1.9;
  color: rgba(23, 50, 72, 0.76);
}

/* =========================
   Lead / Intro Cards
========================= */
#ctt_con .c-introLead {
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid var(--tone-sub1-border);
  border-radius: var(--r-card);
  background: linear-gradient(180deg, #fff 0%, var(--color-surface-soft-2) 160%);
  box-shadow: var(--sh-1);
}

#ctt_con .c-emphasis {
  color: var(--p-blue);
  font-weight: 800;
}

#ctt_con .c-quoteBox {
  padding: 28px 24px;
  border: 1px solid var(--tone-sub1-border);
  border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(247,242,234,0.95) 100%);
  box-shadow: var(--sh-1);
}

#ctt_con .c-quote {
  margin: 0 0 14px;
  font-size: clamp(20px, 1.5vw + 14px, 28px);
  line-height: 1.7;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--p-ink);
}

#ctt_con .c-quote strong {
  color: var(--color-main);
}

#ctt_con .c-greetingVisual {
  overflow: hidden;
  margin: 0;
  padding: 0;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: var(--tone-sub2-s2);
}

#ctt_con .c-greetingVisual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

#ctt_con .c-greetingSignature {
  display: grid;
  gap: 4px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--p-line);
  text-align: right;
}

#ctt_con .c-greetingSignature span {
  color: var(--p-ink-muted);
  font-size: var(--c-small);
  font-weight: 700;
}

#ctt_con .c-greetingSignature strong {
  color: var(--p-ink);
  font-size: var(--c-body-lg);
  font-weight: 900;
}

#ctt_con .c-miniList {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#ctt_con .c-miniList li {
  position: relative;
  padding-left: 16px;
  color: var(--p-ink);
  line-height: 1.8;
}

#ctt_con .c-miniList li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--color-sub-1), var(--color-main));
}

/* =========================
   Grid Utilities
========================= */
#ctt_con .c-grid2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: stretch;
}

#ctt_con .c-greetingContent {
  margin-top: 24px;
  padding: 32px 36px;
  border: 1px solid var(--tone-sub2-border);
  border-radius: var(--r-card);
  background: var(--p-card);
  box-shadow: var(--sh-1);
}

#ctt_con .c-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#ctt_con .c-grid4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* =========================
   Overview / Value Cards
========================= */
#ctt_con .c-introOverviewGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

#ctt_con .c-introOverviewCard {
  padding: 18px 18px 16px;
  border: 1px solid var(--tone-sub2-border);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--tone-sub2-s1) 0%, var(--tone-sub2-s2) 140%);
  box-shadow: var(--sh-1);
}

#ctt_con .c-introOverviewCard__label {
  margin-bottom: 6px;
  color: var(--p-ink-muted);
  font-size: var(--c-small);
  font-weight: 800;
  letter-spacing: 0.04em;
}

#ctt_con .c-introOverviewCard__value {
  color: var(--p-ink);
  font-size: var(--c-body-lg);
  font-weight: 800;
  line-height: 1.75;
}

#ctt_con .c-valueCard {
  padding: 24px 20px;
  border: 1px solid var(--tone-sub2-border);
  border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--tone-sub2-s1) 0%, var(--tone-sub2-s2) 150%);
  box-shadow: var(--sh-1);
}

#ctt_con .c-valueCard__icon {
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(61,137,167,0.12) 0%, rgba(20, 110, 166, 0.12) 100%);
  font-size: 24px;
}

#ctt_con .c-valueCard__title {
  margin: 0 0 10px;
  font-size: var(--c-title-md);
  line-height: 1.45;
  font-weight: 800;
  color: var(--p-ink);
  letter-spacing: -0.02em;
}

#ctt_con .c-valueCard__desc {
  margin: 0;
  color: var(--p-ink);
  line-height: 1.85;
}

/* =========================
   Flow Steps
========================= */
#ctt_con .c-flowSteps {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--tone-sub3-border);
  border-radius: var(--r-card);
  background: linear-gradient(180deg, #fff 0%, #fbf8f2 140%);
  box-shadow: var(--sh-1);
}

#ctt_con .c-flowStep {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--tone-sub3-border);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--tone-sub3-s1) 0%, var(--tone-sub3-s2) 140%);
}

#ctt_con .c-flowStep__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--color-sub-1), var(--color-main));
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

#ctt_con .c-flowStep__text {
  color: var(--p-ink);
  font-size: var(--c-body);
  font-weight: 700;
  line-height: 1.7;
}

/* =========================
   Process Cards
========================= */
#ctt_con .c-processGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#ctt_con .c-processCard {
  position: relative;
  padding: 22px 20px 20px;
  border: 1px solid var(--tone-sub2-border);
  border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--tone-sub2-s1) 0%, var(--tone-sub2-s2) 150%);
  box-shadow: var(--sh-1);
  text-align: center;
  overflow: hidden;
}

#ctt_con .c-processCard::before {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 0;
  width: calc(100% - 36px);
  height: 5px;
  border-radius: 999px 999px 0 0;
  background: var(--color-title-line);
}

#ctt_con .c-processCard__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 30px;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(20, 110, 166, 0.1);
  color: var(--color-main);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

#ctt_con .c-processCard__icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--color-sub-1), var(--color-main));
  color: #fff;
  font-size: 26px;
  box-shadow: 0 10px 20px rgba(20, 110, 166, 0.18);
}

#ctt_con .c-processCard__title {
  margin-bottom: 8px;
  color: var(--p-ink);
  font-size: var(--c-body-lg);
  font-weight: 900;
  line-height: 1.45;
}

#ctt_con .c-processCard__desc {
  color: var(--p-ink);
  font-size: var(--c-body);
  line-height: 1.8;
}

/* =========================
   Gallery
========================= */
#ctt_con .c-introGalleryGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#ctt_con .c-introGalleryCard {
  overflow: hidden;
  border: 1px solid var(--tone-sub2-border);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--tone-sub2-s1) 0%, var(--tone-sub2-s2) 140%);
  box-shadow: var(--sh-1);
}

#ctt_con .c-introGalleryCard__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee7dc;
}

#ctt_con .c-introGalleryCard__thumb img,
#ctt_con .c-thumbSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#ctt_con .c-introGalleryCard__body {
  padding: 16px 16px 18px;
}

#ctt_con .c-introGalleryCard__title {
  margin-bottom: 8px;
  color: var(--p-ink);
  font-size: var(--c-body-lg);
  font-weight: 800;
  line-height: 1.45;
}

#ctt_con .c-introGalleryCard__desc {
  color: var(--p-ink);
  line-height: 1.75;
}

#ctt_con .c-introImageNote {
  margin-top: 12px;
  padding: 12px 14px;
  color: var(--p-ink-muted);
  font-size: var(--c-small);
  line-height: 1.7;
}

#ctt_con .c-thumbSwiper,
#ctt_con .c-thumbSwiper .swiper-wrapper,
#ctt_con .c-thumbSwiper .swiper-slide {
  width: 100%;
  height: 100%;
}

#ctt_con .c-thumbSwiper {
  position: relative;
}

#ctt_con .c-thumbSwiper__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.82);
  transform: translateY(-50%);
  cursor: pointer;
}

#ctt_con .c-thumbSwiper__nav--prev {
  left: 10px;
}

#ctt_con .c-thumbSwiper__nav--next {
  right: 10px;
}

/* =========================
   Contact
========================= */
#ctt_con .c-contactList {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

#ctt_con .c-contactItem {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--tone-sub2-border);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--tone-sub2-s1) 0%, var(--tone-sub2-s2) 140%);
  box-shadow: var(--sh-1);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#ctt_con a.c-contactItem:hover {
  transform: translateY(-1px);
  box-shadow: var(--sh-2);
  border-color: rgba(20, 110, 166, 0.24);
}

#ctt_con .c-contactItem__icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--color-sub-1), var(--color-main));
  color: #fff;
  font-size: 18px;
  box-shadow: 0 8px 18px rgba(20, 110, 166, 0.2);
}

#ctt_con .c-contactItem__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

#ctt_con .c-contactItem__label {
  font-size: var(--c-small);
  font-weight: 800;
  color: var(--p-ink-muted);
  letter-spacing: 0.04em;
}

#ctt_con .c-contactItem__value {
  font-size: var(--c-body-lg);
  font-weight: 900;
  color: var(--p-ink);
  line-height: 1.6;
}

/* =========================
   Guide Banner
========================= */
#ctt_con .c-guideBanner {
  margin-top: 28px;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--sh-1);
}

#ctt_con .c-guideBanner img {
  display: block;
  width: 100%;
  height: auto;
}

#ctt_con .c-guideBox {
  padding: 32px 28px;
  border: 1px solid var(--tone-sub1-border);
  border-radius: var(--r-card);
  background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(247,241,227,0.94) 100%);
  box-shadow: var(--sh-1);
  text-align: center;
}

#ctt_con .c-guideBox__title {
  margin: 0 0 10px;
  font-size: var(--c-title-lg);
  line-height: 1.4;
  font-weight: 800;
  color: var(--p-ink);
  letter-spacing: -0.02em;
}

#ctt_con .c-guideBox__text {
  margin: 0;
  color: var(--p-ink);
  line-height: 1.9;
}

#ctt_con .c-guideBox__sign {
  margin-top: 16px;
  color: var(--p-blue);
  font-weight: 800;
}

/* =========================
   Lightbox
========================= */
#ctt .c-lightboxTrigger {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

#ctt .c-lightboxTrigger img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#ctt .c-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#ctt .c-lightbox.is-open {
  display: flex;
}

#ctt .c-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 18, 16, 0.82);
  cursor: zoom-out;
}

#ctt .c-lightbox__dialog {
  position: relative;
  z-index: 2;
  width: min(92vw, 1200px);
  max-width: 100%;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

#ctt .c-lightbox__figure {
  width: 100%;
  max-height: 88vh;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  background: #111;
}

#ctt .c-lightbox__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  background: #111;
}

#ctt .c-lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(59, 59, 59, 0.5);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  z-index: 3;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1024px) {
  #ctt_con .c-grid4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #ctt_con {
    --c-body: 15px;
    --c-body-lg: 16px;
    --space-section: 40px;
  }

  #ctt_con .c-introHero {
    min-height: 300px;
    padding: 40px 16px;
    border-radius: 20px;
    background-image:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.93) 48%, rgba(255, 255, 255, 0.55) 72%, rgba(255, 255, 255, 0.18) 100%),
      url("./img/samjeongwon-aerial.jpg");
    background-position: center, right 60%;
    background-size: 100% 100%, auto 125%;
  }

  #ctt_con .c-introHero__title,
  #ctt_con .c-introHero__desc {
    max-width: 74%;
  }

  #ctt_con .c-introLead {
    padding-left: 16px;
    padding-right: 16px;
  }

  #ctt_con .c-grid2,
  #ctt_con .c-grid3,
  #ctt_con .c-grid4,
  #ctt_con .c-introOverviewGrid,
  #ctt_con .c-introGalleryGrid,
  #ctt_con .c-processGrid {
    grid-template-columns: 1fr;
  }

  #ctt_con .c-greetingContent {
    margin-top: 18px;
    padding: 16px;
  }

  #ctt_con .c-introOverviewCard,
  #ctt_con .c-introGalleryCard__body,
  #ctt_con .c-valueCard,
  #ctt_con .c-guideBox {
    padding-left: 16px;
    padding-right: 16px;
  }

  #ctt_con .c-flowSteps {
    padding: 16px;
  }

  #ctt_con .c-flowStep {
    grid-template-columns: 52px 1fr;
    gap: 12px;
    padding: 12px 14px;
  }

  #ctt_con .c-flowStep__num {
    height: 36px;
    font-size: 12px;
  }

  #ctt_con .c-contactItem {
    padding: 16px;
    gap: 14px;
  }

  #ctt_con .c-contactItem__icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  #ctt_con .c-contactItem__value {
    font-size: 16px;
  }

  #ctt_con .c-processCard {
    padding: 20px 16px 18px;
  }

  #ctt_con .c-processCard__icon {
    width: 58px;
    height: 58px;
    font-size: 22px;
  }

  #ctt_con .c-thumbSwiper__nav {
    display: none;
  }

  #ctt .c-lightbox {
    padding: 16px;
  }

  #ctt .c-lightbox__dialog {
    width: 100%;
    max-height: 82vh;
  }

  #ctt .c-lightbox__figure {
    max-height: 82vh;
    border-radius: 14px;
  }

  #ctt .c-lightbox__image {
    max-height: 82vh;
  }

  #ctt .c-lightbox__close {
    top: 6px;
    right: 6px;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}
