/* ==========================================================================
   POGEUN HOMECARE — Premium Editorial Design System
   Warm Ivory & Deep Sage Green | SEO-First, Fast-Loading, Conversion-Focused
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-canvas: #FAF8F4;
  --bg-surface: #FFFFFF;
  --bg-sand: #F2EDE4;
  --bg-sage-tint: #EDF3EF;
  --bg-sage-deep: #244035;
  --bg-sage-darker: #1A3027;

  --primary: #2B4C3F;
  --primary-hover: #1E382E;
  --primary-soft: #487362;
  --primary-light: #A9CBB7;

  --accent-wood: #B87A56;
  --accent-wood-soft: #F7EDE6;
  --accent-kakao: #FEE500;
  --accent-naver: #03C75A;

  --ink-900: #1C2420;
  --ink-700: #3E4A44;
  --ink-500: #66736C;
  --ink-400: #8A9690;

  --border-subtle: rgba(28, 36, 32, 0.09);
  --border-strong: rgba(43, 76, 63, 0.22);

  /* Typography */
  --font-sans: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-serif: 'Gowun Batang', 'Noto Serif KR', Georgia, serif;

  /* Spacing & Layout */
  --container-max: 1200px;
  --container-narrow: 920px;
  --header-height: 76px;

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(28, 36, 32, 0.04);
  --shadow-md: 0 12px 32px rgba(28, 36, 32, 0.07);
  --shadow-lg: 0 24px 56px rgba(28, 36, 32, 0.11);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--ink-900);
  line-height: 1.68;
  word-break: keep-all;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul, ol {
  list-style: none;
}

/* Accessibility: Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* Section Utilities */
.section {
  padding: 96px 0;
  position: relative;
}

.section--sand {
  background-color: var(--bg-sand);
}

.section--white {
  background-color: var(--bg-surface);
}

.section--sage-tint {
  background-color: var(--bg-sage-tint);
}

.section--dark {
  background-color: var(--bg-sage-deep);
  color: #FAF8F4;
}

.section-header {
  max-width: 680px;
  margin-bottom: 52px;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-soft);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1.5px;
  background: currentColor;
  display: inline-block;
}

.section--dark .eyebrow {
  color: var(--primary-light);
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-title .serif-accent {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary);
}

.section--dark .section-title .serif-accent {
  color: var(--primary-light);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--ink-700);
  line-height: 1.75;
}

.section--dark .section-desc {
  color: rgba(250, 248, 244, 0.82);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.96875rem;
  line-height: 1.2;
  transition: transform 0.25s var(--ease-out), background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(43, 76, 63, 0.22);
}

.btn--primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(43, 76, 63, 0.28);
}

.btn--secondary {
  background-color: var(--bg-surface);
  color: var(--primary);
  border: 1.5px solid var(--border-strong);
}

.btn--secondary:hover {
  background-color: var(--bg-sage-tint);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn--light {
  background-color: #FAF8F4;
  color: var(--bg-sage-deep);
}

.btn--light:hover {
  background-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn--ghost-light {
  background-color: rgba(250, 248, 244, 0.12);
  color: #FAF8F4;
  border: 1px solid rgba(250, 248, 244, 0.28);
}

.btn--ghost-light:hover {
  background-color: rgba(250, 248, 244, 0.2);
}

.btn--kakao {
  background-color: var(--accent-kakao);
  color: #191600;
}

.btn--kakao:hover {
  filter: brightness(0.96);
  transform: translateY(-2px);
}

.btn--naver {
  background-color: var(--accent-naver);
  color: #FFFFFF;
}

.btn--naver:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 17px 32px;
  font-size: 1.03125rem;
}

.btn--full {
  width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-height);
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(250, 248, 244, 0.96);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.brand-logo__sub {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  margin-top: -2px;
  white-space: nowrap;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-700);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s var(--ease-out);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink-900);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  transition: background-color 0.2s ease;
}

.header-phone:hover {
  background: var(--bg-sage-tint);
  color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--ink-900);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: var(--bg-canvas);
  z-index: 890;
  padding: 28px 24px 40px;
  overflow-y: auto;
  border-top: 1px solid var(--border-subtle);
}

.mobile-drawer.is-open {
  display: block;
  animation: fadeDown 0.25s var(--ease-out);
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 28px;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 14px;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-list a:hover {
  background: var(--bg-sage-tint);
  color: var(--primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 56px 0 84px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  background: var(--bg-sage-tint);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 0.84375rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 22px;
}

.hero-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-soft);
  box-shadow: 0 0 0 4px rgba(72, 115, 98, 0.2);
}

