:root {
  --navy: #102a4c;
  --deep: #0c2138;
  --gold: #e0b65c;
  --soft: #d7e0ec;
  --ink: #142033;
  --muted: #607089;
  --line: rgba(16, 42, 76, 0.13);
  --paper: #f6f8fb;
  --shadow: 0 18px 44px -20px rgba(12, 33, 56, 0.5);
  --scrim: linear-gradient(
    180deg,
    rgba(12, 33, 56, 0.85),
    rgba(16, 42, 76, 0.62) 45%,
    rgba(12, 33, 56, 0.92)
  );
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea {
  font-size: 16px;
}

.serif {
  font-family: "Pretendard", sans-serif;
}

.brand {
  font-family: "Gowun Batang", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 64px;
  width: auto;
  display: block;
}

.footer .brand-logo {
  height: 60px;
  margin-bottom: 14px;
}

.gold {
  color: var(--gold);
}

.nowrap {
  white-space: nowrap;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 6px 14px;
  border: 1px solid rgba(224, 182, 92, 0.5);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(224, 182, 92, 0.08);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
.quote {
  font-family: "Pretendard", sans-serif;
}

h1 {
  max-width: 860px;
  color: #fff;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.22;
  letter-spacing: -1.7px;
}

h2 {
  color: var(--deep);
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.24;
  letter-spacing: -1.5px;
}

h3 {
  color: var(--deep);
  font-size: 24px;
  line-height: 1.32;
  letter-spacing: -0.2px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 148px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--deep);
  background: var(--gold);
  box-shadow: 0 16px 32px -18px rgba(224, 182, 92, 0.9);
}

.btn-outline {
  color: #fff;
  border-color: rgba(224, 182, 92, 0.85);
  background: rgba(12, 33, 56, 0.3);
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.lift {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.lift:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 182, 92, 0.55);
  box-shadow: 0 24px 54px -22px rgba(12, 33, 56, 0.62);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(224, 182, 92, 0.16);
  background: #09182b;
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(231, 237, 245, 0.82);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links a {
  white-space: nowrap;
}

.nav-links a:not(.btn):hover {
  color: #fff;
}

.nav-action {
  min-width: auto;
  min-height: 44px;
  padding: 12px 20px;
  font-size: 14px;
  box-shadow: none;
  border: 1px solid rgba(224, 182, 92, 0.9);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 128px 0 72px;
  color: #fff;
  background-image: var(--scrim), url("https://img.uphirise.com/assets/bg-glass-night.webp");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(224, 182, 92, 0.45);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  align-content: center;
  min-height: calc(100svh - 200px);
}

.hero-copy {
  max-width: 720px;
}

/* 히어로 우측 세로 영상 (정사각보다 살짝 높은 4:5) */
.hero-media {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(224, 182, 92, 0.34);
  background: #07121f;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
}
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-media {
    max-width: 360px;
    margin: 0 auto;
  }
}

.hero-copy .eyebrow {
  margin-bottom: 24px;
}

.hero-sub {
  max-width: 690px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.78;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 64px;
  overflow: hidden;
  border: 1px solid rgba(224, 182, 92, 0.3);
  border-radius: 16px;
  background: rgba(224, 182, 92, 0.26);
}

.trust-item {
  min-height: 116px;
  padding: 20px;
  background: rgba(12, 33, 56, 0.64);
}

.trust-item strong {
  display: block;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.trust-item span {
  display: block;
  margin-top: 10px;
  color: rgba(215, 224, 236, 0.82);
  font-size: 13px;
}

.light {
  background: #fff;
}

.soft {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%), var(--paper);
}

.dark-section {
  color: #fff;
  background:
    var(--scrim),
    url("https://img.uphirise.com/assets/bg-glass-twilight.webp") center / cover no-repeat;
}

.dark-section h2,
.dark-section h3 {
  color: #fff;
}

.dark-section .lead {
  color: rgba(215, 224, 236, 0.86);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  min-height: 300px;
  padding: 28px;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(224, 182, 92, 0));
}

.icon {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: var(--gold);
}

.service-card p,
.case-card p,
.team-card p,
.step-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.74;
}

