﻿@font-face {
  font-family: "Paperlogy";
  src: url("./font/title/Paperlogy-7Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("./font/text/NotoSansKR-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("./font/text/NotoSansKR-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("./font/text/NotoSansKR-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("./font/text/NotoSansKR-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

html {
  scroll-padding-top: 5.5rem;
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 6.5rem;
  }
}

/* #consult-form 으로 이동 시 고정 헤더에 가리지 않도록 */
#consult-form {
  scroll-margin-top: 0.75rem;
}

body {
  font-family: "Noto Sans KR", sans-serif;
}

h1,
h2,
h3,
.title-font {
  font-family: "Paperlogy", "Noto Sans KR", sans-serif;
}

/* Header navigation uses title font */
.site-header {
  font-family: "Paperlogy", "Noto Sans KR", sans-serif;
}

/* Header color states (top vs scrolled) */
.site-header.is-top {
  background: rgba(255, 255, 255, 0);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}

.site-header.is-scrolled {
  background: rgba(250, 250, 249, 0.82);
  border-bottom: 1px solid rgba(231, 229, 228, 0.9);
}

.site-header .header-nav-links a {
  transition: color 180ms ease;
}

.site-header.is-top .header-nav-links a {
  color: #12203f;
  text-shadow: none;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 9999px;
  padding: 8px 14px;
  box-shadow: 0 8px 20px rgba(7, 17, 40, 0.16);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.site-header.is-top .header-nav-links a:hover {
  color: #0b1630;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 1);
}

.site-header.is-scrolled .header-nav-links a {
  color: rgba(27, 28, 28, 0.82);
}

.site-header.is-scrolled .header-nav-links a:hover {
  color: #0f2744;
}

/* Logo visibility on transparent header */
.site-header.is-top img {
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55));
}

.site-header.is-scrolled img {
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.22));
}

.site-header.is-top .site-header__brand-name {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.site-header.is-scrolled .site-header__brand-name {
  color: #0f2744;
  text-shadow: none;
}

/* Mobile menu: overlay + panel slides in from the right */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  visibility: hidden;
}

.mobile-nav-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.mobile-nav-drawer.is-open .mobile-nav-drawer__backdrop {
  opacity: 1;
}

.mobile-nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  height: 100dvh;
  width: min(88vw, 300px);
  max-width: 100%;
  background: #fafaf9;
  box-shadow: -16px 0 48px rgba(15, 39, 68, 0.18);
  display: flex;
  flex-direction: column;
  padding: 0;
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  transform: translate3d(100%, 0, 0);
  transition: transform 0.34s cubic-bezier(0.22, 0.7, 0.2, 1);
  will-change: transform;
}

.mobile-nav-drawer.is-open .mobile-nav-drawer__panel {
  transform: translate3d(0, 0, 0);
}

.mobile-nav-drawer__close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top, 0px));
  right: max(0.75rem, env(safe-area-inset-right, 0px));
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: #1c1917;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.mobile-nav-drawer__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.mobile-nav-drawer__nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4.25rem 1.25rem 1rem;
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
}

