@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500&display=swap');

:root {
  --brand: #173b63;
  --brand-dark: #0b223d;
  --accent: #0b8b8d;
  --cwp-red: #d92d32;
  --cwp-surface: #f4f8fb;
  --cwp-ease: cubic-bezier(.22, 1, .36, 1);
}

/* Keep layout space but hide fallback header markup until shared styles are ready. */
#site-header:not([data-header-ready="true"]) {
  visibility: hidden;
}

@media (min-width: 861px) {
  #site-header:not([data-header-ready="true"]) { min-height: 84px; }
}

@media (max-width: 860px) {
  #site-header:not([data-header-ready="true"]) { min-height: 72px; }
}

/* 2026-08 visual refinement: clearer hierarchy, calmer surfaces and unified interactions. */
:root {
  --cwp-ink: #10243c;
  --cwp-muted: #607083;
  --cwp-line: #dce6ef;
  --cwp-warm: #f06b3f;
  --cwp-shadow-sm: 0 12px 30px rgba(15, 34, 56, .065);
  --cwp-shadow-lg: 0 24px 58px rgba(15, 34, 56, .12);
}

body {
  color: var(--cwp-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body #site-header .nav-wrap {
  min-height: 80px;
}

body #site-header .nav {
  gap: 4px;
}

body #site-header .nav a {
  padding-inline: 13px;
}

body #site-header .nav a[data-nav="contact"] {
  margin-left: 5px;
  padding: 11px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #173b63, #0b646d);
  color: #fff;
  box-shadow: 0 9px 22px rgba(15, 68, 94, .17);
}

body #site-header .nav a[data-nav="contact"]::after {
  display: none;
}

body #site-header .nav a[data-nav="contact"]:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 68, 94, .24);
}

body[data-page="home"] .hero-new .sub {
  max-width: 660px;
  line-height: 1.78;
}

body[data-page="home"] .hero-actions .btn {
  min-height: 52px;
  padding-inline: 23px;
}

body[data-page="home"] .hero-card {
  border-radius: 24px;
}

body[data-page="home"] .metric-item {
  border-radius: 14px;
  transition: transform .25s var(--cwp-ease), background .25s ease, border-color .25s ease;
}

body[data-page="home"] .metric-item:hover {
  transform: translateX(4px);
  border-color: rgba(135, 238, 231, .28);
  background: rgba(255, 255, 255, .12);
}

body[data-page="home"] .section {
  padding-block: clamp(74px, 8vw, 108px);
}

body[data-page="home"] .section-head {
  margin-bottom: 42px;
}

body[data-page="home"] .section-head p {
  max-width: 720px;
  color: var(--cwp-muted);
  line-height: 1.75;
}

body[data-page="home"] #mobile-ready {
  position: relative;
  background: #fff;
}

body[data-page="home"] #mobile-ready::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 92% 12%, rgba(11, 139, 141, .07), transparent 24%);
}

body[data-page="home"] .why-grid .card,
body[data-page="home"] .point-grid .card,
body[data-page="home"] .plan-grid .card {
  padding: 30px;
  border-radius: 22px;
  box-shadow: var(--cwp-shadow-sm);
}

body[data-page="home"] .why-value {
  display: inline-block;
  margin-bottom: 18px;
  color: #0d7479;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1;
  letter-spacing: -.04em;
}

body[data-page="home"] .plan-card:nth-child(2) {
  border-color: rgba(11, 139, 141, .42);
  background:
    radial-gradient(circle at 100% 0, rgba(41, 202, 194, .11), transparent 28%),
    linear-gradient(155deg, #fff 0%, #f6fcfc 100%);
  box-shadow: 0 24px 56px rgba(11, 103, 110, .14);
}

body[data-page="home"] .plan-card:nth-child(2) .tag {
  color: #fff;
  background: linear-gradient(135deg, #178b89, #0b646d);
}

body[data-page="home"] .process-grid {
  counter-reset: cwp-process;
  gap: 12px;
}

body[data-page="home"] .why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-page="home"] .process-grid-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page="home"] #process .mini-note a {
  color: #0b7479;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(11, 116, 121, .28);
  text-underline-offset: 4px;
}

body[data-page="home"] .process-step {
  min-height: 210px;
  padding: 28px 24px;
}

body[data-page="home"] .process-step::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -14px;
  z-index: 2;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, #77b8bf, transparent);
}

body[data-page="home"] .process-step:last-child::after {
  display: none;
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid rgba(15, 139, 141, .34);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  body[data-page="home"] .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .process-step::after {
    display: none;
  }
}

@media (max-width: 860px) {
  body #site-header .nav-wrap {
    min-height: 72px;
  }

  body[data-page="home"] .section {
    padding-block: 68px;
  }

  body[data-page="home"] .section-head {
    margin-bottom: 30px;
  }

  body[data-page="home"] .why-grid .card,
  body[data-page="home"] .point-grid .card,
  body[data-page="home"] .plan-grid .card {
    padding: 24px;
  }

  body[data-page="home"] .process-step {
    min-height: 0;
  }

  body[data-page="home"] .why-grid,
  body[data-page="home"] .process-grid-summary {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) {
  .card:hover,
  .compare-card:hover,
  .option-card:hover,
  .status-card:hover,
  .contact-wrap > .panel:hover,
  .gallery .shot:hover,
  .note-box:hover,
  body[data-page="home"] .metric-item:hover {
    transform: none;
  }
}

/* 컨트롤웹프로 primary wordmark */
.cwp-wordmark {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: end;
  width: max-content;
  max-width: 100%;
  color: #10223a;
  font-family: Pretendard, "Noto Sans KR", "Segoe UI", sans-serif;
  font-size: 2rem;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -.07em;
  white-space: nowrap;
}

