/* ==================== 주선산부인과 랜딩 페이지 ==================== */

:root {
    --lp-pink: #F06A8A;
    --lp-pink-light: #FFF0F3;
    --lp-pink-soft: #FDDDE6;
    --lp-beige: #F9F0E8;
    --lp-beige-dark: #EDE0D4;
    --lp-text: #1A1A1A;
    --lp-text-light: #666666;
    --lp-text-muted: #999999;
    --lp-white: #FFFFFF;
    --lp-bg-gray: #F8F8F8;
    --lp-radius: 16px;
    --lp-container: 1200px;
}

/* 랜딩 페이지에서 기존 테마 헤더/푸터 숨기기 */
.landing-page .header,
.landing-page .site-footer,
.landing-page .site-main,
.landing-page #page {
    display: contents;
}

.landing-page .header {
    display: none !important;
}

.landing-page .site-footer {
    display: none !important;
}

/* ==================== 공통 ==================== */
.lp-container {
    max-width: var(--lp-container);
    margin: 0 auto;
    padding: 0 24px;
}

.lp-section-label {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--lp-pink);
    margin-bottom: 16px;
    text-transform: uppercase;
}

/* 이미지 플레이스홀더 */
.lp-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: var(--lp-radius);
    background: linear-gradient(135deg, var(--lp-pink-soft) 0%, var(--lp-beige) 100%);
    position: relative;
    overflow: hidden;
}

.lp-image-placeholder::after {
    content: '이미지 준비중';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: var(--lp-text-muted);
    letter-spacing: 1px;
}

/* 스크롤 애니메이션 */
.lp-about-text,
.lp-about-image,
.lp-intro-text,
.lp-intro-image,
.lp-service-card,
.lp-doctor-image,
.lp-doctor-text,
.lp-equipment-card,
.lp-facility-item,
.lp-footer-info,
.lp-footer-map {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.lp-service-card:nth-child(2) { transition-delay: 0.1s; }
.lp-service-card:nth-child(3) { transition-delay: 0.2s; }
.lp-service-card:nth-child(4) { transition-delay: 0.3s; }
.lp-service-card:nth-child(5) { transition-delay: 0.4s; }
.lp-service-card:nth-child(6) { transition-delay: 0.5s; }

.lp-equipment-card:nth-child(2) { transition-delay: 0.15s; }
.lp-equipment-card:nth-child(3) { transition-delay: 0.3s; }

.lp-facility-item:nth-child(2) { transition-delay: 0.1s; }
.lp-facility-item:nth-child(3) { transition-delay: 0.2s; }
.lp-facility-item:nth-child(4) { transition-delay: 0.3s; }
.lp-facility-item:nth-child(5) { transition-delay: 0.4s; }

/* ==================== 헤더 ==================== */
.lp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.lp-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(12px);
}

.lp-header-inner {
    max-width: var(--lp-container);
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lp-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.lp-logo img {
    height: 36px;
    width: auto;
}

.lp-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--lp-text);
    letter-spacing: -0.5px;
}

.lp-header.scrolled .lp-logo-text {
    color: var(--lp-text);
}

.lp-nav {
    display: flex;
    gap: 36px;
}

.lp-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--lp-text);
    transition: color 0.2s;
    position: relative;
}

.lp-nav a:hover {
    color: var(--lp-pink);
}

.lp-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--lp-pink);
    transition: width 0.3s ease;
}

.lp-nav a:hover::after {
    width: 100%;
}

.lp-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp-btn-contact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--lp-text);
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.2s;
}

.lp-btn-contact:hover {
    background: var(--lp-pink-light);
}

.lp-btn-reserve {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-white);
    background: var(--lp-pink);
    padding: 10px 24px;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}

.lp-btn-reserve:hover {
    background: #E05578;
    transform: translateY(-1px);
}

.lp-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.lp-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--lp-text);
    transition: transform 0.3s, opacity 0.3s;
}

.lp-mobile-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.lp-mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}

.lp-mobile-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.lp-mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--lp-white);
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.lp-mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
}

.lp-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.lp-mobile-nav a {
    font-size: 16px;
    font-weight: 500;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--lp-text);
}

.lp-mobile-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.lp-btn-contact-mobile {
    flex: 1;
    text-align: center;
    padding: 12px;
    border: 1px solid var(--lp-pink);
    border-radius: 8px;
    color: var(--lp-pink);
    font-weight: 600;
    font-size: 15px;
}

.lp-mobile-actions .lp-btn-reserve {
    flex: 1;
    text-align: center;
    justify-content: center;
}

/* ==================== 히어로 ==================== */
.lp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--lp-beige) 0%, var(--lp-pink-soft) 50%, var(--lp-pink-light) 100%);
}

.lp-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    /* 배경 이미지: background-image: url('...') 으로 교체 */
}

.lp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(249, 240, 232, 0.8) 0%,
        rgba(249, 240, 232, 0.4) 50%,
        rgba(253, 221, 230, 0.3) 100%
    );
}

