/* ================================================
   한일공인노무사 - 산재전문 홈페이지 스타일
   ================================================ */

/* --- 변수 & 리셋 --- */
:root {
  --navy: #0d1f3c;
  --navy-dark: #091527;
  --navy-mid: #14305a;
  --red: #c0392b;
  --red-dark: #a93226;
  --red-bright: #e74c3c;
  --gold: #d4a017;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --gray-100: #f2f4f8;
  --gray-200: #e4e8f0;
  --gray-400: #9ba8bb;
  --gray-600: #5a6680;
  --gray-800: #2c3347;
  --kakao-yellow: #fee500;
  --kakao-brown: #3c1e1e;
  --font: 'Noto Sans KR', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(13, 31, 60, 0.1);
  --shadow-md: 0 8px 40px rgba(13, 31, 60, 0.15);
  --shadow-lg: 0 16px 60px rgba(13, 31, 60, 0.2);
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 70px; /* 하단 CTA 바 높이 */
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- 공통 섹션 헤더 --- */
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(192, 57, 43, 0.08);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 14px;
}
.section-title .accent { color: var(--red); }

.section-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- 공통 버튼 --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-kakao {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--kakao-yellow);
  color: var(--kakao-brown);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}
.btn-kakao:hover { background: #f0d800; transform: translateY(-2px); }
.btn-kakao.full-width { width: 100%; justify-content: center; margin-top: 12px; }

.kakao-icon-sm {
  width: 22px;
  height: 22px;
}

/* ================================================
   긴급 배너
   ================================================ */
.emergency-banner {
  background: var(--red);
  color: var(--white);
  padding: 9px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  font-size: 13px;
}
.emergency-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.blink-dot {
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1.2s infinite;
  flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.banner-tel {
  background: rgba(255,255,255,0.2);
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
  transition: background var(--transition);
}
.banner-tel:hover { background: rgba(255,255,255,0.35); }
.banner-tel i { margin-right: 4px; }

/* ================================================
   네비게이션
   ================================================ */
.navbar {
  background: var(--white);
  border-bottom: 2px solid var(--gray-200);
  position: sticky;
  top: 38px;
  z-index: 900;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* 로고 */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy) 60%, var(--navy-mid));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-kor {
  color: var(--white);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.logo-kor .accent { color: var(--red); }
.logo-text { line-height: 1.25; }
.logo-main {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}
.logo-sub {
  font-size: 11px;
  color: var(--gray-600);
  font-weight: 500;
}

/* 내비 링크 */
.nav-links {
  display: flex;
  gap: 6px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  padding: 6px 12px;
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--navy); background: var(--gray-100); }
.nav-links a.active { color: var(--red); }

/* 우측 CTA */
.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav-call-btn {
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background var(--transition);
}
.nav-call-btn:hover { background: var(--red-dark); }
.nav-call-btn i { margin-right: 5px; }

/* 햄버거 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* 모바일 메뉴 */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 16px 24px;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
}
.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.m-btn-call {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 16px;
  border-radius: 8px;
  justify-content: center;
}

/* ================================================
   히어로 섹션
   ================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(192,57,43,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(13,31,60,0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-bg-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192, 57, 43, 0.2);
  border: 1px solid rgba(192, 57, 43, 0.4);
  color: #ff9d8e;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border-radius: 24px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(32px, 6vw, 58px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  word-break: keep-all;
}
.hero-title .highlight {
  color: var(--red-bright);
  position: relative;
  display: inline-block;
}
.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 4px;
  background: var(--red-bright);
  opacity: 0.4;
  border-radius: 2px;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: 36px;
  word-break: keep-all;
}
.hero-sub strong { color: #fff; font-weight: 700; }

/* 히어로 통계 */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 20px 32px;
  margin-bottom: 36px;
}
.stat-item { flex: 1; text-align: center; padding: 0 16px; }
.stat-num {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}
.stat-unit {
  font-size: 18px;
  font-weight: 700;
  color: var(--red-bright);
}
.stat-item p {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.15);
}

/* 히어로 버튼 */
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  padding: 18px 36px;
  border-radius: 10px;
  transition: all var(--transition);
  box-shadow: 0 6px 24px rgba(192, 57, 43, 0.4);
}
.btn-primary-lg:hover { background: var(--red-dark); transform: translateY(-3px); box-shadow: 0 10px 32px rgba(192, 57, 43, 0.5); }
.btn-primary-lg i { font-size: 18px; }

