/* Premier Home Care website styles. Built 2026-10-14 */

/* Premier Home Care tokens as CSS variables, generated from the design system's tokens.json */
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Jost-400.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Jost-500.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Jost-600.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Jost-700.woff2") format("woff2"); }

:root {
  --blue-50: #EEF1FF;
  --blue-100: #DDE3FE;
  --blue-300: #93A5FC;
  --blue-500: #3C5BF9;
  --blue-600: #2B48E3;
  --blue-700: #2139C0;
  --azure-500: #007BFF;
  --ink-800: #2A3647;
  --ink-900: #1F2A39;
  --black: #000000;
  --white: #FFFFFF;
  --gray-50: #F6F8FB;
  --gray-100: #EDF0F5;
  --gray-200: #DFE4EB;
  --gray-300: #C5CCD6;
  --gray-500: #808A99;
  --gray-600: #6C757D;
  --gray-700: #3E4756;
  --gold-500: #F5B400;
  --orange-50: #FFF3EB;
  --orange-500: #E8590C;
  --orange-700: #A63C00;
  --green-50: #EAF7EF;
  --green-600: #15803D;
  --red-50: #FDECEC;
  --red-600: #C9302C;

  --surface-page: var(--white);
  --surface-subtle: var(--gray-50);
  --surface-sunken: var(--gray-100);
  --surface-card: var(--white);
  --surface-brand: var(--blue-500);
  --surface-brand-tint: var(--blue-50);
  --surface-ink: var(--ink-900);
  --surface-ink-raised: var(--ink-800);
  --text-strong: var(--ink-900);
  --text-body: var(--gray-700);
  --text-muted: var(--gray-600);
  --text-link: var(--blue-600);
  --text-brand: var(--blue-500);
  --text-inverse: var(--white);
  --text-inverse-muted: #C3CAD6;
  --on-brand: var(--white);
  --border-subtle: var(--gray-200);
  --border-default: var(--gray-500);
  --border-ink: #3A4658;
  --focus: var(--blue-500);
  --star: var(--gold-500);

  --font-sans: "Jost", "Segoe UI", system-ui, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --container-max: 1200px;
  --control-h: 48px;
  --control-h-lg: 56px;

  --radius-none: 0px;
  --radius-xs: 3px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px #1F2A390F, 0 2px 8px #1F2A390F;
  --shadow-md: 0 4px 10px #1F2A3914, 0 12px 28px #1F2A3914;
  --shadow-lg: 0 8px 16px #1F2A391A, 0 24px 56px #1F2A3929;
  --focus-ring: 0 0 0 2px #FFFFFF, 0 0 0 4px #3C5BF9;
}

@media (max-width: 1080px) { :root { --space-24: 64px; } }
@media (max-width: 620px) { :root { --space-24: 48px; } .phc-hero__title { font-size: 40px !important; line-height: 46px !important; } }


/* Premier Home Care: component styles. Loaded after tokens.css; every value reads a token. */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-sans); font-size: 18px; line-height: 1.6; color: var(--text-body); background: var(--surface-page); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-sans); color: var(--text-strong); margin: 0; }
p { margin: 0; }
a { color: var(--text-link); }
img { max-width: 100%; display: block; }

.phc-container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-6); }
.phc-section { padding: var(--space-24) 0; }
.phc-section--subtle { background: var(--surface-subtle); }
.phc-em { font-weight: 700; color: var(--text-brand); }
.phc-icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
:where(.phc-btn, .phc-input, .phc-header__link, .phc-faq__q button, .phc-link-arrow, .phc-fab, .phc-consult__phone, .phc-popup__dial, .phc-popup__close, .phc-header__toggle, .phc-appliance):focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }

/* Eyebrow + chip */
.phc-eyebrow { display: inline-block; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-brand); }
.phc-eyebrow--ink { color: var(--blue-300); }
.phc-chip { display: inline-flex; align-items: center; gap: var(--space-2); padding: 6px 14px; border-radius: var(--radius-pill); background: var(--surface-brand-tint); color: var(--blue-700); font-size: 15px; line-height: 20px; font-weight: 600; }
.phc-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); }

