* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'NotoSansCJKkr';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2107@1.1/NotoSansKR-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NotoSansCJKkr';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2107@1.1/NotoSansKR-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NotoSansCJKkr';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2107@1.1/NotoSansKR-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NotoSansCJKkr';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2107@1.1/NotoSansKR-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NotoSansCJKkr';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2107@1.1/NotoSansKR-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GmarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2107@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GmarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2107@1.1/GmarketSansBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'GmarketSans', 'NotoSansCJKkr', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 공통 섹션 스타일 */
.section {
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.section-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 630px;
    text-align: center;
}

.section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    font-weight: bold;
}

.section p {
    font-size: 1.2em;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* 섹션 1 - 메인 히어로 */
.section1 {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    padding: 0;
    overflow: hidden;
    display: block;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

.hero-slider .swiper-wrapper {
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-slide .container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 120px;
}

.hero-slide-1 {
    background-image: url('/images/bg2.jpg');
}

.hero-slide-2 {
    background-image: url('/images/bg1.jpg');
}

.hero-slide-3 {
    background: none;
    overflow: hidden;
}

.hero-slide-3::after {
    display: none;
    content: none;
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    background-color: #000;
}

.hero-youtube-target {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 비율 */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 비율 */
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
    /* 유튜브 UI 완전 숨김 */
    filter: none;
}

/* 유튜브 컨트롤과 로고 완전 숨김 */
.hero-video-wrapper iframe::after,
.hero-video-wrapper iframe::before {
    content: '';
    position: absolute;
    background: transparent;
    pointer-events: none;
}

/* 유튜브 플레이어 내부 요소 숨김 */
.hero-video-wrapper .ytp-chrome-top,
.hero-video-wrapper .ytp-chrome-bottom,
.hero-video-wrapper .ytp-watermark,
.hero-video-wrapper .ytp-gradient-top,
.hero-video-wrapper .ytp-gradient-bottom,
.hero-video-wrapper .ytp-show-cards-title {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

@supports not (object-fit: cover) {
    .hero-video-wrapper iframe {
        top: 50%;
        left: 50%;
        width: 177.78%;
        transform: translate(-50%, -50%);
    }
}

.hero-content--video {
    position: relative;
    z-index: 3;
}

/* 헤더 */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    padding: 50px 0;
}

.header-inner {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 90px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.logo-container {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.logo {
    width: 150px;
    height: auto;
}

.nav-menu {
    display: flex;
    flex: 1 1 auto;
    gap: 30px;
    align-items: center;
    justify-content: flex-end;
}

.nav-item {
    padding: 12px 25px 11px 22px;
    border-radius: 20px;

    font-family: 'GmarketSans', 'NotoSansCJKkr', sans-serif;
    font-size: 18px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.45px;
    text-align: left;
    color: #fff;
    text-decoration: none;
}

.nav-item:hover,
.nav-item.active {
    background-color: #151c64;
}

/* 메인 컨텐츠 */
.hero-content {
    text-align: center;
}

.hero-title {
    font-family: NotoSansCJKkr;
    font-size: 58px;
    font-weight: 900;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -1.45px;
    text-align: center;
    color: #fff;
    margin-bottom: 35px;
}

.hero-subtitle {
    font-family: NotoSansCJKkr;
    font-size: 19.5px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.49px;
    text-align: center;
    color: #fff;
}

/* 하단 인디케이터 */
.hero-slider .swiper-pagination {
    position: absolute;
    left: 0;
    bottom: 40px !important;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    pointer-events: auto;
    z-index: 5;
    opacity: 1;
    visibility: visible;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
    background: #ffffff;
}

.section1 h2 {
    color: white;
    font-size: 3.5em;
}

.section1 p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3em;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #2980b9;
}

/* 섹션 2 - 상담 문의하기 */
.section2 {
    background-color: #f8f9fa;
}

.section2 h2 {
    font-family: NotoSansCJKkr;
    font-size: 40px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -2px;
    color: #343434;
    margin-bottom: 64px;
}

.consultation-badge {
    padding: 5px 13px;
    border-radius: 30px;
    background-color: #cd0000;
    width: fit-content;

    font-family: NotoSansCJKkr;
    font-size: 19px;
    font-weight: 300;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.98px;
    text-align: center;
    color: #fff;
}

.consultation-badge b {
    font-weight: 900;
}

.consultation-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.agree-group {
    margin-top: 10px;
}

.agree-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #4a5568;
    flex-wrap: wrap;
}

.agree-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.agree-checkbox input {
    width: 18px;
    height: 18px;
}

.privacy-view-link {
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.privacy-view-link:hover,
.privacy-view-link:focus {
    color: inherit;
    outline: none;
    text-decoration: underline;
}

.privacy-layer {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    padding: 20px;
}

.privacy-layer.is-active {
    display: flex;
}

.privacy-layer__content {
    background-color: #ffffff;
    border-radius: 16px;
    max-width: 540px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.privacy-layer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 10px;
}

.privacy-layer__title {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
}

.privacy-layer-close {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: #4a5568;
    cursor: pointer;
}

.privacy-layer-close:hover,
.privacy-layer-close:focus {
    color: #1a202c;
    outline: none;
}

.privacy-layer__body {
    padding: 0 28px 10px;
    overflow-y: auto;
    color: #4a5568;
    line-height: 1.6;
    font-size: 14px;
}

.privacy-layer__body p {
    margin-bottom: 10px;
}

.privacy-layer__list {
    padding-left: 18px;
    margin-bottom: 16px;
}

.privacy-layer__list li {
    margin-bottom: 6px;
}

.privacy-layer__footer {
    padding: 12px 28px 24px;
    display: flex;
    justify-content: flex-end;
}

.privacy-layer__link {
    font-size: 14px;
    color: #1a5cff;
    text-decoration: none;
}

.privacy-layer__link:hover,
.privacy-layer__link:focus {
    color: #0f3cb3;
    text-decoration: underline;
    outline: none;
}

body.modal-open {
    overflow: hidden;
}

.form-input {
    padding: 20px 30px;
    border-radius: 30px;
    border: none;
    box-shadow: 0 0 28.5px 1.5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    width: 100%;

    font-family: NotoSansCJKkr;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.8px;
    text-align: left;
    color: #5b5b5b;
}

.form-input:focus {
    outline: none;
    border-color: #4a90e2;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.2);
}

.form-input::placeholder {
    color: #6c757d;
    font-size: 1em;
}

.submit-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    border-radius: 50px;
    background-color: #151c64;
    border: none;
    cursor: pointer;

    font-family: NotoSansCJKkr;
    font-size: 24px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -1.2px;
    color: #fff;
}

.submit-button:active {
    transform: translateY(0);
}

/* 섹션 3 - FAQ 섹션 */
.section3 {
    background: url('/images/faqbg.png') center/cover no-repeat;
    color: white;
    position: relative;
    padding: 94px 0 175px;
}

.section3 .container {
    position: relative;
    z-index: 2;
}

.section3 h2 {
    color: white;
    margin-bottom: 29px;
}

.section3 .subtitle {
    font-size: 1.1em;
    margin-bottom: 108px;
    color: #ffffff;
    line-height: 1.6;
}

.faq-container {

}

.faq-item {
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    /*
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);

     */
}

.faq-question {
    width: 1029px;
    padding: 25px 52px 23px 48px;
    opacity: 0.9;
    border-radius: 44px;
    background-color: #fff;

    font-family: NotoSansCJKkr;
    font-size: 20px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -1px;
    text-align: left;
    color: #151c64;

    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question .question-text {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex: 1;
}

.faq-question .q-icon {
    font-family: GmarketSans;
    font-size: 40px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -2px;
    text-align: left;
    color: #e53935;
}

.faq-question .arrow {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-question .arrow::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #e53935;
    border-bottom: 2px solid #e53935;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .arrow::before {
    transform: rotate(-135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 85px;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
    text-align: left;
}

.faq-item.active .faq-answer {
    max-height: 600px;
    opacity: 1;
    padding: 20px 85px;
    transform: translateY(0);
}

.faq-answer p {
    color: #ffffff;
    font-size: 1em;
    line-height: 1.6;
    margin: 0;
}

.faq-empty {
    margin-top: 15px;
    padding: 25px;
    text-align: center;
    color: #4a5568;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 1em;
}

/* 약관 및 개인정보 페이지 공통 */
.legal-page {
    background-color: #f4f6fb;
    color: #1f2a44;
}

.legal-page .sub-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 21, 64, 0.08);
}

.legal-page .sub-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.legal-page .sub-header__logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.legal-page .sub-header__logo .sub-header__link {
    padding: 0;
    background: none;
    cursor: default;
    font-size: 1.05em;
    color: #0f1540;
}

.legal-page .sub-header__logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    border-radius: 14px;
    padding: 10px 18px;
}

.legal-page .sub-header__logo-link:hover,
.legal-page .sub-header__logo-link:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(15, 21, 64, 0.18);
}