.hero-title {
  font-size: clamp(2.125rem, 4.3vw, 3.375rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--ink-900);
}

.hero-title em {
  font-style: normal;
  font-family: var(--font-serif);
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-title em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 8px;
  background: rgba(169, 203, 183, 0.45);
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--ink-700);
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tag {
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 6px 13px;
  border-radius: var(--radius-pill);
}

.hero-visual {
  position: relative;
}

.hero-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.35;
  background: var(--bg-sand);
  position: relative;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  left: -24px;
  bottom: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(43, 76, 63, 0.14);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 300px;
}

.hero-floating-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-sage-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-floating-card strong {
  display: block;
  font-size: 0.96875rem;
  color: var(--ink-900);
  margin-bottom: 2px;
}

.hero-floating-card span {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-500);
  line-height: 1.4;
}

/* ==========================================================================
   Trust Metrics Strip
   ========================================================================== */
.trust-strip {
  padding: 36px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
  border-right: 1px solid var(--border-subtle);
}

.trust-item:last-child {
  border-right: none;
}

.trust-item__value {
  font-size: clamp(1.625rem, 2.5vw, 2.125rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.trust-item__label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink-900);
}

.trust-item__sub {
  font-size: 0.8125rem;
  color: var(--ink-500);
}

/* ==========================================================================
   Service Cards Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: var(--bg-sand);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-card__media img {
  transform: scale(1.04);
}

.service-card__pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(250, 248, 244, 0.94);
  color: var(--primary);
  font-size: 0.78125rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.service-card__body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__title {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.service-card__desc {
  font-size: 0.9375rem;
  color: var(--ink-700);
  margin-bottom: 18px;
  line-height: 1.65;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--ink-700);
}

.service-card__list li::before {
  content: "✓";
  color: var(--primary-soft);
  font-weight: 800;
  flex-shrink: 0;
}

.service-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.service-card__price {
  font-size: 0.875rem;
  color: var(--ink-500);
}

.service-card__price strong {
  display: block;
  font-size: 1.0625rem;
  color: var(--primary);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 0.90625rem;
  color: var(--primary);
}

.service-card__link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Furniture 5-Item Subgrid */
.furniture-items-bar {
  margin-top: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
}

.furniture-items-bar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.furniture-items-bar__title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--ink-900);
}

.furniture-chips {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.furniture-chip {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.furniture-chip:hover {
  border-color: var(--primary);
  background: var(--bg-sage-tint);
}

.furniture-chip__name {
  font-weight: 800;
  font-size: 0.96875rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.furniture-chip__detail {
  font-size: 0.8125rem;
  color: var(--ink-700);
  line-height: 1.5;
}

/* ==========================================================================
   Interactive Quote Estimator
   ========================================================================== */
.calculator-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
}

.calc-left {
  padding: 36px;
}

.calc-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  background: var(--bg-canvas);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.calc-tab {
  flex: 1 1 auto;
  min-width: 92px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--ink-700);
  transition: all 0.2s ease;
  text-align: center;
}

.calc-tab.is-active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(43, 76, 63, 0.22);
}

.calc-group {
  display: none;
}

.calc-group.is-active {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-group.calc-group--grid.is-active {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.calc-group--grid .calc-item {
  padding: 13px 14px;
  gap: 10px;
}

.calc-group--grid .calc-item__info strong {
  font-size: 0.90625rem;
}

/* Official Price Grid on Subpages */
.price-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.price-card--full {
  grid-column: 1 / -1;
}

.price-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  background: var(--bg-sage-deep);
  color: #FAF8F4;
}

.price-card__header h3 {
  font-size: 1.1875rem;
  font-weight: 800;
}

.price-card__badge {
  font-size: 0.78125rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(169, 203, 183, 0.2);
  color: var(--primary-light);
  white-space: nowrap;
}

.price-table.price-table--compact {
  min-width: 0;
  width: 100%;
  table-layout: auto;
}

.price-table.price-table--compact th,
.price-table.price-table--compact td {
  padding: 13px 14px;
  font-size: 0.875rem;
  white-space: nowrap;
}

.calc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-canvas);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.calc-item.is-selected {
  border-color: var(--primary);
  background: var(--bg-sage-tint);
}

.calc-item__info strong {
  display: block;
  font-size: 0.96875rem;
  color: var(--ink-900);
  margin-bottom: 2px;
}

.calc-item__info span {
  font-size: 0.8125rem;
  color: var(--ink-500);
}

.calc-item__price {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9375rem;
  white-space: nowrap;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 4px 6px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  transition: background-color 0.15s ease;
}