.cwp-wordmark-domain {
  display: inline-flex;
  grid-column: 1 / -1;
  margin-top: 6px;
  font-size: .39em;
  font-weight: 650;
  line-height: 1;
  letter-spacing: .125em;
  transform: translateX(3px);
}

.cwp-wordmark-domain > span:first-child {
  color: #536477;
}

.cwp-wordmark-domain > span:nth-child(2) {
  color: #dc633b;
}

.cwp-wordmark-domain > span:last-child {
  color: #536477;
}

.cwp-wordmark-web {
  color: #dc633b;
  font-weight: 850;
  letter-spacing: -.08em;
}

.cwp-wordmark-pro {
  color: #dc633b;
  font-weight: 780;
}

.cwp-wordmark-footer {
  font-size: 1.75rem;
}

body {
  background: #fff;
}

body #site-header .site-header {
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .05);
  transition: background .3s ease, box-shadow .3s ease;
}

body.cwp-scrolled #site-header .site-header {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .11);
}

body #site-header .nav a {
  isolation: isolate;
  transition: color .2s ease;
}

body #site-header .nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: calc(100% - 4px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cwp-red), var(--accent));
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform .22s var(--cwp-ease);
  pointer-events: none;
}

body #site-header .nav a:hover {
  color: #173b63;
}

body #site-header .nav a:hover::after,
body #site-header .nav a.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

body #site-header .nav a.is-active {
  color: var(--cwp-red);
}

/* The contact item is a filled CTA, so its active state keeps button contrast. */
body #site-header .nav a[data-nav="contact"].is-active,
body #site-header .nav a[data-nav="contact"].is-active:hover {
  color: #fff;
}

main .hero-new::after,
main .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(to right, #000, transparent 78%);
  mask-image: linear-gradient(to right, #000, transparent 78%);
}

main .hero {
  position: relative;
  overflow: hidden;
}

main .hero > .container {
  position: relative;
  z-index: 2;
}

main .hero-new .hero-grid {
  z-index: 2;
}

.section.alt {
  background-color: var(--cwp-surface);
  background-image:
    radial-gradient(circle at 7% 14%, rgba(11, 139, 141, .055), transparent 25%),
    linear-gradient(rgba(23, 59, 99, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 59, 99, .022) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}

.section-head .kicker,
.head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(11, 139, 141, .18);
  border-radius: 999px;
  background: rgba(11, 139, 141, .075);
  color: #126d75;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .075em;
}

.section-head .kicker::before,
.head .kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2b79b8, var(--accent));
  box-shadow: 0 0 0 4px rgba(11, 139, 141, .1);
}

.section-head h2::after,
.head h2::after {
  background: linear-gradient(90deg, #275f93 0%, var(--accent) 100%);
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform .68s var(--cwp-ease) .14s;
}

.head h2 {
  position: relative;
  padding-bottom: 18px;
}

.head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 2px;
  border-radius: 999px;
}

.cwp-motion-ready .section-head.cwp-reveal:not(.is-revealed) h2::after,
.cwp-motion-ready .head.cwp-reveal:not(.is-revealed) h2::after {
  transform: scaleX(0);
}

.card,
.compare-card,
.option-card,
.status-card,
.contact-wrap > .panel,
.gallery .shot,
.note-box {
  border-color: rgba(211, 222, 234, .9);
  background: linear-gradient(155deg, #fff 0%, #fbfdff 100%);
  box-shadow: 0 16px 38px rgba(15, 34, 56, .065);
  transition: transform .32s var(--cwp-ease), box-shadow .32s ease, border-color .32s ease;
}

.card {
  position: relative;
  overflow: hidden;
}

.card::before {
  background: linear-gradient(90deg, #275f93 0%, var(--accent) 100%);
}

main .grid .card b {
  background: rgba(11, 139, 141, .1);
  color: #126d75;
}

main .flow small {
  color: #72d4d1;
}

main .product-copy .product-label {
  background: rgba(11, 139, 141, .1);
  color: #126d75;
}

main .preview-search b {
  background: linear-gradient(135deg, #2475a7, var(--accent));
}

.card:hover,
.compare-card:hover,
.option-card:hover,
.status-card:hover,
.contact-wrap > .panel:hover,
.gallery .shot:hover,
.note-box:hover {
  transform: translateY(-5px);
  border-color: rgba(11, 139, 141, .3);
  box-shadow: 0 24px 52px rgba(15, 34, 56, .12);
}

.btn,
.pkg-btn,
.kakao-link,
.whatsapp-link,
.phone-link {
  transition: transform .26s var(--cwp-ease), box-shadow .26s ease, background-color .26s ease, border-color .26s ease;
}

.btn:hover,
.pkg-btn:hover,
.kakao-link:hover,
.whatsapp-link:hover,
.phone-link:hover {
  transform: translateY(-2px);
}

.btn-primary,
.primary {
  box-shadow: 0 12px 28px rgba(23, 59, 99, .24);
}

.cwp-motion-ready .cwp-hero-item {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity .52s var(--cwp-ease), transform .52s var(--cwp-ease);
  transition-delay: var(--cwp-hero-delay, 0ms);
}

.cwp-motion-ready.cwp-page-visible .cwp-hero-item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.cwp-motion-ready .cwp-reveal {
  opacity: 1;
  transition: opacity .52s var(--cwp-ease), transform .52s var(--cwp-ease);
}

.cwp-motion-ready .cwp-reveal:not(.is-revealed) {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition-delay: var(--cwp-reveal-delay, 0ms);
}

@media (max-width: 860px) {
  main .hero-new::after,
  main .hero::after {
    background-size: 36px 36px;
    opacity: .24;
  }

  .cwp-motion-ready .cwp-hero-item,
  .cwp-motion-ready .cwp-reveal:not(.is-revealed) {
    transform: translate3d(0, 8px, 0);
  }

  .section-head .kicker,
  .head .kicker {
    font-size: .74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }

  .cwp-motion-ready .cwp-hero-item,
  .cwp-motion-ready .cwp-reveal:not(.is-revealed) {
    opacity: 1;
    transform: none;
  }
}

/* Home hero: brighter, more visual first impression without losing B2B clarity. */
body[data-page="home"] .hero-new {
  isolation: isolate;
  min-height: 650px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  box-shadow: inset 0 -80px 100px rgba(7, 25, 43, .16);
}

body[data-page="home"] .hero-new::before {
  background:
    linear-gradient(90deg, rgba(6, 23, 42, .62) 0%, rgba(9, 35, 58, .44) 48%, rgba(8, 44, 58, .22) 100%),
    linear-gradient(180deg, rgba(7, 24, 42, .12) 0%, rgba(7, 24, 42, .44) 100%),
    radial-gradient(circle at 76% 18%, rgba(22, 211, 210, .30), transparent 28%),
    radial-gradient(circle at 88% 76%, rgba(255, 143, 64, .24), transparent 30%);
}

body[data-page="home"] .hero-new::after {
  opacity: .45;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px),
    radial-gradient(circle at 84% 20%, rgba(65, 232, 221, .34), transparent 22%),
    radial-gradient(circle at 93% 76%, rgba(255, 153, 82, .28), transparent 24%);
  background-size: 52px 52px, 52px 52px, auto, auto;
}

body[data-page="home"] .hero-video {
  filter: saturate(1.16) contrast(1.03) brightness(1.22);
}

body[data-page="home"] .eyebrow {
  border-color: rgba(119, 238, 232, .46);
  background: rgba(9, 77, 92, .42);
  color: #eaffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
  backdrop-filter: blur(12px);
}

body[data-page="home"] .title-accent-blue {
  color: #aeeeff;
  text-shadow: 0 8px 30px rgba(28, 197, 220, .32);
}

body[data-page="home"] .title-accent-orange {
  color: #ffb36f;
  text-shadow: 0 8px 30px rgba(255, 133, 46, .30);
}

body[data-page="home"] .hero-new .sub {
  color: #f0f7ff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .38);
}

body[data-page="home"] .hero-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, .09));
  border-color: rgba(255, 255, 255, .28);
  box-shadow: 0 28px 70px rgba(3, 18, 31, .34), inset 0 1px 0 rgba(255, 255, 255, .20);
  backdrop-filter: blur(18px) saturate(1.18);
}

