﻿@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;
}

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));
}

.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: 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;
}

/* Directional reveal for chat bubbles (override default reveal Y-motion) */
.chat-bubble-left.reveal {
  transform: translateX(-28px) translateY(0);
  filter: none;
}
.chat-bubble-right.reveal {
  transform: translateX(28px) translateY(0);
  filter: none;
}
.chat-bubble-left.reveal.is-visible,
.chat-bubble-right.reveal.is-visible {
  transform: translateX(0) translateY(0);
}

/* Scroll reveal animations */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-group > * {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(2px);
  transition-property: opacity, transform, filter;
  transition-duration: 700ms;
  transition-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform, opacity, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* 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: 1520px !important;
    padding-top: 140px !important;
  }

  .hero-section .max-w-7xl {
    padding-top: 56px;
  }

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

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

  /* Hero copy: sharper on mobile (no scroll-reveal blur) */
  .hero-section .hero-text .reveal,
  .hero-section .hero-text .reveal.is-visible {
    filter: none !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: 36px !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;
  }
}

/* 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;
  }
}

/* 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);
}