.qty-btn:hover {
  background: var(--bg-sage-tint);
}

.qty-val {
  min-width: 22px;
  text-align: center;
  font-weight: 800;
  font-size: 0.9375rem;
}

.calc-right {
  background: var(--bg-sage-deep);
  color: #FAF8F4;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.calc-summary__eyebrow {
  font-size: 0.78125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.calc-summary__title {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.calc-selected-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid rgba(250, 248, 244, 0.14);
  border-bottom: 1px solid rgba(250, 248, 244, 0.14);
  margin-bottom: 20px;
  min-height: 150px;
}

.calc-empty {
  color: rgba(250, 248, 244, 0.62);
  font-size: 0.90625rem;
  line-height: 1.6;
  margin: auto 0;
}

.calc-selected-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.90625rem;
}

.calc-discount-badge {
  display: none;
  background: rgba(169, 203, 183, 0.18);
  border: 1px solid rgba(169, 203, 183, 0.45);
  color: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.84375rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.calc-discount-badge.is-visible {
  display: block;
}

.calc-total-box {
  margin-bottom: 22px;
}

.calc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.calc-total-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.calc-note {
  font-size: 0.78125rem;
  color: rgba(250, 248, 244, 0.68);
  line-height: 1.55;
  margin-top: 12px;
}

/* ==========================================================================
   Before / After Interactive Comparison
   ========================================================================== */
.ba-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.ba-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  box-shadow: var(--shadow-lg);
  user-select: none;
  touch-action: pan-y;
  background: var(--bg-sand);
}

.ba-layer {
  position: absolute;
  inset: 0;
}

.ba-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Before layer simulated dullness/stain tone for demo preview until owner adds real B/A photos */
.ba-layer--before {
  clip-path: inset(0 50% 0 0);
}

.ba-layer--before img {
  filter: sepia(0.32) brightness(0.84) contrast(0.92) saturate(0.75);
}

.ba-layer--before::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 38% 58%, rgba(128, 96, 62, 0.32) 0%, rgba(128, 96, 62, 0.14) 24%, transparent 52%),
              radial-gradient(circle at 62% 45%, rgba(110, 88, 60, 0.22) 0%, transparent 40%);
  pointer-events: none;
}

.ba-badge {
  position: absolute;
  top: 18px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  z-index: 4;
}

.ba-badge--before {
  left: 18px;
  background: rgba(28, 36, 32, 0.78);
  color: #FFFFFF;
}

.ba-badge--after {
  right: 18px;
  background: rgba(43, 76, 63, 0.92);
  color: #FFFFFF;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #FFFFFF;
  z-index: 5;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  font-weight: 800;
  font-size: 0.875rem;
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
}

.ba-case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.ba-case-btn {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-700);
  transition: all 0.2s ease;
}

.ba-case-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.ba-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.ba-metric {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.ba-metric span {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-500);
  margin-bottom: 4px;
}

.ba-metric strong {
  font-size: 1.0625rem;
  color: var(--primary);
}

/* ==========================================================================
   6-Step Process
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.process-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-sage-tint);
  color: var(--primary);
  font-size: 0.78125rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.process-card h3 {
  font-size: 1.15625rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 0.90625rem;
  color: var(--ink-700);
  line-height: 1.65;
}

/* ==========================================================================
   Why Us (Differentiators)
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: rgba(250, 248, 244, 0.06);
  border: 1px solid rgba(250, 248, 244, 0.14);
  border-radius: var(--radius-md);
  padding: 28px 22px;
}

.why-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(169, 203, 183, 0.18);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.why-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.why-card p {
  font-size: 0.90625rem;
  color: rgba(250, 248, 244, 0.8);
  line-height: 1.68;
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-stars {
  color: #D99B26;
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--bg-sage-tint);
  color: var(--primary);
  font-size: 0.78125rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.review-text {
  font-size: 0.9375rem;
  color: var(--ink-700);
  line-height: 1.72;
  flex: 1;
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.84375rem;
  color: var(--ink-500);
}

.review-meta strong {
  color: var(--ink-900);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.is-open {
  border-color: var(--border-strong);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 1.03125rem;
  color: var(--ink-900);
}

.faq-trigger__q {
  color: var(--primary);
  font-weight: 800;
  margin-right: 8px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-canvas);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out), background-color 0.2s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #FFFFFF;
}

.faq-panel {
  display: none;
  padding: 0 26px 24px;
  font-size: 0.953125rem;
  color: var(--ink-700);
  line-height: 1.75;
}

.faq-item.is-open .faq-panel {
  display: block;
}

/* ==========================================================================
   Contact & Location Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-900);
}

.form-field .required {
  color: var(--accent-wood);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-canvas);
  font-size: 0.953125rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-surface);
}

textarea.form-control {
  min-height: 112px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--ink-700);
  margin: 6px 0 20px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.location-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-sage-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  font-size: 0.90625rem;
  color: var(--ink-900);
  margin-bottom: 2px;
}

.info-item p {
  font-size: 0.90625rem;
  color: var(--ink-700);
  line-height: 1.55;
}

.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.area-pill {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  color: var(--ink-700);
}

.area-pill--highlight {
  background: var(--bg-sage-tint);
  border-color: var(--border-strong);
  color: var(--primary);
}

.map-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ==========================================================================
   Subpage Hero & Content Components
   ========================================================================== */
