:root {
  --ink: #493c38;
  --rose: #b97f87;
  --gold: #b99b64;
  --cream: #fffaf4;
  --line: #e9dfd5;
  --serif: 'Noto Serif KR', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Pretendard, 'Noto Sans KR', 'Malgun Gothic', Arial, sans-serif;
  line-height: 1.75;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1140px; margin: auto; padding: 0 24px; }

/* 헤더 */
header {
  background: #fffdf9ef;
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav { display: flex; justify-content: space-between; align-items: center; min-height: 76px; gap: 18px; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: -.7px; }
.brand small { display: block; color: var(--rose); font-size: 10px; letter-spacing: 2px; }
.links { display: flex; gap: 26px; font-size: 14px; }
.links a:hover { color: var(--rose); }
.cta { background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 30px; font-size: 13px; white-space: nowrap; }

/* 히어로 */
.hero {
  background: radial-gradient(circle at 85% 20%, #f7e1df 0, transparent 42%), linear-gradient(115deg, #fffaf4, #f7eee4);
  padding: 105px 0 100px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 65px; }
.eyebrow { color: var(--rose); font-weight: 700; letter-spacing: 2px; font-size: 12px; }
.hero h1 { font-family: var(--serif); font-size: clamp(35px, 4.5vw, 60px); letter-spacing: -2px; line-height: 1.35; margin: 20px 0; }
.hero h1 em { font-style: normal; color: var(--rose); }
.lead { font-size: 17px; color: #756b65; max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { padding: 13px 24px; border-radius: 40px; background: var(--ink); color: #fff; display: inline-block; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px #493c3826; }
.btn.alt { background: #fff; color: var(--ink); border: 1px solid #d8c8bb; }
.visual {
  min-height: 410px;
  border-radius: 200px 200px 18px 18px;
  background: linear-gradient(145deg, #e9d6c8, #f8f0e9 65%, #c9ad91);
  box-shadow: 20px 20px 0 #f1e0d9;
  overflow: hidden;
}
.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center 43%;
  border-radius: inherit;
}

/* 공통 섹션 */
.section { padding: 90px 0; }
.center { text-align: center; }
.section h2 { font-size: clamp(27px, 3vw, 39px); letter-spacing: -1.3px; line-height: 1.4; margin: 12px 0; }
.muted { color: #81756e; }

/* 전문 분야 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: 0 12px 30px #8c67520b; text-align: center; }
.card .num { color: var(--rose); font-family: Georgia, serif; font-size: 24px; }
.card h3 { font-size: 22px; margin: 14px 0 10px; }
.card p { color: #81756e; font-size: 14px; margin: 0; }

/* 대표 소개 */
.about { background: #f6eee8; }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.portrait { min-height: 350px; background: linear-gradient(145deg, #e5c6c3, #f8eee5); border-radius: 18px; overflow: hidden; }
.about-photo { display: block; width: 100%; height: 100%; min-height: 410px; object-fit: cover; object-position: center 39%; }
.quote { font-family: var(--serif); font-size: 26px; line-height: 1.6; }
.office-photo { max-width: 680px; margin: 45px auto 0; padding: 0 24px; text-align: center; }
.office-photo img { width: 100%; max-height: 570px; object-fit: cover; object-position: center 45%; border-radius: 20px; display: block; }
.office-photo figcaption { font-size: 15px; line-height: 1.8; color: #806d6c; margin-top: 12px; }

/* 상담 안내 */
.contact { background: #4d403c; color: #fff; }
.contact .muted { color: #e5d8d2; }
.contact-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.contact .btn { background: #f3dfd6; color: #4d403c; white-space: nowrap; }
.representative-highlight { font-size: 18px; margin: 18px 0 0; }
.business-info {
  max-width: 700px;
  margin: 32px auto 0;
  padding: 26px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf9;
  color: var(--ink);
  text-align: left;
  line-height: 1.8;
}
.business-info p { margin: 0 0 14px; }
.business-info p:last-child { margin-bottom: 0; }
.business-info a { color: #a46572; text-decoration: underline; text-underline-offset: 3px; }
.business-info .address { background: #fff4ee; padding: 16px 18px; border-radius: 12px; border-left: 3px solid var(--rose); }
.business-info .label { display: block; color: #80535d; font-size: 17px; }
.business-info .phone-strong { font-size: clamp(19px, 3.5vw, 25px); font-weight: 650; color: #49332e; text-decoration: none; letter-spacing: .2px; }
.business-info .phone-strong:hover { text-decoration: underline; }
.business-info .registration-line { font-size: 14px; color: #665c57; }

/* 푸터 */
footer { background: #352c29; color: #e6d9d1; padding: 30px 0; font-size: 13px; }
footer a { text-decoration: underline; }
.foot { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.legal-info { font-size: 12px; line-height: 1.9; opacity: .8; margin: 16px 0 0; }

/* 모바일 하단 전화 버튼 */
.call-bar { display: none; }

@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .nav { min-height: 66px; }
  .brand { font-size: 16px; }
  .links { display: none; }
  .cta { font-size: 12px; padding: 9px 14px; }
  .hero { padding: 60px 0; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero h1 { font-size: 38px; }
  .visual { min-height: 290px; max-width: 420px; margin: auto; width: 100%; box-shadow: 12px 12px 0 #f1e0d9; }
  .hero-photo { min-height: 330px; max-height: 500px; object-position: center 38%; }
  .about-photo { min-height: 350px; max-height: 500px; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 65px 0; }
  .contact-box { display: block; }
  .contact-box .btn { margin-top: 15px; }
  .portrait { min-height: 270px; }
  .quote { font-size: 22px; }
  .business-info { padding: 20px; }
  footer { padding-bottom: 96px; }
  .call-bar {
    display: flex;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 4;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px;
    border-radius: 40px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 26px #352c2959;
  }
}

@media (max-width: 420px) {
  .brand { font-size: 14px; letter-spacing: -.9px; }
  .brand small { font-size: 9px; letter-spacing: 1.5px; }
  .hero h1 { font-size: 33px; }
}