/* Buttons */
.phc-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: var(--control-h); padding: 0 var(--space-6); border-radius: var(--radius-sm); border: 2px solid transparent; font: 600 16px/20px var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease; }
.phc-btn:active { transform: translateY(1px); }
.phc-btn[disabled] { opacity: .5; cursor: not-allowed; }
.phc-btn--lg { height: var(--control-h-lg); padding: 0 var(--space-8); font-size: 18px; }
.phc-btn--sm { height: 44px; padding: 0 var(--space-4); font-size: 15px; }
.phc-btn--block { display: flex; width: 100%; }
.phc-btn--primary { background: var(--surface-brand); color: var(--on-brand); }
.phc-btn--primary:hover { background: var(--blue-600); }
.phc-btn--primary:active { background: var(--blue-700); }
.phc-btn--secondary { background: var(--surface-card); color: var(--blue-500); border-color: var(--blue-500); }
.phc-btn--secondary:hover { background: var(--surface-brand-tint); color: var(--blue-700); border-color: var(--blue-700); }
.phc-btn--ink { background: var(--surface-ink); color: var(--text-inverse); }
.phc-btn--ink:hover { background: var(--ink-800); }
.phc-btn--ghost { background: transparent; color: var(--text-strong); }
.phc-btn--ghost:hover { background: var(--surface-sunken); }
.phc-phone-btn { gap: var(--space-3); padding-left: 6px; }
.phc-phone-btn.phc-btn--lg { padding-left: 8px; }
.phc-phone-btn__icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--white); color: var(--blue-500); }
.phc-btn--lg .phc-phone-btn__icon { width: 40px; height: 40px; }
.phc-btn--secondary .phc-phone-btn__icon { background: var(--surface-brand); color: var(--on-brand); }
.phc-btn--sm .phc-phone-btn__icon { width: 30px; height: 30px; }
.phc-phone-btn__text { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.phc-phone-btn__label { font-size: 12px; font-weight: 500; letter-spacing: .04em; opacity: .9; }
.phc-phone-btn__number { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.phc-link-arrow { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 16px; font-weight: 600; color: var(--text-link); text-decoration: none; border-radius: var(--radius-xs); }
.phc-link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Section heading */
.phc-sh { display: flex; flex-direction: column; gap: var(--space-3); max-width: 760px; }
.phc-sh--center { margin: 0 auto; max-width: 880px; text-align: center; align-items: center; }
.phc-sh__title { font-size: 43px; line-height: 50px; font-weight: 600; letter-spacing: -.01em; color: var(--text-strong); }
.phc-sh__intro { font-size: 18px; line-height: 29px; color: var(--text-body); }
.phc-sh--ink .phc-sh__title { color: var(--text-inverse); }
.phc-sh--ink .phc-em { color: var(--blue-300); }
.phc-sh--ink .phc-sh__intro { color: var(--text-inverse-muted); }

/* Stars + rating */
.phc-stars { display: inline-flex; gap: 2px; }
.phc-star { position: relative; display: inline-block; }
.phc-star__off { color: var(--gray-300); }
.phc-star__on { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--star); }
.phc-rating { display: inline-flex; align-items: center; gap: var(--space-2); padding: 8px 16px 8px 12px; border-radius: var(--radius-pill); font-size: 16px; line-height: 20px; }
.phc-rating--tint { background: var(--surface-brand-tint); }
.phc-rating--plain { padding: 0; }
.phc-rating--ink { background: var(--surface-ink-raised); }
.phc-rating__score { font-weight: 700; color: var(--text-strong); }
.phc-rating__label { color: var(--text-body); }
.phc-rating--ink .phc-rating__score { color: var(--text-inverse); }
.phc-rating--ink .phc-rating__label { color: var(--text-inverse-muted); }

/* Benefits */
.phc-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-6); }
.phc-benefits--one { grid-template-columns: 1fr; }
.phc-benefits li { display: flex; align-items: center; gap: var(--space-3); font-size: 18px; line-height: 24px; font-weight: 500; color: var(--text-strong); }
.phc-benefits__tick { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green-50); color: var(--green-600); flex-shrink: 0; }
.phc-benefits--ink li { color: var(--text-inverse); }

/* Media */
.phc-media { position: relative; width: 100%; overflow: hidden; background: var(--surface-sunken); }
.phc-media--none { border-radius: 0; }
.phc-media--md { border-radius: var(--radius-md); }
.phc-media--lg { border-radius: var(--radius-lg); }
.phc-media img { width: 100%; height: 100%; object-fit: cover; }
.phc-media__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); color: var(--text-muted); font-size: 14px; line-height: 20px; text-align: center; padding: var(--space-4); background-image: repeating-linear-gradient(135deg, var(--gray-100) 0 12px, var(--gray-50) 12px 24px); }

/* Card base */
.phc-card { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }

/* Header */
.phc-header { position: sticky; top: 0; z-index: 40; background: var(--surface-page); border-bottom: 1px solid var(--border-subtle); }
.phc-header__bar { display: flex; align-items: center; gap: var(--space-6); height: 84px; }
.phc-header__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.phc-header__logo img { height: 52px; width: auto; }
.phc-header__wordmark { font-size: 22px; font-weight: 700; color: var(--black); }
.phc-header__nav { display: flex; align-items: center; gap: var(--space-1); margin-left: auto; }
.phc-header__link { position: relative; padding: 10px 12px; font-size: 16px; line-height: 20px; font-weight: 500; color: var(--text-strong); text-decoration: none; border-radius: var(--radius-sm); white-space: nowrap; }
.phc-header__link:hover { color: var(--blue-600); }
.phc-header__link.is-active { color: var(--blue-500); font-weight: 600; }
.phc-header__link.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--blue-500); }
.phc-header__toggle { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: var(--surface-card); color: var(--text-strong); cursor: pointer; }
@media (max-width: 1080px) {
  .phc-header__call .phc-phone-btn__number { display: none; }
  .phc-header__call { padding: 0 6px; }
}
@media (max-width: 960px) {
  .phc-header__bar { height: 72px; flex-wrap: wrap; }
  .phc-header__logo img { height: 44px; }
  .phc-header__nav { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; padding: 0 0 var(--space-4); gap: 0; }
  .phc-header.is-open .phc-header__bar { height: auto; padding-top: 14px; }
  .phc-header.is-open .phc-header__nav { display: flex; }
  .phc-header__link { padding: 14px 4px; border-bottom: 1px solid var(--border-subtle); }
  .phc-header__link.is-active::after { display: none; }
  .phc-header__toggle { display: inline-flex; margin-left: 0; }
  .phc-header__call { margin-left: auto; }
}

/* Footer */
.phc-footer { background: var(--surface-ink); color: var(--text-inverse-muted); padding: var(--space-16) 0 var(--space-6); }
.phc-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-12); }
.phc-footer__brand img { height: 56px; width: auto; margin-bottom: var(--space-4); }
.phc-footer__wordmark { display: block; font-size: 24px; font-weight: 700; color: var(--text-inverse); margin-bottom: var(--space-4); }
.phc-footer__brand p { font-size: 16px; line-height: 25px; max-width: 360px; }
.phc-footer__head { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--text-inverse); margin-bottom: var(--space-4); }
.phc-footer__links, .phc-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); font-size: 16px; line-height: 25px; }
.phc-footer a { color: var(--text-inverse-muted); text-decoration: none; }
.phc-footer a:hover { color: var(--text-inverse); text-decoration: underline; }
.phc-footer__contact li { display: flex; align-items: center; gap: var(--space-3); }
.phc-footer__contact .phc-icon { color: var(--blue-300); }
.phc-footer__legal { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--border-ink); display: grid; gap: var(--space-2); font-size: 14px; line-height: 20px; }
@media (max-width: 860px) { .phc-footer__grid { grid-template-columns: 1fr; gap: var(--space-8); } }

/* Floating call */
.phc-fab { position: fixed; right: var(--space-6); bottom: var(--space-6); z-index: 50; display: inline-flex; align-items: center; gap: var(--space-3); height: var(--control-h-lg); padding: 0 var(--space-6) 0 8px; border: 0; border-radius: var(--radius-pill); background: var(--surface-brand); color: var(--on-brand); font: 600 18px/20px var(--font-sans); text-decoration: none; box-shadow: var(--shadow-lg); cursor: pointer; }
.phc-fab:hover { background: var(--blue-600); }
.phc-fab--inline { position: static; }
.phc-fab__ring { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--blue-500); }

/* Hero */
.phc-hero { padding: var(--space-16) 0 var(--space-24); background: var(--surface-page); }
.phc-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-12); align-items: center; }
.phc-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-6); }
.phc-hero__title { font-size: 56px; line-height: 60px; font-weight: 700; letter-spacing: -.02em; color: var(--text-strong); }
.phc-hero__intro { font-size: 20px; line-height: 32px; color: var(--text-body); max-width: 600px; }
.phc-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 960px) {
  .phc-hero { padding: var(--space-12) 0 var(--space-16); }
  .phc-hero__grid { grid-template-columns: 1fr; }
  .phc-hero__title { font-size: 40px; line-height: 46px; }
  .phc-hero__intro { font-size: 18px; line-height: 29px; }
}
@media (max-width: 520px) { .phc-benefits { grid-template-columns: 1fr; } }

