/* =====================================================
   PAGES.CSS
===================================================== */

/* -------------------------
   INDEX
------------------------- */
.process-section {
  background: #091221;
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.process-item {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 28px;
}

.process-item span {
  display: block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.process-item h3 {
  margin-bottom: 14px;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.process-item p {
  font-size: 17px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.72);
}

.project-section {
  background:
    linear-gradient(180deg, rgba(5, 11, 22, 0.84), rgba(5, 11, 22, 0.95)),
    url("../img/work_03.png") center center / cover no-repeat;
}

.featured-projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.featured-card {
  position: relative;
  display: block;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .45s ease;
}

.featured-card:hover img {
  transform: scale(1.06);
}

.featured-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 24px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.featured-caption strong {
  display: block;
  margin-bottom: 6px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.featured-caption span {
  color: rgba(255, 255, 255, 0.78);
}

.contact-section {
  background: linear-gradient(180deg, #0b1526 0%, #060d18 100%);
}

/* -------------------------
   ABOUT
------------------------- */
.about-intro-section {
  background: linear-gradient(180deg, #07111f 0%, #0b162a 100%);
}

.about-message-section {
  color: #18253c;
}

.message-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.message-card {
  background: #fff;
  border-radius: 24px;
  padding: 34px 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--line-dark);
}

.message-no {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.message-card h3 {
  margin-bottom: 14px;
  color: #16315e;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.message-card p {
  font-size: 17px;
  line-height: 1.78;
  color: rgba(24, 37, 60, 0.78);
}

.about-values-section {
  background: #091221;
}

.values-stack {
  display: grid;
  gap: 34px;
}

.value-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.value-row.reverse .value-image {
  order: 2;
}

.value-row.reverse .value-copy {
  order: 1;
}

.value-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 22px;
}

.value-copy span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.value-copy h3 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.value-copy p {
  font-size: 17px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.74);
}

.about-vision-section {
  background: linear-gradient(180deg, #081221 0%, #0c1830 100%);
}

/* -------------------------
   BUSINESS
------------------------- */
.business-intro-section {
  background: linear-gradient(180deg, #07111f 0%, #0b162a 100%);
}

.business-service-section,
.business-adv-section {
  color: #18253c;
}

.business-grid,
.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.business-card,
.adv-card {
  background: #fff;
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--line-dark);
}

.business-no {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.business-card h3,
.adv-card h3 {
  margin-bottom: 14px;
  color: #16315e;
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.business-card p {
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.78;
  color: rgba(24, 37, 60, 0.78);
}

.business-card ul,
.adv-card ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  list-style: disc;
}

.business-card li,
.adv-card li {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(24, 37, 60, 0.78);
}

.business-process-section {
  background: #091221;
}

.business-process-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.process-step {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 28px;
}

.process-step span {
  display: block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.process-step h3 {
  margin-bottom: 14px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.process-step p {
  font-size: 17px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.72);
}

.business-highlight-section {
  background: linear-gradient(180deg, #081221 0%, #0c1830 100%);
}

/* -------------------------
   PROJECT
------------------------- */
.project-archive-section {
  background: linear-gradient(180deg, #07111f 0%, #0b162a 100%);
}

.project-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.project-tab {
  min-width: 104px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.04);
  transition: .3s;
}

.project-tab:hover,
.project-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  border-color: transparent;
}

.project-panel {
  display: none;
}

.project-panel.active {
  display: block;
}

.project-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  margin-bottom: 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.project-gallery img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  transition: transform .35s ease, opacity .35s ease;
}

.project-gallery img:hover {
  transform: scale(1.04);
  opacity: 0.92;
}

.project-info {
  padding-left: 6px;
}

.project-year {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.project-info h3 {
  margin-bottom: 14px;
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.project-info p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.74);
}

/* -------------------------
   CONTACT
------------------------- */
.contact-main-section {
  background: linear-gradient(180deg, #07111f 0%, #0b162a 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.contact-info-panel,
.contact-form-panel {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  padding: 38px 34px;
}

.contact-info-panel h2 {
  margin-bottom: 18px;
}

.contact-intro-text {
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.74);
}

.contact-info-list {
  display: grid;
  gap: 18px;
}

.contact-info-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-info-item:last-child {
  border-bottom: 0;
}

.contact-info-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-info-item strong,
.contact-info-item p {
  font-size: 17px;
  color: #fff;
}

.contact-form-panel h3 {
  margin-bottom: 20px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.contact-guide-section {
  color: #18253c;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.guide-card {
  background: #fff;
  border-radius: 24px;
  padding: 34px 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--line-dark);
}

.guide-no {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.guide-card h3 {
  margin-bottom: 14px;
  color: #16315e;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.guide-card p {
  font-size: 17px;
  line-height: 1.78;
  color: rgba(24, 37, 60, 0.78);
}

.contact-brand-section {
  background: linear-gradient(180deg, #081221 0%, #0c1830 100%);
}

.contact-brand-box {
  text-align: center;
  padding: 72px 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.contact-brand-box h2 {
  margin-bottom: 18px;
}

.contact-brand-box p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.74);
}

/* =====================================================
   SIMPLE SUB PAGES FIX
   about / business / contact 현재 HTML 구조 대응
===================================================== */

/* 공통 서브 히어로 */
.page-hero {
  padding-top: calc(var(--header-h) + 90px);
  padding-bottom: 72px;
  background:
    linear-gradient(180deg, #07111f 0%, #0b162a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-hero .container {
  max-width: 980px;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 900;
  margin-bottom: 18px;
}

.page-hero p {
  max-width: 760px;
  font-size: 19px;
  line-height: 1.82;
  color: rgba(255, 255, 255, 0.74);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.about-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.about-item h3 {
  font-size: 28px;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.about-item p {
  font-size: 17px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.72);
}

/* Business */
.business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.business-card {
  background: #ffffff;
  color: #18253c;
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--line-dark);
}

.business-card h3 {
  color: #16315e;
  font-size: 28px;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.business-card p {
  color: rgba(24, 37, 60, 0.78);
  font-size: 17px;
  line-height: 1.78;
}

/* Contact */
.contact-box {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 54px 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.contact-box p {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.contact-box h3 {
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

/* footer 통일 */
.site-footer .container:not(.footer-inner) {
  color: rgba(255, 255, 255, 0.6);
}

/* =========================
   SIMPLE SUB PAGES RESPONSIVE
========================= */
@media (max-width: 860px) {
  .page-hero {
    padding-top: calc(var(--header-h) + 64px);
    padding-bottom: 52px;
  }

  .page-hero h1 {
    font-size: clamp(34px, 8vw, 58px);
    line-height: 1.08;
    margin-bottom: 14px;
  }

  .page-hero p {
    font-size: 17px;
    line-height: 1.76;
  }

  .about-grid,
  .business-grid {
    grid-template-columns: 1fr;
  }

  .about-item,
  .business-card {
    padding: 26px 22px;
  }

  .contact-box {
    padding: 36px 22px;
  }

  .contact-box h3 {
    font-size: 30px;
  }
}