/* 비용이 만드는 결과를 실제 시안, 자료 반영, 운영 장면으로 연결합니다. */
.view-pricing .cost-story {
  position: relative;
  overflow: clip;
  padding-block: 68px 0;
  background: #112d4d;
  color: #fff;
}
.cost-story .cost-story-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
}
.cost-story-heading .eyebrow {
  margin: 0 0 19px;
  color: #a7c6f3;
  font-size: 13px;
}
.cost-story-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(29px, 3vw, 43px);
  line-height: 1.45;
  letter-spacing: -0.05em;
}
.cost-story-heading > p {
  margin: 0 0 6px;
  color: #c3d2e5;
  font-size: 15px;
  line-height: 1.9;
}
.cost-story-stage {
  padding-top: 40px;
  padding-bottom: 0;
}
.cost-story-panel {
  min-height: 515px;
}
.cost-story-panel:not([hidden]) {
  animation: cost-scene-enter 500ms ease both;
}
.cost-story-deck {
  position: relative;
  height: 445px;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  perspective: 1500px;
  transform: translateY(var(--cost-lift, 0px));
}
.cost-story-screen {
  position: absolute;
  top: 28px;
  left: calc(28.5% * var(--screen-order));
  width: 43%;
  overflow: hidden;
  border: 1px solid #a2bbda;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 25px 50px #0005;
  color: #27496c;
  transform-origin: center bottom;
  --fan-x: calc((var(--screen-order) - 1) * 20px);
  --fan-angle: calc((var(--screen-order) - 1) * 4deg);
  transform: translateX(var(--fan-x)) rotate(var(--fan-angle));
  transition: border-color 180ms ease;
}
.cost-story-screen:nth-child(2) {
  top: 0;
  z-index: 3;
}
.cost-story-screen > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  color: #d6e6fb;
  background: #21476e;
}
.cost-story-screen > span i {
  flex: 1;
  font-style: normal;
  font-size: 8px;
  letter-spacing: 3px;
  color: #b0c9e8;
}
.cost-story-screen > span b {
  font-size: 13px;
  font-weight: 500;
}
.cost-story-screen > span em {
  flex: 1;
  text-align: right;
  font-style: normal;
  font-size: 15px;
}
.cost-story-screen img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.62;
  object-fit: contain;
  object-position: top;
  background: #eff3f8;
}
.cost-story-screen > strong {
  display: block;
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 600;
}
.cost-story-screen:hover {
  border-color: #fff;
}
.cost-story.is-enhanced:not(.is-in-view) .cost-story-screen {
  opacity: 0.3;
  transform: translateY(90px) translateX(calc((1 - var(--screen-order)) * 160px)) rotate(0deg);
}
.cost-story.is-enhanced.is-in-view .cost-story-screen {
  animation: cost-portfolio-fan 1050ms cubic-bezier(0.19, 1, 0.22, 1) both;
  animation-delay: calc(var(--screen-order) * 100ms);
}
.cost-story-scene-caption {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 14px;
  margin: 10px 0 0;
  color: #d5e0ee;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}
.cost-story-scene-caption > span {
  color: #94b8ea;
  font-size: 13px;
}
.cost-story-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  background: #0b233e;
}
.cost-story-tabs button {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr 20px;
  gap: 6px 12px;
  align-items: center;
  padding: 24px 24px;
  border: 0;
  border-top: 2px solid #ffffff24;
  background: transparent;
  color: #b5c7de;
  cursor: pointer;
  text-align: left;
  transition:
    background 180ms ease,
    color 180ms ease;
}
.cost-story-tabs button + button {
  border-left: 1px solid #ffffff18;
}
.cost-story-tabs button > span {
  grid-row: span 2;
  align-self: start;
  color: #91b6e8;
  font-size: 13px;
  line-height: 1.8;
}
.cost-story-tabs button strong {
  font-size: 18px;
  font-weight: 600;
}
.cost-story-tabs button small {
  grid-column: 2;
  font-size: 13px;
  line-height: 1.7;
}
.cost-story-tabs button b {
  grid-column: 3;
  grid-row: 1 / 3;
  font-size: 19px;
  font-weight: 400;
}
.cost-story-tabs button[aria-selected='true'] {
  border-top-color: #80aef3;
  background: #214b7a;
  color: #fff;
}
.cost-story-tabs button:focus-visible,
.cost-story-screen:focus-visible {
  outline: 2px solid #a9ceff;
  outline-offset: -4px;
}
.cost-material-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1.3fr);
  align-items: center;
  gap: 20px;
  max-width: 880px;
  min-height: 445px;
  margin: 0 auto;
}
.cost-material-files {
  display: grid;
  gap: 13px;
}
.cost-material-files > div {
  position: relative;
  padding: 20px 55px 20px 22px;
  border: 1px solid #90b3df75;
  border-radius: 5px;
  background: linear-gradient(110deg, #e8f1ff, #fff);
  color: #244c7a;
  box-shadow: 8px 8px 0 #ffffff09;
}
.cost-material-files span {
  display: block;
  margin-bottom: 8px;
  color: #55749a;
  font-size: 13px;
}
.cost-material-files strong {
  font-size: 18px;
  font-weight: 600;
  word-break: keep-all;
}
.cost-material-files i {
  position: absolute;
  top: 30px;
  right: 19px;
  color: #5b81b4;
  font-style: normal;
  font-size: 25px;
}
.cost-material-arrow {
  color: #8bb6ed;
  font-size: 42px;
  text-align: center;
}
.cost-material-website {
  overflow: hidden;
  border: 1px solid #bdcfe8;
  border-radius: 7px;
  background: #fff;
  color: #3e618c;
  transform: perspective(900px) rotateY(-6deg);
  box-shadow: 18px 20px 45px #0004;
}
.cost-material-bar {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
  background: #e9f0fa;
  color: #54739b;
  font-size: 13px;
}
.cost-material-bar i {
  font-style: normal;
}
.cost-material-brand {
  padding: 20px;
  font-size: 21px;
  font-weight: 600;
  color: #254f83;
}
.cost-material-picture {
  display: grid;
  place-items: center;
  min-height: 85px;
  margin-inline: 20px;
  background: #2e67b8;
  color: #e4f0ff;
  font-size: 14px;
}
.cost-material-copy {
  display: grid;
  gap: 11px;
  padding: 20px;
  color: #4b6b93;
  font-size: 14px;
}
.cost-material-copy span {
  display: block;
  width: 92%;
  height: 3px;
  background: #d6e2f2;
}
.cost-material-copy span:last-child {
  width: 70%;
}
.cost-material-footer {
  padding: 15px 20px;
  background: #f1f5fb;
  color: #6581a5;
  font-size: 13px;
}
.cost-material-website > small {
  display: block;
  padding: 9px 20px;
  border-top: 1px solid #e1e9f4;
  color: #68819f;
  font-size: 13px;
}
.cost-operation-stage {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 50px;
  max-width: 900px;
  min-height: 445px;
  margin: 0 auto;
}
.cost-operation-site {
  position: relative;
  padding: 30px;
  border: 1px solid #6085b0;
  border-radius: 9px;
  background: #1e456e;
  box-shadow: 15px 15px 0 #0a203866;
}
.cost-operation-site > span {
  color: #a5c5ee;
  font-size: 13px;
}
.cost-operation-site > strong {
  display: block;
  margin-block: 30px 20px;
  color: #fff;
  font-size: 27px;
  line-height: 1.5;
  letter-spacing: -0.04em;
}
.cost-operation-site p {
  color: #c3d5ec;
  font-size: 14px;
  line-height: 1.9;
}
.cost-operation-site > i {
  position: absolute;
  top: 31px;
  right: 27px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8bcbdf;
  box-shadow: 0 0 0 6px #8bcbdf12;
}
.cost-operation-path {
  position: relative;
  display: grid;
  gap: 25px;
}
.cost-operation-path::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 26px;
  bottom: 26px;
  border-left: 1px solid #5e84b1;
}
.cost-operation-path > div {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 6px 19px;
}
.cost-operation-path span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  grid-row: 1 / 3;
  width: 50px;
  height: 50px;
  border: 1px solid #7598c6;
  border-radius: 9px;
  background: #1c436e;
  color: #c7e1ff;
  font-size: 24px;
}
.cost-operation-path strong {
  color: #f1f6fe;
  font-size: 18px;
  font-weight: 600;
}
.cost-operation-path p {
  color: #b6cce5;
  font-size: 14px;
  line-height: 1.7;
}
.view-pricing .pricing-detail-section {
  padding-top: 22px;
}
.view-pricing .cost-policy-expand {
  margin-top: 25px;
  border-block: 1px solid #d2dfef;
}
.cost-policy-expand summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 23px;
  color: #3b628f;
  font-size: 14px;
  list-style: none;
  cursor: pointer;
}
.cost-policy-expand summary::-webkit-details-marker {
  display: none;
}
.cost-policy-expand[open] summary > span {
  transform: rotate(45deg);
}
.cost-policy-expand .offer-policy {
  margin-top: 0;
}

