/* ============================================
   Facial Palsy NY - Medical Grade Website
   Bell's Palsy Treatment Specialist
   Hua Ren Tang Acupuncture Clinic, Flushing NY
   ============================================ */

/* CSS Variables */
:root {
    --primary: #1B5E7B;
    --primary-dark: #0F3D52;
    --primary-light: #2980B9;
    --secondary: #2E8B57;
    --secondary-light: #3CB371;
    --accent: #D4A843;
    --accent-hover: #C49830;
    --accent-red: #C0392B;
    --dark: #1A1A2E;
    --text: #2C3E50;
    --text-light: #5D6D7E;
    --text-muted: #95A5A6;
    --white: #FFFFFF;
    --bg: #FFFFFF;
    --bg-light: #F8FAFB;
    --bg-warm: #FFF9F0;
    --bg-blue: #EFF6FB;
    --bg-green: #F0FAF4;
    --border: #E1E8ED;
    --border-light: #F0F3F5;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.3s ease;
    --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    --font-heading: 'Georgia', 'PingFang SC', 'Microsoft YaHei', serif;
    --max-width: 1200px;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Scrollbar Hide */
body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

/* Top Bar */
.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 6px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-left a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

.top-bar-left a:hover {
    color: var(--accent);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    overflow: hidden;
}

.lang-switch button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 14px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.lang-switch button.active {
    background: var(--accent);
    color: var(--dark);
    font-weight: 600;
}

.lang-switch button:hover:not(.active) {
    color: var(--white);
}

/* Main Header */
.header-main {
    padding: 12px 0;
}

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

.logo a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo a:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text .logo-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}

.logo-text .logo-sub {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-cta .btn-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.05rem;
}

/* Navigation */
nav {
    background: var(--white);
    border-top: 1px solid var(--border-light);
}

nav .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 0;
}

nav ul li a {
    display: block;
    padding: 14px 20px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 3px 3px 0 0;
    transition: width 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 60%;
}

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

.menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 2px 8px rgba(212, 168, 67, 0.35);
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(212, 168, 67, 0.45);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: 80px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-highlight {
    background: rgba(212, 168, 67, 0.2);
    border-left: 3px solid var(--accent);
    padding: 12px 18px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    flex-wrap: wrap;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    max-height: 480px;
    object-fit: cover;
    width: 100%;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-warm {
    background: var(--bg-warm);
}

.section-blue {
    background: var(--bg-blue);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.section-header .section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   ADVANTAGES / WHY CHOOSE US
   ============================================ */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.advantage-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.advantage-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.advantage-icon {
    width: 52px;
    height: 52px;
    background: var(--bg-blue);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    color: var(--primary);
}

.advantage-card h4 {
    margin-bottom: 6px;
    color: var(--dark);
}

.advantage-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-placeholder {
    background: var(--dark);
    border-radius: var(--radius-xl);
    padding: 80px 40px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 94, 123, 0.8), rgba(15, 61, 82, 0.9));
}

.video-placeholder > * {
    position: relative;
    z-index: 1;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.video-play-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.video-placeholder h3 {
    color: var(--white);
    margin-bottom: 12px;
}

.video-placeholder p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ============================================
   SELF-CHECK / CHECKLIST
   ============================================ */
.checklist-section {
    background: linear-gradient(135deg, var(--bg-warm), #FFF5E6);
}

.checklist-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border);
}

.checklist-card h3 {
    text-align: center;
    margin-bottom: 32px;
    color: var(--dark);
    font-size: 1.6rem;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--bg-light);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    user-select: none;
}

.checklist-item:hover {
    background: var(--bg-blue);
    border-color: var(--primary-light);
}

.checklist-item.checked {
    background: #FFF3E0;
    border-color: var(--accent);
}

.checklist-item input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
}

.checklist-item label {
    font-size: 1rem;
    cursor: pointer;
    color: var(--text);
    line-height: 1.5;
}

.checklist-result {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: var(--radius);
    color: var(--dark);
    display: none;
}

.checklist-result.visible {
    display: block;
}