.process-wrap {
  position: relative;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.process-wrap::before {
  content: "";
  position: absolute;
  top: 43px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.step-card {
  position: relative;
  z-index: 1;
  padding: 24px;
  min-height: 236px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 999px;
  color: var(--deep);
  background: var(--gold);
  font-weight: 900;
}

.scroll-hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.scroll-hint i {
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(224, 182, 92, 0.1));
}

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

.case-card {
  overflow: hidden;
  cursor: pointer;
}

/* 사례 상세 모달 (상단 대형카드 형태) */
.case-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.case-modal[hidden] {
  display: none;
}
.case-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 32, 0.72);
  backdrop-filter: blur(2px);
}
.case-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 18px;
  box-shadow: 0 40px 90px -28px rgba(0, 0, 0, 0.7);
}
.case-modal-dialog .cf-slide {
  min-height: 460px;
}
.case-modal-x {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(12, 33, 56, 0.55);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-modal-x:hover {
  background: rgba(12, 33, 56, 0.85);
}
@media (max-width: 760px) {
  .case-modal {
    padding: 12px;
  }
  .case-modal-dialog .cf-slide {
    min-height: 0;
  }
}

.case-top {
  position: relative;
  overflow: hidden;
  min-height: 248px;
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(12, 33, 56, 0.68), rgba(12, 33, 56, 0.95)),
    url("https://img.uphirise.com/assets/bg-glass-aerial.webp") center / cover no-repeat;
}
.case-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.case-top::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(12, 33, 56, 0.5) 0%,
    rgba(12, 33, 56, 0) 30%,
    rgba(12, 33, 56, 0) 52%,
    rgba(12, 33, 56, 0.92) 100%
  );
}
.case-top > .case-meta,
.case-top > h3 {
  position: relative;
  z-index: 2;
}

.case-card:nth-child(2n) .case-top {
  background:
    linear-gradient(180deg, rgba(12, 33, 56, 0.68), rgba(12, 33, 56, 0.95)),
    url("https://img.uphirise.com/assets/bg-glass-lobby.webp") center / cover no-repeat;
}

.case-card:nth-child(3n) .case-top {
  background:
    linear-gradient(180deg, rgba(12, 33, 56, 0.68), rgba(12, 33, 56, 0.95)),
    url("https://img.uphirise.com/assets/bg-glass-twilight.webp") center / cover no-repeat;
}

.case-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--deep);
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.ghost-badge {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.case-top h3 {
  margin-top: 0;
  color: #fff;
  font-size: 22px;
}

.case-body {
  padding: 22px;
}

.case-result {
  color: var(--deep);
  font-size: 18px;
  font-weight: 900;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.metric {
  min-width: 0;
  padding: 12px 8px;
  border-radius: 12px;
  background: #f6f8fb;
}

.metric small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.metric strong {
  display: block;
  margin-top: 3px;
  color: var(--deep);
  font-size: 17px;
  line-height: 1.1;
  white-space: nowrap;
}

.data-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 24px;
}

.data-card {
  padding: 28px;
}

.bar-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.bar-row {
  display: grid;
  gap: 8px;
}

.bar-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 800;
}

.bar-label span:last-child {
  white-space: nowrap;
}

.bar-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 42, 76, 0.12);
}

.bar-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #f2ce7a);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 스크롤 진입 시 0 → 목표치(--target)로 시간차 차오름 */
.data-grid.is-animating .bar-fill {
  width: var(--target);
}
.data-grid.is-animating .bar-row:nth-child(1) .bar-fill {
  transition-delay: 0.05s;
}
.data-grid.is-animating .bar-row:nth-child(2) .bar-fill {
  transition-delay: 0.18s;
}
.data-grid.is-animating .bar-row:nth-child(3) .bar-fill {
  transition-delay: 0.31s;
}
.data-grid.is-animating .bar-row:nth-child(4) .bar-fill {
  transition-delay: 0.44s;
}

.donut-card {
  display: grid;
  align-content: center;
  text-align: center;
}

@property --p1 {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}
@property --p2 {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}
.donut {
  --p1: 0%;
  --p2: 0%;
  width: min(210px, 68vw);
  aspect-ratio: 1;
  margin: 16px auto 20px;
  border-radius: 50%;
  background: conic-gradient(
    var(--navy) 0 var(--p1),
    var(--gold) var(--p1) var(--p2),
    #91a4bf var(--p2) 100%
  );
  box-shadow: inset 0 0 0 34px #fff;
  transition:
    --p1 1.2s ease,
    --p2 1.2s ease;
}
/* 스크롤 진입 시 부채꼴이 0 → 실제 비중(61% / 90%)까지 채워짐 */
.data-grid.is-animating .donut {
  --p1: 61%;
  --p2: 90%;
}

