:root {
    --primary-color: #2C3E50;
    /* Deep Charcoal for Professionalism */
    --primary-hover: #1A252F;
    --secondary-color: #34495E;
    --text-color: #2D3436;
    --text-light: #636E72;
    --bg-light: #F9FAFB;
    --bg-dark: #1E272E;
    --bg-gray: #ECF0F1;
    --white: #FFFFFF;
    --border-color: #DFE6E9;
    --max-width: 1200px;
    --accent-orange: #D35400;
    /* Refined Orange for Trust and Warmth */
    --accent-orange-light: #E67E22;

    /* Brand Theme Colors */
    --brand-navy-rgb: 44, 62, 80;
    --brand-navy: rgba(var(--brand-navy-rgb), 1);
    --brand-gold: #C0392B;
    /* Changed to a warmer deep red/gold mix for law firm */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2C3E50 0%, #000000 100%);
    --gradient-accent: linear-gradient(135deg, #D35400 0%, #E67E22 100%);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    /* Prevent horizontal scroll from reveal animations */
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.015em;
    color: var(--text-color);
    background-color: var(--white);
    /* Space for action bar moved to mobile media query */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    word-break: keep-all;
    line-height: 1.35;
    letter-spacing: -0.02em;
    /* Tighter for specialized look */
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    background: #ffffff;
    border-bottom: 1px solid #f1f1f1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}


.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-orange);
}


.menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}


/* Hero Section */
.hero {
    position: relative;
    padding: 0;
    text-align: center;
    background-color: #111;
    overflow: hidden;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.slide-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    will-change: transform;
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: kenBurns 15s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-slider .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-indicators {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 60px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--white);
    transition: none;
}

.hero-cta-wrapper {
    margin-top: 20px;
}

.hero-cta-btn {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, #FF9933 0%, #FFCC33 100%);
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.25);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.hero-cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 153, 51, 0.5);
    background: linear-gradient(135deg, #FFCC33 0%, #FF9933 100%);
}

.hero-cta-btn:active {
    transform: translateY(-2px) scale(0.98);
}

@media (max-width: 768px) {
    .hero-cta-wrapper {
        margin-top: 15px;
    }
    
    .hero-cta-btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
}

.indicator.active .progress-fill {
    width: 100%;
    transition: width 7s linear;
}

.indicator.active {
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
    /* Approx 36px ~ 48px */
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInRight 1.2s ease-out forwards;
    animation-delay: 0.5s;
    letter-spacing: -0.025em;
}

.hero-title .highlight {
    color: var(--accent-orange-light);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.accent-text {
    color: var(--accent-orange-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.accent-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: skewX(-25deg);
    animation: lightSweep 7s infinite;
}

@keyframes lightSweep {
    0% {
        left: -150%;
    }

    30% {
        left: 150%;
    }

    /* Slower sweep: approx 2s out of 7s cycle */
    100% {
        left: 150%;
    }
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 50px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInRight 1.2s ease-out forwards;
    animation-delay: 0.6s;
    line-height: 1.6;
    font-weight: 400;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Quick Contact Bar */
.quick-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(var(--brand-navy-rgb), 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 0;
    z-index: 2000;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-left {
    flex: 0 0 auto;
}

.contact-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mini-logo {
    height: 48px;
    width: auto;
    filter: grayscale(100%) invert(100%) brightness(200%);
    mix-blend-mode: screen;
    opacity: 0.9;
}

.brand-text .label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: -2px;
}

.brand-text .phone {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 900;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.contact-right {
    flex: 1;
    max-width: 700px;
}

.quick-form {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
}

.bar-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    cursor: pointer;
    user-select: none;
    margin-right: 5px;
    white-space: nowrap;
}

.bar-checkbox input {
    width: 14px;
    height: 14px;
    margin: 0;
    cursor: pointer;
    accent-color: #FF9933;
}

.quick-form input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 4px;
    background: var(--white);
    font-size: 0.95rem;
}

.quick-form button {
    flex: 0 0 auto;
    padding: 10px 20px;
    background-color: #333;
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.quick-form button:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.desktop-only {
    display: none;
}

.features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.strengths-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--white);
}

.strengths-section .section-title {
    font-size: 2rem;
    /* ~32px */
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--secondary-color);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

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

.feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.circle-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: var(--white);
}

.circle-filled-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.feature-item h3 {
    font-size: 1.15rem;
    /* ~18.4px (H3) */
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    letter-spacing: -0.01em;
}

.feature-desc {
    font-size: 1rem;
    color: var(--text-light);
    background: #f1f1f1;
    padding: 10px 15px;
    border-top: 2px solid #ddd;
}

/* Claims Adjustment Fields Section */
.fields-section {
    padding: 100px 0;
    text-align: center;
    background-color: #fafafa;
}

.fields-section .main-heading {
    font-size: 2rem;
    /* ~32px */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.fields-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 60px;
    line-height: 1.6;
    word-break: keep-all;
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.field-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.field-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: all 1.0s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 0;
    transform: scale(1.08);
}

.field-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.field-card:hover::before,
.field-card.touch-active::before {
    opacity: 1;
    transform: scale(1);
}

/* 업무분야 카드 배경 이미지 */
.field-card:nth-child(1)::before {
    background-image: linear-gradient(rgba(17, 34, 51, 0.75), rgba(17, 34, 51, 0.75)), url('assets/field_1.webp');
}

