/* Suho Neurosurgery Design System */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

:root {
    /* Colors */
    --primary-color: #bd9865;
    /* Gold/Beige */
    --primary-dark: #8c6b3d;
    /* Darker Gold */
    --secondary-color: #f2eae0;
    /* Light Cream */
    --accent-color: #8c6b3d;
    /* Matching Accent */
    --text-dark: #3e3328;
    /* Warm Dark Brown */
    --text-medium: #6b5c4d;
    /* Warm Medium Brown */
    --text-light: #9e8f80;
    --white: #ffffff;
    --border-color: #e6dcd3;
    --success-color: #28a745;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;

    /* Typography */
    --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    padding-top: var(--header-height);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

.gap-40 {
    gap: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .mobile-hidden {
        display: none;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 40px;
    font-size: 16px;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--text-dark);
    border-color: white;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
}

.header-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    /* Adjust based on header height */
    width: auto;
    object-fit: contain;
    margin-bottom: 4px;
}

.logo-sub {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-medium);
    letter-spacing: -0.2px;
}

.nav-links {
    display: flex;
    gap: 45px;
    margin-left: auto;
    margin-right: 40px;
}

.nav-links a {
    font-weight: 600;
    font-size: 18px;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/수호신경외과사진.jpg') no-repeat center center/cover;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 0;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Common */
section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--secondary-color);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.section-title span {
    color: var(--primary-color);
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.card-text {
    color: var(--text-medium);
    font-size: 16px;
    line-height: 1.6;
}

/* Staff Layout */
.staff-card {
    display: flex;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.staff-img {
    width: 350px;
    object-fit: cover;
}

.staff-info {
    padding: 40px;
    flex: 1;
}

.staff-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.staff-position {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 20px;
    display: block;
}

.staff-history li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
    color: var(--text-medium);
}

.staff-history li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Spine Center Tab Layout */
/* Spine & Ultrasound Center Tab Layout */
.spine-section,
.ultrasound-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.spine-header,
.ultrasound-header {
    text-align: center;
    margin-bottom: 60px;
}

.spine-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 60px;
}

.ultrasound-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 60px;
}

.spine-tab-btn,
.ultrasound-tab-btn {
    padding: 15px 40px;
    border-radius: 30px;
    background: white;
    border: 1px solid #e0e0e0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spine-tab-btn:hover,
.spine-tab-btn.active,
.ultrasound-tab-btn:hover,
.ultrasound-tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(189, 152, 101, 0.3);
}

.spine-content-wrapper,
.ultrasound-content-wrapper {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* Reduced width and centered per user request */
    max-width: 1000px;
    margin: 0 auto;
    /* Reduced height constraint */
    min-height: auto;
}

.spine-text-area,
.ultrasound-text-area {
    /* Golden Ratio: Text area gets ~62% */
    flex: 1.618;
    padding: 30px 40px;
    /* Adjusted padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spine-img-area,
.ultrasound-img-area {
    /* Golden Ratio: Image area gets ~38% */
    flex: 1;
    background-color: #eee;
    position: relative;
    min-height: 350px;
    /* Ensure minimum height for image */
}

.spine-img-area img,
.ultrasound-img-area img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spine-num,
.ultrasound-num {
    font-size: 80px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
    opacity: 0.2;
}

.spine-title-group,
.ultrasound-title-group {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
    top: -40px;
    /* Overlap with number */
}

.spine-title,
.ultrasound-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
}

.spine-subtitle,
.ultrasound-subtitle {
    font-size: 16px;
    color: var(--text-medium);
    font-weight: 500;
}

.spine-desc,
.ultrasound-desc {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 40px;
    border-top: 2px solid var(--border-color);
    padding-top: 30px;
}

.spine-features,
.ultrasound-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.spine-feature-item,
.ultrasound-feature-item {
    background: #f8f9fa;
    padding: 15px 20px;
    border-left: 4px solid var(--primary-color);
    color: var(--text-dark);
    font-weight: 500;
}

