/* =====================================================================
   proximalrehab.com - modern refresh (2026-11-17). Loaded AFTER styles.css on the home page only.
   Real photos (free Unsplash License), line icons instead of emoji, calmer motion, more air.
   ===================================================================== */
:root { --img-radius: 22px; --ring: 0 0 0 4px rgba(0,163,181,.18); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { transition: none !important; opacity: 1 !important; transform: none !important; } }
img { max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--teal3); outline-offset: 3px; }

/* ---- navigation: one static logo (white on the hero, full colour once the bar turns solid) ---- */
.nav-logo img { height: 44px; display: block; transition: filter .25s ease; }
.nav--light .nav-logo img { filter: brightness(0) invert(1); }
.nav--solid { backdrop-filter: saturate(160%) blur(10px); }
.pill-login { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.pill-login svg { width: 16px; height: 16px; }

/* ---- hero: words left, a real photo right ---- */
.hero2 { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(120% 110% at 15% 10%, #16416b 0%, #0D2C4E 52%, #071726 100%); }
.hero2::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(42% 46% at 82% 34%, rgba(0,163,181,.24), transparent 62%); }
.hero2-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; padding: 120px 0 72px; }
.hero2 h1 { color: #fff; font-size: clamp(38px, 5vw, 62px); font-weight: 800; line-height: 1.06; margin: 0 0 22px; max-width: 15ch; letter-spacing: -.01em; }
.hero2 h1 span { background: linear-gradient(120deg, var(--teal3), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .lead { color: #c2d4e6; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; max-width: 46ch; margin: 0 0 30px; }
.hero2-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero2-stats { display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; }
.hero2-stats b { display: block; font-size: 28px; color: #fff; font-weight: 800; }
.hero2-stats span { font-size: 13px; color: #9fb6cc; }
.hero2-media { position: relative; }
.hero2-photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.4;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.12); }
.hero2-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero2-badge { position: absolute; left: -22px; bottom: 26px; display: flex; gap: 12px; align-items: center;
  background: #fff; color: var(--navy); border-radius: 16px; padding: 14px 18px; box-shadow: 0 20px 40px -18px rgba(7,23,38,.55); }
.hero2-badge .dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal2)); }
.hero2-badge b { display: block; font-size: 15px; }
.hero2-badge small { color: var(--muted); font-size: 12.5px; }
.hero2-chip { position: absolute; right: 18px; top: 18px; background: rgba(7,23,38,.62); color: #fff; backdrop-filter: blur(6px);
  border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; letter-spacing: .02em; }

/* ---- icons (replace emoji) ---- */
.svc-ic svg, .ic svg { width: 24px; height: 24px; }
.svc-ic { font-size: 0; }

/* ---- service cards: a photo row above the six cards ---- */
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0 0 26px; }
.photo-card { position: relative; border-radius: var(--img-radius); overflow: hidden; aspect-ratio: 4 / 3; margin: 0; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.photo-card:hover img { transform: scale(1.04); }
.photo-card figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; color: #fff; font-weight: 700; font-size: 17px;
  background: linear-gradient(180deg, transparent, rgba(7,23,38,.82)); }
.photo-card figcaption small { display: block; font-weight: 500; font-size: 13px; color: #cfe0ee; margin-top: 2px; }
.svc { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.svc:hover { transform: translateY(-4px); }

/* ---- about / careers / community photos ---- */
.about-media.photo { padding: 0; background: none; min-height: 0; display: block; }
.about-media.photo::before { display: none; }
/* styles.css whitened the old logo here (filter + 60% width); a photo must show as it is. */
.about-media.photo img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; border-radius: 24px; display: block; filter: none; opacity: 1; }
.band.photo-band { background: none; padding: 0; text-align: left; display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10); }
.band.photo-band .band-copy { padding: 56px 48px; background: radial-gradient(120% 140% at 80% 20%, #123a60, #0D2C4E 60%, #071726); }
.band.photo-band .band-img { position: relative; min-height: 360px; }
.band.photo-band .band-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.impact-media.photo img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; display: block; }

/* ---- contact icons ---- */
.ic { font-size: 0; }

.photo-credit { font-size: 12px; opacity: .65; }

@media (max-width: 900px) {
  .hero2-in { grid-template-columns: 1fr; gap: 36px; padding: 104px 0 56px; }
  .hero2-badge { left: 12px; bottom: 12px; }
  .photo-row { grid-template-columns: 1fr; }
  .photo-card { aspect-ratio: 16 / 10; }
  .band.photo-band { grid-template-columns: 1fr; }
  .band.photo-band .band-copy { padding: 36px 24px; }
  .band.photo-band .band-img { min-height: 240px; }
  .about-media.photo img { min-height: 280px; }
}
