@charset "utf-8";

/* 1. 기본 및 전역 설정 */
:root {
    --primary-color: #222;
    --point-blue-color: #007AFF;
    --point-gradient: linear-gradient(90deg, #007AFF, #5856D6);
    --point-gradient-red: linear-gradient(to right, #FF6B6B, #F06A8C);
    --text-color: #212529;
    --text-light-color: #6C757D;
    --border-color: #DEE2E6;
    --white-color: #FFFFFF;
    --off-white-color: #F8F9FA;
    --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent;
}
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    color: var(--text-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    word-break: keep-all;
    background-color: var(--white-color);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding-top: 50px; padding-bottom: 100px; }
.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 20px;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--point-gradient);
    border-radius: 2px;
}
.section-description { font-size: 1rem; color: var(--text-light-color); text-align: center; max-width: 600px; margin: 0 auto 40px auto; }
.section-subtitle { font-size: 1rem; font-weight: 700; color: var(--point-blue-color); text-align: center; margin-bottom: 10px; }
.cta-btn { display: inline-block; padding: 12px 24px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; }

/* 애니메이션 기본 상태 */
.reveal-child {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-child.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- 헤더 --- */
#main-header {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 14px 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background-color 0.3s;
}
#main-header.scrolled {
    border-bottom-color: var(--border-color);
}
#main-header .container { display: flex; align-items: center; justify-content: space-between; }
.header-logo {
    font-size: 1.8rem;
    font-weight: 850;
    color: var(--primary-color);
    text-decoration: none;
}
.header-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.header-nav a { text-decoration: none; color: var(--text-light-color); font-weight: 600; transition: color 0.3s; }
.header-nav a:hover { color: var(--point-blue-color); }
.header-cta { background: var(--point-gradient); color: var(--white-color); border: none; }
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3); }

/* --- 히어로 섹션 --- */
#hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #222;
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}
.hero-content-container {
    position: relative;
    z-index: 3;
    color: var(--white-color);
}
.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.hero-content p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 40px auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    opacity: 0.9;
}
.hero-main-cta {
    position: relative;
    font-size: 1.1rem;
    padding: 12px 28px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}
.hero-main-cta:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* --- 이상형 찾기 섹션 --- */
#ideal-finder {
    padding: 80px 0;
    background-color: var(--off-white-color);
}
#ideal-finder .section-title {
    font-size: 2.2rem;
}
.finder-subtitle {
    text-align: center;
    color: var(--text-light-color);
    margin-top: 0;
    margin-bottom: 30px;
}
#ideal-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 20px;
}
.sentence-builder {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 2.0;
    text-align: center;
}
.sentence-builder .line-break {
    display: none;
}
.finder-message {
    font-size: 0.9rem;
    color: var(--text-light-color);
    font-weight: 500;
    text-align: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}
.finder-message.visible {
    opacity: 1;
    max-height: 50px;
}
.finder-submit-btn {
    background: var(--point-gradient);
    border: none;
    color: white;
    font-size: 1.1rem;
    padding: 14px 32px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.25);
    width: auto;
}
.finder-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 122, 255, 0.4);
}

/* --- 회원 직업 --- */
#social-proof {
    padding: 40px 0 60px 0;
    background-color: var(--white-color);
}
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
}
.marquee {
    display: flex;
    width: fit-content;
    animation: marquee 30s linear infinite;
}
.marquee-wrapper:hover .marquee {
    animation-play-state: paused;
}
.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    padding: 0 40px;
}
.logo-item img {
    max-height: 30px;
    max-width: 120px;
    opacity: 0.8;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- 지역 전문성 강조 섹션 --- */
#regional-focus { background-color: var(--off-white-color); }
.regional-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}
.regional-item {
    text-align: center;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--white-color);
    transition: transform 0.3s, box-shadow 0.3s;
}
.regional-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
}
.regional-icon .material-symbols-outlined {
    font-size: 3rem;
    color: var(--point-blue-color);
    margin-bottom: 15px;
}
.regional-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.regional-desc {
    font-size: 0.95rem;
    color: var(--text-light-color);
    line-height: 1.6;
}