.lp-hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--lp-container);
    margin: 0 auto;
    padding: 0 24px;
    padding-top: 72px;
    width: 100%;
}

.lp-hero-title {
    font-family: 'Marcellus', serif;
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--lp-text);
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.lp-hero-subtitle {
    font-size: clamp(15px, 1.5vw, 18px);
    color: var(--lp-text-light);
    font-weight: 400;
    line-height: 1.6;
}

.lp-hero-image {
    position: absolute;
    right: 5%;
    bottom: 0;
    width: 35%;
    max-width: 500px;
    z-index: 3;
}

.lp-hero-image-placeholder {
    width: 100%;
    padding-bottom: 130%;
    background: linear-gradient(180deg, transparent 0%, rgba(240, 106, 138, 0.1) 100%);
    border-radius: 0;
    min-height: 0;
}

.lp-hero-image-placeholder::after {
    content: '인물 이미지';
}

/* ==================== 소개 ==================== */
.lp-about {
    padding: 140px 0;
    background: var(--lp-white);
}

.lp-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.lp-about-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    line-height: 1.35;
    color: var(--lp-text);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.lp-about-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--lp-text-light);
}

.lp-about-image .lp-image-placeholder {
    min-height: 450px;
}

/* ==================== 병원 소개 ==================== */
.lp-intro {
    padding: 140px 0;
    background: var(--lp-bg-gray);
    position: relative;
    overflow: hidden;
}

.lp-intro-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Marcellus', serif;
    font-size: clamp(60px, 10vw, 160px);
    color: rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.lp-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.lp-intro-title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    line-height: 1.45;
    color: var(--lp-text);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.lp-intro-title strong {
    font-weight: 700;
}

.lp-intro-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--lp-text-light);
}

.lp-intro-image .lp-image-placeholder {
    min-height: 400px;
}

/* ==================== 진료분야 ==================== */
.lp-services {
    padding: 140px 0;
    background: var(--lp-white);
}

.lp-services-header {
    text-align: center;
    margin-bottom: 64px;
}

.lp-services-title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    line-height: 1.45;
    color: var(--lp-text);
    letter-spacing: -0.5px;
}

.lp-services-title strong {
    font-weight: 700;
}

.lp-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lp-service-card {
    background: var(--lp-bg-gray);
    border-radius: var(--lp-radius);
    padding: 40px 32px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lp-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(240, 106, 138, 0.12);
}

.lp-service-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--lp-pink-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--lp-pink);
}

.lp-service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 10px;
}

.lp-service-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--lp-text-muted);
}

/* ==================== 의료진 ==================== */
.lp-doctor {
    padding: 140px 0;
    background: var(--lp-beige);
    position: relative;
    overflow: hidden;
}

.lp-doctor-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Marcellus', serif;
    font-size: clamp(60px, 10vw, 160px);
    color: rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.lp-doctor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.lp-doctor-image .lp-image-placeholder {
    min-height: 500px;
    background: linear-gradient(135deg, var(--lp-pink-soft) 0%, var(--lp-beige-dark) 100%);
}

.lp-doctor-title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    line-height: 1.45;
    color: var(--lp-text);
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.lp-doctor-title strong {
    font-weight: 700;
}

.lp-doctor-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--lp-pink);
    display: inline-block;
}

.lp-doctor-career {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-doctor-career li {
    font-size: 15px;
    color: var(--lp-text-light);
    padding: 6px 0;
    padding-left: 16px;
    position: relative;
}

.lp-doctor-career li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lp-pink);
    transform: translateY(-50%);
}

/* ==================== 장비 ==================== */
.lp-equipment {
    padding: 140px 0;
    background: var(--lp-pink-light);
}

.lp-equipment-header {
    text-align: center;
    margin-bottom: 64px;
}

.lp-equipment-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.lp-equipment-desc {
    font-size: 16px;
    color: var(--lp-text-light);
}

.lp-equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lp-equipment-card {
    background: var(--lp-white);
    border-radius: var(--lp-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lp-equipment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.lp-equipment-card .lp-image-placeholder {
    min-height: 240px;
    border-radius: 0;
}

.lp-equipment-card .lp-image-placeholder::after {
    content: '장비 이미지';
}

.lp-equipment-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--lp-text);
    padding: 20px 24px;
    text-align: center;
}

/* ==================== 시설 ==================== */
.lp-facilities {
    padding: 140px 0;
    background: var(--lp-white);
}

.lp-facilities-header {
    text-align: center;
    margin-bottom: 64px;
}

.lp-facilities-title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    line-height: 1.45;
    color: var(--lp-text);
    letter-spacing: -0.5px;
}

.lp-facilities-title strong {
    font-weight: 700;
}

.lp-facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.lp-facility-item {
    border-radius: var(--lp-radius);
    overflow: hidden;
}

.lp-facility-item .lp-image-placeholder {
    min-height: 240px;
    border-radius: 0;
}

.lp-facility-item .lp-image-placeholder::after {
    content: '시설 사진';
}

.lp-facility-large {
    grid-column: span 2;
}

.lp-facility-large .lp-image-placeholder {
    min-height: 340px;
}