.btn-kakao-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--kakao-yellow);
  color: var(--kakao-brown);
  font-size: 17px;
  font-weight: 800;
  padding: 18px 36px;
  border-radius: 10px;
  transition: all var(--transition);
  box-shadow: 0 6px 24px rgba(254, 229, 0, 0.3);
}
.btn-kakao-lg:hover { background: #f0d800; transform: translateY(-3px); }

.hero-notice {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-notice i { color: #5dde8f; font-size: 12px; }

.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.35);
  font-size: 18px;
  animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ================================================
   빠른 유형 안내
   ================================================ */
.quick-types {
  background: var(--navy);
  padding: 32px 0;
}
.quick-types .section-eyebrow { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.1); margin-bottom: 20px; display: block; text-align: center; }
.types-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.type-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.type-card:hover { background: rgba(192, 57, 43, 0.2); border-color: rgba(192, 57, 43, 0.4); transform: translateY(-3px); }
.type-icon {
  width: 48px; height: 48px;
  background: rgba(192, 57, 43, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 20px;
  color: #ff9d8e;
  transition: all var(--transition);
}
.type-card:hover .type-icon { background: var(--red); color: #fff; }
.type-card p { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.8); }

/* ================================================
   노무사 소개
   ================================================ */
.about {
  padding: 96px 0;
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}

/* 프로필 카드 */
.profile-card {
  background: var(--navy);
  border-radius: 20px;
  padding: 36px 28px;
  color: var(--white);
  position: sticky;
  top: 120px;
}

.profile-badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  gap: 12px;
}

.profile-avatar {
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: rgba(255,255,255,0.6);
  border: 3px solid rgba(255,255,255,0.15);
}

.official-badge {
  background: rgba(212, 160, 23, 0.2);
  border: 1px solid rgba(212, 160, 23, 0.4);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.official-badge i { margin-right: 4px; }

.profile-info { text-align: center; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
.profile-title { font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.profile-name { font-size: 28px; font-weight: 800; letter-spacing: 0.12em; margin-bottom: 6px; }
.profile-org { font-size: 13px; color: rgba(255,255,255,0.65); }

.profile-career {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profile-career li {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.profile-career li i { color: var(--red-bright); font-size: 12px; margin-top: 3px; flex-shrink: 0; }

.profile-contacts { display: flex; flex-direction: column; gap: 10px; }
.pcontact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  transition: background var(--transition);
  word-break: break-all;
}
.pcontact-item:hover { background: rgba(255,255,255,0.14); }
.pcontact-item i { color: var(--red-bright); flex-shrink: 0; }

/* 강점 리스트 */
.strengths-wrap { display: flex; flex-direction: column; gap: 28px; }
.strength-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.strength-item:hover { border-color: rgba(192,57,43,0.3); box-shadow: var(--shadow); transform: translateX(4px); }
.strength-num {
  font-size: 32px;
  font-weight: 900;
  color: rgba(192, 57, 43, 0.15);
  line-height: 1;
  flex-shrink: 0;
  min-width: 40px;
}
.strength-body h4 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.strength-body p { font-size: 14px; color: var(--gray-600); line-height: 1.7; word-break: keep-all; }

/* ================================================
   전문 분야
   ================================================ */
.services {
  padding: 96px 0;
  background: var(--gray-100);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.svc-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.svc-card:hover { border-color: rgba(192,57,43,0.3); box-shadow: var(--shadow-md); transform: translateY(-4px); }

.svc-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.svc-icon.red { background: rgba(192, 57, 43, 0.1); color: var(--red); }
.svc-icon.navy { background: rgba(13, 31, 60, 0.08); color: var(--navy); }

.svc-card h4 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.svc-card p { font-size: 14px; color: var(--gray-600); line-height: 1.7; word-break: keep-all; }

/* 부가 서비스 태그 */
.sub-services {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  border: 1px solid var(--gray-200);
}
.sub-services-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sub-services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sub-services-tags span {
  background: var(--gray-100);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
}

/* ================================================
   성공 사례
   ================================================ */
.cases {
  padding: 96px 0;
  background: var(--navy-dark);
}

.cases .section-eyebrow { color: #ff9d8e; background: rgba(192, 57, 43, 0.15); }
.cases .section-title { color: var(--white); }
.cases .section-title .accent { color: var(--red-bright); }
.cases .section-desc { color: rgba(255,255,255,0.5); font-size: 13px; }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.case-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: all var(--transition);
}
.case-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(192,57,43,0.4); transform: translateY(-4px); }

.case-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.case-label.success { background: rgba(93, 222, 143, 0.15); color: #5dde8f; border: 1px solid rgba(93, 222, 143, 0.3); }
.case-label.appeal { background: rgba(255, 157, 142, 0.15); color: #ff9d8e; border: 1px solid rgba(255, 157, 142, 0.3); }

.case-amount {
  font-size: 30px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.case-type {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.case-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 16px;
  word-break: keep-all;
}
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case-tags span {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}

.cases-cta { text-align: center; }
.cases-cta p { color: rgba(255,255,255,0.7); margin-bottom: 20px; font-size: 16px; }

/* ================================================
   후기 슬라이더
   ================================================ */
.reviews {
  padding: 96px 0;
  background: var(--off-white);
}

.reviews-slider-wrap { position: relative; overflow: hidden; }

.reviews-slider {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.review-card {
  min-width: 100%;
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.review-stars { color: #f4c430; font-size: 18px; letter-spacing: 3px; margin-bottom: 20px; }

.review-text {
  font-size: 16px;
  color: var(--gray-800);
  line-height: 1.85;
  margin-bottom: 28px;
  word-break: keep-all;
  font-style: italic;
  position: relative;
  padding-left: 20px;
}
.review-text::before {
  content: '"';
  position: absolute;
  left: 0; top: -4px;
  font-size: 40px;
  color: rgba(192,57,43,0.2);
  line-height: 1;
  font-style: normal;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 46px; height: 46px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gray-400);
  flex-shrink: 0;
}
.author-name { font-size: 15px; font-weight: 700; color: var(--navy); }
.author-info { font-size: 13px; color: var(--gray-400); margin-top: 2px; }

/* 슬라이더 컨트롤 */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.slider-btn {
  width: 42px; height: 42px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--navy);
  transition: all var(--transition);
}
.slider-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.slider-dots { display: flex; gap: 8px; }
.dot {
  width: 8px; height: 8px;
  background: var(--gray-200);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
}
.dot.active { background: var(--red); width: 24px; border-radius: 4px; }

/* ================================================
   카카오톡 섹션
   ================================================ */
.kakao-section {
  padding: 72px 0;
  background: var(--white);
}

.kakao-card {
  background: linear-gradient(135deg, #3a2a00 0%, #1a1200 100%);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  border: 2px solid var(--kakao-yellow);
  box-shadow: 0 20px 60px rgba(254, 229, 0, 0.1);
}

.kakao-left {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex: 1;
}
.kakao-logo-wrap { flex-shrink: 0; }
.kakao-big-icon { width: 72px; height: 72px; }

.kakao-eyebrow {
  font-size: 12px;
  color: rgba(254, 229, 0, 0.6);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.kakao-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--kakao-yellow);
  line-height: 1.3;
  margin-bottom: 14px;
}
.kakao-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  word-break: keep-all;
}

.kakao-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.kakao-btn-main {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--kakao-yellow);
  color: var(--kakao-brown);
  font-size: 16px;
  font-weight: 800;
  padding: 16px 28px;
  border-radius: 10px;
  white-space: nowrap;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(254, 229, 0, 0.3);
}
.kakao-btn-main:hover { background: #f0d800; transform: translateY(-2px); }
.kakao-icon-btn { width: 26px; height: 26px; }

.kakao-note {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 6px;
}
.kakao-note i { color: rgba(254,229,0,0.5); }

/* ================================================
   산재 절차
   ================================================ */
.process {
  padding: 96px 0;
  background: var(--gray-100);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.step:hover { border-color: rgba(192,57,43,0.3); box-shadow: var(--shadow); }

.step-num {
  width: 52px; height: 52px;
  background: var(--red);
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.step-body h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-body p { font-size: 13px; color: var(--gray-600); line-height: 1.7; word-break: keep-all; }

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 18px;
  padding: 0 8px;
  margin-top: 26px;
}

/* ================================================
   상담 신청 & 오시는 길
   ================================================ */
.contact {
  padding: 96px 0;
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: var(--navy);
  border-radius: 20px;
  padding: 36px 32px;
  color: var(--white);
}

.contact-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  width: 36px; height: 36px;
  background: rgba(192, 57, 43, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--red-bright);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-label { font-size: 11px; color: rgba(255,255,255,0.45); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 3px; font-weight: 600; }
.contact-item p { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.5; }
.contact-sub { font-size: 12px !important; color: rgba(255,255,255,0.45) !important; margin-top: 2px; }
.contact-tel { font-size: 20px; font-weight: 700; color: var(--white); display: block; }
.contact-tel:hover { color: var(--red-bright); }
.contact-item a:not(.contact-tel) { font-size: 14px; color: rgba(255,255,255,0.75); }

.contact-btns { display: flex; flex-direction: column; gap: 12px; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 500px;
  border: 1px solid var(--gray-200);
}

/* ================================================
   하단 고정 CTA 바
   ================================================ */
.bottom-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: var(--white);
  border-top: 2px solid var(--gray-200);
  display: flex;
  z-index: 800;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.bottom-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: all var(--transition);
}
.bottom-btn.call { background: var(--red); color: var(--white); }
.bottom-btn.call:hover { background: var(--red-dark); }
.bottom-btn.kakao { background: var(--kakao-yellow); color: var(--kakao-brown); }
.bottom-btn.kakao:hover { background: #f0d800; }
.bottom-btn i { font-size: 16px; }
.kakao-icon-bottom { width: 20px; height: 20px; }

/* ================================================
   플로팅 버튼 (데스크탑)
   ================================================ */
.floating-btns {
  position: fixed;
  right: 24px;
  bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 700;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  pointer-events: none;
}
.floating-btns.visible { opacity: 1; transform: translateY(0); pointer-events: all; }

.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  position: relative;
}
.float-btn:hover { transform: scale(1.1); }
.call-float { background: var(--red); color: var(--white); }
.kakao-float { background: var(--kakao-yellow); }

.float-label {
  font-size: 10px;
  font-weight: 700;
  margin-top: 2px;
}
.call-float .float-label { color: var(--white); }
.kakao-float .float-label { color: var(--kakao-brown); }

.kakao-icon-float { width: 26px; height: 26px; }

/* ================================================
   푸터
   ================================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 30px;
}

.footer-inner {
  display: flex;
  gap: 60px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}

.footer-brand { flex: 1; min-width: 240px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.logo-mark-sm {
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  width: 34px; height: 34px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-mark-sm span { color: var(--kakao-yellow); }
.footer-logo span { font-size: 16px; font-weight: 700; color: var(--white); }

.footer-desc { font-size: 13px; line-height: 1.7; margin-bottom: 10px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }

.footer-links { flex: 1; min-width: 220px; }
.footer-contact-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-group a, .footer-contact-group p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}
.footer-contact-group a:hover { color: var(--white); }
.footer-contact-group i { color: rgba(192,57,43,0.7); width: 16px; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-disclaimer { font-size: 11px !important; }

/* ================================================
   반응형 (태블릿 ~ 모바일)
   ================================================ */
@media (max-width: 1024px) {
  .about-layout { grid-template-columns: 1fr; }
  .profile-card { position: static; }
  .types-grid { grid-template-columns: repeat(3, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .map-wrap { height: 320px; }
  .kakao-card { gap: 28px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-call-btn { display: none; }

  .hero { padding: 60px 20px 80px; }
  .hero-stats { padding: 16px 20px; gap: 0; }
  .stat-item { padding: 0 10px; }
  .stat-num { font-size: 28px; }
  .stat-unit { font-size: 15px; }

  .btn-primary-lg, .btn-kakao-lg {
    font-size: 15px;
    padding: 15px 24px;
    width: 100%;
    justify-content: center;
  }
  .hero-btns { flex-direction: column; gap: 12px; width: 100%; }

  .types-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .type-card { padding: 14px 8px; }
  .type-icon { width: 40px; height: 40px; font-size: 16px; }
  .type-card p { font-size: 11px; }

  .about { padding: 60px 0; }
  .services { padding: 60px 0; }
  .cases { padding: 60px 0; }
  .reviews { padding: 60px 0; }
  .process { padding: 60px 0; }
  .contact { padding: 60px 0; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: 1fr; }

  .process-steps {
    flex-direction: column;
    gap: 8px;
  }
  .step { flex-direction: row; text-align: left; }
  .step-num { margin-bottom: 0; margin-right: 0; }
  .step-arrow { transform: rotate(90deg); padding: 0; margin: 0 auto; }

  .kakao-card {
    flex-direction: column;
    padding: 32px 24px;
    gap: 28px;
  }
  .kakao-left { flex-direction: column; align-items: flex-start; gap: 16px; }
  .kakao-right { width: 100%; }
  .kakao-btn-main { width: 100%; justify-content: center; }

  .review-card { padding: 28px 22px; }
  .review-text { font-size: 14px; }

  .footer-inner { flex-direction: column; gap: 30px; }

  /* 모바일에서 플로팅 버튼 숨김 (하단바로 대체) */
  .floating-btns { display: none; }

  .section-title { font-size: 24px; }
}

@media (max-width: 480px) {
  .emergency-inner { font-size: 11px; }
  .banner-tel { font-size: 12px; }
  .logo-main { font-size: 14px; }
  .logo-sub { font-size: 10px; }

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

  .case-amount { font-size: 26px; }
  .contact-info-card { padding: 24px 20px; }
}