.legal-page .sub-header__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.legal-page .sub-header__nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.legal-page .sub-header__link {
    font-size: 0.95em;
    color: #0f1540;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.legal-page .sub-header__link:hover,
.legal-page .sub-header__link:focus,
.legal-page .sub-header__link.is-active {
    background-color: rgba(21, 28, 100, 0.08);
    color: #151c64;
}

.legal-main {
    max-width: 960px;
    margin: 0 auto;
    padding: 120px 20px 80px;
}

.legal-article {
    background-color: #ffffff;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(10, 14, 40, 0.08);
    padding: 60px 70px;
}

.legal-article header h1 {
    font-size: 2em;
    margin-bottom: 35px;
    color: #151c64;
    text-align: center;
}

.legal-article section + section {
    margin-top: 36px;
}

.legal-article h2 {
    font-size: 1.2em;
    margin-bottom: 14px;
    color: #151c64;
}

.legal-article p,
.legal-article li {
    font-size: 0.95em;
    color: #3a4562;
    line-height: 1.7;
}

.legal-article ol,
.legal-article ul {
    padding-left: 18px;
    margin: 0;
}

.legal-article ol {
    list-style: decimal;
}

.legal-article ul {
    list-style: disc;
}

.legal-article ol li + li,
.legal-article ul li + li {
    margin-top: 6px;
}

.legal-footer {
    background-color: #0f1540;
    color: #ffffff;
    padding: 40px 0;
}

.legal-footer__inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-footer__links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9em;
}