/* ==================== 푸터 ==================== */
.lp-footer {
    background: var(--lp-bg-gray);
}

.lp-footer-top {
    padding: 100px 0 80px;
}

.lp-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.lp-footer-title {
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 700;
    line-height: 1.4;
    color: var(--lp-text);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.lp-footer-message {
    font-size: 15px;
    line-height: 1.7;
    color: var(--lp-text-light);
    margin-bottom: 40px;
}

.lp-contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.lp-contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.lp-contact-item svg {
    flex-shrink: 0;
    color: var(--lp-pink);
    margin-top: 2px;
}

.lp-contact-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 4px;
}

.lp-contact-item p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--lp-text-light);
    margin: 0;
}

.lp-contact-item a {
    color: var(--lp-text-light);
    transition: color 0.2s;
}

.lp-contact-item a:hover {
    color: var(--lp-pink);
}

.lp-closed {
    color: var(--lp-pink);
    font-weight: 500;
}

.lp-btn-naver-map {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #03C75A;
    color: var(--lp-white);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}

.lp-btn-naver-map:hover {
    background: #02B350;
    transform: translateY(-1px);
}

.lp-btn-naver-map svg {
    color: var(--lp-white);
}

.lp-footer-map {
    border-radius: var(--lp-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.lp-footer-map iframe {
    display: block;
}

.lp-footer-bottom {
    border-top: 1px solid #e5e5e5;
    padding: 24px 0;
}

.lp-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lp-copyright {
    font-size: 13px;
    color: var(--lp-text-muted);
}

.lp-footer-links {
    display: flex;
    gap: 24px;
}

.lp-footer-links a {
    font-size: 13px;
    color: var(--lp-text-muted);
    transition: color 0.2s;
}

.lp-footer-links a:hover {
    color: var(--lp-text);
}

/* ==================== 약관 모달 (기존 테마 호환) ==================== */
.footer-terms-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.footer-terms-modal.show {
    display: flex;
}

.footer-terms-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.footer-terms-modal-content {
    position: relative;
    background: var(--lp-white);
    border-radius: var(--lp-radius);
    padding: 32px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.footer-terms-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.footer-terms-modal-title {
    font-size: 20px;
    font-weight: 700;
}

.footer-terms-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--lp-text-muted);
}

.footer-terms-modal-body {
    font-size: 14px;
    line-height: 1.8;
    color: var(--lp-text-light);
    margin-bottom: 24px;
}

.footer-terms-modal-confirm {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--lp-pink);
    color: var(--lp-white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.footer-terms-modal-confirm:hover {
    background: #E05578;
}

/* ==================== 반응형 ==================== */
@media (max-width: 1024px) {
    .lp-about-grid,
    .lp-intro-grid,
    .lp-doctor-grid,
    .lp-footer-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .lp-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-hero-image {
        width: 45%;
        right: 2%;
    }

    .lp-about,
    .lp-intro,
    .lp-services,
    .lp-doctor,
    .lp-equipment,
    .lp-facilities {
        padding: 100px 0;
    }
}

@media (max-width: 768px) {
    .lp-nav,
    .lp-header-actions {
        display: none;
    }

    .lp-mobile-toggle {
        display: flex;
    }

    .lp-mobile-menu {
        display: block;
    }

    .lp-hero {
        min-height: 80vh;
    }

    .lp-hero-title {
        font-size: 40px;
    }

    .lp-hero-image {
        position: relative;
        right: auto;
        width: 70%;
        max-width: 300px;
        margin: 40px auto 0;
    }

    .lp-hero-content {
        text-align: center;
    }

    .lp-hero {
        flex-direction: column;
        justify-content: center;
        padding-top: 72px;
    }

    .lp-services-grid {
        grid-template-columns: 1fr;
    }

    .lp-equipment-grid {
        grid-template-columns: 1fr;
    }

    .lp-facilities-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lp-facility-large {
        grid-column: span 2;
    }

    .lp-about,
    .lp-intro,
    .lp-services,
    .lp-doctor,
    .lp-equipment,
    .lp-facilities {
        padding: 72px 0;
    }

    .lp-about-title,
    .lp-services-title,
    .lp-intro-title,
    .lp-doctor-title,
    .lp-equipment-title,
    .lp-facilities-title,
    .lp-footer-title {
        font-size: 26px;
    }

    .lp-intro-grid {
        grid-template-columns: 1fr;
    }

    .lp-intro-image {
        order: -1;
    }

    .lp-doctor-grid {
        grid-template-columns: 1fr;
    }

    .lp-doctor-image {
        order: -1;
    }

    .lp-doctor-image .lp-image-placeholder {
        min-height: 350px;
    }

    .lp-footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .lp-hero-title {
        font-size: 32px;
    }

    .lp-service-card {
        padding: 28px 20px;
    }

    .lp-facilities-grid {
        grid-template-columns: 1fr;
    }

    .lp-facility-large {
        grid-column: span 1;
    }

    .lp-container {
        padding: 0 16px;
    }
}
