/* ============================================
   하나스테이 디자인 시스템
   Hana Stay Design System v1.0
   Warm Premium × Urban Clarity
   ============================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   1. CSS VARIABLES — 디자인 토큰
   ============================================ */
:root {
  /* --- Brand Colors --- */
  --accent: #2A6B5C;          /* 하나스테이 브랜드 그린 */
  --accent-light: #3D8E7C;
  --accent-dark: #1E4F44;
  --accent-pale: #E8F2EF;
  --accent-muted: #A8C5BE;

  /* --- Base Colors (Warm Premium) --- */
  --bg-primary: #FAF9F6;      /* Warm White */
  --bg-secondary: #F4F1EC;    /* Light Beige */
  --bg-tertiary: #EDE9E1;     /* Soft Sand */
  --bg-card: #FFFFFF;
  --bg-dark: #1A1A1A;
  --bg-charcoal: #2C2C2C;

  /* --- Text Colors --- */
  --text-primary: #1A1A1A;    /* Near Black */
  --text-secondary: #4A4A4A;  /* Charcoal */
  --text-muted: #7A7A7A;      /* Medium Gray */
  --text-light: #AAAAAA;      /* Light Gray */
  --text-white: #FFFFFF;
  --text-accent: #2A6B5C;

  /* --- Border Colors --- */
  --border-light: #E8E4DC;
  --border-medium: #D5D0C8;
  --border-dark: #B5B0A8;

  /* --- Status Colors --- */
  --status-confirmed: #2A6B5C;
  --status-pending: #E89A2B;
  --status-cancelled: #D94040;
  --status-completed: #4A7FA0;
  --status-noshow: #888888;

  /* --- Semantic Colors --- */
  --success: #2A6B5C;
  --warning: #E89A2B;
  --error: #D94040;
  --info: #4A7FA0;

  /* --- Typography --- */
  --font-sans: 'Noto Sans KR', 'Inter', -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;

  /* --- Font Sizes --- */
  --text-xs: 0.75rem;         /* 12px */
  --text-sm: 0.875rem;        /* 14px */
  --text-base: 1rem;          /* 16px */
  --text-lg: 1.125rem;        /* 18px */
  --text-xl: 1.25rem;         /* 20px */
  --text-2xl: 1.5rem;         /* 24px */
  --text-3xl: 1.875rem;       /* 30px */
  --text-4xl: 2.25rem;        /* 36px */
  --text-5xl: 3rem;           /* 48px */
  --text-6xl: 3.75rem;        /* 60px */
  --text-7xl: 4.5rem;         /* 72px */
  --text-hero: clamp(2.5rem, 6vw, 5rem);
  --text-section: clamp(1.75rem, 3vw, 2.5rem);

  /* --- Font Weights --- */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 900;

  /* --- Line Heights --- */
  --lh-tight: 1.2;
  --lh-snug: 1.35;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;
  --lh-loose: 2;

  /* --- Letter Spacing --- */
  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;
  --ls-widest: 0.2em;

  /* --- Spacing --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* --- Section Spacing --- */
  --section-y: clamp(4rem, 8vw, 8rem);
  --section-x: clamp(1.5rem, 5vw, 5rem);

  /* --- Border Radius --- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
  --shadow-accent: 0 8px 32px rgba(42,107,92,0.2);

  /* --- Transitions --- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* --- Z-Index --- */
  --z-header: 100;
  --z-dropdown: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* --- Container --- */
  --container-max: 1280px;
  --container-wide: 1440px;
  --container-narrow: 960px;
}

/* ============================================
   2. RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================
   3. TYPOGRAPHY SYSTEM
   ============================================ */

/* Hero Headline */
.hero-headline {
  font-family: var(--font-sans);
  font-size: var(--text-hero);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--text-primary);
}

.hero-headline--white {
  color: var(--text-white);
}

/* Section Title */
.section-title {
  font-size: var(--text-section);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: var(--text-lg);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--text-muted);
  max-width: 600px;
}

/* Eyebrow Label */
.eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--accent);
}

/* Eyebrow Bold Variant — 더 크고 진한 섹션 레이블 */
.eyebrow--bold {
  font-size: 0.85rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  opacity: 1;
}

/* Number Display (Price, Stats) */
.num-display {
  font-family: var(--font-sans);
  font-weight: var(--fw-black);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1;
}

.num-display--lg { font-size: clamp(2rem, 4vw, 3.5rem); }
.num-display--md { font-size: clamp(1.5rem, 3vw, 2.5rem); }
.num-display--sm { font-size: clamp(1.25rem, 2vw, 1.875rem); }

.num-display--accent { color: var(--accent); }

/* Body Text */
.body-text {
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
}

.body-text--sm {
  font-size: var(--text-sm);
  line-height: var(--lh-normal);
}

/* ============================================
   4. LAYOUT SYSTEM
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
}

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

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

.section {
  padding: var(--section-y) 0;
}

.section--sm {
  padding: calc(var(--section-y) * 0.6) 0;
}

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

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

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

/* Grid System */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.col-span-1 { grid-column: span 1; }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }
.col-span-5 { grid-column: span 5; }
.col-span-6 { grid-column: span 6; }
.col-span-7 { grid-column: span 7; }
.col-span-8 { grid-column: span 8; }
.col-span-9 { grid-column: span 9; }
.col-span-12 { grid-column: span 12; }

/* Flex Utilities */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Section Header */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-subtitle {
  margin: 0 auto;
}

/* ============================================
   5. BUTTON SYSTEM
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  line-height: 1;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
}

/* Primary Button */
.btn-primary {
  background-color: var(--accent);
  color: var(--text-white);
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--text-primary);
  color: var(--text-white);
}

/* Outline Accent */
.btn-outline-accent {
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline-accent:hover {
  background-color: var(--accent);
  color: var(--text-white);
}

/* Ghost Button */
.btn-ghost {
  background-color: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-ghost:hover {
  background-color: rgba(255,255,255,0.15);
  border-color: var(--text-white);
}

/* Small Button */
.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-sm);
}

/* Large Button */
.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: var(--text-lg);
}

/* Text Link Button */
.btn-link {
  padding: 0;
  background: none;
  border: none;
  color: var(--accent);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-link:hover {
  color: var(--accent-dark);
}

/* ============================================
   6. CARD COMPONENTS
   ============================================ */

/* Base Card */
.card {
  background-color: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-body {
  padding: var(--space-6);
}

/* Property Card (현장 카드) */
.property-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-muted);
}

.property-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-card__image img {
  transform: scale(1.05);
}

.property-card__badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background-color: var(--accent);
  color: var(--text-white);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
}

.property-card__content {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-card__location {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-2);
  letter-spacing: 0.03em;
}

.property-card__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.property-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-4);
  flex: 1;
}

.property-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}

.property-card__tag {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
}

.property-card__price {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.property-card__price strong {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--accent);
}

/* Type Card (타입 카드) */
.type-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.type-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.type-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.type-card:hover::before {
  transform: scaleX(1);
}

.type-card__label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.type-card__name {
  font-size: var(--text-2xl);
  font-weight: var(--fw-black);
  margin-bottom: var(--space-1);
}

.type-card__area {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.type-card__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.type-card__spec {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.type-card__spec-label {
  font-size: var(--text-xs);
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.type-card__spec-value {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}

/* Price Card (가격 카드) */
.price-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
}

.price-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.price-card--featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent-pale) 0%, var(--bg-card) 60%);
}

.price-card__badge {
  display: inline-block;
  background-color: var(--accent);
  color: var(--text-white);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-4);
}

.price-card__property {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-1);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-card__type {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-6);
}

.price-card__divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: var(--space-5) 0;
}

.price-card__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
}

.price-card__item-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.price-card__item-value {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}

.price-card__item-value--accent {
  color: var(--accent);
  font-size: var(--text-lg);
}

/* Feature Card (특장점 아이콘 카드) */
.feature-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--accent-muted);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  background-color: var(--accent-pale);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-card__title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

/* ============================================
   7. BADGE / STATUS
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.badge--confirmed {
  background-color: rgba(42,107,92,0.1);
  color: var(--status-confirmed);
}

.badge--pending {
  background-color: rgba(232,154,43,0.12);
  color: var(--status-pending);
}

.badge--cancelled {
  background-color: rgba(217,64,64,0.1);
  color: var(--status-cancelled);
}

.badge--completed {
  background-color: rgba(74,127,160,0.1);
  color: var(--status-completed);
}

.badge--noshow {
  background-color: rgba(136,136,136,0.1);
  color: var(--status-noshow);
}

.badge--accent {
  background-color: var(--accent);
  color: var(--text-white);
}

.badge--outline {
  background-color: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
}

/* ============================================
   8. FORM COMPONENTS
   ============================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-input {
  padding: 0.875rem 1.125rem;
  font-size: var(--text-base);
  color: var(--text-primary);
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(42,107,92,0.12);
}

.form-input::placeholder {
  color: var(--text-light);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A7A7A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
  cursor: pointer;
}

/* Radio / Checkbox Styled */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}

.form-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.form-check label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  cursor: pointer;
}

/* ============================================
   9. STEPPER COMPONENT
   ============================================ */
.stepper {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--space-10);
  position: relative;
}

.stepper__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  position: relative;
}

.stepper__step::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: var(--border-medium);
}

.stepper__step:last-child::after {
  display: none;
}