.legal-footer__links a {
    color: #ffffff;
    text-decoration: none;
}

.legal-footer__links span {
    color: rgba(255, 255, 255, 0.5);
}

.legal-footer__links a:hover,
.legal-footer__links a:focus {
    text-decoration: underline;
}

.legal-footer__info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 0.85em;
}

.legal-footer__info strong {
    color: #d6dcff;
}

/* 섹션 4 - 오시는 길 */
.section4 {
    background-color: #ffffff;
    padding: 109px 0 138px 0;
}

.section4 h2 {
    font-family: NotoSansCJKkr;
    font-size: 40px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -2px;
    text-align: center;
    color: #000;
}

.section4 .subtitle {
    font-size: 20px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -1px;
    text-align: center;
    color: #000;
    margin-bottom: 105px;
}

.section4 .section-content {
    width: 1120px !important;
}

.section4 .info-title {
    font-size: 18px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.9px;
    text-align: left;
    color: #000;
}

.section4 .info-title .badge {
    font-family: NotoSansCJKkr;
    font-size: 18px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.33;
    letter-spacing: -0.9px;
    text-align: left;
    color: #666;
    background: unset;
}

.section4 .info-content {
    font-family: NotoSansCJKkr;
    font-size: 18px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.33;
    letter-spacing: -0.9px;
    text-align: left;
    color: #666;
}

.section4 .phone-number {
    font-family: GmarketSans;
    font-size: 26px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 0.92;
    letter-spacing: -0.65px;
    text-align: left;
    color: #000;
    text-decoration: none;
    display: inline-block;
}

.section4 > .info-section > .info-title {
    font-family: NotoSansCJKkr;
    font-size: 18px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.33;
    letter-spacing: -0.9px;
    text-align: left;
    color: #666;
}

.section4 .inquiry-btn {
    padding: 16px 64px 15px 55px;
    border-radius: 5px;
    background-color: #151c64;

    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: -0.8px;
    text-align: left;
    color: #fff;
}

.section4 .kakao-btn {
    padding: 16px 42px 15px 44px;
    border-radius: 5px;
    background-color: #fae104;

    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: -0.8px;
    text-align: left;
    color: #000;
}

.location-container {
    display: flex;
    flex-direction: column;
    gap: 70px;
    width: 100%;
    margin: 0 auto;
}

.location-info {
    display: flex;
    justify-content: space-between;
}

.info-section {
}

.info-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
}

.info-content {
    color: #666;
    line-height: 1.8;
    font-size: 1em;
}

.phone-number {
    font-size: 1.8em;
    font-weight: bold;
    color: #2c3e50;
    margin: 10px 0;
    text-decoration: none;
    display: inline-block;
}

.phone-number:focus,
.phone-number:hover {
    color: #1a252f;
}

.contact-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.contact-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 0.95em;
}

.contact-btn.disabled {
    background: #cbd5e0;
    color: #4a5568;
    cursor: not-allowed;
}

.inquiry-btn {
    background: #2c3e50;
    color: white;
}

.inquiry-btn:hover {
    background: #34495e;
    transform: translateY(-2px);
}

.kakao-btn {
    background: #ffd700;
    color: #2c3e50;
}

.kakao-btn:hover {
    background: #ffed4a;
    transform: translateY(-2px);
}

.contact-btn.disabled:hover {
    transform: none;
}

