/* ============================================
   차하나 세무사 홈페이지 스타일
   디자인: 상큼하고 세련된 여성 전문가 무드
   컬러 팔레트: 코랄 핑크 + 딥 네이비 + 민트
============================================ */

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

:root {
  --primary: #c8456c;       /* 딥 로즈 핑크 */
  --primary-light: #e8789f; /* 라이트 핑크 */
  --primary-pale: #fce8f0;  /* 연한 핑크 */
  --coral: #f06292;         /* 코랄 */
  --accent: #4db6ac;        /* 민트 */
  --dark: #1a1a2e;          /* 딥 네이비 */
  --dark2: #16213e;         /* 더 짙은 네이비 */
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --white: #ffffff;
  --text: #2d2d2d;
  --text-light: #5a5a6e;
  --gold: #d4a017;

  --font-main: 'Noto Sans KR', sans-serif;
  --font-display: 'Playfair Display', serif;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --shadow-pink: 0 8px 32px rgba(200, 69, 108, 0.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--coral));
  color: white;
  box-shadow: var(--shadow-pink);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(200, 69, 108, 0.4);
}

.btn-kakao {
  background: #fee500;
  color: #3a1d1d;
  box-shadow: 0 4px 16px rgba(254, 229, 0, 0.4);
}
.btn-kakao:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(254, 229, 0, 0.5);
}

.btn-blog {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 16px rgba(77, 182, 172, 0.4);
}
.btn-blog:hover {
  transform: translateY(-2px);
  background: #26a69a;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: all 0.4s ease;
  padding: 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  backdrop-filter: blur(16px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.logo-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  transition: color 0.3s;
}

.navbar.scrolled .logo-name {
  color: var(--primary);
}

.logo-sub {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
}

.navbar.scrolled .logo-sub {
  color: var(--gray);
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary-light);
  transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }

.navbar.scrolled .nav-links a {
  color: var(--text);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  color: var(--primary);
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.3s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-pink);
}

.navbar.scrolled .nav-cta {
  background: var(--primary);
  color: white;
}

.navbar.scrolled .nav-cta:hover {
  background: var(--dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

.navbar.scrolled .hamburger span {
  background: var(--text);
}

/* === HERO SECTION (텍스트 중심) === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark2) 0%, var(--dark) 40%, #2d1b4e 100%);
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200, 69, 108, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(77, 182, 172, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(240, 98, 146, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px 100px;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200, 69, 108, 0.2);
  border: 1px solid rgba(200, 69, 108, 0.5);
  color: var(--primary-light);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
  word-break: keep-all;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary-light), var(--coral), #ff8fab);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 28px;
  word-break: keep-all;
}

.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}

.kw {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}

.kw:hover {
  background: rgba(200, 69, 108, 0.3);
  border-color: var(--primary-light);
  color: white;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-btns .btn {
  font-size: 1rem;
  padding: 16px 34px;
}

.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: var(--radius-lg);
  padding: 24px 20px;
  backdrop-filter: blur(16px);
  flex-wrap: wrap;
}

.stat {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 8px 16px;
}

.stat strong {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: white;
}

.stat span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-light);
}

.stat p {
  font-size: 0.78rem;
  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-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* === PROFILE SECTION (히어로 바로 아래) === */
.profile-section {
  background: linear-gradient(180deg, #fff5f8 0%, #ffffff 100%);
  padding: 80px 0 100px;
  position: relative;
}

.profile-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--coral), var(--accent));
}

.profile-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
  background: white;
  border-radius: var(--radius-xl);
  padding: 56px 60px;
  box-shadow: 0 20px 80px rgba(200, 69, 108, 0.1), 0 4px 20px rgba(0,0,0,0.06);
}

/* === PROFILE IMAGE === */
.profile-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.profile-img-frame {
  position: relative;
  width: 280px;
}

.profile-img-frame::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  border-radius: 24px 4px 24px 4px;
  background: linear-gradient(135deg, var(--primary-pale), #fce8f0);
  z-index: 0;
}

.profile-img-frame::after {
  content: '';
  position: absolute;
  bottom: -24px; right: -24px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #80cbc4);
  z-index: 0;
  opacity: 0.6;
}

.profile-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px 4px 20px 4px;
  box-shadow: var(--shadow-lg);
}

.profile-badge-chip {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: linear-gradient(135deg, var(--primary), var(--coral));
  color: white;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(200, 69, 108, 0.5);
}

/* === PROFILE INFO === */
.profile-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-firm {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--primary-pale);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.profile-name {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 6px;
}

.profile-tagline {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  font-style: italic;
}

.profile-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.85;
  word-break: keep-all;
}

.profile-desc strong {
  color: var(--primary);
  font-weight: 700;
}

.profile-desc em {
  color: var(--dark);
  font-style: normal;
  font-weight: 600;
}

/* === PROFILE TAGS === */
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--primary-pale);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.25s;
}

.tag:hover {
  background: var(--primary);
  color: white;
}

.tag i {
  font-size: 0.75rem;
}

/* === PROFILE CAREERS === */
.careers-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.careers-title i {
  color: var(--primary);
}

.career-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.career-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}

.career-badge {
  flex-shrink: 0;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--coral));
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 2px;
}

.career-badge.past {
  background: linear-gradient(135deg, #90a4ae, #78909c);
}

/* === PROFILE CONTACT STRIP === */
.profile-contact-strip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-light);
  transition: color 0.25s;
}

.contact-item i {
  width: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

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

/* === SECTION COMMON === */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: var(--primary-pale);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 12px;
  word-break: keep-all;
}

.section-sub {
  font-size: 1rem;
  color: var(--gray);
  word-break: keep-all;
}

/* === WHY SECTION === */
.why-section {
  background: var(--light-gray);
  padding: 100px 0;
}

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

