/* Ocean Medical Clinic: one token set for every page, keyed to the logo's teal (#67ccc9). */
:root {
  --bg: #f4f9f9;
  --surface: #ffffff;
  --sand: #e5f2f2;
  --ink: #123b40;
  --ink-soft: #2c5257;
  --muted: #53696b;
  --line: #d3e5e6;
  --accent: #18716f;
  --accent-ink: #ffffff;
  --accent-soft: #dcefee;
  --seafoam: #67ccc9;
  --gold: #8a6630;
  --danger: #a33a2b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(18, 59, 64, .05), 0 8px 28px rgba(18, 59, 64, .07);
  --serif: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.eyebrow { font: 700 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font: 500 .95rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--accent); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--ink); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--seafoam); }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar + header */
.topbar { background: var(--ink); color: #cfe5e5; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__right { display: flex; gap: 10px; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(244, 249, 249, .92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 82px; }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand__logo { display: block; height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { text-decoration: none; font-size: .93rem; padding: 8px 11px; border-radius: 8px; color: var(--ink-soft); white-space: nowrap; }
.nav a:not(.btn):hover { color: var(--ink); background: var(--sand); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav__cta { margin-left: 8px; white-space: nowrap; }
.navtoggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.navtoggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .navtoggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .nav__cta { margin: 16px 0 0; }
}
@media (max-width: 640px) {
  .topbar__inner { justify-content: center; }
  .topbar__inner > a { display: none; }
  .brand__logo { height: 48px; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #e3f1f1; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section__head h2 { margin: 0; }
.pagehead { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); }
.pagehead h1 { max-width: 18ch; }
.pagehead .lede { margin-top: 10px; }

/* Hero */
.hero { background: var(--sand); padding: clamp(16px, 2vw, 24px) 0 clamp(40px, 6vw, 72px); }
.hero__banner { aspect-ratio: 1200 / 460; max-height: 380px; width: 100%; border-radius: var(--radius); overflow: hidden; background: #f4e9ec; box-shadow: var(--shadow); }
.hero__banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: end; padding-top: clamp(24px, 3vw, 36px); }
.hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 0; }
.hero p { font-size: 1.15rem; max-width: 44ch; color: var(--ink-soft); margin-bottom: 24px; }
@media (max-width: 900px) {
  .hero { padding-top: 0; }
  .hero__banner { width: auto; margin: 0 calc(-1 * var(--gutter)); border-radius: 0; box-shadow: none; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 28px; }
}

.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust__item { padding: 22px 20px; border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item strong { display: block; font: 400 1.02rem/1.35 var(--serif); }
.trust__item span { font-size: .86rem; color: var(--muted); }
@media (max-width: 820px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .trust__item:nth-child(-n+2) { border-top: 0; }
}

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--wide { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 860px) { .split, .split--wide { grid-template-columns: minmax(0, 1fr); } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Service cards */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #b5d5d6; }
.card__media { aspect-ratio: 4 / 3; background: var(--sand); position: relative; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.card:hover .card__media img { transform: scale(1.04); }
.card__fallback { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 90% at 20% 10%, #e6f5f4 0%, #cbeae8 40%, #94d6d3 100%); }
.card__fallback span { font: 400 2.6rem/1 var(--serif); color: rgba(18, 59, 64, .55); }
.card__fallback svg { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); width: 64px; stroke: rgba(18, 59, 64, .3); fill: none; stroke-width: 2; }
.badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card__title { font: 400 1.2rem/1.3 var(--serif); margin: 0 0 6px; }
.card__tag { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.card__meta { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; }
.card__price { font-weight: 700; color: var(--accent); }
.card__price s { color: var(--muted); font-weight: 400; margin-right: 6px; }
.card__duration { color: var(--muted); }
.skeleton { background: linear-gradient(90deg, #e0eded 0%, #eef6f6 50%, #e0eded 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.card--skeleton .card__media { background: none; }
.card--skeleton .card__media .skeleton { position: absolute; inset: 0; border-radius: 0; }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } a.card:hover, a.card:hover .card__media img { transform: none; } }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pill { border: 1px solid var(--line); background: var(--surface); padding: 9px 16px; border-radius: 999px; font-size: .9rem; cursor: pointer; text-decoration: none; transition: background-color .15s, border-color .15s; }
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty { padding: 48px 24px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }

/* Service page */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(28px, 5vw, 64px); align-items: start; padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 8vw, 96px); }
.svc__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); position: relative; margin-bottom: 28px; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.svc__crumbs a { text-decoration: none; }
.svc__crumbs a:hover { text-decoration: underline; }
.svc h1 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); margin-bottom: 10px; }
.svc__facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .9rem; }
.fact--price { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: 700; }
.svc__desc { font-size: 1.05rem; color: var(--ink-soft); white-space: pre-line; }
.svc__aside { position: sticky; top: 96px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.panel h2 { font-size: 1.4rem; margin-bottom: 4px; }
.svc__intro-mobile { display: none; }
@media (max-width: 900px) {
  .svc { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
  .svc__aside { position: static; order: -1; }
  .svc__main .svc__head { display: none; }
  .svc__intro-mobile { display: block; }
  .svc__intro-mobile .svc__media { aspect-ratio: auto; height: 110px; margin-bottom: 12px; }
  .svc__intro-mobile h1 { font-size: 1.65rem; margin-bottom: 4px; }
  .svc__intro-mobile .lede, .svc__intro-mobile .svc__crumbs { display: none; }
  .svc__intro-mobile .svc__facts .fact:nth-child(n+3) { display: none; }
  .svc__intro-mobile .svc__facts { margin-bottom: 14px; }
  .panel { padding: 18px; }
  .panel > h2, .panel > h2 + p { display: none; }
  .svc__main .svc__media { display: none; }
}

.bk__label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 10px; }
.bk__days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.day, .pager { flex: none; width: 64px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 8px 2px; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.day:hover, .pager:hover { border-color: var(--ink); }
.day small { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.day strong { display: block; font-size: 1.15rem; line-height: 1.2; }
.day[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager { font-size: .74rem; line-height: 1.2; color: var(--ink-soft); }
.bk__empty { align-self: center; font-size: .9rem; color: var(--muted); padding: 0 6px; min-width: 200px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font-weight: 500; }
.bk__dayhead { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 20px 0 10px; }
.bk__dayhead p { margin: 0; font-weight: 700; }
.bk__dayhead span { font-size: .8rem; color: var(--muted); }
.bk__bucket { margin-bottom: 14px; }
.bk__bucket p { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 8px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font-size: .9rem; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.slot:disabled { cursor: not-allowed; opacity: .55; text-decoration: line-through; }
.bk__skel { display: flex; gap: 8px; }
.bk__skel div { width: 64px; height: 56px; flex: none; }
.bk__section { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: .82rem; font-weight: 500; margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: #fbfdfd; border-radius: var(--radius-sm); padding: 11px 13px; font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.bk__summary { background: var(--accent-soft); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .92rem; margin: 6px 0 14px; }
.bk__cta { width: 100%; padding: 16px 20px; font-size: 1rem; }
.bk__error { color: var(--danger); font-size: .9rem; margin: 10px 0 0; }
.bk__note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.confirm { text-align: center; padding: 18px 4px; }
.confirm__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; margin: 0 auto 14px; color: var(--accent); }
.confirm h2 { font-size: 1.6rem; }

/* Testimonials */
.quotes { columns: 3 300px; column-gap: 24px; }
.quote { break-inside: avoid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0 0 24px; }
.quote__stars { color: var(--gold); letter-spacing: 3px; font-size: .95rem; margin-bottom: 10px; }
.quote blockquote { margin: 0 0 14px; font-size: 1rem; color: var(--ink-soft); }
.quote figcaption { font-weight: 700; font-size: .9rem; }
.quote--feature { background: transparent; border: 0; padding: 0; }
.quote--feature blockquote { font: italic 400 1.3rem/1.55 var(--serif); color: inherit; }
.quote-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .quote-row { grid-template-columns: 1fr; } }

/* Promotions */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.offer { position: relative; border-radius: var(--radius); padding: 28px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.offer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--accent); }
.offer--gold::before { background: var(--gold); }
.offer--ink { background: var(--ink); color: #e3f1f1; border-color: var(--ink); }
.offer--ink::before { background: var(--seafoam); }
.offer .offer__big { font: 400 2.4rem/1.05 var(--serif); margin: 6px 0 8px; }
.offer--ink .offer__big, .offer--ink h3 { color: #fff; }
.offer h3 { margin-bottom: 8px; }
.offer p { font-size: .95rem; }
.offer__fine { font-size: .8rem; opacity: .75; margin-top: auto; padding-top: 10px; }
.offer .btn { align-self: flex-start; margin-top: 8px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step strong { display: block; font: 400 1.05rem/1.3 var(--serif); margin-bottom: 6px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Results gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery button { padding: 0; border: 0; background: var(--sand); border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; aspect-ratio: 1; }
.gallery--wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.gallery--wide button { aspect-ratio: 16 / 7; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(8, 30, 33, .86); }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 10px; margin: 0 auto; }
.lightbox button { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 1.4rem; cursor: pointer; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card .card__media { aspect-ratio: 16 / 9; }
.post-card .card__title { font-size: 1.3rem; }
.article { max-width: 720px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.article__cover { border-radius: var(--radius); overflow: hidden; margin: 28px 0 36px; aspect-ratio: 16 / 9; background: var(--sand); }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__meta { color: var(--muted); font-size: .92rem; }
.prose { font-size: 1.08rem; color: var(--ink-soft); }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; color: var(--ink); }
.prose h3 { margin-top: 1.2em; color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font: italic 400 1.2rem/1.55 var(--serif); color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--accent); }

/* Contact + map */
.map { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: var(--radius); background: var(--sand); }
.info-list { list-style: none; padding: 0; margin: 0 0 28px; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list svg { width: 22px; height: 22px; flex: none; stroke: var(--accent); fill: none; stroke-width: 1.8; margin-top: 2px; }
.info-list strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.info-list a { text-decoration: none; }
.info-list a:hover { text-decoration: underline; }

/* Doctor */
.doc { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.doc__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; max-width: 220px; background: var(--sand); box-shadow: var(--shadow); }
.doc__photo img { width: 100%; height: 100%; object-fit: cover; }
.creds { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.creds li { padding-left: 28px; position: relative; }
.creds li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: var(--accent); }
.avatar { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow); margin-bottom: 18px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .doc { grid-template-columns: minmax(0, 1fr); } .doc__photo { max-width: 280px; } }

/* CTA band */
.band { background: var(--accent); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(32px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0 0 6px; }
.band p { margin: 0; color: #e3f4f3; }

/* Footer */
.footer { background: var(--ink); color: #c3dcdc; padding: 64px 0 24px; font-size: .94rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: 40px; }
.footer__logo { display: block; height: 64px; width: auto; margin-bottom: 18px; }
.footer__lede { max-width: 36ch; }
.footer__h { color: #fff; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; }
.footer p { margin: 0 0 8px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer__base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: #93b3b3; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.post-card .card__tag { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
