:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --text-color: #333;
    --background-color: #f4f4f4;
    --clinic-blue: #063f96;
    --clinic-blue-dark: #052d6b;
    --clinic-blue-light: #eef5ff;
    --clinic-green: #16c85d;
    --clinic-border: #dce6f3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 전체 화면을 사용하도록 설정 */
html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    padding-top: 76px;
    overflow-x: hidden;
    overflow-y: auto; /* 세로 스크롤 문제 해결 */
    viewport-fit: cover; /* 전체 화면을 사용할 수 있도록 설정 */
}

header {
    background-color: #f8f9fa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    max-width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
}

.buttons {
    display: flex;
    margin-top: 1rem;
}

.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    margin-left: 1rem;
}

.btn-call {
    background-color: var(--primary-color);
}

.btn-lang {
    background-color: var(--secondary-color);
}

.btn-whatsapp {
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp i {
    margin-right: 5px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    background-image: url('hero-image.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 8rem 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    margin-bottom: 1rem;
}

.services ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.services li {
    background-color: #fff;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
    z-index: 1100;
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    margin-top: 10px;
}

.slider {
    display: flex;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

.slide.active {
    opacity: 1;
}

.slider-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    color: #333;
    border: none;
    padding: 10px 20px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-nav button:hover {
    background: rgba(255, 255, 255, 0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

/* 1. 400px 이하 화면에서 로고 크기 조정 */
@media (max-width: 400px) {
    .logo-container {
        padding: 0.5rem;
    }

    .navbar-brand {
        max-height: 100px; /* 로고의 최대 높이 조정 */
        width: 80%; /* 비율을 유지하며 크기 조정 */
    }
}

/* 하단 플로팅 탭 버튼 한 줄로 정렬 */
.mobile-floating-buttons {
    display: flex;
    justify-content: space-around; /* 버튼 간 간격을 균등하게 분배 */
    align-items: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-x: hidden; /* 가로 스크롤 방지 */
    overflow-y: hidden; /* 세로 스크롤 방지 */
    flex-wrap: nowrap; /* 버튼이 한 줄에 고정되도록 설정 */
}

.mobile-floating-buttons .btn {
    flex: 1; /* 각 버튼의 크기를 동일하게 설정 */
    margin: 0 5px; /* 버튼 간의 간격 설정 */
    text-align: center; /* 버튼 텍스트를 가운데 정렬 */
    font-size: 0.75rem;
    padding: 0.5rem 0; /* 버튼 높이 조정 */
}

@media (max-width: 991px) {
    body {
        padding-top: 66px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    nav {
        flex-direction: column;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .buttons {
        margin-top: 1rem;
    }

    .mobile-floating-buttons {
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
    }

    header .buttons {
        display: none;
    }
}

@media (max-width: 750px) {
    .hero h1 {
        font-size: 2rem;
    }

    .slider-container {
        height: 250px;
    }

    .slide {
        object-fit: contain;
    }

    .slider-nav button {
        padding: 5px 10px;
        font-size: 18px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .hero-logo {
        max-height: 200px;
    }

    .mobile-floating-buttons {
        display: flex;
    }
}

/*mobile */
@media (max-width: 750px) {
    body {
        font-size: 14px; /* 모바일에 맞는 기본 폰트 크기 */
    }

    h1 {
        font-size: 1.5rem; /* 모바일에 적합한 제목 크기 */
    }

    h2 {
        font-size: 1.3rem;
    }

    .hero {
        padding: 4rem 1rem; /* 모바일에 적합한 패딩 조정 */
    }

    .logo img {
        height: 30px; /* 모바일에서 로고 크기 조정 */
    }

    .nav-links li {
        margin-left: 0.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .buttons .btn {
        font-size: 0.8rem; /* 모바일 버튼 폰트 크기 조정 */
        padding: 0.5rem 1rem;
    }

    .slider-container {
        height: 30vh; /* 모바일에서 슬라이더 높이 조정 */
    }

    .slide {
        object-fit: cover;
    }

    .mobile-floating-buttons {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 10px;
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.9);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .mobile-floating-buttons .btn {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    .logo-container {
        padding: 1rem;
    }

    .hero-logo {
        max-height: 150px;
    }
}

.navbar {
    max-width: 100%; /* 전체 화면 너비에 맞춤 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    overflow: hidden;
    flex-wrap: nowrap;
}

/* 토글 메뉴 숨기기 */
.navbar-toggler {
    display: none; /* 토글 버튼을 완전히 숨깁니다 */
}
.navbar-collapse {
    max-width: 100%; /* 화면에 맞게 조정 */
}

/* 화면 너비가 작은 모바일에 대한 추가 스타일 */
@media (max-width: 400px) {
    .navbar {
        padding: 0.5rem; /* 좁은 화면에서 여백 줄이기 */
    }

    .navbar-brand img {
        max-height: 40px; /* 로고 크기 조정 */
    }

    .nav-links a {
        font-size: 0.8rem; /* 메뉴 글자 크기 조정 */
    }
}

/* 구글 맵 스타일 */
#google-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

/* 로고 크기 조절 */
.logo-container {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1200px) {
    .logo-container {
        padding: 1rem;
    }

    .hero-logo {
        width: 100%;
        max-height: 200px;
    }
}

@media (max-width: 750px) {
    .logo-container {
        padding: 1rem;
    }

    .hero-logo {
        max-height: 150px;
    }
}

/* 유튜브 버튼 스타일 */
.btn-youtube {
    background-color: #FF0000; /* YouTube의 브랜드 색상 */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 1rem;
}

.btn-youtube:hover {
    background-color: #cc0000; /* Hover 시 약간 어두운 색상 */
}

/* BPH 섹션 스타일 */
#bph-info .card {
    transition: transform 0.3s ease;
}

#bph-info .card:hover {
    transform: translateY(-5px);
}

#bph-info .card-img-top {
    height: 250px;
    object-fit: cover;
}

#bph-info ul li {
    margin-bottom: 0.5rem;
}

#bph-info .bg-white {
    border-radius: 10px;
}

/* 2026 header refresh */
body {
    padding-top: 146px;
}

.site-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(6, 63, 150, 0.1);
    box-shadow: 0 8px 28px rgba(17, 49, 91, 0.08);
    backdrop-filter: blur(14px);
}

.header-main {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.site-header .navbar-brand {
    flex: 0 0 auto;
    margin: 0;
    width: auto !important;
    min-width: 0;
    max-height: none;
}

.site-header .navbar-brand img {
    display: block;
    width: auto;
    height: 50px;
    max-width: 300px;
    object-fit: contain;
}

.header-actions {
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    min-width: 0;
}

.header-action {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--clinic-border);
    border-radius: 999px;
    background: #fff;
    color: var(--clinic-blue-dark);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(7, 50, 112, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-action:hover {
    color: var(--clinic-blue);
    border-color: #adc8ed;
    box-shadow: 0 8px 22px rgba(7, 50, 112, 0.13);
    transform: translateY(-2px);
}

.header-action-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--clinic-blue-light);
    color: var(--clinic-blue);
    font-size: 15px;
}

.header-action-whatsapp .header-action-icon {
    background: #e8fff1;
    color: #128c4c;
}

.header-action-youtube .header-action-icon {
    background: #fff0f0;
    color: #e31b23;
}

.header-action-call {
    min-width: 174px;
    padding: 7px 14px 7px 8px;
    border-color: var(--clinic-blue);
    background: linear-gradient(135deg, var(--clinic-blue), #0758bd);
    color: #fff;
}

.header-action-call:hover {
    color: #fff;
    border-color: var(--clinic-blue-dark);
}

.header-action-call .header-action-icon {
    background: #fff;
    color: var(--clinic-blue);
}

.call-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.call-copy small {
    font-size: 10px;
    font-weight: 600;
    opacity: 0.82;
}

.call-copy strong {
    font-size: 14px;
    letter-spacing: 0.02em;
}

.header-nav.navbar {
    min-height: 58px;
    max-width: none;
    padding: 0;
    border-top: 1px solid #edf2f8;
    background: #fff;
    overflow: visible;
}

.header-nav .container {
    min-height: 58px;
}

.header-nav .navbar-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 48px;
}

.header-nav .nav-link {
    position: relative;
    padding: 17px 4px 15px !important;
    color: #1c2f4b;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.header-nav .nav-link::after {
    content: '';
    position: absolute;
    right: 50%;
    bottom: 8px;
    left: 50%;
    height: 2px;
    border-radius: 2px;
    background: var(--clinic-blue);
    transition: right 0.2s ease, left 0.2s ease;
}

.header-nav .nav-link:hover,
.header-nav .nav-link:focus {
    color: var(--clinic-blue);
}

.header-nav .nav-link:hover::after,
.header-nav .nav-link:focus::after {
    right: 0;
    left: 0;
}

.site-header .navbar-toggler {
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 1px solid var(--clinic-border);
    border-radius: 12px;
    background-color: #fff;
    color: var(--clinic-blue);
    font-size: 19px;
}

/* Right-side floating contact banner */
.contact-float {
    position: fixed;
    top: 52%;
    right: 22px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    transform: translateY(-50%);
}

.contact-float-button {
    width: 208px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 9px 8px 24px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 14px 30px rgba(6, 45, 107, 0.22);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-float-button i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #fff;
    font-size: 20px;
}

.contact-float-button:hover {
    color: #fff;
    box-shadow: 0 18px 36px rgba(6, 45, 107, 0.3);
    transform: translateX(-4px);
}

.contact-float-whatsapp {
    background: linear-gradient(135deg, #23d366, #09b84d);
}

.contact-float-whatsapp i {
    color: #17b957;
}

.contact-float-inquiry {
    background: linear-gradient(135deg, #0756bc, #053786);
}

.contact-float-inquiry i {
    color: var(--clinic-blue);
}

/* Mobile fixed quick menu */
.mobile-floating-buttons {
    min-height: 72px;
    display: flex;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: stretch;
    align-items: stretch;
    padding: 0;
    border-top: 1px solid #dfe8f3;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -10px 28px rgba(10, 43, 86, 0.12);
    overflow: hidden;
}

.mobile-quick-link {
    min-width: 0;
    flex: 1 1 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 9px 3px calc(8px + env(safe-area-inset-bottom));
    border-right: 1px solid #edf2f8;
    color: #35506f;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
}

.mobile-quick-link:last-child {
    border-right: 0;
}

.mobile-quick-link i {
    font-size: 20px;
}

.mobile-quick-link:hover,
.mobile-quick-link:focus {
    color: var(--clinic-blue);
    background: var(--clinic-blue-light);
}

.mobile-quick-whatsapp i { color: #17b957; }
.mobile-quick-call i { color: var(--clinic-blue); }
.mobile-quick-youtube i { color: #e31b23; }
.mobile-quick-korean i { color: #176bc4; }

/* Inquiry modal */
body.inquiry-open {
    overflow: hidden;
}

.inquiry-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.inquiry-modal.is-open {
    display: flex;
}

.inquiry-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 23, 44, 0.72);
    backdrop-filter: blur(7px);
}

.inquiry-dialog {
    position: relative;
    z-index: 1;
    width: min(1040px, 100%);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 20px;
    background: #f8fafc;
    box-shadow: 0 32px 86px rgba(2, 24, 55, 0.38);
    color: #1d3552;
    overscroll-behavior: contain;
}

.inquiry-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: rgba(7, 33, 69, 0.72);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.inquiry-close:hover {
    background: #0b4c9a;
}

.inquiry-close:active {
    transform: translateY(1px);
}

.inquiry-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
    min-height: 680px;
}

.inquiry-intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    padding: 54px 38px 42px;
    background: linear-gradient(160deg, #082b57 0%, #063f96 64%, #0755ad 100%);
    color: #fff;
}

.inquiry-eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: #a9d2ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.inquiry-intro h2 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(26px, 2.55vw, 35px);
    font-weight: 800;
    line-height: 1.22;
}

.inquiry-intro-copy {
    margin: 0;
    color: #d5e7fb;
    font-size: 14px;
    line-height: 1.7;
}

.inquiry-intro-note {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    color: #d5e7fb;
    font-size: 13px;
    line-height: 1.55;
}

.inquiry-intro-note i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
}

.inquiry-content {
    padding: 42px 46px 46px;
    background: #f8fafc;
}

.inquiry-content-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid #153e70;
}

.inquiry-content-heading strong {
    color: #102f55;
    font-size: 18px;
}

.inquiry-content-heading span {
    color: #66788e;
    font-size: 12px;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.inquiry-section {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0 0 24px;
    border: 0;
    border-bottom: 1px solid #dce5ef;
}

.inquiry-section-last {
    padding-bottom: 0;
    border-bottom: 0;
}

.inquiry-section legend {
    float: none;
    width: auto;
    margin: 0 0 2px;
    padding: 0;
    color: #102f55;
    font-size: 15px;
    font-weight: 800;
}

.inquiry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.inquiry-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inquiry-field > label:first-child {
    color: #314760;
    font-size: 12px;
    font-weight: 700;
}

.inquiry-helper {
    color: #61758b;
    font-size: 11px;
    line-height: 1.45;
}

.inquiry-field input,
.inquiry-field select,
.inquiry-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #c6d2df;
    border-radius: 8px;
    background: #fff;
    color: #17324f;
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.inquiry-field textarea {
    min-height: 128px;
    resize: vertical;
}

.inquiry-field input:focus,
.inquiry-field select:focus,
.inquiry-field textarea:focus {
    border-color: var(--clinic-blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(6, 63, 150, 0.12);
}

.inquiry-field input::placeholder,
.inquiry-field textarea::placeholder {
    color: #7e8da0;
}

.inquiry-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
}

.inquiry-file-input {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.inquiry-upload {
    min-height: 92px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px dashed #98aec6;
    border-radius: 10px;
    background: #f2f6fa;
    color: #4f657d;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.inquiry-upload:hover,
.inquiry-upload.is-dragging {
    border-color: var(--clinic-blue);
    background: #eaf2fb;
}

.inquiry-upload i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #c8d6e5;
    border-radius: 8px;
    background: #fff;
    color: #0b559f;
    font-size: 18px;
}

.inquiry-upload strong {
    color: var(--clinic-blue);
}

.inquiry-upload small,
.inquiry-file-list {
    color: #65788e;
    font-size: 11px;
    line-height: 1.55;
}

.inquiry-file-list:not(:empty) {
    padding: 8px 12px;
    border-radius: 10px;
    background: #f7f9fc;
}

.inquiry-consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 16px;
    border-left: 3px solid #0b559f;
    background: #edf3f8;
    color: #40566f;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.inquiry-consent input {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    margin-top: 1px;
    accent-color: var(--clinic-blue);
}

.inquiry-privacy {
    margin: -5px 0 0;
    color: #617389;
    font-size: 11px;
    line-height: 1.55;
    text-align: left;
}

.inquiry-submit {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    background: #063f96;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(6, 63, 150, 0.18);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.inquiry-submit:hover {
    background: #0b559f;
    box-shadow: 0 13px 26px rgba(6, 63, 150, 0.24);
}

.inquiry-submit:active {
    transform: translateY(1px);
}

.inquiry-submit:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.inquiry-status {
    display: none;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.inquiry-status.is-visible { display: block; }
.inquiry-status.is-success { background: #eafaf0; color: #13723c; }
.inquiry-status.is-error { background: #fff0f0; color: #a72525; }

@media (max-width: 1199.98px) and (min-width: 992px) {
    .header-main { gap: 14px; }
    .site-header .navbar-brand img { height: 44px; max-width: 250px; }
    .header-actions { gap: 6px; }
    .header-action { padding: 7px 9px; font-size: 11px; }
    .header-action-call { min-width: 160px; }
}

@media (max-width: 991.98px) {
    body {
        padding-top: 72px;
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .header-main {
        min-height: 72px;
        padding: 10px 16px;
    }

    .site-header .navbar-brand img {
        height: 42px;
        max-width: min(72vw, 270px);
    }

    .site-header .navbar-toggler {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .header-nav.navbar {
        min-height: 0;
        border-top: 0;
    }

    .header-nav .container {
        min-height: 0;
        padding: 0;
    }

    .header-nav .navbar-collapse {
        width: 100%;
        border-top: 1px solid #edf2f8;
        box-shadow: 0 14px 25px rgba(9, 45, 93, 0.1);
    }

    .header-nav .navbar-nav {
        display: block;
        padding: 8px 18px 14px;
    }

    .header-nav .nav-link {
        padding: 11px 8px !important;
        border-bottom: 1px solid #f0f4f8;
    }

    .header-nav .nav-link::after { display: none; }

    .contact-float {
        top: auto;
        right: 12px;
        bottom: calc(87px + env(safe-area-inset-bottom));
        gap: 7px;
        transform: none;
    }

    .contact-float-button {
        width: 158px;
        height: 46px;
        padding: 6px 6px 6px 17px;
        gap: 10px;
        font-size: 13px;
        box-shadow: 0 9px 22px rgba(6, 45, 107, 0.23);
    }

    .contact-float-button i {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    footer {
        padding-bottom: 24px;
    }
}

@media (max-width: 820px) {
    .inquiry-layout {
        grid-template-columns: 1fr;
    }

    .inquiry-intro {
        gap: 24px;
        padding: 38px 72px 30px 32px;
    }

    .inquiry-intro h2 {
        max-width: 620px;
        font-size: 28px;
    }

    .inquiry-intro-copy,
    .inquiry-intro-note {
        max-width: 620px;
    }

    .inquiry-content {
        padding: 34px 32px 38px;
    }
}

@media (max-width: 640px) {
    .inquiry-modal {
        align-items: flex-end;
        padding: 0;
    }

    .inquiry-dialog {
        width: 100%;
        max-height: calc(100vh - 22px);
        border-radius: 18px 18px 0 0;
    }

    .inquiry-close {
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
    }

    .inquiry-intro {
        gap: 0;
        padding: 26px 60px 24px 20px;
    }

    .inquiry-eyebrow {
        margin-bottom: 10px;
        font-size: 9px;
    }

    .inquiry-intro h2 {
        margin-bottom: 0;
        font-size: 22px;
        line-height: 1.28;
    }

    .inquiry-intro-copy,
    .inquiry-intro-note {
        display: none;
    }

    .inquiry-content {
        padding: 26px 18px calc(32px + env(safe-area-inset-bottom));
    }

    .inquiry-content-heading {
        display: block;
        margin-bottom: 24px;
    }

    .inquiry-content-heading strong,
    .inquiry-content-heading span {
        display: block;
    }

    .inquiry-content-heading span {
        margin-top: 5px;
    }

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

    .inquiry-section {
        gap: 14px;
        padding-bottom: 22px;
    }

    .inquiry-upload {
        grid-template-columns: 40px minmax(0, 1fr);
        padding: 14px;
    }

    .inquiry-upload i {
        width: 40px;
        height: 40px;
    }
}
