/* Abair Clinic — public patient website theme.
   Loaded after admin.css; reuses its --color-* tokens where sensible and
   adds a slightly richer palette (warm coral accent alongside the clinic
   teal) for a premium clinic-brochure feel. */

:root {
    --p-primary: #145c50;
    --p-primary-dark: #0d3f37;
    --p-primary-light: #e4f3ef;
    --p-accent: #ff7a59;
    --p-accent-dark: #e85f3d;
    --p-accent-light: #ffece6;
    --p-ink: #12302b;
    --p-muted: #5b7c76;
    --p-bg: #f6faf9;
    --p-surface: #ffffff;
    --p-border: #dfeae7;
    --p-radius: 16px;
    --p-shadow: 0 20px 45px rgba(15, 61, 53, 0.10);
    --p-shadow-sm: 0 8px 20px rgba(15, 61, 53, 0.08);
    --p-font-head: "Poppins", "Inter", "Segoe UI", sans-serif;
    --p-font-body: "Inter", "Segoe UI", sans-serif;
}

.patient-site {
    background: var(--p-bg);
    color: var(--p-ink);
    font-family: var(--p-font-body);
    -webkit-font-smoothing: antialiased;
}
.patient-site h1, .patient-site h2, .patient-site h3 { font-family: var(--p-font-head); color: var(--p-ink); line-height: 1.25; }
.patient-site a { color: var(--p-primary); }
.patient-site .eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--p-primary);
}
.patient-site .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--p-accent); display: inline-block; }

.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--p-primary); color: #fff;
    padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

.site-width { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Utility bar + header ---------- */
.utility-bar { background: var(--p-primary-dark); color: rgba(255,255,255,0.9); font-size: 12.5px; }
.utility-bar .site-width { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.utility-bar a { color: #fff; font-weight: 600; }
.utility-bar a:hover { text-decoration: underline; }

.site-header { background: var(--p-surface); border-bottom: 1px solid var(--p-border); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 20px; }

.clinic-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--p-font-head); font-weight: 700; font-size: 18px; color: var(--p-ink); }
.clinic-brand:hover { text-decoration: none; }
.brand-symbol {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 10px; background: var(--p-primary); color: #fff; font-size: 19px; flex-shrink: 0;
}
.brand-light { color: var(--p-primary); font-weight: 600; }
.clinic-brand small { display: block; font-family: var(--p-font-body); font-size: 9.5px; font-weight: 600; letter-spacing: .07em; color: var(--p-muted); margin-top: 1px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--p-border); border-radius: 8px; padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--p-ink); cursor: pointer; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { font-size: 14px; font-weight: 600; color: var(--p-ink); }
.site-nav a[aria-current="page"] { color: var(--p-primary); }
.site-nav a:hover { color: var(--p-primary); text-decoration: none; }
.site-nav .nav-login { color: var(--p-primary); }
.site-nav .btn { color: #fff; }

.nav-signin { position: relative; }
.nav-signin__toggle {
    background: none; border: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--p-primary);
    cursor: pointer; display: inline-flex; align-items: center; gap: 4px; padding: 6px 2px;
}
.nav-signin__toggle .caret { font-size: 10px; transition: transform .15s ease; }
.nav-signin__toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }

.nav-signin__menu {
    display: none; position: absolute; top: calc(100% + 10px); right: 0; z-index: 50;
    background: var(--p-surface); border: 1px solid var(--p-border); border-radius: 12px; box-shadow: var(--p-shadow);
    padding: 8px; width: 250px;
}
.nav-signin.is-open .nav-signin__menu { display: block; }
.nav-signin__menu a {
    display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-weight: 600; font-size: 13.5px;
}
.nav-signin__menu a:hover { background: var(--p-primary-light); text-decoration: none; }
.nav-signin__menu .ico {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: var(--p-primary-light);
    display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.nav-signin__menu small { display: block; font-weight: 400; color: var(--p-muted); font-size: 11px; margin-top: 1px; }

/* ---------- Buttons & links ---------- */
.patient-site .btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--p-accent); color: #fff; border: none;
    padding: 12px 22px; border-radius: 30px; font-weight: 700; font-size: 14px;
    font-family: var(--p-font-body);
    box-shadow: 0 10px 24px rgba(255, 122, 89, 0.32);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.patient-site .btn:hover { background: var(--p-accent-dark); text-decoration: none; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(255,122,89,0.4); }