body[data-page="home"] .metric-item {
  background: linear-gradient(135deg, rgba(13, 65, 82, .52), rgba(25, 43, 67, .36));
  border-color: rgba(157, 239, 235, .23);
}

body[data-page="home"] .btn-primary {
  background: linear-gradient(135deg, #ff9b45 0%, #ec5f3d 100%);
  box-shadow: 0 16px 36px rgba(236, 95, 61, .32);
}

body[data-page="home"] .btn-secondary {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .38);
  backdrop-filter: blur(10px);
}

@media (max-width: 860px) {
  body[data-page="home"] .hero-new {
    min-height: 590px;
  }

  body[data-page="home"] .hero-new::before {
    background:
      linear-gradient(90deg, rgba(6, 23, 42, .60), rgba(8, 36, 54, .30)),
      linear-gradient(180deg, rgba(6, 23, 42, .16), rgba(6, 23, 42, .46)),
      radial-gradient(circle at 82% 18%, rgba(22, 211, 210, .22), transparent 32%);
  }
}

/* Shared hero system: home, case study, packages and contact. */
body:is([data-page="home"], [data-page="case"], [data-page="pricing"], [data-page="contact"]) .hero-new {
  isolation: isolate;
  min-height: 650px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  box-shadow: inset 0 -80px 100px rgba(7, 25, 43, .16);
}

body[data-page="case"] .hero-new {
  background-image: url("img/case-sact-hero.jpg");
  background-position: center;
  background-size: cover;
}

body[data-page="pricing"] .hero-new {
  background-image: url("img/pricing-hero-industrial-v2.png");
  background-position: center;
  background-size: cover;
}

/* Premium home composition: varied rhythm instead of repeated white cards. */
body[data-page="home"] #problem {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 92% 12%, rgba(33, 211, 203, .18), transparent 28%),
    radial-gradient(circle at 8% 92%, rgba(255, 141, 65, .13), transparent 26%),
    linear-gradient(135deg, #091b31 0%, #102f50 58%, #0a4b54 130%);
}

body[data-page="home"] #problem::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 82%);
  mask-image: linear-gradient(120deg, #000, transparent 82%);
}

body[data-page="home"] #problem .section-head h2,
body[data-page="home"] #problem .problem-item h3 {
  color: #fff;
}

body[data-page="home"] #problem .section-head p,
body[data-page="home"] #problem .problem-item p {
  color: rgba(232, 244, 255, .78);
}

body[data-page="home"] #problem .section-head .kicker {
  color: #aef8f3;
  border-color: rgba(123, 241, 234, .25);
  background: rgba(69, 214, 207, .10);
}

body[data-page="home"] #problem .problem-item {
  min-height: 154px;
  border-color: rgba(174, 237, 239, .16);
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.045));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 20px 44px rgba(0,0,0,.16);
  backdrop-filter: blur(12px);
}

body[data-page="home"] #problem .problem-item::before {
  background: linear-gradient(90deg, #52ddd5, #ff9b53);
}

body[data-page="home"] #problem .problem-item .num {
  background: linear-gradient(135deg, rgba(64,214,206,.24), rgba(255,145,77,.22));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 10px 24px rgba(0,0,0,.16);
}

body[data-page="home"] #case .case-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(83, 205, 200, .20);
  background:
    radial-gradient(circle at 92% 12%, rgba(52, 219, 208, .18), transparent 30%),
    linear-gradient(135deg, #0c2139 0%, #102d4d 65%, #0b4b53 130%);
  box-shadow: 0 32px 72px rgba(10, 32, 57, .22);
}