/* --- 프리미엄 라운지 섹션 --- */
#offices {
    background-color: var(--white-color);
}
.office-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}
.office-card {
    position: relative;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s ease-out;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.office-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: translateY(-8px);
}
.office-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.4s ease-out;
}
.office-card:hover .office-bg-image {
    transform: scale(1.05);
}
.office-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 20%, transparent 100%);
    z-index: 2;
}
.office-content {
    position: relative;
    z-index: 3;
    padding: 25px;
    color: var(--white-color);
}
.office-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.office-content p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}
.office-content p .material-symbols-outlined {
    font-size: 1.1rem;
}
.office-hover-info {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(15px);
    transition: all 0.4s ease-out;
}
.office-card:hover .office-hover-info {
    opacity: 1;
    max-height: 100px;
    transform: translateY(0);
    margin-top: 15px;
}
.office-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--point-gradient);
    color: var(--white-color);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    z-index: 4;
}

/* --- '썸온은...' 섹션 --- */
#features {
    padding-bottom: 100px;
    background-color: var(--off-white-color);
}
.feature-sticky-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
    margin-top: 40px;
}
.graphic-area {
    width: 100%;
    background-color: var(--white-color);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    position: sticky;
    top: 120px;
}
.graphic-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}
.feature-sticky-text {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 20px 0;
}
.feature-item {
    opacity: 0.4;
    transition: opacity 0.4s;
}
.feature-item.active {
    opacity: 1;
}
.feature-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.feature-description { color: var(--text-color); }
.feature-item-image { 
    display: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* --- 매칭 플랜 --- */
#plans { background-color: var(--white-color); }
.plans-container {
    width: 100%;
    margin-top: 40px;
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 0;
}
.plan-card {
    background-color: var(--off-white-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    width: auto;
}
.plan-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.06); }
.plan-card.featured { border-color: var(--point-blue-color); background-color: var(--white-color); position: relative; }
.featured-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--point-gradient); color: var(--white-color); font-size: 0.8rem; padding: 5px 12px; border-radius: 20px; font-weight: 600; }
.plan-header { text-align: center; margin-bottom: 20px; }
.plan-title { font-size: 1.4rem; font-weight: 700; margin-top: 0;}
.plan-for-whom {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 25px;
}
.plan-for-whom h4 { font-size: 0.95rem; font-weight: 700; color: var(--primary-color); margin-bottom: 10px; text-align: left; }
.plan-for-whom ul { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; color: var(--text-color); text-align: left; }
.plan-for-whom ul li { margin-bottom: 5px; position: relative; padding-left: 15px; overflow-wrap: break-word; }
.plan-for-whom ul li::before { content: '▪'; color: var(--point-blue-color); position: absolute; left: 0; top: 0; font-size: 0.7em; line-height: 1.6; }
.plan-features { list-style: none; text-align: left; margin: 0 0 30px; padding: 0; font-size: 0.95rem;}
.plan-features li { margin-bottom: 8px; padding-left: 20px; position: relative; }
.plan-features li::before { content: '✔'; color: var(--point-blue-color); margin-right: 8px; font-size: 0.9em; position: absolute; left: 0; top: 1px; }
.plan-cta { background-color: var(--primary-color); border: 1px solid var(--primary-color); color: var(--white-color); width: 100%; text-align: center; margin-top: auto; padding: 10px 20px;}
.plan-card.featured .plan-cta { background: var(--point-gradient); border-color: transparent; color: var(--white-color); }
.plan-cta:hover { background-color: var(--point-blue-color); border-color: var(--point-blue-color); }