.patient-site .btn-outline {
    background: transparent; color: var(--p-primary); border: 1.5px solid var(--p-border);
    box-shadow: none; font-weight: 600;
}
.patient-site .btn-outline:hover { border-color: var(--p-primary); background: var(--p-primary-light); box-shadow: none; transform: none; }
.patient-site .text-link { font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; color: var(--p-primary); }
.patient-site .text-link:hover { text-decoration: none; color: var(--p-accent-dark); }
.play-symbol { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--p-primary-light); color: var(--p-primary); font-size: 11px; }

.patient-content { padding-bottom: 60px; }

/* ---------- Hero ---------- */
.care-hero {
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
    padding: 56px 0 44px;
}
.hero-copy h1 { font-size: 42px; margin: 14px 0 16px; letter-spacing: -0.01em; }
.hero-copy h1 em { color: var(--p-primary); font-style: normal; position: relative; }
.hero-copy p { font-size: 16px; color: var(--p-muted); max-width: 440px; margin: 0 0 26px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 26px; }

.hero-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-stats > div { display: flex; align-items: center; gap: 10px; }
.hero-stat-icon {
    flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: var(--p-primary-light); color: var(--p-primary);
    display: flex; align-items: center; justify-content: center;
}
.hero-stats strong { display: block; font-family: var(--p-font-head); font-size: 19px; font-weight: 800; color: var(--p-ink); line-height: 1.2; }
.hero-stats span:not(.hero-stat-icon) { font-size: 12px; color: var(--p-muted); font-weight: 600; }

.hero-art { position: relative; min-height: 380px; }
.art-orbit { position: absolute; border-radius: 50%; border: 1.5px dashed var(--p-border); }
.orbit-one { width: 340px; height: 340px; top: 10px; right: 10px; }
.orbit-two { width: 230px; height: 230px; top: 65px; right: 65px; background: var(--p-primary-light); border-style: solid; border-color: transparent; }
.art-plus { position: absolute; color: var(--p-accent); font-size: 20px; font-weight: 800; }
.plus-one { top: 30px; left: 10px; }
.plus-two { bottom: 60px; right: 30px; color: var(--p-primary); }

.care-note {
    position: absolute; top: 24px; left: 0; background: var(--p-surface); border-radius: 14px; box-shadow: var(--p-shadow-sm);
    padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; max-width: 200px;
}
.care-note .note-icon { color: var(--p-accent); font-size: 18px; }
.care-note small { display: block; font-weight: 400; color: var(--p-muted); font-size: 11.5px; margin-top: 1px; }

.visit-card {
    position: relative; z-index: 2; background: var(--p-surface); border-radius: var(--p-radius); box-shadow: var(--p-shadow);
    padding: 22px 22px 18px; max-width: 320px; margin: 70px 0 0 auto;
}
.visit-card-top { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--p-muted); margin-bottom: 10px; }
.mini-cross { color: var(--p-primary); font-weight: 800; }
.visit-dots { margin-left: auto; letter-spacing: 2px; }
.visit-card h2 { font-size: 18px; margin: 0 0 14px; }
.visit-step { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--p-border); }
.visit-step:first-of-type { border-top: none; }
.visit-step span:first-child { font-weight: 800; color: var(--p-primary); font-size: 13px; width: 20px; }
.visit-step div { flex: 1; font-size: 13.5px; font-weight: 600; }
.visit-step small { display: block; font-weight: 400; color: var(--p-muted); font-size: 11.5px; }
.visit-step > span[aria-hidden] { color: var(--p-accent); }
.visit-card-link { display: block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--p-primary); }
.visit-card-link:hover { color: var(--p-accent-dark); text-decoration: none; }