.mobile-nav-drawer .mobile-nav-link {
  display: block;
  padding: 0.9rem 0.35rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #1c1917;
  text-decoration: none;
  border-bottom: 1px solid rgba(231, 229, 228, 0.95);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.mobile-nav-drawer .mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-drawer .mobile-nav-link:hover,
.mobile-nav-drawer .mobile-nav-link:active {
  color: #0f2744;
  background: rgba(15, 39, 68, 0.04);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-drawer__panel,
  .mobile-nav-drawer__backdrop {
    transition-duration: 0.01ms;
  }
}

.label-style {
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Hero kicker + hashtag pills: navy gradient, white text */
.hero-kicker {
  color: #ffffff !important;
  background: linear-gradient(135deg, #071a2e 0%, #0f2744 38%, #1a3d5c 72%, #244a6e 100%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow:
    0 10px 28px rgba(7, 26, 46, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  -webkit-font-smoothing: antialiased;
}

/* Hero hashtags: pill buttons (match kicker vibe) */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 767px) {
  .hero-tags {
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.125rem 0.25rem;
    overflow: visible;
  }

  .hero-tag-pill {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    font-size: clamp(0.5rem, 2.05vw, 0.6875rem);
    padding: 0.26rem 0.22rem;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }
}

@media (min-width: 768px) {
  .hero-tags {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-bottom: 2.25rem;
  }
}

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #ffffff;
  background: linear-gradient(135deg, #071a2e 0%, #0f2744 38%, #1a3d5c 72%, #244a6e 100%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 9999px;
  padding: 0.45rem 0.85rem;
  box-shadow:
    0 8px 22px rgba(7, 26, 46, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
  .hero-tag-pill {
    font-size: clamp(1rem, 0.35vw + 0.88rem, 1.1875rem);
    padding: 0.58rem 1.2rem;
    letter-spacing: 0.03em;
    box-shadow:
      0 10px 26px rgba(7, 26, 46, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }
}

@media (min-width: 1280px) {
  .hero-tag-pill {
    font-size: 1.25rem;
    padding: 0.65rem 1.35rem;
  }
}

/* Hero: Kakao CTA (brand yellow) */
.hero-kakao-cta {
  background: #fee500;
  color: #191919;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
}

.hero-kakao-cta:hover {
  background: #fada0a;
  color: #0d0d0d;
}

.hero-kakao-cta:active {
  background: #e6cf00;
}

/* Hero: bullet benefits (mobile = stacked, desktop = inline row) */
.hero-benefits {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  font-family: "Noto Sans KR", sans-serif;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 767px) {
  .hero-benefits {
    margin-bottom: 2rem !important;
    position: relative;
    max-width: 22.5rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1.35rem 1.1rem 1.45rem;
    border-radius: 22px;
    background: linear-gradient(
      145deg,
      rgba(8, 36, 77, 0.58) 0%,
      rgba(15, 55, 92, 0.52) 45%,
      rgba(10, 40, 72, 0.55) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow:
      0 18px 44px rgba(8, 36, 77, 0.32),
      0 0 0 1px rgba(255, 255, 255, 0.06) inset,
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .hero-benefits li {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    text-align: left;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.35;
    color: #ffffff;
    letter-spacing: -0.02em;
    padding: 0.62rem 1rem 0.62rem 0.95rem;
    margin: 0.2rem 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  }

  .hero-benefits li::before {
    content: "\2713";
    flex: 0 0 1.25rem;
    width: 1.25rem;
    min-width: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.05rem;
    line-height: 1;
    color: #fde68a;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  }
}

@media (min-width: 768px) {
  .hero-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.45rem 1.35rem;
    font-size: clamp(1.1875rem, 0.55vw + 1.02rem, 1.4375rem);
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.45),
      0 2px 16px rgba(7, 26, 46, 0.35);
  }

  .hero-benefits li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }

  .hero-benefits li::before {
    content: "•";
    font-weight: 800;
    font-size: 1.1em;
    opacity: 0.95;
  }
}

.editorial-gradient {
  background: linear-gradient(135deg, #071a2e 0%, #0f2744 38%, #1a3d5c 72%, #244a6e 100%);
}

.chat-bubble-left {
  position: relative;
  background: #f3f4f6;
  border-radius: 20px 20px 20px 0;
}

.chat-bubble-right {
  position: relative;
  background: #9a4610;
  color: white;
  border-radius: 20px 20px 0 20px;
}

/* Chat font (Paperlogy for chat content) */
.chat-bubble-left,
.chat-bubble-right {
  font-family: "Paperlogy", "Noto Sans KR", sans-serif;
  letter-spacing: -0.01em;
}

/* Core service cards (clean & impactful) */
.service-clean-card {
  position: relative;
  border-radius: 22px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(220, 193, 181, 0.7);
  box-shadow: 0 18px 60px rgba(27, 28, 28, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-clean-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 100%;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, #9a4610 0%, #fa9056 100%);
  opacity: 0.9;
}

.service-clean-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 90px rgba(27, 28, 28, 0.1);
  border-color: rgba(154, 70, 16, 0.35);
}

.service-clean-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-top: 8px;
}

.service-clean-card__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(250, 144, 86, 0.12);
  border: 1px solid rgba(154, 70, 16, 0.14);
  color: #9a4610;
}

.service-clean-card__icon .material-symbols-outlined {
  font-size: 44px;
}

.service-clean-card__num {
  font-family: "Paperlogy", "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.04em;
  color: rgba(154, 70, 16, 0.18);
}

.service-clean-card__title {
  font-family: "Paperlogy", "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5.8vw + 0.85rem, 3rem);
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.service-clean-card__desc {
  color: #55433a;
  line-height: 1.8;
}

.service-clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
  color: #1e1814;
  font-weight: 700;
  font-size: clamp(1.25rem, 3.4vw + 0.88rem, 1.6875rem);
  line-height: 1.52;
  font-family: "Paperlogy", "Noto Sans KR", sans-serif;
}

.service-clean-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-clean-list li::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #9a4610 0%, #fa9056 100%);
  box-shadow: 0 8px 20px rgba(154, 70, 16, 0.22);
  flex: 0 0 11px;
}

/* Center align service card text */
.service-clean-card {
  text-align: center;
}

.service-clean-card__top {
  justify-content: center;
}

.service-clean-list li {
  justify-content: center;
}

/* Sequential emphasis: every 2s next line grows */
.service-clean-list li {
  transform-origin: center;
  animation: service-line-pulse 6s ease-in-out infinite;
}

.service-clean-list li:nth-child(1) {
  animation-delay: 0s;
}
.service-clean-list li:nth-child(2) {
  animation-delay: 2s;
}
.service-clean-list li:nth-child(3) {
  animation-delay: 4s;
}

@keyframes service-line-pulse {
  0%,
  12% {
    transform: scale(1.06);
    color: #0f1112;
  }
  18%,
  100% {
    transform: scale(1);
    color: #252019;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-clean-list li {
    animation: none !important;
  }
}

@media (max-width: 767px) {
  .service-clean-card {
    padding: 26px 22px;
  }
  .service-clean-card__num {
    font-size: 28px;
  }
}

/* Concerns section: avatar size x3 */
[data-chat-section="concerns"] .chat-avatar {
  width: 120px;
  height: 120px;
}

[data-chat-section="concerns"] .chat-avatar {
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

[data-chat-section="concerns"] .chat-avatar--brand {
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.22));
}

/* Colorful chat themes */
.chat-bubble-left.chat-bubble-color-1 {
  background: #e6f0ff;
  color: #0f2b5b;
  border: 1px solid rgba(15, 43, 91, 0.08);
}
.chat-bubble-right.chat-bubble-color-1 {
  background: linear-gradient(135deg, #ff7a18 0%, #af002d 100%);
  color: #ffffff;
}

.chat-bubble-left.chat-bubble-color-2 {
  background: #eafff2;
  color: #0b3d2a;
  border: 1px solid rgba(11, 61, 42, 0.08);
}
.chat-bubble-right.chat-bubble-color-2 {
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  color: #ffffff;
}

.chat-bubble-left.chat-bubble-color-3 {
  background: #fff4e5;
  color: #5a2a00;
  border: 1px solid rgba(90, 42, 0, 0.08);
}
.chat-bubble-right.chat-bubble-color-3 {
  background: linear-gradient(135deg, #7f00ff 0%, #e100ff 100%);
  color: #ffffff;
}

.chat-bubble-left.chat-bubble-color-4 {
  background: #ffe9f1;
  color: #5a0b2b;
  border: 1px solid rgba(90, 11, 43, 0.08);
}
.chat-bubble-right.chat-bubble-color-4 {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: #04331f;
}

/* 걱정 해결 섹션: 말풍선 전체 무광(그림자·그라데이션 없음, 단색) */
[data-chat-section="concerns"] .chat-bubble-left {
  box-shadow: none !important;
  border: 1px solid rgba(0, 0, 0, 0.07) !important;
}
[data-chat-section="concerns"] .chat-bubble-right {
  box-shadow: none !important;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
[data-chat-section="concerns"] .chat-bubble-right.chat-bubble-color-1 {
  background: #a34a18;
  color: #fafaf9;
}
[data-chat-section="concerns"] .chat-bubble-right.chat-bubble-color-2 {
  background: #1e5f7a;
  color: #fafaf9;
}
[data-chat-section="concerns"] .chat-bubble-right.chat-bubble-color-3 {
  background: #5c4a8a;
  color: #fafaf9;
}
[data-chat-section="concerns"] .chat-bubble-right.chat-bubble-color-4 {
  background: #2a6b52;
  color: #fafaf9;
}

/* 연수 비용: 히어로 해시태그와 같은 입체감 CTA */
.pricing-cta-pill {
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(135deg, #071a2e 0%, #0f2744 38%, #1a3d5c 72%, #244a6e 100%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    0 8px 22px rgba(7, 26, 46, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  -webkit-font-smoothing: antialiased;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.pricing-cta-pill:hover {
  filter: brightness(1.06);
  box-shadow:
    0 10px 26px rgba(7, 26, 46, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.pricing-cta-pill:active {
  transform: scale(0.98);
}

/* Hero people: desktop scale + floating */
.hero-people-wrap {
  transform-origin: bottom right;
}

@media (min-width: 768px) {
  .hero-people-wrap {
    transform: translateX(170px) translateY(42px) scale(1.4);
  }
}

.hero-people-float {
  animation: hero-float-y 3.6s ease-in-out infinite;
  transform: translateZ(0);
  will-change: transform;
}

@keyframes hero-float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-people-float {
    animation: none !important;
  }
}

/* Hero scroll indicator (desktop) */
.hero-scroll-indicator {
  position: absolute;
  left: calc(50% - 10px);
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 20;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  user-select: none;
}

.hero-scroll-indicator__label {
  font-family: "Paperlogy", "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.28em;
}

.hero-scroll-indicator__mouse {
  width: 28px;
  height: 44px;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  position: relative;
}

.hero-scroll-indicator__mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 4px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(-50%);
  animation: hero-scroll-dot 1.35s ease-in-out infinite;
}

/* 4th section cards: trendy border accents */
.standard-card {
  border-width: 1px;
  position: relative;
  transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.standard-card::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 4px;
  border-radius: 9999px;
  opacity: 0.9;
}

.standard-card:hover {
  transform: translateY(-10px);
}

.standard-card:hover img {
  transform: translateY(-6px) scale(1.02);
}

.standard-card img {
  transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .standard-card,
  .standard-card img {
    transition: none !important;
    transform: none !important;
  }
}

.standard-card--a {
  border-color: rgba(59, 130, 246, 0.6); /* blue */
  box-shadow: 0 18px 60px rgba(27, 28, 28, 0.06), 0 0 0 2px rgba(59, 130, 246, 0.14);
}
.standard-card--a::before {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.0), rgba(59, 130, 246, 0.9), rgba(59, 130, 246, 0.0));
}

.standard-card--b {
  border-color: rgba(168, 85, 247, 0.6); /* violet */
  box-shadow: 0 18px 60px rgba(27, 28, 28, 0.06), 0 0 0 2px rgba(168, 85, 247, 0.14);
}
.standard-card--b::before {
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.0), rgba(168, 85, 247, 0.9), rgba(168, 85, 247, 0.0));
}

.standard-card--c {
  border-color: rgba(16, 185, 129, 0.6); /* emerald */
  box-shadow: 0 18px 60px rgba(27, 28, 28, 0.06), 0 0 0 2px rgba(16, 185, 129, 0.14);
}
.standard-card--c::before {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.0), rgba(16, 185, 129, 0.9), rgba(16, 185, 129, 0.0));
}

