/* ══════════════════════════════════════════════════════
   (주)티엔디투자운용 메인 페이지 — 피그마 main(1:10) 기준
   기준폭 1920 / 좌우여백 50 / 섹션간격 200 / SUIT
   ══════════════════════════════════════════════════════ */

/* ── 공통 ── */
/* basic.css의 section 전역 padding(80~100px) 상쇄 — 요소+클래스 명시도로 우선 */
section.mv-section { padding: 200px 0 0; }
section.mv-visual { padding: 0; }
.mv-eyebrow {
    display: block;
    font-size: 1.25rem; font-weight: 600;
    color: var(--bs-dark); margin-bottom: 40px;
}
@media (min-width: 1200px) { .mv-eyebrow { font-size: 1.25rem; } }
.mv-title {
    font-size: calc(1.525rem + 3.3vw); font-weight: 800;
    color: var(--bs-dark); margin: 0 0 0;
}
@media (min-width: 1200px) { .mv-title { font-size: 4rem; } }
.mv-more {
    display: inline-flex; align-items: center; gap: 10px;
    padding-bottom: 10px; border-bottom: 2px solid var(--bs-dark); /* 시안 13:134 하단선 */
    font-size: 1.125rem; font-weight: 800; color: var(--bs-dark);
}
.mv-more:hover { color: var(--bs-dark); border-color: var(--bs-dark); }
.mv-more-arrow, .mv-pr-arrow {
    width: 24px; height: 24px; display: inline-block; flex: none;
    background: no-repeat center / 24px 24px;
}
.mv-more-arrow { background-image: url('/images/icon/arrow-up-right-black.svg'); } /* 시안 13:132 검정(네이비 오추출 정정) */
.mv-pr-arrow { background-image: url('/images/icon/arrow-up-right-black.svg'); } /* 시안 12:89 검정 */

/* ── 메인 비주얼 ── */
.mv-visual { position: relative; height: 100vh; min-height: 600px; overflow: hidden; }
.mv-visual .swiper, .mv-visual .swiper-wrapper, .mv-visual .swiper-slide { height: 100%; }
.mv-visual-img { width: 100%; height: 100%; background: var(--bs-gray-cecece) center / cover no-repeat; }
/* 메인비주얼 줌아웃 모션(세진 요청 8/10) — 잔류 5s+전환 0.8s=5.8s 커버. 이미지 div 내부에 fixed 자손 없어 transform 무해 */
.mv-visual .swiper-slide { overflow: hidden; }
@keyframes mvZoomOut { from { transform: scale(1.08); } to { transform: scale(1); } }
.mv-visual .swiper-slide-active .mv-visual-img,
.mv-visual .swiper-slide-duplicate-active .mv-visual-img { animation: mvZoomOut 6s ease-out both; }
.mv-visual-title {
    position: absolute; inset: 0; z-index: 5;
    display: flex; align-items: center; justify-content: center;
    text-align: center; pointer-events: none;
}
.mv-visual-title h2 {
    font-size: calc(1.575rem + 3.9vw); font-weight: 800;
    color: var(--bs-white); margin: 0;
}
@media (min-width: 1200px) { .mv-visual-title h2 { font-size: 4.5rem; } }
.mv-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
    width: 80px; height: 80px; border: 0; background: transparent;
    color: var(--bs-white); font-size: calc(1.425rem + 2.1vw); font-weight: 300;
    cursor: pointer; opacity: .85; transition: opacity .2s;
}
@media (min-width: 1200px) { .mv-arrow { font-size: 3rem; } }
.mv-arrow:hover { opacity: 1; }
.mv-arrow-prev { left: 30px; }
.mv-arrow-next { right: 30px; }
.mv-paging {
    position: absolute; right: 50px; bottom: 60px; z-index: 6;
    display: flex; align-items: center; gap: 30px;
}
.mv-timeline { width: 313px; height: 3px; background: rgba(var(--bs-white-rgb),.3); }
.mv-timeline-bar { display: block; width: 0; height: 3px; background: var(--bs-white); } /* 폭은 autoplayTimeLeft가 매 프레임 갱신 — transition 두면 지연 */
.mv-fraction { font-size: 1.125rem; font-weight: 500; color: var(--bs-white); white-space: nowrap; }

