/* ══════════════════════════════════════════════════
   선한소개 전용 (page-intro.php)
   ※ 공통(토큰/nav/히어로/섹션/아이콘/CTA/footer)은 style.css
   ※ 원본의 --radius-card → --r, --section-px/py → --px/--py 로 통일
══════════════════════════════════════════════════ */

.sec--white{background:#fff;}

/* ── 인사말: 프로필 + 소개 ── */
.profile-grid{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:52px;
  align-items:start;
}

/* 프로필 카드 */
.profile-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--r);
  padding:32px 24px;
  text-align:center;
  position:sticky;
  top:calc(var(--nav-h) + 24px);
}
.profile-img-wrap{
  width:120px;height:120px;
  border-radius:50%;
  background:var(--navy-50);
  border:3px solid var(--navy-100);
  margin:0 auto 16px;
  overflow:hidden;
  display:flex;align-items:center;justify-content:center;
}
.profile-img-wrap img{width:100%;height:100%;object-fit:cover;object-position:top center;}
.profile-name{font-size:22px;font-weight:800;color:var(--ink);letter-spacing:-.5px;margin-bottom:4px;}
.profile-title{font-size:13px;color:var(--navy-700);font-weight:600;margin-bottom:20px;}
.profile-badges{display:flex;flex-direction:column;gap:8px;}
.profile-badge-item{
  display:flex;align-items:center;gap:12px;
  background:var(--bg-soft);
  border:1px solid var(--border);
  border-radius:10px;
  padding:10px 14px;
  text-align:left;
}
.profile-badge-icon{
  width:34px;height:34px;border-radius:9px;
  background:var(--navy-50);color:var(--navy-700);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.profile-badge-icon svg{width:17px;height:17px;}
.profile-badge-text{font-size:12px;color:var(--text-sub);line-height:1.5;}
.profile-badge-text strong{color:var(--ink);font-weight:700;display:block;font-size:13px;}

/* 소개 텍스트 */
.intro-text-area h2{
  font-size:clamp(19px,2.5vw,26px);font-weight:800;
  color:var(--ink);margin-bottom:20px;
  letter-spacing:-.5px;line-height:1.4;
}
.intro-text-area h2 em{color:var(--navy-700);font-style:normal;}
.intro-text-area p{font-size:15px;color:var(--text-sub);line-height:1.95;margin-bottom:16px;}

.intro-highlight{
  background:#fff;border:1px solid var(--border);
  border-left:3px solid var(--navy-700);
  border-radius:0 var(--r) var(--r) 0;
  padding:18px 22px;margin-top:8px;margin-bottom:28px;
}
.intro-highlight p{margin-bottom:0;font-size:14px;color:var(--text-sub);line-height:1.8;}
.intro-highlight strong{color:var(--navy-700);}

/* 강점 카드 4개 */
.strength-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-top:28px;
}
.strength-card{
  background:#fff;border:1px solid var(--border);
  border-radius:var(--r);padding:18px 16px;
  display:flex;gap:14px;align-items:flex-start;
  transition:border-color .2s,box-shadow .2s;
}
.strength-card:hover{border-color:var(--navy-100);box-shadow:0 6px 20px rgba(20,31,54,.06);}
.strength-card h4{font-size:14px;font-weight:700;color:var(--ink);margin-bottom:4px;}
.strength-card p{font-size:13px;color:var(--text-sub);line-height:1.6;}

/* ── 오시는 길 ── */
.location-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.info-card{
  background:var(--bg-soft);border:1px solid var(--border);
  border-radius:var(--r);padding:24px 20px;
  transition:border-color .2s;
}
.info-card:hover{border-color:var(--navy-100);}
.info-card.wide{grid-column:span 3;}
.info-card .icon-box{margin-bottom:14px;}
.info-card h4{
  font-size:13px;font-weight:700;color:var(--navy-600);
  letter-spacing:.3px;margin-bottom:10px;
}
.info-card .info-main{font-size:15px;font-weight:700;color:var(--ink);line-height:1.6;margin-bottom:6px;}
.info-card .info-sub{font-size:13px;color:var(--text-sub);line-height:1.75;}
.info-card .info-sub a{color:var(--navy-700);text-decoration:none;font-weight:600;}
.info-card .info-sub a:hover{text-decoration:underline;}
.info-tip{margin-top:12px;font-size:13px;color:var(--navy-700);font-weight:500;}