/* Baro Standard section: card title & body centered */
main section .standard-card > div.p-8 {
  text-align: center;
}

/* Baro Standard: mobile footnote under cards */
@media (max-width: 767px) {
  .baro-standard-footnote {
    font-size: clamp(1.25rem, 5vw, 1.4375rem) !important;
    line-height: 1.58 !important;
    font-weight: 700 !important;
    color: #141210 !important;
    letter-spacing: -0.02em;
    text-align: left !important;
    margin-top: 2.5rem !important;
    padding: 1.15rem 1.35rem;
    max-width: 22.5rem;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(180deg, #fffefb 0%, #f7f3ef 100%);
    border: 1px solid rgba(85, 67, 58, 0.22);
    border-radius: 18px;
    box-shadow:
      0 14px 36px rgba(27, 28, 28, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
}

/* Card body copy: readable contrast (core / Baro / curriculum / pricing) */
main .standard-card .text-on-surface-variant {
  color: #241c18 !important;
  font-size: 1.02rem !important;
  font-weight: 500 !important;
  line-height: 1.72 !important;
}

main section#curriculum .grid > div:not(.bg-primary) h3.text-xl {
  color: #141414;
}

main section#curriculum .grid > div:not(.bg-primary) ul {
  font-size: 0.9375rem !important;
  line-height: 1.65 !important;
  color: #241c18 !important;
  font-weight: 500 !important;
}

main section#curriculum .grid > div.bg-primary ul {
  font-size: 0.9375rem !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.97) !important;
  font-weight: 500 !important;
}