.legend {
  display: grid;
  gap: 8px;
  text-align: left;
}

.legend span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 3px;
  background: var(--navy);
}

.integrated {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.image-panel {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  border-radius: 16px;
  background: var(--deep);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 33, 56, 0.78));
}

.quote-box {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  padding: 22px;
  border: 1px solid rgba(224, 182, 92, 0.35);
  border-radius: 16px;
  color: #fff;
  background: rgba(12, 33, 56, 0.72);
  backdrop-filter: blur(12px);
}

.sequence {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.sequence li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(224, 182, 92, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.sequence {
  padding: 0;
  list-style: none;
}

.sequence b {
  color: #fff;
}

.sequence p {
  color: rgba(215, 224, 236, 0.8);
  font-size: 15px;
}

.seq-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--deep);
  background: var(--gold);
  font-weight: 900;
}

.team-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  min-height: 264px;
  padding: 26px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.team-card h3 {
  color: #fff;
  font-size: 22px;
}

.team-card p {
  color: rgba(215, 224, 236, 0.78);
}

.avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border: 1px solid rgba(224, 182, 92, 0.5);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(12, 33, 56, 0.74);
  font-family: "Pretendard", sans-serif;
  font-size: 30px;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px -28px rgba(12, 33, 56, 0.6);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 20px 24px;
  color: var(--deep);
  cursor: pointer;
  list-style: none;
  font-weight: 900;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 100% 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 2px 100% no-repeat;
  transition: transform 0.18s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 15px;
}

.consult {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(12, 33, 56, 0.9), rgba(12, 33, 56, 0.96)),
    url("https://img.uphirise.com/assets/bg-glass-lobby.webp") center / cover no-repeat;
}

.consult-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 48px;
  align-items: start;
}

.consult h2 {
  color: #fff;
}

.consult .lead {
  color: rgba(215, 224, 236, 0.86);
}

.consult-photo {
  position: relative;
  margin-top: 32px;
  overflow: hidden;
  max-width: 460px;
  border: 1px solid rgba(224, 182, 92, 0.3);
  border-radius: 16px;
  box-shadow: 0 24px 54px -28px rgba(0, 0, 0, 0.85);
}

.consult-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.consult-photo span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #fff;
  background: rgba(12, 33, 56, 0.76);
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.form-card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--deep);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 42, 76, 0.2);
  border-radius: 12px;
  color: var(--deep);
  background: #fff;
  outline: none;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(224, 182, 92, 0.16);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.submit {
  width: 100%;
  margin-top: 22px;
}

.footer {
  padding: 48px 0 104px;
  color: rgba(215, 224, 236, 0.72);
  background: #07192d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr;
  gap: 32px;
}

.footer h3 {
  color: #fff;
  font-size: 18px;
}

.footer p,
.footer li {
  color: rgba(215, 224, 236, 0.72);
  font-size: 13px;
}

.footer ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.disclaimer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(215, 224, 236, 0.14);
  color: rgba(215, 224, 236, 0.64);
  font-size: 12px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 18px;
  font-size: 12px;
}
.footer-legal a {
  color: rgba(215, 224, 236, 0.88);
  font-weight: 700;
}
.footer-legal a:hover {
  color: #fff;
}
.footer-legal .copyright {
  margin-left: auto;
  color: rgba(215, 224, 236, 0.52);
  font-weight: 400;
}
@media (max-width: 640px) {
  .footer-legal .copyright {
    margin-left: 0;
    width: 100%;
  }
}

/* 법적 고지 페이지 (이용약관 / 개인정보처리방침) */
.legal-doc {
  max-width: 880px;
}
.legal-doc h2 {
  font-size: clamp(19px, 2.6vw, 24px);
  letter-spacing: -0.6px;
  margin: 40px 0 12px;
  color: var(--deep);
}
.legal-doc h2:first-of-type {
  margin-top: 0;
}
.legal-doc p,
.legal-doc li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.82;
}
.legal-doc ul,
.legal-doc ol {
  margin: 8px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}
.legal-doc table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14px;
}
.legal-doc th,
.legal-doc td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal-doc th {
  background: var(--paper);
  color: var(--deep);
  white-space: nowrap;
}
.legal-updated {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.mobile-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 13px 18px;
  border: 1px solid rgba(224, 182, 92, 0.4);
  border-radius: 14px;
  color: var(--deep);
  background: var(--gold);
  box-shadow: 0 18px 40px -18px rgba(12, 33, 56, 0.8);
  font-weight: 900;
}

