/* ==========================================================================
   SITE 2: PRIVATE CLINIC - MASTER STYLESHEET
   ========================================================================== */

:root {
    --bg-main: #FFFFFF;
    --bg-light: #F0F9FF; /* Very soft calming blue */
    --text-main: #0F172A;
    --text-muted: #475569;
    --primary-blue: #0EA5E9; /* Medical Trust Blue */
    --primary-hover: #0284C7;
    --border-color: #E2E8F0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif; 
    background-color: var(--bg-main); 
    color: var(--text-main); 
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }
.center { text-align: center; }
.noselect { user-select: none; -webkit-user-select: none; }
img { pointer-events: none; }

/* --- Banner & Header --- */
.josef-preview-banner { background: #000; color: #fff; text-align: center; padding: 10px; font-size: 13px; z-index: 2000; position: relative; }

.medical-header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex { display: flex; justify-content: space-between; align-items: center; height: 85px; }
.logo { font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; letter-spacing: -0.5px; }
.desktop-nav a { text-decoration: none; color: var(--text-main); font-weight: 500; margin: 0 1.2rem; transition: color 0.3s; font-size: 0.95rem; }
.desktop-nav a:hover { color: var(--primary-blue); }
.header-actions { display: flex; align-items: center; gap: 1.5rem; }
.link-back { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; }

/* Buttons */
.btn-primary { 
    background-color: var(--primary-blue); 
    color: white; 
    padding: 0.8rem 1.8rem; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: all 0.3s ease; 
    border: none;
    cursor: pointer;
    display: inline-block;
}
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2); }

/* --- Hero Section --- */
.hero-medical { padding: 60px 0 100px 0; background: linear-gradient(to bottom, #FFFFFF, var(--bg-light)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }

.trust-badge { display: inline-flex; align-items: center; gap: 8px; background: #E0F2FE; color: var(--primary-hover); padding: 8px 16px; border-radius: 50px; font-weight: 600; font-size: 0.85rem; margin-bottom: 1.5rem; }
.hero-text h1 { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 1.5rem; line-height: 1.1; }
.hero-text p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 500px; }
.hero-actions { display: flex; align-items: center; gap: 2rem; }

.call-info { display: flex; flex-direction: column; }
.small-text { font-size: 0.8rem; color: var(--text-muted); }
.call-info strong { font-size: 1.1rem; color: var(--text-main); }

/* Hero Image & Floating Stat */
.hero-image-wrapper { position: relative; }
.hero-image-wrapper img { width: 100%; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

.floating-stat { position: absolute; bottom: -20px; left: -20px; background: white; padding: 1.2rem; border-radius: 16px; display: flex; align-items: center; gap: 15px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.icon-circle { width: 45px; height: 45px; background: #FEF08A; color: #CA8A04; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.floating-stat strong { display: block; font-size: 1.3rem; color: var(--text-main); line-height: 1.1; }
.floating-stat span { font-size: 0.85rem; color: var(--text-muted); }

/* --- Services Grid --- */
.section-header { margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 0.5rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.service-card { background: white; padding: 2.5rem; border-radius: 20px; border: 1px solid var(--border-color); transition: all 0.3s ease; text-align: center; }
.service-card:hover { transform: translateY(-8px); border-color: var(--primary-blue); box-shadow: 0 15px 30px rgba(14, 165, 233, 0.1); }
.icon-box { width: 60px; height: 60px; background: var(--bg-light); color: var(--primary-blue); border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 1.5rem; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--text-main); }
.service-card p { font-size: 0.95rem; color: var(--text-muted); }

/* --- Specialist Section --- */
.specialist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.doctor-image img { width: 100%; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.doctor-bio h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.25rem; letter-spacing: -1px; }
.role-title { color: var(--primary-blue); font-weight: 600; font-size: 1.1rem; margin-bottom: 1.5rem; }
.bio-text { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1rem; line-height: 1.7; }
.credentials-list { list-style: none; margin-top: 2rem; }
.credentials-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 0.8rem; font-weight: 500; color: var(--text-main); }
.credentials-list i { color: var(--primary-blue); font-size: 1.2rem; }

/* --- Booking Section --- */
.booking-card { background: white; border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 1fr 1.2fr; box-shadow: 0 20px 50px rgba(0,0,0,0.05); border: 1px solid var(--border-color); }
.booking-info { background: var(--text-main); color: white; padding: 4rem; }
.booking-info h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; }
.booking-info p { color: #94A3B8; font-size: 1.05rem; margin-bottom: 2rem; }
.mt-4 { margin-top: 3rem; }
.detail-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 1.5rem; }
.detail-item i { font-size: 1.5rem; color: var(--primary-blue); }
.detail-item strong { display: block; font-size: 1.1rem; margin-bottom: 0.25rem; }
.detail-item p { margin: 0; color: #CBD5E1; font-size: 0.9rem; }

.booking-form-wrapper { padding: 4rem; }
.medical-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.medical-form input, .medical-form select { width: 100%; padding: 1rem 1.25rem; border: 1px solid var(--border-color); border-radius: 8px; font-family: inherit; font-size: 1rem; background: var(--bg-light); outline: none; transition: border-color 0.3s; }
.medical-form input:focus, .medical-form select:focus { border-color: var(--primary-blue); background: white; }
.form-submit { width: 100%; padding: 1.2rem; font-size: 1.1rem; border-radius: 8px; margin-top: 10px; }

/* --- Footer --- */
.clean-footer { background: white; border-top: 1px solid var(--border-color); padding: 40px 0; text-align: center; }
.legal-text { color: var(--text-muted); font-size: 0.85rem; margin-top: 5px; }

/* Animations & Mobile */
.fade-in-up { animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 992px) {
    .hero-grid, .specialist-grid, .booking-card { grid-template-columns: 1fr; gap: 3rem; }
    .floating-stat { left: 20px; }
    .booking-info, .booking-form-wrapper { padding: 2.5rem; }
}
@media (max-width: 768px) {
    .header-actions .hide-mobile, .desktop-nav { display: none; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
}