/* ============================================================
   클린파트너 세탁공장 — styles.css
   Theme: T15 모노크롬 블루 (딥네이비 + 화이트 교차)
   Accent: C2 일렉트릭 블루 #0066FF
   ============================================================ */

/* === CSS Variables === */
:root {
  --primary: #0A1628;
  --primary-light: #132240;
  --accent: #0066FF;
  --accent-hover: #0052CC;
  --accent-light: #E8F0FE;
  --accent-glow: rgba(0, 102, 255, 0.15);
  --text: #1A1A2E;
  --text-light: #5A6478;
  --text-muted: #8892A4;
  --bg: #F8FAFC;
  --bg-alt: #FFFFFF;
  --surface: #EEF2F7;
  --border: #D8DFE9;
  --white: #FFFFFF;

  --fs-display: clamp(2.5rem, 1.8rem + 3.5vw, 4.5rem);
  --fs-h1: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
  --fs-body: clamp(0.9375rem, 0.875rem + 0.25vw, 1.125rem);
  --fs-small: clamp(0.8125rem, 0.75rem + 0.25vw, 0.9375rem);

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-section: clamp(48px, 8vw, 96px);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 16px 48px rgba(10, 22, 40, 0.12);
  --shadow-accent: 0 8px 24px rgba(0, 102, 255, 0.25);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-height: 72px;
  --container-max: 1200px;
}

/* === Global Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font-size: 16px; font: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; }

/* === Accessibility === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === Container === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* === Typography === */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}
.section-title {
  font-size: var(--fs-h2);
  color: var(--text);
  margin-bottom: 20px;
}
.section-desc {
  font-size: var(--fs-body);
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 40px;
}
/* Section header wrapper — centers label/title/desc block */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header .section-desc {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}
.dark-section .section-label { color: var(--accent-light); }
.dark-section .section-label::before { background: var(--accent-light); }
.dark-section .section-title { color: var(--white); }
.dark-section .section-desc { color: rgba(255,255,255,0.7); }

/* ============================================================
   HEADER / NAVIGATION (N4)
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(10, 22, 40, 0.08);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
  min-height: 44px;
  padding: 4px 0;
}
.logo span { color: var(--accent); }
.header.scrolled .logo { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.header.scrolled .nav-links a { color: var(--text); }
.header.scrolled .nav-links a:hover { color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s var(--ease-smooth);
}
.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  gap: 5px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
  transform-origin: center;
}
.header.scrolled .hamburger span { background: var(--text); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--primary);
  z-index: 999;
  transition: right 0.4s var(--ease-out-expo);
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-drawer.open { right: 0; }
.mobile-drawer a {
  display: flex;
  align-items: center;
  padding: 16px 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color 0.3s, padding-left 0.3s;
}
.mobile-drawer a:hover {
  color: var(--accent);
  padding-left: 8px;
}
.mobile-drawer .drawer-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-drawer .drawer-cta a {
  justify-content: center;
  border: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
}
.mobile-drawer .drawer-cta .btn-call {
  background: var(--accent);
  color: var(--white);
}
.mobile-drawer .drawer-cta .btn-quote {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.6);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   HERO — H5 텍스트 중심 + 슬라이드 배경
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.6) 50%, rgba(10,22,40,0.75) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 60px;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-light);
  font-size: var(--fs-small);
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-title {
  font-size: var(--fs-display);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero-title .accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 40px;
}
.hero-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 16px 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}
.hero-phone .phone-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-phone .phone-text {
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-small);
}
.hero-phone .phone-number {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Hero indicators */
.hero-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-indicators button {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.3);
  transition: all 0.4s ease;
  min-height: auto;
  min-width: auto;
}
.hero-indicators button.active {
  width: 48px;
  background: var(--accent);
}

/* Sub-page Hero */
.sub-hero {
  position: relative;
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: var(--primary);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
}
.sub-hero-bg {
  position: absolute;
  inset: 0;
}
.sub-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sub-hero .hero-overlay {
  background: linear-gradient(135deg, rgba(10,22,40,0.9) 0%, rgba(10,22,40,0.7) 100%);
}
.sub-hero-content {
  position: relative;
  z-index: 2;
}
.sub-hero-content .hero-title {
  font-size: var(--fs-h1);
}
.sub-hero-content .section-label {
  color: rgba(255,255,255,0.8);
}
.sub-hero-content .section-label::before {
  background: rgba(255,255,255,0.8);
}
.sub-hero-content .hero-sub {
  color: rgba(255,255,255,0.8);
  max-width: 520px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s var(--ease-smooth);
  min-height: 48px;
  min-width: 48px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}
.btn-dark {
  background: var(--primary);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--accent);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============================================================
   TABS (I4) — 서비스 하이라이트
   ============================================================ */