/* Brands */
.phc-brands { padding: var(--space-16) 0; background: var(--surface-subtle); }
.phc-brands__title { font-size: 32px; line-height: 40px; font-weight: 600; text-align: center; margin-bottom: var(--space-8); }
.phc-brands__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--space-4); }
.phc-brands__tile { height: 88px; display: flex; align-items: center; justify-content: center; padding: var(--space-3) var(--space-4); background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); }
.phc-brands__tile img { max-height: 48px; width: auto; object-fit: contain; }
.phc-brands__ph { font-size: 13px; line-height: 16px; color: var(--text-body); text-align: center; }
@media (max-width: 1080px) { .phc-brands__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .phc-brands__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Service card */
.phc-service { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); padding: var(--space-8) var(--space-6); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.phc-service:hover { box-shadow: var(--shadow-md); border-color: var(--blue-100); transform: translateY(-2px); }
.phc-service__chip { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--surface-brand-tint); color: var(--blue-500); margin-bottom: var(--space-2); transition: background-color .2s ease, color .2s ease; }
.phc-service:hover .phc-service__chip { background: var(--surface-brand); color: var(--on-brand); }
.phc-service__title { font-size: 22px; line-height: 30px; font-weight: 600; }
.phc-service__text { font-size: 16px; line-height: 25px; color: var(--text-body); }
.phc-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.phc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .phc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .phc-grid, .phc-grid--2 { grid-template-columns: 1fr; gap: var(--space-5); } }

/* Appliance card */
.phc-appliance { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s ease, transform .2s ease; }
.phc-appliance:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.phc-appliance__body { position: relative; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-8) var(--space-6) var(--space-6); }
.phc-appliance__chip { position: absolute; top: -28px; left: var(--space-6); display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--surface-brand); color: var(--on-brand); border: 4px solid var(--surface-card); }
.phc-appliance__title { font-size: 24px; line-height: 32px; font-weight: 600; }
.phc-appliance__tag { font-size: 16px; line-height: 25px; color: var(--text-body); margin-bottom: var(--space-2); }

/* Warning signs */
.phc-warn { background: var(--orange-50); border-radius: var(--radius-lg); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-6); }
.phc-warn__head { display: flex; align-items: center; gap: var(--space-4); }
.phc-warn__badge { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface-card); color: var(--orange-500); flex-shrink: 0; }
.phc-warn__title { font-size: 32px; line-height: 40px; font-weight: 600; }
.phc-warn__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.phc-warn__list li { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4); background: var(--surface-card); border-radius: var(--radius-md); font-size: 18px; line-height: 26px; color: var(--text-body); }
.phc-warn__icon { color: var(--orange-500); }
.phc-warn__key { font-weight: 700; color: var(--text-strong); }
.phc-warn__note { font-size: 18px; line-height: 29px; color: var(--text-body); }
.phc-warn__note .phc-warn__key { color: var(--orange-700); }
@media (max-width: 620px) { .phc-warn { padding: var(--space-6) var(--space-4); } .phc-warn__title { font-size: 26px; line-height: 32px; } }

/* Consultation band */
.phc-consult { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); flex-wrap: wrap; padding: var(--space-12); background: var(--surface-ink); border-radius: var(--radius-lg); }
.phc-consult__copy { display: flex; flex-direction: column; gap: var(--space-2); max-width: 500px; }
.phc-consult__title { font-size: 36px; line-height: 44px; font-weight: 600; color: var(--text-inverse); }
.phc-consult__title .phc-em { color: var(--blue-300); }
.phc-consult__hours { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 16px; color: var(--text-inverse-muted); }
.phc-consult__phone { display: inline-flex; align-items: center; gap: var(--space-4); padding: 12px var(--space-8) 12px 12px; border: 0; border-radius: var(--radius-pill); background: var(--surface-brand); color: var(--on-brand); font: 700 40px/44px var(--font-sans); letter-spacing: .01em; font-variant-numeric: tabular-nums; text-decoration: none; cursor: pointer; white-space: nowrap; }
.phc-consult__phone:hover { background: var(--blue-600); }
.phc-consult__ring { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--white); color: var(--blue-500); }
@media (max-width: 620px) { .phc-consult { padding: var(--space-8) var(--space-6); } .phc-consult__title { font-size: 28px; line-height: 34px; } .phc-consult__phone { font-size: 26px; line-height: 30px; padding-right: var(--space-6); } .phc-consult__ring { width: 48px; height: 48px; } }

/* Stats */
.phc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); margin: 0; }
.phc-stats__item { display: flex; flex-direction: column-reverse; gap: var(--space-1); padding: var(--space-6); border-top: 3px solid var(--blue-500); background: var(--surface-card); }
.phc-stats__value { margin: 0; font-size: 48px; line-height: 52px; font-weight: 700; color: var(--text-brand); font-variant-numeric: tabular-nums; }
.phc-stats__suffix { margin-left: 2px; }
.phc-stats__label { font-size: 16px; line-height: 22px; font-weight: 500; color: var(--text-body); }
@media (max-width: 860px) { .phc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .phc-stats__value { font-size: 40px; line-height: 44px; } }

