* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  color: #222;
  background: #ffffff;
  font-size: 14px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-wrap {
  width: 960px;
  margin: 0 auto;
}

/* 상단 */
.header {
  border-bottom: 2px solid #222;
  background: #fff;
}

.header-inner {
  width: 960px;
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 31px;
  color: #3d3d3d;
  white-space: nowrap;
  line-height: 1;
}

.logo-text strong {
  display: block;
  font-size: 17px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.logo-text span {
  display: none;
}

.top-nav {
  display: flex;
  gap: 28px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.top-nav a:hover {
  color: #3366cc;
}

/* 메인 배너 */
.hero {
  height: 440px;
  background:
    linear-gradient(rgba(33, 40, 51, 0.82), rgba(33, 40, 51, 0.82)),
    radial-gradient(circle at top left, rgba(255,255,255,0.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255,255,255,0.08), transparent 32%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: -1px;
}

.hero h1 {
  margin: 0;
  font-size: 54px;
  letter-spacing: 6px;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  line-height: 1.1;
}

.hero .eng {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  margin-top: 14px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.72);
}

.hero-box {
  display: inline-block;
  margin-top: 34px;
  padding: 16px 36px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 14px;
  color: #f4f4f4;
  font-size: 22px;
  line-height: 1.9;
  letter-spacing: -0.4px;
}

.hero-phone {
  margin-top: 26px;
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.hero-phone span {
  font-size: 18px;
  margin-right: 14px;
  color: #d7dbe0;
  font-weight: 600;
}

/* 서브 공통 배너 */
.sub-banner {
  height: 210px;
  background: linear-gradient(90deg, #d6cbce, #f1eeee 45%, #ddd1d4);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 70px;
  margin-top: 14px;
}

.sub-banner-text {
  text-align: right;
}

.sub-banner p {
  margin: 0;
  font-size: 22px;
  color: #222;
}

.sub-banner strong {
  display: block;
  font-size: 40px;
  letter-spacing: -2px;
  line-height: 1.18;
  margin-top: 6px;
  text-align: right;
}

/* 본문 레이아웃 */
.content-layout {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 35px;
  padding: 28px 0 40px;
}

.side-menu {
  border-top: 2px solid #222;
  font-weight: bold;
}

.side-menu .side-title {
  padding: 8px 0;
  border-bottom: 1px solid #222;
}

.side-menu a {
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid #ddd;
  font-size: 13px;
}

.side-menu a.active {
  color: #3366cc;
}

.page-content h1 {
  margin: 0 0 22px;
  font-size: 31px;
  color: #1d3760;
  letter-spacing: -1px;
}

.page-content h2 {
  margin: 28px 0 10px;
  font-size: 23px;
  color: #3b78d8;
  letter-spacing: -0.5px;
}

.page-content h3 {
  margin: 18px 0 8px;
  font-size: 17px;
  color: #333;
}

.page-content p {
  margin: 0 0 12px;
}

.page-content ul {
  margin-top: 6px;
  padding-left: 20px;
}

.intro-blue {
  color: #1794aa;
  font-size: 23px;
  margin-bottom: 16px;
  font-weight: 500;
}

.signature {
  margin-top: 25px;
  text-align: right;
  font-size: 16px;
}

/* 업무영역 */
.service-intro {
  font-size: 15px;
  color: #333;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.service-card {
  border: 1px solid #d8d8d8;
  padding-bottom: 16px;
  background: #fff;
}

.service-photo {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #d8d8d8;
}

.service-img {
  height: 130px;
  background: linear-gradient(135deg, #dedede, #cfcfcf);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-weight: bold;
  letter-spacing: 1px;
}

.service-card h3 {
  margin: 14px 14px 8px;
  font-size: 18px;
  font-weight: 700;
  color: #1f2e44;
}

.service-card p {
  margin: 0 14px;
  font-size: 13px;
  line-height: 1.8;
  color: #444;
}

/* 오시는 길 */
.map-guide {
  text-align: center;
  margin: 25px 0 10px;
  font-size: 14px;
  color: #555;
}

.map-box {
  width: 420px;
  height: auto;
  background: transparent;
  border: none;
  margin: 30px auto;
}

.map-image {
  width: 420px;
  max-width: 100%;
  border: 1px solid #ccc;
  display: block;
}

/* 세액계산 구조 */
.tax-calc-box {
  border: 1px solid #cfd8e3;
  padding: 14px 18px;
  margin-top: 10px;
  background: #fff;
  font-size: 14px;
  line-height: 1.45;
}

.tax-calc-box p {
  margin: 3px 0;
}

.tax-calc-box .calc-line {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #777;
  font-weight: bold;
}

.tax-note {
  margin-top: 18px;
  font-size: 13px;
}

/* 양도소득세 계산흐름 */
.calc-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-top: 12px;
}

.calc-flow h3 {
  color: #1d3760;
  font-size: 16px;
  margin: 0 0 8px;
}

.calc-flow ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.calc-flow .flow-left p {
  margin: 5px 0;
}

.calc-flow .divider {
  border-top: 1px dashed #777;
  margin: 8px 0;
}

/* 푸터 */
.footer {
  width: 960px;
  margin: 0 auto;
  border-top: 2px solid #222;
  padding: 12px 0 35px;
  font-size: 12px;
  color: #333;
}

.footer-logos {
  border-bottom: 1px solid #222;
  padding-bottom: 8px;
  margin-bottom: 10px;
  text-align: center;
  color: #555;
  font-size: 12px;
}

.footer-logos a {
  color: #333;
  text-decoration: none;
  margin: 0 4px;
}

.footer-logos a:hover {
  color: #3366cc;
  text-decoration: underline;
}

.footer-logos span {
  color: #777;
  margin: 0 3px;
}

.footer-info {
  line-height: 1.5;
}

/* 모바일 */
@media (max-width: 980px) {
  .site-wrap,
  .header-inner,
  .footer {
    width: 92%;
  }

  .header-inner {
    height: auto;
    padding: 16px 0;
    display: block;
  }

  .top-nav {
    margin-top: 15px;
    gap: 14px;
    flex-wrap: wrap;
  }

  .hero h1 {
    font-size: 38px;
    letter-spacing: 4px;
  }

  .hero .eng {
    font-size: 18px;
  }

  .hero-phone {
    font-size: 32px;
  }

  .hero-box {
    font-size: 18px;
    padding: 14px 20px;
  }

  .sub-banner {
    padding-right: 30px;
    height: 180px;
  }

  .sub-banner p {
    font-size: 18px;
  }

  .sub-banner strong {
    font-size: 32px;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .calc-flow {
    grid-template-columns: 1fr;
  }

  .map-box {
    width: 100%;
  }
}