.care-tag {
    position: absolute; bottom: -10px; left: 20px; background: var(--p-primary); color: #fff; border-radius: 14px;
    padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 12.5px; max-width: 220px;
    box-shadow: var(--p-shadow-sm);
}
.care-tag .tag-icon { color: var(--p-accent); font-size: 16px; }
.care-tag small { display: block; font-weight: 400; opacity: .85; font-size: 11px; margin-top: 1px; }

/* ---------- Search bar (home + directory) ---------- */
.doctor-search {
    display: flex; align-items: end; gap: 14px; background: var(--p-surface); border-radius: var(--p-radius);
    box-shadow: var(--p-shadow); padding: 20px; margin: 0 0 44px; flex-wrap: wrap;
}
.doctor-search.home-search { margin-top: -30px; position: relative; z-index: 3; }
.search-field { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 6px; }
.search-field label { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: var(--p-muted); }
.search-field input, .search-field select {
    border: 1.5px solid var(--p-border); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; font-family: inherit; color: var(--p-ink);
    background: var(--p-bg);
}
.search-field input:focus, .search-field select:focus { outline: none; border-color: var(--p-primary); }
.doctor-search .btn { flex-shrink: 0; white-space: nowrap; }

/* ---------- Stats strip (care-numbers) ---------- */
.care-numbers {
    display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 20px; align-items: center;
    background: var(--p-primary); color: #fff; border-radius: var(--p-radius); padding: 26px 30px; margin-bottom: 50px;
}
.care-numbers > p { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; }
.care-numbers > p strong { display: block; font-family: var(--p-font-head); font-size: 17px; }
.care-numbers > div:not(.numbers-note) { text-align: center; border-left: 1px solid rgba(255,255,255,0.18); padding-left: 18px; }
.care-numbers strong { display: block; font-size: 30px; font-family: var(--p-font-head); font-weight: 800; }
.care-numbers strong span { color: var(--p-accent); }
.care-numbers > div span:not([class]) { font-size: 12px; opacity: .85; }
.numbers-note { border-left: 1px solid rgba(255,255,255,0.18); padding-left: 18px; font-size: 12.5px; opacity: .9; text-align: left !important; }
.numbers-note span { color: var(--p-accent); }

/* ---------- Generic section heading ---------- */
.home-section { margin-bottom: 56px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.section-heading h2 { font-size: 26px; margin: 8px 0 0; }
.section-heading p { color: var(--p-muted); font-size: 14px; margin: 6px 0 0; max-width: 440px; }

/* ---------- Departments ---------- */
.department-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .department-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .department-grid { grid-template-columns: 1fr; } }
.department-card {
    background: var(--p-surface); border: 1px solid var(--p-border); border-radius: var(--p-radius);
    padding: 24px; position: relative; display: block; transition: box-shadow .15s ease, transform .15s ease;
}
.department-card:hover { box-shadow: var(--p-shadow-sm); transform: translateY(-3px); text-decoration: none; border-color: transparent; }
.department-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px;
    background: var(--p-primary-light); color: var(--p-primary); font-size: 19px; margin-bottom: 14px;
}
.department-card h3 { font-size: 16px; margin: 0 0 6px; }
.department-card > span:not(.department-icon):not(.department-arrow) { font-size: 12.5px; color: var(--p-muted); font-weight: 600; }
.department-arrow { position: absolute; top: 22px; right: 20px; color: var(--p-border); font-size: 16px; }
.department-card:hover .department-arrow { color: var(--p-accent); }