/* Process */
.phc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); counter-reset: s; }
.phc-steps__item { position: relative; display: flex; flex-direction: column; gap: var(--space-3); }
.phc-steps__item:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 72px; right: calc(-1 * var(--space-8) + 16px); height: 2px; background: repeating-linear-gradient(90deg, var(--gray-300) 0 8px, transparent 8px 14px); }
.phc-steps__num { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface-brand); color: var(--on-brand); font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.phc-steps__title { font-size: 24px; line-height: 32px; font-weight: 600; margin-top: var(--space-2); }
.phc-steps__text { font-size: 16px; line-height: 25px; color: var(--text-body); }
@media (max-width: 860px) { .phc-steps { grid-template-columns: 1fr; } .phc-steps__item::after { display: none; } }

/* Review */
.phc-review { margin: 0; padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.phc-review__top { display: flex; align-items: center; gap: var(--space-2); }
.phc-review__score { font-size: 16px; font-weight: 700; color: var(--text-strong); }
.phc-review__quote { margin: 0; font-size: 18px; line-height: 29px; color: var(--text-body); }
.phc-review__by { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }
.phc-review__avatar { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-brand-tint); color: var(--blue-700); font-weight: 700; }
.phc-review__name { display: block; font-size: 16px; line-height: 20px; font-weight: 600; color: var(--text-strong); }
.phc-review__meta { display: block; font-size: 14px; line-height: 20px; color: var(--text-muted); }

/* FAQ */
.phc-faq { display: grid; gap: var(--space-3); }
.phc-faq__item { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); }
.phc-faq__item.is-open { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.phc-faq__q { font-size: 20px; line-height: 28px; font-weight: 600; }
.phc-faq__q button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) var(--space-6); background: none; border: 0; border-radius: var(--radius-md); font: inherit; color: var(--text-strong); text-align: left; cursor: pointer; }
.phc-faq__sign { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-brand-tint); color: var(--blue-500); flex-shrink: 0; }
.phc-faq__item.is-open .phc-faq__sign { background: var(--surface-brand); color: var(--on-brand); }
.phc-faq__a { padding: 0 var(--space-6) var(--space-6); font-size: 18px; line-height: 29px; color: var(--text-body); }

/* Forms */
.phc-form { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-8); }
.phc-form__title { font-size: 28px; line-height: 36px; font-weight: 600; }
.phc-form__intro { font-size: 16px; line-height: 25px; color: var(--text-body); margin-top: calc(-1 * var(--space-2)); }
.phc-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.phc-form--compact .phc-form__grid { grid-template-columns: 1fr; gap: var(--space-3); }
.phc-form__fine { font-size: 14px; line-height: 20px; color: var(--text-muted); text-align: center; }
@media (max-width: 620px) { .phc-form { padding: var(--space-6) var(--space-4); } .phc-form__grid { grid-template-columns: 1fr; } }
.phc-field { display: flex; flex-direction: column; gap: 6px; }
.phc-field__label { font-size: 16px; line-height: 20px; font-weight: 600; color: var(--text-strong); }
.phc-field__req { color: var(--red-600); }
.phc-input { width: 100%; min-height: var(--control-h); padding: 10px 14px; border: 1.5px solid var(--border-default); border-radius: var(--radius-sm); background: var(--surface-card); color: var(--text-strong); font: 400 16px/24px var(--font-sans); appearance: none; -webkit-appearance: none; }
textarea.phc-input { resize: vertical; min-height: 112px; }
.phc-input::placeholder { color: var(--text-muted); }
.phc-input:hover { border-color: var(--text-body); }
.phc-input:focus { outline: 2px solid transparent; border-color: var(--blue-500); box-shadow: var(--focus-ring); }
.phc-input:disabled { background: var(--surface-sunken); cursor: not-allowed; }
.phc-select { position: relative; display: block; }
.phc-select .phc-input { padding-right: 44px; cursor: pointer; }
.phc-select select:invalid { color: var(--text-muted); }
.phc-select__chev { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-body); pointer-events: none; }
.phc-field__msg { font-size: 14px; line-height: 20px; color: var(--text-muted); }
.phc-field--error .phc-input { border-color: var(--red-600); }
.phc-field--error .phc-field__msg { color: var(--red-600); }

/* Alerts */
.phc-alert { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-md); font-size: 16px; line-height: 25px; }
.phc-alert--success { background: var(--green-50); color: var(--green-600); }
.phc-alert--success strong { color: var(--green-600); }