body[data-page="home"] #case .case-image {
  min-height: 390px;
  padding: 14px;
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 24px 50px rgba(0,0,0,.24);
}

body[data-page="home"] #case .case-image img {
  min-height: 360px;
  border-radius: 14px;
}

body[data-page="home"] #case .case-copy h3 {
  color: #fff;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}

body[data-page="home"] #case .case-copy p {
  color: rgba(235, 246, 255, .78);
  font-size: 1.06rem;
}

body[data-page="home"] #case .point-grid .card {
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  padding: 18px 24px 18px 0;
}

body[data-page="home"] #case .point-grid .card::before {
  left: 0;
  right: auto;
  width: 42px;
  height: 3px;
}

body[data-page="home"] .why-grid {
  gap: 0;
  overflow: hidden;
  border: 1px solid #dce7ef;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 54px rgba(15, 34, 56, .09);
}

body[data-page="home"] .why-grid .card {
  min-height: 270px;
  border: 0;
  border-right: 1px solid #e3ebf2;
  border-radius: 0;
  box-shadow: none;
  padding: 34px;
}

body[data-page="home"] .why-grid .card:last-child {
  border-right: 0;
}

body[data-page="home"] .why-value {
  display: block;
  margin-bottom: 28px;
  color: #0b7e84;
  min-width: 0;
  font-size: clamp(1.7rem, 2.25vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -1.35px;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

body[data-page="home"] .process-grid {
  position: relative;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(61, 120, 159, .17);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff 0%, #f5fbfc 100%);
  box-shadow: 0 24px 54px rgba(15, 34, 56, .08);
}

body[data-page="home"] .process-step {
  min-height: 230px;
  border: 0;
  border-right: 1px solid #e0e9f0;
  border-radius: 0;
  box-shadow: none;
  padding: 34px 24px;
}

body[data-page="home"] .process-step:last-child {
  border-right: 0;
}

body[data-page="home"] .process-step::before {
  height: 4px;
  background: linear-gradient(90deg, #2477a5, #18a8a2, #ff914d);
}

body[data-page="home"] .mobile-quicknav {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 26px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 26px), transparent 100%);
}

body[data-page="home"] .card p,
body[data-page="home"] .section-head p {
  line-height: 1.75;
}

@keyframes cwp-grid-breathe {
  0%, 100% { opacity: .34; transform: translate3d(0,0,0); }
  50% { opacity: .48; transform: translate3d(-8px,6px,0); }
}

@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  body[data-page="home"] .hero-new::after {
    animation: cwp-grid-breathe 10s ease-in-out infinite;
  }
}

@media (max-width: 860px) {
  body[data-page="home"] #problem .problem-item {
    min-height: 132px;
  }

  body[data-page="home"] #case .case-image,
  body[data-page="home"] #case .case-image img {
    min-height: 240px;
  }

  body[data-page="home"] .why-grid,
  body[data-page="home"] .process-grid {
    gap: 0;
  }

  body[data-page="home"] .why-grid .card,
  body[data-page="home"] .process-step {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #e0e9f0;
    padding: 26px 24px;
  }

  body[data-page="home"] .why-grid .card:last-child,
  body[data-page="home"] .process-step:last-child {
    border-bottom: 0;
  }

  body[data-page="home"] .why-value {
    margin-bottom: 16px;
    font-size: 2.25rem;
  }
}

body[data-page="contact"] .hero-new {
  background-image: url("img/contact-hero.jpg");
  background-position: center;
  background-size: cover;
}

body:is([data-page="home"], [data-page="case"], [data-page="pricing"], [data-page="contact"]) .hero-new::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 23, 42, .78) 0%, rgba(9, 35, 58, .55) 50%, rgba(8, 44, 58, .29) 100%),
    linear-gradient(180deg, rgba(7, 24, 42, .14) 0%, rgba(7, 24, 42, .47) 100%),
    radial-gradient(circle at 76% 18%, rgba(22, 211, 210, .28), transparent 28%),
    radial-gradient(circle at 88% 76%, rgba(255, 143, 64, .22), transparent 30%);
}

body:is([data-page="home"], [data-page="case"], [data-page="pricing"], [data-page="contact"]) .hero-new::after {
  opacity: .43;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px),
    radial-gradient(circle at 84% 20%, rgba(65, 232, 221, .30), transparent 22%),
    radial-gradient(circle at 93% 76%, rgba(255, 153, 82, .25), transparent 24%);
  background-size: 52px 52px, 52px 52px, auto, auto;
}

body:is([data-page="home"], [data-page="case"], [data-page="pricing"], [data-page="contact"]) .hero-grid {
  position: relative;
  z-index: 2;
}

body:is([data-page="home"], [data-page="case"], [data-page="pricing"], [data-page="contact"]) .eyebrow {
  border-color: rgba(119, 238, 232, .46);
  background: rgba(9, 77, 92, .42);
  color: #eaffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
  backdrop-filter: blur(12px);
}

body:is([data-page="home"], [data-page="case"], [data-page="pricing"], [data-page="contact"]) .hero-new h1 {
  text-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}

body:is([data-page="home"], [data-page="case"], [data-page="pricing"], [data-page="contact"]) .hero-new .sub {
  color: #f0f7ff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .38);
}

body:is([data-page="home"], [data-page="case"], [data-page="pricing"], [data-page="contact"]) .hero-card,
body[data-page="case"] .hero-visual {
  background: linear-gradient(145deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, .09));
  border-color: rgba(255, 255, 255, .28);
  box-shadow: 0 28px 70px rgba(3, 18, 31, .34), inset 0 1px 0 rgba(255, 255, 255, .20);
  backdrop-filter: blur(18px) saturate(1.18);
}

