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

.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: rgba(255, 255, 255, 0.92);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}

.site-header.is-top .header-nav-links a:hover {
  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: rgba(154, 70, 16, 0.9);
}

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

.editorial-gradient {
  background: linear-gradient(135deg, #9a4610 0%, #fa9056 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: 28px;
  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: 56px;
  height: 56px;
  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: 34px;
}

.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: 28px;
  line-height: 1.15;
  margin-bottom: 10px;
}

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

.service-clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #55433a;
  font-weight: 700;
  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: 8px;
  height: 8px;
  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 8px;
}

/* 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.1);
    color: #1b1c1c;
  }
  18%,
  100% {
    transform: scale(1);
    color: #55433a;
  }
}

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

@media (max-width: 767px) {
  .service-clean-card {
    padding: 22px;
  }
  .service-clean-card__title {
    font-size: 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));
}

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

/* Mobile hero typography polish */
@media (max-width: 767px) {
  .hero-text {
    text-align: center;
  }

  .hero-title {
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 18px !important;
  }

  .hero-desc {
    line-height: 1.7;
    margin-bottom: 22px !important;
    max-width: 22rem;
  }

  .hero-desc br.md\\:hidden {
    line-height: 2.2;
  }
}

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