.stepper__step.completed::after {
  background-color: var(--accent);
}

.stepper__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  background-color: var(--bg-card);
  color: var(--text-light);
  z-index: 1;
  position: relative;
  transition: all var(--transition-base);
}

.stepper__step.active .stepper__num {
  border-color: var(--accent);
  background-color: var(--accent);
  color: var(--text-white);
  box-shadow: var(--shadow-accent);
}

.stepper__step.completed .stepper__num {
  border-color: var(--accent);
  background-color: var(--accent);
  color: var(--text-white);
}

.stepper__label {
  font-size: var(--text-xs);
  color: var(--text-light);
  font-weight: var(--fw-medium);
  text-align: center;
  white-space: nowrap;
}

.stepper__step.active .stepper__label {
  color: var(--accent);
  font-weight: var(--fw-semibold);
}

.stepper__step.completed .stepper__label {
  color: var(--text-secondary);
}

/* ============================================
   10. FAQ ACCORDION
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item.open {
  border-color: var(--accent-muted);
}

.faq-question {
  width: 100%;
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  background-color: var(--bg-card);
  cursor: pointer;
  text-align: left;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--bg-secondary);
}

.faq-question-text {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  line-height: var(--lh-snug);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform var(--transition-base);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
  background-color: var(--bg-secondary);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* ============================================
   11. HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  transition: all var(--transition-base);
  padding: 1.25rem 0;
}

.site-header--transparent {
  background-color: transparent;
}

.site-header--scrolled {
  background-color: rgba(250, 249, 246, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.875rem 0;
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}

.site-logo__mark {
  width: 36px;
  height: 36px;
  background-color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: var(--fw-black);
  font-size: 1.1rem;
  letter-spacing: -1px;
}

.site-logo__name {
  font-size: var(--text-xl);
  font-weight: var(--fw-black);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.site-logo__name span {
  color: var(--accent);
}

.site-logo--white .site-logo__name {
  color: var(--text-white);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.site-nav__link {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  position: relative;
  transition: color var(--transition-fast);
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.site-nav__link:hover {
  color: var(--accent);
}

.site-nav__link:hover::after,
.site-nav__link.active::after {
  transform: scaleX(1);
}

.site-nav__link.active {
  color: var(--accent);
}

.site-nav--white .site-nav__link {
  color: rgba(255,255,255,0.85);
}

.site-nav--white .site-nav__link:hover {
  color: white;
}

/* ─── Nav Dropdown (현장 소개 하위 메뉴) ─── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  position: relative;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
}

.nav-dropdown__trigger::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.nav-dropdown__trigger:hover,
.nav-dropdown__trigger.active {
  color: var(--accent);
}

.nav-dropdown__trigger:hover::after,
.nav-dropdown__trigger.active::after {
  transform: scaleX(1);
}

.nav-dropdown__trigger .nav-chevron {
  font-size: 9px;
  transition: transform 0.2s ease;
  opacity: 0.6;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.06);
  min-width: 172px;
  padding: 6px;
  display: none;
  z-index: 200;
  border: 1px solid rgba(0,0,0,0.06);
}

/* 드롭다운 열림 트리거 갭 — 마우스가 menu로 이동할 수 있게 */
.nav-dropdown__menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  display: block;
  animation: dropdownFade 0.18s ease;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown__item:hover {
  background: rgba(42, 107, 92, 0.08);
  color: var(--accent);
}

.nav-dropdown__item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.nav-dropdown__item:hover .nav-dropdown__item-dot {
  opacity: 1;
}

.nav-dropdown__item-city {
  font-size: 10px;
  color: var(--text-muted);
  margin-left: auto;
  font-weight: 400;
}

/* White nav 위에서 드롭다운 */
.site-nav--white .nav-dropdown__trigger {
  color: rgba(255,255,255,0.85);
}
.site-nav--white .nav-dropdown__trigger:hover,
.site-nav--white .nav-dropdown__trigger.active {
  color: white;
}
.site-nav--white .nav-dropdown__trigger::after {
  background-color: white;
}
.site-nav--white .nav-dropdown__menu {
  background: rgba(255,255,255,0.98);
}

