/* 법률사무소 이혜 — 공통 스타일 */
:root {
  --navy-900: #1a2532;
  --navy-800: #2C3E50;
  --navy-700: #3d5266;
  --navy-100: #e8ecef;
  --gold-600: #9c7a3c;
  --gold-100: #f4ecd8;
  --ink-900: #1c232b;
  --ink-700: #3f4a55;
  --ink-600: #5a6570;
  --ink-400: #93a0aa;
  --line-200: #e1e6ea;
  --line-100: #eef1f4;
  --bg-soft: #f6f8f9;
  --white: #ffffff;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 6px 22px rgba(26, 37, 50, 0.07);
  --shadow-hover: 0 14px 30px rgba(44, 62, 80, 0.16);
  --max-w: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.36; font-weight: 700; letter-spacing: -0.01em; font-family: 'Noto Serif KR', 'Pretendard Variable', serif; color: var(--navy-900); }
h3, h4 { font-family: 'Pretendard Variable', Pretendard, sans-serif; font-weight: 800; }
p { margin: 0; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ---------- Top bar ---------- */
.top-bar { background: var(--navy-900); color: rgba(255,255,255,0.82); font-size: 0.82rem; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.top-bar-info span { margin-right: 4px; }
.top-bar-info .sep { margin: 0 8px; opacity: 0.5; }
.top-bar-info a { color: #fff; font-weight: 600; }
.top-bar-sns { display: flex; gap: 10px; }
.top-bar-sns img { width: 34px; height: 34px; opacity: 0.95; transition: opacity .15s; }
.top-bar-sns img:hover { opacity: 1; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.97); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line-200); }
.site-header-inner { display: flex; align-items: center; justify-content: flex-start; height: 96px; gap: 30px; }
.brand { margin-right: auto; display: flex; align-items: center; }
.nav-desktop { display: flex; align-items: center; gap: 6px; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-top { padding: 10px 15px; font-size: 0.98rem; font-weight: 700; color: var(--ink-700); border-radius: 999px; transition: background .15s, color .15s; }
.nav-item:hover .nav-top { background: var(--navy-100); color: var(--navy-900); }
.nav-drop { position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--white); border: 1px solid var(--line-200); border-radius: var(--radius-md); box-shadow: var(--shadow-hover); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s; }
.nav-item.has-drop:hover .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--ink-700); white-space: nowrap; }
.nav-drop a:hover { background: var(--bg-soft); color: var(--navy-900); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.hamburger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-200); background: var(--white); align-items: center; justify-content: center; cursor: pointer; }
.hamburger svg { width: 22px; height: 22px; color: var(--ink-900); }
.nav-mobile { display: none; flex-direction: column; padding: 6px 20px 16px; border-top: 1px solid var(--line-200); }
.nav-mobile-group summary { padding: 12px 4px; font-weight: 700; cursor: pointer; }
.nav-mobile-children { display: flex; flex-direction: column; padding-left: 12px; }
.nav-mobile-children a, .nav-mobile-single { padding: 10px 4px; color: var(--ink-700); font-weight: 600; }
.nav-mobile.open, .nav-mobile-group[open] .nav-mobile-children { display: flex; }
body.nav-open .nav-mobile { display: flex; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 0.92rem; transition: all .15s; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-900); }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-100); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 14px 0; font-size: 0.84rem; color: var(--ink-400); }
.breadcrumb a { color: var(--ink-400); }
.breadcrumb a:hover { color: var(--navy-800); }

