/* SUBAM Ortho, Physiotherapy Medical Center
   Layout: calm clinical light theme; navy + sky from the logo, gold used only as a fine accent line.
*/
:root {
  --navy: #0d3685;
  --navy-deep: #0a2766;
  --sky: #3a90db;
  --sky-soft: #e8f2fc;
  --gold: #c99a3c;
  --gold-soft: #f6eedb;
  --ink: #13213d;
  --muted: #536179;
  --line: #dde6f2;
  --bg: #f6f9fd;
  --surface: #ffffff;

  --f-display: "Lexend", "Segoe UI", system-ui, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(13, 54, 133, .06), 0 8px 24px rgba(13, 54, 133, .07);
  --max: 1160px;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--sky); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--navy-deep);
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-display);
  font-size: .78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--sky);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }

.wrap {
  width: 100%; max-width: calc(var(--max) + 2 * 24px); margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section--white { background: var(--surface); }
.section--tint { background: var(--sky-soft); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 1.6rem; }
.section-head { display: flex; flex-direction: column; gap: .8rem; max-width: 760px; margin-bottom: 2.4rem; }
.center { text-align: center; align-items: center; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--f-display); font-weight: 500; font-size: .98rem;
  text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--sky); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--gold-soft); color: var(--navy-deep); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.link-arrow { font-family: var(--f-display); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Top bar + Header ---------- */
.topbar { background: var(--navy-deep); color: #d9e6f8; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .45rem; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar span { display: inline-flex; align-items: center; gap: .4rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy-deep); min-width: 0; }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; letter-spacing: .08em; color: var(--navy); }
.brand-sub { font-size: .76rem; color: var(--muted); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: .2rem; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.nav li { position: relative; }
.nav a, .nav button.nav-parent {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .7rem; border-radius: 8px;
  font-family: var(--f-display); font-size: .93rem; font-weight: 400;
  color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav button.nav-parent:hover, .nav a.active, .nav .has-sub.active > .nav-parent { color: var(--navy); background: var(--sky-soft); }
.nav a.active { font-weight: 500; }
.nav .caret { width: 10px; height: 10px; transition: transform .2s; }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
  list-style: none; margin: 0; padding: .45rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.submenu a { display: flex; width: 100%; padding: .6rem .8rem; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.open .submenu { opacity: 1; visibility: visible; transform: none; }
.nav .nav-ortho { border: 1px solid var(--line); margin-left: .35rem; color: var(--muted); }
.nav .nav-ortho:hover, .nav .nav-ortho.active { border-color: var(--sky); }
.nav .nav-cta { margin-left: .5rem; }
.nav .nav-cta.btn { color: #fff; background: var(--navy); padding: .65rem 1.1rem; border-radius: 999px; }
.nav .nav-cta.btn:hover { color: #fff; background: var(--sky); }

.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 1px) 0 0 0; z-index: 49;
    background: var(--surface); flex-direction: column; align-items: stretch;
    padding: 1rem max(20px, env(safe-area-inset-right, 0px)) 2rem max(20px, env(safe-area-inset-left, 0px));
    overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
  }
  .menu-open .nav { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a, .nav button.nav-parent { width: 100%; padding: .9rem .6rem; font-size: 1.05rem; justify-content: space-between; border-bottom: 1px solid var(--line); border-radius: 0; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; display: none; min-width: 0; }
  .has-sub.open .submenu { display: block; }
  .has-sub.open .caret { transform: rotate(180deg); }
  .nav .nav-ortho { margin: 0; border: 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin: 1.2rem 0 0; width: 100%; }
  .nav .nav-cta.btn { justify-content: center; border-radius: 999px; padding: .95rem; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .brand img { height: 44px; }
  .brand-name { font-size: 1.25rem; }
  .brand-sub { font-size: .7rem; }
  .topbar .addr { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--surface) 0%, var(--sky-soft) 100%); }
.hero::after {
  content: ""; position: absolute; right: -180px; top: -140px; width: 560px; height: 560px; border-radius: 50%;
  border: 2px solid var(--gold); opacity: .28; pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 6vw, 5rem); position: relative; z-index: 1; }
.hero-copy { display: flex; flex-direction: column; gap: 1.3rem; min-width: 0; }
.hero-copy h1 span { color: var(--sky); }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: .2rem 0 0; list-style: none; }
.hero-points li { font-size: .9rem; padding: .35rem .8rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--navy); font-weight: 600; }

/* Portrait: swaps in real photo when present, falls back to monogram */
.portrait {
  position: relative; aspect-ratio: 4 / 5; max-width: 420px; width: 100%; justify-self: center;
  border-radius: 200px 200px 24px 24px; overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--sky) 100%);
  box-shadow: 0 30px 60px -20px rgba(13,54,133,.45);
}
.portrait::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid rgba(201,154,60,.75); border-radius: 192px 192px 18px 18px; z-index: 2; pointer-events: none; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.portrait .monogram { position: absolute; inset: 0; display: grid; place-items: center; }
.portrait .monogram img { position: static; width: 46%; height: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .22; }
.portrait-tag {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 3;
  background: rgba(255,255,255,.96); border-radius: 14px; padding: .9rem 1.1rem;
  display: flex; flex-direction: column; gap: .1rem;
}
.portrait-tag strong { font-family: var(--f-display); color: var(--navy-deep); font-weight: 600; font-size: 1.05rem; }
.portrait-tag span { font-size: .88rem; color: var(--muted); }