.page-hero {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, var(--bg-sage-tint) 0%, var(--bg-canvas) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84375rem;
  color: var(--ink-500);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.page-hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Price Table */
.price-table-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.price-table th,
.price-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.price-table th {
  background: var(--bg-sage-tint);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.90625rem;
}

.price-table td {
  font-size: 0.9375rem;
  color: var(--ink-700);
}

.price-table td strong {
  color: var(--ink-900);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-amount {
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

/* Detail Feature Cards */
.detail-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.detail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
}

.detail-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.detail-card p {
  font-size: 0.953125rem;
  color: var(--ink-700);
  margin-bottom: 14px;
  line-height: 1.7;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.921875rem;
  color: var(--ink-700);
}

.checklist li::before {
  content: "●";
  color: var(--primary-soft);
  font-size: 0.55rem;
  margin-top: 7px;
  flex-shrink: 0;
}

/* Guide Articles */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.article-card__cat {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-sage-tint);
  color: var(--primary);
  font-size: 0.78125rem;
  font-weight: 700;
}

.article-card h2 {
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.35;
}

.article-card p {
  font-size: 0.953125rem;
  color: var(--ink-700);
  line-height: 1.75;
}

.tip-box {
  background: var(--bg-canvas);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--ink-700);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-sage-darker);
  color: rgba(250, 248, 244, 0.78);
  padding: 68px 0 96px;
  font-size: 0.90625rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 36px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(250, 248, 244, 0.12);
}

.footer-brand {
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.96875rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.8125rem;
  color: rgba(250, 248, 244, 0.56);
}

/* ==========================================================================
   Floating Quick Dock & Modal
   ========================================================================== */
.floating-dock {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 850;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s var(--ease-out);
}

.dock-btn:hover {
  transform: translateY(-2px);
}

.dock-btn--primary {
  background: var(--primary);
  color: #FFFFFF;
}

.dock-btn--kakao {
  background: var(--accent-kakao);
  color: #191600;
}

.dock-btn--phone {
  background: var(--bg-surface);
  color: var(--primary);
  border: 1px solid var(--border-strong);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(20, 28, 24, 0.58);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-dialog {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 34px 30px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-sage-tint);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.modal-summary {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: left;
  font-size: 0.84375rem;
  color: var(--ink-700);
  margin: 18px 0;
  white-space: pre-line;
  max-height: 180px;
  overflow-y: auto;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .ba-grid,
  .contact-grid,
  .calculator-wrap,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-floating-card {
    left: 16px;
    bottom: 16px;
  }

  .services-grid,
  .process-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 16px;
  }

  .furniture-chips {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 66px;
  }

  .section {
    padding: 68px 0;
  }

  .nav-desktop,
  .header-actions .header-phone {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .services-grid,
  .process-grid,
  .reviews-grid,
  .why-grid,
  .detail-cards,
  .article-grid,
  .form-grid,
  .price-cards-grid {
    grid-template-columns: 1fr;
  }

  .calc-group.calc-group--grid.is-active {
    grid-template-columns: 1fr;
  }

  .furniture-chips {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-left,
  .calc-right,
  .form-card,
  .location-card {
    padding: 24px 20px;
  }

  .calc-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .calc-item__controls {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .floating-dock {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: row;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    padding: 8px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
  }

  .dock-btn {
    flex: 1;
    justify-content: center;
    padding: 11px 10px;
    font-size: 0.8125rem;
    box-shadow: none;
  }

  .price-card {
    overflow-x: auto;
  }

  .price-table.price-table--compact th,
  .price-table.price-table--compact td {
    padding: 10px 7px;
    font-size: 0.78125rem;
  }

  .site-footer {
    padding-bottom: 124px;
  }
}
