:root { --navy: #142d56; --blue: #2866bd; --teal: #247c81; --ink: #1f2c43; --muted: #60708a; --line: #d9e5f2; --background: #f5f9ff; }
* { box-sizing: border-box; } body { margin: 0; color: var(--ink); background: var(--background); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; } a { color: inherit; } h1, h2, h3, p { margin-top: 0; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px clamp(22px, 4vw, 64px); border-bottom: 1px solid var(--line); background: #fff; }.brand { display: flex; align-items: center; gap: 9px; color: var(--blue); font-size: 20px; font-weight: 800; text-decoration: none; }.brand img { width: 34px; height: 34px; object-fit: contain; }.brand sup { font-size: 10px; }.site-header nav { display: flex; gap: 22px; }.site-header nav a { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }.site-header nav a:hover { color: var(--blue); }
.directory-hero { padding: 88px 24px 56px; color: #fff; text-align: center; background: linear-gradient(135deg, var(--navy), var(--blue)); }.eyebrow { margin-bottom: 8px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.directory-hero .eyebrow { color: #a7daf1; }.directory-hero h1 { margin-bottom: 12px; font-size: clamp(38px, 5vw, 58px); letter-spacing: 0; line-height: 1.1; }.directory-hero > p:last-child { max-width: 620px; margin: 0 auto; color: rgba(255,255,255,.9); font-size: 18px; }
.directory { width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0 84px; }.directory-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }.directory-heading h2 { font-size: 30px; letter-spacing: 0; }.directory-heading p { margin-bottom: 3px; color: var(--muted); }.midwife-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.midwife-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 14px 34px rgba(29, 62, 113, .08); }.card-top { display: flex; align-items: center; gap: 14px; }.card-top img, .portrait-fallback { flex: 0 0 auto; width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }.portrait-fallback { display: grid; place-items: center; color: #fff; background: var(--blue); font-size: 25px; font-weight: 800; }.card-top h3 { margin-bottom: 2px; font-size: 20px; line-height: 1.2; }.location { margin-bottom: 0; color: var(--muted); font-size: 13px; }.midwife-card > p:not(.qualifications):not(.tag-row) { margin: 18px 0 12px; color: var(--muted); }.qualifications { margin-bottom: 10px; color: var(--navy); font-size: 13px; font-weight: 700; }.tag-row { margin-bottom: 14px; color: var(--muted); font-size: 13px; }.tag-row strong { color: var(--ink); }.service-list { margin-top: auto; margin-bottom: 18px; padding-top: 13px; border-top: 1px solid var(--line); }.service-list p { margin: 0 0 5px; color: var(--muted); font-size: 13px; }.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 20px; border: 1px solid var(--blue); border-radius: 6px; color: #fff; background: var(--blue); font-size: 14px; font-weight: 800; text-decoration: none; }.button:hover { background: #1e559e; }.loading, .empty-state { grid-column: 1 / -1; padding: 30px; border: 1px dashed #b9cce1; text-align: center; color: var(--muted); background: #fff; }
footer { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 24px; border-top: 1px solid var(--line); color: var(--muted); background: #fff; font-size: 13px; } footer p { margin: 0; } footer a { color: var(--blue); }
#profile-page { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 40px 0 82px; }.back-link { display: inline-block; margin-bottom: 28px; color: var(--blue); font-weight: 700; }.profile-hero { display: grid; grid-template-columns: 150px 1fr; gap: 30px; align-items: center; padding: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 16px 38px rgba(29, 62, 113, .08); }.profile-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; }.profile-hero .eyebrow { margin-bottom: 5px; }.profile-hero h1 { margin-bottom: 10px; font-size: clamp(34px, 4vw, 48px); letter-spacing: 0; line-height: 1.1; }.profile-intro { max-width: 700px; margin-top: 16px; font-size: 18px; }.registration { margin-bottom: 0; color: var(--muted); font-size: 14px; }.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; margin-top: 26px; }.detail-section, .services, .payment-note, .booking { padding: 27px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }.detail-section { margin-bottom: 18px; }.detail-section h2, .services h2, .payment-note h2, .booking h2 { margin-bottom: 12px; font-size: 23px; letter-spacing: 0; }.detail-section p, .detail-section li, .payment-note p { color: var(--muted); }.detail-section ul { padding-left: 20px; }.services { margin-bottom: 18px; }.services > div { display: grid; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--line); }.services > div:last-child { padding-bottom: 0; border-bottom: 0; }.services span { color: var(--muted); font-size: 14px; }.booking { margin-top: 26px; }.booking .eyebrow { margin-bottom: 5px; }.calendly-wrap { height: 700px; overflow: hidden; margin: 22px 0; border: 1px solid var(--line); border-radius: 6px; }.calendly-wrap iframe { width: 100%; height: 100%; border: 0; }.safety-note { margin: 24px auto 0; max-width: 760px; color: var(--muted); text-align: center; font-size: 13px; }.profile-error { width: min(100%, 620px); margin: 12vh auto; text-align: center; }.profile-error p { color: var(--muted); }
.app-booking-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }.app-store-button-secondary { border-color: var(--blue); color: var(--blue); background: #fff; }
@media (max-width: 900px) { .midwife-grid { grid-template-columns: repeat(2, 1fr); }.profile-layout { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .site-header { align-items: flex-start; flex-direction: column; }.site-header nav { gap: 16px; }.directory { width: min(100% - 32px, 1200px); padding: 46px 0 64px; }.directory-hero { padding: 64px 20px 46px; }.midwife-grid { grid-template-columns: 1fr; }.directory-heading { align-items: flex-start; flex-direction: column; gap: 4px; }.profile-hero { grid-template-columns: 1fr; padding: 27px; }.profile-photo { width: 108px; height: 108px; }.profile-layout { margin-top: 18px; }.calendly-wrap { height: 620px; } #profile-page { width: min(100% - 32px, 1120px); padding-top: 28px; } footer { align-items: flex-start; flex-direction: column; } }