.tabs-section {
  padding: var(--space-section) 0;
  background: var(--bg-alt);
}
.tabs-nav {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 40px;
  max-width: 600px;
}
.tab-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--text-light);
  transition: all 0.3s ease;
  text-align: center;
  min-height: 48px;
}
.tab-btn.active {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.tab-btn:hover:not(.active) { color: var(--text); }

.tab-panel {
  display: none;
  animation: tabFade 0.5s ease;
}
.tab-panel.active { display: block; }
@keyframes tabFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.tab-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.tab-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tab-text h3 {
  font-size: var(--fs-h3);
  margin-bottom: 12px;
}
.tab-text p {
  color: var(--text-light);
  margin-bottom: 16px;
}
.tab-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tab-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-small);
  color: var(--text);
}
.tab-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--accent-light);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230066FF'%3E%3Cpath d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================================
   COUNTER (I7) — 숫자로 보는 클린파트너
   ============================================================ */
.counter-section {
  padding: var(--space-section) 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.counter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,255,0.1), transparent 70%);
  pointer-events: none;
}
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.counter-item {
  padding: 24px 16px;
}
.counter-number {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.counter-number .suffix {
  font-size: 0.5em;
  color: var(--accent);
  font-weight: 700;
  margin-left: 0.15em;
}
.counter-label {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}

/* ============================================================
   TIMELINE — 작업 프로세스
   ============================================================ */
.process-section {
  padding: var(--space-section) 0;
  background: var(--bg);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  padding: 20px 0;
}
.timeline-step {
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.timeline-step::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--border));
}
.timeline-step:last-child::after { display: none; }
.timeline-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
}
.timeline-step h4 {
  font-size: 0.9375rem;
  margin-bottom: 4px;
  color: var(--text);
}
.timeline-step p {
  font-size: var(--fs-small);
  color: var(--text-light);
}
.timeline-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ============================================================
   MARQUEE — 고객사 로고
   ============================================================ */