/* 스크롤 후 (white 제거된 상태) 기본 색 명시 */
.site-nav:not(.site-nav--white) .nav-dropdown__trigger {
  color: var(--text-secondary);
}
.site-nav:not(.site-nav--white) .nav-dropdown__trigger:hover,
.site-nav:not(.site-nav--white) .nav-dropdown__trigger.active {
  color: var(--accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
}

.menu-toggle__bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.menu-toggle--white .menu-toggle__bar {
  background-color: white;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-primary);
  z-index: calc(var(--z-header) + 10);
  padding: var(--space-8) clamp(1.25rem, 4vw, 4rem);
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

.mobile-nav.open {
  transform: translateX(0);
  display: flex;
}

.mobile-nav__close {
  align-self: flex-end;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
  margin-bottom: var(--space-8);
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.mobile-nav__link {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition-fast);
}

.mobile-nav__link:hover {
  color: var(--accent);
}

/* 모바일 현장 서브링크 */
.mobile-nav__sub {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 14px;
  border-left: 2px solid rgba(42,107,92,0.18);
  margin-top: 4px;
  margin-bottom: 4px;
}

.mobile-nav__sub-link {
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  padding: var(--space-2) 0;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-nav__sub-link::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  flex-shrink: 0;
}

.mobile-nav__sub-link:hover {
  color: var(--accent);
}
.mobile-nav__sub-link:hover::before {
  opacity: 1;
}

/* ============================================
   12. HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.60) 0%,
    rgba(0,0,0,0.30) 50%,
    rgba(0,0,0,0.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--text-white);
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-top: var(--space-10);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(255,255,255,0.2);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.hero__stat-num {
  font-size: var(--text-3xl);
  font-weight: var(--fw-black);
  line-height: 1;
}

.hero__stat-label {
  font-size: var(--text-xs);
  letter-spacing: var(--ls-wider);
  opacity: 0.7;
}

/* ============================================
   13. GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-3);
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--transition-base);
}

.gallery-item:hover::after {
  background: rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* ============================================
   14. CTA BAND
   ============================================ */
.cta-band {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: var(--space-20) 0;
  text-align: center;
}

.cta-band--accent {
  background-color: var(--accent);
}

.cta-band--beige {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.cta-band__eyebrow {
  font-size: var(--text-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: var(--space-4);
}

.cta-band__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.cta-band__sub {
  font-size: var(--text-lg);
  opacity: 0.7;
  margin-bottom: var(--space-10);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ============================================
   15. FOOTER
   ============================================ */
.site-footer {
  background-color: var(--bg-charcoal);
  color: var(--text-white);
  padding: var(--space-16) 0 var(--space-8);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.site-footer__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: var(--lh-relaxed);
  max-width: 280px;
}

.site-footer__col-title {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-4);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.site-footer__link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast);
}

.site-footer__link:hover {
  color: var(--text-white);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.site-footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.site-footer__info {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  line-height: var(--lh-relaxed);
}

/* ============================================
   16. STICKY BOTTOM CTA (Mobile)
   ============================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: var(--space-3) var(--space-4);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.08);
}

/* ============================================
   17. TABLE
   ============================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  white-space: nowrap;
}

.data-table td {
  padding: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.data-table tr:hover td {
  background-color: var(--bg-secondary);
  cursor: pointer;
}

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

/* ============================================
   18. ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Scroll Animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================
   19. UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-white); }

.font-light { font-weight: var(--fw-light); }
.font-regular { font-weight: var(--fw-regular); }
.font-medium { font-weight: var(--fw-medium); }
.font-semibold { font-weight: var(--fw-semibold); }
.font-bold { font-weight: var(--fw-bold); }
.font-black { font-weight: var(--fw-black); }

.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.w-full { width: 100%; }
.h-full { height: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: var(--space-8) 0;
}

/* Location Badge */
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: var(--accent-pale);
  color: var(--accent);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
}

/* Info Row */
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-light);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row__label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.info-row__value {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}

/* Tab System */
.tab-bar {
  display: flex;
  gap: var(--space-1);
  border-bottom: 2px solid var(--border-light);
  margin-bottom: var(--space-8);
}

.tab-item {
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  white-space: nowrap;
}

.tab-item:hover {
  color: var(--accent);
}

.tab-item.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Filter Chips */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.chip {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  border: 1.5px solid var(--border-medium);
  color: var(--text-secondary);
  background-color: var(--bg-card);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.chip.active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--text-white);
}

/* ============================================
   20. RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { gap: var(--space-6); }
}

@media (max-width: 768px) {
  :root {
    --section-y: 4rem;
  }

  .grid-3,
  .grid-4,
  .grid-2 { grid-template-columns: 1fr; }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .site-footer__grid { grid-template-columns: 1fr; gap: var(--space-8); }

  .stepper__label { font-size: 10px; }

  .cta-band__buttons { flex-direction: column; align-items: stretch; }

  .sticky-cta { display: flex; gap: var(--space-3); }

  .tab-bar { overflow-x: auto; padding-bottom: var(--space-1); }

  .btn-lg { padding: 1rem 1.75rem; font-size: var(--text-base); }
}

@media (max-width: 480px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .stepper { gap: 0; }
  .stepper__num { width: 32px; height: 32px; font-size: var(--text-xs); }
}