/* Page hero (inner pages) */
.page-hero { background: var(--navy-deep); color: #dfe9f8; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; bottom: -220px; width: 460px; height: 460px; border-radius: 50%; border: 2px solid var(--gold); opacity: .35; }
.page-hero .wrap { padding-block: clamp(2.8rem, 6vw, 4.4rem); display: flex; flex-direction: column; gap: 1rem; position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .lead { color: #c7d7f0; }
.page-hero .eyebrow { color: #9cc7f1; }
.crumbs { font-size: .88rem; color: #9fb6d9; display: flex; gap: .45rem; flex-wrap: wrap; }
.crumbs a { color: #cfe0f7; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Info strip ---------- */
.strip { background: var(--surface); border-block: 1px solid var(--line); }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.strip li { display: flex; align-items: center; gap: .8rem; padding: 1.3rem 1rem; border-left: 1px solid var(--line); min-width: 0; }
.strip li:first-child { border-left: 0; }
.strip .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sky-soft); color: var(--navy); display: grid; place-items: center; flex: none; }
.strip .ico svg { width: 22px; height: 22px; }
.strip strong { font-family: var(--f-display); font-weight: 600; color: var(--navy-deep); display: block; line-height: 1.2; }
.strip small { color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) { .strip ul { grid-template-columns: repeat(2, 1fr); } .strip li:nth-child(3) { border-left: 0; } .strip li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .strip ul { grid-template-columns: 1fr; } .strip li { border-left: 0; } .strip li + li { border-top: 1px solid var(--line); } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .7rem; min-width: 0; }
.card p { color: var(--muted); }
.card .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--sky-soft); color: var(--navy); display: grid; place-items: center; }
.card .ico svg { width: 24px; height: 24px; }
.card--link { text-decoration: none; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card--link:hover { border-color: var(--sky); transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }

/* Speciality split: physio primary, ortho secondary */
.spec { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.4rem; }
.spec-main { background: var(--navy); color: #d8e5f7; border-radius: 20px; padding: clamp(1.8rem, 4vw, 2.8rem); display: flex; flex-direction: column; gap: 1.1rem; position: relative; overflow: hidden; }
.spec-main::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; border: 1.5px solid var(--gold); opacity: .5; }
.spec-main h3 { color: #fff; font-size: 1.6rem; }
.spec-main .tag { align-self: flex-start; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-family: var(--f-display); }
.spec-main ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .5rem 1.2rem; }
.spec-main li { display: flex; gap: .55rem; align-items: baseline; }
.spec-main li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); flex: none; transform: translateY(-2px); }
.spec-side { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.6rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: .9rem; }
.spec-side .tag { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); font-family: var(--f-display); }
.spec-side p { color: var(--muted); }
.spec-side .btn-row { margin-top: auto; }
@media (max-width: 860px) { .spec { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .spec-main ul { grid-template-columns: 1fr; } }

/* Split media/text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split > * { min-width: 0; }
.split--wide { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 860px) { .split, .split--wide { grid-template-columns: 1fr; } }

.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .65rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: .15rem; border-radius: 50%;
  background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d3685' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist.two-col { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem 1.4rem; }
@media (max-width: 560px) { .checklist.two-col { grid-template-columns: 1fr; } }

/* Process steps (real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1rem; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.2rem; display: flex; flex-direction: column; gap: .45rem; position: relative; }
.steps li::before { content: counter(step); font-family: var(--f-display); font-weight: 600; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: .95rem; margin-bottom: .3rem; }
.steps h4 { color: var(--navy-deep); }
.steps p { color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 680px) { .steps { grid-template-columns: 1fr; } }

/* Conditions */
.cond-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.cond { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.cond .region { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-family: var(--f-display); font-weight: 500; }
.cond h3 { font-size: 1.12rem; }
.cond p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .cond-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .cond-grid { grid-template-columns: 1fr; } }

.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.pill-list li { padding: .5rem 1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--navy-deep); font-weight: 600; font-size: .95rem; }

