/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0066CC;
    --dark-blue: #004499;
    --light-blue: #3399FF;
    --grey-bg: #F5F5F5;
    --grey-text: #666666;
    --dark-grey: #333333;
    --white: #FFFFFF;
    --border-grey: #E0E0E0;
}

body {
    font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
    color: var(--dark-grey);
    background-color: var(--white);
    line-height: 1.6;
}

/* Header */
.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-grey);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    padding: 0 2rem;
    position: relative;
}

@media (max-width: 968px) {
    .header-container {
        gap: 0;
        padding: 0 0.5rem;
    }
}

/* Header Search */
.header-search {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.header-search .search-container {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
    min-width: 300px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-search .search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.9rem;
    color: var(--dark-grey);
    background: transparent;
}

.header-search .search-input::placeholder {
    color: var(--grey-text);
}

.header-search .search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.header-search .search-btn:hover {
    color: var(--dark-blue);
}

/* Mobile Search Toggle Button */
.mobile-search-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--dark-grey);
    margin-left: auto;
    margin-right: 0.5rem;
    transition: color 0.3s;
    position: relative;
    z-index: 1002;
}

.mobile-search-toggle:hover {
    color: var(--primary-blue);
}

.mobile-search-toggle svg {
    width: 24px;
    height: 24px;
}

.mobile-menu-toggle {
    position: relative;
    right: 0;
    top: 0;
    transform: none;
    z-index: 1002;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    flex-shrink: 0;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    text-decoration: none;
    color: var(--dark-grey);
    font-weight: bold;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
    background-color: var(--grey-bg);
}

.nav-link.active {
    color: var(--primary-blue);
    font-weight: bold;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background-color: var(--primary-blue);
}

/* More Menu Toggle Button - 기본적으로 숨김 (PC 버전) */
.more-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-grey);
    color: var(--dark-grey);
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: bold;
    white-space: nowrap;
    transition: all 0.3s;
}

.more-menu-toggle:hover {
    background-color: var(--grey-bg);
    color: var(--primary-blue);
}

.more-menu-toggle.active {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-grey);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: var(--white);
    border-top: 1px solid var(--border-grey);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.mobile-nav.active {
    display: flex;
    max-height: 500px;
    padding: 1rem 0;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 2rem;
    text-decoration: none;
    color: var(--dark-grey);
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 1px solid var(--border-grey);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background-color: var(--grey-bg);
    color: var(--primary-blue);
}

.header-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--dark-grey);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.icon-btn:hover {
    color: var(--primary-blue);
}

/* Main Content */
.main-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Main Banner */
/* Main Image Sections */
.main-image-section {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 0;
    position: relative;
    padding: 0 2rem;
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Search Overlay on Main Image */
.search-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 2rem 3rem 2rem;
    pointer-events: none;
}

.search-overlay > * {
    pointer-events: auto;
}

/* Mobile Search Section */
.mobile-search-section {
    display: none;
    background: var(--white);
    padding: 0;
    border-bottom: 1px solid var(--border-grey);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.mobile-search-section.active {
    display: block;
    max-height: 300px;
    padding: 1rem;
}

/* Blog Main Section */
.blog-main-section {
    width: 100%;
    margin-bottom: 0;
}

.blog-main-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Main Bottom Section */
.main-bottom-section {
    width: 100%;
    margin-bottom: 0;
}

.main-bottom-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
}

.hero-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-image {
    flex-shrink: 0;
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.hero-image img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    display: block;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-blue {
    color: var(--primary-blue);
}

.text-large-blue {
    color: var(--primary-blue);
    font-size: 4rem;
    font-weight: bold;
}

.text-grey {
    color: var(--grey-text);
}

.view-details {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 1rem;
}

.view-details:hover {
    text-decoration: underline;
}

/* Premium Form */
.premium-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
}

.quote-form-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.form-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-grey);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-grey);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-grey);
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.name-gender-row {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.name-gender-row input {
    flex: 1;
}

.gender-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.gender-btn {
    padding: 0.75rem 1rem;
    min-width: 50px;
    border: 1px solid var(--border-grey);
    background: var(--white);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.gender-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.form-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-light-blue {
    background: var(--light-blue);
    color: var(--white);
}

.btn-light-blue:hover {
    background: var(--primary-blue);
}

.btn-dark-blue {
    background: var(--dark-blue);
    color: var(--white);
}

.btn-dark-blue:hover {
    background: var(--primary-blue);
}

.consult-info {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-grey);
}

.consult-info p {
    margin-bottom: 0.5rem;
    color: var(--grey-text);
    font-size: 0.9rem;
}

.phone-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.phone-icon {
    font-size: 1.2rem;
}

.phone-number {
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Company Introduction Section */
.company-section {
    margin-bottom: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
}

.company-banner {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.company-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.company-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-content {
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 1000px;
}

.company-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
    line-height: 1.3;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.company-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    font-weight: 500;
}

.company-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Search Section */
.search-section {
    background: var(--grey-bg);
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 0;
}

/* Search Container - for overlay */
.search-overlay .search-container {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin-bottom: 1rem;
    max-width: 500px;
    backdrop-filter: blur(5px);
}

.search-section .search-container {
    display: flex;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    color: var(--dark-grey);
}

.search-input::placeholder {
    color: var(--grey-text);
}

.search-input:focus {
    outline: none;
}

.search-btn {
    background: var(--primary-blue);
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.search-btn:hover {
    background: var(--dark-blue);
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

.hashtags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.search-overlay .hashtags {
    justify-content: flex-start;
}

.search-section .hashtags {
    justify-content: center;
}

.hashtag {
    background: rgba(255, 255, 255, 0.9);
    color: var(--grey-text);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.5rem 0.875rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.search-section .hashtag {
    background: var(--white);
    border: 1px solid var(--border-grey);
}

.hashtag:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* Footer */
.footer {
    background: var(--white);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-dropdown {
    position: relative;
}

.group-select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid var(--border-grey);
    border-radius: 4px;
    background: var(--white);
    color: var(--dark-grey);
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
}

.footer-nav-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

.footer-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    align-items: center;
    flex: 1;
}

.footer-link {
    color: var(--dark-grey);
    text-decoration: none;
    font-size: 0.85rem;
    position: relative;
    padding-right: 0.75rem;
    white-space: nowrap;
}

.footer-link:first-child,
.footer-link:nth-child(2) {
    color: var(--primary-blue);
}

.footer-link:not(:last-child)::after {
    content: '·';
    position: absolute;
    right: 0.25rem;
    color: var(--grey-text);
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-contact {
    margin-bottom: 1rem;
}

.call-center {
    font-size: 1.1rem;
    color: var(--dark-grey);
    margin-bottom: 0.25rem;
}

.phone-number {
    color: var(--primary-blue);
    font-weight: bold;
}

.call-center-overseas {
    font-size: 0.9rem;
    color: var(--grey-text);
}

.footer-address {
    margin-bottom: 2rem;
}

.footer-address address {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--grey-text);
    line-height: 1.8;
}

.separator {
    margin: 0 0.5rem;
    color: var(--border-grey);
}

.footer-badges {
    display: flex;
    gap: 0.4rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
}

.badge {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.2rem 0.35rem;
    border-radius: 4px;
    min-width: auto;
    text-align: left;
    font-size: 0.5rem;
}

.badge-ccm {
    background: #E3F2FD;
}

.badge-wa {
    background: #E8F5E9;
}

.badge-brand {
    background: #FFF8E1;
}

.badge-ksqi {
    background: #E3F2FD;
}

.badge-icon {
    font-size: 0.25rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 0;
    line-height: 1;
}

.badge-ccm .badge-icon,
.badge-wa .badge-icon,
.badge-brand .badge-icon,
.badge-ksqi .badge-icon {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    margin-bottom: 0;
    font-size: 0.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.badge-text {
    font-size: 0.5rem;
    color: var(--dark-grey);
    line-height: 1.2;
    white-space: nowrap;
}

.badge-brand .badge-text {
    font-size: 0.5rem;
    font-weight: 500;
}

.footer-copyright {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-grey);
}

.footer-copyright p {
    font-size: 0.85rem;
    color: var(--grey-text);
    margin: 0;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-grey);
}

.footer-link {
    color: var(--grey-text);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--primary-blue);
}

.footer-contact {
    margin-bottom: 1.5rem;
}

.call-center {
    margin-bottom: 0.5rem;
}

.footer-address {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-grey);
}

.footer-address address {
    font-style: normal;
    margin-bottom: 0.5rem;
    color: var(--grey-text);
}

.footer-trustee {
    margin-bottom: 2rem;
    padding-top: 1.5rem;
}

.trustee-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-grey);
    margin-bottom: 0.5rem;
}

.trustee-note {
    font-size: 0.85rem;
    color: var(--grey-text);
    line-height: 1.6;
    margin: 0;
}

.separator {
    margin: 0 0.5rem;
    color: var(--border-grey);
}

.phone-number-change {
    color: var(--dark-grey);
    font-weight: 500;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.badge {
    padding: 0.5rem 1rem;
    background: var(--grey-bg);
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--grey-text);
}

.footer-copyright {
    text-align: center;
    color: var(--grey-text);
    font-size: 0.9rem;
}

/* Quote Popup - Always Following */
.quote-popup {
    display: none;
    position: fixed;
    bottom: 20px;
    /* 메인 이미지 섹션의 오른쪽 끝과 맞추기 */
    right: max(2rem, calc((100% - 1200px) / 2 + 2rem));
    width: 350px;
    z-index: 2000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border-radius: 12px;
    animation: slideUp 0.3s ease-out;
    overflow: hidden;
}

.quote-popup.active {
    display: block;
}

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

.quote-popup-content {
    background: var(--white);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.quote-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--grey-text);
    line-height: 1;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
}

.quote-close:hover {
    color: var(--dark-grey);
    background: rgba(255, 255, 255, 1);
}

/* Premium Form Section */
.premium-form-section {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
}

.premium-form-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--dark-grey);
    margin-bottom: 1.25rem;
    text-align: left;
}

.quote-popup-content .form-group {
    margin-bottom: 1.25rem;
}

.quote-popup-content .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-grey);
    font-size: 0.95rem;
}

.quote-popup-content .name-gender-row {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.quote-popup-content .name-gender-row input {
    flex: 1;
}

.quote-popup-content input[type="text"],
.quote-popup-content input[type="tel"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-grey);
    border-radius: 4px;
    font-size: 1rem;
    color: var(--dark-grey);
}

.quote-popup-content input[type="text"]:focus,
.quote-popup-content input[type="tel"]:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.quote-popup-content .gender-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.quote-popup-content .gender-btn {
    padding: 0.75rem 1rem;
    min-width: 50px;
    border: 1px solid var(--border-grey);
    background: var(--white);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    color: var(--dark-grey);
}

.quote-popup-content .gender-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.quote-popup-content .form-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.quote-popup-content .btn {
    padding: 0.75rem 0.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
}

.quote-popup-content .btn-light-blue {
    background: var(--light-blue);
    color: var(--white);
}

.quote-popup-content .btn-light-blue:hover {
    background: var(--primary-blue);
}

.quote-popup-content .btn-light-blue:disabled {
    background: var(--grey-bg);
    color: var(--grey-text);
    cursor: not-allowed;
    opacity: 0.6;
}

.quote-popup-content .btn-light-blue:disabled:hover {
    background: var(--grey-bg);
}

.quote-popup-content .btn-dark-blue {
    background: var(--dark-blue);
    color: var(--white);
}

.quote-popup-content .btn-dark-blue:hover {
    background: var(--primary-blue);
}

/* Contact Section */
.contact-section {
    background: var(--white);
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 0 0 12px 12px;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-text {
    flex: 0 1 auto;
    text-align: center;
}

.contact-question {
    font-size: 0.85rem;
    color: var(--grey-text);
    margin-bottom: 0.4rem;
}

.contact-phone {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark-grey);
    margin: 0;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 968px) {
    .header-container {
        padding: 0 0.5rem;
        flex-wrap: nowrap;
        overflow: visible;
        gap: 0.25rem;
        justify-content: flex-start;
    }
    
    .logo {
        padding: 0.3rem 0.5rem;
    }
    
    .logo-image {
        height: 32px;
        flex-shrink: 0;
    }
    
    /* 모바일에서 네비게이션 메뉴를 로고 옆에 표시 */
    .nav {
        display: flex;
        position: static;
        transform: none;
        left: auto;
        gap: 0.25rem;
        margin-left: 0.25rem;
        flex-wrap: nowrap;
        align-items: center;
        flex-shrink: 0;
    }
    
    /* 모바일에서 모든 네비게이션 링크 표시 */
    .nav-link {
        display: block;
        font-size: 0.7rem;
        padding: 0.25rem 0.4rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* 더보기 버튼 숨김 */
    .more-menu-toggle {
        display: none !important;
    }
    
    /* 모바일 검색 아이콘 표시 및 오른쪽 끝에 위치 */
    .mobile-search-toggle {
        display: flex !important;
        position: static;
        margin-left: auto;
        margin-right: 0;
        padding: 0.35rem;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-search-toggle svg {
        width: 18px;
        height: 18px;
    }
    
    /* 모바일에서 햄버거 메뉴 숨김 */
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .main-image-section {
        padding: 0 1rem;
    }
    
    .mobile-nav {
        display: none; /* 더보기 버튼이 없으므로 모바일 메뉴 숨김 */
    }
    
    /* Hide desktop search on mobile */
    .header-search {
        display: none;
    }
    
    /* Show mobile search toggle button - 이미 위에서 정의됨 */
    
    /* Hide search overlay on mobile */
    .search-overlay {
        display: none;
    }
    
    .mobile-search-section .search-container {
        display: flex;
        background: var(--white);
        border: 1px solid var(--border-grey);
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        margin-bottom: 0.75rem;
    }
    
    .mobile-search-section .search-input {
        flex: 1;
        padding: 0.875rem 1rem;
        border: none;
        font-size: 0.95rem;
        color: var(--dark-grey);
    }
    
    .mobile-search-section .search-input::placeholder {
        color: var(--grey-text);
    }
    
    .mobile-search-section .search-input:focus {
        outline: none;
    }
    
    .mobile-search-section .search-btn {
        background: var(--primary-blue);
        border: none;
        padding: 0.875rem 1.25rem;
        cursor: pointer;
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s;
        flex-shrink: 0;
    }
    
    .mobile-search-section .search-btn:hover {
        background: var(--dark-blue);
    }
    
    .mobile-search-section .search-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .mobile-search-section .hashtags {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .mobile-search-section .hashtag {
        background: var(--white);
        color: var(--grey-text);
        text-decoration: none;
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
        border-radius: 4px;
        border: 1px solid var(--border-grey);
        transition: all 0.3s;
    }
    
    .mobile-search-section .hashtag:hover {
        background: var(--primary-blue);
        color: var(--white);
        border-color: var(--primary-blue);
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .hero-left {
        flex-direction: column;
        text-align: center;
    }
    
    .company-section {
        padding: 1rem;
    }
    
    .company-banner {
        height: 400px;
    }
    
    .company-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
    
    .search-section {
        padding: 1rem;
        margin: 1rem;
    }

    .quote-popup {
        width: calc(100% - 20px);
        max-width: 100%;
        bottom: 10px;
        right: 1rem;
        left: 1rem;
        border-radius: 12px;
    }

    .quote-popup-content {
        max-height: 85vh;
    }

    .quote-popup-content .form-buttons {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .quote-popup-content .btn {
        padding: 0.875rem;
        font-size: 0.9rem;
    }

    .contact-section {
        flex-direction: row;
        text-align: left;
        padding: 1rem;
    }
    
    .contact-icon {
        font-size: 1.5rem;
    }
    
    .contact-phone {
        font-size: 1rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .footer-nav-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .footer-link {
        padding: 0.5rem 0;
    }
    
    .footer-link:not(:last-child)::after {
        display: none;
    }
    
    .footer-badges {
        justify-content: flex-start;
        width: 100%;
    }
    
    .footer-trustee {
        margin-bottom: 1.5rem;
        padding-top: 1rem;
    }
    
    .trustee-title {
        font-size: 0.85rem;
    }
    
    .trustee-note {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .main-image-section {
        margin-bottom: 0;
        padding: 0 1rem;
    }
    
    .search-overlay {
        padding: 1rem 0.75rem 1.5rem;
    }
    
    .search-input {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .search-btn {
        padding: 0.875rem 1rem;
    }
    
    .hashtag {
        font-size: 0.7rem;
        padding: 0.35rem 0.6rem;
    }
    
    .quote-popup {
        width: calc(100% - 16px);
        left: 8px;
        right: 8px;
        bottom: 8px;
    }
    
    .premium-form-section {
        padding: 1.25rem;
    }
    
    .premium-form-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .quote-popup-content .form-group {
        margin-bottom: 1rem;
    }
    
    .quote-popup-content input[type="text"],
    .quote-popup-content input[type="tel"] {
        padding: 0.625rem;
        font-size: 0.9rem;
    }
    
    .quote-popup-content .gender-btn {
        padding: 0.625rem 0.875rem;
        min-width: 45px;
        font-size: 0.85rem;
    }
    
    .contact-section {
        padding: 0.875rem;
    }
    
    .contact-icon {
        font-size: 1.25rem;
    }
    
    .contact-question {
        font-size: 0.8rem;
    }
    
    .contact-phone {
        font-size: 0.95rem;
    }
}

/* Mobile break and hide classes */
.mobile-break {
    display: none;
}

.mobile-hide {
    display: inline;
}

@media (max-width: 968px) {
    .mobile-break {
        display: block;
    }
    
    .mobile-hide {
        display: none;
    }