/* Tab Content Visibility */
.spine-tab-content,
.ultrasound-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.spine-tab-content.active,
.ultrasound-tab-content.active {
    display: flex;
    width: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {

    .spine-content-wrapper,
    .ultrasound-content-wrapper,
    .spine-tab-content.active,
    .ultrasound-tab-content.active {
        flex-direction: column;
    }

    .spine-img-area,
    .ultrasound-img-area {
        height: 300px;
        order: -1;
        /* Image on top on mobile */
    }

    .spine-text-area,
    .ultrasound-text-area {
        padding: 40px 20px;
    }

    .spine-title-group,
    .ultrasound-title-group {
        top: -30px;
    }

    .spine-num,
    .ultrasound-num {
        font-size: 60px;
    }
}

.staff-section-v2 {
    background: white;
    padding: 80px 0;
}

.staff-header {
    margin-bottom: 60px;
}

.staff-header-sub {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.staff-header-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
}

.staff-header-title span {
    color: var(--primary-color);
}

.staff-profile-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Center vertically or align-start depending on image */
    margin-bottom: 80px;
    border-bottom: 1px solid #eee;
    padding-bottom: 60px;
    position: relative;
}

.staff-profile-container:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.staff-text-col {
    flex: 1;
    padding-right: 50px;
    z-index: 2;
}

.staff-img-col {
    flex: 0 0 450px;
    /* Fixed width for image container */
    position: relative;
    z-index: 1;
}

.staff-name-large {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

.staff-role {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.staff-specialty {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 40px;
    font-weight: 500;
}

.staff-eng-name {
    font-size: 40px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    /* Slightly more visible but smaller */
    position: absolute;
    top: -20px;
    left: 0;
    z-index: 0;
    /* Move to 0 so it's behind text if text has higher z, but currently text might be transparent? */
    /* Actually z-index -1 is better to stay behind. */
    z-index: -1;
    white-space: nowrap;
    line-height: 1;
}

.staff-history-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--text-dark);
    display: inline-block;
    padding-bottom: 5px;
}

.staff-history-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two columns for history if items are many */
    gap: 15px 40px;
}

.staff-history-list li {
    font-size: 15px;
    color: var(--text-medium);
    position: relative;
    padding-left: 12px;
}

.staff-history-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
}

.staff-full-img {
    width: 100%;
    height: 600px;
    /* Enforce consistent height */
    object-fit: cover;
    /* Prevent skimming/squashing */
    object-position: top;
    /* Focus on faces */
    /* border-radius: 20px; Optional: Reference looks cutout or clean. Let's keep it clean. */
    /* If cutout request, we need transparent pngs. Assuming JPGs are rectangular. */
    border-radius: 0 50px 0 50px;
    /* Stylish radius */
    box-shadow: 20px 20px 0 var(--secondary-color);
    /* Decorative shadow/offset */
}

@media (max-width: 900px) {
    .staff-profile-container {
        flex-direction: column;
        text-align: left;
    }

    .staff-text-col {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .staff-img-col {
        flex: auto;
        width: 100%;
        max-width: 400px;
    }

    .staff-history-list {
        grid-template-columns: 1fr;
    }

    .staff-name-large {
        font-size: 36px;
    }

    .staff-eng-name {
        font-size: 50px;
        top: -20px;
    }
}

/* Footer */
footer {
    background: #2c3e50;
    color: #bdc3c7;
    padding: 60px 0 30px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    font-size: 24px;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 14px;
}

.copyright {
    border-top: 1px solid #34495e;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

/* Cooperation Section Styles */
.cooperation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cooperation-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.coop-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.coop-card {
    background: white;
    padding: 25px;
    /* Slightly reduced padding for tighter look */
    border-radius: 8px;
    /* Reduced from 16px for modern look */
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 110px;
    /* Slightly more compact */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smoother transition */
    position: relative;
    overflow: hidden;
}

.coop-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    /* Softer, larger shadow */
    transform: translateY(-5px);
}

/* Subtle modern effect on hover */
.coop-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.coop-card:hover::after {
    opacity: 0.3;
}

.coop-card img {
    max-width: 80%;
    /* Ensure logos have breathing room */
    max-height: 45px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s;
}

.coop-card:hover img {
    /* No transformation */
}

.coop-name {
    text-align: center;
    font-size: 15px;
    color: var(--text-dark);
    /* Darker for better readability */
    font-weight: 600;
    /* Bolder text for modern typography */
    letter-spacing: -0.02em;
    /* Tight typography */
}

.coop-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Info Banner (New Card Layout) */
.info-card-section {
    padding-bottom: 100px;
    margin-top: -60px;
    /* Overlap with previous section slightly if needed, or just standard */
    margin-top: 60px;
}

.info-header-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: left;
}