/* Treatment table-cards */
.tx-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.tx { display: grid; grid-template-columns: 76px 1fr; gap: 1rem; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.tx .abbr { font-family: var(--f-display); font-weight: 600; font-size: .95rem; color: var(--navy); background: var(--sky-soft); border-radius: 10px; height: 56px; display: grid; place-items: center; letter-spacing: .04em; text-align: center; line-height: 1.1; padding: 0 .3rem; }
.tx .abbr.hands { background: var(--gold-soft); color: #7a5a17; }
.tx h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.tx p { color: var(--muted); font-size: .97rem; }
@media (max-width: 760px) { .tx-grid { grid-template-columns: 1fr; } }

/* Doctor profile */
.profile-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem; display: flex; flex-direction: column; gap: 1.2rem; }
.profile-card .portrait { max-width: 100%; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.facts li:last-child { border-bottom: 0; }
.facts span { color: var(--muted); }
.facts strong { color: var(--navy-deep); text-align: right; font-weight: 600; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 1.6rem; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 2rem; }
.timeline li { position: relative; display: flex; flex-direction: column; gap: .5rem; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.6rem - 8px); top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--gold); }
.timeline .when { font-family: var(--f-display); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sky); }
.timeline p { color: var(--muted); }

.quote { font-family: var(--f-display); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.45; color: var(--navy-deep); font-weight: 400; padding-left: 1.3rem; border-left: 3px solid var(--gold); max-width: 40ch; }