.mobile-cta svg {
  width: 18px;
  height: 18px;
}

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

  .services-grid,
  .data-grid,
  .team-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-track {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-wrap::before {
    display: none;
  }

  .integrated,
  .consult-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(1200px, calc(100% - 32px));
  }

  .section {
    padding: 56px 0;
  }

  .site-header {
    position: absolute;
  }

  .nav {
    min-height: 64px;
  }

  .nav-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 104px 0 40px;
    background-position: 58% center;
  }

  .hero-inner {
    min-height: auto;
  }

  h1 {
    font-size: clamp(36px, 10vw, 44px);
    line-height: 1.24;
    letter-spacing: -1.2px;
  }

  h2 {
    font-size: clamp(30px, 8vw, 38px);
    letter-spacing: -1px;
  }

  h3 {
    font-size: 22px;
  }

  .hero-sub,
  .lead {
    font-size: 16px;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
  }

  .trust-item {
    min-height: 104px;
    padding: 18px;
  }

  .services-grid,
  .data-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .process-track,
  .cases-grid,
  .team-track {
    display: flex;
    gap: 16px;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .process-track > *,
  .cases-grid > *,
  .team-track > * {
    flex: 0 0 80%;
    min-width: 0;
    scroll-snap-align: center;
  }

  .scroll-hint {
    display: inline-flex;
  }

  .case-top {
    min-height: 210px;
  }

  .metrics {
    gap: 6px;
  }

  .metric strong {
    font-size: 15px;
  }

  .image-panel,
  .image-panel img {
    min-height: 420px;
  }

  .form-card {
    padding: 24px;
  }

  .footer {
    padding-bottom: 96px;
  }

  .mobile-cta {
    display: flex;
  }
}

@media (max-width: 380px) {
  .brand {
    font-size: 17px;
  }

  .brand-logo {
    height: 52px;
  }

  .process-track > *,
  .cases-grid > *,
  .team-track > * {
    flex-basis: 84%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(224, 182, 92, 0.45);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
}

.nav-burger span,
.nav-burger::before,
.nav-burger::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-burger {
  flex-direction: column;
  gap: 5px;
}

.nav-links a:not(.btn) {
  position: relative;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.nav-links a[aria-current="page"],
.nav-links a.is-active,
.brand[aria-current="page"] {
  color: #fff;
}

.nav-links a[aria-current="page"]::after,
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
}

.page-main {
  padding-top: 84px;
}

.about-intro-grid,
.cta-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-fact-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.about-fact-list li,
.cta-panel .lead {
  color: var(--muted);
}

.about-photo {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cta-section {
  background:
    var(--scrim),
    url("https://img.uphirise.com/assets/bg-glass-lobby.webp") center / cover no-repeat;
}

.cta-panel h2,
.cta-section .lead {
  color: #fff;
}

.cta-actions {
  margin-top: 32px;
}

.cta-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.cta-trust .cta-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(224, 182, 92, 0.6);
  object-fit: cover;
  flex: 0 0 auto;
}

.cta-trust span {
  font-size: 15px;
  font-weight: 600;
  color: rgba(231, 237, 245, 0.92);
}

.cta-trust strong {
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 1024px) {
  .nav-burger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 84px;
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    border: 1px solid rgba(224, 182, 92, 0.26);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(12, 33, 56, 0.96);
    box-shadow: 0 22px 56px -28px rgba(0, 0, 0, 0.7);
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-links a:not(.btn) {
    min-height: 44px;
    padding: 8px 4px;
  }

  .nav-links a[aria-current="page"]::after,
  .nav-links a.is-active::after {
    bottom: 4px;
    right: auto;
    width: 32px;
  }

  .nav-links .nav-action {
    display: inline-flex;
    width: 100%;
    margin-top: 8px;
  }

  .about-intro-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-main {
    padding-top: 64px;
  }

  .nav-links {
    top: 64px;
    left: 16px;
    right: 16px;
  }

  .nav-links .nav-action {
    display: inline-flex;
  }

  .cta-panel {
    gap: 24px;
  }
}

/* ── 서브페이지 히어로 (페이지 상단 배너) ── */
.page-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* 제목 길이와 무관하게 전 페이지 헤더 높이 통일 */
  min-height: clamp(360px, 46vh, 460px);
  background: #0c2138 center / cover no-repeat;
  color: #fff;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 33, 56, 0.84),
    rgba(16, 42, 76, 0.6) 45%,
    rgba(12, 33, 56, 0.92)
  );
}
.page-hero .container {
  position: relative;
  z-index: 1;
  padding-top: clamp(48px, 8vh, 96px);
  padding-bottom: clamp(44px, 7vh, 84px);
}
.page-hero h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -1.5px;
  word-break: keep-all;
  text-wrap: pretty;
  margin-top: 18px;
}
.page-hero h1 .gold {
  color: var(--gold);
}
.page-hero p {
  margin-top: 16px;
  color: #cdd8e6;
  font-size: clamp(15px, 2.1vw, 18px);
  line-height: 1.6;
  max-width: 640px;
  word-break: keep-all;
  text-wrap: pretty;
}
@media (max-width: 768px) {
  .page-hero .container {
    padding-top: 40px;
    padding-bottom: 36px;
  }
}

