:root {
  --navy: #0b2442;
  --blue: #164f82;
  --blue-light: #e8f3fb;
  --teal: #16a3a6;
  --teal-dark: #0c7377;
  --red: #d93025;
  --ink: #152230;
  --muted: #617082;
  --cloud: #f4f8fb;
  --white: #ffffff;
  --line: #dbe5ec;
  --facebook: #1877f2;
  --shadow: 0 24px 60px rgba(11, 36, 66, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-geist), Arial, sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 104px 0; }
.eyebrow { margin: 0 0 18px; color: var(--teal-dark); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.75rem); }
h3 { font-size: 1.45rem; }
p { color: var(--muted); }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; padding: 13px 24px; font-size: .93rem; font-weight: 750; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(11,36,66,.16); }
.button-primary { background: var(--red); color: white; }
.button-secondary { background: white; border-color: var(--line); color: var(--navy); }
.button-dark { background: var(--navy); color: white; }
.button-white { background: white; color: var(--navy); }
.button-facebook { background: var(--facebook); color: white; }
.button-outline-light { border-color: rgba(255,255,255,.45); color: white; }

.header-strip { background: var(--navy); color: #d9e7f4; font-size: .76rem; letter-spacing: .04em; }
.strip-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; }
.strip-inner a { color: white; font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); box-shadow: 0 1px 0 rgba(11,36,66,.08); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 17px 17px 17px 5px; background: linear-gradient(140deg, var(--navy), var(--blue)); color: white; font-size: 1.05rem; font-weight: 900; letter-spacing: -.06em; box-shadow: inset 0 -4px 12px rgba(0,0,0,.12); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { color: var(--navy); font-family: Georgia, serif; font-size: 1.28rem; font-weight: 700; }
.brand-copy small { margin-top: 5px; color: var(--blue); font-size: .66rem; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 7px; }
.site-nav a { border-radius: 999px; padding: 10px 14px; color: #415268; font-size: .88rem; font-weight: 700; transition: color .2s, background .2s; }
.site-nav a:hover, .site-nav a.active { background: var(--blue-light); color: var(--navy); }
.site-nav a.branch-link { border: 1px solid var(--line); }
.site-nav a.branch-link.active { background: var(--navy); border-color: var(--navy); color: white; }
.menu-button { display: none; width: 46px; height: 42px; border: 0; border-radius: 12px; background: var(--cloud); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-button span { width: 21px; height: 2px; background: var(--navy); }

.hero { min-height: 720px; overflow: hidden; position: relative; background: linear-gradient(115deg, #f3f8fc 0%, white 64%); }
.hero-grid { min-height: 720px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 72px; padding-top: 60px; padding-bottom: 70px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 720px; margin-bottom: 26px; }
.hero-copy h1 span { display: block; color: var(--blue); }
.hero-lead { max-width: 610px; margin-bottom: 34px; font-size: 1.18rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 22px; color: #516273; font-size: .77rem; font-weight: 700; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(22,163,166,.12); }
.hero-visual { min-height: 560px; position: relative; }
.image-card { position: absolute; overflow: hidden; background: #dce8ef; box-shadow: var(--shadow); }
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.image-card-main { inset: 10px 0 46px 112px; border-radius: 170px 28px 30px 30px; }
.image-card-main img { object-position: center 34%; }
.image-card-small { width: 210px; height: 265px; left: 0; bottom: 0; border: 9px solid white; border-radius: 24px; }
.image-card-small img { object-position: center 42%; }
.hero-note { position: absolute; z-index: 2; right: -8px; bottom: 28px; width: 248px; border-left: 4px solid var(--teal); border-radius: 8px; background: white; padding: 17px 20px; box-shadow: 0 12px 36px rgba(11,36,66,.16); }
.hero-note strong, .hero-note span { display: block; }
.hero-note strong { color: var(--navy); }
.hero-note span { color: var(--muted); font-size: .78rem; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.hero-orb-one { width: 360px; height: 360px; top: -210px; right: 20%; background: rgba(22,163,166,.08); }
.hero-orb-two { width: 190px; height: 190px; left: -90px; bottom: 70px; border: 34px solid rgba(22,79,130,.05); }

.intro-section { padding-bottom: 88px; position: relative; overflow: hidden; }
.intro-section::after { content: ""; position: absolute; width: 640px; height: 430px; right: -210px; top: 8px; background: url("../img/prosthetic-watermarks.png") center / contain no-repeat; opacity: .032; transform: rotate(-5deg); pointer-events: none; }
.intro-section > .container { position: relative; z-index: 1; }
.split-heading { display: grid; grid-template-columns: 1fr .8fr; gap: 110px; align-items: end; }
.split-heading h2 { max-width: 700px; margin: 0; }
.intro-copy p { font-size: 1.08rem; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--blue); font-weight: 800; }
.text-link span { font-size: 1.3rem; transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }

.services-section { position: relative; overflow: hidden; background: var(--cloud); }
.services-section::after { content: ""; position: absolute; width: 540px; height: 360px; left: -205px; bottom: -90px; background: url("../img/prosthetic-watermarks.png") center / contain no-repeat; opacity: .024; transform: scaleX(-1) rotate(4deg); pointer-events: none; }
.services-section > .container { position: relative; z-index: 1; }
.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading h2 { margin-bottom: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { min-height: 330px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 24px; background: white; padding: 31px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(22,163,166,.5); box-shadow: var(--shadow); }
.service-number { color: var(--teal); font-size: .78rem; font-weight: 900; letter-spacing: .16em; }
.service-card h3 { margin-top: auto; margin-bottom: 14px; }
.service-card p { margin-bottom: 0; font-size: .93rem; }
.centre-action { margin-top: 38px; text-align: center; }

.locations-section { position: relative; overflow: hidden; background: var(--navy); }
.locations-section::before { content: ""; position: absolute; width: 420px; height: 420px; right: -190px; top: -220px; border: 65px solid rgba(255,255,255,.035); border-radius: 50%; }
.section-heading.light .eyebrow { color: #65d0d2; }
.section-heading.light h2 { color: white; }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.location-card { min-height: 370px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid rgba(255,255,255,.15); border-radius: 28px; background: rgba(255,255,255,.08); padding: 38px; color: white; backdrop-filter: blur(8px); }
.location-card.accent { background: linear-gradient(145deg, rgba(22,163,166,.26), rgba(255,255,255,.08)); }
.location-label { margin-bottom: auto; color: #9bcfd1; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.location-card h3 { margin: 36px 0 12px; color: white; font-size: 2rem; }
.location-card p { max-width: 460px; min-height: 52px; color: #d7e3ee; }
.location-numbers { display: flex; gap: 18px; margin-bottom: 28px; font-weight: 750; }

.facebook-section { background: #edf4ff; }
.facebook-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 90px; }
.facebook-copy p:not(.eyebrow) { max-width: 480px; margin-bottom: 28px; font-size: 1.06rem; }
.facebook-frame { width: 100%; max-width: 540px; justify-self: end; overflow: hidden; border: 14px solid white; border-radius: 26px; background: white; box-shadow: var(--shadow); }
.facebook-frame iframe { display: block; width: 100% !important; max-width: 100%; }

.showcase-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 80px; }
.showcase-copy p:not(.eyebrow) { margin-bottom: 30px; font-size: 1.06rem; }
.showcase-images { min-height: 520px; position: relative; }
.showcase-images img { position: absolute; object-fit: cover; box-shadow: var(--shadow); }
.showcase-images img:first-child { width: 43%; height: 88%; left: 0; top: 0; border-radius: 110px 24px 24px; object-position: center 35%; }
.showcase-images img:last-child { width: 64%; height: 72%; right: 0; bottom: 0; border: 10px solid white; border-radius: 24px 100px 24px 24px; }
.showcase-images.single img:first-child { width: 100%; height: 100%; left: 0; right: auto; top: 0; bottom: auto; border: 0; border-radius: 110px 28px 28px; object-position: center 34%; }

.page-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, #eaf4fb, #fff); }
.page-hero::after { content: ""; position: absolute; width: 590px; height: 395px; right: -155px; top: 2px; background: url("../img/prosthetic-watermarks.png") center / contain no-repeat; opacity: .034; transform: rotate(-3deg); pointer-events: none; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero-inner { max-width: 890px; padding-top: 106px; padding-bottom: 98px; }
.page-hero h1 { margin-bottom: 22px; font-size: clamp(2.9rem, 5.4vw, 5rem); }
.page-hero p:last-child { max-width: 760px; font-size: 1.14rem; }
.branch-hero { background: linear-gradient(115deg, #e8f5f5, #f7fbfd 58%, #e9f2fa); }
.branch-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: -29px; position: relative; z-index: 2; }
.branch-tabs a { min-height: 58px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--navy); font-weight: 800; box-shadow: 0 10px 28px rgba(11,36,66,.08); }
.branch-tabs a.active { background: var(--navy); border-color: var(--navy); color: white; }
.branch-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 64px; align-items: stretch; }
.branch-details h2 { margin-bottom: 38px; }
.detail-block { padding: 20px 0; border-top: 1px solid var(--line); }
.detail-label { display: block; margin-bottom: 9px; color: var(--teal-dark); font-size: .74rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.detail-block p { margin-bottom: 0; }
.detail-block a { display: block; width: fit-content; color: var(--blue); font-weight: 750; }
.detail-block small { display: block; margin-top: 12px; color: var(--muted); }
.hours-row { display: flex; justify-content: space-between; gap: 22px; }
.hours-row strong { color: var(--navy); }
.map-card { overflow: hidden; display: flex; flex-direction: column; min-height: 580px; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: var(--shadow); }
.map-card iframe { flex: 1; width: 100%; min-height: 500px; border: 0; }
.map-link { padding: 18px 22px; color: var(--blue); font-weight: 800; text-align: center; }
.contact-section { background: var(--cloud); }
.contact-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; }
.contact-copy { position: sticky; top: 150px; }
.contact-form { display: grid; gap: 18px; border: 1px solid var(--line); border-radius: 28px; background: white; padding: 36px; box-shadow: 0 18px 48px rgba(11,36,66,.08); }
.contact-form label { display: grid; gap: 8px; color: var(--navy); font-size: .84rem; font-weight: 750; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid #cddae3; border-radius: 12px; background: #fbfdfe; padding: 13px 14px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(22,163,166,.12); }
.contact-form textarea { resize: vertical; }
.contact-form .check-label { display: flex; grid-template-columns: none; flex-direction: row; align-items: flex-start; font-weight: 500; }
.check-label input { width: 18px; height: 18px; margin-top: 3px; }
.contact-form button { width: fit-content; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.about-image-stack { min-height: 660px; position: relative; }
.about-image-stack > img { width: 86%; height: 620px; border-radius: 140px 28px 28px; object-fit: cover; object-position: center 15%; box-shadow: var(--shadow); }
.stat-card { position: absolute; right: 0; bottom: 18px; width: 190px; border-radius: 24px; background: var(--navy); padding: 25px; color: white; box-shadow: var(--shadow); }
.stat-card strong { display: block; font-size: 3.5rem; line-height: 1; }
.stat-card span { display: block; margin-top: 8px; color: #d5e4ef; font-size: .83rem; }
.about-copy > p { font-size: 1.04rem; }
.value-list { margin-top: 34px; display: grid; gap: 4px; }
.value-list div { display: grid; grid-template-columns: .55fr 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.value-list strong { color: var(--navy); }
.value-list span { color: var(--muted); font-size: .91rem; }
.service-feature-grid { display: grid; gap: 36px; }
.service-feature { display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: var(--cloud); }
.service-feature > div { padding: 56px; }
.service-feature > img { width: 100%; height: 100%; min-height: 580px; object-fit: cover; object-position: center 35%; }
.service-feature.reverse > div { order: 2; }
.service-feature.reverse > img { order: 1; }
.service-feature ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 25px; margin: 28px 0 0; padding: 0; list-style: none; }
.service-feature li { padding: 10px 0 10px 20px; position: relative; border-bottom: 1px solid var(--line); color: #42556b; }
.service-feature li::before { content: ""; position: absolute; left: 0; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.cta-band { padding: 70px 0; background: linear-gradient(125deg, var(--navy), #124f71); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band .eyebrow { color: #69d4d7; }
.cta-band h2 { margin-bottom: 0; color: white; }

.site-footer { padding-top: 70px; background: #07192d; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .7fr .9fr .95fr; gap: 48px; padding-bottom: 54px; }
.footer-brand .brand-copy strong, .footer-brand .brand-copy small { color: white; }
.footer-grid h3 { color: white; font-size: .92rem; letter-spacing: .04em; }
.footer-grid p, .footer-grid small { color: #a9bdd0; font-size: .85rem; }
.footer-grid a { display: block; width: fit-content; margin: 7px 0; color: #dce7f0; font-size: .84rem; }
.footer-grid a:hover { color: white; }
.footer-bottom { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #8fa6ba; font-size: .76rem; }

.notice { margin: -10px 0 24px; border-radius: 14px; padding: 15px 18px; font-size: .9rem; font-weight: 650; }
.notice.success { background: #e3f7ef; color: #126249; }
.notice.error { background: #feeae7; color: #9a2f26; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.reveal { animation: reveal .75s cubic-bezier(.2,.75,.25,1) both; }
.reveal-delay { animation-delay: .14s; }
.js .reveal-ready { opacity: 0; transform: translateY(22px); animation: none; transition: opacity .7s cubic-bezier(.2,.75,.25,1), transform .7s cubic-bezier(.2,.75,.25,1); }
.js .reveal-ready.visible { opacity: 1; transform: translateY(0); }
.js .reveal-ready.reveal-delay { transition-delay: .12s; }
@keyframes reveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  .menu-button { display: flex; }
  .site-nav { display: none; position: absolute; top: 120px; left: 20px; right: 20px; align-items: stretch; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: white; padding: 14px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { text-align: center; }
  .hero-grid, .split-heading, .showcase-grid, .facebook-grid, .branch-layout, .contact-layout, .about-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 80px; gap: 35px; }
  .hero-visual { min-height: 500px; }
  .split-heading, .showcase-grid, .facebook-grid, .branch-layout, .contact-layout, .about-grid { gap: 50px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid .service-card:last-child { grid-column: 1 / -1; min-height: 260px; }
  .facebook-frame { justify-self: start; }
  .contact-copy { position: static; }
  .service-feature { grid-template-columns: 1fr; }
  .service-feature.reverse > div, .service-feature.reverse > img { order: initial; }
  .service-feature > img { min-height: 480px; max-height: 640px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:nth-child(2) { display: none; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 74px 0; }
  .header-strip { display: none; }
  .nav-wrap { min-height: 78px; }
  .site-nav { top: 74px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 14px 14px 14px 5px; }
  .brand-copy strong { font-size: 1.08rem; }
  .brand-copy small { font-size: .57rem; }
  .hero, .hero-grid { min-height: auto; }
  .hero-grid { padding-top: 65px; padding-bottom: 56px; }
  h1 { font-size: clamp(2.7rem, 13.5vw, 4rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-lead { font-size: 1.02rem; }
  .hero-actions .button { flex: 1 1 160px; }
  .trust-row { gap: 12px 18px; }
  .hero-visual { min-height: 430px; }
  .image-card-main { inset: 0 0 30px 54px; border-radius: 100px 22px 22px; }
  .image-card-small { width: 135px; height: 180px; border-width: 6px; }
  .hero-note { width: 195px; right: 0; bottom: 12px; padding: 13px 15px; }
  .intro-section::after { width: 390px; height: 260px; right: -205px; top: 24px; opacity: .022; }
  .services-section::after { display: none; }
  .page-hero::after { width: 360px; height: 240px; right: -190px; top: 24px; opacity: .025; }
  .service-grid, .location-grid, .branch-tabs, .form-row { grid-template-columns: 1fr; }
  .service-grid .service-card:last-child { grid-column: auto; }
  .service-card { min-height: 270px; }
  .location-card { min-height: 350px; padding: 30px; }
  .location-numbers { flex-direction: column; gap: 4px; }
  .facebook-frame { max-height: 540px; border-width: 8px; }
  .facebook-frame iframe { height: 520px; }
  .showcase-images { min-height: 420px; }
  .showcase-images img:first-child { width: 48%; }
  .showcase-images img:last-child { width: 68%; }
  .showcase-images.single img:first-child { width: 100%; height: 100%; }
  .page-hero-inner { padding-top: 76px; padding-bottom: 78px; }
  .branch-tabs { margin-top: -18px; }
  .map-card { min-height: 470px; }
  .map-card iframe { min-height: 410px; }
  .contact-form { padding: 24px 18px; }
  .about-image-stack { min-height: 530px; }
  .about-image-stack > img { height: 500px; }
  .stat-card { width: 160px; padding: 20px; }
  .service-feature > div { padding: 34px 24px; }
  .service-feature > img { min-height: 420px; }
  .service-feature ul { grid-template-columns: 1fr; }
  .cta-band .container { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:nth-child(2) { display: block; }
  .footer-bottom { padding: 18px 0; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