/* --- 상담 신청 폼 --- */
#consultation { background-color: var(--off-white-color); }
.consultation-box { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; background: var(--white-color); padding: 60px; border-radius: 20px; align-items: center; box-shadow: 0 20px 50px rgba(0,0,0,0.07); margin-top: 40px; }
.consultation-text .section-title, .consultation-text .section-description { text-align: left; margin-left: 0; margin-right: 0; max-width: none; }
.consultation-text .section-title { margin-bottom: 15px; padding-bottom: 20px; }
.consultation-text .section-title::after { left: 0; transform: translateX(0); }
.consultation-text .section-description { margin-bottom: 40px; }
.consultation-channels { display: flex; flex-direction: column; gap: 15px; }
.channel-link { text-decoration: none; color: inherit; }
.channel-item { display: flex; align-items: flex-start; gap: 20px; background: var(--off-white-color); padding: 20px; border-radius: 12px; border: 1px solid var(--border-color); transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s; }
.channel-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); background-color: var(--white-color); }
.channel-item .material-symbols-outlined { font-size: 2.2rem; color: var(--point-blue-color); margin-top: 3px;}
.channel-item h3 { font-size: 1.2rem; margin: 0 0 5px 0; font-weight: 700; color: var(--text-color); }
.channel-item p { font-size: 0.95rem; color: var(--text-light-color); margin: 0; line-height: 1.6; }
.consultation-form { background: var(--white-color); padding: 40px; border-radius: 12px; border: 1px solid var(--border-color); }
.consultation-form h3 { text-align: center; font-size: 1.5rem; margin-bottom: 30px; font-weight: 700; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.form-group input, .form-group select { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1rem; font-family: inherit; }
.privacy-agree { display: flex; align-items: center; gap: 8px; margin-bottom: 25px; }
.privacy-agree label { margin: 0; font-size: 0.9rem; }
.form-submit-btn { width: 100%; padding: 15px; font-size: 1.1rem; background: var(--point-gradient); color: var(--white-color); border: none; cursor: pointer; }
.form-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3); }
.form-submit-btn:disabled { background: var(--text-light-color); cursor: not-allowed; }

/* --- 썸온이 걸어온 길 (자동 슬라이드) --- */
#history.section-padding {
    padding-top: 20px;
    padding-bottom: 40px;
}
.history-timeline-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
}
.history-timeline-track {
    display: flex;
    gap: 30px;
    width: fit-content;
    padding: 10px 0;
    animation: historySlide 40s linear infinite;
}
@keyframes historySlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.history-item {
    position: relative;
    flex-shrink: 0;
    width: 300px;
    aspect-ratio: 2 / 3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white-color);
}
.history-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.history-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: transform 0.3s ease;
}
.history-item:hover img {
    transform: scale(1.05);
}
.history-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 30%, transparent);
    color: white;
    opacity: 1;
    transition: background 0.3s ease;
}
.history-item-overlay h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 5px 0;
}
.history-item-overlay span {
    font-size: 0.95rem;
    opacity: 0.9;
    display: block;
}

/* --- 성혼 스토리 --- */
#stories { background-color: var(--off-white-color); }
.stories-slider-wrapper {
    margin-top: 40px;
    width: 100%;
    overflow: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.stories-slider-wrapper::-webkit-scrollbar {
    display: none;
}
.stories-slider-track {
    display: flex;
    width: fit-content;
    animation: stories-slide 60s linear infinite;
}
@keyframes stories-slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.stories-slider-wrapper:hover .stories-slider-track {
    animation-play-state: paused;
}
.story-card { 
    flex-shrink: 0; 
    width: 350px; 
    margin: 10px 15px 0 15px;
    background-color: var(--white-color); 
    border-radius: 12px; 
    padding: 30px; 
    display: flex; 
    flex-direction: column; 
    border: 1px solid var(--border-color); 
    transition: transform 0.3s, box-shadow 0.3s; 
}
.story-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.06); }
.story-image-wrapper { 
    width: 100%; 
    aspect-ratio: 16 / 9;
    border-radius: 12px; 
    overflow: hidden; 
    margin: 0 auto 25px auto; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    background-color: var(--off-white-color); 
}
.story-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.story-quote { font-size: 1rem; font-weight: 500; line-height: 1.7; margin-bottom: 25px; font-style: normal; flex-grow: 1; color: var(--text-color); }
.story-author { display: flex; align-items: center; gap: 15px; margin-top: auto; }
.author-info strong { display: block; font-weight: 700; font-size: 1rem; }
.author-info span { color: var(--text-light-color); font-size: 0.85rem; }