body:is([data-page="case"], [data-page="pricing"], [data-page="contact"]) .hero-list div,
body[data-page="case"] .hero-stat-item {
  background: linear-gradient(135deg, rgba(13, 65, 82, .52), rgba(25, 43, 67, .36));
  border-color: rgba(157, 239, 235, .23);
  color: #eefcff;
}

body:is([data-page="home"], [data-page="case"], [data-page="pricing"], [data-page="contact"]) .hero-new .btn-primary {
  background: linear-gradient(135deg, #ff9b45 0%, #ec5f3d 100%);
  box-shadow: 0 16px 36px rgba(236, 95, 61, .32);
}

body:is([data-page="home"], [data-page="case"], [data-page="pricing"], [data-page="contact"]) .hero-new .btn-primary:hover {
  background: linear-gradient(135deg, #ffad61 0%, #e85436 100%);
}

body:is([data-page="home"], [data-page="case"], [data-page="pricing"], [data-page="contact"]) .hero-new .btn-secondary {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .38);
  backdrop-filter: blur(10px);
}

@media (max-width: 860px) {
  body:is([data-page="home"], [data-page="case"], [data-page="pricing"], [data-page="contact"]) .hero-new {
    min-height: 590px;
  }

  body:is([data-page="home"], [data-page="case"], [data-page="pricing"], [data-page="contact"]) .hero-new::before {
    background:
      linear-gradient(90deg, rgba(6, 23, 42, .72), rgba(8, 36, 54, .40)),
      linear-gradient(180deg, rgba(6, 23, 42, .22), rgba(6, 23, 42, .62)),
      radial-gradient(circle at 82% 18%, rgba(22, 211, 210, .22), transparent 32%);
  }
}

/* Home final CTA: high-contrast conversion panel. */
body[data-page="home"] .cta-final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 64px;
  border: 1px solid rgba(150, 235, 232, .24);
  background:
    radial-gradient(circle at 86% 18%, rgba(44, 221, 211, .25), transparent 28%),
    radial-gradient(circle at 72% 110%, rgba(255, 132, 61, .24), transparent 32%),
    linear-gradient(125deg, #102f55 0%, #092944 55%, #07515a 120%);
  box-shadow: 0 32px 76px rgba(19, 59, 99, .22), inset 0 1px 0 rgba(255, 255, 255, .13);
}

body[data-page="home"] .cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .40;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 82%);
  mask-image: linear-gradient(90deg, #000, transparent 82%);
}

body[data-page="home"] .cta-final::after {
  content: "";
  position: absolute;
  right: -62px;
  top: -80px;
  z-index: -1;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(151, 244, 238, .22);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(55, 225, 213, .045),
    0 0 0 88px rgba(255, 147, 76, .035);
}

body[data-page="home"] .cta-final h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.45rem);
  text-shadow: 0 5px 24px rgba(0, 0, 0, .24);
}

body[data-page="home"] .cta-final .title-accent-orange {
  color: #ffb06a;
}

body[data-page="home"] .cta-final p {
  max-width: 760px;
  color: #f0f7ff;
  font-size: 1.08rem;
}

body[data-page="home"] .cta-final-actions {
  margin-top: 32px;
}

body[data-page="home"] .cta-final .cta-consult {
  min-width: 220px;
  border: 0;
  background: linear-gradient(135deg, #ffad5f 0%, #f1643f 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(238, 91, 57, .34);
}

body[data-page="home"] .cta-final .cta-consult::after {
  content: "→";
  margin-left: 10px;
  font-size: 1.08em;
  transition: transform .24s var(--cwp-ease);
}

body[data-page="home"] .cta-final .cta-consult:hover {
  background: linear-gradient(135deg, #ffbc76 0%, #ec5735 100%);
  box-shadow: 0 20px 40px rgba(238, 91, 57, .42);
}

body[data-page="home"] .cta-final .cta-consult:hover::after {
  transform: translateX(4px);
}

body[data-page="home"] .cta-final .cta-package {
  min-width: 142px;
  border: 1px solid rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13);
  backdrop-filter: blur(12px);
}

body[data-page="home"] .cta-final .cta-package:hover {
  background: rgba(255, 255, 255, .20);
  border-color: rgba(255, 255, 255, .62);
}

@media (max-width: 860px) {
  body[data-page="home"] .cta-final {
    padding: 36px 24px;
    border-radius: 26px;
  }

  body[data-page="home"] .cta-final h2 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  body[data-page="home"] .cta-final-actions .btn {
    width: 100%;
  }
}

/* Shared footer: compact brand close and touch-friendly contact actions. */
body:is([data-page="home"], [data-page="solution"], [data-page="case"], [data-page="pricing"], [data-page="products"], [data-page="contact"]) .site-footer {
  padding: 0 0 38px;
  color: #556377;
  background: #fff;
}

body[data-page="home"] #contact.section {
  padding-bottom: 44px;
}

body:is([data-page="home"], [data-page="solution"], [data-page="case"], [data-page="pricing"], [data-page="products"], [data-page="contact"]) .footer-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: center;
  gap: 28px 42px;
  padding: 30px;
  border: 1px solid #e1e9f1;
  border-radius: 24px;
  background:
    radial-gradient(circle at 94% 8%, rgba(11, 139, 141, .08), transparent 24%),
    linear-gradient(145deg, #fff 0%, #f8fbfd 100%);
  box-shadow: 0 18px 44px rgba(15, 34, 56, .07);
}

.footer-brand {
  min-width: 0;
}

.footer-logo {
  width: 210px;
  max-width: 72%;
  height: auto;
}

.footer-logo.cwp-wordmark {
  width: max-content;
  max-width: 100%;
  height: auto;
}

.footer-brand p {
  margin: 12px 0 0;
  color: #5e6b7d;
  font-size: .94rem;
  font-weight: 650;
  word-break: keep-all;
}