/* ── About ── */
.mv-about-box {
    position: relative; height: 740px; border-radius: 40px;
    background: var(--bs-gray-eee) center / cover no-repeat;
}
.mv-about-text { position: absolute; left: 49.48%; top: 180px; right: 60px; }
.mv-about-text .mv-eyebrow { margin-bottom: 40px; }
.mv-about-text .mv-title { margin-bottom: 60px; }
.mv-desc {
    font-size: 1.25rem; font-weight: 400;
    color: var(--bs-dark); margin: 0 0 50px;
}
@media (min-width: 1200px) { .mv-desc { font-size: 1.25rem; } }

/* ── Portfolio ── */
.mv-portfolio .mv-title { margin-bottom: 80px; }
.mv-pf-grid {
    display: grid; gap: 24px 20px;
    grid-template-columns: 1fr repeat(2, minmax(0, 24.18%));
    grid-template-rows: repeat(2, minmax(0, 373px));
}
.mv-pf-item {
    position: relative; display: block; overflow: hidden; border-radius: 40px;
    background: var(--bs-gray-ddd) center / cover no-repeat;
}
.mv-pf-item::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(var(--bs-blue-2456b7-rgb),0) 69.7%, var(--bs-navy-102851) 100%);
    mix-blend-mode: multiply; transition: background .3s; /* 시안 gra-cover multiply — 게시판과 동일 */
}
.mv-pf-big::after { background: none; } /* 시안: 빅이미지엔 gra-cover 없음(게시판 동일) */
.mv-pf-big { grid-row: 1 / 3; min-height: 770px; }
.mv-pf-name {
    position: absolute; left: 40px; bottom: 40px; z-index: 2;
    font-size: calc(1.3125rem + 0.75vw); font-weight: 800; color: var(--bs-white);
}
@media (min-width: 1200px) { .mv-pf-name { font-size: 1.875rem; } }
.mv-pf-name.lg { font-size: calc(1.35rem + 1.2vw); }
@media (min-width: 1200px) { .mv-pf-name.lg { font-size: 2.25rem; } }
.mv-pf-circle {
    position: absolute; right: 20px; top: 20px; z-index: 2;
    width: 60px; height: 60px; border-radius: 50%; background: var(--bs-white);
    opacity: 0; transition: opacity .3s;
    background-image: url('/images/icon/arrow-up-right-black.svg'); /* 아이콘 표준: data-URI→피그마 SVG */
    background-repeat: no-repeat; background-position: center;
}
.mv-pf-item:hover .mv-pf-circle { opacity: 1; }
.mv-pf-item:hover::after, .mv-pf-big:hover::after { background: var(--bs-primary); } /* 시안 12:128 호버=#023894 multiply */

/* ── PR & Disclosure ── */
.mv-pr .mv-title { margin-bottom: 80px; }
.mv-pr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mv-pr-card { display: block; padding: 20px; margin: -20px; border-radius: 8px; transition: background .2s; }
.mv-pr-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 44px; }
.mv-pr-cat { font-size: 1.125rem; font-weight: 600; }
.cat-news { color: var(--bs-secondary); }
.cat-disclosure { color: var(--bs-green); }
.mv-pr-date { display: block; font-size: 1rem; font-weight: 600; color: var(--bs-gray); margin-bottom: 45px; }
.mv-pr-subject {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 1.25rem; font-weight: 700;
    color: var(--bs-dark); height: 60px; margin-bottom: 50px;
}
@media (min-width: 1200px) { .mv-pr-subject { font-size: 1.25rem; } }
.mv-pr-img {
    display: block; width: 100%; aspect-ratio: 440 / 280;
    border-radius: 40px; overflow: hidden;
    background: var(--bs-gray-ddd) center / cover no-repeat;
}
.mv-pr-img-blue { background: var(--bs-primary); display: flex; align-items: center; justify-content: center; }
.mv-pr-img-blue img { width: 63.6%; height: auto; }