.field-card:nth-child(2)::before {
    background-image: linear-gradient(rgba(17, 34, 51, 0.75), rgba(17, 34, 51, 0.75)), url('assets/field_2.webp');
}

.field-card:nth-child(3)::before {
    background-image: linear-gradient(rgba(17, 34, 51, 0.75), rgba(17, 34, 51, 0.75)), url('assets/field_3.webp');
}

.field-card:nth-child(4)::before {
    background-image: linear-gradient(rgba(17, 34, 51, 0.75), rgba(17, 34, 51, 0.75)), url('assets/field_4.webp');
}

.field-card:nth-child(5)::before {
    background-image: linear-gradient(rgba(17, 34, 51, 0.75), rgba(17, 34, 51, 0.75)), url('assets/field_5.webp');
}

.field-card:nth-child(6)::before {
    background-image: linear-gradient(rgba(17, 34, 51, 0.75), rgba(17, 34, 51, 0.75)), url('assets/field_6.webp');
}

.field-card:nth-child(7)::before {
    background-image: linear-gradient(rgba(17, 34, 51, 0.75), rgba(17, 34, 51, 0.75)), url('assets/field_7.webp');
}

.field-card:nth-child(8)::before {
    background-image: linear-gradient(rgba(17, 34, 51, 0.75), rgba(17, 34, 51, 0.75)), url('assets/field_8.webp');
}

.field-card:nth-child(9)::before {
    background-image: linear-gradient(rgba(17, 34, 51, 0.75), rgba(17, 34, 51, 0.75)), url('assets/field_9.webp');
}

.field-info,
.field-icon-mini {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.field-info h3 {
    font-size: 1.15rem;
    /* ~18.4px (H3) */
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.field-info p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
    word-break: keep-all;
    transition: color 0.3s ease;
}

.field-card:hover .field-info h3,
.field-card.touch-active .field-info h3 {
    color: var(--white);
}

.field-card:hover .field-info p,
.field-card.touch-active .field-info p {
    color: rgba(255, 255, 255, 0.85);
}

.field-icon-mini {
    margin-top: auto;
    align-self: flex-end;
    font-size: 2rem;
    color: var(--accent-orange);
    opacity: 0.6;
    line-height: 1;
    transition: all 0.3s ease;
}

.field-card:hover .field-icon-mini,
.field-card.touch-active .field-icon-mini {
    color: var(--white);
    opacity: 1;
    transform: translateX(-5px);
}

/* Redesigned Profiles (Split Layout) */
.profiles {
    padding: 120px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.profiles::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 40%;
    height: 80%;
    background: linear-gradient(135deg, rgba(var(--brand-navy-rgb), 0.02) 0%, rgba(var(--brand-navy-rgb), 0.05) 100%);
    border-radius: 100px 0 0 100px;
    z-index: 0;
}

.profiles-content-wrap {
    max-width: 1100px;
    /* Slightly wider for better breathing room */
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 1;
}

.profiles .main-heading {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.35;
    color: #111;
    margin-bottom: 50px;
    letter-spacing: -0.04em;
}

.profile-split-container {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    /* Stretch for vertical divider */
    gap: 0;
    border-top: 1px solid #111;
    /* Top border of the box in redlines */
    border-bottom: 1px solid #111;
}

/* Left side */
.profile-main {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 70px 0;
    padding-right: 70px;
}

.profile-image-box {
    width: 280px;
    height: 360px;
    background: #f8f9fa;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.profile-image-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

.profile-image-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.profile-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.profile-image-box:hover img {
    transform: scale(1.08);
}

.profile-text-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 12px;
}

.profile-text-content .role-desc {
    font-size: 1.1rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 15px;
}

.profile-text-content .bio-text {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 45px;
    word-break: keep-all;
}

.catchphrase {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.2;
    color: #111;
    letter-spacing: -0.05em;
    position: relative;
    display: inline-block;
}

.catchphrase::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 5rem;
    color: rgba(var(--brand-navy-rgb), 0.05);
    font-family: serif;
    line-height: 1;
    z-index: -1;
}

.catchphrase span {
    color: #111;
}

/* Right side */
.profile-support {
    flex: 1;
    border-left: 1px solid #f0f0f0;
    padding: 70px 0;
    padding-left: 90px;
    display: flex;
    align-items: center;
}

.support-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
    width: 100%;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px 25px;
    background: transparent;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
}

.support-item:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transform: translateX(10px);
}

.support-item i {
    font-size: 2.6rem;
    color: var(--primary-color);
    width: 50px;
    text-align: center;
    transition: all 0.3s ease;
}

.support-item:hover i {
    color: var(--accent-orange);
    transform: scale(1.1);
}

.support-info h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.support-item:hover .support-info h4 {
    color: var(--primary-color);
}

.support-info p {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .profile-split-container {
        flex-direction: column;
    }

    .profile-main {
        padding-right: 0;
        border-right: none;
    }

    .profile-support {
        border-left: none;
        border-top: 1px solid #eee;
        padding-left: 0;
    }

    .support-item {
        justify-content: flex-start;
    }
}

/* Consultation Buttons */
.consultation .container {
    display: flex;
    gap: 0;
    padding: 0;
    max-width: 100%;
}

