/* Papatoetoe Family Doctors — colours and type taken from the live site (2026-09-29). */
:root {
  --navy: #005e9c;
  --blue: #0170b9;
  --sky: #22bdff;
  --deep: #005a96;
  --contact: #037db1;
  --yellow: #ffcb00;
  --text: #3a3a3a;
  --muted: #5b6770;
  --line: #d6e3ec;
  --tint-blue: #e1ebf1;
  --tint-green: #e1f1e7;
  --tint-soft: #f2f8fc;
  --green: #2ea44f;
  --radius: 10px;
  --wrap: 1200px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "ABeeZee", "Montserrat", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; font: 17px/1.65 var(--body); color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.25; margin: 0 0 .5em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.small { font-size: 14px; color: var(--muted); }

/* preview-only markers */
.preview-flag { background: #fff4c2; color: #6b5200; font: 600 13px/1.4 var(--head); padding: 6px 16px; text-align: center; }
.tbc { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: var(--yellow); color: #4a3a00; font: 700 11px/1.6 var(--head); vertical-align: middle; cursor: help; }
.tbc-box { border: 2px dashed #e0b400; background: #fffbe6; border-radius: var(--radius); padding: 12px 18px; margin: 0 0 24px; font-size: 15px; }
.tbc-box ul { margin: 6px 0 0; padding-left: 20px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo img { display: block; width: 230px; }
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.site-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav a { font: 500 17px var(--head); color: var(--blue); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
.header-ctas { display: flex; gap: 8px; }
.hbtn { display: inline-flex; align-items: center; justify-content: center; text-align: center; width: 76px; min-height: 50px; padding: 4px 6px; border-radius: 8px; font: 700 12px/1.2 var(--head) !important; text-transform: uppercase; text-decoration: none !important; }
.hbtn-yellow { background: var(--yellow); color: var(--navy) !important; }
.hbtn-blue { background: var(--blue); color: #fff !important; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--navy); border-radius: 2px; }
.notice-bar { padding: 0 24px; }
.notice-bar .wrap { background: var(--yellow); border-radius: 18px 18px 0 0; padding: 6px 20px; text-align: center; font: 600 15px/1.5 var(--head); color: var(--navy); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.notice-bar p { margin: 0; display: inline; }
.notice-bar a { color: var(--blue); }

/* buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: var(--radius); border: 0; background: var(--blue); color: #fff; font: 600 16px var(--head); text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { filter: brightness(1.08); }
.btn-light { background: #37b3f0; color: #fff; min-width: 290px; padding: 16px 28px; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-navy { background: var(--navy); border-radius: 99px; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; }
.btn-green { background: #3bb273; font-size: 15px; padding: 12px 18px; }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.link-arrow { font: 700 15px var(--head); color: var(--navy); text-decoration: none; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* hero */
.hero { background: linear-gradient(200deg, var(--sky) 0%, var(--deep) 100%); color: #fff; overflow: hidden; }
.hero h1 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; }
.hero p { color: #fff; font-size: 18px; max-width: 620px; }
.eyebrow { font: 700 16px var(--head) !important; color: var(--yellow) !important; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 12px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: end; min-height: 480px; }
.hero-text { padding: 48px 0; }
.hero-img { align-self: end; }
.hero-img img { display: block; margin-left: auto; max-height: 520px; width: auto; }
.hero-buttons { display: flex; flex-direction: column; gap: 18px; margin: 34px 0 30px; align-items: flex-start; }
.hero-hours { font: 600 16px/1.6 var(--head) !important; }
.hero-hours strong { color: var(--yellow); }
.hero-center .hero-grid { grid-template-columns: 1fr; text-align: center; min-height: 360px; align-items: center; }
.hero-center .hero-text { max-width: 820px; margin: 0 auto; }
.hero-center p { margin-left: auto; margin-right: auto; }
.hero-photo .hero-grid { align-items: center; }
.hero-photo .hero-img img { max-height: 460px; border-radius: 0; }
.hero-green { background: linear-gradient(200deg, #1db6a6 0%, #1f8f3a 100%); }
.hero-card { background: #7a8a96 url() center/cover; position: relative; }
.hero-card .hero-grid { grid-template-columns: 1fr; min-height: 420px; align-items: center; position: relative; z-index: 1; }
.hero-card .hero-text { background: rgba(1, 112, 185, .82); border-radius: 18px; padding: 32px; max-width: 520px; }
.hero-card .hero-img { position: absolute; inset: 0; z-index: -1; align-self: stretch; }
.hero-card .hero-img img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.hero-card h1 { font-size: 28px; }
.hero-card .lead { font-weight: 600; }
.hero-small { padding: 56px 0 44px; }
.hero-small h1 { margin: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; max-width: 560px; }

/* sections */
.section { padding: 64px 0; }
.tint-blue { background: var(--tint-blue); }
.tint-green { background: var(--tint-green); }
.tint-soft { background: var(--tint-soft); }
.navy { background: var(--navy); }
.navy .h-section, .navy h3, .navy p, .navy .link-arrow { color: #fff; }
.h-section { font-size: clamp(26px, 3vw, 35px); font-weight: 700; text-transform: uppercase; }
.h-section .badge { font-size: 14px; vertical-align: middle; }
.h-sub { font-size: 20px; margin-top: 36px; }
.intro { max-width: 1000px; margin-bottom: 32px; }
.prose h2 { font-size: 26px; margin-top: 1.4em; }
.prose h3 { font-size: 20px; margin-top: 1.2em; }
.prose img { border-radius: var(--radius); margin: 12px 0; }
.meta { font: 700 15px var(--head); color: var(--blue); text-transform: uppercase; }
.post-img { display: block; max-height: 420px; width: auto; }

/* cards */
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.paths { padding: 48px 0; }
.path-card { background: #f3f8fb; border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; box-shadow: 0 4px 14px rgba(0, 60, 100, .06); display: flex; flex-direction: column; }
.path-card h3 { font-size: 19px; }
.path-card p { flex: 1; margin: 0 0 14px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 44px; }
.card h3 { font-size: 18px; color: var(--blue); padding-bottom: 8px; border-bottom: 2px solid var(--blue); margin-bottom: 12px; }
.card p, .card li { font-size: 16px; }
.card ul { padding-left: 20px; margin: 0; }
.card-dark h3 { color: #fff; border-color: rgba(255, 255, 255, .5); }
.badge { display: inline-block; font: 600 13px var(--head); color: var(--green); text-transform: none; }
.more summary { cursor: pointer; font: 700 14px var(--head); color: var(--navy); }
.more summary::marker { color: var(--blue); }

/* learn / resources */
.learn-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 24px; align-items: start; }
.signup-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px 26px; text-align: center; box-shadow: 0 4px 16px rgba(0, 60, 100, .08); }
.signup-box p:first-child { font-size: 17px; }
.signup-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.signup-row p { margin: 0; max-width: 760px; }
.res-card, .ws-card { display: block; text-decoration: none; color: var(--text); }
.res-card img { height: 110px; width: auto; display: block; margin-bottom: 10px; }
.res-card h3, .ws-card h3 { font-size: 16px; text-transform: uppercase; color: var(--blue); }
.res-card p, .ws-card p { font-size: 14.5px; }
.card-grid.three .res-card { background: #fff; border-radius: 14px; padding: 18px; }
.card-grid.three .res-card img { height: 170px; width: 100%; object-fit: contain; }
.ws-card { background: #f3f8fb; border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 18px; }
.ws-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }

/* sliders (scroll-snap, no library) */
.slider { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 24px; scrollbar-width: none; padding-bottom: 6px; }
.slider::-webkit-scrollbar { display: none; }
.slider > * { scroll-snap-align: start; }
.ws-strip { grid-auto-columns: calc((100% - 48px) / 3); }
.doc-strip { grid-auto-columns: calc((100% - 72px) / 4); }
.slide { margin: 0; }
.slide blockquote { margin: 0; font-style: italic; font-size: 16px; }
.slide figcaption { font: 700 14px var(--head); color: var(--navy); margin-top: 10px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: #b9cfdd; cursor: pointer; }
.dots button[aria-current="true"] { background: var(--navy); }
.doc-thumb { text-align: center; text-decoration: none; font: 700 15px var(--head); color: var(--blue); }
.doc-thumb img { display: block; width: 104px; height: 104px; object-fit: cover; border-radius: 50%; margin: 0 auto 10px; }

/* steps + calculator */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 24px; }
.step { padding: 22px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step-no { font: 600 13px var(--head); text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.step h3 { font-size: 18px; }
.step p { font-size: 15px; margin: 0; }
.facts { color: var(--muted); font-size: 15px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.fee-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fee-calc label { display: flex; flex-direction: column; font: 600 14px var(--head); color: var(--navy); }
.fee-calc select { margin-top: 4px; padding: 12px; border: 1px solid #c4d3de; border-radius: 8px; font: 15px var(--body); background: #fff; }
.calc-result { grid-row: span 3; grid-column: 2; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 20px; }
.fee-calc label:nth-of-type(1) { grid-column: 1; }
.calc-result span { font: 600 14px var(--head); color: var(--muted); }
.calc-result strong { font: 700 44px var(--head); color: var(--navy); }
.fee-calc .small, .other-fees { grid-column: 1 / -1; }
.other-fees { background: #fff; border-left: 4px solid var(--green); border-radius: 8px; padding: 12px 18px; font-size: 15px; }
.other-fees ul { margin: 6px 0 0; padding-left: 20px; }

/* fees */
.tab-list { display: flex; gap: 6px; }
.tab-list button { padding: 14px 24px; border: 0; border-radius: 10px 10px 0 0; background: #c9d6df; color: #fff; font: 600 15px var(--head); cursor: pointer; }
.tab-list button[aria-selected="true"] { background: var(--navy); }
.tab-panel { border-top: 3px solid var(--navy); padding-top: 18px; }
.pill { background: var(--yellow); border-radius: 99px; padding: 6px 20px; text-align: center; font: 500 15px var(--head); color: var(--navy); }
.pill a { color: var(--navy); font-weight: 700; }
.fee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fee-card { padding: 14px 18px; border-right: 1px solid var(--line); }
.fee-card:last-child { border-right: 0; }
.fee-card h4 { font: 600 13px var(--head); text-transform: uppercase; color: var(--text); border-bottom: 2px solid #999; padding-bottom: 6px; }
.fee-card table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.fee-card td { padding: 6px 0; border-bottom: 1px solid #eef2f5; }
.fee-card td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.fee-notes { font-size: 15px; margin-top: 28px; }

/* faq */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 4px; font: 500 16px var(--head); color: var(--text); list-style: none; }
.faq summary::before { content: "⌄"; display: inline-block; width: 22px; color: var(--navy); font-weight: 700; transition: transform .15s; }
.faq[open] summary::before { transform: rotate(180deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0 0 16px 26px; }
.ready { margin-top: 28px; font: 600 16px var(--head); }

/* team */
.team-tabs { display: flex; gap: 20px; margin-bottom: 20px; font: 600 15px var(--head); }
.team-tabs a { text-decoration: none; }
.person { display: grid; grid-template-columns: 220px 1fr; gap: 36px; padding: 28px 0; border-bottom: 2px solid #cfe0ec; }
.person-side { text-align: center; }
.person-side img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; }
.person-side h3 { font-size: 18px; margin: 10px 0 2px; }
.role { font: 600 13px var(--head); color: var(--blue); margin: 0; }
.quals { font-size: 12.5px; color: var(--muted); margin: 2px 0; }
.days { font: 600 13px var(--head); color: var(--green); }
.person-bio { font-size: 16px; }
.admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.admin-grid .person { grid-template-columns: 1fr; border: 0; padding: 12px 0; }
.admin-grid .person-bio { display: none; }
.admin-grid img { width: 110px; height: 110px; }

/* pay online */
.bank-details { display: grid; grid-template-columns: 200px 1fr; gap: 8px 16px; background: var(--tint-soft); padding: 20px 24px; border-radius: var(--radius); }
.bank-details dt { font: 700 15px var(--head); color: var(--navy); }
.bank-details dd { margin: 0; font-weight: 700; }
.banks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.banks img { border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #fff; max-height: 90px; width: 100%; object-fit: contain; }
.enrol-frame { width: 100%; height: 1600px; border: 1px solid var(--line); border-radius: var(--radius); }
.apps a { display: inline-block; margin-right: 8px; }
.apps img { height: 44px; width: auto; }

/* contact + footer */
.contact { background: var(--contact); color: #fff; padding: 56px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.contact-info { text-align: center; }
.contact h2 { color: #fff; font: 400 32px var(--head); }
.contact-name { font: 700 17px var(--head); margin: 0; }
.contact-phone a { font: 700 30px var(--head); color: #fff; text-decoration: none; }
.contact a { color: #fff; }
.contact-form label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input, .contact-form textarea, .signup-form input { width: 100%; margin-bottom: 12px; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font: 15px var(--body); }
.form-note { font-size: 13px; opacity: .9; margin: 0 0 12px; }
.form-status { font-weight: 600; min-height: 1.4em; }
.site-footer { background: var(--navy); color: #fff; padding: 30px 0 24px; text-align: center; font-size: 13px; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; padding: 0; margin: 0 0 18px; }
.footer-links a { color: #fff; text-decoration: none; font: 500 14px var(--head); }
.footer-links a:hover { text-decoration: underline; }
.regulatory { max-width: 820px; margin: 0 auto 14px; }
.credit { opacity: .8; }

/* dialog */
.dialog { border: 0; border-radius: 16px; padding: 28px; max-width: 440px; width: calc(100% - 32px); }
.dialog::backdrop { background: rgba(0, 40, 70, .5); }
.dialog label span { display: block; font: 600 14px var(--head); color: var(--navy); }
.dialog-actions { display: flex; gap: 10px; }

/* responsive */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 84px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 24px 20px; box-shadow: 0 10px 20px rgba(0, 0, 0, .08); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header-ctas { padding-top: 12px; }
  .hbtn { width: auto; flex: 1; min-height: 46px; font-size: 14px !important; }
  .learn-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .calc-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-img img { max-height: 340px; margin: 0 auto; }
  .hero-text { padding: 36px 0 0; }
  .hero-card .hero-text { padding: 24px; }
  .path-grid, .card-grid, .card-grid.three { grid-template-columns: 1fr 1fr; }
  .steps, .fee-grid { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .fee-card { border-bottom: 1px solid var(--line); }
  .ws-strip { grid-auto-columns: calc((100% - 24px) / 2); }
  .doc-strip { grid-auto-columns: calc((100% - 48px) / 3); }
  .admin-grid { grid-template-columns: 1fr 1fr; }
  .signup-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .notice-bar { padding: 0; }
  .notice-bar .wrap { border-radius: 0; font-size: 13.5px; }
  .header-row { min-height: 70px; }
  .site-nav { top: 70px; }
  .logo img { width: 190px; }
  .section { padding: 44px 0; }
  .path-grid, .card-grid, .card-grid.three, .learn-grid, .steps, .fee-grid, .banks { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .btn-light { min-width: 0; width: 100%; }
  .hero-buttons { align-items: stretch; }
  .fee-calc { grid-template-columns: 1fr; }
  .calc-result { grid-column: 1; grid-row: auto; }
  .ws-strip { grid-auto-columns: 85%; }
  .doc-strip { grid-auto-columns: calc((100% - 24px) / 2); }
  .person { grid-template-columns: 1fr; gap: 12px; }
  .contact-form .row2 { grid-template-columns: 1fr; gap: 0; }
  .bank-details { grid-template-columns: 1fr; }
  .tab-list button { flex: 1; padding: 12px 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Aroha: encourage patients to ask Aroha first */
.btn-aroha { background: #1856b8; color: #fff; border-radius: 99px; }
.link-inline { background: none; border: 0; padding: 0; font: 700 inherit/inherit var(--head); color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-yellow { color: var(--yellow); font-size: 17px; }
.hero-aroha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 500 16px var(--head) !important; margin: -12px 0 22px; }
.hero-aroha img, .ask-more img, .contact-aroha img { border-radius: 50%; border: 2px solid #fff; flex: none; object-fit: cover; }
.aroha-band { background: linear-gradient(120deg, #1856b8, var(--navy)); color: #fff; padding: 48px 0; }
.aroha-grid { display: grid; grid-template-columns: 120px 1.4fr 1fr; gap: 36px; align-items: center; }
.aroha-face { border-radius: 50%; border: 4px solid #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.aroha-band h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); }
.aroha-band p { margin: 0 0 14px; }
.aroha-help { background: rgba(255, 255, 255, .1); border-radius: 14px; padding: 20px 24px; }
.aroha-help ul { margin: 0 0 16px; padding-left: 20px; font-size: 15.5px; }
.small-light { font-size: 14px; opacity: .85; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.chip { background: #fff; color: #1856b8; border: 0; border-radius: 99px; padding: 9px 16px; font: 600 14px var(--head); cursor: pointer; }
.chip:hover { background: var(--yellow); color: var(--navy); }
.ask-more { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding: 18px 22px; background: var(--tint-soft); border: 1px solid var(--line); border-radius: 14px; }
.ask-more p { flex: 1; margin: 0; min-width: 220px; }
.contact-aroha { display: flex; gap: 14px; text-align: left; background: rgba(255, 255, 255, .12); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; }
.contact-aroha img { align-self: flex-start; }
.contact-aroha p { margin: 0 0 10px; font-size: 15px; }
.contact-aroha .ca-head { font: 700 18px var(--head); margin-bottom: 4px; }
.ca-call { font-size: 14px; opacity: .9; }
.contact-form h3 { color: #fff; font: 600 20px var(--head); margin-bottom: 4px; }
.action-bar { display: none; }
@media (max-width: 900px) {
  .aroha-grid { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .aroha-face { margin: 0 auto; width: 96px; }
  .chips { justify-content: center; }
  .aroha-help { text-align: left; }
}
@media (max-width: 600px) {
  .action-bar { display: grid; grid-template-columns: 2fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; box-shadow: 0 -2px 12px rgba(0, 0, 0, .12); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .ab { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 10px; border: 2px solid var(--navy); background: #fff; color: var(--navy); font: 700 15px var(--head); text-decoration: none; }
  .ab-aroha { background: #1856b8; border-color: #1856b8; color: #fff; }
  body { padding-bottom: 72px; }
  /* the bar replaces the floating bubble on phones; the chat window sits above the bar */
  body #aroha-bubble.aroha-bubble { display: none !important; }
  body #aroha-window.aroha-window { bottom: 76px !important; }
}
.doc-thumb small { display: block; margin-top: 4px; font: 400 13px/1.35 var(--body); color: var(--text, #333); }
.contact-map { color: inherit; text-decoration: none; }
.contact-map:hover { text-decoration: underline; }
.credit a { color: inherit; }
.card-eyebrow { margin: 0 0 4px; font: 700 12px var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.enrol-save { background: var(--tint-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 20px 0; }
.enrol-save h4 { margin: 0 0 6px; }
.enrol-save p { margin: 0; }
.fee-card .small { margin: -4px 0 8px; }
.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 24px 32px; }
.partner { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--navy); font: 600 13px var(--head); }
.partner img { height: 70px; width: auto; max-width: 170px; object-fit: contain; }
.ws-card h3 a { color: inherit; text-decoration: none; }
/* enrolment page: bare, like the live Elementor canvas page */
.enrol-bare { min-height: 100vh; background: #0474ab; color: #fff; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10% 16px 40%; }
.enrol-bare img { width: 36%; max-width: 420px; height: auto; margin: 50px 0; }
.enrol-bare-text p { color: #fff; margin: 0 0 6px; font-size: 18px; }
.enrol-bare-btn { margin-top: 50px; border-radius: 20px; font-weight: 700; }
@media (max-width: 1024px) { .enrol-bare img { width: 60%; } }
@media (max-width: 767px) { .enrol-bare img { width: 82%; } }
.pay-option { text-align: center; }
@media print {
  .site-header, .site-footer, .contact, .action-bar, .preview-flag, .no-print, .page-hero, #aroha-bubble, #aroha-window { display: none !important; }
  body { background: #fff; }
}
.landing { text-align: center; }
.landing img { display: block; margin: 0 auto 16px; max-width: 100%; height: auto; }
.landing h1 { margin-top: 8px; }
.csc-checker { margin-top: 32px; }
.filterbox { background: var(--tint-soft); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.filterbox > p, .filterbox > h3 { flex-basis: 100%; margin: 0 0 6px; font: 700 18px var(--head); color: var(--navy); }
.filterbox.noluck > h3 { color: #c00; }
.filterbox button { background: #fff; border: 2px solid var(--blue); color: var(--blue); border-radius: 10px; padding: 10px 16px; font: 600 15px var(--head); cursor: pointer; text-align: left; }
.filterbox button:hover { background: var(--blue); color: #fff; }
.filterbox .income { font-weight: 400; font-size: 13px; }
.filterbox[hidden] { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.calc-result { gap: 6px; }
.calc-result span { font: 500 18px var(--head); color: var(--text, #333); }
.calc-result span strong { font: 700 18px var(--head); color: var(--navy); }
.pay-intro { font: 600 22px/1.4 var(--head); color: var(--navy); text-align: center; margin: 0 0 24px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fee-new { color: #00a51c; font-style: italic; font-weight: 700; }
.fee-footnote { font-size: 15px; margin: 12px 0; }
.fee-card td:last-child { font-weight: 700; color: var(--navy); }
/* Layered hero (home, My health, Learn), like the old Elementor site: the photo sits behind the text
   (text has the higher z-index), pinned to the bottom right and as tall as the hero, so it never
   shrinks into a column. Add the class "hero-layered" to a hero with an image to use it. */
.hero-layered { position: relative; overflow: hidden; }
.hero-layered .hero-grid { display: block; min-height: 540px; position: static; }
.hero-layered .hero-text { position: relative; z-index: 2; max-width: 560px; text-shadow: 0 1px 3px rgba(0, 40, 80, .45); }
.hero-layered .hero-img { position: absolute; top: 0; bottom: 0; right: 0; z-index: 1; pointer-events: none; align-self: stretch; }
.hero-layered .hero-img img { height: 100%; width: auto; max-width: none; max-height: none; margin: 0; }
/* Tablet and phone: text first, photo across the bottom of the band (a full-height photo
   would be wider than the screen and sit under the text). */
@media (max-width: 1024px) {
  .hero-layered .hero-img { top: auto; height: 400px; }
  .hero-layered .hero-grid { min-height: 0; padding-bottom: 400px; }
}
@media (max-width: 767px) {
  .hero-layered .hero-img { height: 300px; }
  .hero-layered .hero-grid { padding-bottom: 300px; }
}
.learn-grid.no-signup { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .learn-grid.no-signup { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .learn-grid.no-signup { grid-template-columns: 1fr; } }
/* All photo heroes (home, My health, Learn, Our team) share one height on desktop. */
@media (min-width: 1025px) {
  .hero-layered .hero-grid, .hero-card .hero-grid { min-height: 700px; }
  .hero-layered .hero-grid { display: flex; align-items: center; }
  .hero-layered .hero-text { flex: 0 1 560px; }
}
/* Learn: push the family further right (crops some of the dad's shoulder) so the text sits on clear background. */
@media (min-width: 1025px) { .hero-green.hero-layered .hero-img { right: -12%; } }
/* Homepage hero on phones, like the old Elementor site: compact text, buttons side by side, then a
   gap where the family photo (409px wide, bottom right) shows, with the hours over its lower edge. */
@media (max-width: 767px) {
  .hero-home .hero-grid { padding-bottom: 20px; }
  .hero-home .hero-text { padding-top: 28px; }
  .hero-home .eyebrow { font-size: 11px !important; }
  .hero-home h1 { font-size: 17px; }
  .hero-home .hero-text > p:not([class]) { font-size: 13px; }
  .hero-home .hero-buttons { flex-direction: row; align-items: center; gap: 10px; margin: 18px 0 16px; }
  .hero-home .hero-buttons .btn { flex: 0 0 calc(50% - 5px); font-size: 11px; padding: 10px; }
  .hero-home .hero-aroha { font-size: 12px !important; margin: 0; gap: 5px; flex-wrap: nowrap; white-space: nowrap; }
  .hero-home .hero-aroha img { width: 22px; height: 22px; }
  .hero-home .hero-aroha .link-inline { font-size: 12px !important; white-space: nowrap; }
  .hero-home .hero-hours { font-size: 10px !important; margin: 250px 0 0; }
  .hero-home .hero-img { top: auto; height: auto; width: 409px; }
  .hero-home .hero-img img { width: 100%; height: auto; }
}
