.intro_section {
  display: flex;
  width: 100%;
  height: 100vh;
  position: relative;
}

/* 병원 소개·위치 — footer 와 같은 배경으로 이어 붙여 별도 섹션이 아닌 하나의 띠로 보이게 함 */
.intro-seo {
  background: #F5F5F5;
  padding: 56px 0 0;
}

.intro-seo-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 로고를 병원명 옆에 나란히 — footer 아래쪽에 따로 있던 로고를 이 자리로 올림 */
.intro-seo-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.intro-seo-head img {
  height: 34px;
  width: auto;
}

.intro-seo h1 {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

/* 로고를 위로 올렸으므로 footer 자체 로고 자리는 비움 (홈 전용) */
.footer-title {
  display: none;
}

.intro-seo p {
  font-size: 14px;
  line-height: 1.7;
  color: #595857;
  margin: 0;
}

.intro-seo .intro-seo-access {
  margin-top: 4px;
  color: #8a8a8a;
}

/* 소개 블록이 상단 여백을 맡으므로 footer 자체 상단 여백은 줄여 간격 중복 방지 (홈 전용) */
.footer {
  padding-top: 28px;
}

@media (max-width: 1024px) {
  .intro-seo {
    padding-top: 40px;
  }
  .intro-seo-inner {
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  .intro-seo {
    padding-top: 28px;
  }
  .intro-seo-inner {
    padding: 0 16px;
  }
  .intro-seo h1 {
    font-size: 15px;
  }
  .intro-seo-head img {
    height: 28px;
  }
  .intro-seo p {
    font-size: 13px;
  }
  /* footer.css 의 80px 하단 여백은 진료과 페이지 고정 퀵메뉴용 — 홈엔 그 바가 없어 빈 공간만 남음 */
  .footer {
    margin-bottom: 0;
  }
}

.intro_section > li {
  flex: 1;
  position: relative;
  overflow: hidden;
  transition: flex 0.3s ease;
  list-style: none;
}

.intro_section li .bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0.6);
}

.intro_section li:last-child .bg {
  background-position: left;
}

.intro_section li.active .bg,
.intro_section li:hover .bg {
  filter: brightness(1);
}

.intro_section li a .label {
  position: absolute;
  top: 50%;
  left: 50%;  
  transform: translate(-50%,-50%);    
}

.intro_section li a .label div {
  text-align: center;   
}

.intro_section li a .label .logo_txt {
  font-size: 32px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 진료과 로고: 마우스오버 시 확대, 리브 시 원복 (+ 아이콘 제외) */
.intro_section li .label .logo_images img:not([src*="addicon"]) {
  transition: transform 0.3s ease;
}
.intro_section li:hover .label .logo_images img:not([src*="addicon"]) {
  transform: scale(1.15);
}

.intro_section .bottom_icon {
  position: absolute;
  bottom: 5%;
  left: 50%;  
  transform: translateX(-50%);  
}

.intro_section .bottom_icon .family_site_icon{
  display: none;
  gap: 30px;
}
.intro_section .bottom_icon .family_site_icon .quick-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 260px;
  min-height: 110px;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.intro_section .bottom_icon .family_site_icon .quick-branch:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.intro_section .bottom_icon .family_site_icon .quick-branch .branch-logo {
  max-width: 160px;
  height: auto;
  transition: opacity 0.3s ease;
}

.intro_section .bottom_icon .family_site_icon .quick-branch:hover .branch-logo {
  opacity: 0.85;
}

.intro_section .bottom_icon .family_site_icon .quick-branch .branch-title {
  position: relative;
}

.intro_section .bottom_icon .family_site_icon .quick-branch .branch-location {
  font-size: 30px;
  font-weight: 700;
  color: #2c2c2c;
  transition: color 0.3s ease;
}

.intro_section .bottom_icon .family_site_icon .quick-branch:hover .branch-location {
  color: #000;
}

.intro_section .bottom_icon .family_site_icon li {
  overflow: hidden;
  border-radius: 12px;
}

.intro_section .bottom_icon .family_site_icon li,
.intro_section .bottom_icon .language_icon li {
  text-align: center;
}

.intro_section .bottom_icon .language_icon{
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

@media (min-width: 1025px) {
  .intro_section li a .label .logo_txt {
    white-space: nowrap;
  }
  /* 신규 로고(zh-TW·th)는 SVG라 definite한 내재 width가 없어(viewBox만) 컨테이너(진료과명 텍스트 폭)에
     갇혀 작게 렌더됨 → 높이 지정 + width auto로 PNG 로고와 동일한 크기로 표시.
     height는 min(52px, 3.2vw)로 넓은 화면 52px 고정 + 좁은 데스크탑에선 축소해 컬럼 오버플로우 방지 */
  .intro_section li a .label .logo_images img[src$=".svg"] {
    height: min(52px, 3.2vw);
    width: auto;
    max-width: none;
  }
}

@media (max-width: 1024px) {
  .intro_section {
    flex-wrap: wrap;
    position: relative;    
  }
  .intro_section > li {
    flex: 1 1 50%;
    height: 50vh; 
  }
  .intro_section > li .bg {
    filter: brightness(1);
  }
  .intro_section li a .label .logo_txt {
    font-size: 24px;
    margin-bottom: 6px;
    letter-spacing: 1px;
    white-space: normal;
    word-break: keep-all;
  }
  .intro_section .bottom_icon {
    position: absolute;
    bottom: 5%;
    left: 50%;  
    transform: translateX(-50%);  
  }
  .intro_section .bottom_icon .family_site_icon li img{
    width: 100%;
  }
  /* 모바일 언어 국기 — 하단 바를 전체폭으로 펴서 7개를 한 줄 중앙정렬 */
  .intro_section .bottom_icon {
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
  }
  .intro_section .bottom_icon .language_icon {
    gap: 10px;
    flex-wrap: nowrap;
  }
  .intro_section .bottom_icon .language_icon li a img {
    width: 34px;
    height: auto;
    display: block;
  }
  /* 대만(zh-TW)·태국어(th) 로고는 SVG라, 진료과명 텍스트 폭에 갇히지 않도록 height 기준으로 PNG 로고와 동일한 크기로 표시.
     좁은 화면에선 6vw로 축소해 2열 셀 오버플로 방지 (넓은 화면 26px 상한) */
  .intro_section li a .label .logo_images img[src$=".svg"] {
    height: min(26px, 6vw);
    width: auto;
    max-width: none;
  }
}