.consult-box {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.consult-box.gray {
    background: linear-gradient(135deg, #f1f2f6 0%, #dcdde1 100%);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.consult-box.primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.consult-box.primary .btn-more {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 122, 45, 0.3);
}

.consult-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.consult-text p {
    font-size: 1.15rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 25px;
    background: var(--white);
    color: #333;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    width: fit-content;
    z-index: 2;
}

.consult-icon {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 4rem;
    opacity: 0.2;
}

/* Quick Consultation Links Section */
.quick-links-section {
    display: flex;
    width: 100%;
}

.quick-link-item {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 10%;
    overflow: hidden;
    min-height: 220px;
}

.phone-link {
    background-color: #f8f9fa;
    color: var(--text-color);
}

.chat-link {
    background-color: #1a252f;
    color: var(--white);
}

.quick-link-content {
    position: relative;
    z-index: 2;
}

.quick-link-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: inherit;
}

.quick-link-content p {
    font-size: 1.05rem;
    opacity: 0.7;
    margin-bottom: 25px;
    word-break: keep-all;
}

.quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
}

.phone-link .quick-btn {
    border: 1px solid #e1e1e1;
    color: var(--text-color);
    background: var(--white);
}

.chat-link .quick-btn {
    background-color: #FF9933;
    color: var(--white);
}

.quick-btn:hover {
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.chat-link .quick-btn:hover {
    background-color: #ffcc33;
    opacity: 0.9;
}

.bg-icon {
    position: absolute;
    right: 50px;
    bottom: -15px;
    font-size: 9rem;
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
    transition: all 0.6s ease;
}

.quick-link-item:hover .bg-icon {
    transform: translateY(-15px) rotate(-5deg) scale(1.1);
    opacity: 0.08;
}

.chat-link .bg-icon {
    opacity: 0.08;
}

.chat-link:hover .bg-icon {
    opacity: 0.12;
}

/* Response for Mobile Quick Links */
@media (max-width: 991px) {
    .quick-links-section {
        flex-direction: column;
    }
    
    .quick-link-item {
        padding: 60px 40px;
        min-height: 200px;
    }
    
    .quick-link-content h3 {
        font-size: 1.5rem;
    }
    
    .bg-icon {
        font-size: 6rem;
        right: 30px;
    }
}

/* Cases Section */
.cases {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/cases_bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    word-break: keep-all;
}

.section-subtitle {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 50px;
    line-height: 1.6;
    word-break: keep-all;
}

.case-slider-wrapper {
    overflow: hidden;
    margin: 30px -20px 0;
    padding: 20px;
}

.case-grid {
    display: flex;
    gap: 30px;
    width: max-content;
    will-change: transform;
}

.case-grid.manual-jump,
.testimonial-track.manual-jump {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.case-card {
    background: var(--white);
    color: var(--text-color);
    border-radius: 20px;
    overflow: hidden;
    width: 450px;
    flex-shrink: 0;
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 25px 50px rgba(0, 0, 0, 0.2);
    transition: all 1.0s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.case-card:hover {
    transform: translateY(-15px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 40px 80px rgba(0, 0, 0, 0.35);
}

.case-header {
    background: #f1f3f5;
    padding: 12px 25px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-color);
    border-bottom: 1px solid #e9ecef;
}

.case-body {
    padding: 30px 25px;
}

.case-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 25px;
    color: #111;
    letter-spacing: -0.02em;
}

.case-report {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8f9fa;
    padding: 18px;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 20px;
}

.stamp {
    width: 60px;
    height: 60px;
    border: 3px solid #d32f2f;
    color: #d32f2f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    transform: rotate(-15deg);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.report-content p {
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 2px;
}

.report-content .amount {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-orange);
    line-height: 1.1;
}

.case-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    word-break: keep-all;
}

@media (max-width: 768px) {
    .case-card {
        width: 300px;
    }

    .case-body h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .case-report {
        padding: 12px;
        gap: 15px;
    }

    .stamp {
        width: 45px;
        height: 45px;
        font-size: 0.65rem;
    }

    .report-content .amount {
        font-size: 1.2rem;
    }
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    text-align: center;
    background: #f4f6f9;
    /* Subtle gray background so white cards stand out */
    overflow: hidden;
}

.testimonial-slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 30px;
    margin-top: 50px;
    padding: 0 40px;
}

.testimonial-slider {
    overflow: hidden;
    position: relative;
    flex: 1;
    padding: 40px 0;
    /* Space for shadows and hover movement */
}

.testimonial-track {
    display: flex;
    gap: 30px;
    width: max-content;
    will-change: transform;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

.testimonial-track.manual-jump {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}


.slider-btn {
    background: #ffffff;
    border: 1px solid #dee2e6;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    font-size: 1.4rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    flex-shrink: 0;
}

.slider-btn:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(230, 126, 34, 0.3);
}

.slider-btn:active {
    transform: translateY(-2px);
}

.testimonial-card {
    flex: 0 0 450px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: left;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.04),
        0 30px 60px rgba(0, 0, 0, 0.06);
    transition: all 1.0s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card:hover {
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 50px 100px rgba(0, 0, 0, 0.15);
    transform: translateY(-10px);
}

.testimonial-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    letter-spacing: -0.01em;
    line-height: 1.5;
}

.testimonial-card .quote {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
    flex-grow: 1;
    /* Pushes the author to the bottom if cards stretch */
}

.testimonial-card .author {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-top: auto;
}

.testimonial-card .stars {
    color: #FFB800;
    font-size: 1.05rem;
    margin-bottom: 15px;
    display: flex;
    gap: 4px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 25px;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-orange);
    width: 40px;
}

