/* =========================================================
   Mentor Components
   - Hero
   - Benefits
   - Rental Price
   - Lift
   - Lesson
   - Stay
   - News
   - Location
   - FAQ
========================================================= */


/* =========================================================
   Hero
========================================================= */





/* =========================================================
   FAQ
========================================================= */

.faq-section {
    
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-list details {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    transition: .25s;
}

.faq-list details[open] {
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}

.faq-list summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 22px 64px 22px 28px;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 800;
}

.faq-list summary h3 {
    font-size: 18px;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 28px;
    top: 20px;
    color: var(--blue);
    font-size: 26px;
    line-height: 1;
    font-weight: 700;
    transition: .2s;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details div {
    padding: 0 28px 24px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.8;
}

/* =========================================================
   딜레이
========================================================= */

/* common reveal motion */
.nm-reveal{
    opacity:0;
    transform:translateY(36px);
    transition:
        opacity .75s ease,
        transform .75s cubic-bezier(.2,.8,.2,1);
    transition-delay:var(--nm-reveal-delay, 0s);
    will-change:opacity, transform;
}

.nm-reveal.is-visible{
    opacity:1;
    transform:translateY(0);
}

.nm-reveal[data-reveal="fade"]{
    transform:none;
}

.nm-reveal[data-reveal="left"]{
    transform:translateX(-36px);
}

.nm-reveal[data-reveal="right"]{
    transform:translateX(36px);
}

.nm-reveal[data-reveal="zoom"]{
    transform:scale(.96);
}

.nm-reveal[data-reveal="left"].is-visible,
.nm-reveal[data-reveal="right"].is-visible{
    transform:translateX(0);
}

.nm-reveal[data-reveal="zoom"].is-visible{
    transform:scale(1);
}

.nm-reveal-delay-1{ --nm-reveal-delay:.08s; }
.nm-reveal-delay-2{ --nm-reveal-delay:.16s; }
.nm-reveal-delay-3{ --nm-reveal-delay:.24s; }
.nm-reveal-delay-4{ --nm-reveal-delay:.32s; }
.nm-reveal-delay-5{ --nm-reveal-delay:.4s; }

@media (prefers-reduced-motion:reduce){
    .nm-reveal{
        opacity:1;
        transform:none !important;
        transition:none;
    }
}

/* =========================================================
   sub-bottom-cta
========================================================= */
.sub-bottom-cta {
   padding: 0 0 90px;
   background: #f6f8fb;
}

.sub-bottom-cta-box {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 24px;
   padding: 34px 38px;
   border-radius: 26px;
   background:
      radial-gradient(circle at 90% 20%, rgba(255, 106, 0, .24), transparent 28%),
      linear-gradient(135deg, #111827 0%, #1e3a8a 100%);
   color: #fff;
}

.sub-bottom-cta-box span {
   display: block;
   margin-bottom: 8px;
   color: #bfdbfe;
   font-size: 13px;
   font-weight: 900;
   letter-spacing: .5px;
}

.sub-bottom-cta-box strong {
   display: block;
   font-size: 26px;
   line-height: 1.3;
   font-weight: 900;
   letter-spacing: -0.8px;
}

@media (max-width: 640px) {
   .sub-bottom-cta {
      padding-bottom: 70px;
   }

   .sub-bottom-cta-box {
      display: grid;
      grid-template-columns: 1fr;
      padding: 28px;
      border-radius: 22px;
   }

   .sub-bottom-cta-box .btn {
      width: 100%;
   }

   .sub-bottom-cta-box strong {
      font-size: 22px;
   }
}

/* =========================================================
   Footer Policy Modal
========================================================= */

.footer-policy {
   display: flex;
   flex-wrap: wrap;
   gap: 14px;
}

.footer-policy a {
   color: inherit;
   text-decoration: none;
}

.footer-policy a:hover {
   color: var(--primary);
}

.policy-modal[hidden] {
   display: none;
}

.policy-modal {
   position: fixed;
   inset: 0;
   z-index: 9999;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 24px;
}

.policy-modal-dim {
   position: absolute;
   inset: 0;
   background: rgba(15, 23, 42, .58);
}

.policy-modal-panel {
   position: relative;
   z-index: 1;
   width: min(720px, 100%);
   max-height: min(760px, calc(100vh - 48px));
   display: flex;
   flex-direction: column;
   overflow: hidden;
   border-radius: 24px;
   background: #fff;
   box-shadow: 0 24px 80px rgba(15, 23, 42, .28);
}

.policy-modal-head {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 18px;
   padding: 22px 26px;
   border-bottom: 1px solid #e5e7eb;
}

.policy-modal-head strong {
   color: #111827;
   font-size: 22px;
   font-weight: 900;
}

.policy-modal-close {
   width: 38px;
   height: 38px;
   border: 0;
   border-radius: 50%;
   background: #f1f5f9;
   color: #111827;
   font-size: 24px;
   font-weight: 700;
   line-height: 1;
   cursor: pointer;
}

.policy-modal-body {
   overflow-y: auto;
   padding: 26px;
   color: #334155;
   font-size: 15px;
   font-weight: 600;
   line-height: 1.8;
   white-space: pre-line;
}

.is-policy-modal-open {
   overflow: hidden;
}

@media (max-width: 640px) {
   .policy-modal {
      align-items: flex-end;
      padding: 14px;
   }

   .policy-modal-panel {
      max-height: calc(100vh - 28px);
      border-radius: 20px;
   }

   .policy-modal-head {
      padding: 18px 20px;
   }

   .policy-modal-body {
      padding: 20px;
      font-size: 14px;
   }
}
/* ================================
카카오상담톡
================================ */
.floating-quick-links {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

/* 퀵링크 버튼 기본 공통 스타일 */
.floating-quick-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;          
    height: 60px;         
    border-radius: 50%;   
    transition: all .2s ease;
    text-decoration: none;
}

.floating-quick-link.is-kakao{
    background:#fee500;
    color:#111;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.floating-quick-link.is-kakao:hover{
    background:#3b1f1f;
    color:#fff;
    box-shadow:0 16px 40px rgba(0,0,0,.2);
}

/* 아이콘 감싸는 영역 정렬 보완 */
.kakao-icon {
    position: relative;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 두 이미지를 완벽하게 겹치고 중앙 정렬 */
.kakao-icon img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); /* 정확한 중앙 정렬 */
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity .2s ease; /* opacity 변화에 부드러운 애니메이션 추가 */
}

/* 기본 상태 제어 */
.kakao-img-default { opacity: 1; z-index: 2; }
.kakao-img-hover { opacity: 0; z-index: 1; }

/* ★ 마우스 오버(Hover) 시 이미지 스위칭 확실하게 처리 */
.floating-quick-link.is-kakao:hover .kakao-img-default { opacity: 0; }
.floating-quick-link.is-kakao:hover .kakao-img-hover { opacity: 1; }

.kakao-text{
    display:none;
}

@media (max-width:768px){
   .floating-quick-links{
      right:14px;
      bottom:14px;
      gap:10px;
      flex-direction:row;
      flex-wrap:nowrap;
      overflow-x:auto;
   }

   .floating-quick-link{
      flex:0 0 auto;
      width:52px;
      height:52px;
      aspect-ratio:1/1;
   }

   /* 모바일에서는 카카오 버튼 그림자 제거 */
   .floating-quick-link.is-kakao,
   .floating-quick-link.is-kakao:hover{
      background:#fee500;
      color:#111;
      box-shadow:none;
   }

   /* 모바일에서는 hover 이미지 전환 방지 */
   .floating-quick-link.is-kakao:hover .kakao-img-default{
      opacity:1;
   }

   .floating-quick-link.is-kakao:hover .kakao-img-hover{
      opacity:0;
   }

   .floating-quick-links.is-admin-layout{
      flex-direction:row;
      flex-wrap:wrap;
      justify-content:flex-end;
      max-width:220px;
   }

   .floating-quick-link i,
   .floating-quick-link svg{
      width:22px;
      height:22px;
   }

   .kakao-icon{
      width:30px;
      height:30px;
   }
}

/* ================================
컨텐츠용 공용모달
================================ */

body.site-modal-open{overflow:hidden}

.site-content-modal[hidden]{display:none}
.site-content-modal{position:fixed;inset:0;z-index:3000;display:flex;align-items:center;justify-content:center;padding:24px}
.site-content-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.72)}
.site-content-modal-panel{position:relative;z-index:1;display:flex;flex-direction:column;width:min(900px,100%);max-height:calc(100vh - 48px);overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 24px 80px rgba(15,23,42,.28)}
.site-content-modal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px;border-bottom:1px solid #e4e7ec}
.site-content-modal-head>strong{color:#101828;font-size:22px;font-weight:900}
.site-content-modal-close{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#f2f4f7;color:#344054;font-size:28px;line-height:1;cursor:pointer}
.site-content-modal-body{overflow-y:auto;padding:26px;color:#475467;font-size:15px;line-height:1.75}

.site-modal-intro{margin:0;color:#344054;font-size:16px;font-weight:700}
.site-modal-section{margin-top:26px;padding-top:24px;border-top:1px solid #eaecf0}
.site-modal-section-title{display:block;margin-bottom:10px;color:#101828;font-size:18px;font-weight:900}
.site-modal-section p{margin:0}
.site-modal-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.site-modal-list li{position:relative;padding-left:16px}
.site-modal-list li::before{content:"";position:absolute;left:0;top:.72em;width:5px;height:5px;border-radius:50%;background:#2563eb}
.site-modal-list strong{margin-right:8px;color:#101828}
.site-modal-level-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.site-modal-level-list{display:grid;gap:7px;margin:0;padding:0;list-style:none}
.site-modal-level-list li{display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;padding:7px 0;border-bottom:1px solid #f2f4f7}
.site-modal-level-list strong{color:#2563eb}
.site-modal-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.site-modal-compare>div{padding:18px;border:1px solid #e4e7ec;border-radius:12px;background:#f8fafc}
.site-modal-compare strong{display:block;margin-bottom:7px;color:#101828;font-size:16px;font-weight:900}
.site-modal-compare p{margin:0}

.site-modal-process{display:grid;gap:0;margin:0;padding:0;list-style:none}
.site-modal-process li{display:grid;grid-template-columns:145px minmax(0,1fr);gap:16px;padding:13px 0;border-bottom:1px solid #eaecf0}
.site-modal-process strong{color:#101828;font-weight:900}
.site-modal-process span{color:#475467}

.site-modal-notice{
   display:flex;
   align-items:flex-start;
   gap:10px;
   margin-top:20px;
   padding:15px 17px;
   border:1px solid #e4e7ec;
   border-radius:10px;
   background:#f8fafc;
   color:#475467;
   font-size:13px;
   font-weight:700;
   line-height:1.65;
}

.site-modal-notice svg{
   flex:0 0 auto;
   width:18px;
   height:18px;
   margin-top:2px;
   color:#2563eb;
   stroke-width:2.2;
}
.site-modal-reserve{display:flex;width:100%;margin-top:14px;box-sizing:border-box}

@media(max-width:767px){
   .site-modal-compare{grid-template-columns:1fr}
   .site-modal-process li{grid-template-columns:1fr;gap:3px}
}

/* 모바일은 상단 메뉴의 전화·카톡 아이콘을 사용하고 PC 플로팅 버튼은 유지합니다. */
@media(max-width:980px){
   .floating-quick-links{display:none!important}
}
@media(max-width:767px){
   .site-content-modal{align-items:flex-end;padding:0}
   .site-content-modal-panel{width:100%;max-height:92svh;border-radius:16px 16px 0 0}
   .site-content-modal-head{padding:18px 20px}
   .site-content-modal-head>strong{font-size:18px}
   .site-content-modal-body{padding:20px;font-size:14px}
   .site-modal-level-grid{grid-template-columns:1fr}
}
