/*
Theme Name: Planc Basic
Description: Custom theme for Chiubon Clinic Landing Page
Version: 1.0
*/

/* ========================================
   CSS Variables & Reset
======================================== */
:root {
    --primary-color: #3970AC;
    --primary-dark: #3970AC;
    --secondary-color: #14b8a6;
    --text-color: #1c1c1c;
    --text-light: rgba(0, 0, 0, 0.7);
    --bg-color: #ffffff;
    --bg-gray: #f8fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
    --font-outfit: 'Outfit', sans-serif;

    /* Responsive Font Sizes - Desktop as baseline */
    --font-hero: clamp(32px, 5vw, 60px);
    --font-h1: clamp(28px, 4vw, 47.5px);
    --font-h2: clamp(24px, 3vw, 32px);
    --font-h3: clamp(20px, 2.5vw, 28px);
    --font-body-lg: clamp(16px, 1.5vw, 20px);
    --font-body: clamp(14px, 1.2vw, 18px);
    --font-body-sm: clamp(13px, 1vw, 16px);
    --font-small: clamp(12px, 0.9vw, 14px);
}

@media (max-width: 768px) {
    :root {
        --font-h1: 1.8rem;
        --font-h2: 1.5rem;
        --font-h3: 1.3rem;
    }

    h2 {
        font-size: 1.5rem !important;
    }
}

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

body {
    font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: var(--font-body-sm);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
}

/* ========================================
   Layout Utilities
======================================== */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