.map-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.map-frame {
    position: relative;
    width: 100%;
    height: 513px;
    overflow: hidden;
}

.map-frame::before {
    content: '';
    display: block;
    padding-bottom: 56.25%;
}

#daumRoughmapContainer1758793028112 {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

#daumRoughmapContainer1758793028112 .wrap_map {
    width: 100% !important;
    height: 100% !important;
}

.badge {
    display: inline-block;
    background: #dc3545;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: bold;
    margin-left: 8px;
}

/* 섹션 5 - 하단 정보 */
.section5 {
    background: #000000;
    color: white;
    padding: 40px 65px;
    min-height: auto;
}

.section5 .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-address {
    font-family: NotoSansCJKkr;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.8px;
    text-align: left;
    color: #c4c4c4;
}

.footer-address strong {
    color: #ffffff;
    font-weight: bold;
}

.footer-contact {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: #ccc;
    font-size: 0.9em;
}

.contact-label {
    font-family: NotoSansCJKkr;
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.8px;
    text-align: left;
    color: #fff;
}

.contact-number {
    font-family: NotoSansCJKkr;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #c4c4c4;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ccc;
    font-size: 0.85em;
}

.footer-link {
    font-family: NotoSansCJKkr;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #c4c4c4;
    text-decoration: none;
}

.footer-link:hover {
    color: white;
}

.footer-separator {
    color: #666;
    margin: 0 5px;
}

br.mo {
    display: none;
}