main section#pricing .grid .text-on-surface-variant,
main section#pricing .grid ul {
  color: #241c18 !important;
}

main section#pricing .grid ul {
  font-size: 0.9375rem !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
}

main section#pricing .grid ul li {
  font-weight: 500;
}

/* Floating action buttons */
.fab-icon {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: rgba(250, 250, 249, 0.9);
  border: 1px solid rgba(231, 229, 228, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.fab-icon--plain {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.fab-icon--plain:hover {
  box-shadow: none;
}

.fab-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.22);
}

.fab-icon:active {
  transform: translateY(0);
}

/* Reviews auto slider */
.reviews-track {
  scroll-behavior: smooth;
}

/* Realtime consult feed */
.realtime-consult__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.realtime-consult__viewport {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(231, 229, 228, 0.9);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(27, 28, 28, 0.06);
  overflow: hidden;
  height: 220px;
}

.realtime-consult__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.realtime-consult__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(231, 229, 228, 0.7);
  font-weight: 700;
  color: rgba(27, 28, 28, 0.82);
}

.realtime-consult__item:last-child {
  border-bottom: none;
}

.realtime-consult__meta {
  font-size: 12px;
  font-weight: 700;
  color: rgba(85, 67, 58, 0.7);
  white-space: nowrap;
}