.info-card-wrapper {
    display: flex;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    /* Reference box is sharp or slight radius. Let's go sharp/minimal */
}

.info-hours-panel {
    width: 400px;
    background-color: #bd9865;
    /* Primary styling color */
    color: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
}

.info-hours-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 20px;
}

.info-time-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    font-size: 16px;
}

.info-time-label {
    font-weight: 700;
    width: 80px;
}

.info-time-value {
    flex: 1;
    text-align: right;
    font-weight: 400;
}

.info-time-sub {
    display: block;
    font-size: 13px;
    margin-top: 5px;
    opacity: 0.8;
}

.info-phone-box {
    background-color: var(--text-dark);
    padding: 20px;
    text-align: center;
    margin-top: 40px;
}

.info-phone-num {
    font-size: 24px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.info-phone-label {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 5px;
    display: block;
}

.info-map-panel {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.info-map-panel iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.info-address-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px 30px;
    border-top: 1px solid #eee;
}

.info-addr-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 900px) {
    .info-card-wrapper {
        flex-direction: column;
    }

    .info-hours-panel {
        width: 100%;
        padding: 40px 20px;
    }

    .info-map-panel {
        height: 300px;
    }
}

/* Treatment Detail Page Styles */
.treatment-detail-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

.t-detail-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 15px;
}

.t-detail-title .subtitle {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-light);
    margin-left: 10px;
}

.t-detail-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
}

.t-detail-desc {
    margin-bottom: 15px;
    font-weight: 500;
}

.t-detail-sub {
    color: var(--text-medium);
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
}

.highlight {
    color: var(--primary-dark);
    font-weight: 700;
    background: rgba(189, 152, 101, 0.1);
    padding: 0 4px;
}

/* Spine & Joint Center (Treatment) Section - Restoring Missing Styles */
.treatment-section {
    background-color: var(--text-dark);
    color: white;
    padding: 80px 0;
}

.treatment-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    color: white;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.treatment-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    height: 100%;
}

.treatment-item-link .treatment-item {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    height: 100%;
}

.treatment-item-link:last-child .treatment-item {
    border-right: none;
}

.treatment-item {
    text-align: center;
    padding: 0 20px;
    position: relative;
    border-right: none;
}

.treatment-num {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    font-size: 14px;
    padding: 5px 12px;
    border-radius: 2px;
    margin-bottom: 25px;
}

.treatment-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.treatment-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: 300;
}

/* Dark Button Fix */
.btn-dark-mode {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-dark-mode:hover {
    background-color: var(--primary-color);
    color: white;
}

@media (max-width: 900px) {
    .treatment-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 50px;
    }

    .treatment-item-link:nth-child(2) .treatment-item {
        border-right: none;
    }

    .treatment-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding-bottom: 30px;
    }

    .treatment-item-link:nth-last-child(-n+2) .treatment-item {
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    .treatment-grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .treatment-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .treatment-item-link:last-child .treatment-item {
        border-bottom: none;
    }
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    background-color: white;
    overflow: hidden;
    text-decoration: none;
}

.floating-btn:hover {
    transform: translateY(-5px);
}

.floating-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Specific Banner Colors */
.floating-btn[title="유튜브 채널"] {
    background-color: white;
    /* Base */
}

.floating-btn[title="유튜브 채널"] img {
    background-color: #ff0000;
    /* Red background for the image itself as requested */
    border-radius: 50%;
    /* Ensure it stays circular if the image is square */
    padding: 12px;
}

/* Floating Banner Container */
.floating-banner {
    position: fixed;
    bottom: 50px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Scroll Animation Keyframes */
@keyframes bounceMove {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Animation Class applied via JS */
.floating-banner.scrolling .floating-btn {
    animation: bounceMove 0.6s ease infinite;
}

/* Specialness Section */
.specialness-section {
    padding: 80px 0;
    background-color: var(--white);
}

.specialness-header {
    margin-bottom: 50px;
}

.specialness-sub {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-medium);
    margin-bottom: 10px;
}

.specialness-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
}

.specialness-title span {
    color: var(--text-dark);
    border-bottom: 4px solid var(--primary-color);
}

.specialness-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.special-card {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    overflow: hidden;
}

.special-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.special-card:hover img {
    transform: scale(1.05);
}

/* Gradient Overlay */
.special-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    pointer-events: none;
}

.special-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    color: white;
}