/* Popup */
.phc-overlay { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: var(--space-4); background: rgba(31, 42, 57, .6); }
.phc-popup { width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; background: var(--surface-card); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.phc-popup__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); padding: var(--space-6); background: var(--surface-ink); }
.phc-popup__title { font-size: 26px; line-height: 32px; font-weight: 600; color: var(--text-inverse); }
.phc-popup__sub { margin-top: var(--space-1); font-size: 16px; line-height: 24px; color: var(--text-inverse-muted); }
.phc-popup__close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--border-ink); border-radius: 50%; background: transparent; color: var(--text-inverse); cursor: pointer; }
.phc-popup__body { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); }
.phc-popup__dial { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-3) var(--space-4) var(--space-3) var(--space-3); border-radius: var(--radius-md); background: var(--surface-brand); color: var(--on-brand); text-decoration: none; }
.phc-popup__dial:hover { background: var(--blue-600); }
.phc-popup__ring { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--blue-500); flex-shrink: 0; }
.phc-popup__dial-label { display: block; font-size: 14px; line-height: 18px; font-weight: 500; }
.phc-popup__dial-num { display: block; font-size: 28px; line-height: 34px; font-weight: 700; font-variant-numeric: tabular-nums; }
.phc-popup__or { display: flex; align-items: center; gap: var(--space-3); font-size: 14px; line-height: 20px; color: var(--text-muted); }
.phc-popup__or::before, .phc-popup__or::after { content: ""; flex: 1; height: 1px; background: var(--border-subtle); }
.phc-popup .phc-form { padding: 0; border: 0; box-shadow: none; }

/* Preview helpers */
.phc-demo { padding: var(--space-6); }
.phc-demo--subtle { background: var(--surface-subtle); }
.phc-demo--ink { background: var(--surface-ink); }
.phc-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.phc-stack { display: flex; flex-direction: column; gap: var(--space-6); }


/* Premier Home Care redesign v4: navy and brand blue on crisp white, rounded cards, gentle motion.
   Colours, type and spacing come from phc-tokens.css (the Premier Home Care design system). */

.p-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.p-sec { padding: 112px 0; }
.p-sub { background: var(--surface-subtle); }
.p-ink { background: var(--surface-ink); color: #FFFFFF; }
.p-h1 { margin: 0; font-size: 60px; line-height: 66px; font-weight: 700; letter-spacing: -0.02em; }
.p-h2 { margin: 0; font-size: 44px; line-height: 52px; font-weight: 600; letter-spacing: -0.015em; color: var(--text-strong); }
.p-lead { margin: 0; font-size: 19px; line-height: 31px; }
.p-em { color: var(--text-brand); font-weight: 700; }
.p-ink .p-em, .p-hero .p-em { color: var(--blue-300); }
.p-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 9999px; background: var(--blue-50); color: var(--blue-700); font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .02em; }
.p-ink .p-pill, .p-hero .p-pill { background: rgba(147, 165, 252, .14); color: var(--blue-300); }
.p-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.p-head--c { align-items: center; text-align: center; margin: 0 auto; }
.p-head--c .p-pill { align-self: center; }