.realtime-consult__text {
  flex: 1;
  font-size: 14px;
  color: rgba(27, 28, 28, 0.82);
}

/* Consultation section mobile polish */
@media (max-width: 767px) {
  .consult-info__row {
    padding: 14px 14px;
    border: 1px solid rgba(231, 229, 228, 0.9);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 40px rgba(27, 28, 28, 0.06);
  }

  .consult-info__row img {
    width: 52px;
    height: 52px;
  }

  #consultation .text-xl {
    font-size: 18px;
  }

  .realtime-consult__head {
    justify-content: flex-start;
  }

  .realtime-consult__viewport {
    height: 210px;
  }

  .contact-form-card {
    margin-top: 18px;
  }
}

/* Footer mobile center align */
@media (max-width: 767px) {
  footer .max-w-7xl {
    text-align: center;
  }

  footer a.inline-flex {
    justify-content: center;
    width: 100%;
  }

  footer .flex.gap-4 {
    justify-content: center;
  }

  footer h4 {
    margin-top: 8px;
  }

  footer p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Hero lead copy: title folder font (Paperlogy) */
.hero-desc.title-font {
  font-family: "Paperlogy", "Noto Sans KR", sans-serif;
  font-weight: 700;
}

/* Mobile hero typography polish */
@media (max-width: 767px) {
  .hero-section {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 5.5rem !important;
    padding-bottom: 1.25rem !important;
  }

  .hero-section .max-w-7xl {
    padding-top: 0.75rem;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text .label-style {
    margin-bottom: 1.35rem !important;
  }

  .hero-title {
    font-family: "Paperlogy", "Noto Sans KR", sans-serif !important;
    font-size: 1.95rem !important;
    line-height: 1.32 !important;
    letter-spacing: -0.02em;
    margin-bottom: 22px !important;
    -webkit-font-smoothing: antialiased;
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(15, 60, 90, 0.35), 0 2px 18px rgba(15, 60, 90, 0.18);
  }

  .hero-desc {
    font-family: "Paperlogy", "Noto Sans KR", sans-serif !important;
    font-size: 1.4375rem !important;
    font-weight: 700 !important;
    line-height: 1.58 !important;
    margin-bottom: 1rem !important;
    max-width: 24rem;
    -webkit-font-smoothing: antialiased;
    color: #0a1628 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  }

}

/* Mobile hero wave divider */
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 72px;
  z-index: 5;
  pointer-events: none;
}

.hero-wave__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-wave__fill {
  fill: #fbf9f9; /* surface */
}

@keyframes hero-scroll-dot {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.85;
  }
  60% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-indicator__mouse::after {
    animation: none !important;
  }
}

/* Mobile: center-align text in all sections (except chat section) */
@media (max-width: 767px) {
  main section:not([data-chat-section="concerns"]) {
    text-align: center;
  }

  main section:not([data-chat-section="concerns"]) .text-left,
  main section:not([data-chat-section="concerns"]) .text-start {
    text-align: center !important;
  }

  /* Center icon wrappers (service/consult icons, etc.) */
  main section:not([data-chat-section="concerns"]) div.w-16.h-16,
  main section:not([data-chat-section="concerns"]) div.w-12.h-12 {
    margin-left: auto;
    margin-right: auto;
  }

  /* Center inline icon glyphs where applicable */
  main section:not([data-chat-section="concerns"]) .material-symbols-outlined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Stack "Baro Standard" list items so icon centers */
  main section:not([data-chat-section="concerns"]) ul.space-y-8 > li.flex.items-start.gap-4 {
    flex-direction: column;
    align-items: center;
  }
}

/* Section headers (hero excluded): more air *inside* the title stack (label → heading),
   but keep the first body block *tighter* under the heading. */
main section:not(.hero-section) .text-center > .label-style {
  margin-bottom: 2.75rem !important;
}

main section:not(.hero-section) .text-center > h1,
main section:not(.hero-section) .text-center > h2 {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

main section:not(.hero-section) .text-center > h2 + p,
main section:not(.hero-section) .text-center > h1 + p {
  margin-top: 0.65rem !important;
}

main section:not(.hero-section) .text-center > p.text-on-surface-variant + p {
  margin-top: 0.875rem !important;
}

/* Heading block → cards/grid: closer than before */
main section:not(.hero-section) .text-center.mb-14 {
  margin-bottom: 3rem !important;
}

main section:not(.hero-section) .text-center.mb-16 {
  margin-bottom: 3.5rem !important;
}

@media (max-width: 767px) {
  main section:not(.hero-section) .text-center > h2 {
    line-height: 1.28;
  }

  main section:not(.hero-section) .text-center.mb-14 {
    margin-bottom: 1.25rem !important;
  }

  main section:not(.hero-section) .text-center.mb-16 {
    margin-bottom: 1.5rem !important;
  }

  main section#reviews .flex.justify-between.items-end.mb-16 {
    margin-bottom: 1.25rem !important;
  }
}

/* Reviews header stack */
main section#reviews .flex.items-end > div:first-child > .label-style {
  margin-bottom: 2rem !important;
}

