@charset "UTF-8";
/**
 * about.css
 * 바톤 웰스 (Baton Wealth) - 소개 페이지 스타일
 * index.html과 동일한 1060px 레이아웃 및 최상단 히어로 박스 정렬
 */

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

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: #f3f5f9;
  color: #222;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── 웹 접근성: 본문 바로가기 (Skip Navigation) ── */
.skip-nav {
  position: absolute;
  top: -9999px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a2332;
  color: #fff;
  padding: 12px 24px;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  z-index: 99999;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: top 0.2s ease;
}

.skip-nav:focus {
  top: 0;
  outline: 2px solid #3b82f6;
}

/* ── 글로벌 네비게이션 헤더 (index.html과 완벽 일치) ── */
body>header {
  background: #1a2332;
  border-bottom: 1px solid #1a2332;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

nav {
  max-width: 1060px;
  margin: 0 auto;
  padding: 24px 41px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  image-rendering: -webkit-optimize-contrast;
  transition: transform .2s ease, opacity .2s ease;
}

.logo:hover .nav-logo-img {
  transform: scale(1.03);
  opacity: 0.95;
}

.nav-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #c8d8ea;
  text-decoration: none;
  font-size: 18px;
  padding: 9px 19px;
  border-radius: 20px;
  background: transparent;
  transition: background .2s, color .2s;
}

.nav-links a:hover {
  background: #173b63;
  color: #fff;
}

/* ── 헤더 금융 키워드 검색창 ── */
.nav-search-form {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-left: 10px;
}

.nav-search-input {
  width: 175px;
  height: 36px;
  padding: 0 34px 0 14px;
  font-size: 13.5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
  transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.nav-search-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.nav-search-input:focus {
  width: 220px;
  background: rgba(255, 255, 255, 0.16);
  border-color: #38a169;
  box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.25);
}

.nav-search-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s ease, transform .2s ease;
}

.nav-search-btn:hover {
  color: #4ade80;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .nav-search-form {
    margin-left: 6px;
  }

  .nav-search-input {
    width: 130px;
    font-size: 12px;
  }

  .nav-search-input:focus {
    width: 155px;
  }
}



/* ── 히어로 배너 (메인 랜드마크 최상단 H1 구획) ── */
header.hero,
.hero {
  background: none;
  border: none;
  position: static;
  box-shadow: none;
  color: #173b63;
  padding: 48px 24px 38px;
  text-align: center;
}

.hero h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 12px;
  line-height: 1.35;
}

.hero .sub {
  font-size: 15.5px;
  opacity: .88;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
  word-break: keep-all;
}

/* ── 본문 레이아웃 (index.html 크기에 맞춘 1060px 넓이) ── */
main {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px 70px;
}

/* ── 본문 카드 (index 크기에 맞게 넓힌 카드) ── */
.about-card {
  background: #fff;
  border: 1px solid #e2e7f0;
  border-radius: 14px;
  padding: 38px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
  line-height: 1.9;
  font-size: 15.5px;
  color: #333;
}

.about-card h2 {
  font-size: 20px;
  color: #173b63;
  font-weight: 800;
  margin-top: 32px;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid #2e7d52;
}

.about-card h2:first-child {
  margin-top: 0;
}

.about-card h3 {
  font-size: 16.5px;
  color: #173b63;
  font-weight: 700;
  margin-bottom: 8px;
}

.about-card p {
  margin-bottom: 16px;
  text-align: left;
  word-break: keep-all;
}

.about-card a {
  color: #173b63;
  text-decoration: underline;
  font-weight: 700;
  transition: color .2s ease;
}

.about-card a:hover {
  color: #2563eb;
}

.about-card strong {
  color: #173b63;
}

/* ── E-E-A-T 공식 소통 창구 시맨틱 박스 (address) ── */
.about-contact-ref {
  font-style: normal;
  display: block;
  background: #f8fafc;
  border-left: 3px solid #2e7d52;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 14.5px;
  color: #334155;
  line-height: 1.75;
  margin: 18px 0 24px;
  text-align: left;
  word-break: keep-all;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0 32px;
}