/* ---------- Doctor cards ---------- */
.doctor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 980px) { .doctor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .doctor-grid { grid-template-columns: 1fr; } }
.doctor-card {
    background: var(--p-surface); border: 1px solid var(--p-border); border-radius: var(--p-radius);
    padding: 26px 22px 22px; transition: box-shadow .15s ease, transform .15s ease;
    display: flex; flex-direction: column; text-align: center;
}
.doctor-card:hover { box-shadow: var(--p-shadow-sm); transform: translateY(-2px); }
.doctor-card__photo { margin: 0 auto 14px; }
.doctor-avatar {
    width: 88px; height: 88px; border-radius: 50%; margin: 0 auto;
    background: linear-gradient(135deg, var(--p-primary), var(--p-primary-dark)); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 24px; font-family: var(--p-font-head);
    border: 3px solid var(--p-primary-light);
}
.doctor-avatar--photo { object-fit: cover; }
.doctor-label {
    display: inline-block; background: var(--p-primary-light); color: var(--p-primary-dark);
    font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    padding: 3px 9px; border-radius: 20px; margin: 0 auto 8px;
}
.doctor-card h3 { font-size: 17px; margin: 0; line-height: 1.3; }
.doctor-card .spec { font-size: 12.5px; color: var(--p-muted); margin-top: 2px; }
.doctor-qualification { font-size: 12px; color: var(--p-muted); margin: 6px 0 0; }
.doctor-offer {
    display: inline-block; background: var(--p-accent-light); color: var(--p-accent-dark); font-size: 11.5px; font-weight: 700;
    padding: 4px 10px; border-radius: 20px; margin: 10px auto 0;
}
.doctor-card .fee-row { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--p-muted); margin: 16px 0 14px; padding-top: 14px; border-top: 1px dashed var(--p-border); }
.doctor-card .fee { font-weight: 800; color: var(--p-primary-dark); font-size: 15px; }
.card-book { width: 100%; justify-content: center; margin-top: auto; }

.empty-state { background: var(--p-surface); border: 1px dashed var(--p-border); border-radius: var(--p-radius); padding: 40px 20px; text-align: center; color: var(--p-muted); }
.empty-state h2, .empty-state h3 { color: var(--p-ink); margin: 10px 0 6px; }
.empty-state .department-icon { margin: 0 auto 10px; }

/* ---------- Booking guide (3 steps) ---------- */
.booking-guide {
    display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center;
    background: var(--p-primary-light); border-radius: var(--p-radius); padding: 44px; margin-bottom: 56px;
}
.booking-guide h2 { font-size: 26px; margin: 10px 0 12px; }
.booking-guide > div:first-child p { color: var(--p-muted); margin: 0 0 20px; }
.guide-steps { display: flex; flex-direction: column; gap: 16px; }
.guide-steps > div { display: flex; gap: 16px; align-items: flex-start; }
.guide-steps span { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--p-surface); color: var(--p-primary); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.guide-steps h3 { font-size: 15px; margin: 0 0 3px; }
.guide-steps p { font-size: 13px; color: var(--p-muted); margin: 0; }