/* Hero */
.p-hero { position: relative; overflow: hidden; background-color: var(--surface-ink); color: #FFFFFF;
  background-image: linear-gradient(rgba(147, 165, 252, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(147, 165, 252, .07) 1px, transparent 1px);
  background-size: 48px 48px; }
.p-glow { position: absolute; width: 640px; height: 640px; right: -120px; top: 40px; border-radius: 9999px; background: radial-gradient(circle, rgba(60, 91, 249, .38) 0%, rgba(60, 91, 249, 0) 65%); pointer-events: none; }
.p-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.p-quick { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; border-radius: 20px; background: #FFFFFF; box-shadow: var(--shadow-lg); }
.p-quick__link { flex: 1 1 200px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border-subtle); color: var(--text-strong); text-decoration: none; font-weight: 600; font-size: 16px; line-height: 22px; transition: border-color .16s ease, background-color .16s ease, transform .2s ease; }
.p-quick__link:hover { border-color: var(--blue-300); background: var(--blue-50); transform: translateY(-2px); color: var(--text-strong); }

/* Cards and chips */
.p-card { background: #FFFFFF; border: 1px solid var(--border-subtle); border-radius: 16px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.p-chip { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s ease, color .2s ease, transform .3s ease; }
.p-card:hover .p-chip { background: var(--blue-500); color: #FFFFFF; transform: rotate(-6deg); }
.p-tag { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 9999px; background: var(--surface-subtle); border: 1px solid var(--border-subtle); font-size: 13px; line-height: 18px; font-weight: 500; color: var(--text-strong); }
.p-go { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; line-height: 20px; font-weight: 600; color: var(--blue-600); text-decoration: none; }
.p-go svg, .p-card:hover .p-go svg { transition: transform .2s ease; }
.p-go:hover svg, .p-card:hover .p-go svg { transform: translateX(4px); }
.p-zoom { overflow: hidden; }
.p-zoom img { transition: transform .6s ease; }
.p-zoom:hover img, .p-card:hover .p-zoom img { transform: scale(1.04); }
.p-btn-white { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 24px; border-radius: 4px; background: #FFFFFF; color: var(--ink-900); font-size: 17px; font-weight: 600; text-decoration: none; transition: transform .16s ease, background-color .16s ease; }
.p-btn-white:hover { background: var(--blue-50); color: var(--ink-900); }
.p-btn-line { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 24px; border-radius: 4px; border: 2px solid rgba(255, 255, 255, .7); color: #FFFFFF; font-size: 17px; font-weight: 600; text-decoration: none; transition: background-color .16s ease, border-color .16s ease; }
.p-btn-line:hover { background: rgba(255, 255, 255, .08); border-color: #FFFFFF; color: #FFFFFF; }

/* Grids */
.p-g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.p-g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.p-g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.p-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.p-faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.p-cta { display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: center; }
.p-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 20px; }
.p-gallery > :first-child { grid-row: span 2; }

/* Timeline */
.p-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.p-steps__line { position: absolute; left: 12%; right: 12%; top: 31px; height: 2px; background: rgba(147, 165, 252, .25); }
.p-steps__fill { position: absolute; inset: 0; background: var(--blue-300); transform-origin: left center; }
.p-steps--light .p-steps__line { background: var(--blue-100); }
.p-steps--light .p-steps__fill { background: var(--blue-500); }
.p-num { position: relative; width: 64px; height: 64px; border-radius: 9999px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; background: var(--blue-500); color: #FFFFFF; box-shadow: 0 0 0 8px rgba(60, 91, 249, .18); }

/* Brand strip */
.p-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.p-marquee__track { display: flex; gap: 16px; width: max-content; }
.p-brand { width: 160px; height: 72px; flex-shrink: 0; border-radius: 12px; border: 1px solid var(--border-subtle); background: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 21px; font-weight: 700; color: var(--gray-600); transition: color .2s ease, border-color .2s ease; }
.p-brand:hover { color: var(--ink-900); border-color: var(--blue-100); }
.p-brand img { display: block; max-width: 116px; max-height: 42px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s ease, opacity .3s ease, transform .3s ease; }
.p-brand:hover img { filter: none; opacity: 1; transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .p-brand img { transition: none; } .p-brand:hover img { transform: none; } }

/* Call popup */
@keyframes cm-pop { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes cm-ring { 0% { box-shadow: 0 10px 24px rgba(60, 91, 249, .35), 0 0 0 0 rgba(60, 91, 249, .45); } 70% { box-shadow: 0 10px 24px rgba(60, 91, 249, .35), 0 0 0 14px rgba(60, 91, 249, 0); } 100% { box-shadow: 0 10px 24px rgba(60, 91, 249, .35), 0 0 0 0 rgba(60, 91, 249, 0); } }
.cm-overlay { animation: p-fade .2s ease both; }
.cm-card { animation: cm-pop .32s cubic-bezier(.2, .8, .2, 1) both; }
.cm-icon { animation: cm-ring 1.8s ease-out infinite; }
.cm-go { transition: background-color .16s ease, transform .16s ease; }
.cm-go:hover { background: var(--blue-600) !important; color: #FFFFFF; }
.cm-go:active { transform: translateY(1px); }
.cm-back { transition: background-color .16s ease; }
.cm-back:hover { background: var(--blue-100) !important; }
.cm-back:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
@media (prefers-reduced-motion: reduce) { .cm-overlay, .cm-card, .cm-icon { animation: none !important; } }

/* WhatsApp booking form */
.wa-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; box-sizing: border-box; height: 56px; padding: 0 20px; border-radius: 6px; background: #0E7C4A; color: #FFFFFF; font: 600 18px/22px var(--font-sans); text-decoration: none; box-shadow: 0 10px 24px rgba(14, 124, 74, .25); transition: background-color .16s ease, transform .16s ease, box-shadow .2s ease; }
.wa-btn:hover { background: #0B6A3F; color: #FFFFFF; box-shadow: 0 14px 28px rgba(14, 124, 74, .32); }
.wa-btn:active { transform: translateY(1px); }
.wa-btn:focus-visible { outline: 2px solid transparent; box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #0E7C4A; }
.wa-btn svg { transition: transform .25s ease; }
.wa-btn:hover svg { transform: rotate(-10deg) scale(1.08); }
@media (prefers-reduced-motion: reduce) { .wa-btn, .wa-btn svg { transition: none; } .wa-btn:hover svg { transform: none; } }
@media (max-width: 620px) { .wa-form { padding: 24px 20px !important; } }

/* Live dot */
.p-dot { width: 8px; height: 8px; border-radius: 9999px; background: #4ADE80; flex-shrink: 0; }

/* Focus */
.p-focus:focus-visible, .p-quick__link:focus-visible, .p-btn-white:focus-visible, .p-btn-line:focus-visible, .p-go:focus-visible, .p-tab:focus-visible, .p-card:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.p-tab { cursor: pointer; transition: background-color .2s ease, color .2s ease; }

/* ---------- Motion ---------- */
@keyframes p-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes p-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes p-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes p-pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); } 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
@keyframes p-marquee { to { transform: translateX(-50%); } }
@keyframes p-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.a-in { animation: p-up .8s cubic-bezier(.2, .7, .2, 1) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; } .d4 { animation-delay: .32s; } .d5 { animation-delay: .4s; } .d6 { animation-delay: .5s; }
.a-float { animation: p-float 7s ease-in-out infinite; }
.p-dot { animation: p-pulse 2s ease-out infinite; }
.p-marquee__track { animation: p-marquee 36s linear infinite; }
.p-marquee:hover .p-marquee__track { animation-play-state: paused; }
.p-steps__fill { animation: p-grow 1.4s cubic-bezier(.2, .7, .2, 1) .3s both; }

/* Sections and cards rise in as they scroll into view, where the browser supports scroll timelines */
@supports (animation-timeline: view()) {
  .reveal { animation: p-up linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  .p-steps__fill { animation: p-grow linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
}

@media (prefers-reduced-motion: reduce) {
  .a-in, .a-float, .p-dot, .p-marquee__track, .p-steps__fill, .reveal { animation: none !important; }
  .p-card, .p-chip, .p-quick__link, .p-zoom img, .p-go svg { transition: none !important; }
  .p-card:hover, .p-quick__link:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .p-sec { padding: 88px 0; }
  .p-hero-grid, .p-split, .p-faq, .p-cta { grid-template-columns: 1fr; gap: 48px; }
  .p-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .p-steps__line { display: none; }
}
@media (max-width: 860px) {
  .p-g3, .p-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .p-sec { padding: 64px 0; }
  .p-h1 { font-size: 40px; line-height: 46px; }
  .p-h2 { font-size: 32px; line-height: 39px; }
  .p-lead { font-size: 17px; line-height: 28px; }
  .p-g4, .p-g3, .p-g2, .p-steps, .p-gallery { grid-template-columns: 1fr; }
  .p-gallery > :first-child { grid-row: auto; }
  .p-glow { display: none; }
}


/* ---------- Live site additions ---------- */
html { scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; color: var(--text-body); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: #2B48E3; }
a:hover { color: #2139C0; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
#book, #reviews { scroll-margin-top: 96px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: 8px; background: var(--surface-brand); color: #FFFFFF; font-weight: 600; text-decoration: none; transition: top .2s ease; }
.skip-link:focus { top: 12px; color: #FFFFFF; }

/* Symptom tabs */
.p-tab { height: 44px; padding: 0 22px; border: 0; border-radius: 9999px; background: transparent; color: var(--text-strong); font: 600 16px/20px var(--font-sans); }
.p-tab:hover { background: var(--blue-50); }
.p-tab[aria-selected="true"] { background: var(--surface-brand); color: #FFFFFF; }
.tab-panels [role="tabpanel"] { animation: p-up .5s cubic-bezier(.2, .7, .2, 1) both; }

/* Reviews call to action */
.reviews-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 32px; }
.reviews-cta p { margin: 0; max-width: 640px; font-size: 18px; line-height: 28px; color: var(--text-body); }

/* Call popup and form on the live site */
body.modal-open { overflow: hidden; }
.cm-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; }
.wa-form .phc-field__msg { color: var(--red-600); }
.wa-form .phc-input[aria-invalid="true"] { border-color: var(--red-600); }
.wa-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--green-50); color: var(--green-600); font-size: 15px; line-height: 22px; }
.wa-note strong { font-weight: 600; }

/* Fixed header while scrolling */
.phc-header { position: sticky; top: 0; z-index: 900; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tab-panels [role="tabpanel"] { animation: none; }
}

/* Large gallery tile shows the whole illustration */
.p-gallery li:first-child img { object-fit: contain !important; }