.principle-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 20px;
}

.principle-item h3 {
  font-size: 16px;
  color: #173b63;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.principle-item p {
  font-size: 14px;
  color: #4b5868;
  line-height: 1.7;
  margin-bottom: 0;
  text-align: left;
  word-break: keep-all;
}

.editorial-box {
  background: #f0f7f4;
  border: 1px solid #cce5d9;
  border-radius: 12px;
  padding: 24px 26px;
  margin: 24px 0 32px;
}

.editorial-box h3 {
  color: #1a5c39;
  margin-bottom: 12px;
}

.editorial-box p {
  font-size: 14.5px;
  color: #2e5440;
  line-height: 1.75;
  margin-bottom: 14px;
  word-break: keep-all;
}

.editorial-box ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.editorial-box li {
  font-size: 14.5px;
  color: #2e5440;
  line-height: 1.8;
  margin-bottom: 6px;
  text-align: left;
  word-break: keep-all;
}

/* ── 핵심 제공 서비스 그리드 ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 20px 0 32px;
}

.service-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 22px;
  transition: transform .2s ease, border-color .2s ease;
}

.service-item:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.service-item h3 {
  font-size: 16.5px;
  color: #173b63;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-item p {
  font-size: 14.5px;
  color: #4b5868;
  line-height: 1.75;
  margin-bottom: 0;
  text-align: left;
  word-break: keep-all;
}


/* ── 안내 말씀 박스 ── */
.note-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px 26px;
  font-size: 14.5px;
  color: #4a5568;
  margin-top: 32px;
  line-height: 1.8;
}

.note-box h2 {
  font-size: 17px;
  color: #173b63;
  font-weight: 700;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid #173b63;
}

.note-box p {
  margin-bottom: 0;
  text-align: left;
  word-break: keep-all;
}

/* ── 하단 푸터 (index.html과 동일) ── */
footer {
  background: #1a2332;
  color: #fff;
  text-align: center;
  padding: 36px 20px;
  font-size: 13.5px;
  border-top: 1px solid #1a2332;
}

.footer-links {
  margin-bottom: 12px;
}

.footer-links a {
  color: #c8d8ea;
  text-decoration: none;
  font-size: 13.5px;
  margin: 0 10px;
  transition: color .2s;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

footer .copyright {
  color: #8fa2ba;
  font-size: 12.5px;
  margin: 10px 0 0;
  letter-spacing: .2px;
}

/* ── 반응형 ── */
@media (max-width: 650px) {
  nav {
    padding: 9px 14px 8px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .nav-links a {
    font-size: 13px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
  }

  .nav-links a:active {
    background: #173b63;
    color: #fff;
  }

  .nav-search-form {
    margin-left: 4px;
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-end;
  }

  /* 모바일 환경: 평소 돋보기 아이콘 ➡️ 터치/클릭 시 PC형으로 확장 */
  .nav-search-input {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    color: transparent !important;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  .nav-search-input::placeholder {
    color: transparent !important;
  }

  .nav-search-form:focus-within .nav-search-input,
  .nav-search-form.active .nav-search-input,
  .nav-search-input:focus {
    width: clamp(125px, 36vw, 160px) !important;
    height: 32px !important;
    padding: 0 30px 0 12px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid #38a169 !important;
    color: #ffffff !important;
    cursor: text;
    box-shadow: 0 0 0 2px rgba(56, 161, 105, 0.25) !important;
    z-index: 1;
  }

  .nav-search-form:focus-within .nav-search-input::placeholder,
  .nav-search-form.active .nav-search-input::placeholder,
  .nav-search-input:focus::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 11.5px;
  }

  .nav-search-btn {
    position: absolute;
    right: 7px !important;
    width: 24px;
    height: 24px;
    z-index: 3;
    pointer-events: auto !important;
  }

  .nav-search-input:focus::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
  }

  .hero {
    padding: 44px 18px 36px;
  }

  .hero h1 {
    font-size: 26px;
  }

  main {
    padding: 16px 18px 50px;
  }

  .about-card {
    padding: 26px 20px;
  }
}