.checklist-result p {
    color: var(--dark);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.checklist-note {
    text-align: center;
    margin-top: 20px;
    padding: 16px;
    background: rgba(27, 94, 123, 0.08);
    border-radius: var(--radius);
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   TREATMENT METHODS
   ============================================ */
.treatment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.treatment-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.treatment-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.treatment-card-img {
    height: 220px;
    overflow: hidden;
}

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

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

.treatment-card-body {
    padding: 28px;
}

.treatment-card-body h3 {
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.treatment-card-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   CASE STUDIES
   ============================================ */
.case-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.case-card-content {
    padding: 36px;
}

.case-timeline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.case-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--bg-blue);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}

.case-card h4 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.case-card p {
    color: var(--text-light);
    margin-bottom: 12px;
}

.case-quote {
    font-style: italic;
    padding: 16px 20px;
    background: var(--bg-warm);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text);
    margin-top: 16px;
}

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

/* ============================================
   DOCTOR SECTION
   ============================================ */
.doctor-section {
    background: var(--bg-light);
}

.doctor-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: start;
}

.doctor-image {
    position: relative;
}

.doctor-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    width: 100%;
    object-fit: cover;
}

.doctor-info h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.doctor-title {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.doctor-credentials {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 0.95rem;
}

.credential-icon {
    color: var(--secondary);
    font-size: 1rem;
    flex-shrink: 0;
}

.doctor-specialties {
    margin-top: 20px;
}

.doctor-specialties h4 {
    margin-bottom: 12px;
    color: var(--dark);
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.specialty-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-blue);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.doctor-certificates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.doctor-certificates img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

.doctor-certificates img:hover {
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
}

/* ============================================
   GEO / LOCATION
   ============================================ */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.location-info h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.location-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.location-item-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-blue);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: var(--primary);
}

.location-item-text strong {
    display: block;
    margin-bottom: 2px;
    color: var(--dark);
}

.location-item-text p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.location-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.location-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-green);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 500;
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark);
    font-size: 1.05rem;
    gap: 16px;
    user-select: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ============================================
   INSURANCE SECTION
   ============================================ */
.insurance-notice {
    text-align: center;
    padding: 28px;
    background: var(--bg-green);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(46, 139, 87, 0.2);
    max-width: 700px;
    margin: 0 auto;
}

.insurance-notice p {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.insurance-notice span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================================
   DISCLAIMER
   ============================================ */
.disclaimer {
    background: var(--bg-light);
    padding: 16px 0;
    border-top: 1px solid var(--border);
}

.disclaimer p {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 12px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 28px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT / FORMS
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-main);
    color: var(--text);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27, 94, 123, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-info-card {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-blue);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    color: var(--primary);
}

.contact-info-item h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.contact-info-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-info-item a {
    color: var(--primary);
    font-weight: 500;
}

/* ============================================
   TREATMENT PAGE SPECIFICS
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Info Table */
.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.info-table th,
.info-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.info-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-table td {
    background: var(--white);
    font-size: 0.95rem;
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table tr:nth-child(even) td {
    background: var(--bg-light);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 4px;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-item h4 {
    color: var(--primary);
    margin-bottom: 4px;
}

.timeline-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Content Block */
.content-block {
    margin-bottom: 48px;
}

.content-block h2 {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.content-block h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.content-block p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-block ul {
    margin-bottom: 20px;
    padding-left: 0;
}

.content-block ul li {
    padding: 6px 0 6px 28px;
    position: relative;
    color: var(--text);
    line-height: 1.6;
}

.content-block ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: 140px;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.sidebar-card h4 {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    color: var(--dark);
}

.sidebar-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-light);
    font-size: 0.95rem;
}

.sidebar-card ul li:last-child {
    border-bottom: none;
}

/* About Page Grid */
.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.about-feature-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.about-feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.about-feature-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
    color: var(--primary);
}

.about-feature-card h4 {
    margin-bottom: 8px;
}