.why-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

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

.why-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--primary);
  transition: all 0.3s;
}

.why-card:hover .why-icon {
  background: var(--primary);
  color: white;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
  word-break: keep-all;
}

/* === SERVICES SECTION === */
.services-section {
  background: white;
  padding: 100px 0;
}

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

.service-card {
  background: var(--light-gray);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--coral));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

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

.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 18px;
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--coral));
  color: white;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
  word-break: keep-all;
}

/* === REVIEWS SECTION === */
.reviews-section {
  background: linear-gradient(135deg, #fff5f8 0%, #fdf4ff 100%);
  padding: 100px 0;
}

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

.review-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 20px; right: 24px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--primary-pale);
  line-height: 1;
}

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

.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
  word-break: keep-all;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--coral));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
}

.review-author span {
  font-size: 0.78rem;
  color: var(--gray);
}

/* === BLOG SECTION === */
.blog-section {
  background: linear-gradient(135deg, var(--dark2), var(--dark), #1e3a5f);
  padding: 100px 0;
}

.blog-section .section-header.light .section-title {
  color: white;
}

.blog-section .section-header.light .section-sub {
  color: rgba(255,255,255,0.6);
}

.blog-section .section-header.light .section-label {
  background: rgba(200,69,108,0.2);
  color: var(--primary-light);
  border: 1px solid rgba(200,69,108,0.3);
}

.blog-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}

.blog-topics {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-topic-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}

.blog-topic-item:hover {
  background: rgba(200, 69, 108, 0.15);
  border-color: rgba(200, 69, 108, 0.3);
  transform: translateX(4px);
}

.blog-topic-item > i {
  font-size: 1.3rem;
  color: var(--primary-light);
  margin-top: 2px;
  flex-shrink: 0;
}

.blog-topic-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.blog-topic-item p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

.blog-cta-wrap {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  backdrop-filter: blur(16px);
}

.blog-icon-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--coral));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(200,69,108,0.4);
}

.blog-cta-wrap h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
}

.blog-cta-wrap p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 24px;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 20px;
}

.blog-tags span {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* === CONTACT SECTION === */
.contact-section {
  background: white;
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.contact-card {
  background: var(--light-gray);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
}

.contact-icon.phone { background: #fce8f0; color: var(--primary); }
.contact-icon.kakao { background: #fff9c4; color: #b8860b; }
.contact-icon.email { background: #e8f5e9; color: #2e7d32; }
.contact-icon.map { background: #e3f2fd; color: #1565c0; }

.contact-card:hover .contact-icon.phone { background: var(--primary); color: white; }
.contact-card:hover .contact-icon.kakao { background: #fee500; color: #3a1d1d; }
.contact-card:hover .contact-icon.email { background: #43a047; color: white; }
.contact-card:hover .contact-icon.map { background: #1976d2; color: white; }

.kakao-card:hover {
  background: #fff9c4;
}

.contact-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-desc {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.5;
}

.contact-notice {
  text-align: center;
  font-size: 0.88rem;
  color: var(--gray);
  background: var(--light-gray);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  line-height: 1.7;
}

.contact-notice i {
  color: var(--primary);
  margin-right: 6px;
}

/* === FOOTER === */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer-brand .footer-name {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  color: white;
  margin-bottom: 2px;
}

.footer-brand .footer-firm {
  display: block;
  font-size: 0.78rem;
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

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

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.25s;
}

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

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.25s;
}

.social-btn.naver {
  background: rgba(3, 199, 90, 0.15);
  color: #03c75a;
}

.social-btn.naver span {
  font-weight: 800;
  font-size: 0.9rem;
}

.social-btn.naver:hover {
  background: #03c75a;
  color: white;
}

.social-btn.kakao-social {
  background: rgba(254, 229, 0, 0.15);
  color: #d4a800;
}

.social-btn.kakao-social:hover {
  background: #fee500;
  color: #3a1d1d;
}

.social-btn.insta {
  background: rgba(225, 48, 108, 0.15);
  color: #e1306c;
}

.social-btn.insta:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
}

/* === FLOATING BUTTONS === */
.floating-wrap {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  white-space: nowrap;
}

.float-kakao {
  background: #fee500;
  color: #3a1d1d;
}

.float-kakao:hover {
  transform: translateX(-4px);
  box-shadow: 0 8px 32px rgba(254, 229, 0, 0.5);
}

.float-phone {
  background: linear-gradient(135deg, var(--primary), var(--coral));
  color: white;
}

.float-phone:hover {
  transform: translateX(-4px);
  box-shadow: 0 8px 32px rgba(200, 69, 108, 0.5);
}

/* === SCROLL ANIMATION === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === MOBILE NAV === */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: white;
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.mobile-nav a:hover {
  background: var(--primary-pale);
  color: var(--primary);
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }

  .profile-card {
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding: 40px;
  }

  .profile-img-frame { width: 240px; }
  .profile-photo { height: 310px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .profile-card {
    grid-template-columns: 1fr;
    padding: 32px 28px;
    gap: 32px;
  }

  .profile-image-wrap { justify-content: center; }
  .profile-img-frame { width: 220px; }
  .profile-photo { height: 280px; }

  .blog-content { grid-template-columns: 1fr; }
  .blog-cta-wrap { max-width: 480px; margin: 0 auto; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-social { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 2.4rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-stats { gap: 8px; }
  .stat-divider { display: none; }

  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }

  .profile-card { padding: 24px 20px; }
  .profile-name { font-size: 2rem; }

  .float-btn span { display: none; }
  .float-btn { padding: 14px; border-radius: 50%; }
}

@media (max-width: 400px) {
  .contact-grid { grid-template-columns: 1fr; }
}