main section#reviews .flex.items-end > div:first-child > h2 {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

main section#reviews .flex.justify-between.items-end.mb-16 {
  margin-bottom: 2.5rem !important;
}

/* Standard / service / curriculum card titles */
main section .standard-card h4 {
  margin-bottom: 1rem !important;
}

main section .service-clean-card__title {
  margin-bottom: 1.5rem !important;
}

main section#curriculum .grid > div h3.text-xl {
  margin-bottom: 1.35rem !important;
}

main section#pricing .grid h3.text-2xl {
  margin-bottom: 1rem !important;
}

main section#pricing .grid h3 + p.text-on-surface-variant {
  margin-bottom: 1.85rem !important;
}

/* Consultation left column */
main section#consultation .grid > div:first-child > .label-style {
  margin-bottom: 2rem !important;
}

main section#consultation .grid > div:first-child > h2 {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

main section#consultation .grid > div:first-child > h2 + p.text-lg {
  margin-top: 0.65rem !important;
  margin-bottom: 3.5rem !important;
}

.realtime-consult__head .label-style {
  margin-bottom: 0.75rem !important;
}

.realtime-consult__head h3 {
  margin-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   PC (>=768px): section body copy ~1.5x (hero excluded — use Tailwind + hero rules above)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  /* Baro Standard + shared card copy */
  main .standard-card .text-on-surface-variant {
    font-size: 1.53rem !important;
    line-height: 1.72 !important;
  }

  /* Core Service list (desktop) */
  .service-clean-list {
    font-size: clamp(1.5625rem, 0.85vw + 1.2rem, 2.0625rem);
    gap: 18px;
  }

  .service-clean-card__title {
    font-size: clamp(2.375rem, 1.8vw + 1.65rem, 3.125rem);
  }

  .service-clean-card__icon {
    width: 76px;
    height: 76px;
  }

  .service-clean-card__icon .material-symbols-outlined {
    font-size: 46px;
  }

  /* Curriculum + pricing feature lists */
  main section#curriculum .grid > div:not(.bg-primary) ul,
  main section#curriculum .grid > div.bg-primary ul {
    font-size: 1.40625rem !important;
    line-height: 1.65 !important;
  }

  main section#pricing .grid ul {
    font-size: 1.40625rem !important;
    line-height: 1.62 !important;
  }

  /* Section intros & generic body paragraphs (inside content containers) */
  main > section:not(.hero-section) .max-w-7xl p.text-on-surface-variant:not(.label-style),
  main > section:not(.hero-section) .max-w-4xl p.text-on-surface-variant:not(.label-style) {
    font-size: 1.5rem !important;
    line-height: 1.65 !important;
  }

  main > section:not(.hero-section) p.text-sm.text-on-surface-variant:not(.label-style) {
    font-size: 1.3125rem !important;
    line-height: 1.65 !important;
  }

  /* Baro Standard footnote row */
  main > section:not(.hero-section) p.text-on-surface-variant.text-center.mt-10 {
    font-size: 1.5rem !important;
  }

  /* Reviews */
  main section#reviews p.text-lg.leading-relaxed {
    font-size: 1.6875rem !important;
    line-height: 1.62 !important;
  }

  main section#reviews span.text-xs.text-on-surface-variant {
    font-size: 1.125rem !important;
  }

  /* FAQ answers */
  main section#faq details .px-6.pb-6.text-on-surface-variant.leading-relaxed {
    font-size: 1.5rem !important;
    line-height: 1.65 !important;
  }

  /* Concerns chat */
  main [data-chat-section="concerns"] .chat-bubble-left p,
  main [data-chat-section="concerns"] .chat-bubble-right p {
    font-size: 1.5rem !important;
    line-height: 1.65 !important;
  }

  /* Consultation column + form */
  main section#consultation .grid > div:first-child p.text-lg.text-on-surface-variant {
    font-size: 1.6875rem !important;
  }

  main section#consultation .grid > div:first-child p.text-sm {
    font-size: 1.3125rem !important;
  }

  main section#consultation .grid > div:first-child p.text-xl.font-bold {
    font-size: 1.875rem !important;
  }

  main section#consultation label.text-sm {
    font-size: 1.3125rem !important;
  }

  main section#consultation .contact-form-card input,
  main section#consultation .contact-form-card select,
  main section#consultation .contact-form-card textarea {
    font-size: 1.3125rem !important;
  }

  main section#consultation .contact-form-card button.text-lg {
    font-size: 1.6875rem !important;
  }

  /* Pricing CTA links */
  main section#pricing .grid a.block.text-center {
    font-size: 1.5rem !important;
  }

  /* Footer body */
  footer p.text-sm,
  footer p.text-xs {
    font-size: 1.3125rem !important;
    line-height: 1.65 !important;
  }
}