.about-feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Image Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-partner {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-partner a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.footer-partner a:hover {
    color: var(--white);
}

/* ============================================
   LANGUAGE DISPLAY
   ============================================ */
.lang-zh {
    display: inline;
}

.lang-en {
    display: none;
}

body.en .lang-zh {
    display: none;
}

body.en .lang-en {
    display: inline;
}

/* Block level language elements */
div.lang-zh,
section.lang-zh,
p.lang-zh,
h1.lang-zh,
h2.lang-zh,
h3.lang-zh,
h4.lang-zh,
li.lang-zh,
tr.lang-zh,
thead.lang-zh,
tbody.lang-zh {
    display: block;
}

div.lang-en,
section.lang-en,
p.lang-en,
h1.lang-en,
h2.lang-en,
h3.lang-en,
h4.lang-en,
li.lang-en,
tr.lang-en,
thead.lang-en,
tbody.lang-en {
    display: none;
}

body.en div.lang-zh,
body.en section.lang-zh,
body.en p.lang-zh,
body.en h1.lang-zh,
body.en h2.lang-zh,
body.en h3.lang-zh,
body.en h4.lang-zh,
body.en li.lang-zh,
body.en tr.lang-zh,
body.en thead.lang-zh,
body.en tbody.lang-zh {
    display: none;
}

body.en div.lang-en,
body.en section.lang-en,
body.en p.lang-en,
body.en h1.lang-en,
body.en h2.lang-en,
body.en h3.lang-en,
body.en h4.lang-en,
body.en li.lang-en,
body.en tr.lang-en,
body.en thead.lang-en,
body.en tbody.lang-en {
    display: block;
}

/* Table row display fix */
tr.lang-zh {
    display: table-row;
}

tr.lang-en {
    display: none;
}

body.en tr.lang-zh {
    display: none;
}

body.en tr.lang-en {
    display: table-row;
}

thead.lang-zh {
    display: table-header-group;
}

thead.lang-en {
    display: none;
}

body.en thead.lang-zh {
    display: none;
}

body.en thead.lang-en {
    display: table-header-group;
}

tbody.lang-zh {
    display: table-row-group;
}

tbody.lang-en {
    display: none;
}

body.en tbody.lang-zh {
    display: none;
}

body.en tbody.lang-en {
    display: table-row-group;
}

/* List item display */
li.lang-zh {
    display: list-item;
}

li.lang-en {
    display: none;
}

body.en li.lang-zh {
    display: none;
}

body.en li.lang-en {
    display: list-item;
}

/* Flex container children */
.checklist-item.lang-zh,
.advantage-card.lang-zh,
.faq-item.lang-zh {
    display: flex;
}

.checklist-item.lang-en,
.advantage-card.lang-en,
.faq-item.lang-en {
    display: none;
}

body.en .checklist-item.lang-zh,
body.en .advantage-card.lang-zh,
body.en .faq-item.lang-zh {
    display: none;
}

body.en .checklist-item.lang-en,
body.en .advantage-card.lang-en,
body.en .faq-item.lang-en {
    display: flex;
}

/* Grid children */
.treatment-card.lang-zh,
.case-card.lang-zh,
.about-feature-card.lang-zh {
    display: block;
}

.treatment-card.lang-en,
.case-card.lang-en,
.about-feature-card.lang-en {
    display: none;
}

body.en .treatment-card.lang-zh,
body.en .case-card.lang-zh,
body.en .about-feature-card.lang-zh {
    display: none;
}

body.en .treatment-card.lang-en,
body.en .case-card.lang-en,
body.en .about-feature-card.lang-en {
    display: block;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-location {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .treatment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .doctor-content {
        grid-template-columns: 1fr;
    }

    .doctor-image {
        max-width: 350px;
        margin: 0 auto;
    }

    .location-content {
        grid-template-columns: 1fr;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

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

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section {
        padding: 50px 0;
    }

    /* Top Bar */
    .top-bar .container {
        justify-content: center;
    }

    .top-bar-left {
        display: none;
    }

    /* Header */
    .header-cta .btn-phone {
        font-size: 0.9rem;
    }

    .logo-text .logo-name {
        font-size: 1.1rem;
    }

    .logo-text .logo-sub {
        font-size: 0.7rem;
    }

    /* Navigation */
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--white);
        z-index: 9999;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-lg);
        padding-top: 60px;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li a {
        padding: 16px 24px;
        border-bottom: 1px solid var(--border-light);
    }

    nav ul li a::after {
        display: none;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }

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

    /* Hero */
    .hero {
        padding: 50px 0 60px;
    }

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

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

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-image {
        display: none;
    }

    /* Treatment Grid */
    .treatment-grid {
        grid-template-columns: 1fr;
    }

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

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

    /* Checklist */
    .checklist-card {
        padding: 28px 20px;
    }

    /* About Features */
    .about-features {
        grid-template-columns: 1fr;
    }

    /* Doctor Certificates */
    .doctor-certificates {
        grid-template-columns: repeat(2, 1fr);
    }

    /* CTA */
    .cta-banner {
        padding: 40px 0;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* Map */
    .map-container {
        height: 280px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 1.6rem;
    }

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

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .checklist-item {
        padding: 12px 14px;
    }

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

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    header, nav, .hero-buttons, .cta-banner, footer, .menu-toggle {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .section {
        padding: 20px 0;
    }
}