/* --- FAQ 섹션 --- */
#faq { background-color: var(--white-color); }
.faq-container { max-width: 800px; margin: 0 auto; margin-top: 40px;}
.faq-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; padding-top: 5px; }
.faq-tab-button { padding: 10px 25px; font-size: 1rem; font-weight: 600; border: 1px solid var(--border-color); background-color: var(--off-white-color); color: var(--text-light-color); border-radius: 30px; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; }
.faq-tab-button:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.05); color: var(--primary-color); }
.faq-tab-button.active { background: var(--point-gradient); color: var(--white-color); border-color: transparent; box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3); transform: translateY(-2px); }
.faq-tab-content { display: none; }
.faq-tab-content.active { display: block; }
.faq-accordion { display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: var(--white-color); border: 1px solid var(--border-color); border-radius: 12px; transition: box-shadow 0.3s ease; }
.faq-item summary { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 20px;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.3s ease;
    border-radius: 11px; 
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background-color: var(--off-white-color); }
.faq-item[open] > summary { background-color: var(--off-white-color); font-weight: 700; color: var(--point-blue-color); }
.faq-item p { padding: 0 20px 20px 20px; line-height: 1.8; color: var(--text-light-color); margin: 0; border-top: 1px solid var(--border-color); animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* --- 최종 CTA 섹션 --- */
#final-cta {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 80px 20px;
}
#final-cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}
#final-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.8;
}
.final-cta-btn {
    background-color: #FEE500;
    color: #191919;
    border: none;
    font-size: 1.1rem;
    padding: 14px 32px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.final-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}
/* --- 커스텀 드롭다운 및 FAQ 토글 --- */
.select-wrapper {
    position: relative;
    display: inline-block; 
    vertical-align: baseline; 
}
.custom-select-trigger {
    position: relative;
    display: inline-block;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color); 
    border-radius: 0;
    padding: 5px 28px 1px 4px;
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    color: var(--text-light-color);
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
    user-select: none;
}
.custom-select-trigger.selected {
    color: var(--point-blue-color);
}
.custom-select-trigger.is-next {
    border-radius: 6px;
    animation: glowing-border 1.5s infinite;
}
@keyframes glowing-border {
    0% { box-shadow: 0 0 -5px rgba(0, 122, 255, 0.3); }
    40% { box-shadow: 0 0 12px 3px rgba(0, 122, 255, 0.6); }
    60% { box-shadow: 0 0 12px 3px rgba(0, 122, 255, 0.6); }
    100% { box-shadow: 0 0 -5px rgba(0, 122, 255, 0.3); }
}
.custom-select-trigger:hover,
.select-wrapper.open .custom-select-trigger {
    border-bottom-color: var(--point-blue-color);
}
.custom-select-trigger::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-70%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--text-light-color);
    border-bottom: 2px solid var(--text-light-color);
    transition: transform 0.3s, border-color 0.3s;
}
.select-wrapper.open .custom-select-trigger::after {
    transform: translateY(-30%) rotate(225deg);
    border-color: var(--point-blue-color);
}
.custom-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    z-index: 10;
    display: block;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    min-width: 150px;
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.select-wrapper.open .custom-options {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.custom-options li {
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}
.custom-options li:hover {
    background-color: var(--point-blue-color);
    color: var(--white-color);
}
.sentence-builder select {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    height: 0;
    width: 0;
}
.faq-toggle {
    width: 44px;
    height: 24px;
    position: relative;
}
.toggle-track {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    border-radius: 50px;
    transition: background-color 0.3s;
}
.toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.3s ease-in-out;
}
.faq-item:hover .faq-toggle .toggle-track,
.faq-item[open] .faq-toggle .toggle-track {
    background: var(--point-gradient);
}
.faq-item:hover .faq-toggle .toggle-thumb,
.faq-item[open] .faq-toggle .toggle-thumb {
    transform: translateX(20px);
}

