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

body {
    font-family: 'Nunito', sans-serif;
    background: #f0f4ff;
    color: #1a1a2e;
}

/* HEADER */
.header {
    background: #0f3460;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { display: flex; align-items: center; gap: 8px; color: white; font-size: 1.2rem; }
.logo-icon { font-size: 1.5rem; }
.btn-outline {
    color: white;
    border: 2px solid white;
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #0f3460, #16213e);
    color: white;
    padding: 50px 20px 60px;
    text-align: center;
}
.hero h1 { font-size: 1.8rem; font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.hero h1 span { color: #4fc3f7; }
.hero p { font-size: 1rem; opacity: 0.85; margin-bottom: 24px; }

.search-box {
    display: flex;
    max-width: 480px;
    margin: 0 auto 14px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    font-size: 0.95rem;
    font-family: 'Nunito', sans-serif;
    outline: none;
}
.search-box button {
    background: #4fc3f7;
    color: #0f3460;
    border: none;
    padding: 12px 20px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
}

.btn-location {
    background: transparent;
    color: #4fc3f7;
    border: 2px solid #4fc3f7;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
}

/* CLINICS */
.clinics-section { padding: 30px 20px; }
.clinics-section h2 { font-size: 1.3rem; margin-bottom: 16px; color: #0f3460; }

.clinics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media(min-width: 600px) {
    .clinics-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width: 900px) {
    .clinics-grid { grid-template-columns: repeat(3, 1fr); }
}

.clinic-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
}
.clinic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(15,52,96,0.15);
    border-color: #4fc3f7;
}
.clinic-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.clinic-header h3 { font-size: 1rem; font-weight: 800; color: #0f3460; }
.badge { background: #e3f2fd; color: #0f3460; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.clinic-address { font-size: 0.85rem; color: #666; margin-bottom: 4px; }
.clinic-hours { font-size: 0.82rem; color: #888; margin-bottom: 14px; }
.clinic-footer { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #555; }
.btn-book { color: #0f3460; font-weight: 800; font-size: 0.85rem; }

/* STATES */
.loading, .no-result, .error {
    text-align: center;
    padding: 40px;
    color: #888;
    font-size: 1rem;
    grid-column: 1/-1;
}

/* FOOTER */
.footer { text-align: center; padding: 20px; color: #888; font-size: 0.82rem; }
.footer a { color: #0f3460; }

/* CONTAINER */
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }