/* ===================================
   Page Styles - 서브페이지 공통 스타일
=================================== */

/* Header White Style (서브페이지용) */
.header-white { 
    background: #fff !important;
}

.header-white .logo img {
    filter: none;
}

.header-white .nav-item > a {
    color: #333;
}

.header-white .nav-item > a:hover {
    color: #0066cc;
}

.header-white .nav-item > a.active {
    color: #0066cc;
}

.header-white .nav-item > a.nav-contact {
    background: #0066cc;
    color: #fff;
}

.header-white .mobile-menu-btn span {
    background: #333;
}

/* ===================================
   Sub Visual Section (서브 비주얼)
=================================== */
.sub-visual {
    height: 500px;
    background-color: #000;
    position: relative;
    margin-top: 90px;
    overflow: hidden;
}

.sub-visual-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
}

.sub-visual-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.sub-visual-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 40px;
}

/* Breadcrumb */
.bread-crumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.bread-crumb a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: color 0.3s;
}

.bread-crumb a:hover {
    color: #fff;
}

.bread-crumb a img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    vertical-align: middle;
}

.bread-arrow {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-right: 1px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
}

/* Sub Visual Title */
.sub-visual-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* ===================================
   Sub Section (서브페이지 본문 공통)
=================================== */
.sub-section {
    padding: 100px 0 120px;
    background: #fff;
}

.sub-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

/* ===================================
   Company Page Styles
=================================== */
.sub-company-wrap {
    display: flex;
    align-items: stretch;
    gap: 120px;
    overflow: hidden;
}

/* 이미지 영역 - 우측에서 좌측으로 열리는 애니메이션 */
.company-figure {
    flex: 0 0 550px;
    position: relative;
    overflow: hidden;
    margin: 0;
    min-height: 500px;
}

.company-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.company-figure::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 1;
    transform: translateX(-100%);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.company-figure.aos-animate::before {
    transform: translateX(100%);
}

/* 텍스트 영역 */
.sub-company-text {
    flex: 1;
}

.sub-company-text h3 {
    font-size: 57px;
    font-weight: 700;
    line-height: 140%;
    color: #222;
    margin: 0 0 50px 0;
}

.sub-company-text h3 i {
    color: #0066cc;
    font-style: normal;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.text-divider {
    width: 60px;
    height: 3px;
    background: #0066cc;
    margin: 0 0 30px 0;
}

.sub-company-text p {
    margin: 0;
}

.sub-company-text p i {
    display: block;
    font-style: normal;
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

.sub-company-text p i:last-child {
    margin-bottom: 0;
}

.sub-company-text p b {
    color: #333;
    font-weight: 600;
}

/* 언론기사 버튼 */
.inquiry-btn {
    margin-top: 40px;
}

.company-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    background: #0066cc;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.company-link:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.company-link img,
.company-link svg {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.company-link:hover img,
.company-link:hover svg {
    transform: translateX(5px);
}

/* ===================================
   Service Page Styles (서비스 페이지)
=================================== */

/* 서비스 정보 박스 */
.service-info-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 40px 50px;
    margin-bottom: 30px;
}

.service-info-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px 0;
}

.service-info-title img,
.service-info-title svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.service-info-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.service-info-content .text-primary {
    color: #0066cc;
    font-weight: 600;
}

/* 프로세스 배너 */
.service-process-banner {
    background: #0066cc;
    border-radius: 12px;
    padding: 30px 50px;
    margin: 50px 0;
    text-align: center;
}

.service-process-banner p {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

/* 프로세스 리스트 */
.service-process-list {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
}

.process-item {
    flex: 1;
    text-align: center;
}

.process-img {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 0 20px 0;
}

.process-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.process-item:hover .process-img img {
    transform: scale(1.05);
}

.process-item h5 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px 0;
}

.process-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* 컨설팅 섹션 */
.consulting-section {
    background: #fff;
    padding: 100px 0 120px;
}

.consulting-header {
    text-align: center;
    margin-bottom: 60px;
}

.consulting-label {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 15px;
}

.consulting-title {
    font-size: 42px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px 0;
}

.consulting-desc {
    font-size: 16px;
    color: #666;
    margin: 0 0 20px 0;
}

.consulting-highlight {
    display: inline-block;
    background: #0066cc;
    padding: 12px 30px;
    border-radius: 30px;
}

.consulting-highlight span {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

/* 컨설팅 카드 */
.consulting-cards {
    display: flex;
    gap: 30px;
}

.consulting-card {
    flex: 1;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    border-radius: 16px;
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.consulting-card::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.card-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 10px;
}

.consulting-card h4 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
}

.consulting-card p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    position: relative;
    z-index: 1;
}