/* ── 홈 영상 섹션 (모션그래픽 임베드) ── */
.video-feature {
  color: #fff;
  background:
    var(--scrim),
    url("https://img.uphirise.com/assets/bg-glass-night.webp") center / cover no-repeat;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
/* 가운데 정렬 섹션의 아이브로우 뱃지도 중앙으로 (fit-content라 기본은 좌측 붙음) */
.section-head.center .eyebrow {
  margin-left: auto;
  margin-right: auto;
}
.video-feature h2 {
  color: #fff;
}
.video-feature .lead {
  color: rgba(215, 224, 236, 0.86);
}
.video-frame {
  position: relative;
  max-width: none;
  margin: 44px auto 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(224, 182, 92, 0.34);
  background: #07121f;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-cta {
  margin-top: 32px;
  text-align: center;
}
@media (max-width: 768px) {
  .video-frame {
    margin-top: 28px;
    border-radius: 14px;
  }
}

/* ── 홈 서비스 헤드 2단 (clean-white 피처) ── */
.services-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
  max-width: none;
}
.services-head-media {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.services-head-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .services-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ── 대표 인사말 (about) ── */
.greeting-grid {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 52px;
  align-items: center;
}
.greeting-photo {
  position: relative;
  overflow: hidden;
  max-width: 320px;
  border-radius: 16px;
  border: 1px solid rgba(224, 182, 92, 0.3);
  box-shadow: var(--shadow);
}
.greeting-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.greeting-cap {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(12, 33, 56, 0.78);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.greeting-body .eyebrow {
  margin-bottom: 16px;
}
.greeting-body .lead + .lead {
  margin-top: 16px;
}
.greeting-sign {
  margin-top: 28px;
  font-family: "Gowun Batang", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--deep);
}
@media (max-width: 1024px) {
  .greeting-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .greeting-photo img {
    aspect-ratio: 16 / 10;
    object-position: center 20%;
  }
}

/* ── 진입 로딩 오버레이 — 자수성가 워드마크 셔머 (#05) ── */
#site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  opacity: 1;
  transition: opacity 0.5s ease;
}
#site-loader .sl-sub {
  margin-top: 6px;
  font-family:
    "Pretendard",
    system-ui,
    -apple-system,
    sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 5vw, 28px);
  letter-spacing: 0.34em;
  text-indent: 0.34em; /* letter-spacing로 인한 우측 쏠림 보정 */
  color: #fff;
  opacity: 0.94;
}
#site-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}
#site-loader .sl-word {
  font-family: "Gowun Batang", serif;
  font-weight: 700;
  font-size: clamp(34px, 9vw, 64px);
  letter-spacing: 1px;
  /* 양 끝 색을 동일하게 두어 타일 이음매가 보이지 않고 무한히 흐름.
     하이라이트를 밝게 키워 금빛 흐름이 또렷하게 보이도록 함 */
  background: linear-gradient(
    100deg,
    rgba(224, 182, 92, 0.55) 0%,
    rgba(224, 182, 92, 0.55) 36%,
    #fff1cc 50%,
    rgba(224, 182, 92, 0.55) 64%,
    rgba(224, 182, 92, 0.55) 100%
  );
  background-size: 200% 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* 이동량(200%)이 타일 폭과 정확히 일치 → 끊김 없는 셔머. 짧은 주기로 한 번에 또렷이 */
  animation: slShimmer 1.4s linear infinite;
}
@keyframes slShimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: 0% 0;
  }
}

