/*
Theme Name: 법률사무소 이혜
Description: 법률사무소 이혜 원페이지 테마
Version: 1.0
*/

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

:root {
  --navy-900: #0c1f33;
  --navy-700: #16324d;
  --navy-500: #1f4a70;
  --navy-100: #eef2f6;
  --gold: #b8912f;
  --text: #1c2530;
  --muted: #5b6673;
}

body {
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--text);
  line-height: 1.65;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
table { border-collapse: collapse; width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid #e7ebef;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; font-weight: 800; font-size: 19px; color: var(--navy-900); letter-spacing: -.01em; }
.logo img { height: 34px; width: auto; }
.logo span { color: var(--gold); }
.nav-menu { display: flex; gap: 22px; font-size: 14.5px; font-weight: 600; color: var(--navy-900); flex-wrap: wrap; }
.nav-menu a:hover { color: var(--gold); }
.call-btn {
  background: var(--navy-900); color: #fff; padding: 10px 18px;
  border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap;
}

/* hero */
.hero {
  background-size: cover; background-position: center; background-repeat: no-repeat;
  color: #fff; padding: 84px 0 100px; text-align: center;
}
.hero .badge {
  display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3);
  padding: 6px 16px; border-radius: 999px; font-size: 13px; margin-bottom: 22px; color: #e8d9a8;
}
.hero h1 { font-size: 36px; line-height: 1.4; font-weight: 800; margin-bottom: 20px; }
.hero .lead { font-size: 16.5px; color: #cfdbe6; max-width: 720px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: #fff; padding: 15px 30px; border-radius: 8px; font-weight: 700;
}
.btn-ghost {
  background: transparent; color: #fff; padding: 15px 30px; border-radius: 8px; font-weight: 700;
  border: 1px solid rgba(255,255,255,.5);
}

/* stats */
.stats { background: #fff; margin-top: -40px; }
.stats .wrap {
  background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(12,31,51,.14);
  display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 32px 0;
}
.stats .num { font-size: 22px; font-weight: 800; color: var(--navy-900); }
.stats .label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* section */
.section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { font-size: 27px; font-weight: 800; color: var(--navy-900); margin-top: 8px; }
.section-head p { color: var(--muted); margin-top: 10px; }

.about { background: var(--navy-100); }
.about blockquote { font-size: 18px; font-weight: 700; color: var(--navy-900); border-left: 4px solid var(--gold); padding-left: 18px; margin-bottom: 22px; }
.about ul { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.about li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.check { color: var(--gold); font-weight: 800; }

/* practice areas */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  border: 1px solid #e3e8ed; border-radius: 12px; padding: 24px; transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: 0 12px 24px rgba(12,31,51,.1); transform: translateY(-3px); }
.icon-box {
  width: 100%; height: 110px; border-radius: 10px; background: var(--navy-100); overflow: hidden; margin-bottom: 14px;
}
.icon-box img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { font-size: 16.5px; font-weight: 800; color: var(--navy-900); margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 13.5px; }

/* process table */
.cost-note { text-align: center; color: var(--muted); margin-bottom: 28px; }
.cost-table th, .cost-table td { padding: 14px 16px; border-bottom: 1px solid #e3e8ed; text-align: left; font-size: 14.5px; }
.cost-table thead th { background: var(--navy-900); color: #fff; font-weight: 700; }
.cost-table tbody tr:nth-child(even) { background: #f7f9fb; }
.cost-table td.price { color: var(--navy-500); font-weight: 800; white-space: nowrap; }
.cost-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid #e3e8ed; }

/* members */
.members-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.member-card { border: 1px solid #e3e8ed; border-radius: 14px; padding: 30px; background: #fff; }
.member-card .role { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.member-card h3 { font-size: 22px; font-weight: 800; color: var(--navy-900); margin: 6px 0 14px; }
.member-card h4 { font-size: 13.5px; font-weight: 700; color: var(--navy-900); margin: 14px 0 6px; }
.member-card ul { display: flex; flex-direction: column; gap: 4px; }
.member-card li { font-size: 13.5px; color: var(--muted); }
.member-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.member-card .tag { background: var(--navy-100); color: var(--navy-700); font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.member-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: top center; margin-bottom: 6px; }

/* news */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item { border: 1px solid #e3e8ed; border-radius: 12px; padding: 22px 24px; }
.news-item .date { font-size: 12.5px; color: var(--gold); font-weight: 700; }
.news-item h3 { font-size: 16px; font-weight: 800; color: var(--navy-900); margin: 6px 0 8px; }
.news-item p { color: var(--muted); font-size: 14px; }

/* faq */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { border: 1px solid #e3e8ed; border-radius: 12px; padding: 22px 24px; }
.faq-item h3 { font-size: 16px; font-weight: 800; color: var(--navy-900); margin-bottom: 8px; }
.faq-item p { color: var(--muted); font-size: 14.5px; }

/* location */
.location { background: var(--navy-900); color: #fff; }
.location .section-head h2, .location .section-head .eyebrow { color: #fff; }
.location .section-head .eyebrow { color: #e8d9a8; }
.location .section-head p { color: #b9c6d3; }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.location-info ul { display: flex; flex-direction: column; gap: 14px; }
.location-info li { display: flex; gap: 10px; font-size: 15px; }
.location-info .label { color: #e8d9a8; font-weight: 700; min-width: 70px; }
.map-btn { display: inline-block; margin-top: 20px; background: var(--gold); color: #fff; padding: 13px 26px; border-radius: 8px; font-weight: 700; }
.map-embed { border-radius: 14px; overflow: hidden; height: 280px; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; color: #b9c6d3; font-size: 14px; border: 1px solid rgba(255,255,255,.15); }

/* cta */
.cta { background: var(--gold); color: #fff; padding: 52px 0; text-align: center; }
.cta h2 { font-size: 25px; font-weight: 800; margin-bottom: 10px; }
.cta p { margin-bottom: 22px; opacity: .95; }
.cta .btn-primary { background: #fff; color: var(--gold); }

/* footer */
.site-footer { background: #081522; color: #b9c6d3; padding: 44px 0 24px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.footer-grid h4 { color: #fff; font-weight: 700; margin-bottom: 14px; }
.footer-grid li { margin-bottom: 8px; }
.foot-logo { height: 30px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .9; }
.footer-grid .sns { display: flex; gap: 10px; margin-top: 12px; }
.footer-grid .sns a { border: 1px solid rgba(255,255,255,.2); padding: 8px; border-radius: 999px; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; }
.footer-grid .sns img { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; font-size: 12px; color: #6d7d8c; }

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .members-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .services-grid, .stats .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 25px; }
  .cost-table th, .cost-table td { font-size: 13px; padding: 10px; }
}