.special-card-sub {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.special-card-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .specialness-grid {
        grid-template-columns: 1fr;
    }
}

/* Location Section Styles */
.location-card {
    padding: 40px;
    height: 100%;
}

.location-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.location-subtitle {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.location-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-medium);
}

/* Video Section Styles */
.video-section {
    padding: 80px 0;
    background-color: var(--white);
    /* Alternating background */
}

.section-desc {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.6;
}

/* New Location Layout Styles */
.location-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.location-map-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Make it square */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.location-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.location-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    /* Ensure it fills the grid cell */
}

.location-info-wrapper .location-card {
    height: auto;
    /* Reset height: 100% from global class */
}

/* First card (Address & Hours) takes remaining space */
.location-info-wrapper .location-card:first-child {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Contact Card Special Style - "예 약 하 기" button look */
.contact-card {
    background-color: var(--primary-color);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    padding: 20px !important;
    /* Reduce padding significantly */
    flex: 0 0 auto;
    /* Don't grow */
}

.contact-card:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

.contact-card .location-title {
    color: white;
    font-size: 24px;
    /* Smaller text */
    margin-bottom: 5px;
}

.contact-card .location-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 16px;
    /* Smaller text */
}



.contact-phone-hidden {
    display: none;
    /* Hide phone number details for simple button look per request */
}

@media (max-width: 900px) {
    .location-content {
        grid-template-columns: 1fr;
    }

    .location-map-wrapper {
        min-height: 300px;
        height: 300px;
    }
}

/* Cooperation Section (New Layout) */
.coop-layout-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.coop-top-tier {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.coop-sub-tier {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.coop-item {
    text-align: center;
}

.coop-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
    background: #fff;
    margin-bottom: 15px;
}

/* Large Cards (Top Tier) */
.coop-large .coop-card {
    height: 160px;
    padding: 20px;
    /* Removed padding-top for center alignment */
}

.coop-large .coop-card img {
    max-height: 80px;
    width: auto;
}

.coop-large .coop-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Small Cards (Sub Tier) */
.coop-small .coop-card {
    height: 100px;
    padding: 15px;
}

.coop-small .coop-card img {
    max-height: 50px;
    width: auto;
}

.coop-small .coop-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-gray);
}


.coop-card:hover {
    border-color: var(--primary-color);
}

.coop-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-color);
    color: white;
    font-size: 13px;
    padding: 4px 8px;
    border-bottom-right-radius: 8px;
    font-weight: 600;
    z-index: 2;
    letter-spacing: -0.5px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-icon-small {
    height: 16px;
    width: auto;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.2));
    margin-right: 2px;
}

/* Specific Logo Adjustments */
.logo-severance img {
    max-height: 65px !important;
    /* Unified size */
}

.logo-snuh img {
    max-height: 65px !important;
    /* Unified size */
}


@media (max-width: 768px) {
    .coop-top-tier {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .coop-sub-tier {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .coop-large .coop-card {
        height: 140px;
    }
}

/* Mobile Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu-container {
    position: absolute;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: white;
    padding: 80px 30px 30px;
    transition: all 0.3s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-overlay.active .mobile-menu-container {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-links a {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.mobile-nav-links a.btn-primary {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    border-bottom: none;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .mobile-hidden {
        display: none !important;
    }
}

/* Staff Section - Mobile specific stack layout */
@media (max-width: 900px) {
    .staff-profile-container {
        flex-direction: column;
    }

    .staff-text-col {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        padding-right: 0 !important;
    }

    /* Im Young-jun */
    .staff-text-col .staff-unique-block:first-child {
        width: 100% !important;
        margin-bottom: 60px;
        padding-bottom: 60px;
        border-bottom: 1px solid #eee;
    }

    /* Im Hyun-ji */
    .staff-text-col .staff-unique-block:nth-child(2) {
        width: 100% !important;
        /* Full width text */
        margin-bottom: 40px;
    }

    /* Image */
    .staff-img-col {
        width: 100% !important;
        display: flex;
        justify-content: center;
        margin-top: 0 !important;
        margin-left: 0 !important;
        flex: auto !important;
    }

    .staff-full-img {
        width: 100%;
        max-width: 400px;
        /* Limit width if needed */
        height: auto !important;
        aspect-ratio: 3/4;
        /* Maintain portrait aspect ratio */
        border-radius: 0 50px 0 50px !important;
    }
}