/* ── 진행사례 대형 캐러셀 (이미지 + 콘텐츠 시트 분할, 크게) ── */
.case-feature {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 44px;
  background: #0a1b30;
  box-shadow: var(--shadow);
}
.cf-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.7, 0, 0.2, 1);
}
.cf-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  min-height: 560px;
}
.cf-img {
  background-size: cover;
  background-position: center;
  min-height: 560px;
}
video.cf-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0b1d33;
}
.cf-sheet {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 56px 58px;
  color: #fff;
  background: linear-gradient(155deg, #163457, #0b1d33);
}
.cf-sheet .case-meta {
  display: flex;
  gap: 8px;
}
.cf-sheet h3 {
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1.4px;
}
.cf-result {
  color: var(--gold);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.35;
}
.cf-sheet .metrics {
  margin-top: 4px;
}
.cf-sheet p {
  color: rgba(215, 224, 236, 0.82);
  font-size: 17px;
  line-height: 1.7;
}
.cf-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(12, 33, 56, 0.5);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.cf-prev {
  left: 18px;
}
.cf-next {
  right: calc(38% + 18px);
}
.cf-dots {
  position: absolute;
  bottom: 22px;
  left: 30px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.cf-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}
.cf-dot.on {
  background: var(--gold);
  width: 26px;
  border-radius: 999px;
}
/* 그리드 카드 가독성 (비네트 + 그림자) */
.case-top h3 {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.case-top .ghost-badge {
  background: rgba(12, 33, 56, 0.55);
}
@media (max-width: 900px) {
  .cf-slide {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .cf-img {
    min-height: 280px;
  }
  .cf-sheet {
    padding: 30px 26px;
    gap: 12px;
  }
  .cf-sheet h3 {
    font-size: 30px;
  }
  .cf-result {
    font-size: 21px;
  }
  .cf-next {
    right: 18px;
  }
  .cf-dots {
    bottom: auto;
    top: 250px;
  }
  .cf-arrow {
    top: 140px;
  }
}

/* ── 섹션 액센트 (로더 모티프 재사용: 빌딩 #01 · 코인 #08 · 라인드로우 #10) ── */
.sec-accent {
  margin-bottom: 22px;
}
.section-head.center .sec-accent {
  margin-left: auto;
  margin-right: auto;
}

/* #01 빌딩 빌드업 — services 5단계 프로세스 */
.acc-build {
  width: fit-content;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2px;
}
.acc-build .slab {
  position: relative;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 11px;
  border-radius: 2px;
  background: rgba(224, 182, 92, 0.16);
  border: 1px solid rgba(224, 182, 92, 0.55);
  transform-origin: bottom;
  opacity: 0;
  animation-duration: 4s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-iteration-count: infinite;
}
.acc-build .slab.cap {
  width: 44px;
  height: 6px;
  background: var(--gold);
  border-color: var(--gold);
}
.acc-build .slab.lobby {
  width: 46px;
  height: 15px;
  gap: 4px;
  background: rgba(224, 182, 92, 0.22);
}
.acc-build .slab.lobby .door {
  width: 5px;
  height: 11px;
  align-self: flex-end;
  border-radius: 2px 2px 0 0;
  background: #f2ce7a;
  box-shadow: 0 0 5px rgba(242, 206, 122, 0.7);
}
.acc-build .slab i {
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: rgba(224, 182, 92, 0.22);
  animation-duration: 4s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}
.acc-build .slab:nth-child(1) {
  animation-name: flr1;
}
.acc-build .slab:nth-child(2) {
  animation-name: flr2;
}
.acc-build .slab:nth-child(3) {
  animation-name: flr3;
}
.acc-build .slab:nth-child(4) {
  animation-name: flr4;
}
.acc-build .slab:nth-child(5) {
  animation-name: flr5;
}
.acc-build .slab:nth-child(6) {
  animation-name: flr6;
}
.acc-build .slab:nth-child(2) i {
  animation-name: win2;
}
.acc-build .slab:nth-child(3) i {
  animation-name: win3;
}
.acc-build .slab:nth-child(4) i {
  animation-name: win4;
}
.acc-build .slab:nth-child(5) i {
  animation-name: win5;
}
@keyframes flr1 {
  0% {
    opacity: 0;
    transform: translateY(10px) scaleY(0.5);
  }
  7%,
  86% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
  100% {
    opacity: 0;
    transform: translateY(5px) scaleY(0.8);
  }
}
@keyframes flr2 {
  0%,
  12% {
    opacity: 0;
    transform: translateY(10px) scaleY(0.5);
  }
  19%,
  86% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
  100% {
    opacity: 0;
    transform: translateY(5px) scaleY(0.8);
  }
}
@keyframes flr3 {
  0%,
  24% {
    opacity: 0;
    transform: translateY(10px) scaleY(0.5);
  }
  31%,
  86% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
  100% {
    opacity: 0;
    transform: translateY(5px) scaleY(0.8);
  }
}
@keyframes flr4 {
  0%,
  36% {
    opacity: 0;
    transform: translateY(10px) scaleY(0.5);
  }
  43%,
  86% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
  100% {
    opacity: 0;
    transform: translateY(5px) scaleY(0.8);
  }
}
@keyframes flr5 {
  0%,
  48% {
    opacity: 0;
    transform: translateY(10px) scaleY(0.5);
  }
  55%,
  86% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
  100% {
    opacity: 0;
    transform: translateY(5px) scaleY(0.8);
  }
}
@keyframes flr6 {
  0%,
  60% {
    opacity: 0;
    transform: translateY(10px) scaleY(0.5);
  }
  67%,
  86% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
  100% {
    opacity: 0;
    transform: translateY(5px) scaleY(0.8);
  }
}
@keyframes win2 {
  0%,
  20% {
    background: rgba(224, 182, 92, 0.22);
    box-shadow: none;
  }
  25%,
  100% {
    background: #f2ce7a;
    box-shadow: 0 0 4px rgba(242, 206, 122, 0.85);
  }
}
@keyframes win3 {
  0%,
  32% {
    background: rgba(224, 182, 92, 0.22);
    box-shadow: none;
  }
  37%,
  100% {
    background: #f2ce7a;
    box-shadow: 0 0 4px rgba(242, 206, 122, 0.85);
  }
}
@keyframes win4 {
  0%,
  44% {
    background: rgba(224, 182, 92, 0.22);
    box-shadow: none;
  }
  49%,
  100% {
    background: #f2ce7a;
    box-shadow: 0 0 4px rgba(242, 206, 122, 0.85);
  }
}
@keyframes win5 {
  0%,
  56% {
    background: rgba(224, 182, 92, 0.22);
    box-shadow: none;
  }
  61%,
  100% {
    background: #f2ce7a;
    box-shadow: 0 0 4px rgba(242, 206, 122, 0.85);
  }
}

/* #08 코인 플립 — services 자산이 되는 흐름 */
.acc-coin {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    #f2ce7a,
    var(--gold) 60%,
    #b8923f
  );
  box-shadow: 0 4px 12px rgba(224, 182, 92, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Gowun Batang", serif;
  font-weight: 700;
  color: var(--deep);
  font-size: 19px;
  animation: accCoin 1.8s ease-in-out infinite;
}
@keyframes accCoin {
  0%,
  100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
}

/* #10 라인드로우 사옥 — about 히어로 */
.acc-draw svg {
  width: 58px;
  height: 68px;
}
.acc-draw path,
.acc-draw line {
  stroke: var(--gold);
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: accDraw 2.8s ease-in-out infinite;
}
@keyframes accDraw {
  0% {
    stroke-dashoffset: 240;
  }
  55%,
  82% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

/* ── 서비스 섹션 배경 이미지 (밝은 오버레이로 가독 유지) ── */
.svc-growth-bg {
  color: #fff;
  background:
    linear-gradient(
      180deg,
      rgba(12, 33, 56, 0.88) 0%,
      rgba(16, 42, 76, 0.82) 55%,
      rgba(12, 33, 56, 0.93) 100%
    ),
    url("https://img.uphirise.com/assets/svc-growth.webp") center / cover no-repeat;
}
.svc-process-bg {
  color: #fff;
  background:
    linear-gradient(
      180deg,
      rgba(12, 33, 56, 0.88) 0%,
      rgba(16, 42, 76, 0.82) 55%,
      rgba(12, 33, 56, 0.93) 100%
    ),
    url("https://img.uphirise.com/assets/svc-process.webp") center / cover no-repeat;
}
/* 어두운 계층 섹션의 헤드 텍스트는 밝게 (카드는 흰색 그대로 위로 뜸) */
.svc-growth-bg h2,
.svc-process-bg h2 {
  color: #fff;
}
.svc-growth-bg .lead,
.svc-process-bg .lead {
  color: rgba(215, 224, 236, 0.86);
}

/* made by pola — 카피라이트와 동일 색(흰색 강조 X) */
.footer-legal .copyright a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

/* ── 정책공고 페이지 ── */
.notice-feed-note {
  margin: 6px 0 26px;
  font-size: 13px;
  color: var(--muted);
}
.filter-bar {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.filter-row .flabel {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  min-width: 52px;
}
.chip {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--deep);
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}
.chip:hover {
  border-color: var(--gold);
}
.chip.is-on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.notice-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.notice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.notice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 182, 92, 0.55);
  box-shadow: 0 24px 54px -22px rgba(12, 33, 56, 0.62);
}
.notice-card.is-hide {
  display: none;
}
.nc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
  padding-right: 56px; /* 우상단 D-day 뱃지 공간 확보 */
}
.nc-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}
.b-live {
  background: rgba(31, 143, 90, 0.12);
  color: #1f8f5a;
}
.b-soon {
  background: rgba(207, 59, 59, 0.12);
  color: #cf3b3b;
}
.b-new {
  background: var(--gold);
  color: var(--deep);
}
.nc-cat {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  border: 1px solid rgba(224, 182, 92, 0.5);
  background: rgba(224, 182, 92, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}
.nc-region {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.nc-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--deep);
  line-height: 1.4;
  letter-spacing: -0.3px;
}
.nc-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.nc-meta b {
  color: var(--deep);
  font-weight: 700;
}
.notice-card {
  cursor: pointer;
  position: relative;
}
.nc-dday {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 1;
  pointer-events: none;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}
