/* HealthDock — shared styles. Colours and type follow the original healthdock.org stylesheet. */
:root {
  --primary-teal: #1a8f88;
  --primary-dark: #0f5e59;
  --text-dark-blue: #003366;
  --navy: #0b2545;
  --light-bg: #f5f9f9;
  --tint: #f0fdfc;
  --mint: #e6f7f6;
  --white: #ffffff;
  --text-gray: #4f5d6b;
  --line: #e2ebeb;
  --radius: 12px;
  --transition: all 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text-dark-blue); line-height: 1.6; background: var(--white); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-teal); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 3px solid #7fd9d2; outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 2000; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 26px; min-height: 48px; border-radius: 50px; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: var(--transition); font-family: inherit; border: 2px solid transparent; }
.btn-primary { background: var(--primary-teal); border-color: var(--primary-teal); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-outline { background: #fff; border-color: var(--primary-teal); color: var(--primary-teal); }
.btn-outline:hover { background: var(--mint); color: var(--primary-dark); }
.btn-white { background: #fff; border-color: #fff; color: var(--primary-dark); }
.btn-white:hover { background: #eef6f6; color: var(--primary-dark); }
.new-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 50px; background: var(--primary-teal); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 560px; }
.hero-actions .promo { width: 100%; }
.stats { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.hero-stats { margin-top: 64px; }
.live-right { justify-content: center; margin-top: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 18px; text-align: center; box-shadow: 0 8px 24px rgba(0, 51, 102, 0.06); display: flex; flex-direction: column; gap: 6px; }
.stat-n { font-variant-numeric: tabular-nums; font-size: clamp(32px, 3.4vw, 42px); font-weight: 700; line-height: 1.1; color: var(--primary-teal); white-space: nowrap; }
.stat-l { color: var(--text-gray); font-weight: 500; }
.promo { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px; border-radius: 14px; background: var(--mint); border: 1px solid #bfe6e2; color: var(--primary-dark); font-weight: 600; font-size: 15px; line-height: 1.35; text-decoration: none; transition: var(--transition); }
.promo:hover { background: #d6f1ee; color: var(--primary-dark); }
.promo svg { flex: 0 0 auto; }
.promo .new-tag { flex: 0 0 auto; }
.promo-tab { margin-top: 24px; }
@media (max-width: 560px) { .hero { padding: 40px 0 48px; } .hero-actions .btn { width: 100%; } .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; } .stat { padding: 18px 10px; } }

/* Header */
header.site { background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); position: sticky; top: 0; z-index: 1000; }
.nav { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.nav .logo img { height: 52px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text-dark-blue); font-weight: 500; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary-teal); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--primary-teal); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions .login { color: var(--text-dark-blue); font-weight: 500; text-decoration: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; width: 48px; height: 48px; border-radius: 10px; cursor: pointer; color: var(--text-dark-blue); }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav { flex-wrap: wrap; }
  .js .nav-links, .js .nav-actions { display: none; }
  .nav-links, .nav-actions { width: 100%; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav-actions { padding: 14px 0 20px; justify-content: space-between; }
  .js .nav.open .nav-links, .js .nav.open .nav-actions { display: flex; }
}

/* Sections */
section { padding: 80px 0; }
.bg-tint { background: var(--tint); }
.bg-light { background: var(--light-bg); }
.bg-hero { background: linear-gradient(135deg, var(--tint) 0%, #fff 100%); }
.bg-navy { background: var(--navy); color: #e6eef6; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: #c3d2e0; }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-header h2, h2 { font-size: clamp(28px, 3.2vw, 36px); line-height: 1.2; margin-bottom: 14px; color: inherit; }
.section-header p { color: var(--text-gray); font-size: 18px; }
.bg-navy .section-header p { color: #c3d2e0; }
.kicker { display: inline-block; font-size: 14px; font-weight: 600; color: var(--primary-dark); background: var(--mint); border: 1px solid #bfe6e2; padding: 6px 14px; border-radius: 50px; margin-bottom: 18px; }
h3 { font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
p { color: var(--text-gray); }
.lead { font-size: 18px; }

/* Hero */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.12; font-weight: 700; margin-bottom: 22px; }
.hero h1 .accent { color: var(--primary-teal); }
.hero .lead { margin-bottom: 34px; max-width: 580px; }
.hero-sub { font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; color: var(--text-dark-blue); line-height: 1.45; margin-bottom: 18px; max-width: 580px; }
.live-line { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 15px; color: var(--text-gray); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #1f9d6a; flex: 0 0 auto; }
.page-hero { padding: 64px 0 56px; }
.page-hero h1 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.15; margin-bottom: 16px; max-width: 860px; }
.page-hero .lead { max-width: 720px; }
.crumb { font-size: 14px; margin-bottom: 18px; color: var(--text-gray); }
.crumb a { color: var(--text-gray); }

/* Trust strip */
.trust { background: var(--primary-teal); color: #fff; padding: 22px 0; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; padding: 9px 18px; border-radius: 50px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.badge svg { width: 16px; height: 16px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 50px; background: var(--mint); color: var(--primary-dark); border: 1px solid #bfe6e2; }

/* Cards and grids */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03); transition: var(--transition); }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--primary-teal); box-shadow: 0 8px 22px rgba(26, 143, 136, 0.12); }
.card.soft { background: var(--light-bg); box-shadow: none; }
.icon { display: inline-flex; width: 48px; height: 48px; border-radius: 12px; background: var(--mint); color: var(--primary-teal); align-items: center; justify-content: center; margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }
.icon.warn { background: #fdeceb; color: #c62828; }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: #3d4a57; }
.check-list svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--primary-teal); margin-top: 3px; }
.bg-navy .check-list li { color: #dbe6ef; }
.bg-navy .check-list svg { color: #7fd9d2; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Split rows: text + illustration */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 80px; }
.split.flip > :first-child { order: 2; }
.split .num { font-size: 14px; font-weight: 700; color: var(--primary-teal); margin-bottom: 8px; }
.split h3 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 14px; }
.split .check-list { margin: 18px 0 22px; }
.feature-band { background: var(--mint); border-radius: 20px; padding: 36px; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 36px; }
.tab-btn { background: #fff; border: 2px solid #e0e0e0; border-radius: 50px; padding: 12px 24px; min-height: 48px; font-family: inherit; font-weight: 700; font-size: 16px; color: var(--text-gray); cursor: pointer; transition: var(--transition); }
.tab-btn:hover { border-color: var(--primary-teal); color: var(--primary-teal); }
.tab-btn[aria-selected="true"] { background: var(--primary-teal); color: #fff; border-color: var(--primary-teal); box-shadow: 0 5px 15px rgba(26, 143, 136, 0.3); }
.tab-panel { background: #fff; border-radius: 20px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); }
.tab-panel + .tab-panel { margin-top: 24px; }
.js .tab-panel[hidden] { display: none; }

/* Steps */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps .n { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--primary-teal); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 12px; }
.steps h3 { font-size: 18px; }
.steps p { font-size: 15px; }

.steps-6 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.span-all { grid-column: 1 / -1; }
.span-all .card { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: start; }
.span-all .icon { margin: 0; grid-row: 1 / span 2; }
.span-all h3, .span-all p { grid-column: 2; }
@media (min-width: 1100px) { .steps-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Certificate */
.cert { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; background: #fff; border: 1px solid #e0e0e0; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); }
.cert-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--mint); color: var(--primary-dark); padding: 8px 16px; border-radius: 50px; border: 1px solid var(--primary-teal); font-weight: 600; margin-top: 14px; }
.cert img { border-radius: 8px; border: 1px solid #eaeaea; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12); }

/* Quote */
.quote { background: var(--mint); border-radius: 20px; padding: clamp(28px, 5vw, 56px); }
.quote blockquote { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.4; font-weight: 600; color: var(--text-dark-blue); margin-bottom: 18px; }
.quote figcaption { color: var(--text-gray); }

/* CTA */
.cta { background: var(--primary-teal); color: #fff; text-align: center; padding: 72px 0; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); }
.cta p { color: #e3f5f3; font-size: 19px; margin: 0 auto 28px; max-width: 640px; }

/* Pricing */
.price-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.price-card.featured { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.price-card.featured p, .price-card.featured .per { color: #d3ecea; }
.price-card .plan { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary-teal); }
.price-card.featured .plan { color: #9fe4dd; }
.price-card .amount { font-size: 44px; font-weight: 700; line-height: 1; white-space: nowrap; }
.price-card .per { font-size: 15px; color: var(--text-gray); }
.price-card .for { font-weight: 600; padding-top: 14px; border-top: 1px solid var(--line); }
.price-card.featured .for { border-top-color: rgba(255, 255, 255, 0.25); }
.price-card .btn { margin-top: auto; }
.notes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin-top: 28px; padding: 26px; border-radius: 16px; background: var(--light-bg); }
.notes div { display: flex; gap: 12px; align-items: flex-start; }
.notes .icon { margin: 0; flex: 0 0 auto; width: 42px; height: 42px; }
.notes b { display: block; }
.notes .note-sub { display: block; font-size: 15px; }

/* Compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.compare thead th:nth-child(2) { background: var(--primary-teal); color: #fff; }
.compare thead th:nth-child(3) { background: var(--light-bg); color: var(--text-gray); }
.compare tbody th { width: 20%; }
.compare td:nth-child(2) { background: var(--tint); }
.compare td:nth-child(3) { color: var(--text-gray); }
.small { font-size: 14px; color: var(--text-gray); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; font-size: 17px; cursor: pointer; }
.faq details p { margin-top: 10px; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text-dark-blue); }
input, select, textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--text-dark-blue); padding: 12px 14px; border: 1px solid #cfdcdc; border-radius: 10px; background: #fff; min-height: 48px; width: 100%; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--primary-teal); outline: 3px solid #cdeeea; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 13px; color: var(--text-gray); font-weight: 400; }

/* Contact blocks */
.contact-list { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; gap: 16px; }
.contact-item .icon { margin: 0; flex: 0 0 auto; }
.contact-item h3 { font-size: 17px; margin-bottom: 4px; }

/* Footer */
footer.site { background: var(--navy); color: #fff; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-logo { display: inline-block; background: #fff; padding: 8px 12px; border-radius: 8px; margin-bottom: 14px; }
.footer-logo img { height: 40px; width: auto; }
footer.site p { color: #b9c7d6; font-size: 15px; }
footer.site h4 { color: #5fd0c8; margin-bottom: 16px; font-size: 16px; }
footer.site li { margin-bottom: 4px; color: #cfd9e3; font-size: 15px; }
footer.site li a { color: #cfd9e3; text-decoration: none; display: inline-block; padding: 6px 0; }
footer.site li a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { text-align: center; padding: 20px 0; font-size: 14px; color: #93a4b5; }

/* Responsive */
@media (max-width: 900px) {
  section { padding: 60px 0; }
  .hero-grid, .split, .cert { grid-template-columns: 1fr; gap: 36px; }
  .split.flip > :first-child { order: 0; }
  .split + .split { margin-top: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .feature-band { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Testimonial */
.testimonial { display: grid; grid-template-columns: 190px 1fr; gap: clamp(24px, 3.5vw, 44px); align-items: start; background: var(--mint); border-radius: 20px; padding: clamp(24px, 4vw, 48px); }
.t-photo { width: 100%; height: auto; border-radius: 16px; display: block; box-shadow: 0 12px 30px rgba(11, 37, 69, .12); }
.testimonial blockquote { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45; font-weight: 600; color: var(--text-dark-blue); margin: 0 0 16px; }
.testimonial .t-cite { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.testimonial .t-cite strong { color: var(--text-dark-blue); font-size: 17px; }
.testimonial .t-cite span { color: var(--text-gray); }
.t-hls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 22px; }
.t-hl { background: #fff; border-radius: 14px; padding: 16px 18px; border: 1px solid #cdeae7; }
.t-hl p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-gray); }
.t-hl .t-hl-t { color: var(--primary-dark); font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.t-full summary { cursor: pointer; font-weight: 600; color: var(--primary-teal); list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.t-full summary::-webkit-details-marker { display: none; }
.t-full summary::after { content: "+"; font-size: 20px; line-height: 1; }
.t-full[open] summary::after { content: "−"; }
.t-full > p { margin: 14px 0; color: var(--text-gray); }
.t-list { counter-reset: t; display: grid; gap: 12px; }
.t-list li { counter-increment: t; position: relative; padding-left: 36px; color: var(--text-gray); line-height: 1.6; }
.t-list li::before { content: counter(t); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--primary-teal); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.t-list strong { color: var(--text-dark-blue); }
@media (max-width: 860px) { .testimonial { grid-template-columns: 1fr; } .t-photo { max-width: 150px; } }
@media (max-width: 560px) { .t-hls { grid-template-columns: 1fr; } }
@media (max-width: 380px) { .stat-n { font-size: 26px; } .stat { padding: 16px 8px; } }
main p a[href^="tel:"], main p a[href^="mailto:"] { display: inline-block; padding: 4px 0; }
[style*="justify-content: space-between"] { column-gap: 10px; }
.hero-shot { display: block; position: relative; cursor: zoom-in; border-radius: 14px; overflow: hidden; border: 1px solid #dce2de; box-shadow: 0 24px 48px -24px rgba(15, 30, 36, .3); background: #fff; }
.hero-shot img { display: block; width: 100%; height: auto; }
@media (min-width: 901px) { .hero-grid { grid-template-columns: 1fr 1.25fr; gap: 40px; } }
.hero-shot picture { display: block; }
.hero-shot:focus-visible { outline: 3px solid var(--primary-teal); outline-offset: 3px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8, 20, 36, .88); }
.lightbox-inner { width: 100%; height: 100%; display: flex; -webkit-overflow-scrolling: touch; align-items: center; justify-content: center; padding: 56px 16px 16px; box-sizing: border-box; overflow: auto; }
.lightbox img { max-width: min(1905px, 100%); max-height: 100%; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #fff; cursor: zoom-out; }
.lightbox-tip { display: none; }
.lightbox-close { position: fixed; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
@media (max-width: 900px) {
  .lightbox-inner { align-items: center; justify-content: flex-start; }
  .lightbox img { max-width: none; max-height: none; height: min(78vh, 560px); width: auto; flex-shrink: 0; }
  .lightbox-tip { display: block; position: fixed; left: 0; right: 0; bottom: 18px; text-align: center; color: #fff; font-size: 14px; margin: 0; }
}
