:root {
  --green: #0a7cae;
  --green-dark: #075d85;
  --mint: #e6f6fd;
  --ink: #10303f;
  --muted: #4d6b7a;
  --line: #d4ebf5;
  --bg: #ffffff;
  --alt: #f3fbff;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.2; margin: 0 0 .5em; }
a { color: var(--green); }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 8px; font-family: "Fraunces", serif; font-weight: 600; font-size: 1.25rem; color: var(--green); text-decoration: none; }
.logo span { color: var(--ink); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav-links a:hover { color: var(--green); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font: inherit; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; background: var(--green); color: #fff !important; padding: 13px 24px; border-radius: 999px; border: 0; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-small { padding: 9px 18px; }
.btn-ghost { background: transparent; color: var(--green) !important; border: 2px solid var(--green); padding: 11px 22px; }
.btn-ghost:hover { background: var(--mint); }
:focus-visible { outline: 3px solid #f0a53a; outline-offset: 2px; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--mint), #fff 70%); padding: 72px 0; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; background: #fff; border: 1px solid var(--line); color: var(--green); padding: 4px 14px; border-radius: 999px; font-size: .875rem; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-top: .4em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 0; margin: 0; color: var(--muted); font-size: .95rem; }
.trust strong { color: var(--ink); font-size: 1.1rem; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 12px 32px rgba(10,124,174,.1); }
.hero-card h2 { font-size: 1rem; color: var(--green); text-transform: uppercase; letter-spacing: .06em; font-family: "DM Sans", sans-serif; }
.hero-card .big { font-family: "Fraunces", serif; font-size: 1.8rem; margin: 0 0 8px; }
.hero-card hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--alt); }
.section-title { font-size: clamp(1.7rem, 3vw, 2.3rem); text-align: center; }
.section-title.left, .section-sub.left { text-align: left; }
.section-sub { text-align: center; color: var(--muted); max-width: 56ch; margin: 0 auto 40px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 10px 28px rgba(10,124,174,.12); transform: translateY(-3px); }
.card h3 { font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }
.icon { font-size: 1.8rem; background: var(--mint); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 16px; }
.doc { text-align: center; }
.avatar { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-family: "Fraunces", serif; font-size: 1.6rem; }
.role { color: var(--green) !important; font-weight: 700; font-size: .9rem; margin-bottom: 8px !important; }

/* Booking */
.book-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; }
.checks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.note { background: #fff6e6; border-left: 4px solid #f0a53a; padding: 12px 16px; border-radius: 6px; font-size: .95rem; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 12px 32px rgba(10,124,174,.08); }
.form label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 16px; }
.form .opt { color: var(--muted); font-weight: 400; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, select, textarea { width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #b6d3e2; border-radius: 8px; font: inherit; background: #fff; }
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: 2px solid var(--mint); }
input.invalid, select.invalid { border-color: #c0392b; }
.form-msg { margin: 14px 0 0; font-weight: 500; min-height: 1.5em; }
.form-msg.ok { color: var(--green-dark); }
.form-msg.err { color: #c0392b; }

/* Hours */
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.hours td { color: var(--muted); }
.hours tr.today { background: var(--mint); font-weight: 700; }
.hours tr.today td { color: var(--ink); }

/* FAQ */
details { border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-bottom: 12px; background: #fff; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: stretch; }
.map { background: var(--mint); border: 1px dashed var(--green); border-radius: var(--radius); display: grid; place-items: center; min-height: 260px; color: var(--green); font-weight: 700; }

.site-footer { background: var(--ink); color: #cfdcd7; padding: 32px 0; text-align: center; }
.site-footer p { margin: 4px 0; }
.small { font-size: .85rem; opacity: .8; }

/* Mobile */
@media (max-width: 820px) {
  .hero-grid, .book-grid, .hours-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 48px 0; }
  .section { padding: 56px 0; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; width: 100%; }
  .nav-links .btn { text-align: center; margin-top: 8px; }
  .row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.small-note { color: var(--muted); font-size: .9rem; margin-top: 12px; }
iframe.map { border: 0; width: 100%; min-height: 300px; }

/* Intake form */
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px 4px; margin: 0 0 20px; }
legend { font-family: "Fraunces", serif; font-weight: 600; padding: 0 8px; color: var(--green); }
.consent { display: flex !important; gap: 10px; align-items: flex-start; }
.consent input { width: auto; margin-top: 4px; }
.done { background: var(--mint); border-radius: var(--radius); padding: 28px; }
textarea.invalid, input[type=checkbox].invalid { outline: 2px solid #c0392b; }
[hidden] { display: none !important; }
.book-grid > div:first-child { position: sticky; top: 92px; }
@media (max-width: 820px) { .book-grid > div:first-child { position: static; } }

/* Multi-step booking form */
.progress { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 20px; counter-reset: s; }
.progress li { flex: 1; counter-increment: s; font-size: .85rem; color: var(--muted); border-top: 4px solid var(--line); padding-top: 6px; }
.progress li::before { content: counter(s) ". "; }
.progress li.active { color: var(--green); font-weight: 700; border-top-color: var(--green); }
.progress li.done { border-top-color: var(--green); }
.step-nav { display: flex; gap: 12px; justify-content: space-between; flex-direction: row-reverse; }
.step-nav .btn[hidden] { display: none !important; }
.step-consent { margin-bottom: 16px; }

/* Phone refinements */
input, select, textarea { font-size: 16px; } /* stops iOS zooming on focus */
.btn { min-height: 44px; }
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-card, .card { padding: 22px; }
  .form { padding: 20px 16px; }
  fieldset { padding: 12px 14px 2px; }
  .progress li { font-size: .75rem; }
  .step-nav { flex-direction: column; }
  .step-nav .btn { width: 100%; }
  .logo { font-size: 1.1rem; }
  .hours th, .hours td { padding: 10px 6px; font-size: .95rem; }
  summary { padding: 4px 0; }
  .cards { grid-template-columns: 1fr; }
}

/* Pictures */
.hero-visual { position: relative; padding-bottom: 36px; }
.hero-visual img { display: block; width: 100%; height: auto; }
.hero-visual .hero-card { position: absolute; left: -8px; bottom: 0; width: min(290px, 70%); padding: 20px 22px; }
.hero-card .big { font-size: 1.5rem; }
.icon { color: var(--green); }
.about { background: var(--alt); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid img { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 18px 44px rgba(10,100,150,.15); }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list p { margin: 2px 0 0; color: var(--muted); }
.fi { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--mint); color: var(--green); display: grid; place-items: center; }
@media (max-width: 820px) {
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .hero-visual .hero-card { left: 0; width: min(260px, 74%); padding: 16px 18px; }
}

.hero-visual .hero-card { left: -24px; bottom: 4px; width: 210px; padding: 14px 18px; }
.hero-visual .hero-card p:last-child { margin-bottom: 0; }
.hero-card h2 { margin-bottom: 4px; }

.hero-visual .hero-card { width: 240px; }
.hero-card .big { font-size: 1.3rem; white-space: nowrap; }

@media (max-width: 600px) {
  .hero-visual { padding-bottom: 0; }
  .hero-visual .hero-card { position: relative; left: 0; width: auto; margin: -36px 12px 0; }
}

/* Team portraits */
.doctors { grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: 28px; }
.card.doc { padding: 0; overflow: hidden; text-align: left; display: flex; flex-direction: column; }
.portrait { aspect-ratio: 4 / 5; background: var(--mint); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .5s; }
.card.doc:hover .portrait img { transform: scale(1.04); }
.doc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.doc-body h3 { margin-bottom: 0; }
.doc-body .role { margin: 2px 0 8px !important; }
.doc-link { margin-top: auto; padding-top: 12px; font-weight: 700; text-decoration: none; }
.doc-link:hover { text-decoration: underline; }

/* Photos keep the same frame as the illustrations they replace */
.hero-visual img, .about-grid img { object-fit: cover; }
.hero-visual > img { aspect-ratio: 560 / 520; border-radius: 28px; }
.about-grid img { aspect-ratio: 520 / 400; }
.hero-visual > img.is-photo { box-shadow: 0 18px 44px rgba(10,100,150,.2); }

/* Banner photo under the header */
.banner { background: var(--alt); line-height: 0; }
.banner img { display: block; width: 100%; aspect-ratio: 16 / 7; max-height: 560px; object-fit: cover; object-position: 30% center; }
.hero { padding: 56px 0 64px; background: #fff; }
.hero-grid .hero-card { box-shadow: 0 12px 32px rgba(10,124,174,.12); }
@media (max-width: 820px) {
  .banner img { aspect-ratio: 4 / 3; object-position: 18% center; }
  .hero { padding: 36px 0 44px; }
}

/* Banner framed in the page width so the whole picture (and the Zen logo) shows */
.banner { background: linear-gradient(#fff 0, var(--alt) 100%); padding: 24px 0 0; }
.banner img { aspect-ratio: 1672 / 940; max-height: none; object-position: center; border-radius: 24px; box-shadow: 0 18px 48px rgba(10,100,150,.18); }
@media (max-width: 820px) {
  .banner { padding-top: 12px; }
  .banner img { aspect-ratio: 4 / 3; object-position: 22% center; border-radius: 16px; }
}

.banner img { height: auto; }

/* Contact + map */
.contact { padding: 88px 0; background: linear-gradient(rgba(255,255,255,.9), rgba(226,244,252,.95)), url("img/clinic-banner.webp") center / cover no-repeat; }
.contact-grid { align-items: center; gap: 56px; }
.contact .eyebrow { margin-bottom: 8px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list p { margin: 2px 0 0; color: var(--muted); }
.contact-list small { color: var(--muted); }
.map-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(10,100,150,.18); }
.map-card iframe.map { display: block; width: 100%; min-height: 340px; border: 0; border-radius: 0; }
.map-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #fff; border-top: 1px solid var(--line); }
.map-bar > div { flex: 1; min-width: 0; }
.map-bar strong, .map-bar small { display: block; }
.map-bar small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Bright footer */
.site-footer { background: linear-gradient(180deg, #dff3fc 0%, #c6e7f7 100%); color: var(--ink); padding: 64px 0 0; text-align: left; border-top: 4px solid var(--green); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.site-footer h3 { font-family: "DM Sans", sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green-dark); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--green); text-decoration: underline; }
.site-footer .btn { color: #fff; text-decoration: none; }
.footer-brand p { color: var(--muted); max-width: 32ch; margin: 12px 0 18px; }
.footer-brand .logo { color: var(--green); }
.footer-contact p { margin: 0 0 12px; }
.footer-bottom { border-top: 1px solid rgba(7,93,133,.2); padding: 18px 0 22px; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .9rem; color: var(--muted); }
.footer-bottom .small { opacity: 1; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 820px) { .contact { padding: 56px 0; } .contact-grid { gap: 32px; } }
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .map-bar { flex-wrap: wrap; }
  .map-bar .btn { width: 100%; text-align: center; }
  .map-card iframe.map { min-height: 280px; }
}

/* Brighter pictures */
.banner img { filter: brightness(1.1) saturate(1.12) contrast(1.03); }
.contact { background: linear-gradient(rgba(255,255,255,.62), rgba(230,246,253,.78)), url("img/clinic-banner.webp") center / cover no-repeat; }
.about-grid img, .portrait img { filter: brightness(1.06) saturate(1.08); }
.contact-grid > div:first-child { background: rgba(255,255,255,.82); backdrop-filter: blur(6px); padding: 32px; border-radius: 20px; box-shadow: 0 12px 36px rgba(10,100,150,.1); }
.contact-list p, .contact .section-sub, .contact-list small { color: var(--ink); }
@media (max-width: 520px) { .contact-grid > div:first-child { padding: 22px 18px; } }

/* Full-width banner, as wide as the footer */
.banner { padding: 0; background: none; }
.banner .container { width: 100%; max-width: none; margin: 0; }
.banner img { width: 100%; border-radius: 0; box-shadow: none; aspect-ratio: 1672 / 940; max-height: 82vh; object-fit: cover; object-position: center 30%; }
@media (max-width: 820px) { .banner { padding: 0; } .banner img { aspect-ratio: 4 / 3; max-height: none; border-radius: 0; object-position: 22% center; } }

/* Hero text and booking buttons sit on top of the banner picture */
.hero-banner { position: relative; background: var(--alt); }
.hero-banner > img { display: block; width: 100%; height: auto; aspect-ratio: 1672 / 940; min-height: 600px; max-height: 90vh; object-fit: cover; object-position: center 30%; }
.hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-overlay .hero-grid { width: min(1120px, calc(100% - 32px)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 32px; align-items: center; }
.hero-text { background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.7); border-radius: 24px; padding: 34px 38px; box-shadow: 0 20px 50px rgba(8,70,110,.22); }
.hero-text h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.hero-text .lead { font-size: 1.05rem; }
.hero-text .hero-actions { margin: 22px 0; }
.hero-overlay .hero-card { justify-self: end; align-self: end; width: 250px; margin-bottom: 44px; background: rgba(255,255,255,.94); }

@media (max-width: 900px) {
  .hero-banner > img { min-height: 520px; }
  .hero-overlay .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-overlay .hero-card { display: none; }
  .hero-text { padding: 26px 26px; max-width: 520px; }
}
@media (max-width: 640px) {
  .hero-banner > img { min-height: 0; aspect-ratio: 4 / 3; max-height: none; object-position: 22% center; }
  .hero-overlay { position: relative; inset: auto; display: block; padding-bottom: 36px; }
  .hero-overlay .hero-grid { width: calc(100% - 28px); }
  .hero-text { margin-top: -64px; max-width: none; padding: 22px 20px; background: #fff; }
  .hero-overlay .hero-card { display: block; width: auto; justify-self: stretch; margin: 16px 0 0; }
}

/* Text panel on the right so the Zen logo and doctor stay visible */
.hero-banner > img { min-height: 680px; }
.hero-overlay .hero-grid { grid-template-columns: 1fr minmax(0, 520px); }
.hero-text { grid-column: 2; grid-row: 1; padding: 28px 32px; }
.hero-text h1 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.hero-overlay .hero-card { grid-column: 2; grid-row: 2; justify-self: stretch; align-self: start; width: auto; margin: 14px 0 0; padding: 12px 20px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.hero-overlay .hero-card h2 { margin: 0; }
.hero-overlay .hero-card .big { margin: 0; font-size: 1.15rem; }
.hero-overlay .hero-card p:last-child { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .hero-banner > img { min-height: 560px; }
  .hero-overlay .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-text, .hero-overlay .hero-card { grid-column: auto; grid-row: auto; }
  .hero-text { margin-left: auto; }
}
@media (max-width: 640px) {
  .hero-banner > img { min-height: 0; }
  .hero-text { margin-left: 0; }
  .hero-overlay .hero-card { display: block; }
  .hero-overlay .hero-card h2 { margin-bottom: 4px; }
}

/* Photo gallery and care moments */
.eyebrow.center { display: block; width: fit-content; margin: 0 auto 10px; }
.gallery { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.g-item { margin: 0; position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 36px rgba(10,100,150,.14); background: var(--mint); }
.g-item.g-tall { grid-row: 1 / 3; }
.g-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-item img, .care-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img, .care-card:hover img { transform: scale(1.04); }
.g-item:not(.g-tall) { aspect-ratio: 4 / 3; }
.g-item figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92); color: var(--ink); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; pointer-events: none; }

.care-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.care-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 28px rgba(10,100,150,.1); display: flex; flex-direction: column; }
.care-card .g-open { aspect-ratio: 4 / 3; overflow: hidden; height: auto; }
.care-card figcaption { padding: 16px 18px 20px; display: grid; gap: 4px; }
.care-card figcaption span { color: var(--muted); font-size: .93rem; }
.photo-note { text-align: center; color: var(--muted); font-size: .8rem; margin: 22px 0 0; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(15,35,32,.82); }
.lightbox img { display: block; max-width: 96vw; max-height: 90vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.3); }

@media (max-width: 1000px) { .care-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: auto; gap: 14px; }
  .g-item.g-tall { grid-row: auto; aspect-ratio: 4 / 3; }
  .care-grid { gap: 14px; }
  .lb-close { top: 8px; right: 8px; }
}
@media (max-width: 480px) { .care-grid { grid-template-columns: 1fr; } }

/* "Care without the rush" photo composition */
.about-photos { position: relative; padding: 0 0 64px; }
.about-grid .about-photos img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 24px; box-shadow: 0 18px 44px rgba(10,100,150,.2); }
.about-grid .about-photos .ap-main { aspect-ratio: 5 / 4; width: 88%; }
.about-grid .about-photos .ap-small { position: absolute; right: 0; bottom: 0; width: 54%; aspect-ratio: 4 / 3; border: 6px solid #fff; border-radius: 22px; }
.ap-badge { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); color: var(--green-dark); font-weight: 700; font-size: .85rem; padding: 7px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.ap-badge::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 8px; }
@media (max-width: 820px) { .about-photos { max-width: 520px; margin: 0 auto; width: 100%; } }

/* Bright theme touches */
:root { --accent: #ff9a1f; }
body { background: #fff; }
.btn { background: linear-gradient(135deg, #1597cf, var(--green)); box-shadow: 0 6px 16px rgba(10,124,174,.28); }
.btn:hover { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.btn-ghost { background: transparent; box-shadow: none; }
.btn-ghost:hover { background: var(--mint); }
.eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; }
.ap-badge::before { background: var(--accent); }
.site-footer { border-top-color: var(--accent); }
.section.alt, .about { background: linear-gradient(180deg, #f3fbff, #e9f7ff); }
.hero-text { background: rgba(255,255,255,.9); }
.card:hover, .care-card:hover { border-color: #9fd6f0; }
.icon, .fi { background: #dff3fc; }

/* Team profile */
.doc-links { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.doc-links .doc-link { margin: 0; padding: 0; background: none; border: 0; font: inherit; font-weight: 700; color: var(--green); cursor: pointer; text-decoration: none; }
.doc-links .doc-link:hover { text-decoration: underline; }

.profile { border: 0; border-radius: 24px; padding: 0; width: min(780px, 94vw); max-height: 90vh; overflow: auto; box-shadow: 0 24px 70px rgba(0,0,0,.4); }
.profile::backdrop { background: rgba(10,40,60,.7); }
.profile-close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 2; }
.profile-head { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; padding: 32px 32px 8px; background: linear-gradient(180deg, #e6f6fd, #fff); }
.profile-head img { width: 180px; height: 225px; object-fit: cover; object-position: center top; border-radius: 20px; box-shadow: 0 12px 30px rgba(10,100,150,.25); }
.profile-head h2 { margin: 4px 0 2px; font-size: 1.9rem; }
.profile-head .role { margin: 0 0 8px; }
.profile-tag { color: var(--muted); margin: 0; font-style: italic; }
.profile-body { padding: 8px 32px 32px; }
.profile-body h3 { margin: 16px 0 10px; font-size: 1.2rem; }
.profile-body p { color: var(--ink); }
.profile-quote { font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; color: var(--green) !important; border-left: 4px solid var(--accent); padding-left: 14px; margin: 22px 0; }
@media (max-width: 600px) {
  .profile-head { grid-template-columns: 1fr; text-align: center; padding: 24px 20px 4px; justify-items: center; }
  .profile-head img { width: 140px; height: 175px; }
  .profile-body { padding: 8px 20px 26px; }
}
