/* ============================================================
   OO세무회계 — 소개 홈페이지 스타일
   색상 테마: 신뢰감 있는 네이비 + 그린 포인트
   바꾸고 싶으면 아래 :root 변수만 수정하세요.
   ============================================================ */
:root {
  /* 다함세무법인 브랜드 컬러 — 딥 포레스트 그린 + 라임 그린 */
  --navy: #0e4d2e;        /* 딥 그린 (로고 워드마크 색) — 헤딩·헤로 */
  --navy-2: #14663c;      /* 딥 그린 밝은 톤 (그라데이션) */
  --lime: #6cbf3b;        /* 라임 그린 (로고 화살표 심볼) — 장식 포인트 */
  --lime-dark: #4e9e2a;   /* 흰 배경에서 읽히는 라임 (텍스트·아이콘) */
  --accent: #4e9e2a;      /* 포인트 색(텍스트 안전) */
  --accent-dark: #3d7d21;
  --ink: #1c2620;
  --muted: #5c6b60;
  --line: #e4ebe4;
  --bg: #ffffff;
  --bg-alt: #f3f8f2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 77, 46, 0.10);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; cursor: pointer;
  border: 1.5px solid transparent; transition: all .18s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-dark); }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-logo { height: 34px; width: auto; display: block; }
.brand-name {
  font-size: 14.5px; color: var(--navy); font-weight: 800; line-height: 1.15;
  padding-left: 12px; border-left: 1px solid var(--line);
}
.brand-name em { display: block; font-style: normal; font-weight: 700; font-size: 13px; color: var(--lime-dark); }
.nav { margin-left: auto; display: flex; gap: 26px; }
.nav a { color: var(--muted); font-weight: 600; font-size: 15.5px; }
.nav a:hover { color: var(--navy); }
.nav-cta { flex-shrink: 0; }

/* ---------- 히어로 ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(108,191,59,.32), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 92px 0 84px;
}
.hero-inner { max-width: 780px; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: .04em;
  color: #d6f5b8; background: rgba(255,255,255,.1);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5.5vw, 56px); font-weight: 800; }
.hero h1 strong { color: #9de861; }
.hero-sub { margin-top: 22px; font-size: 18px; color: #d5deec; max-width: 640px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  margin: 52px 0 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 40px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 30px; font-weight: 800; color: #fff; }
.hero-stats span { color: #a9bad3; font-size: 14.5px; }

/* ---------- 섹션 공통 ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-eyebrow {
  color: var(--accent-dark); font-weight: 800; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); color: var(--navy); }
.section-lead { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* ---------- 소개 ---------- */
.about-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center;
}
.profile-img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center;
  border-radius: var(--radius); box-shadow: var(--shadow);
  background: linear-gradient(135deg, #eef5ec, #dfeadb);
}
.photo-placeholder {
  aspect-ratio: 4/5; border-radius: var(--radius);
  background: linear-gradient(135deg, #eef5ec, #dfeadb);
  display: grid; place-items: center; color: #7c927a; font-weight: 700; text-align: center;
  box-shadow: var(--shadow);
}
.photo-placeholder small { font-weight: 500; opacity: .7; }
.about-text h2 { font-size: clamp(24px, 3.4vw, 34px); color: var(--navy); margin: 8px 0 18px; }
.about-text > p { color: var(--muted); font-size: 16.5px; }
.credentials { margin: 24px 0 28px; padding: 0; list-style: none; }
.credentials li {
  position: relative; padding-left: 30px; margin: 12px 0; font-weight: 600; color: var(--ink);
}
.credentials li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 900;
}

/* ---------- 카드(업무분야) ---------- */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: all .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-ico {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(108,191,59,.16); font-size: 26px; margin-bottom: 16px;
}
.card h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card p b { color: var(--accent-dark); font-weight: 800; }
.card-featured {
  border-color: var(--accent); background: linear-gradient(180deg, #f3fbf8, #fff);
  box-shadow: 0 10px 30px rgba(108,191,59,.16);
}
.card-featured .card-ico { background: rgba(108,191,59,.28); }

/* ---------- 상담 절차 ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s;
}
.steps li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; position: relative;
}
.step-no {
  display: inline-block; font-size: 15px; font-weight: 800; color: #fff;
  background: var(--navy); border-radius: 8px; padding: 4px 10px; margin-bottom: 14px;
}
.steps h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- 블로그 CTA ---------- */
.blog-cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.blog-cta-text h2 { font-size: clamp(24px, 3.4vw, 34px); color: var(--navy); margin: 8px 0 16px; }
.blog-cta-text p { color: var(--muted); font-size: 16.5px; margin-bottom: 24px; }
.links-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.blog-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow); transition: all .18s ease;
}
.blog-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.blog-card-badge {
  flex-shrink: 0; color: #fff; font-weight: 800; display: grid; place-items: center;
  min-width: 52px; height: 44px; padding: 0 12px; border-radius: 10px; font-size: 14px; letter-spacing: -.01em;
}
.badge-naver { background: #03c75a; }
.badge-home  { background: var(--navy); font-size: 13px; }
.badge-insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #bc1888); font-size: 20px; }
.badge-youtube { background: #ff0000; font-size: 18px; }
.blog-card-body { display: flex; flex-direction: column; }
.blog-card-body strong { color: var(--navy); font-size: 16px; }
.blog-card-body span { color: var(--muted); font-size: 14.5px; }
.blog-card-arrow { margin-left: auto; font-size: 22px; color: var(--accent); font-weight: 800; }

/* ---------- 연락처 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.c-label {
  flex-shrink: 0; width: 84px; color: var(--accent-dark); font-weight: 800; font-size: 15px;
}
.c-value { color: var(--ink); font-size: 16px; font-weight: 600; }
a.c-value:hover { color: var(--accent-dark); }
.contact-map { min-height: 320px; position: relative; }
.contact-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.map-naver-btn { position: absolute; right: 12px; bottom: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.map-placeholder {
  height: 100%; min-height: 320px; border-radius: var(--radius);
  background: linear-gradient(135deg, #eef2f8, #e0e7f1);
  display: grid; place-items: center; gap: 16px; color: #7c8aa3; font-weight: 700;
  border: 1px dashed #c3cede;
}

/* ---------- 푸터 ---------- */
.site-footer { background: var(--navy); color: #cdd8ea; padding: 48px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-inner strong { color: #fff; font-size: 18px; }
.footer-inner p { font-size: 14.5px; margin-top: 4px; color: #9fb0cc; }
.footer-links { display: flex; gap: 22px; align-items: flex-start; }
.footer-links a { color: #cdd8ea; font-weight: 600; }
.footer-links a:hover { color: #9de861; }
.footer-copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: #8fa0bd; }

/* ---------- 플로팅 버튼 ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 12px; z-index: 60; }
.fab-btn {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.22); transition: transform .15s ease;
}
.fab-btn:hover { transform: scale(1.08); }
.fab-call { background: var(--lime-dark); }
.fab-blog { background: #03c75a; font-weight: 900; font-size: 24px; }

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .about-grid, .blog-cta, .contact-grid { grid-template-columns: 1fr; }
  .links-row { grid-template-columns: repeat(2, 1fr); }
  .about-photo { max-width: 360px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .hero { padding: 68px 0 60px; }
}
@media (max-width: 560px) {
  .cards, .steps, .links-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .nav-cta { display: none; }
  .footer-inner { flex-direction: column; }
}