.marquee-section {
  padding: 40px 0;
  background: var(--surface);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0.6;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: var(--space-section) 0;
  background: linear-gradient(135deg, var(--accent) 0%, #004ACC 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.cta-section h2 {
  font-size: var(--fs-h2);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  font-size: 1.0625rem;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-phone-big {
  font-size: var(--fs-h3);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}
.cta-phone-big a {
  color: inherit;
}

/* ============================================================
   ACCORDION (I8) — 서비스 상세
   ============================================================ */
.accordion-section {
  padding: var(--space-section) 0;
}
.accordion {
  max-width: 900px;
  margin: 0 auto;
}
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.accordion-item:hover { box-shadow: var(--shadow-sm); }
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text);
  background: var(--bg-alt);
  transition: background 0.3s;
  min-height: 48px;
}
.accordion-header:hover { background: var(--surface); }
.accordion-header-sub {
  color: var(--text-light);
  font-size: var(--fs-small);
  font-weight: 400;
  margin-left: auto;
  margin-right: 16px;
}
.accordion-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--accent);
}
.accordion-item.open .accordion-icon { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-inner {
  padding: 0 24px 24px;
  word-break: keep-all;
}
.accordion-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.accordion-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.accordion-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.accordion-text h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}
.accordion-text p {
  color: var(--text-light);
  font-size: var(--fs-small);
  margin-bottom: 12px;
}
.item-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.item-list span {
  padding: 4px 12px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ============================================================
   SPLIT LAYOUT (L2) — 왜 클린파트너인가
   ============================================================ */
.split-section {
  padding: var(--space-section) 0;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split-content h2 {
  font-size: var(--fs-h2);
  margin-bottom: 24px;
}
.split-content .section-desc {
  margin-bottom: 32px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.feature-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.feature-item p {
  font-size: var(--fs-small);
  color: var(--text-light);
}
.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   CTA BANNER — 풀폭 배너
   ============================================================ */
.cta-banner {
  padding: 48px 0;
  background: var(--primary);
  text-align: center;
}
.cta-banner h2 {
  font-size: var(--fs-h3);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.cta-banner .btn {
  font-size: 1rem;
  padding: 14px 36px;
}

/* ============================================================
   FORM STYLES — 견적문의
   ============================================================ */
.form-section {
  padding: var(--space-section) 0;
  background: var(--bg-alt);
}
.form-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.form-wrap h2 {
  font-size: var(--fs-h3);
  margin-bottom: 12px;
}
.form-wrap > p {
  color: var(--text-light);
  font-size: var(--fs-small);
  margin-bottom: 24px;
  word-break: keep-all;
}
.form-row {
  margin-bottom: 20px;
}
.form-row label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-row label .required {
  color: #E53E3E;
  margin-left: 2px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.3s, box-shadow 0.3s;
  min-height: 48px;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.0625rem;
}

/* Contact Info Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.contact-card-icon {
  color: var(--accent);
  margin-bottom: 12px;
}
.contact-card h3,
.contact-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.contact-card-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
  word-break: keep-all;
}
.contact-card a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 1.125rem;
  transition: color 0.3s;
  margin-bottom: 8px;
}
.contact-card a:hover { color: var(--accent-hover); }
.contact-card p {
  font-size: var(--fs-small);
  color: var(--text-light);
  margin-top: 6px;
  word-break: keep-all;
}

/* Map */
.map-section {
  padding: var(--space-section) 0;
  background: var(--bg);
}
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21/9;
  background: var(--surface);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* FAQ */
.faq-section {
  padding: var(--space-section) 0;
  background: var(--bg-alt);
}
.faq-section .section-desc,
.map-section .section-desc {
  word-break: keep-all;
}

/* ============================================================
   MODAL (I10) — 팝업
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.7);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 16px;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 480px;
  width: 100%;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s var(--ease-spring);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-light);
  transition: background 0.3s, color 0.3s;
  min-height: 36px;
  min-width: 36px;
}
.modal-close:hover {
  background: var(--surface);
  color: var(--text);
}
.modal h3 {
  font-size: var(--fs-h3);
  margin-bottom: 20px;
}
.modal .form-row { margin-bottom: 16px; }
.modal-success {
  display: none;
  text-align: center;
  padding: 24px 0;
}
.modal-success .icon {
  width: 64px;
  height: 64px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.75rem;
}
.modal-success h3 { text-align: center; }
.modal-success p {
  color: var(--text-light);
  margin-bottom: 20px;
}


/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floating-btns {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s var(--ease-smooth);
  min-height: 56px;
  min-width: 56px;
}
.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.float-btn-call {
  background: var(--accent);
  color: var(--white);
}
.float-btn-kakao {
  background: #FEE500;
  color: #3C1E1E;
}
.float-btn-quote {
  background: var(--primary);
  color: var(--white);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand .logo {
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: var(--fs-small);
  line-height: 1.8;
}
.footer-links h4 {
  color: var(--white);
  font-size: 0.9375rem;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  font-size: var(--fs-small);
  padding: 10px 0;
  min-height: 44px;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent); }
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  padding: 10px 0;
  min-height: 44px;
  transition: color 0.3s;
}
.footer-contact a:hover { color: var(--accent); }
.footer-contact p {
  padding: 4px 0;
  font-size: var(--fs-small);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.fade-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js-scroll-reveal .fade-in:not(.revealed) {
  opacity: 0;
  transform: translateY(30px);
}
.js-scroll-reveal .fade-in-left:not(.revealed) { transform: translateX(-30px); }
.js-scroll-reveal .fade-in-right:not(.revealed) { transform: translateX(30px); }
.js-scroll-reveal .fade-in-scale:not(.revealed) { transform: scale(0.95); }
.js-scroll-reveal .revealed {
  opacity: 1;
  transform: none;
}
.fade-in[data-delay="1"] { transition-delay: 0.1s; }
.fade-in[data-delay="2"] { transition-delay: 0.2s; }
.fade-in[data-delay="3"] { transition-delay: 0.3s; }
.fade-in[data-delay="4"] { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .tab-content { grid-template-columns: 1fr; gap: 24px; }
  .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
  .split-image { aspect-ratio: 16/9; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .timeline-step::after { display: none; }
  .accordion-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .container { padding: 0 16px; }
  section { padding: 48px 0; }

  .hero-content { padding-top: calc(var(--nav-height) + 24px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-phone { flex-direction: column; text-align: center; }

  .tabs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  .tab-btn { white-space: nowrap; font-size: 0.8125rem; padding: 10px 16px; }

  .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .counter-item { padding: 16px 8px; }

  .timeline {
    display: flex;
    flex-direction: column;
    overflow-x: visible;
    gap: 0;
    padding-left: 32px;
  }
  .timeline-step {
    flex: none;
    text-align: left;
    padding: 0 0 32px 24px;
    border-left: 3px solid var(--accent);
    position: relative;
  }
  .timeline-step:last-child { border-left-color: transparent; }
  .timeline-step::after { display: none; }
  .timeline-step::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 12px;
    width: 11px;
    height: 11px;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid var(--bg);
    z-index: 2;
  }
  .timeline-icon {
    position: relative;
    left: auto;
    top: auto;
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
    margin: 0 0 8px 0;
  }

  .form-row-half { grid-template-columns: 1fr; }
  .form-wrap { padding: 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .sub-hero { min-height: 280px; padding: calc(var(--nav-height) + 40px) 0 40px; }

  .floating-btns { bottom: 16px; right: 16px; }
  .float-btn { width: 48px; height: 48px; min-height: 48px; min-width: 48px; }
}

@media (max-width: 480px) {
  section { padding: 32px 0; }
  .hero-badge { font-size: 0.75rem; }
  .counter-number { font-size: 1.75rem; }
  .btn { padding: 12px 20px; font-size: 0.875rem; }
  .modal { padding: 24px; margin: 8px; }
}

@media (max-width: 375px) {
  .container { padding: 0 12px; }
  .hero-title { font-size: 1.75rem; }
  .tabs-nav { flex-direction: column; }
  .tab-btn { text-align: center; }
}

/* Landscape mobile */
@media (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: auto; padding: 80px 0 40px; }
  .sub-hero { min-height: auto; }
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-section {
  padding: var(--space-section) 0;
  background: var(--bg-alt);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
}
.gallery-item:hover img {
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* Body padding for floating buttons */
body { padding-bottom: 100px; }
@media (min-width: 769px) { body { padding-bottom: 0; } }