.footer-partner {
  white-space: nowrap;
}

.footer-contact {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 60px;
  padding: 10px 15px;
  border: 1px solid #d9e4ed;
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  color: #173b63;
  box-shadow: 0 8px 20px rgba(15, 34, 56, .055);
  transition: transform .24s var(--cwp-ease), border-color .24s ease, box-shadow .24s ease;
}

.footer-contact-link:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 139, 141, .40);
  box-shadow: 0 12px 26px rgba(15, 34, 56, .10);
}

.footer-contact-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(39, 95, 147, .12), rgba(11, 139, 141, .15));
  color: #126d75;
  font-size: 1rem;
}

.footer-contact-link small,
.footer-contact-link strong {
  display: block;
  white-space: nowrap;
}

.footer-contact-link small {
  margin-bottom: 2px;
  color: #748195;
  font-size: .72rem;
  font-weight: 750;
}

.footer-contact-link strong {
  color: #173b63;
  font-size: .88rem;
  line-height: 1.25;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid #e4ebf2;
  color: #7a8798;
  font-size: .78rem;
}

@media (max-width: 860px) {
  body[data-page="home"] #contact.section {
    padding-bottom: 28px;
  }

  body:is([data-page="home"], [data-page="solution"], [data-page="case"], [data-page="pricing"], [data-page="products"], [data-page="contact"]) .site-footer {
    padding-bottom: 116px;
  }

  body:is([data-page="home"], [data-page="solution"], [data-page="case"], [data-page="pricing"], [data-page="products"], [data-page="contact"]) .footer-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 18px;
    border-radius: 20px;
  }

  .footer-logo {
    width: 190px;
  }

  .cwp-wordmark-footer {
    font-size: 1.55rem;
  }

  .footer-brand p {
    max-width: none;
    font-size: .88rem;
    line-height: 1.55;
  }

  .footer-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .footer-contact-link {
    min-width: 0;
    min-height: 64px;
    padding: 9px 10px;
    gap: 8px;
  }

  .footer-contact-icon {
    width: 31px;
    height: 31px;
  }

  .footer-contact-link strong {
    font-size: clamp(.72rem, 3.25vw, .84rem);
  }

  .footer-bottom {
    display: grid;
    gap: 5px;
    padding-top: 16px;
    line-height: 1.5;
  }
}

@media (max-width: 380px) {
  .footer-contact {
    grid-template-columns: 1fr;
  }
}

/* Case study: editorial portfolio rhythm and high-impact comparison. */
body[data-page="case"] #overview .overview-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(91, 214, 207, .22);
  background:
    radial-gradient(circle at 94% 8%, rgba(48, 213, 204, .18), transparent 28%),
    linear-gradient(135deg, #0b2038 0%, #10304e 68%, #0b4c54 135%);
  box-shadow: 0 32px 72px rgba(9, 31, 54, .22);
}

body[data-page="case"] #overview .copy-block h3 {
  color: #fff;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}

body[data-page="case"] #overview .copy-block p {
  color: rgba(235, 246, 255, .80);
  line-height: 1.75;
}

body[data-page="case"] #overview .image-placeholder {
  padding: 12px;
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.10);
  box-shadow: 0 24px 48px rgba(0,0,0,.24);
}

body[data-page="case"] #overview .image-placeholder img {
  border-radius: 14px;
}

body[data-page="case"] #challenge {
  background: #fff;
}

body[data-page="case"] #challenge .grid-2 {
  gap: 0;
  overflow: hidden;
  border: 1px solid #dce7ef;
  border-radius: 26px;
  box-shadow: 0 22px 50px rgba(15,34,56,.08);
}

body[data-page="case"] #challenge .card {
  min-height: 190px;
  border: 0;
  border-right: 1px solid #e2eaf1;
  border-bottom: 1px solid #e2eaf1;
  border-radius: 0;
  box-shadow: none;
  padding: 30px;
}

body[data-page="case"] #before-after {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(41, 211, 203, .17), transparent 27%),
    linear-gradient(135deg, #091b31 0%, #113552 64%, #0b4a52 135%);
}

body[data-page="case"] #before-after .section-head h2 {
  color: #fff;
}

body[data-page="case"] #before-after .section-head p {
  color: rgba(233,244,255,.76);
}

body[data-page="case"] #before-after .section-head .kicker {
  color: #aef7f2;
  border-color: rgba(117,239,232,.24);
  background: rgba(63,211,202,.10);
}

body[data-page="case"] #before-after .status-card {
  min-height: 330px;
  border-color: rgba(255,255,255,.16);
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.055));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 24px 50px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
}

body[data-page="case"] #before-after .status-card h3 {
  color: #fff;
  font-size: 1.55rem;
}

body[data-page="case"] #before-after .status-card ul {
  color: rgba(235,246,255,.80);
  line-height: 1.75;
}

body[data-page="case"] #before-after .before .status-label {
  background: rgba(255,134,99,.17);
  color: #ffb59e;
}

body[data-page="case"] #before-after .after .status-label {
  background: rgba(70,224,211,.16);
  color: #9cf4ed;
}

body[data-page="case"] #gallery .shot {
  overflow: visible;
  padding: 12px 12px 0;
  border-radius: 24px;
  box-shadow: 0 24px 52px rgba(15,34,56,.10);
}

body[data-page="case"] #gallery .shot::before {
  content: "";
  display: block;
  width: 44px;
  height: 7px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #d7e0e9;
}

body[data-page="case"] #gallery .shot .image-placeholder {
  border-radius: 14px;
  overflow: hidden;
}

/* Pricing: quick decision layer and stronger featured package. */
body[data-page="pricing"] .package-choice-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 42px;
  overflow: hidden;
  border: 1px solid rgba(83, 210, 204, .20);
  border-radius: 24px;
  background: rgba(255,255,255,.14);
  box-shadow: 0 24px 56px rgba(10,34,58,.16);
}