/* --- 반응형 --- */
@media (min-width: 993px) {
    .sentence-builder .line-break {
        display: block;
        content: "";
        height: 0;
    }
}
@media (max-width: 992px) {
    .header-nav { display: none; }
    .consultation-box { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
    .regional-grid, .office-grid { grid-template-columns: 1fr; }
    
    .feature-sticky-container { 
        position: static; 
        height: auto; 
        grid-template-columns: 1fr; 
    }
    .feature-sticky-graphic { display: none; }
    .feature-sticky-text { 
        gap: 0;
        padding: 0;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        overflow: hidden;
    }
    .feature-item {
        opacity: 1 !important; 
        transform: none !important; 
        background-color: var(--white-color); 
        padding: 20px;
        border-radius: 0;
        margin-bottom: 0;
    }
    .feature-item:not(:last-child) {
        border-bottom: 1px solid var(--border-color);
    }
    .feature-item-image { 
        display: block; 
    }
    .history-timeline-track {
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: 40px;
        padding-bottom: 60px;
    }
    .section-title, .consultation-text .section-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
        padding-bottom: 15px;
    }
    .section-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .regional-grid, .office-grid, .feature-sticky-container, .plans-container, .consultation-box, .history-timeline-wrapper, .stories-slider-wrapper, .faq-container {
        margin-top: 40px;
    }

    .hero-content h1 { font-size: 2.5rem; }
    #hero { height: 100vw; min-height: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; }
    .consultation-box { padding: 30px 15px; }
    .consultation-form { padding: 30px 15px; }
    
    .story-card { width: 85vw; margin: 10px 10px 0 10px; }
    .faq-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 15px; -ms-overflow-style: none; scrollbar-width: none; }
    .faq-tabs::-webkit-scrollbar { display: none; }
    
    #ideal-form {
        background-color: var(--white-color);
        padding: 30px 25px;
        border-radius: 16px;
        border: 1px solid var(--border-color);
        box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    }
    .sentence-builder {
        font-size: 1.35rem;
        line-height: 2.2;
    }
    .history-timeline-track {
        gap: 20px;
    }
    .history-item {
        width: 250px;
    }
    .history-item-overlay {
        padding: 30px 15px 15px;
    }
    .history-item-overlay h4 {
        font-size: 1.1rem;
    }
    .history-item-overlay span {
        font-size: 0.85rem;
    }

    /* 매칭 플랜 모바일: 세로 나열 레이아웃 */
    .plans-container {
        overflow-x: visible;
        scroll-snap-type: none;
    }
    .plans-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0;
    }
    .plan-card {
        width: 100%;
        margin: 0;
    }
}
@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
    .sentence-builder { text-align: left; }

/* --- 플로팅 상담 신청 버튼 (PC 숨김 및 최종 수정) --- */

/* 기본(PC) 상태에서는 버튼을 숨깁니다. */
.floating-consult-btn {
    display: none;
}