/* ---------- Branches ---------- */
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .branch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .branch-grid { grid-template-columns: 1fr; } }
.branch-card { display: flex; gap: 14px; background: var(--p-surface); border: 1px solid var(--p-border); border-radius: var(--p-radius); padding: 20px; }
.branch-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--p-primary-light); color: var(--p-primary); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.branch-card h3 { font-size: 15px; margin: 0 0 4px; }
.branch-card p { font-size: 12.5px; color: var(--p-muted); margin: 0 0 6px; }
.branch-phone { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.branch-card .text-link { font-size: 12.5px; }

/* ---------- Clinic updates / promotions ---------- */
.clinic-updates .updates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .clinic-updates .updates-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .clinic-updates .updates-grid { grid-template-columns: 1fr; } }
.update-card { background: var(--p-surface); border: 1px solid var(--p-border); border-radius: var(--p-radius); padding: 20px; }
.update-card h3 { font-size: 15px; margin: 8px 0 6px; }
.update-card p { font-size: 13px; color: var(--p-muted); margin: 0 0 10px; line-height: 1.5; }
.update-card details { margin-top: 8px; }
.update-card summary { cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--p-primary); }
.update-card img { width: 100%; border-radius: 10px; margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq-section { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; }
.faq-section h2 { font-size: 26px; margin: 10px 0 10px; }
.faq-section > div:first-child p { color: var(--p-muted); }
.faq-list details {
    background: var(--p-surface); border: 1px solid var(--p-border); border-radius: 12px; padding: 16px 18px; margin-bottom: 10px;
}
.faq-list summary { cursor: pointer; font-weight: 700; font-size: 14px; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; float: right; color: var(--p-primary); font-weight: 800; }
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list p { font-size: 13.5px; color: var(--p-muted); margin: 10px 0 0; line-height: 1.6; }

/* ---------- Final CTA ---------- */
.care-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    background: linear-gradient(120deg, var(--p-primary-dark), var(--p-primary)); color: #fff;
    border-radius: var(--p-radius); padding: 40px 44px; margin-bottom: 10px;
}
.care-cta h2 { color: #fff; font-size: 24px; margin: 8px 0 6px; }
.care-cta p { color: rgba(255,255,255,0.85); margin: 0; }
.care-cta .eyebrow { color: var(--p-accent); }

/* ---------- Directory page (doctors_list.php) ---------- */
.directory-intro { padding: 36px 0 8px; max-width: 640px; }
.directory-intro h1 { font-size: 32px; margin: 10px 0 10px; }
.directory-intro em { color: var(--p-primary); font-style: normal; }
.directory-intro p { color: var(--p-muted); font-size: 15px; }
.results-heading { display: flex; align-items: center; justify-content: space-between; margin: -8px 0 20px; font-size: 13.5px; color: var(--p-muted); }
.results-heading strong { color: var(--p-ink); }
.directory-section { margin-bottom: 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--p-primary-dark); color: rgba(255,255,255,0.82); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 48px 20px 30px; }
.footer-grid .clinic-brand { color: #fff; }
.footer-grid .brand-light { color: rgba(255,255,255,0.8); }
.footer-grid p { font-size: 13px; line-height: 1.6; margin: 12px 0 0; color: rgba(255,255,255,0.65); }
.footer-grid h3 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px; }
.footer-grid > div > a { display: block; font-size: 13.5px; color: rgba(255,255,255,0.75); margin-bottom: 10px; }
.footer-grid > div > a:hover { color: #fff; text-decoration: none; }
.footer-note { font-size: 11.5px; color: rgba(255,255,255,0.5); margin-top: 14px !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 20px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 12px; color: rgba(255,255,255,0.55); }

/* ---------- Account pages (login/register): split image + form, like the staff/doctor logins ---------- */
.account-page .patient-content { padding: 44px 0 70px; }

.patient-auth {
    display: grid; grid-template-columns: 1fr 1fr;
    max-width: 940px; margin: 0 auto;
    background: var(--p-surface); border-radius: var(--p-radius); box-shadow: var(--p-shadow);
    overflow: hidden; min-height: 540px;
}
.patient-auth__art {
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, var(--p-primary-dark), var(--p-primary) 65%, #1a8a72);
    color: #fff; padding: 44px 40px; display: flex; flex-direction: column; justify-content: space-between;
}
.patient-auth__art .art-orbit { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,0.25); }
.patient-auth__art .orbit-one { width: 300px; height: 300px; bottom: -90px; right: -80px; }
.patient-auth__art .orbit-two { width: 190px; height: 190px; bottom: -30px; right: 10px; background: rgba(255,255,255,0.06); border-style: solid; border-color: transparent; }
.patient-auth__brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--p-font-head); font-weight: 700; font-size: 17px; color: #fff; position: relative; z-index: 1; }
.patient-auth__brand .mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,0.16); font-size: 18px; }
.patient-auth__copy { position: relative; z-index: 1; }
.patient-auth__copy h2 { color: #fff; font-size: 25px; margin: 0 0 10px; line-height: 1.3; }
.patient-auth__copy p { color: rgba(255,255,255,0.82); font-size: 13.5px; margin: 0 0 20px; line-height: 1.55; max-width: 300px; }
.patient-auth__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.patient-auth__list li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.patient-auth__list .tick { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.16); color: var(--p-accent); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }

.patient-auth__panel { padding: 44px 40px; display: flex; align-items: center; }

.auth-shell { width: 100%; }
.auth-card {
    background: transparent; border-radius: 0; box-shadow: none;
    padding: 0; text-align: left; width: 100%;
}
.auth-card .icon-badge {
    width: 50px; height: 50px; border-radius: 14px; background: var(--p-primary-light); color: var(--p-primary);
    display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; margin-bottom: 18px;
    font-family: var(--p-font-head);
}
.auth-card h1 { font-size: 23px; margin: 0 0 6px; }
.auth-card p.subtitle { color: var(--p-muted); font-size: 13.5px; margin: 0 0 26px; line-height: 1.5; }
.auth-card .form-group { margin-bottom: 16px; }
.auth-card .form-group label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--p-muted); margin-bottom: 7px; }
.auth-card .form-control {
    width: 100%; border: 1.5px solid var(--p-border); border-radius: 10px; padding: 11px 14px;
    font-size: 14px; font-family: var(--p-font-body); color: var(--p-ink); background: var(--p-bg);
}
.auth-card .form-control:focus { outline: none; border-color: var(--p-primary); background: #fff; }
.auth-card .input-icon-wrap svg { color: var(--p-muted); }
.auth-card .input-icon-wrap .form-control { padding-left: 40px; }
.auth-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.auth-card .alert-danger { border-radius: 10px; margin-bottom: 18px; font-size: 13px; }
.auth-card .switch-line { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--p-muted); }
.auth-card .switch-line a { font-weight: 700; }
.auth-card small.field-error { display: block; color: #c0392b; font-size: 11.5px; margin-top: 5px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .care-hero { grid-template-columns: 1fr; }
    .hero-art { min-height: 320px; margin-top: 20px; }
    .visit-card { margin: 40px auto 0; }
    .care-numbers { grid-template-columns: 1fr 1fr; }
    .care-numbers > p { grid-column: 1 / -1; }
    .booking-guide, .faq-section { grid-template-columns: 1fr; }
    .patient-auth { grid-template-columns: 1fr; max-width: 460px; min-height: 0; }
    .patient-auth__art { display: none; }
    .patient-auth__panel { padding: 36px 32px; }
}

@media (max-width: 760px) {
    .nav-toggle { display: inline-flex; align-items: center; gap: 6px; }
    .site-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--p-surface);
        flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 18px; border-bottom: 1px solid var(--p-border);
        box-shadow: var(--p-shadow-sm);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 10px 0; border-bottom: 1px solid var(--p-border); }
    .site-nav .btn { margin-top: 10px; justify-content: center; }
    .header-inner { position: relative; }

    .nav-signin { border-bottom: 1px solid var(--p-border); }
    .nav-signin__toggle { width: 100%; justify-content: space-between; padding: 10px 0; }
    .nav-signin__menu { position: static; display: none; width: 100%; box-shadow: none; border: none; padding: 0 0 8px; }
    .nav-signin.is-open .nav-signin__menu { display: block; }
    .nav-signin__menu a { padding: 8px 4px; }

    .care-hero { padding: 30px 0 20px; }
    .hero-copy h1 { font-size: 30px; }
    .doctor-search { flex-direction: column; align-items: stretch; }
    .care-numbers { grid-template-columns: 1fr; text-align: left; }
    .care-numbers > div:not(.numbers-note) { border-left: none; border-top: 1px solid rgba(255,255,255,0.18); padding-left: 0; padding-top: 14px; text-align: left; }
    .numbers-note { border-left: none; border-top: 1px solid rgba(255,255,255,0.18); padding-left: 0; padding-top: 14px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .care-cta { padding: 30px 24px; }
    .utility-bar .site-width { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (max-width: 500px) {
    .footer-grid { grid-template-columns: 1fr; }
}