/* ========================================
   Header
======================================== */
.site-header {
    position: relative;
    /* Changed from fixed */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 70px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.site-logo img {
    height: 42px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
}

.site-logo .logo-sub {
    color: var(--text-light);
    font-weight: 400;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    display: inline-block;
    padding: 10px 20px;
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
}

.main-nav a:hover {
    background: var(--bg-gray);
    color: var(--primary-color);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    background-image: url('assets/images/chiubon-traffic-accident-hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    padding: 0 100px;
    max-width: 100%;
    margin-top: -130px;
}

.hero-subtitle {
    font-size: var(--font-body-lg);
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: var(--font-hero);
    font-weight: 650;
    line-height: 1.4;
    margin-bottom: 0;
}

.hero h1 span {
    display: block;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid #fff;
    border-radius: 12px;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

.scroll-indicator span {
    font-size: 0.75rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ========================================
   Traffic Accident Section (graph_sect)
======================================== */
.graph-sect {
    padding: 50px 0;
    background: #fff;
}

.graph-sect .container {
    max-width: 1260px;
}

.graph-sect .section-title {
    margin-bottom: 30px;
}

.graph-sect .section-title h2 {
    font-size: var(--font-h1);
    font-weight: 700;
    line-height: 1.5;
    color: #1c1c1c;
}

.graph-sect .section-desc {
    margin-bottom: 25px;
}

.graph-sect .section-desc p {
    font-size: var(--font-body-lg);
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.5;
}

.graph-sect .section-info {
    font-size: var(--font-body-sm);
    color: var(--text-light);
    margin-bottom: clamp(40px, 6vw, 80px);
}

/* Graph Container */
.graph-container {
    background: var(--bg-gray);
    border-radius: 30px;
    padding: 70px 0;
    text-align: center;
}

.graph-container .graph-title {
    display: inline-block;
    background: linear-gradient(135deg, #e8f4fc 0%, #d4ecf9 100%);
    color: #3970ac;
    font-size: var(--font-h2);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.graph-container .graph-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 48px;
}

/* Bar Chart */
.bar-chart {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 100px;
    height: 280px;
    width: 50%;
    margin: 0 auto;
    padding: 0 40px 0;
    border-bottom: 2px solid #ccc;
}

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

.bar-label {
    font-size: var(--font-body-lg);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
    white-space: nowrap;
}

.bar {
    width: 100px;
    border-radius: 12px 12px 0 0;
    transition: height 1s ease-out;
}

.bar.blue {
    background: linear-gradient(180deg, #a8c5da 0%, #5b8db8 100%);
    height: 120px;
}

.bar.red {
    background: linear-gradient(180deg, #f5a8a8 0%, #e05a5a 100%);
    height: 200px;
}

.bar-label-highlight {
    display: inline-block;
    background: #e05a5a;
    color: #fff;
    font-size: clamp(18px, 2.5vw, 25px);
    font-weight: 600;
    padding: 10px 35px;
    border-radius: 30px;
    margin-bottom: 12px;
    position: relative;
}

.bar-label-highlight::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #e05a5a;
    border-radius: 0 0 3px 0;
}

/* Arrow between bars */
.bar-arrow {
    position: absolute;
    left: 48%;
    /* 화살표가 오른쪽 버블에 겹치지 않도록 약간 왼쪽으로 이동 */
    top: 85px;
    /* 위쪽 여백을 주어 버블과 분리 */
    transform: translateX(-50%);
    width: 100px;
    z-index: 1;
}

.bar-arrow svg {
    width: 100%;
    display: block;
}

/* Responsive for Graph */
@media (max-width: 768px) {
    .graph-sect {
        padding: 60px 0;
    }

    .graph-sect .section-title h2 {
        font-size: 1.75rem;
    }

    .graph-container {
        padding: 32px 20px 48px;
    }

    .graph-container .graph-title {
        font-size: 1.1rem;
        padding: 10px 20px;
    }

    .bar-chart {
        gap: 40px;
        height: 220px;
    }

    .bar {
        width: 60px;
    }

    .bar.blue {
        height: 90px;
    }

    .bar.red {
        height: 150px;
    }

    .bar-arrow {
        width: 60px;
        top: 45px;
        left: 47%;
    }
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #fff;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    margin-left: 12px;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary-color);
}

/* ========================================
   Why Chiubon Section (Swiper)
======================================== */
.why-sect {
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 8vw, 100px) calc((100% - 1260px)/2 + 24px);
}

.why-sect .left-wrap {
    padding-top: 40px;
    width: 35%;
    flex-shrink: 0;
}

.why-sect .section-title {
    margin-bottom: 24px;
}

.why-sect .section-title h2 {
    font-size: var(--font-h1);
    font-weight: 700;
    line-height: 1.5;
    color: #1c1c1c;
}

.why-sect .section-desc p {
    font-size: clamp(15px, 1.5vw, 19px);
    color: var(--text-light);
    line-height: 1.8;
}

.why-sect .controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 48px;
}

.why-sect .nav-btns {
    display: flex;
    gap: 10px;
}

.why-sect .swiper-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.why-sect .swiper-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.why-sect .swiper-btn:hover svg path {
    stroke: #fff;
}

.why-sect .swiper-btn svg {
    width: 18px;
    height: 18px;
}

.why-sect .swiper-btn svg path {
    stroke: var(--text-color);
    stroke-width: 2;
    fill: none;
}

.why-sect .paging {
    display: flex;
    align-items: center;
    font-size: var(--font-body-sm);
    font-weight: 700;
    color: #1c1c1c;
    margin-right: 20px;
}

.why-sect .paging .current {
    font-size: var(--font-body-sm);
    color: #1c1c1c;
    font-weight: 700;
}

.why-sect .paging .total {
    font-size: var(--font-body-sm);
    color: #1c1c1c;
    font-weight: 700;
}

.why-sect .paging .progress-container {
    width: 60px;
    height: 1px;
    background: #e5e7eb;
    margin: 0 15px;
    position: relative;
    top: 1px;
    overflow: hidden;
}

.why-sect .paging .progress-bar {
    height: 100%;
    background: #1c1c1c;
    width: 0%;
    transition: width 0.3s ease;
}

.why-sect .slide-wrap {
    width: 65%;
    flex-shrink: 0;
    overflow: hidden;
}

.why-sect .swiper-container {
    overflow: visible;
    padding-bottom: 20px;
}

.why-sect .slide-item {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-sect .slide-item .img-box {
    position: relative;
    padding-top: 100%;
    background: linear-gradient(135deg, #e3e8ee 0%, #f5f7fa 100%);
    overflow: hidden;
    border-radius: 30px;
}

.why-sect .slide-item .img-box .img-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

.why-sect .slide-item .txt-box {
    padding: 20px 15px;
}

.why-sect .slide-item .txt-box .tit {
    position: relative;
    font-size: var(--font-h2);
    font-weight: 650;
    padding-left: 25px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.why-sect .slide-item .txt-box .tit::before {
    content: '';
    position: absolute;
    left: 0;
    top: 42%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(20, 69, 157, 0.5);
}

.why-sect .slide-item .txt-box .txt {
    font-size: var(--font-body-sm);
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .why-sect {
        padding: 80px 24px;
    }

    .why-sect .left-wrap {
        width: 40%;
    }

    .why-sect .slide-wrap {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
        height: 75px;
    }

    .site-logo img {
        height: 38px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        border-bottom: 1px solid var(--border-color);
        padding: 16px;
        gap: 4px;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        display: block;
        padding: 14px 16px;
        border-radius: 8px;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .btn {
        display: block;
        width: 100%;
        margin: 8px 0;
    }

    .btn-outline {
        margin-left: 0;
    }

    .why-sect {
        flex-direction: column;
        padding: 60px 0 60px 24px;
    }

    .why-sect .left-wrap {
        width: 100%;
        padding-top: 0;
        margin-bottom: 32px;
    }

    .why-sect .section-title h2 {
        font-size: 1.75rem;
    }

    .why-sect .controls {
        margin-top: 24px;
    }

    .why-sect .slide-wrap {
        width: 100%;
    }

    .why-sect .slide-item .txt-box {
        padding: 20px 0;
    }

    .why-sect .slide-item .txt-box .tit {
        font-size: 1rem;
        padding-left: 15px;
        margin-bottom: 10px;
    }

    .why-sect .slide-item .txt-box .tit::before {
        width: 5px;
        height: 5px;
    }

    .hero .container {
        padding: 0 20px;
    }
}

/* ========================================
   Statistics Section (Bento Grid)
======================================== */
.stats-sect {
    padding: clamp(60px, 8vw, 100px) 0;
    background: #fff;
}

.stats-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.stats-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: clamp(30px, 5vw, 60px);
    flex-wrap: wrap;
    gap: 20px;
}

.stats-header .tit-group h2 {
    font-size: var(--font-h1);
    font-weight: 700;
    line-height: 1.5;
    color: #1c1c1c;
}

.stats-header .tit-group .sub {
    display: block;
    font-size: 1.8rem;
    color: #444;
    margin-bottom: 8px;
    font-weight: 700;
}

.stats-header .desc {
    font-size: var(--font-body);
    color: #1c1c1c;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 24px;
}

.stat-card {
    background: #f4f6f9;
    border-radius: 30px;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    /* Reverted to safer transition as per recent request */
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    perspective: 1000px;
    backface-visibility: hidden;
}

.stat-card.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) rotateY(0) !important;
}

.stat-card .label {
    font-size: clamp(15px, 1.5vw, 19px);
    font-weight: 550;
    color: #1c1c1c;
    margin-bottom: 12px;
}

.stat-card .number-wrap {
    font-size: 3.5rem;
    font-weight: 400;
    color: #3970ac;
    line-height: 1;
    display: flex;
    align-items: baseline;
    font-family: 'Outfit';
    gap: 4px;
}

.stat-card .number-wrap .unit {
    font-size: 1.2rem;
    font-weight: 600;
    color: #888;
}

.stat-card .icon-deco {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 100px;
    height: auto;
    opacity: 1;
}

.stat-card .icon-deco img {
    width: 100%;
    height: auto;
    display: block;
}

/* Specific Card Styles */
.card-stay {
    grid-column: span 1;
    background: #f0f4f8;
}

.card-cases {
    grid-column: span 2;
    background: #3970ac;
    color: #fff;
}

.card-cases .label {
    color: rgba(255, 255, 255, 1);
}

.card-cases .number-wrap {
    color: #fff;
    font-size: clamp(40px, 5vw, 60px);
}

.card-cases .number-wrap .unit {
    color: rgba(255, 255, 255, 0.6);
}

.card-cases .graph-arrow {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 300px;
    height: auto;
}

.card-cases .graph-arrow img {
    width: 100%;
    height: auto;
    display: block;
}

.card-cases svg.arrow-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.card-satisfaction {
    grid-column: span 1;
    grid-row: span 2;
    background-color: #e3ecf5;
    background-image: url('imgs/box-obj/Clip path group.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.card-satisfaction .label-main {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 700;
    color: #3970ac;
    line-height: 1.6;
}

.card-satisfaction .satisfaction-rate {
    font-family: 'Outfit';
    font-size: clamp(60px, 10vw, 120px);
    font-weight: 450;
    color: #3970ac;
    line-height: 1;
    margin: 20px 0;
}

.card-satisfaction .satisfaction-rate .unit {
    font-size: 2rem;
}

.card-satisfaction .desc-sub {
    font-size: var(--font-body-lg);
    color: #3970A8;
    font-weight: 600;
}

.card-patients {
    grid-column: span 2;
    background: #e8f0fe;
}

.card-patients .car-icon {
    position: absolute;
    bottom: 30px;
    right: 0px;
    width: 260px;
}

.card-patients .car-icon img {
    width: 100%;
    height: auto;
    display: block;
}

.card-items {
    grid-column: span 1;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .card-satisfaction {
        grid-column: span 2;
        grid-row: auto;
        padding: 60px 40px;
    }

    .card-cases,
    .card-patients {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .stats-header .tit-group h2 {
        font-size: 2.2rem;
    }

    .stats-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .stat-card {
        min-height: 180px;
        padding: 30px;
    }

    .stat-card .label {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .stat-card .number-wrap {
        font-size: 2.5rem;
    }

    /* 오브제 크기 조절 */
    .stat-card .icon-deco {
        width: 60px;
        bottom: 20px;
        right: 20px;
    }

    .card-cases .number-wrap {
        font-size: 40px;
    }

    .card-cases .graph-arrow {
        width: 150px;
        bottom: -10px;
        right: 10px;
        opacity: 0.7;
    }

    .card-patients .car-icon {
        width: 130px;
        bottom: 20px;
        right: -10px;
        opacity: 0.7;
    }

    .card-satisfaction {
        min-height: 300px;
        background-position: bottom right;
        background-size: 60%;
        order: 99;
    }

    .card-satisfaction .satisfaction-rate {
        font-size: 80px;
        margin: 15px 0;
    }

    .card-satisfaction .label-main {
        font-size: 20px;
    }
}

/* ========================================
   Specialties Section (Treatment Gallery)
======================================== */
.special-sect {
    padding: clamp(80px, 12vw, 150px) 0 clamp(150px, 20vw, 300px);
    overflow: hidden;
    width: 100%;
}

.special-header {
    text-align: center;
    margin-bottom: clamp(30px, 5vw, 60px);
    padding: 0 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.special-header .sub-eng {
    display: block;
    font-size: var(--font-body-lg);
    font-weight: 650;
    color: #1c1c1c;
    margin-bottom: 12px;
}

.special-header .main-tit {
    font-size: var(--font-h1);
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 20px;
    line-height: 1.5;
}

.special-header .desc {
    font-size: var(--font-body-sm);
    color: #1c1c1c;
    line-height: 1.5;
    word-break: keep-all;
}

.special-swiper-wrap {
    width: 100%;
    position: relative;
}

.special-swiper {
    width: 100%;
    padding: 20px 0 40px 0;
}

.special-swiper .swiper-wrapper {
    transition-timing-function: linear;
}

.special-swiper .swiper-slide {
    width: 336px;
    height: 446px;
    margin-right: 30px;
}

.treat-card {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.treat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.treat-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 45px;
    color: #fff;
    pointer-events: none;
}

.treat-card .eng-name {
    font-size: var(--font-body-sm);
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.treat-card .kor-name {
    font-size: var(--font-h2);
    font-weight: 650;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .special-header .main-tit {
        font-size: 2rem;
    }

    .special-swiper .swiper-slide {
        width: 280px;
        height: 372px;
        margin-right: 20px;
    }

    .treat-card .kor-name {
        font-size: 1.4rem;
    }

    .treat-card .overlay {
        padding: 35px;
    }
}

/* ========================================
   Marquee Text Section
======================================== */
.marquee-sect {
    padding: 60px 0;
    background: #fff;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
}

.marquee-item {
    font-size: clamp(56px, 12vw, 160px);
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -5px;
    font-weight: 700;
    color: #999;
    opacity: 0.1;
    margin-right: 40px;
    line-height: 1;
}

@media (max-width: 768px) {
    .marquee-sect {
        padding: 40px 0;
    }

    .marquee-item {
        font-size: 3.5rem;
    }
}

/* ========================================
   Inpatient Care Section (Hospital)
======================================== */
.hospital-sect {
    padding: clamp(80px, 12vw, 150px) 0;
    background: #3970AC;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hospital-sect .top-tit-wrap {
    max-width: 1400px;
    width: 100%;
    padding: 0 24px;
    margin-bottom: clamp(25px, 4vw, 50px);
    text-align: left;
}

.hospital-sect .sub-tit {
    display: block;
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.hospital-sect .main-tit {
    font-size: var(--font-h1);
    font-weight: 650;
    color: #fff;
    line-height: 1.5;
}

.hospital-swiper-wrap {
    width: 100%;
    margin-bottom: clamp(30px, 5vw, 60px);
}

.hospital-swiper {
    width: 100%;
    padding: 0 0 40px 0;
    overflow: visible;
}

.hospital-swiper .swiper-slide {
    width: 605px;
    height: 380px;
    margin-right: 0;
    transition: all 0.3s ease;
    opacity: 0.5;
    /* transform: scale(0.9); removed */
}

.hospital-swiper .swiper-slide.swiper-slide-active {
    opacity: 1;
    z-index: 10;
}

.hospital-swiper .img-box {
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
}

.hospital-swiper .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hospital-swiper .swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(43, 85, 143, 0.6);
    opacity: 1;
    transition: opacity 0.3s;
    pointer-events: none;
}

.hospital-swiper .swiper-slide.swiper-slide-active::after {
    opacity: 0;
}

.hospital-sect .btm-content {
    max-width: 1400px;
    width: 100%;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.hospital-sect .btm-tit {
    font-size: clamp(1.3rem, 2.5vw, var(--font-h2));
    font-weight: 630;
    margin-bottom: 30px;
    color: #fff;
}

.hospital-sect .btm-desc {
    font-size: var(--font-body);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.hospital-sect .btm-desc p {
    margin-bottom: 24px;
}

.hospital-sect .watermark-graphic {
    position: absolute;
    bottom: -30px;
    left: 2%;
    width: 560px;
    height: 1000px;
    background: url('./imgs/logo-bg.svg') no-repeat center/contain;
    opacity: 0.6;
    pointer-events: none;
    filter: invert(1);
    z-index: 1;
}

@media (max-width: 1024px) {
    .hospital-swiper {
        padding-left: 0;
        padding-right: 0;
        overflow: visible;
    }

    .hospital-swiper .swiper-slide {
        width: 80%;
        height: 220px;
        margin-right: 0;
    }

    .hospital-swiper .img-box {
        border-radius: 12px;
    }

    .hospital-sect .main-tit {
        font-size: 1.8rem;
    }
}

/* ========================================
   Kitchen Section
======================================== */
.kitchen-sect {
    padding: clamp(80px, 12vw, 150px) 0 clamp(120px, 16vw, 250px);
    background: #fff;
    overflow: hidden;
    display: flex;
    width: 100%;
    position: relative;
}

.kitchen-sect .left-wrap {
    width: 45%;
    padding-left: calc((100% - 1400px) / 2);
    padding-right: 60px;
    flex-shrink: 0;
    z-index: 2;
    box-sizing: border-box;
}

.kitchen-sect .section-title {
    margin-bottom: 24px;
}

.kitchen-sect .section-title .sub-tit {
    display: block;
    font-size: var(--font-body-lg);
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 15px;
}

.kitchen-sect .section-title h2 {
    font-size: var(--font-h1);
    font-weight: 700;
    color: #1c1c1c;
    line-height: 1.5;
}

.kitchen-sect .section-desc p {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    color: #666;
    line-height: 1.7;
}

.kitchen-sect .controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.kitchen-sect .swiper-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.kitchen-sect .swiper-btn:hover {
    border-color: #3970ac;
    background: #3970ac;
}

.kitchen-sect .swiper-btn:hover svg path {
    stroke: #fff;
}

.kitchen-sect .swiper-btn svg {
    width: 20px;
    height: 20px;
}

.kitchen-sect .swiper-btn svg path {
    stroke: #333;
    stroke-width: 2;
    fill: none;
}

.kitchen-sect .slide-wrap {
    width: 60%;
    flex-grow: 1;
    overflow: hidden;
}

.kitchen-sect .swiper-container {
    overflow: visible;
    padding-bottom: 40px;
    width: 100%;
}

.kitchen-sect .slide-item {
    transition: transform 0.3s ease;
}

.kitchen-sect .slide-item .img-box {
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
    margin-bottom: 12px;
}

.kitchen-sect .slide-item .img-box img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.kitchen-sect .slide-item .txt-box .tit {
    font-size: var(--font-body-sm);
    font-weight: 500;
    color: #1c1c1c;
}

@media (max-width: 1440px) {
    .kitchen-sect .left-wrap {
        padding-left: 40px;
    }
}

@media (max-width: 1024px) {
    .kitchen-sect {
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 0;
        gap: 40px;
    }

    .kitchen-sect .left-wrap {
        width: 100%;
        padding: 0 24px;
        margin-bottom: 0;
    }

    .kitchen-sect .slide-wrap {
        width: 100%;
        padding-left: 24px;
    }

    .kitchen-sect .section-title h2 {
        font-size: 2rem;
    }
}

/* ========================================
   Review Section (Marquee)
======================================== */
.review-sect {
    padding: clamp(80px, 12vw, 150px) 0;
    background: #f6f8fc;
    overflow: hidden;
    width: 100%;
}

.review-header {
    text-align: center;
    margin-bottom: clamp(30px, 5vw, 60px);
    padding: 0 20px;
}

.review-header .sub-eng {
    display: block;
    font-size: var(--font-body-lg);
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 15px;
}

.review-header .main-tit {
    font-size: var(--font-h1);
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 16px;
    line-height: 1.5;
}

.review-header .desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    word-break: keep-all;
}

.review-swiper-wrap {
    width: 100%;
    position: relative;
    padding-bottom: 40px;
}

.review-swiper {
    width: 100%;
    padding: 20px 0;
}

.review-swiper .swiper-wrapper {
    transition-timing-function: linear;
}

.review-swiper .swiper-slide {
    width: 320px;
    height: 420px;
    margin-right: 40px;
    opacity: 1;
}

.review-card {
    width: 100%;
    height: 100%;
    border-radius: 160px;
    overflow: hidden;
    position: relative;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    padding: 100px 50px;
    transition: transform 0.3s ease;
}

.review-card.text-type .cate {
    font-size: var(--font-body-sm);
    font-weight: 700;
    color: #3970ac;
    margin-bottom: 20px;
}

.review-card.text-type .tit {
    font-size: var(--font-body-lg);
    font-weight: 700;
    color: #1c1c1c;
    line-height: 1.4;
    margin-bottom: 20px;
    font-family: 'Pretendard', sans-serif;
}

.review-card.text-type .meta {
    margin-top: auto;
    font-size: var(--font-body-sm);
    color: #888;
    font-weight: 500;
}

.review-card.img-type {
    padding: 0;
}

.review-card.img-type img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

@media (max-width: 768px) {
    .review-header .main-tit {
        font-size: 2rem;
    }

    .review-swiper .swiper-slide {
        width: 260px;
        height: 340px;
        margin-right: 20px;
    }
}

/* ========================================
   FAQ Section
======================================== */
.faq-sect {
    padding: clamp(100px, 15vw, 200px) 0;
    background: #fff;
}

.faq-inner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 24px;
}

.faq-title-wrap {
    margin-bottom: clamp(30px, 5vw, 60px);
}

.faq-title-wrap .sub-tit {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.faq-title-wrap .main-tit {
    font-size: var(--font-h1);
    font-weight: 700;
    color: #1c1c1c;
    line-height: 1.5;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: 50px;
    background: #f7f9fc;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    background: #3970AC;
    border-radius: 40px;
}

.faq-header {
    padding: 45px 50px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-header .q-text {
    font-size: var(--font-body-lg);
    font-weight: 600;
    color: #1c1c1c;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-header .q-text .q-mark {
    color: #738CA8;
    font-weight: 700;
}

.faq-item.active .faq-header .q-text,
.faq-item.active .faq-header .q-text .q-mark {
    color: #fff;
}

.faq-header .toggle-icon {
    color: #999;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-header .toggle-icon {
    transform: rotate(180deg);
    color: #fff;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 40px;
    opacity: 0;
}

.faq-item.active .faq-body {
    max-height: 400px;
    padding-bottom: 50px;
    opacity: 1;
    transition: max-height 0.3s ease-in, opacity 0.3s ease-in;
}

.faq-content {
    padding-top: 10px;
    margin-left: 24px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: var(--font-body);
    padding-top: 0;
}

@media (max-width: 768px) {
    .faq-title-wrap .main-tit {
        font-size: 2rem;
    }

    .faq-header {
        padding: 20px 20px;
    }

    .faq-body {
        padding: 0 20px;
    }

    .faq-header .q-text {
        font-size: 0.95rem;
        text-align: left;
        line-height: 1.5;
        padding-right: 10px;
        align-items: baseline;
    }

    .faq-content {
        margin-left: 0;
        padding: 0 28px;
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .faq-item {
        border-radius: 25px;
    }

    .faq-item.active .faq-body {
        padding-bottom: 25px;
    }
}

/* ========================================
   Location Section
======================================== */
.location-sect {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    position: relative;
    overflow: hidden;
    width: 100%;
    border-top: 1px solid #eee;
}

.location-sect .map-wrap {
    width: 50%;
    position: relative;
    min-height: 600px;
    background: #f0f2f5;
}

.location-sect .map-wrap iframe,
.location-sect .map-wrap #map {
    width: 100%;
    height: 100%;
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.location-sect .info-wrap {
    width: 50%;
    padding: 100px calc((100% - 1400px) / 2) 100px 110px;
    background: #fff;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.location-sect .addr-tit {
    font-size: var(--font-h3);
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 50px;
    line-height: 1.4;
    word-break: keep-all;
}

.transport-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 50px;
}

.transport-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.transport-item .label {
    display: inline-block;
    background: #3970AC;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
}

.transport-item .desc {
    font-size: var(--font-body);
    color: #1c1c1c;
    line-height: 1.6;
    margin-top: 2px;
    word-break: keep-all;
}

.map-btns {
    display: flex;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.map-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 50px;
    background: #fff;
    color: #1c1c1c;
    font-weight: 500;
    font-size: var(--font-body-sm);
    text-decoration: none;
    transition: all 0.2s ease;
}

.map-btn img {
    height: 18px;
    width: auto;
    object-fit: contain;
}

.map-btn:hover {
    border-color: #3970ac;
    color: #3970ac;
    background: #f8fbff;
}

.tel-info {
    margin-bottom: 55px;
}

.tel-info .label {
    display: block;
    font-size: var(--font-body);
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 0;
}

.tel-info .number {
    font-size: clamp(32px, 5vw, 65px);
    font-weight: 600;
    color: #1c1c1c;
    letter-spacing: 0.02em;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.hours-container {
    display: flex;
    gap: 80px;
}

.hours-col .col-tit {
    display: inline-block;
    background: #3970AC;
    color: #fff;
    font-size: var(--font-body-sm);
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    width: 75px;
    text-align: center;
}

.hours-list li {
    display: flex;
    font-size: var(--font-body);
    color: #1c1c1c;
    margin-bottom: 6px;
    gap: 20px;
}

.hours-list li .day {
    font-weight: 600;
    color: #1c1c1c;
    min-width: 60px;
}

@media (max-width: 1440px) {
    .location-sect .info-wrap {
        padding-right: 40px;
    }
}

@media (max-width: 1024px) {
    .location-sect {
        flex-direction: column;
    }

    .location-sect .info-wrap {
        width: 100%;
        padding: 60px 24px;
    }

    .location-sect .map-wrap {
        width: 100%;
        min-height: 400px;
        order: -1;
    }
}

@media (max-width: 768px) {

    /* 전화번호 크기 축소 */
    .tel-info .number {
        font-size: 32px;
        letter-spacing: 0;
    }

    .tel-info {
        margin-bottom: 35px;
    }

    /* 진료시간 1단 레이아웃 */
    .hours-container {
        flex-direction: column;
        gap: 30px;
    }

    .hours-col {
        width: 100%;
    }

    .hours-col .col-tit {
        margin-bottom: 10px;
    }

    .hours-list li {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .location-sect .info-wrap {
        padding: 40px 20px;
    }

    /* 지도 컨테이너 모바일 높이 */
    .location-sect .map-wrap {
        min-height: 300px;
        height: 300px;
    }

    .location-sect .map-wrap #map {
        width: 100%;
        height: 100%;
    }

    .location-sect .addr-tit {
        font-size: 18px;
        margin-bottom: 20px;
    }

    /* 대중교통/주차안내 박스 조정 */
    .location-sect .transport-list {
        margin-bottom: 20px;
        gap: 12px;
    }

    .transport-item {
        gap: 10px;
    }

    .transport-item .label {
        font-size: 12px;
        padding: 3px 6px;
        min-width: 52px;
    }

    .transport-item .desc {
        font-size: 13px;
        line-height: 1.5;
    }

    /* 지도 버튼 2x2 그리드 레이아웃 */
    .location-sect .map-btns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 30px;
    }

    .map-btn {
        justify-content: center;
        padding: 10px 12px;
        font-size: 13px;
    }

    .map-btn img {
        height: 16px;
    }
}

/* ========================================
   Footer Styles
======================================== */
.site-footer {
    background: #272932;
    padding: 80px 24px 200px;
    /* Default with banner open */
    transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-footer.banner-closed {
    padding-bottom: 80px;
    /* Reduced padding when banner closed */
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-left {
    flex: 1;
    min-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo img {
    height: 40px;
    width: auto;
    mix-blend-mode: luminosity;
}

.footer-logo .logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.footer-logo .logo-text .logo-sub {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

.footer-info {
    color: #9a9a9a;
    font-size: var(--font-body-sm);
    line-height: 1.8;
}

.footer-info p {
    margin-bottom: 4px;
}

.footer-info .address {
    margin-bottom: 4px;
}

.footer-info .contact span {
    margin-right: 12px;
}

.footer-info .contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-info .contact a:hover {
    color: #fff;
}

.footer-copyright {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.footer-copyright .design-credit {
    margin-left: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-copyright .design-credit:hover {
    color: rgba(255, 255, 255, 0.5);
}

.footer-right {
    display: flex;
    gap: 24px;
    align-items: center;
}

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

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: var(--font-body-sm);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-nav a.highlight {
    color: #fff;
    font-weight: 500;
}

.footer-nav a.highlight:hover {
    color: #8dc4f0;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 20px 280px 20px;
        /* Default with banner open */
        transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .site-footer.banner-closed {
        padding-bottom: 40px;
        /* Reduced padding when banner closed */
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
    }

    .footer-right {
        width: 100%;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer-nav a {
        font-size: 0.8rem;
    }

    .footer-copyright {
        font-size: 10px;
    }
}

/* ========================================
   Process Section (Sticky Scroll)
======================================== */
.process-sect {
    padding: clamp(60px, 10vw, 120px) 0 0;
    position: relative;
    /* overflow: hidden; Removed to allow sticky positioning */
}

/* Background Text Decoration */
.process-sect .bg-text {
    position: absolute;
    top: -100px;
    left: -10px;
    font-size: clamp(60px, 12vw, 160px);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: #999;
    opacity: 0.1;
    letter-spacing: -5px;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

.process-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Header */
.process-header {
    margin-bottom: clamp(40px, 6vw, 80px);
}

.process-header h2 {
    font-size: var(--font-h1);
    font-weight: 700;
    color: #1c1c1c;
    line-height: 1.5;
    margin-bottom: 16px;
}

.process-header p {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    color: #666;
    font-weight: 500;
}

/* Sticky Container */
.process-container {
    display: flex;
    align-items: flex-start;
    /* Important for sticky */
    gap: 100px;
}

/* Left: Sticky Image Area */
.process-left {
    width: 50%;
    position: sticky;
    top: 150px;
    /* Stick position */
    height: auto;
    aspect-ratio: 3/2;
}

.process-img-box {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.process-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease;
    transform: scale(1.05);
}

.process-img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* Right: Scrolling Text List */
.process-right {
    width: 55%;
    padding-top: 50px;
    /* Offset to align first item */
    padding-bottom: 150px;
    /* Space at bottom */
}

.process-step {
    margin-bottom: clamp(100px, 18vw, 250px);
    /* Space between steps for scroll duration */
    opacity: 0.3;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(20px);
}

.process-step.last {
    margin-bottom: 0;
}

.process-step.active {
    opacity: 1;
    transform: translateY(0);
}

.step-num {
    display: inline-block;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 8px;
    border-radius: 20px;
    margin-bottom: 20px;
    width: 35px;
    text-align: center;
}

.step-tit {
    font-size: clamp(1.1rem, 2vw, var(--font-h2));
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 20px;
    line-height: 1.3;
}

.step-desc-list {
    list-style: none;
}

.step-desc-list li {
    position: relative;
    padding-left: 12px;
    font-size: var(--font-body-sm);
    color: #666;
    line-height: 1.7;
    margin-bottom: 8px;
}

.step-desc-list li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #999;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 1024px) {
    .process-sect .bg-text {
        display: none;
    }

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

    .process-left {
        width: 100%;
        position: relative;
        top: 0;
        height: auto;
        aspect-ratio: 3/2;
        margin-bottom: 40px;
    }

    .process-right {
        width: 100%;
        padding-top: 0;
        padding-bottom: 0;
    }

    .process-step {
        margin-bottom: 60px;
        opacity: 1;
        /* Always visible on mobile */
        transform: none;
    }
}

/* ========================================
   Hero Bottom Marquee (Infinite Flow)
======================================== */
.hero-marquee-sect {
    padding: clamp(60px, 10vw, 130px) 0;
    background: #fff;
    overflow: hidden;
    width: 100%;
}

.marquee-row {
    display: flex;
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
}

.marquee-row:last-child {
    margin-bottom: 0;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 30px;
    width: max-content;
    will-change: transform;
}

/* Scroll Direction Animation */
.marquee-track.scroll-right {
    animation: marqueeResultRevert 60s linear infinite;
}

.marquee-track.scroll-left {
    animation: marqueeResult 60s linear infinite;
}

@keyframes marqueeResult {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeResultRevert {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Items */
.hm-item {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hm-text-pill {
    background: #EDF1FA;
    color: #14459D;
    font-size: var(--font-body);
    font-weight: 650;
    padding: 16px 32px;
    border-radius: 50px;
    white-space: nowrap;
}

.hm-img-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.hm-img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-marquee-sect {
        padding: 40px 0;
    }

    .hm-text-pill {
        font-size: 0.9rem;
        padding: 12px 24px;
    }

    .hm-img-circle {
        width: 60px;
        height: 60px;
    }

    .marquee-track {
        gap: 20px;
    }

    .hm-item {
        gap: 20px;
    }
}

.location-sect .watermark-text {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(60px, 10vw, 120px);
    font-weight: 700;
    letter-spacing: -5px;
    color: #F8F8F8;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

@media (max-width: 1440px) {
    .location-sect .watermark-text {
        font-size: 100px;
        right: 15px;
    }
}

@media (max-width: 1024px) {
    .location-sect .watermark-text {
        display: none;
    }
}

/* Fixed Bottom Banner - 10 Second Consultation */
.fixed-bottom-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transform: translateY(0);
    /* Initially Open */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fixed-bottom-banner.closed {
    transform: translateY(100%);
    /* Slide down to close */
}

/* Toggle Button Container */
.fixed-bottom-banner .toggle-btn-wrap {
    position: absolute;
    bottom: 100%;
    /* Position ON TOP of the banner */
    left: 0;
    width: 100%;
    height: auto;
    display: flex;
    /* Ensure it takes space? or justify content */
    justify-content: center;
    /* Center the button */
    pointer-events: none;
    /* Let clicks pass through if needed, but button needs events */
}

/* The distinct tab style toggle */
/* The distinct tab style toggle */
.fixed-bottom-banner .toggle-btn {
    pointer-events: auto;
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 0 auto;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(-45deg, #1e5ba9, #3a7bd5, #2b558f, #1e5ba9);
    background-size: 400% 400%;
    color: #fff;
    padding: 18px 80px;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    animation: gradientMove 6s ease infinite;
    border: none;
    outline: none;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.fixed-bottom-banner .toggle-btn:active {
    transform: none;
    box-shadow: none;
}

.fixed-bottom-banner .toggle-btn .icon {
    transition: transform 0.3s ease;
}

.fixed-bottom-banner.closed .toggle-btn .icon {
    transform: rotate(180deg);
}

/* Keyframes for smooth gradient animation */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Main Content Area */
/* Main Content Area */
.fixed-bottom-banner .banner-content {
    /* Reset previous transforms */
    transform: none;
    background-color: #3970AC;
    color: #fff;
    padding: 24px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile Header (Hidden on Desktop) */
.mobile-banner-header {
    display: none;
}

.fixed-bottom-banner .submit-btn.mobile-only {
    display: none;
}

.fixed-bottom-banner .content-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

/* Left Side: Title & Phone */
.fixed-bottom-banner .left-info {
    display: flex;
    flex-direction: column;
}

.fixed-bottom-banner .left-info .label {
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: var(--font-body);
    padding: 2px 23px;
    margin-bottom: 5px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
}

.fixed-bottom-banner .left-info .phone {
    font-size: clamp(32px, 4vw, 45px);
    font-weight: 650;
    line-height: 1.2;
}

/* Right Side: Form (Simplified for visual) */
.fixed-bottom-banner .quick-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.fixed-bottom-banner .input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fixed-bottom-banner .form-input {
    height: 48px;
    padding: 0 15px;
    border: none;
    font-size: var(--font-body-lg);
    width: 300px;
}

.fixed-bottom-banner .submit-btn {
    height: 50px;
    padding: 0 30px;
    background: #1c1c1c;
    color: #fff;
    border: none;
    font-size: var(--font-body-lg);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    width: 200px;
}

.fixed-bottom-banner .privacy-check {
    color: #fff;
    font-size: var(--font-body-sm);
    margin-bottom: 5px;
    display: flex;
    align-items: right;
    gap: 6px;
    align-self: flex-end;
}

@media (max-width: 1024px) {
    .fixed-bottom-banner .content-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .fixed-bottom-banner .quick-form {
        width: 100%;
        align-items: stretch;
    }

    .fixed-bottom-banner .input-row {
        width: 100%;
        display: flex;
        gap: 8px;
    }

    .fixed-bottom-banner .form-input {
        flex: 1;
        min-width: 120px;
    }
}

/* 768px 이하: 반응형 모바일 스타일 */
@media (max-width: 768px) {

    /* Restore Original Background Color */
    .fixed-bottom-banner .banner-content {
        background-color: #3970AC;
        padding: 0;
        box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
    }

    /* Tab styles for mobile */
    .fixed-bottom-banner .toggle-btn-wrap {
        display: none;
        /* Hide the tab when mobile header is used or keep it only for closed state? Image implies it's open */
    }

    /* Reveal tab ONLY when closed on mobile */
    .fixed-bottom-banner.closed .toggle-btn-wrap {
        display: flex;
    }

    /* Mobile Header Styling */
    .mobile-banner-header {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        padding: 15px 0;
    }

    .mobile-banner-header .m-title {
        color: #fff;
        font-size: clamp(18px, 4vw, 22px);
        font-weight: 700;
        margin: 0;
    }

    .mobile-banner-header .m-close-btn {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
    }

    .mobile-banner-header .m-close-btn .x {
        font-size: 24px;
        line-height: 1;
        font-weight: 300;
    }

    .mobile-banner-header .m-close-btn .txt {
        font-size: 11px;
        font-weight: 600;
        margin-top: 2px;
    }

    .fixed-bottom-banner .content-inner {
        flex-direction: column;
        padding: 0 15px 15px;
        gap: 12px;
    }

    /* Hide Desktop Info */
    .fixed-bottom-banner .left-info {
        display: none;
    }

    .fixed-bottom-banner .quick-form {
        width: 100%;
        gap: 8px;
    }

    /* Inputs Side-by-Side */
    .fixed-bottom-banner .input-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    .fixed-bottom-banner .form-input {
        width: 100%;
        height: 45px;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 4px;
        font-size: 16px;
        text-align: left;
        padding: 0 15px;
        color: #333;
    }

    .fixed-bottom-banner .form-input::placeholder {
        color: #888;
        font-weight: 400;
    }

    /* Privacy Check below inputs */
    .fixed-bottom-banner .privacy-check {
        font-size: 13px;
        align-self: flex-start;
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 5px 0 10px;
        color: #fff;
        font-weight: 500;
    }

    .fixed-bottom-banner .privacy-check input[type="checkbox"] {
        width: 20px;
        height: 20px;
        accent-color: #333;
    }

    /* Submit Button at Bottom */
    .fixed-bottom-banner .submit-btn.desktop-only {
        display: none;
    }

    .fixed-bottom-banner .submit-btn.mobile-only {
        display: block;
        width: 100%;
        height: 50px;
        background: #1c1c1c;
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        border-radius: 4px;
        margin-top: 0;
    }

    /* Other Adjustments to match image density */
    .site-footer {
        padding-bottom: 240px;
        /* Adjust footer padding for larger mobile banner */
    }
}

/* Why Section Images */
.why-sect .slide-item .img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Toast Notification (Modal Style)
======================================== */
#toast-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#toast-overlay.show {
    opacity: 1;
    visibility: visible;
}

.toast-modal {
    background: #fff;
    padding: 40px 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    max-width: 320px;
    width: 90%;
}

#toast-overlay.show .toast-modal {
    transform: scale(1);
}

.toast-modal .toast-message {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.5;
}

.toast-modal .toast-confirm-btn {
    background: #333;
    border: 1.5px solid #333;
    color: #fff;
    padding: 12px 50px;
    border-radius: 35px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toast-modal .toast-confirm-btn:hover {
    background: #333;
    color: #fff;
}

/* ========================================
   Side Quick Menu
======================================== */
.side-quick-menu {
    position: fixed;
    bottom: 160px;
    /* Above the bottom banner */
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-btn {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.quick-btn:hover {
    transform: translateY(-5px);
}

.quick-btn.naver {
    background: linear-gradient(139deg, #01DA00, #38D0EF, #01DA00);
    background-size: 200% 200%;
    animation: gradientMove 4s ease infinite;
    border: none;
}

.quick-btn.naver .icon svg {
    width: 100%;
    height: auto;
}

.quick-btn.naver span {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.quick-btn.to-top {
    background: #fff;
    border: 1.5px solid #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quick-btn.to-top .icon {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .side-quick-menu {
        bottom: 240px;
        right: 15px;
        gap: 8px;
        transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .side-quick-menu.banner-closed {
        bottom: 80px;
    }

    .quick-btn {
        width: 70px;
        height: 70px;
    }

    .quick-btn.naver .icon {
        width: 24px;
    }

    .quick-btn.naver span {
        font-size: 10px;
    }

    .quick-btn.to-top .icon {
        width: 20px;
        height: 20px;
    }
}