/* 모바일 화면(768px 이하)에서만 버튼을 다시 보이게 합니다. */
@media (max-width: 768px) {
    .floating-consult-btn {
        display: flex; /* flex로 설정하여 버튼을 다시 표시 */
        position: fixed;
        left: 15px;
        bottom: 20%;
        z-index: 1001;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 70px;
        height: 80px;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: var(--primary-color);
        border-radius: 12px;
        text-decoration: none;
        font-size: 0.75rem;
        font-weight: 700;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    
    .floating-consult-btn.is-active {
        background: var(--point-gradient);
        color: var(--white-color);
        box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
        border-color: transparent;
    }
    
    .floating-consult-btn:hover {
        transform: scale(1.05) translateY(-5px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    }
    .floating-consult-btn.is-active:hover {
        box-shadow: 0 12px 35px rgba(0, 122, 255, 0.6);
    }

    .floating-consult-btn .btn-logo-motion {
        width: 90%;
        height: 35px; /* 모바일 크기에 맞게 조정 */
        margin-bottom: 3px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .floating-consult-btn .someon-logo-anim {
        width: 100%;
        height: 100%;
    }

    .someon-logo-anim .logo-track {
        fill: #d1d1d6;
    }
    .someon-logo-anim .logo-active-track {
        opacity: 0;
        transition: opacity 0.4s 0.2s ease-in-out;
    }
    .floating-consult-btn.is-active .someon-logo-anim .logo-active-track {
        opacity: 1;
    }

    .someon-logo-anim .logo-thumb {
        fill: #fff;
        stroke: rgba(0, 0, 0, 0.12);
        stroke-width: 1;
        transform: translateX(0px);
        transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    }

    .floating-consult-btn.is-active .someon-logo-anim .logo-thumb {
        transform: translateX(40px);
    }
/* --- 플로팅 상담 신청 버튼 (모바일 전용) --- */

/* 기본(PC) 상태에서는 버튼을 완전히 숨깁니다. */
.floating-consult-btn {
    display: none;
}

/* 모바일 화면(768px 이하)에서만 버튼을 다시 보이게 합니다. */
@media (max-width: 768px) {
    .floating-consult-btn {
        display: flex; /* flex로 설정하여 버튼을 다시 표시 */
        position: fixed;
        left: 15px;
        bottom: 20%;
        z-index: 1001;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        width: 65px;
        height: 65px;
        background: var(--point-gradient);
        color: var(--white-color);
        border-radius: 50%; /* 완전한 원형 버튼 */
        text-decoration: none;
        font-size: 0.75rem;
        font-weight: 700;
        box-shadow: 0 8px 20px rgba(0, 122, 255, 0.4);
        transition: transform 0.3s ease;
    }

    .floating-consult-btn:hover {
        transform: scale(1.05); /* 호버 시 약간 커지는 효과 */
    }

    .floating-consult-btn .material-symbols-outlined {
        font-size: 28px; /* 아이콘 크기 */
    }
/* 2025-09-18 최종 디자인 수정 */

/* 1. '회원 직업' 서브타이틀 폰트 크기 확대 */
#social-proof .section-subtitle {
    font-size: 1.2rem; /* 기존 1rem에서 20% 확대 */
}

/* 2. '프리미엄 라운지' 모바일 이미지 비율 4:3으로 변경 */
@media (max-width: 768px) {
    #offices .office-card {
        min-height: initial; /* 기존 높이 제한 제거 */
        aspect-ratio: 4 / 3; /* 4:3 비율 강제 */
    }
}

/* 3. '썸온은...' 섹션 PC 디자인 개선 */
/* (모바일은 기존 레이아웃 유지) */
@media (min-width: 993px) {
    #features .feature-item {
        background-color: var(--white-color);
        padding: 25px;
        border-radius: 12px;
        border: 1px solid transparent; /* 기본 보더는 투명 */
        transition: all 0.4s ease; /* 부드러운 전환 효과 */
        opacity: 1; /* 기존의 흐림 효과 제거 */
    }

    #features .feature-item.active {
        border-color: var(--point-blue-color); /* 활성화 시 파란색 보더 */
        transform: scale(1.02); /* 살짝 확대되는 효과 */
        box-shadow: 0 10px 30px rgba(0, 122, 255, 0.1);
    }
}

/* 4. '상담 신청' 폼 모바일 여백 축소 */
@media (max-width: 768px) {
    #consultation .form-group input,
    #consultation .form-group select {
        padding-top: 10px;    /* 기존 12px에서 축소 */
        padding-bottom: 10px; /* 기존 12px에서 축소 */
    }
/* 이상형 찾기 결과 화면 스타일 */
.ideal-result-container {
    padding: 60px 20px;
    text-align: center;
    animation: fadeInResult 0.7s ease-in-out;
}

@keyframes fadeInResult {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-selection-summary {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin: 30px auto;
    max-width: 600px;
}
.user-selection-summary h4 { font-weight: 700; margin-bottom: 10px; }
.user-selection-summary p { font-size: 1.1rem; line-height: 1.8; color: var(--text-color); }
.user-selection-summary p strong { color: var(--point-blue-color); font-weight: 600; }

.kakao-login-btn {
    background-color: #FEE500;
    color: #191919;
    font-size: 1.1rem;
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.kakao-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}
}