@media (max-width: 768px) {
    .slider-btn {
        display: none;
    }

    .testimonials {
        padding: 60px 0;
    }

    .testimonial-slider-wrapper {
        padding: 0 15px;
        margin-top: 30px;
        gap: 15px;
    }

    .testimonial-slider {
        padding: 15px 0;
        overflow-y: visible;
    }

    .case-grid,
    .testimonial-track {
        gap: 15px;
        cursor: grab;
    }

    .case-grid:active,
    .testimonial-track:active {
        cursor: grabbing;
    }

    .testimonial-card {
        flex: 0 0 calc(100vw - 60px);
        max-width: 320px;
        padding: 25px 20px;
        border-radius: 16px;
        border: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        transform: translateZ(0);
        /* Hardware acceleration bug fix */
        background: #ffffff;
    }

    .testimonial-card:hover {
        transform: translateZ(0);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }

    .testimonial-card h3 {
        font-size: 1.05rem;
        margin-bottom: 12px;
        padding-bottom: 12px;
        line-height: 1.4;
    }

    .testimonial-card .quote {
        font-size: 0.95rem;
        margin-bottom: 15px;
        line-height: 1.6;
    }

    .testimonial-card .author {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: clamp(1.6rem, 6vw, 2rem);
        margin-bottom: 25px;
        letter-spacing: -0.03em;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 35px;
        line-height: 1.6;
        word-break: keep-all;
    }

    .case-card {
        width: calc(100vw - 40px);
        max-width: 380px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
        line-height: 1.25;
        margin-bottom: 25px;
        letter-spacing: -0.04em;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 10px;
    }

    .mobile-break {
        display: block;
        margin-top: 5px;
    }

    .case-card h3 {
        font-size: 1.05rem;
        line-height: 1.45;
        letter-spacing: -0.01em;
    }

    .case-card .case-desc {
        font-size: 0.9rem;
        line-height: 1.6;
        color: #777;
    }

    .testimonial-card .stars {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .slider-dots {
        margin-top: 25px;
    }

    .location-info-full .footer-title {
        font-size: 2.4rem;
    }

    .branch-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

}

/* Footer / Location */
.footer {
    background-color: #f4f5f7;
    color: #333;
    padding: 60px 0 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.location-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: flex-start;
    text-align: left;
}

.location-info-full {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.footer-label {
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 16px;
    /* Caption: 13px ~ 14px */
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    text-transform: uppercase;
    display: block;
}

.footer-title {
    font-size: 2rem;
    font-weight: 800;
    /* Extra Bold */
    line-height: 1.3;
    margin-bottom: 25px;
    color: #212529;
    letter-spacing: -0.02em;
}

.footer-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    opacity: 0.8;
}

.office-preview {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.office-preview img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.office-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.office-name {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.office-dots {
    display: flex;
    gap: 8px;
}

.office-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.office-dots span.active {
    background: var(--white);
    width: 25px;
    border-radius: 4px;
}

.location-map-container {
    position: relative;
}



.footer {
    background-color: #fcfcfc;
    border-top: 1px solid #f1f1f1;
}

.footer-link-menu {
    background-color: #ffffff;
    border-bottom: 1px solid #f1f1f1;
    padding: 18px 0;
}

.footer-link-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
}

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

.footer-link-container a {
    text-decoration: none;
    color: #888;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0 25px;
    letter-spacing: -0.01em;
}

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

.footer-link-container a.highlight {
    color: #444;
    font-weight: 700;
}

.footer-link-container .v-divider {
    width: 1px;
    height: 14px;
    background-color: #eee;
}

/* Family Site Dropdown */
.family-site-dropdown {
    position: relative;
    width: 180px;
}

.family-site-dropdown select {
    width: 100%;
    padding: 8px 35px 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fcfcfc;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.family-site-dropdown select:hover {
    border-color: #bbb;
    background-color: #f5f5f5;
}

.family-site-dropdown i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 0.8rem;
    pointer-events: none;
}

@media (max-width: 768px) {
    .footer-link-container {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }

    .family-site-dropdown {
        width: 100%;
        max-width: 250px;
    }
}

/* Footer Bottom Info Section (Added) */
.footer-bottom-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 80px 20px;
    /* Added side padding for consistency if container isn't applied or for extra safety */
    flex-wrap: wrap;
    gap: 60px;
    /* Slightly increased gap for better breathing room */
}

.footer-company-details {
    flex: 1 1 500px;
    /* Grow, shrink, and basis for better responsiveness */
    min-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 50px;
    /* Increased for better visibility, slightly smaller than header for balance */
    width: auto;
}

.footer-logo .logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    text-shadow: none;
    /* Make sure the white text-shadow from the header logo isn't bleeding */
}

.info-group {
    color: #777;
    font-size: 1.0rem;
    line-height: 1.8;
}

.info-label {
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #111;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.info-lines p {
    margin-bottom: 5px;
    line-height: 1.6;
}

.divider {
    color: #ccc;
    margin: 0 8px;
    font-size: 0.8rem;
}

.copyright {
    margin-top: 25px;
    color: #bbb;
    font-size: 0.95rem;
}

.footer-contact-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 50px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    min-width: 380px;
    position: relative;
    overflow: hidden;
    border: 1px solid #f1f1f1;
}

.contact-label {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 2;
}

.contact-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

.contact-number i {
    color: var(--accent-orange);
    font-size: 2rem;
    vertical-align: middle;
    margin-right: 8px;
}

.contact-desc {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.bg-icon {
    position: absolute;
    right: 20px;
    bottom: -15px;
    font-size: 7rem;
    color: rgba(255, 122, 45, 0.05);
    /* very faint orange */
    z-index: 1;
    transform: rotate(-10deg);
}

@media (max-width: 768px) {
    .footer-bottom-info {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
        padding-right: 20px;
        gap: 40px;
    }

    .info-lines p {
        line-height: 1.8;
    }

    .divider {
        display: none;
        /* Hide vertical lines on mobile for cleaner wrap */
    }

    .info-lines p span.mobile-break {
        display: block;
        margin-bottom: 5px;
    }

    .footer-contact-box {
        width: 100%;
        min-width: auto;
        padding: 30px;
    }

    body {
        padding-bottom: 64px;
        /* Matches action-bar height */
    }

    .action-bar {
        display: flex !important;
    }
}

/* Action Bar (Mobile Only) */
.action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    display: flex;
    z-index: 2000;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

@media (min-width: 769px) {
    .action-bar {
        display: none;
    }
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

.action-btn.call {
    background-color: #444;
    color: var(--white);
}

.action-btn.chat {
    background-color: #222;
    color: var(--white);
}

/* Reveal Animation — 요소는 JS가 동작할 때만 숨겨졌다가 나타납니다 (JS 오류 시에도 내용이 보이도록) */
.reveal { transition: all 0.8s ease-out; }
.reveal-left, .reveal-up, .reveal-right, .reveal-zoom { transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1); }

html.js-ready .reveal:not(.visible) { opacity: 0; transform: translateY(30px); }
html.js-ready .reveal-left:not(.visible) { opacity: 0; transform: translateX(-50px); }
html.js-ready .reveal-up:not(.visible) { opacity: 0; transform: translateY(50px); }
html.js-ready .reveal-right:not(.visible) { opacity: 0; transform: translateX(50px); }
html.js-ready .reveal-zoom:not(.visible) { opacity: 0; transform: scale(0.94); }

.reveal.visible, .reveal-left.visible, .reveal-up.visible, .reveal-right.visible, .reveal-zoom.visible {
    opacity: 1;
    transform: none;
}

/* Hero Looping Animations (4s Cycle) */
.hero-loop-left {
    animation: hero-loop-left 7s infinite ease-in-out;
}

.hero-loop-up {
    animation: hero-loop-up 7s infinite ease-in-out;
}

@keyframes hero-loop-left {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    10%,
    90% {
        /* Adjusted for 7s cycle: ~0.7s entry, ~5.6s stay */
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(20px);
    }
}

@keyframes hero-loop-up {

    0%,
    6% {
        /* Starts slightly later */
        opacity: 0;
        transform: translateY(30px);
    }

    15%,
    90% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Pulse Animation for CTA Buttons */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

.floating-cta .cta-btn {
    animation: pulse 2.5s infinite ease-in-out;
}

.floating-cta .cta-btn:nth-child(2) {
    animation-delay: 1.2s;
}

/* Animation Delay Utilities */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        z-index: 999;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 10px 0;
        display: block;
        color: var(--secondary-color);
        text-shadow: none;
    }

    .header {
        height: 70px;
    }

    .features,
    .fields-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .profile-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .profile-info h3 {
        font-size: 1.1rem;
    }

    .profile-info h3 span {
        font-size: 0.75rem;
        margin-left: 4px;
    }

    .profile-tags {
        font-size: 0.8rem;
        margin-bottom: 8px;
        padding-bottom: 8px;
    }

    .profile-exp {
        font-size: 0.75rem;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        flex: 0 0 calc(100% - 20px);
    }

    .consultation .container {
        flex-direction: column;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .mobile-only {
        display: block;
    }

    .consult-box {
        padding: 40px 20px;
    }

}

@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }

    .desktop-only {
        display: block;
    }
}

/* Floating SNS Menu */
.floating-sns {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sns-item {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    color: var(--white);
}

.sns-item .sns-icon {
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 3px;
}

.sns-item span {
    font-size: 0.85rem;
    font-weight: 800;
    color: inherit;
}

/* Brand Colors */
.sns-item.youtube {
    background-color: #FF0000;
}

.sns-item.kakao {
    background-color: #FEE500;
    color: #3C1E1E;
}

.sns-item.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.sns-item.blog {
    background-color: #03C75A;
}

.sns-item:hover {
    transform: scale(1.1) translateX(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    filter: brightness(1.1);
}

/* Mobile Adjustments for SNS Menu */
@media (max-width: 768px) {
    .floating-sns {
        right: 15px;
        top: auto;
        bottom: 100px;
        /* Above the mobile action bar */
        transform: none;
        gap: 8px;
    }

    .sns-item {
        width: 55px;
        height: 55px;
        border-radius: 10px;
    }

    .sns-item .sns-icon {
        font-size: 1.6rem;
        line-height: 1;
        margin-bottom: 3px;
    }

    .sns-item span {
        font-size: 0.6rem;
    }
}


/* Damage Assessment Center Section */
.damage-center-section {
    padding: 100px 0;
    background: #ffffff;
    text-align: center;
}

.damage-center-section .section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(var(--brand-navy-rgb), 0.08);
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 25px;
    letter-spacing: 0.1em;
}

.damage-center-section .main-heading {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.damage-center-section .highlight {
    color: var(--accent-orange);
    position: relative;
}

.damage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.damage-card {
    background: var(--white);
    padding: 60px 45px;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    /* Always start from top */
    align-items: flex-start;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    min-height: 380px;
    /* Ensure uniform height */
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
}

.damage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
    transform: scale(1.1);
}

.damage-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.95));
    opacity: 0;
    transition: all 1.2s ease;
    z-index: -1;
}