/* 반응형 처리 */
@media (max-width: 768px) {
    :root {
        --hero-mobile-height: 33rem;
    }

    br.mo {
        display: block !important;
    }

    .section {
        padding: 60px 0;
        min-height: auto;
    }

    .section h2 {
        font-size: 2em;
        margin-bottom: 1rem !important;
    }

    .section1 {
        padding: 0 !important;
        height: var(--hero-mobile-height) !important;
        max-height: var(--hero-mobile-height) !important;
        min-height: var(--hero-mobile-height) !important;
    }

    .section1 h2 {
        font-size: 2.5em;
    }

    .section p {
        font-size: 1em;
    }

    .container {
        padding: 0 15px;
    }

    /* 메인 히어로 반응형 */
    .header {
        padding: 15px 0;
    }

    .header-inner {
        flex-direction: row !important;
        gap: 20px;
        align-items: flex-start !important;
        padding: 0 20px;
    }

    .logo {
        width: 120px;
    }

    .nav-menu {
        gap: 20px;
        justify-content: flex-end !important;
        width: 100%;
    }

    .nav-menu .nav-item {
        display: none;
    }

    .nav-menu .nav-item:last-child {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-item {
        font-size: 0.9em;
        padding: 6px 12px;
    }

    .hero-title {
        font-size: 1.3rem !important;
    }

    .hero-subtitle {
        font-size: .8rem;
    }

    .hero-slider {
        height: var(--hero-mobile-height);
        min-height: var(--hero-mobile-height);
        max-height: var(--hero-mobile-height);
    }

    .hero-slide {
        height: var(--hero-mobile-height);
        min-height: var(--hero-mobile-height);
        max-height: var(--hero-mobile-height);
    }

    .hero-slide .container {
        padding-top: 30px;
        padding-bottom: 30px;
        justify-content: center;
    }

    .hero-slide-3,
    .hero-video-wrapper {
        height: var(--hero-mobile-height);
        min-height: var(--hero-mobile-height);
        max-height: var(--hero-mobile-height);
    }

    .hero-video-wrapper iframe {
        width: 100vw !important;
        height: 100% !important;
        min-height: 100% !important;
        transform: translate(-50%, -50%) !important;
    }

    .service-grid,
    .stats-grid,
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* 하단 정보 반응형 */
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section-content,
    .section4 .section-content {
        width: 100% !important;
    }

    .map-frame {
        max-width: 100%;
        height: 20rem;
    }

    .footer-contact {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .footer-right {
        gap: 10px;
    }

    /* 상담 폼 반응형 */
    .consultation-form {
        padding: 30px 25px;
        margin: 0 10px;
    }

    .form-input {
        padding: 15px 18px;
        font-size: 0.95em;
    }

    .submit-button {
        padding: 18px;
        font-size: 1.1em;
    }

    /* 오시는 길 반응형 */
    .location-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map-placeholder {
        height: 300px;
    }

    .contact-buttons {
        gap: 8px;
    }

    .contact-btn {
        text-align: center !important;
        padding: 14px 20px;
    }

    .info-section .info-title {
        display: flex !important;
        align-items: baseline !important;
    }

    .phone-number {
        font-size: 1.6em;
    }

    /* FAQ 반응형 */
    .faq-container {
        max-width: 100%;
    }

    .faq-question {
        padding: 15px 20px;
        font-size: 1em;
        width: 100%;
    }

    .faq-question .q-icon {
        font-size: 1.2rem !important;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        max-height: 600px;
        padding: 15px 20px;
    }

    .section3 {
        padding: 40px 1rem !important;
    }

    .section3 .subtitle {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .section4 .container {
        padding: 0 2rem !important;
        width: 100%;
    }

    .section4 .subtitle {
        margin-bottom: 3rem;
    }

    .section4 .inquiry-btn {
        padding: 16px !important;
        text-align: center !important;
    }

    .location-info {
        flex-direction: column;
    }

    .section5 {
        padding: 20px 1rem !important;
    }

    .hero-content--video {
        padding-left: 20px;
        padding-right: 20px;
    }

    .legal-page .sub-header__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-page .sub-header__nav {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .legal-main {
        padding: 100px 20px 60px;
    }

    .legal-article {
        padding: 40px 35px;
        border-radius: 22px;
    }

    .contact-label, .footer-address {
        margin-right: .1rem !important;
    }
    .contact-label, .contact-number {
        font-size: .8rem !important;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }

    .section h2 {
        font-size: 1.8em;
    }

    .section1 h2 {
        font-size: 2em;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    /* 메인 히어로 모바일 최적화 */
    .header {
        padding: 10px 0;
    }

    .header-inner {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        padding: 0 15px;
    }

    .logo {
        width: 100px;
    }

    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-item {
        font-size: 0.85em;
        padding: 5px 10px;
    }

    .hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .hero-slider {
        height: auto;
        min-height: 580px;
    }

    .section1 {
        height: auto;
        min-height: 580px;
    }

    .hero-slider .swiper-pagination {
        bottom: 5rem !important;
        display: flex !important;
        z-index: 2;
    }

    /* 상담 폼 모바일 최적화 */
    .consultation-form {
        padding: 25px 20px;
        margin: 0 5px;
    }

    .form-input {
        padding: 14px 16px;
        font-size: 0.9em;
    }

    .submit-button {
        padding: 16px;
        font-size: 1em;
    }

    .consultation-badge {
        padding: 6px 16px;
        font-size: 0.8em;
    }

    /* 오시는 길 모바일 최적화 */
    .location-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .info-section {
        margin-bottom: 30px;
    }

    .info-title {
        font-size: 1.2em;
    }

    .phone-number {
        font-size: 1.5em;
    }

    .map-placeholder {
        height: 250px;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .contact-btn {
        padding: 12px 18px;
        font-size: 0.9em;
    }

    .badge {
        display: block;
        margin: 5px 0 0 0;
        text-align: center;
        padding: 4px 8px;
        font-size: 0.75em;
    }

    /* FAQ 모바일 최적화 */
    .faq-question {
        padding: 12px 15px;
        font-size: 0.95em;
    }

    .faq-question .question-text {
        gap: 8px;
    }

    .faq-question .q-icon {
        width: 18px;
        height: 18px;
        font-size: 0.7em;
    }

    .faq-answer {
        padding: 0 15px;
    }

    .faq-item.active .faq-answer {
        max-height: 600px;
        padding: 12px 15px;
    }

    .faq-answer p {
        font-size: 0.9em;
        line-height: 1.5;
    }


    .section3 h2 {
        margin-bottom: 15px;
    }

    /* 하단 정보 모바일 최적화 */
    .section5 {
        padding: 20px 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-address {
        font-size: 0.8em;
        line-height: 1.4;
    }

    .footer-contact {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .contact-item {
        font-size: 0.8em;
    }

    .footer-right {
        gap: 8px;
        font-size: 0.75em;
        flex-wrap: wrap;
    }

    .hero-content--video {
        padding-left: 15px;
        padding-right: 15px;
    }

    .legal-page .sub-header__inner {
        padding: 15px;
    }

    .legal-page .sub-header__logo-link {
        width: 120px;
        padding: 8px 14px;
        border-radius: 12px;
    }

    .legal-page .sub-header__nav {
        gap: 12px;
    }

    .legal-main {
        padding: 80px 16px 50px;
    }

    .legal-article {
        padding: 30px 24px;
        border-radius: 18px;
    }

    .legal-article header h1 {
        font-size: 1.6em;
    }

    .legal-article h2 {
        font-size: 1.05em;
    }

    .legal-footer__inner {
        align-items: flex-start;
    }

    .legal-footer__info {
        flex-direction: column;
        gap: 6px;
    }
}