/* ---------- Hero (split) ---------- */
.hero-split { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero-split-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 460px; gap: 40px; }
.hero-split-text { padding: 60px 0; position: relative; z-index: 2; }
.hero-eyebrow { display: inline-block; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.08em; color: var(--gold-100); text-transform: uppercase; margin-bottom: 14px; }
.hero-split-text h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 18px; }
.hero-split-text .lede { color: rgba(255,255,255,0.86); font-size: 1.06rem; margin-bottom: 26px; max-width: 560px; }
.hero-split-photo { position: relative; height: 100%; min-height: 460px; }
.hero-split-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.hero-split-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(26,37,50,0.15) 40%); z-index: 1; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Simple page hero (inner pages) ---------- */
.page-hero { background: var(--navy-900); color: #fff; padding: 52px 0; }
.page-hero .hero-eyebrow { color: var(--gold-100); }
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.page-hero .lede { color: rgba(255,255,255,0.88); font-size: 1.02rem; max-width: 720px; }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-soft { background: var(--bg-soft); }
.section-green { background: #244F40; }
.section-green .kicker { color: #d9c98a; }
.section-green .section-head h2 { color: #fff; font-family: 'Noto Serif KR', 'Pretendard Variable', serif; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-green .section-head .lede { color: rgba(255,255,255,0.82); }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head.left { margin: 0 0 32px; text-align: left; }
.kicker { display: block; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 10px; }
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 12px; }
.section-head .lede { color: var(--ink-600); font-size: 1.02rem; }

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.business-card { background: var(--white); border: 1px solid var(--line-200); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .18s, box-shadow .18s; }
.business-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.business-card img { height: 150px; object-fit: cover; width: 100%; }
.business-card-body { padding: 18px 20px 22px; }
.business-card-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.business-card-body p { font-size: 0.88rem; color: var(--ink-600); }

.member-card { background: var(--white); border: 1px solid var(--line-200); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.member-card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.member-card-body { padding: 20px 22px 26px; }
.member-card-body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.member-card-body .role { color: var(--gold-600); font-weight: 700; font-size: 0.88rem; margin-bottom: 10px; display: block; }

.news-card, .case-card, .media-card { background: var(--white); border: 1px solid var(--line-200); border-radius: var(--radius-md); padding: 20px 22px; box-shadow: var(--shadow-card); transition: transform .18s, box-shadow .18s; height: 100%; }
.news-card:hover, .case-card:hover, .media-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.news-card h3, .case-card h3, .media-card h3 { font-size: 1rem; margin-bottom: 8px; }
.card-tag { display: inline-block; font-size: 0.76rem; font-weight: 700; color: var(--navy-800); background: var(--navy-100); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }

.icon-card { background: var(--white); border: 1px solid var(--line-200); border-radius: var(--radius-md); padding: 26px 22px; }
.icon-badge { width: 40px; height: 40px; border-radius: 999px; background: var(--navy-800); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px; }
.icon-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.icon-card p { font-size: 0.9rem; color: var(--ink-600); }

/* ---------- Practice page detail ---------- */
.practice-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 10px; }
.practice-lists h3 { font-size: 1.08rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--navy-800); }
.practice-lists ul li { position: relative; padding: 9px 0 9px 18px; font-size: 0.95rem; color: var(--ink-700); border-bottom: 1px dashed var(--line-200); }
.practice-lists ul li::before { content: '·'; position: absolute; left: 0; color: var(--gold-600); font-weight: 900; }

/* ---------- Table ---------- */
table.info-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.94rem; }
table.info-table caption { text-align: left; font-weight: 700; margin-bottom: 10px; color: var(--navy-900); }
table.info-table th, table.info-table td { border: 1px solid var(--line-200); padding: 12px 14px; text-align: left; }
table.info-table th { background: var(--bg-soft); font-weight: 700; width: 28%; }

/* ---------- About page ---------- */
.about-block { padding: 20px 0; border-bottom: 1px dashed var(--line-200); }
.about-block:last-child { border-bottom: none; }
.about-block .lead { font-weight: 800; font-size: 1.05rem; color: var(--gold-600); margin-bottom: 6px; }
.about-block p { font-size: 1.06rem; color: var(--ink-800); line-height: 1.9; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--line-200); border-radius: var(--radius-md); padding: 4px 20px; }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; cursor: pointer; font-weight: 700; font-size: 0.98rem; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.qmark { color: var(--navy-800); margin-right: 6px; }
.amark { color: var(--gold-600); font-weight: 800; margin-right: 4px; }
.faq-a { padding: 0 0 18px; color: var(--ink-700); font-size: 0.93rem; line-height: 1.75; }
.chev { transition: transform .2s; color: var(--ink-400); }
details[open] .chev { transform: rotate(180deg); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); padding: 46px 40px; text-align: center; }
.cta-band h2 { color: #fff; font-size: 1.5rem; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 24px; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-band .hero-cta { justify-content: center; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.12); }

/* ---------- Location / map ---------- */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-200); }
#daumRoughmapContainer1766165758762 { width: 100%; min-height: 400px; }
.location-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px; }
.location-info-item { background: var(--bg-soft); border-radius: var(--radius-md); padding: 16px 18px; }
.location-info-item .label { font-size: 0.8rem; color: var(--ink-400); font-weight: 700; margin-bottom: 4px; }
.location-info-item .value { font-size: 1rem; font-weight: 700; color: var(--navy-900); }
.location-info-item a.value { color: var(--navy-800); }

/* ---------- Contact form ---------- */
.contact-form { display: grid; gap: 16px; max-width: 640px; }
.contact-form label { font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; display: block; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-200); border-radius: var(--radius-sm); font-size: 0.95rem; font-family: inherit; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-phone-card { background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); padding: 30px 32px; }
.contact-phone-card .num { font-size: 1.7rem; font-weight: 800; margin: 8px 0 18px; }

/* ---------- Case/media detail article ---------- */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { font-size: 1.3rem; margin: 34px 0 14px; }
.article-body p { margin-bottom: 16px; color: var(--ink-800); font-size: 1.02rem; line-height: 1.9; }
.article-body img { border-radius: var(--radius-md); margin: 18px 0; }
.article-meta { color: var(--ink-400); font-size: 0.86rem; margin-bottom: 24px; }

/* ---------- List pagination-ish grid ---------- */
.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.72); padding: 56px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-logo-badge { display: inline-block; background: #fff; border-radius: var(--radius-md); padding: 10px 16px; margin-bottom: 12px; }
.footer-logo { display: block; }
.footer-slogan { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.footer-sns { display: flex; gap: 12px; }
.footer-sns img { width: 52px; height: 52px; opacity: 0.95; transition: opacity .15s; }
.footer-sns img:hover { opacity: 1; }
.footer-col h4 { color: #fff; font-size: 0.94rem; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 9px; font-size: 0.86rem; }
.footer-col ul li a:hover { color: #fff; }
.footer-biz li { color: rgba(255,255,255,0.6); }
.footer-biz a { color: rgba(255,255,255,0.75); }
.footer-bottom { padding-top: 20px; font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .hero-split-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-split-photo { min-height: 240px; order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .practice-lists { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .list-grid { grid-template-columns: repeat(2, 1fr); }
  .location-info { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .top-bar-info span:first-child { display: none; }
  .top-bar-info .sep { display: none; }
  .grid-4, .grid-3, .list-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-header-inner { height: 76px; }
  .brand img { width: 165px; height: 47px; }
}