/* Notice */
.note { background: var(--gold-soft); border-radius: var(--radius-sm); padding: 1rem 1.2rem; color: #5e4714; font-size: .97rem; display: flex; gap: .7rem; align-items: flex-start; }
.note svg { width: 20px; height: 20px; flex: none; margin-top: .15rem; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: .8rem; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; font-family: var(--f-display); font-weight: 500; color: var(--navy-deep); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--sky); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: var(--sky); }
.faq .answer { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, #1b5bb5); color: #d8e5f7; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; left: -140px; bottom: -260px; width: 480px; height: 480px; border-radius: 50%; border: 2px solid var(--gold); opacity: .35; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-block: clamp(2.6rem, 5vw, 3.6rem); position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band .phone-big { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.1rem); color: #fff; font-weight: 600; letter-spacing: .02em; text-decoration: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.6rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sky-soft); color: var(--navy); display: grid; place-items: center; flex: none; }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list strong { display: block; font-family: var(--f-display); font-weight: 500; color: var(--navy-deep); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem 1.1rem; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--navy-deep); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg);
  transition: border-color .2s, background .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.field .err { color: #b42318; font-size: .85rem; min-height: 1em; }
.field.invalid input, .field.invalid select { border-color: #d92d20; }
.form-status { grid-column: 1 / -1; border-radius: 10px; padding: 1rem 1.2rem; background: #e7f6ec; color: #135c2e; display: none; }
.form-status.show { display: block; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

.map-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.map-card iframe { width: 100%; height: 300px; border: 0; display: block; }

/* Ortho page accent */
.ortho-hero { background: linear-gradient(135deg, #0f4aa8 0%, var(--sky) 100%); }
.ortho-hero::after { border-color: #fff; opacity: .2; }
.ortho-crossref { display: flex; gap: 1.2rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem 1.5rem; flex-wrap: wrap; }
.ortho-crossref img { width: 54px; height: auto; }
.ortho-crossref > div { flex: 1 1 260px; min-width: 0; }

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tbl { width: 100%; border-collapse: collapse; min-width: 520px; }
.tbl th, .tbl td { text-align: left; padding: .95rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl th { font-family: var(--f-display); font-weight: 500; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.tbl td:first-child { font-weight: 600; color: var(--navy-deep); white-space: nowrap; }
.tbl td:last-child { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #0a1f4f; color: #b8c8e3; font-size: .97rem; }
.site-footer .wrap { padding-block: 3.5rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; letter-spacing: .04em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-grid a { color: #b8c8e3; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand .logo-chip { display: inline-flex; align-items: center; gap: .8rem; }
.footer-brand .logo-chip img { height: 56px; width: auto; background: #fff; border-radius: 12px; padding: 6px 8px; }
.footer-brand .logo-chip strong { font-family: var(--f-display); color: #fff; font-size: 1.3rem; letter-spacing: .08em; }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .87rem; color: #8fa4c8; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating call button (mobile) */
.fab-call {
  position: fixed; z-index: 40;
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: none; align-items: center; gap: .5rem;
  background: var(--navy); color: #fff; text-decoration: none; font-family: var(--f-display); font-weight: 500;
  padding: .85rem 1.2rem; border-radius: 999px; box-shadow: 0 10px 24px rgba(10,39,102,.35);
}
.fab-call svg { width: 20px; height: 20px; }
.fab-call:hover { color: #fff; background: var(--sky); }
@media (max-width: 760px) { .fab-call { display: inline-flex; } }

/* Reveal: visible by default; JS adds a gentle rise only when motion is allowed */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal:not(.in) { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js-reveal .reveal:not(.in) { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .portrait { max-width: 340px; }
  .hero::after { width: 360px; height: 360px; right: -200px; }
}

/* ---------- Photos ---------- */
.photo-frame {
  margin: 0; position: relative; overflow: hidden; border-radius: 18px;
  aspect-ratio: 4 / 3; max-width: 100%;
  background: linear-gradient(140deg, var(--sky-soft), #cfe2f6);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(13,54,133,.08); pointer-events: none; }
.page-hero.has-img .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.page-hero .ph-text { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.page-hero .ph-img { background: linear-gradient(140deg, #164a9e, #2f7fcf); box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); outline: 1.5px solid rgba(201,154,60,.6); outline-offset: 8px; margin: 10px; }
.spec-img { aspect-ratio: 16 / 9; border-radius: 12px; }
@media (max-width: 860px) { .page-hero.has-img .wrap { grid-template-columns: 1fr; } .page-hero .ph-img { max-width: 520px; } }

/* Orthopaedics link highlighted in nav */
.nav .nav-ortho { border: 1.5px solid var(--gold); color: var(--navy); font-weight: 500; background: var(--gold-soft); }
.nav .nav-ortho:hover, .nav .nav-ortho.active { background: var(--gold); color: #fff; border-color: var(--gold); }
@media (max-width: 1180px) { .nav .nav-ortho { border: 0; border-bottom: 1px solid var(--line); background: var(--gold-soft); border-radius: 0; } }
.photo-frame img { color: transparent; }
.portrait img.photo { object-position: center 18%; }
.photo-frame.pos-top img { object-position: center 12%; }
.photo-frame.tall { aspect-ratio: 4 / 5; max-width: 440px; }
.page-hero .ph-img.pos-top img { object-position: center 4%; }
/* Full-body photo: show the whole person, never crop the head */
.approach-photo { display: flex; justify-content: center; }
.photo-frame.full-body { aspect-ratio: 4 / 5; width: 100%; max-width: 440px; }
.photo-frame.full-body img { object-position: center top; }
.btn--wa { background: #1f8f4e; }
.btn--wa:hover { background: #17713d; color: #fff; }