/* ── 푸터(피그마 시안) ── */
.footer { background: var(--bs-dark); padding: 57px 0; margin-top: 200px; }
.footer .container-fluid { position: relative; }
.footer .policy-list { display: flex; gap: 24px; padding: 0; margin: 0 0 6px; list-style: none; }
.footer .policy-link { font-size: 1rem; font-weight: 700; color: var(--bs-white); }
.footer .policy-link:hover { color: var(--bs-gray-ccc); }
.footer .footer-info { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0; font-style: normal; font-size: 0.875rem; font-weight: 500; color: var(--bs-gray-ccc); }
.footer .copyright { font-size: 0.8125rem; font-weight: 400; color: var(--bs-gray-999); margin: 6px 0 0; }
.footer .copyright a { color: var(--bs-gray-999); }
.footer .copyright .bi { color: var(--bs-gray-999); }
.footer .btn-top {
    position: absolute; right: 50px; top: 50%; transform: translateY(-50%);
    width: 54px; height: 54px; padding: 0; border-radius: 50%;
    background: var(--bs-gray); border: 0; color: var(--bs-white); font-size: 1.25rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.footer .btn-top:hover { background: var(--bs-gray-888); }

/* ── 시안에 없는 공용 요소 숨김 ── */
#quick, .btn-quick { display: none !important; }

/* ── 반응형 ── */
@media (max-width: 1400px) {.mv-about-text { top: 100px; }
}
@media (max-width: 1200px) {
    section.mv-section { padding: 140px 0 0; }.mv-pf-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .mv-pf-big { grid-column: 1 / 3; grid-row: auto; min-height: 480px; }
    .mv-pf-item { min-height: 300px; }
    .mv-pr-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
    .mv-about-box { height: auto; padding: 80px 40px; }
    .mv-about-text { position: static; }
    .mv-about-box { background-position: 25% center; }
    .mv-about-text { background: rgba(var(--bs-white-rgb),.82); padding: 40px; margin-left: 35%; border-radius: 40px; }
}
@media (max-width: 767px) {
    section.mv-section { padding: 90px 0 0; }
    .mv-eyebrow { font-size: 1rem; margin-bottom: 20px; }.mv-visual { min-height: 480px; }.mv-arrow { display: none; }
    .mv-paging { right: 20px; bottom: 30px; gap: 16px; }
    .mv-timeline { width: 120px; }
    .mv-fraction { font-size: 0.875rem; }
    .mv-about-box { padding: 20px; background-position: 20% center; }
    .mv-about-text { margin-left: 0; padding:40px 30px; }
    .mv-about-text .mv-eyebrow, .mv-about-text .mv-title { margin-bottom: 24px; }
    .mv-desc { font-size: 1rem; margin-bottom: 32px; }
    .mv-portfolio .mv-title, .mv-pr .mv-title { margin-bottom: 40px; }
    .mv-pf-grid { grid-template-columns: 1fr; }
    .mv-pf-big { grid-column: auto; min-height: 320px; }
    .mv-pf-item { min-height: 240px; }
    .mv-pf-name { left: 20px; bottom: 20px; }.mv-pr-grid { grid-template-columns: 1fr; gap: 32px; }.mv-pr-card { padding: 0; margin: 0; } /* 호버 블리드 해제 — fluid 4% 패딩(<20px)을 넘어 가로스크롤 유발 */
    .mv-pr-head { margin-bottom: 20px; }
    .mv-pr-date { margin-bottom: 16px; }
    .mv-pr-subject { margin-bottom: 20px; height: auto; }
    .footer { padding: 40px 0; margin-top: 90px; }
    .footer .btn-top { position: static; transform: none; margin-bottom: 20px; }
}