.damage-card.damage-card-1::before {
    background-image: url('assets/damage_1.webp');
}

.damage-card.damage-card-2::before {
    background-image: url('assets/damage_2.webp');
}

.damage-card.damage-card-3::before {
    background-image: url('assets/damage_3.webp');
}

.damage-card:hover,
.damage-card.active {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border-color: transparent;
}

.damage-card:hover::before,
.damage-card.active::before {
    opacity: 1;
    transform: scale(1);
}

.damage-card:hover::after,
.damage-card.active::after {
    opacity: 1;
}

.damage-card .card-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.damage-card .card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    line-height: 1.4;
    min-height: 4em;
    /* Allocate space for up to 3 lines to align following text */
    display: flex;
    align-items: flex-start;
    /* Start text from top of the block */
    padding-top: 5px;
    /* Subtle breathing room at the top */
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.damage-card .card-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    word-break: keep-all;
    opacity: 1;
    /* Always visible for accessibility */
    transform: translateY(0);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    transition-delay: 0s;
}

/* SEQUENTIAL INTERACTION: Title left->right, then Description bottom->top */
.damage-card:hover .card-content h3,
.damage-card.active .card-content h3 {
    color: #ffffff;
    /* Explicit pure white */
    transform: none;
    /* Remove horizontal shift */
}

.damage-card:hover .card-content p,
.damage-card.active .card-content p {
    color: #ffffff;
    /* Explicit pure white */
    transform: none;
    /* Remove vertical shift */
    transition-delay: 0s;
    /* Remove delay for immediate feedback */
}

/* Inquiry Section */
.inquiry-section {
    padding: 120px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.inquiry-header {
    margin-bottom: 60px;
}

.inquiry-header .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-color);
    letter-spacing: -0.03em;
}

.inquiry-header .section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
    word-break: keep-all;
}

.inquiry-form-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 32px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1), 
        0 10px 40px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 10;
}

.consultation-form {
    width: 100%;
}

.consultation-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.consultation-form .form-group {
    flex: 1;
    min-width: 0; /* Important for flex children */
}

.consultation-form .form-group.full-width {
    width: 100%;
    margin-bottom: 30px;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
    width: 100%;
    height: 58px;
    padding: 0 25px;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    background-color: #f8f9fa;
    font-size: 1.05rem;
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-family: inherit;
    box-sizing: border-box;
}

.consultation-form textarea {
    height: 180px;
    padding: 20px 25px;
    resize: none;
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
    outline: none;
    border-color: #ff9933;
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 153, 51, 0.1);
}

.consultation-form .form-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 10px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-light);
    user-select: none;
    width: 100%;
}

.checkbox-container input {
    width: 20px;
    height: 20px;
    accent-color: #ff9933;
    cursor: pointer;
}

.checkbox-container .label-text {
    line-height: 1.4;
    word-break: keep-all;
}

.checkbox-container b {
    color: var(--accent-orange);
}

.submit-btn {
    width: 100%;
    max-width: 550px;
    height: 64px;
    background: linear-gradient(135deg, #ff9933 0%, #ffcc33 100%);
    color: var(--white);
    border: none;
    border-radius: 16px;
    font-size: 1.25rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(255, 153, 51, 0.3);
}

.submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 153, 51, 0.4);
    opacity: 0.95;
}

.submit-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translate(3px, -3px);
}