body[data-page="pricing"] .package-choice-guide > div {
  min-height: 142px;
  padding: 26px;
  background: linear-gradient(145deg, #0d2540, #123a52);
  color: #fff;
}

body[data-page="pricing"] .package-choice-guide .is-recommended {
  background:
    radial-gradient(circle at 88% 10%, rgba(255,159,82,.25), transparent 30%),
    linear-gradient(145deg, #0d4652, #116067);
}

body[data-page="pricing"] .package-choice-guide span,
body[data-page="pricing"] .package-choice-guide strong,
body[data-page="pricing"] .package-choice-guide small {
  display: block;
}

body[data-page="pricing"] .package-choice-guide span {
  color: #9dece7;
  font-size: .8rem;
  font-weight: 850;
}

body[data-page="pricing"] .package-choice-guide strong {
  margin: 7px 0;
  font-size: 1.65rem;
}

body[data-page="pricing"] .package-choice-guide small {
  color: rgba(237,247,255,.72);
  line-height: 1.5;
}

body[data-page="pricing"] .compare-card.featured {
  transform: translateY(-10px);
  border-color: #11928f;
  background:
    radial-gradient(circle at 100% 0, rgba(42,210,201,.11), transparent 24%),
    linear-gradient(180deg,#fff 0%,#f7fcfc 100%);
  box-shadow: 0 30px 68px rgba(11,92,99,.18);
}

body[data-page="pricing"] .compare-card {
  overflow: visible !important;
}

body[data-page="pricing"] .compare-card.featured::after {
  content: "★ 가장 많이 선택";
  background: linear-gradient(135deg, #0d8e8c, #0b676e);
}

body[data-page="pricing"] .operation-banner {
  color: #fff;
  border-color: rgba(83,210,204,.22);
  background:
    radial-gradient(circle at 88% 12%, rgba(47,216,205,.20), transparent 30%),
    linear-gradient(135deg, #0c233e, #0c4e58);
  box-shadow: 0 26px 60px rgba(10,34,58,.18);
}

body[data-page="pricing"] .operation-banner h3,
body[data-page="pricing"] .operation-banner p {
  color: #fff;
}

body[data-page="pricing"] .operation-banner p {
  opacity: .76;
}

/* Contact: equal-height columns with useful pre-inquiry guidance. */
body[data-page="contact"] .contact-wrap {
  align-items: stretch;
}

body[data-page="contact"] .contact-summary {
  display: flex;
  flex-direction: column;
  color: #fff;
  border-color: rgba(77,218,210,.20);
  background:
    radial-gradient(circle at 92% 8%, rgba(49,220,210,.20), transparent 28%),
    linear-gradient(145deg, #0b2139 0%, #103b53 72%, #0b5158 135%);
  box-shadow: 0 28px 66px rgba(9,31,54,.20);
}

body[data-page="contact"] .contact-summary h3 {
  color: #fff;
}

body[data-page="contact"] .contact-summary > p {
  color: rgba(234,246,255,.76);
}

body[data-page="contact"] .contact-summary .badge {
  align-self: flex-start;
  color: #aaf5ef;
  background: rgba(65,214,205,.13);
}

body[data-page="contact"] .consultation-details {
  display: grid;
  gap: 12px;
  margin: 4px 0 18px;
}

body[data-page="contact"] .consultation-detail {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 17px;
  border: 1px solid rgba(192,239,238,.15);
  border-radius: 17px;
  background: rgba(255,255,255,.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

body[data-page="contact"] .consultation-detail .detail-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #9df2eb;
  background: rgba(57,216,207,.14);
  font-size: .76rem;
  font-weight: 900;
}

body[data-page="contact"] .consultation-detail strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
}

body[data-page="contact"] .consultation-detail p {
  margin: 0;
  color: rgba(232,245,255,.72);
  font-size: .88rem;
  line-height: 1.6;
}

body[data-page="contact"] .consultation-free {
  border-color: rgba(255,169,97,.28);
  background: linear-gradient(135deg, rgba(255,145,76,.14), rgba(255,255,255,.07));
}

body[data-page="contact"] .consultation-free .detail-number {
  color: #fff;
  background: linear-gradient(135deg, #ff9c4d, #eb6842);
}

body[data-page="contact"] .reply-guide {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 2px;
  padding: 13px 2px;
  border-top: 1px solid rgba(255,255,255,.13);
  color: rgba(235,246,255,.72);
  font-size: .88rem;
}

body[data-page="contact"] .reply-guide strong {
  color: #fff;
}

body[data-page="contact"] .contact-direct {
  margin-top: auto;
}

body[data-page="contact"] .contact-note {
  color: rgba(235,246,255,.68);
}

body[data-page="contact"] .panel.form {
  box-shadow: 0 28px 66px rgba(15,34,56,.10);
}

@media (max-width: 980px) {
  body[data-page="pricing"] .package-choice-guide {
    grid-template-columns: 1fr;
  }

  body[data-page="pricing"] .compare-card.featured {
    transform: none;
  }
}

@media (max-width: 860px) {
  body[data-page="case"] #challenge .grid-2 {
    gap: 0;
  }

  body[data-page="case"] #challenge .card {
    min-height: 0;
    border-right: 0;
    padding: 24px;
  }

  body[data-page="case"] #before-after .status-card {
    min-height: 0;
  }

  body[data-page="pricing"] .package-choice-guide > div {
    min-height: 0;
    padding: 22px;
  }

  body[data-page="contact"] .consultation-detail {
    grid-template-columns: 42px 1fr;
    padding: 15px;
  }

  body[data-page="contact"] .reply-guide {
    display: grid;
  }
}

/* Home video hero: retain text contrast while keeping the footage visible. */
body[data-page="home"] .hero-new::before {
  background:
    linear-gradient(90deg, rgba(6, 23, 42, .58) 0%, rgba(9, 35, 58, .40) 48%, rgba(8, 44, 58, .20) 100%),
    linear-gradient(180deg, rgba(7, 24, 42, .10) 0%, rgba(7, 24, 42, .40) 100%),
    radial-gradient(circle at 76% 18%, rgba(22, 211, 210, .24), transparent 28%);
}

@media (max-width: 860px) {
  body[data-page="home"] .hero-new::before {
    background:
      linear-gradient(90deg, rgba(6, 23, 42, .56), rgba(8, 36, 54, .28)),
      linear-gradient(180deg, rgba(6, 23, 42, .14), rgba(6, 23, 42, .40)),
      radial-gradient(circle at 82% 18%, rgba(22, 211, 210, .18), transparent 32%);
  }
}

/* Home visual restraint: fewer nested cards and calmer section contrast. */
body[data-page="home"] .hero-card {
  padding: 25px 27px;
  border-color: rgba(255,255,255,.18);
  background: rgba(7, 30, 48, .52);
  box-shadow: 0 18px 44px rgba(3, 18, 31, .22);
  backdrop-filter: blur(12px) saturate(1.08);
}

body[data-page="home"] .hero-card .metric {
  gap: 0;
  margin-top: 0;
}

body[data-page="home"] .hero-card .metric-item {
  padding: 16px 0;
  border: 0;
  border-top: 1px solid rgba(185, 229, 230, .20);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .hero-card .metric-item:first-child {
  padding-top: 0;
  border-top: 0;
}

body[data-page="home"] .hero-card .metric-item:last-child {
  padding-bottom: 0;
}

body[data-page="home"] .hero-card .metric-item:hover {
  transform: none;
  border-color: rgba(185, 229, 230, .20);
  background: transparent;
}

body[data-page="home"] #problem {
  color: var(--cwp-ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(11, 139, 141, .09), transparent 28%),
    linear-gradient(180deg, #f2f7f9 0%, #eef4f7 100%);
}

body[data-page="home"] #problem::before {
  opacity: .20;
  background-image:
    linear-gradient(rgba(23, 59, 99, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 59, 99, .08) 1px, transparent 1px);
}

body[data-page="home"] #problem .section-head h2,
body[data-page="home"] #problem .problem-item h3 {
  color: var(--cwp-ink);
}

body[data-page="home"] #problem .section-head p,
body[data-page="home"] #problem .problem-item p {
  color: var(--cwp-muted);
}

body[data-page="home"] #problem .section-head .kicker {
  color: #0b7479;
  border-color: rgba(11, 139, 141, .18);
  background: rgba(11, 139, 141, .07);
}

body[data-page="home"] #problem .problem-item {
  min-height: 142px;
  border-color: #d8e4ea;
  background: rgba(255,255,255,.72);
  box-shadow: 0 8px 22px rgba(15, 34, 56, .045);
  backdrop-filter: none;
}