/* Consult form: sending overlay + indeterminate bar */
.contact-form-card {
  position: relative;
}

.consult-form-loading {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  background: rgba(251, 249, 249, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.consult-form-loading.hidden {
  display: none !important;
}

.consult-form-loading__inner {
  width: min(280px, 86%);
  text-align: center;
}

.consult-form-loading__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f2744;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.consult-form-loading__track {
  height: 7px;
  border-radius: 999px;
  background: rgba(15, 39, 68, 0.1);
  overflow: hidden;
}

.consult-form-loading__indeterminate {
  height: 100%;
  width: 38%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2a5580, #0f2744);
  animation: consult-form-loading-slide 1.05s ease-in-out infinite;
  will-change: transform;
}

@keyframes consult-form-loading-slide {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .consult-form-loading__indeterminate {
    animation: none;
    width: 100%;
    opacity: 0.85;
  }
}

/* Consultation result modal (main site) */
#consult-dlg .consult-dlg__panel {
  animation: consult-dlg-in 0.32s cubic-bezier(0.2, 0.85, 0.2, 1);
}

@keyframes consult-dlg-in {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.consult-dlg__icon--ok {
  background: linear-gradient(135deg, #15803d 0%, #22c55e 100%);
  box-shadow: 0 10px 28px rgba(21, 128, 61, 0.35);
}

.consult-dlg__icon--err {
  background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
  box-shadow: 0 10px 28px rgba(185, 28, 28, 0.35);
}

/* 신청폼 동의란 */
.form-agree-block {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  text-align: left !important;
  box-sizing: border-box;
}

.form-agree-box {
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.65;
  text-align: left !important;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.form-agree-box--caution {
  background: #fff8e8;
  border: 1px solid #f5d98a;
  color: #5c4a1a;
}

.form-agree-box--info {
  background: #eef6ff;
  border: 1px solid #b7d4f5;
  color: #1e3a5f;
}

.form-agree-box--promo {
  background: #f3f8ff;
  border: 1px solid #c5daf5;
  color: #243b55;
}

.form-agree-box__title {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 14px;
  text-align: left !important;
  word-break: keep-all;
}

.form-agree-box__list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  text-align: left !important;
  list-style: none !important;
  justify-items: start;
}

.form-agree-box__list li {
  position: relative;
  padding-left: 1em;
  max-width: none !important;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.65;
}

.form-agree-box__list li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  line-height: 1.65;
}

.form-agree-box__text {
  position: relative;
  margin: 0;
  padding-left: 1em;
  max-width: none !important;
  text-align: left !important;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.form-agree-box__text::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  line-height: inherit;
}

.form-agree-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 600;
  color: #3f3f46;
  cursor: pointer;
  line-height: 1.55;
  text-align: left !important;
}

.form-agree-check input[type="checkbox"] {
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  margin: 3px 0 0 !important;
  padding: 0 !important;
  flex: 0 0 18px !important;
  accent-color: var(--primary, #0f2744);
  box-sizing: border-box;
}

.form-agree-check span {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left !important;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.form-agree-check em {
  color: #dc2626;
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 767px) {
  main section#consultation .form-agree-block,
  main section#consultation .form-agree-box,
  main section#consultation .form-agree-box__title,
  main section#consultation .form-agree-box__list,
  main section#consultation .form-agree-box__list li,
  main section#consultation .form-agree-box__text,
  main section#consultation .form-agree-check,
  main section#consultation .form-agree-check span {
    text-align: left !important;
  }

  .form-agree-box {
    padding: 12px 14px;
    font-size: 12.5px;
  }

  .form-agree-check {
    font-size: 12.5px;
  }
}