/* 견적 구성은 설명보다 선택 도구에 빠르게 도달하도록 짧은 작업대 비주얼을 사용합니다. */
.view-estimate .estimate-workspace-heading {
  padding-block: 43px;
  background: linear-gradient(115deg, #f1f6fe, #fff);
}
.view-estimate .estimate-workspace-heading h1 {
  font-size: clamp(32px, 2.9vw, 43px);
  line-height: 1.4;
}
.estimate-workspace-object {
  position: relative;
  min-width: 0;
  padding-left: 35px;
}
.estimate-workspace-art {
  position: relative;
  max-width: 520px;
  height: 235px;
  perspective: 900px;
}
.estimate-art-sheet {
  position: absolute;
  top: 22px;
  left: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  width: 65%;
  min-height: 185px;
  padding: 20px;
  border: 1px solid #bdd0e9;
  border-radius: 7px;
  background: #e8f0fb;
  color: #5479a8;
  transform: rotate(-8deg);
  box-shadow: 0 14px 30px #31578213;
}
.estimate-art-sheet:nth-child(2) {
  top: 10px;
  left: 14%;
  transform: rotate(-2deg);
  background: #f5f8fd;
}
.estimate-art-sheet:nth-child(3) {
  top: 30px;
  left: 27%;
  z-index: 2;
  transform: rotate(5deg);
  background: #1e4778;
  border-color: #2a5285;
  color: #d5e5fa;
}
.estimate-art-sheet > span {
  font-size: 13px;
  line-height: 1.6;
}
.estimate-art-sheet i {
  display: block;
  width: 90%;
  height: 3px;
  background: #bbcde4;
}
.estimate-art-sheet i:nth-last-child(2) {
  width: 65%;
}
.estimate-art-sheet b {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  color: #fff;
}
.estimate-art-sheet em {
  margin-top: 3px;
  font-size: 13px;
  font-style: normal;
  color: #c4daf7;
}
.estimate-workspace-object > p {
  display: grid;
  gap: 7px;
  margin: 20px 0 0 15px;
  font-size: 13px;
  color: #5a7495;
}
.estimate-workspace-object > p strong {
  font-size: 16px;
  color: #35577f;
  font-weight: 600;
}
.estimate-workspace-object.is-in-view .estimate-art-sheet {
  animation: estimate-sheet-enter 850ms cubic-bezier(0.19, 1, 0.22, 1) both;
}
.estimate-workspace-object.is-in-view .estimate-art-sheet:nth-child(2) {
  animation-delay: 80ms;
}
.estimate-workspace-object.is-in-view .estimate-art-sheet:nth-child(3) {
  animation-delay: 160ms;
}
@keyframes cost-scene-enter {
  from {
    opacity: 0.5;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes cost-portfolio-fan {
  from {
    opacity: 0.2;
    transform: translateY(90px) translateX(calc((1 - var(--screen-order)) * 160px)) rotate(0deg);
  }
  to {
    opacity: 1;
    transform: translateX(var(--fan-x)) rotate(var(--fan-angle));
  }
}
@keyframes estimate-sheet-enter {
  from {
    opacity: 0.1;
    translate: 0 45px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (max-width: 1100px) {
  .cost-story .cost-story-heading {
    align-items: start;
    gap: 25px;
  }
  .cost-story-heading h2 {
    font-size: 32px;
  }
  .cost-story-heading > p {
    max-width: 35%;
    font-size: 14px;
  }
  .cost-story-screen {
    width: 46%;
    left: calc(27% * var(--screen-order));
  }
  .cost-story-deck {
    height: 375px;
  }
  .cost-story-panel {
    min-height: 445px;
  }
  .cost-story-tabs button {
    padding-inline: 17px;
  }
  .cost-story-tabs button strong {
    font-size: 16px;
  }
  .cost-material-stage {
    grid-template-columns: 1fr 45px 1.15fr;
    gap: 15px;
  }
  .cost-material-stage,
  .cost-operation-stage {
    min-height: 375px;
  }
  .estimate-workspace-object {
    padding-left: 5px;
  }
  .estimate-art-sheet {
    padding: 17px;
  }
  .estimate-art-sheet b {
    font-size: 15px;
  }
}
@media (max-width: 700px) {
  .view-pricing .cost-story {
    padding-top: 38px;
  }
  .cost-story .cost-story-heading {
    display: block;
  }
  .cost-story-heading .eyebrow {
    margin-bottom: 15px;
  }
  .cost-story-heading h2 {
    font-size: 27px;
  }
  .cost-story-heading > p {
    max-width: none;
    margin-top: 20px;
    font-size: 14px;
  }
  .cost-story-heading > p br {
    display: none;
  }
  .cost-story-stage {
    padding-top: 28px;
  }
  .cost-story-deck {
    height: 280px;
    width: 100%;
  }
  .cost-story-screen {
    top: 25px;
    left: calc(15% * var(--screen-order));
    width: 70%;
    --fan-x: calc((var(--screen-order) - 1) * 9px);
    --fan-angle: calc((var(--screen-order) - 1) * 6deg);
  }
  .cost-story-screen:nth-child(2) {
    top: 0;
  }
  .cost-story-screen > span {
    padding: 8px;
  }
  .cost-story-screen > span i {
    display: none;
  }
  .cost-story-screen > span b {
    font-size: 13px;
  }
  .cost-story-screen > strong {
    font-size: 13px;
    padding: 10px;
  }
  .cost-story-panel {
    min-height: 345px;
  }
  .cost-story-scene-caption {
    gap: 9px;
    text-align: left;
    font-size: 13px;
    margin-top: 12px;
  }
  .cost-story-tabs {
    margin-top: 25px;
    padding-inline: 0;
  }
  .cost-story-tabs button {
    display: block;
    padding: 16px 11px 18px;
    min-width: 0;
  }
  .cost-story-tabs button > span {
    display: block;
    margin-bottom: 9px;
  }
  .cost-story-tabs button strong {
    display: block;
    font-size: 14px;
  }
  .cost-story-tabs button small {
    display: none;
  }
  .cost-story-tabs button b {
    display: none;
  }
  .cost-material-stage {
    grid-template-columns: 1fr;
    gap: 15px;
    min-height: 0;
  }
  .cost-material-files {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .cost-material-files > div {
    padding: 13px 10px;
  }
  .cost-material-files span {
    font-size: 13px;
    margin-bottom: 8px;
  }
  .cost-material-files strong {
    font-size: 14px;
    line-height: 1.5;
  }
  .cost-material-files i {
    display: none;
  }
  .cost-material-arrow {
    font-size: 26px;
    rotate: 90deg;
    line-height: 1;
  }
  .cost-material-website {
    width: 90%;
    margin: auto;
    transform: none;
  }
  .cost-material-brand {
    font-size: 19px;
    padding: 16px;
  }
  .cost-material-picture {
    min-height: 62px;
    margin-inline: 16px;
    font-size: 13px;
  }
  .cost-material-copy {
    padding: 16px;
    gap: 9px;
    font-size: 13px;
  }
  .cost-material-footer {
    padding: 12px 16px;
  }
  .cost-material-website > small {
    padding: 8px 16px;
  }
  .cost-scene-setup {
    min-height: 0;
  }
  .cost-operation-stage {
    grid-template-columns: 1fr;
    gap: 25px;
    min-height: 0;
  }
  .cost-operation-site {
    padding: 23px;
  }
  .cost-operation-site > strong {
    margin-block: 20px 16px;
    font-size: 24px;
  }
  .cost-operation-path {
    gap: 19px;
  }
  .cost-operation-path > div {
    grid-template-columns: 42px 1fr;
    gap: 5px 15px;
  }
  .cost-operation-path span {
    width: 42px;
    height: 42px;
    font-size: 21px;
  }
  .cost-operation-path::before {
    left: 20px;
  }
  .cost-operation-path strong {
    font-size: 16px;
  }
  .cost-operation-path p {
    font-size: 13px;
  }
  .cost-scene-operation {
    min-height: 0;
  }
  .cost-policy-expand summary {
    font-size: 13px;
    line-height: 1.8;
  }
  .view-estimate .estimate-workspace-heading {
    padding-block: 31px 28px;
  }
  .view-estimate .estimate-workspace-heading h1 {
    font-size: 31px;
  }
  .estimate-workspace-object {
    margin-top: 17px;
    padding-left: 0;
  }
  .estimate-workspace-art {
    height: 205px;
    max-width: 390px;
    margin: 0 auto;
  }
  .estimate-art-sheet {
    padding: 16px;
    gap: 12px;
    min-height: 160px;
  }
  .estimate-art-sheet:nth-child(3) {
    left: 25%;
  }
  .estimate-art-sheet b {
    font-size: 14px;
  }
  .estimate-art-sheet em {
    font-size: 13px;
  }
  .estimate-workspace-object > p {
    margin-top: 14px;
  }
  .estimate-workspace-object > p strong {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cost-story-panel:not([hidden]),
  .cost-story.is-enhanced.is-in-view .cost-story-screen,
  .estimate-workspace-object.is-in-view .estimate-art-sheet {
    animation: none;
  }
  .cost-story-screen,
  .cost-story-tabs button {
    transition: none;
  }
  .cost-story-deck {
    transform: none;
  }
  .cost-story.is-enhanced:not(.is-in-view) .cost-story-screen {
    opacity: 1;
    transform: translateX(var(--fan-x)) rotate(var(--fan-angle));
  }
}
