/* Utkarsh HomeCare — base styles. Section layout is inline in the page markup;
   this file holds the shell, forms, interactive tools and the mobile overrides. */
:root {
  --hc-accent: #0B6E63;
  --hc-accent-dark: #084F47;
  --hc-cta: #B45309;
  --hc-ink: #12302B;
  --hc-ink-soft: #4A5F5A;
  --hc-line: #D5E1DE;
  --hc-tint: #F3F7F6;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #FFFFFF; }
.hc { font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif; color: var(--hc-ink); background: #FFFFFF; font-size: 17px; line-height: 1.6; overflow-x: hidden; }
.hc a { color: var(--hc-accent); }
.hc a:hover { color: var(--hc-accent-dark); }
.hc img { max-width: 100%; height: auto; }
.hc summary { cursor: pointer; }
.hc button:focus-visible, .hc a:focus-visible, .hc input:focus-visible, .hc select:focus-visible, .hc textarea:focus-visible, .hc summary:focus-visible { outline: 3px solid var(--hc-cta); outline-offset: 2px; }
.hc button[disabled] { opacity: .45; cursor: not-allowed; }
.hc-skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--hc-ink); color: #FFFFFF; padding: 10px 16px; border-radius: 8px; }
.hc-skip:focus { top: 12px; }

/* Header */
.hc-header { border-bottom: 1px solid var(--hc-line); background: #FFFFFF; position: sticky; top: 0; z-index: 20; }
.hc-header-in { max-width: 1160px; margin: 0 auto; padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.hc-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--hc-ink) !important; }
.hc-brand span { font-family: Manrope, 'Segoe UI', sans-serif; font-weight: 800; font-size: 20px; }
.hc-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-weight: 600; font-size: 16px; }
.hc-nav a { text-decoration: none; color: var(--hc-ink); }
.hc-nav a[aria-current="page"] { color: var(--hc-accent); }
.hc .hc-nav-call { background: var(--hc-cta); color: #FFFFFF; padding: 11px 18px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.hc .hc-nav-call:hover { color: #FFFFFF; background: #92400E; }

/* Footer */
.hc-footer { background: var(--hc-ink); color: #E6EFED; }
.hc-footer-in { max-width: 1160px; margin: 0 auto; padding: 56px 24px 32px; display: flex; flex-direction: column; gap: 28px; font-size: 15px; }
.hc-footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 28px; }
.hc-footer-cols > div { display: flex; flex-direction: column; gap: 8px; }
.hc-footer strong { color: #FFFFFF; }
.hc-footer-brand { font-family: Manrope, 'Segoe UI', sans-serif; font-size: 20px; }
.hc-footer p { margin: 0; }
.hc .hc-footer a { color: #E6EFED; }
.hc .hc-footer a:hover { color: #FFFFFF; }
.hc-footer-legal { border-top: 1px solid #2F4D47; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.hc-footer-note { color: #B9CCC7; font-size: 14px; }

/* Call-back form */
.hc-form { background: #FFFFFF; border: 1px solid var(--hc-line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 10px 30px rgba(18, 48, 43, .08); color: var(--hc-ink); text-align: left; }
.hc-form-title { margin: 0; font-family: Manrope, 'Segoe UI', sans-serif; font-size: 24px; color: var(--hc-ink); }
.hc-form-sub { margin: 0; color: var(--hc-ink-soft); font-size: 16px; }
.hc-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.hc-form input[type="text"], .hc-form input[type="tel"], .hc-form select, .hc-form textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #A9BDB8; border-radius: 10px; min-height: 46px; background: #FFFFFF; color: var(--hc-ink); width: 100%; }
.hc-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 14px; }
.hc-form .hc-consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; color: var(--hc-ink-soft); }
.hc-consent input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--hc-accent); }
.hc-form button { font: inherit; font-weight: 600; background: var(--hc-cta); color: #FFFFFF; border: 0; border-radius: 12px; padding: 14px; min-height: 50px; cursor: pointer; }
.hc-form button:hover { background: #92400E; }
.hc-form-status { margin: 0; font-weight: 600; min-height: 1px; }
.hc-form-status.is-ok { color: var(--hc-accent); }
.hc-form-status.is-err { color: #B42318; }
.hc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Shared chip/button styles for MoveCheck, fall check and protocol tabs */
.hc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hc-chip { font: inherit; font-weight: 600; font-size: 16px; padding: 10px 18px; min-height: 46px; border-radius: 999px; cursor: pointer; border: 1.5px solid #A9BDB8; background: #FFFFFF; color: var(--hc-ink); }
.hc-chip[aria-pressed="true"] { background: var(--hc-accent); border-color: var(--hc-accent); color: #FFFFFF; }
.hc-tab { font: inherit; font-weight: 600; font-size: 16px; padding: 10px 20px; min-height: 46px; border-radius: 999px; cursor: pointer; border: 2px solid #8FD3C8; background: transparent; color: #FFFFFF; }
.hc-tab[aria-selected="true"] { background: #8FD3C8; color: var(--hc-ink); }
.hc-pain-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; max-width: 720px; }
.hc-pain-grid .hc-chip { border-radius: 12px; padding: 0; font-family: Manrope, 'Segoe UI', sans-serif; font-weight: 800; font-size: 18px; min-height: 52px; }
.hc-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 10px; }
.hc-check { font: inherit; font-size: 16px; text-align: left; padding: 12px 16px; min-height: 52px; border-radius: 12px; cursor: pointer; border: 1.5px solid #A9BDB8; background: #FFFFFF; color: var(--hc-ink); display: flex; gap: 12px; align-items: center; }
.hc-check .hc-box { flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; border: 2px solid #A9BDB8; display: inline-flex; align-items: center; justify-content: center; color: #FFFFFF; font-weight: 800; font-size: 14px; }
.hc-check[aria-pressed="true"] { border-color: var(--hc-accent); background: #EAF4F2; }
.hc-check[aria-pressed="true"] .hc-box { background: var(--hc-accent); border-color: var(--hc-accent); }
.hc-check.is-flag[aria-pressed="true"] { border-color: #B42318; background: #FDECEA; }
.hc-check.is-flag[aria-pressed="true"] .hc-box { background: #B42318; border-color: #B42318; }
.hc-card { background: #FFFFFF; color: var(--hc-ink); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.hc-progress { height: 8px; background: #E3ECEA; border-radius: 999px; }
.hc-progress > span { display: block; height: 8px; background: var(--hc-accent); border-radius: 999px; transition: width .25s ease; }
.hc-steps-nav { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #E3ECEA; padding-top: 18px; }
.hc-btn { font: inherit; font-weight: 600; border-radius: 12px; padding: 10px 24px; min-height: 48px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.hc .hc-btn-primary { background: var(--hc-accent); color: #FFFFFF; border: 0; }
.hc .hc-btn-cta { background: var(--hc-cta); color: #FFFFFF; border: 0; }
.hc .hc-btn-cta:hover, .hc .hc-btn-primary:hover { color: #FFFFFF; filter: brightness(.92); }
.hc .hc-btn-ghost { background: #FFFFFF; color: var(--hc-ink); border: 1.5px solid #A9BDB8; }
.hc .hc-btn-outline { background: #FFFFFF; color: var(--hc-accent); border: 2px solid var(--hc-accent); }
.hc .hc-btn-link { background: none; border: 0; color: var(--hc-ink); text-decoration: underline; padding: 0 8px; }
.hc-alert { border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.hc-alert-red { background: #FDECEA; border: 2px solid #B42318; color: #5C1A12; }
.hc-alert-amber { background: #FCEFD3; border: 2px solid var(--hc-cta); color: #5A3A12; }
.hc-alert strong { font-family: Manrope, 'Segoe UI', sans-serif; font-size: 21px; }
.hc-mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 14px; }
.hc-mini { background: var(--hc-tint); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.hc-mini span { font-size: 14px; font-weight: 600; color: var(--hc-ink-soft); }
.hc-tick { display: flex; gap: 12px; align-items: flex-start; }
.hc-tick svg { flex-shrink: 0; margin-top: 3px; }
.hc-note { margin: 0; color: #3E5650; padding-left: 14px; border-left: 3px solid var(--hc-line); }
.hc-small { margin: 0; font-size: 14px; color: var(--hc-ink-soft); }
.hc-h3 { margin: 0; font-family: Manrope, 'Segoe UI', sans-serif; font-size: 24px; }
.hc-score { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; border-radius: 16px; padding: 20px; border: 2px solid var(--hc-line); background: var(--hc-tint); }
.hc-score.is-high { background: #FCEFD3; border-color: var(--hc-cta); }
.hc-score.is-some { border-color: #A9BDB8; }
.hc-score-num { display: flex; flex-direction: column; align-items: center; min-width: 90px; }
.hc-score-num b { font-family: Manrope, 'Segoe UI', sans-serif; font-weight: 800; font-size: 40px; line-height: 1; }
.hc-proto-phases { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px; }
.hc-proto-phases li { border: 1px solid var(--hc-line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.hc-phase-when { font-size: 14px; font-weight: 600; color: var(--hc-accent); text-transform: uppercase; letter-spacing: .04em; }
.hc-phase-name { font-family: Manrope, 'Segoe UI', sans-serif; font-size: 20px; }
.hc-pill { background: #E3ECEA; border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 15px; }
.hc-proto-tabs .hc-chip[aria-selected="true"] { background: var(--hc-accent); border-color: var(--hc-accent); color: #FFFFFF; }
[hidden] { display: none !important; }

/* Mobile-first adjustments for the inline-styled sections */
@media (max-width: 640px) {
  .hc { font-size: 16.5px; }
  .hc-header { position: static; }
  .hc-header-in { padding: 10px 16px; }
  .hc-nav { gap: 6px 16px; font-size: 15px; }
  .hc-nav a:not(.hc-nav-call) { padding: 6px 0; }
  .hc-nav-call { width: 100%; justify-content: center; }
  .hc h1 { font-size: 33px !important; line-height: 1.15 !important; }
  .hc h2 { font-size: 27px !important; }
  .hc main section[style*="padding"], .hc main section > div[style*="padding"] { padding-left: 16px !important; padding-right: 16px !important; }
  .hc main section[style*="padding: 8"], .hc main section > div[style*="padding: 8"], .hc main section > div[style*="padding: 7"], .hc main section[style*="padding: 7"] { padding-top: 52px !important; padding-bottom: 52px !important; }
  .hc-form, .hc-card { padding: 20px; }
  .hc-footer-in { padding: 40px 16px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .hc *, .hc *::before, .hc *::after { transition: none !important; scroll-behavior: auto !important; }
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