.form-notice {
    font-size: 0.9rem;
    color: #adb5bd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Response for Mobile */
@media (max-width: 768px) {
    .consultation-form .form-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .inquiry-form-container {
        padding: 40px 20px;
        margin: 0 15px;
    }
    
    .inquiry-header .section-title {
        font-size: 2rem;
    }

    .consultation-form input,
    .consultation-form select {
        height: 54px;
    }

    .submit-btn {
        height: 58px;
        font-size: 1.15rem;
    }
}

/* New Location Section Redesign */
.custom-location-section {
    background-image: radial-gradient(ellipse at 80% 0%, rgba(204, 160, 72, 0.18), transparent 55%), linear-gradient(135deg, #1E272E 0%, #11171c 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.location-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.location-header-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    margin-bottom: 50px;
}

.location-title-box {
    max-width: 800px;
}

.location-content-row {
    display: flex;
    gap: 60px;
    align-items: stretch;
    /* Map and details boxes will have same height */
}

.location-left {
    flex: 1;
    position: relative;
}

.location-right {
    flex: 1;
    position: relative;
}

.location-badge {
    display: inline-block;
    color: var(--brand-gold);

    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.location-main-heading {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0;
    word-break: keep-all;
}

.location-main-heading span {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.8;
    display: block;
    margin-top: 15px;
}

.location-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.sel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: default;
    transition: all 0.3s ease;
}

.sel-btn.active {
    background: #fff;
    color: #163a24;
    border-color: #fff;
}

.floating-map-container {
    width: 100%;
    height: 100%;
    /* Fill the stretched container */
    min-height: 400px;
    /* Base height for map */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: #eee;
}

.location-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically to match map balance */
    height: 100%;
    gap: 35px;
    background: transparent;
    border: none;
    padding: 20px 0 20px 40px;
    /* Adjusted for transparent look */
    border-radius: 0;
    backdrop-filter: none;
}

.detail-item {
    position: relative;
}

.detail-icon {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-item p {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.9;
}

.detail-item .sub-text {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 5px;
}

.location-watermark {
    position: absolute;
    bottom: -50px;
    right: -20px;
    opacity: 0.05;
    pointer-events: none;
    width: 300px;
}

.location-watermark img {
    width: 100%;
    filter: brightness(0) invert(1);
}

@media (max-width: 1100px) {
    .location-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .location-address-box {
        justify-content: flex-start;
        padding-bottom: 0;
    }

    .location-content-row {
        flex-direction: column;
        gap: 60px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .custom-location-section {
        padding: 60px 0 80px;
    }

    .location-container {
        padding: 0 20px;
    }

    .location-header-row {
        margin-bottom: 30px;
    }

    .location-main-heading {
        font-size: 1.8rem;
    }

    .location-content-row {
        gap: 30px;
    }

    .floating-map-container {
        height: 350px; /* Explicit height for mobile */
        min-height: auto;
    }

    .location-right {
        width: 100%;
    }

    .location-details {
        padding: 0;
        gap: 25px;
        text-align: left;
    }

    .detail-icon {
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) {

    /* Damage Assessment Center Mobile */
    .damage-center-section {
        padding: 60px 0;
    }

    .damage-center-section .main-heading {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .damage-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 10px;
    }

    .damage-card {
        padding: 35px 25px;
        min-height: auto !important;
    }

    .damage-card .card-content h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        min-height: auto !important;
    }

    .damage-card .card-content p {
        font-size: 0.9rem;
    }
}

/* =========================================================
   올바로 손해사정 — 추가/변경 스타일 (2026-11 리뉴얼)
   ========================================================= */
:root {
    --brand-gold: #CCA048;
    --brand-ink: #1E272E;
}

[hidden] { display: none !important; }

/* 스팸 방지용 숨김 입력칸 */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Header logo (가로형 로고 비율 4.3:1) */
.logo-img { height: 46px; }
@media (max-width: 768px) { .logo-img { height: 36px; } }
.footer-logo img { height: 44px; }

.bar-checkbox a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* 업무분야 — 사고보상 / 지급거절 범위 요약 */
.field-scope {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    text-align: left;
}
.scope-group {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}
.scope-group h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 3px solid var(--brand-gold);
    display: inline-block;
}
.scope-group ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.scope-group li {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    background: #F4F6F8;
    border-radius: 999px;
    padding: 6px 14px;
}
.scope-group li small { color: #888; font-weight: 500; font-size: 0.82rem; }
@media (max-width: 768px) {
    .field-scope { grid-template-columns: 1fr; }
    .scope-group { padding: 22px 20px; }
}

/* 대표 소개 — 자격·경력 카드 */
.profile-support { padding-left: 60px; align-items: center; }
.cred-cards { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.cred-card {
    background: #fff;
    border: 1px solid #ECEFF2;
    border-radius: 20px;
    padding: 26px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.cred-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #F0F2F4;
}
.cred-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(211, 84, 0, 0.08);
    color: var(--accent-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.cred-head h3 { font-size: 1.15rem; font-weight: 800; color: #111; }
.cred-list, .career-list { list-style: none; }
.cred-list li { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: 0.98rem; }
.cred-list li > i { color: var(--accent-orange); margin-top: 4px; }
.cred-list strong { font-weight: 700; color: #222; }
.cred-list em { font-style: normal; color: var(--accent-orange); }
.cred-sub { color: #888; font-size: 0.86rem; font-weight: 500; }
.cred-sub.block { display: block; margin-top: 2px; }
.career-list li {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.98rem;
}
.career-list li.current { background: #F4F6F8; }
.career-list strong { font-weight: 700; color: #222; }
.career-list .tag {
    flex: 0 0 auto;
    width: 28px;
    height: 24px;
    border-radius: 6px;
    background: #E9EDF2;
    color: #556;
    font-size: 0.78rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.career-list li.current .tag { background: var(--brand-ink); color: #fff; }
.profile-text-content .role-desc { color: #333; }
@media (max-width: 1024px) {
    .profile-support { padding-left: 0; padding-top: 40px; }
}
@media (max-width: 768px) {
    .cred-card { padding: 22px 18px; }
    .career-list li { padding: 8px 6px; }
}

/* 수행사례 안내문 */
.cases-note { margin-top: 36px; font-size: 0.88rem; opacity: 0.75; }

/* 진행 절차 */
.process-section {
    padding: 110px 0;
    background: #fff;
    text-align: center;
}
.process-section .section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(var(--brand-navy-rgb), 0.08);
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 25px;
    letter-spacing: 0.1em;
}
.process-section .main-heading { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 14px; }
.process-section .section-subtitle { color: var(--text-light); margin-bottom: 56px; }
.process-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    counter-reset: none;
}
.process-step {
    position: relative;
    background: #fff;
    border: 1px solid #ECEFF2;
    border-radius: 20px;
    padding: 34px 22px 30px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.process-step:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); }
.process-step:not(:last-child)::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand-ink);
    color: #fff;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.process-step .step-no {
    display: block;
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--brand-gold);
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}
.process-step > i { font-size: 1.9rem; color: var(--primary-color); margin-bottom: 16px; display: block; }
.process-step h3 { font-size: 1.15rem; font-weight: 800; color: #111; margin-bottom: 10px; }
.process-step p { font-size: 0.95rem; color: var(--text-light); line-height: 1.65; word-break: keep-all; }
@media (max-width: 1100px) {
    .process-steps { grid-template-columns: repeat(3, 1fr); }
    .process-step:nth-child(3)::after { display: none; }
}
@media (max-width: 768px) {
    .process-section { padding: 80px 0; }
    .process-section .main-heading { font-size: 1.8rem; }
    .process-steps { grid-template-columns: 1fr; gap: 14px; }
    .process-step { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 22px 20px; }
    .process-step .step-no { grid-column: 1; grid-row: 1 / span 2; margin: 2px 0 0; font-size: 1.1rem; }
    .process-step > i { display: none; }
    .process-step h3 { grid-column: 2; margin-bottom: 4px; }
    .process-step p { grid-column: 2; }
    .process-step:not(:last-child)::after { display: none; }
}

/* 간편 상담 — 담당자 표시 */
.inquiry-advisor {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid #F0F2F4;
}
.inquiry-advisor img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.inquiry-advisor strong { display: block; font-size: 1.1rem; color: #111; }
.inquiry-advisor span { color: var(--text-light); font-size: 0.95rem; }

.consent-detail { width: 100%; max-width: 550px; margin-bottom: 4px; text-align: left; }
.consent-detail summary { cursor: pointer; color: var(--text-light); font-size: 0.92rem; font-weight: 600; }
.consent-detail ul {
    list-style: none;
    margin-top: 10px;
    background: #F8F9FA;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.7;
}
.consent-detail a { color: var(--accent-orange); }

/* 오시는 길 */
.detail-item a { color: inherit; text-decoration: none; }
.detail-item a:hover { text-decoration: underline; }
.detail-item .map-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--brand-gold);
    font-weight: 600;
}

/* 보정 */
.custom-location-section { background-attachment: scroll; }
.feature-desc { word-break: keep-all; }
.inquiry-advisor > div { text-align: left; }
.logo-img { height: 50px; }
@media (max-width: 768px) { .logo-img { height: 38px; } }
.catchphrase, .profiles .main-heading, .contact-desc { word-break: keep-all; }
.contact-number { white-space: nowrap; }
@media (max-width: 768px) {
    .profiles .main-heading { font-size: 1.6rem; }
    .catchphrase { font-size: 1.65rem; }
    .footer-contact-box { min-width: 0; width: 100%; padding: 32px 26px; }
    .contact-number { font-size: 1.8rem; }
    .contact-number i { font-size: 1.5rem; }
}
.hero-subtitle, .hero-title { word-break: keep-all; }
@media (max-width: 768px) {
    .slide:nth-child(3) .slide-bg { background-position: 28% center; }
}

/* 빠른 메뉴 — 전화상담 버튼 */
.sns-item.phone {
    position: relative;
    background-color: var(--accent-orange);
}
.sns-item .sns-tip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translate(8px, -50%);
    background: var(--brand-ink);
    color: #fff;
    font-style: normal;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.sns-item .sns-tip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--brand-ink);
}
.sns-item.phone:hover .sns-tip,
.sns-item.phone:focus-visible .sns-tip {
    opacity: 1;
    transform: translate(0, -50%);
}
@media (max-width: 768px) {
    /* 모바일: 전화번호 말풍선은 숨기고 버튼만 표시 (누르면 바로 전화 연결) */
    .sns-item .sns-tip { display: none; }
}

/* 안내 메시지 (준비 중 등) */
.site-toast {
    position: fixed;
    left: 50%;
    bottom: 120px; /* 하단 즉시상담 바 위 */
    transform: translate(-50%, 20px);
    width: max-content;
    max-width: calc(100vw - 40px);
    background: rgba(30, 39, 46, 0.95);
    color: #fff;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    white-space: pre-line;
    word-break: keep-all;
    padding: 14px 22px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.site-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 768px) {
    .site-toast { bottom: 90px; font-size: 0.92rem; }
}
/* 화면이 낮은 휴대폰: 빠른 메뉴를 조금 작게 */
@media (max-width: 768px) and (max-height: 720px) {
    .floating-sns { gap: 6px; bottom: 92px; }
    .sns-item { width: 46px; height: 46px; border-radius: 9px; }
    .sns-item .sns-icon { font-size: 1.25rem; margin-bottom: 2px; }
    .sns-item span { font-size: 0.52rem; }
}

/* ===== 검색·접근성 보정 (2026-11) ===== */
/* 글자 대비 개선 (웹 접근성 기준 4.5:1 이상) */
.footer .info-lines, .footer .info-lines p, .footer .info-lines span, .footer .info-label { color: #5f5f5f; }
.footer .info-label { opacity: 1; color: #333; }
.sns-item.youtube { background-color: #CC0000; }
.sns-item.blog { background-color: #02803B; }
.footer .copyright { color: #6b6b6b; }
.footer-policy-links a { color: #555; }
.sns-item.phone { background-color: #B94A00; }
.footer address { font-style: normal; }
/* 화면에는 안 보이지만 화면낭독기·검색엔진이 읽는 이름표 */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* 동의 체크박스 터치 영역 확대 (손가락으로 누르기 쉽게) */
.quick-form .bar-checkbox input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; margin: 3px; padding: 0; flex: 0 0 auto; }
.quick-form .bar-checkbox { gap: 4px; }