/* 주소 카드 (wide, 네이비) */
.info-card.address-card{
  background:var(--navy-800);
  border-color:var(--navy-800);
  grid-column:span 3;
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:16px;
}
.info-card.address-card .icon-box{background:rgba(255,255,255,.12);color:#fff;margin-bottom:0;}
.info-card.address-card h4{color:rgba(255,255,255,.6);}
.info-card.address-card .info-main{color:#fff;font-size:16px;}
.info-card.address-card .info-sub{color:rgba(255,255,255,.7);}
.info-card.address-card:hover{border-color:var(--navy-800);}
.address-left{display:flex;gap:16px;align-items:flex-start;flex:1;min-width:0;}
.naver-map-btn{
  background:#fff;color:var(--navy-800);
  border:1px solid #fff;
  padding:11px 20px;border-radius:10px;
  font-size:13px;font-weight:700;text-decoration:none;
  white-space:nowrap;
  display:inline-flex;align-items:center;gap:6px;
  transition:background .15s;
  flex-shrink:0;
}
.naver-map-btn:hover{background:var(--navy-50);}

/* 교통 카드 */
.info-card.transit-card{grid-column:span 2;}
.transit-rows{display:flex;flex-direction:column;gap:10px;margin-top:4px;}
.transit-row{
  display:flex;align-items:flex-start;gap:12px;
  background:#fff;border:1px solid var(--border);
  border-radius:10px;padding:12px 16px;
}
.transit-badge{
  font-size:11px;font-weight:800;padding:3px 9px;
  border-radius:20px;white-space:nowrap;flex-shrink:0;margin-top:1px;
}
.badge-line8{background:#E6186C;color:#fff;}
.transit-row p{font-size:13px;color:var(--text-sub);line-height:1.6;}
.transit-row p strong{color:var(--ink);font-weight:700;}

/* 연락처 카드 */
.contact-rows{display:flex;flex-direction:column;gap:10px;margin-top:4px;}
.contact-row{
  display:flex;align-items:center;gap:12px;
  background:#fff;border:1px solid var(--border);
  border-radius:10px;padding:11px 16px;
}
.contact-label{
  font-size:11px;font-weight:700;color:var(--navy-700);
  background:var(--navy-50);padding:3px 8px;border-radius:6px;
  white-space:nowrap;flex-shrink:0;
}
.contact-value{font-size:14px;font-weight:600;color:var(--ink);}
.contact-value a{color:var(--navy-700);text-decoration:none;}
.contact-value a:hover{text-decoration:underline;}

/* 주차 카드 */
.parking-note{
  background:#fff;border:1px solid var(--border);
  border-left:3px solid #c9863b;
  border-radius:0 10px 10px 0;
  padding:12px 16px;margin-top:8px;
}
.parking-note p{font-size:13px;color:var(--text-sub);line-height:1.75;}
.parking-note strong{color:#8a5a23;font-weight:700;}

/* 업무시간 */
.hours-display{
  background:#fff;border:1px solid var(--border);
  border-radius:12px;padding:16px 18px;margin-top:4px;
  text-align:center;
}
.hours-time{font-size:22px;font-weight:800;color:var(--navy-700);letter-spacing:-.5px;margin-bottom:4px;}
.hours-days{font-size:13px;color:var(--text-sub);}

/* ── 반응형 ── */
@media(max-width:1024px){
  .profile-grid{grid-template-columns:240px 1fr;gap:36px;}
  .location-grid{grid-template-columns:repeat(2,1fr);}
  .info-card.address-card{grid-column:span 2;}
  .info-card.transit-card{grid-column:span 2;}
  .info-card.wide{grid-column:span 2;}
}
@media(max-width:768px){
  .profile-grid{grid-template-columns:1fr;gap:28px;}
  .profile-card{position:static;}
  .profile-img-wrap{width:100px;height:100px;}
  .profile-name{font-size:20px;}
  .strength-grid{grid-template-columns:1fr;gap:10px;}
  .strength-card{padding:14px;}

  .location-grid{grid-template-columns:1fr;}
  .info-card.address-card{grid-column:span 1;flex-direction:column;gap:14px;align-items:stretch;}
  .info-card.transit-card{grid-column:span 1;}
  .info-card.wide{grid-column:span 1;}
  .address-left{flex-direction:row;}
  .naver-map-btn{width:100%;justify-content:center;}
  .hours-time{font-size:20px;}

  /* hover 제거 */
  .info-card:hover{border-color:var(--border);}
  .info-card.address-card:hover{border-color:var(--navy-800);}
  .strength-card:hover{border-color:var(--border);box-shadow:none;}
}
@media(max-width:360px){
  .profile-name{font-size:18px;}
}

/* ── 카카오맵 지도퍼가기 ── */
.map-embed{
  max-width:640px;margin:0 auto 22px;
  border:1px solid var(--border);border-radius:var(--r);
  overflow:hidden;
}
.map-embed .root_daum_roughmap{width:100% !important;}
.map-embed .root_daum_roughmap .wrap_map{height:360px;}
@media(max-width:700px){
  /* 지도 원본 폭 640px — 좁은 화면에서는 가로 스크롤 허용 */
  .map-embed{overflow-x:auto;-webkit-overflow-scrolling:touch;}
}