body[data-page="home"] #problem .problem-item::before {
  opacity: .58;
  background: linear-gradient(90deg, #2da7a2, #f28c38);
}

body[data-page="home"] #problem .problem-item .num {
  color: #0b7479;
  background: #e5f2f2;
  box-shadow: none;
}

body[data-page="home"] .card {
  box-shadow: 0 8px 22px rgba(15, 34, 56, .045);
}

body[data-page="home"] .card::before {
  opacity: .55;
}

body[data-page="home"] .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 34, 56, .07);
}

body[data-page="home"] .why-grid,
body[data-page="home"] .process-grid {
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(15, 34, 56, .06);
}

body[data-page="home"] .plan-grid .card {
  border-radius: 18px;
}

body[data-page="home"] .plan-card:nth-child(2) {
  box-shadow: 0 14px 34px rgba(11, 103, 110, .09);
}

body[data-page="home"] .section-head h2::after {
  box-shadow: none;
}

@media (max-width: 860px) {
  body[data-page="home"] #problem .problem-item {
    min-height: 0;
  }
}

/* Shared hero-aside system: information and media variants. */
body:is([data-page="home"], [data-page="pricing"], [data-page="contact"]) .hero-card,
body[data-page="solution"] .hero-panel,
body[data-page="case"] .hero-visual {
  padding: 25px 27px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: rgba(7, 30, 48, .52);
  box-shadow: 0 18px 44px rgba(3, 18, 31, .22);
  backdrop-filter: blur(12px) saturate(1.08);
}

body:is([data-page="pricing"], [data-page="contact"]) .hero-list {
  gap: 0;
}

body:is([data-page="pricing"], [data-page="contact"]) .hero-list div {
  padding: 15px 0;
  border: 0;
  border-top: 1px solid rgba(185, 229, 230, .20);
  border-radius: 0;
  background: transparent;
}

body:is([data-page="pricing"], [data-page="contact"]) .hero-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

body:is([data-page="pricing"], [data-page="contact"]) .hero-list div:last-child {
  padding-bottom: 0;
}

body[data-page="solution"] .hero-panel ul {
  gap: 0;
}

body[data-page="solution"] .hero-panel li {
  padding: 13px 0 13px 26px;
  border-top: 1px solid rgba(185, 229, 230, .20);
}

body[data-page="solution"] .hero-panel li:first-child {
  padding-top: 0;
  border-top: 0;
}

body[data-page="solution"] .hero-panel li:last-child {
  padding-bottom: 0;
}

body[data-page="solution"] .hero-panel li::before {
  color: #79ddd7;
}

body[data-page="case"] .hero-visual {
  padding: 12px;
  background: rgba(7, 30, 48, .44);
  backdrop-filter: blur(8px) saturate(1.04);
}

body[data-page="case"] .hero-visual img {
  border-radius: 14px;
}

body[data-page="case"] .hero-note {
  margin: 10px 4px 2px;
  color: rgba(232, 245, 255, .76);
}