.nc-dday.always {
  background: rgba(31, 143, 90, 0.12);
  color: #1f8f5a;
}
.nc-dday.normal {
  background: rgba(16, 42, 76, 0.08);
  color: var(--navy);
}
.nc-dday.urgent {
  background: rgba(207, 59, 59, 0.12);
  color: #cf3b3b;
}
.nc-dday.closed {
  background: rgba(96, 112, 137, 0.14);
  color: var(--muted);
}
.nc-action {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: flex-end;
}
.nc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
}
.nc-link:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.pagination a,
.pagination span {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
  color: var(--deep);
}
.pagination a:hover {
  border-color: var(--gold);
}
.pagination .on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
@media (max-width: 980px) {
  .notice-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .notice-list {
    grid-template-columns: 1fr;
  }
}
.nc-title a {
  color: inherit;
  text-decoration: none;
}
.nc-title a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── 공고 상세페이지 ── */
.notice-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: start;
}
.nd-body .nc-tags {
  margin-bottom: 18px;
}
.nd-body h1.nd-title {
  color: var(--deep);
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.34;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
  max-width: none;
}
.nd-summary {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.nd-summary h3 {
  font-size: 16px;
  color: var(--deep);
}
.nd-sum-list {
  display: grid;
  gap: 0;
}
.nd-sum-list > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.nd-sum-list > div:first-child {
  border-top: 0;
}
.nd-sum-list .k {
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}
.nd-sum-list .v {
  color: var(--deep);
  font-weight: 700;
  text-align: right;
}
.nd-summary .btn {
  width: 100%;
}
.nd-source {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.nd-source a {
  color: var(--gold);
  font-weight: 700;
}
@media (max-width: 900px) {
  .notice-detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .nd-summary {
    position: static;
  }
}

/* 공고 상세 — 사업내용 시각화 + CTA */
.nd-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0 30px;
}
.nd-fact {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.nd-fact small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.nd-fact strong {
  display: block;
  margin-top: 6px;
  color: var(--deep);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.3px;
}
.nd-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin: 10px 0 30px;
}
.nd-step {
  flex: 1;
  min-width: 120px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: center;
}
.nd-step .s-no {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}
.nd-step b {
  display: block;
  color: var(--deep);
  font-size: 14px;
}
.nd-step span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.nd-arrow {
  align-self: center;
  color: var(--gold);
  font-weight: 900;
  font-size: 18px;
}
.nd-ctabox {
  margin-top: 12px;
  padding: 26px 28px;
  border-radius: 16px;
  background:
    var(--scrim),
    url("https://img.uphirise.com/assets/bg-glass-twilight.webp") center / cover no-repeat;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.nd-ctabox .ndc-copy h3 {
  color: #fff;
  font-size: 19px;
  letter-spacing: -0.4px;
}
.nd-ctabox .ndc-copy p {
  color: rgba(215, 224, 236, 0.86);
  font-size: 14px;
  margin-top: 5px;
}
@media (max-width: 560px) {
  .nd-facts {
    grid-template-columns: 1fr;
  }
  .nd-arrow {
    display: none;
  }
  .nd-ctabox {
    flex-direction: column;
    align-items: flex-start;
  }
}