.consulting-card p b {
    color: #fff;
    font-weight: 600;
}

/* ===================================
   Success Page Styles (성공사례 페이지)
=================================== */
.success-header {
    text-align: center;
    margin-bottom: 60px;
}

.success-title {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin: 0 0 15px 0;
}

.success-desc {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* 성공사례 리스트 */
.success-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.success-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.success-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.success-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
}

.success-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.success-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.success-card-body {
    padding: 25px;
}

.success-card-body h4 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px 0;
}

.success-info {
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-size: 14px;
    color: #888;
}

.info-row .value {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.info-row .value.highlight {
    color: #0066cc;
}

.success-comment {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-style: italic;
}

/* 상담 안내 CTA */
.success-cta {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
}

.success-cta p {
    font-size: 18px;
    color: #555;
    margin: 0 0 25px 0;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: #0066cc;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

/* ===================================
   Success Page - Image Only Style
=================================== */
.success-section {
    padding: 80px 0 100px;
    background: #f5f7fa;
}

/* 상단 정보 바 */
.success-top-bar {
    margin-bottom: 40px;
}

.total-count {
    font-size: 15px;
    color: #666;
    margin: 0;
}

.total-count strong {
    color: #0066cc;
    font-weight: 700;
}

/* 성공사례 이미지 전용 그리드 */
.success-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.success-image-item {
    position: relative;
    width: 100%;
    min-width: 250px;
    padding-top: 194%;  /* 680/350 = 1.94 비율 */
    overflow: hidden;
    border-radius: 12px;
    background: #f0f0f0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.success-image-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.success-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.success-image-item:hover img {
    transform: scale(1.03);
}

/* 페이지네이션 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.page-btn:hover:not(:disabled) {
    border-color: #0066cc;
    color: #0066cc;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-num {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
}

.page-num:hover {
    border-color: #0066cc;
    color: #0066cc;
}

.page-num.active {
    background: #0066cc;
    border-color: #0066cc;
    color: #fff;
}

/* ===================================
   Custom AOS Animation - Reveal Left
=================================== */
[data-aos="reveal-left"] {
    position: relative;
    overflow: hidden;
}

[data-aos="reveal-left"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 2;
    transform: translateX(0);
}

[data-aos="reveal-left"].aos-animate::before {
    animation: revealLeft 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes revealLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* ===================================
   Responsive Styles
=================================== */
@media (max-width: 1024px) {
    .sub-container {
        padding: 0 30px;
    }

    .sub-company-wrap {
        gap: 80px;
    }

    .company-figure {
        flex: 0 0 380px;
    }

    .sub-company-text h3 {
        font-size: 42px;
    }

    .company-figure {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .sub-visual {
        height: 350px;
        margin-top: 70px;
    }

    .sub-visual-title {
        font-size: 32px;
    }

    .sub-section {
        padding: 60px 0 80px;
    }

    .sub-container {
        padding: 0 20px;
    }

    .sub-company-wrap {
        flex-direction: column;
        gap: 40px;
    }

    .company-figure {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .sub-company-text {
        text-align: center;
    }

    .sub-company-text h3 {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .company-figure {
        min-height: auto;
        height: 350px;
    }

    .text-divider {
        margin: 0 auto 30px;
    }

    .sub-company-text p i {
        font-size: 15px;
    }

    .inquiry-btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .sub-visual {
        height: 300px;
    }

    .sub-visual-title {
        font-size: 26px;
    }

    .sub-company-text h3 {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .company-figure {
        height: 300px;
    }

    .sub-company-text p i {
        font-size: 14px;
    }

    .company-link {
        padding: 14px 24px;
        font-size: 14px;
    }
}

/* Service Page Responsive */
@media (max-width: 1024px) {
    .service-info-box {
        padding: 30px 35px;
    }

    .service-process-list {
        gap: 20px;
    }

    .process-img {
        height: 150px;
    }

    .consulting-title {
        font-size: 36px;
    }

    .consulting-cards {
        gap: 20px;
    }

    .consulting-card {
        padding: 30px 25px;
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .service-info-box {
        padding: 25px 20px;
    }

    .service-info-title {
        font-size: 18px;
    }

    .service-info-content p {
        font-size: 14px;
    }

    .service-process-banner {
        padding: 20px 25px;
    }

    .service-process-banner p {
        font-size: 16px;
    }

    .service-process-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 15px;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .service-process-list::-webkit-scrollbar {
        height: 4px;
    }

    .service-process-list::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 2px;
    }

    .service-process-list::-webkit-scrollbar-thumb {
        background: #0066cc;
        border-radius: 2px;
    }

    .process-item {
        flex: 0 0 200px;
        min-width: 200px;
        scroll-snap-align: start;
        position: relative;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        padding: 15px;
    }

    .process-item::before {
        content: counter(process-counter);
        counter-increment: process-counter;
        position: absolute;
        top: 10px;
        left: 10px;
        width: 28px;
        height: 28px;
        background: linear-gradient(135deg, #0066cc, #0052a3);
        color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 700;
        z-index: 2;
    }

    .service-process-list {
        counter-reset: process-counter;
    }

    .process-img {
        height: 120px;
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .process-item h5 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .process-item p {
        font-size: 12px;
        line-height: 1.5;
    }

    .consulting-section {
        padding: 60px 0 80px;
    }

    .consulting-title {
        font-size: 28px;
    }

    .consulting-cards {
        flex-direction: column;
    }

    .consulting-card {
        min-height: auto;
        padding: 30px 25px;
    }

    .card-number {
        font-size: 36px;
    }

    .consulting-card h4 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .service-process-list {
        gap: 12px;
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .process-item {
        flex: 0 0 170px;
        min-width: 170px;
        padding: 12px;
    }

    .process-item::before {
        width: 24px;
        height: 24px;
        font-size: 11px;
        top: 8px;
        left: 8px;
    }

    .process-img {
        height: 100px;
        margin-bottom: 10px;
    }

    .process-item h5 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .process-item p {
        font-size: 11px;
        line-height: 1.4;
    }

    .consulting-highlight {
        padding: 10px 20px;
    }

    .consulting-highlight span {
        font-size: 14px;
    }
}

/* Success Page Responsive */
@media (max-width: 1024px) {
    .success-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .success-title {
        font-size: 32px;
    }

    /* Success Image Grid - 1024px */
    .success-image-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .success-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .success-header {
        margin-bottom: 40px;
    }

    .success-title {
        font-size: 28px;
    }

    .success-card-header {
        padding: 15px 20px;
    }

    .success-card-body {
        padding: 20px;
    }

    .success-cta {
        padding: 35px 25px;
    }

    .success-cta p {
        font-size: 16px;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 15px;
    }

    /* Success Image Grid - 768px */
    .success-section {
        padding: 60px 0 80px;
    }

    .success-image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .success-image-item {
        border-radius: 8px;
        padding-top: 194%;
    }

    .pagination {
        gap: 5px;
    }

    .page-btn,
    .page-num {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .success-title {
        font-size: 24px;
    }

    .success-card-body h4 {
        font-size: 18px;
    }

    .info-row .label,
    .info-row .value {
        font-size: 13px;
    }

    /* Success Image Grid - 480px */
    .success-image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .success-image-item {
        padding-top: 194%;
        border-radius: 6px;
    }
}

/* ===================================
   Contact Page - 상담신청 페이지
=================================== */
.contact-section {
    padding: 80px 0 120px;
    background: #fff;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 20px;
}

.contact-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 15px;
}

.contact-highlight {
    display: inline-block;
    background: #0066cc;
    padding: 12px 24px;
    border-radius: 4px;
}

.contact-highlight span {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

/* 상담 신청 폼 */
.contact-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    width: 100%;
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-label .required {
    color: #e74c3c;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: #fafbfc;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #0066cc;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

/* 체크박스 그룹 */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0066cc;
    cursor: pointer;
}

.checkbox-text {
    font-size: 15px;
    color: #555;
}

/* 개인정보 동의 */
.privacy-group {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: #f5f7fa;
    border-radius: 8px;
    margin-bottom: 30px;
}

.privacy-checkbox {
    flex: 1;
}

.privacy-btn {
    padding: 6px 14px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.privacy-btn:hover {
    background: #0052a3;
}

/* 제출 버튼 */
.submit-btn {
    display: block;
    width: 100%;
    padding: 18px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

/* 개인정보 모달 */
.privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.privacy-modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.privacy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}

.privacy-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.modal-close {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #333;
}

.privacy-modal-body {
    padding: 24px;
    max-height: 400px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

.privacy-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #eee;
    text-align: center;
}

.modal-confirm-btn {
    padding: 12px 40px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-confirm-btn:hover {
    background: #0052a3;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0 80px;
    }

    .contact-title {
        font-size: 26px;
    }

    .contact-subtitle {
        font-size: 15px;
    }

    .contact-highlight {
        padding: 10px 16px;
    }

    .contact-highlight span {
        font-size: 14px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-input,
    .form-textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .checkbox-text {
        font-size: 14px;
    }

    .privacy-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .submit-btn {
        padding: 16px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 22px;
    }

    .contact-highlight span {
        font-size: 13px;
    }
}

/* ===================================
   법무사 소개 페이지 - 전문분야 섹션
=================================== */
.expertise-section {
    background: #f8fafc;
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: #666;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.expertise-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 102, 204, 0.15);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f4fd 0%, #d4e8f8 100%);
    border-radius: 50%;
    color: #0066cc;
}

.expertise-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.expertise-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* 상담 안내 섹션 */
.consultation-info-section {
    padding: 60px 0 80px;
}

.consultation-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    padding: 50px 60px;
    border-radius: 20px;
    color: #fff;
}

.consultation-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.consultation-text p {
    font-size: 16px;
    opacity: 0.9;
}

.consultation-contact {
    display: flex;
    gap: 15px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-btn.phone {
    background: #fff;
    color: #0066cc;
}

.contact-btn.phone:hover {
    background: #f0f7ff;
    transform: translateY(-3px);
}

.contact-btn.kakao {
    background: #fee500;
    color: #3c1e1e;
}

.contact-btn.kakao:hover {
    background: #fdd835;
    transform: translateY(-3px);
}

/* 법무사 소개 페이지 반응형 */
@media (max-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .consultation-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .expertise-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .expertise-card {
        padding: 30px 20px;
    }

    .expertise-icon {
        width: 70px;
        height: 70px;
    }

    .expertise-card h4 {
        font-size: 18px;
    }

    .consultation-text h3 {
        font-size: 22px;
    }

    .consultation-contact {
        flex-direction: column;
        width: 100%;
    }

    .contact-btn {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 22px;
    }

    .consultation-text h3 {
        font-size: 20px;
    }

    .contact-btn {
        padding: 14px 20px;
        font-size: 16px;
    }
}

/* ===================================
   Alert Messages - 알림 메시지
=================================== */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 15px;
    font-weight: 500;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.alert-success svg {
    color: #43a047;
    flex-shrink: 0;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.alert-error svg {
    color: #e53935;
    flex-shrink: 0;
}

/* ===================================
   Contact Info Box - 연락처 안내 박스
=================================== */
.contact-info-box {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    padding: 40px;
    background: #f8fafc;
    border-radius: 16px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0066cc;
    color: #fff;
    border-radius: 50%;
}

.contact-info-icon.kakao {
    background: #fee500;
    color: #3c1e1e;
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-info-label {
    font-size: 14px;
    color: #888;
}

.contact-info-value {
    font-size: 20px;
    font-weight: 700;
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-value:hover {
    color: #004999;
}

@media (max-width: 768px) {
    .contact-info-box {
        flex-direction: column;
        gap: 25px;
        padding: 30px 20px;
    }

    .contact-info-icon {
        width: 48px;
        height: 48px;
    }

    .contact-info-value {
        font-size: 18px;
    }
}

/* ===================================
   Enhanced Mobile Responsive - Page Styles
=================================== */

/* Sub Visual Mobile Enhancements */
@media (max-width: 768px) {
    .sub-visual {
        margin-top: 60px;
    }

    .bread-crumb {
        gap: 8px;
        margin-bottom: 15px;
    }

    .bread-crumb a {
        font-size: 13px;
    }

    .bread-crumb a img {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .sub-visual {
        height: 260px;
        margin-top: 55px;
    }

    .sub-visual-content {
        padding-top: 30px;
    }

    .sub-visual-title {
        font-size: 22px;
    }

    .bread-crumb a {
        font-size: 12px;
    }
}

/* Service Process Mobile Improvements */
@media (max-width: 768px) {
    .service-info-box {
        border-radius: 8px;
    }

    .service-info-title {
        flex-wrap: wrap;
    }

    .service-process-banner {
        border-radius: 8px;
        margin: 30px 0;
    }

    .process-img {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .service-info-box {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .service-info-title {
        font-size: 16px;
        gap: 8px;
    }

    .service-info-title img,
    .service-info-title svg {
        width: 20px;
        height: 20px;
    }

    .service-info-content p {
        font-size: 13px;
        line-height: 1.7;
    }

    .service-process-banner {
        padding: 18px 15px;
    }

    .service-process-banner p {
        font-size: 14px;
        line-height: 1.5;
    }

    .process-img {
        height: 160px;
    }

    .process-item h5 {
        font-size: 15px;
    }

    .process-item p {
        font-size: 12px;
    }
}

/* Consulting Cards Mobile */
@media (max-width: 480px) {
    .consulting-section {
        padding: 50px 0 70px;
    }

    .consulting-header {
        margin-bottom: 40px;
    }

    .consulting-label {
        font-size: 14px;
    }

    .consulting-title {
        font-size: 22px;
    }

    .consulting-desc {
        font-size: 14px;
    }

    .consulting-card {
        padding: 25px 20px;
    }

    .card-number {
        font-size: 32px;
    }

    .consulting-card h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .consulting-card p {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* Contact Form Mobile Improvements */
@media (max-width: 480px) {
    .contact-section {
        padding: 50px 0 70px;
    }

    .contact-header {
        margin-bottom: 35px;
    }

    .contact-title {
        font-size: 20px;
        line-height: 1.5;
    }

    .contact-subtitle {
        font-size: 14px;
    }

    .form-label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .form-input,
    .form-textarea {
        padding: 12px;
        font-size: 14px;
        border-radius: 6px;
    }

    .privacy-group {
        padding: 14px 15px;
        border-radius: 6px;
        margin-bottom: 20px;
    }

    .checkbox-item input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }

    .checkbox-text {
        font-size: 13px;
    }

    .privacy-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .submit-btn {
        padding: 14px;
        font-size: 15px;
        border-radius: 6px;
    }
}

/* Privacy Modal Mobile */
@media (max-width: 480px) {
    .privacy-modal-content {
        width: 95%;
        max-height: 85vh;
        border-radius: 8px;
    }

    .privacy-modal-header {
        padding: 16px 18px;
    }

    .privacy-modal-header h3 {
        font-size: 16px;
    }

    .privacy-modal-body {
        padding: 18px;
        font-size: 13px;
    }

    .privacy-modal-footer {
        padding: 14px 18px;
    }

    .modal-confirm-btn {
        padding: 10px 30px;
        font-size: 14px;
    }
}

/* Success Page Mobile */
@media (max-width: 768px) {
    .success-section {
        padding: 60px 0 70px;
    }

    .success-top-bar {
        margin-bottom: 25px;
        padding: 0 5px;
    }

    .total-count {
        font-size: 14px;
    }

    .success-image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 40px;
    }

    .success-image-item {
        min-width: unset;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    }

    .success-image-item:hover {
        transform: none;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    }

    .success-image-item:hover img {
        transform: none;
    }

    .pagination {
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-numbers {
        gap: 3px;
    }

    .page-btn,
    .page-num {
        width: 36px;
        height: 36px;
        font-size: 13px;
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    .success-section {
        padding: 50px 0 60px;
    }

    .success-top-bar {
        margin-bottom: 20px;
    }

    .total-count {
        font-size: 13px;
    }

    .success-image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 35px;
    }

    .success-image-item {
        border-radius: 6px;
        padding-top: 180%; /* 모바일에서 조금 더 짧게 */
    }

    .page-btn,
    .page-num {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .page-btn svg {
        width: 14px;
        height: 14px;
    }

    /* 페이지 번호가 많을 때 처리 */
    .page-numbers {
        max-width: 180px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* 아주 작은 화면 */
@media (max-width: 360px) {
    .success-image-grid {
        gap: 6px;
    }

    .success-image-item {
        border-radius: 4px;
        padding-top: 170%;
    }

    .page-btn,
    .page-num {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
}

/* Company Page Mobile */
@media (max-width: 480px) {
    .sub-section {
        padding: 50px 0 70px;
    }

    .sub-container {
        padding: 0 15px;
    }

    .sub-company-wrap {
        gap: 30px;
    }

    .company-figure {
        height: 260px;
    }

    .sub-company-text h3 {
        font-size: 22px;
        line-height: 1.5;
    }

    .text-divider {
        width: 50px;
        height: 2px;
        margin-bottom: 20px;
    }

    .sub-company-text p i {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .inquiry-btn {
        margin-top: 30px;
    }

    .company-link {
        padding: 12px 20px;
        font-size: 13px;
    }
}

/* Touch Target Improvements */
@media (max-width: 768px) {
    .contact-btn,
    .cta-button,
    .submit-btn,
    .company-link {
        min-height: 48px;
    }

    /* Ensure form elements are easy to tap */
    .form-input,
    .form-textarea,
    select.form-input {
        min-height: 48px;
    }
}
