/* Baida Care — refreshed site
   Layout: warm, roomy single column with split hero; arch-shaped photography echoes the logo heart.
   Palette taken from the Baida Care logo. Type chosen for readability first (Atkinson Hyperlegible was designed for low-vision readers). */
:root {
  --bg: #ffffff;
  --surface: #fbf3f5;      /* blush panel */
  --surface-2: #f4eef6;    /* lilac mist */
  --ink: #2b1d33;          /* aubergine text */
  --ink-soft: #5d4a63;
  --line: #e7d9e2;
  --plum: #502848;
  --berry: #883050;
  --coral: #e04058;        /* logo coral, decorative */
  --cta: #c22f48;          /* coral deepened for white-text contrast */
  --cta-hover: #a62239;
  --on-dark: #ffffff;
  --band: #3a2142;         /* deep plum band */
  --focus: #e04058;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Verdana", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.125rem;
  --step-1: 1.35rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 1.25rem;
  color-scheme: light only;
}

html { font-size: 100%; -webkit-text-size-adjust: 100%; }
html[data-size="l"] { font-size: 112.5%; }
html[data-size="xl"] { font-size: 125%; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--berry); text-underline-offset: 0.18em; }
a:hover { color: var(--cta); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 750; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 38rem; }
.lede { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.55; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--cta); color: #fff; padding: .75rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Utility bar */
.utility { background: var(--band); color: var(--on-dark); font-size: var(--step--1); }
.utility .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; padding-block: .5rem; }
.utility a { color: var(--on-dark); text-decoration: none; font-weight: 700; }
.utility a:hover { text-decoration: underline; color: var(--on-dark); }
.utility-info { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.textsize { display: flex; align-items: center; gap: .35rem; }
.textsize button {
  font: inherit; font-weight: 700; color: var(--on-dark); background: transparent; border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px; min-width: 2.4rem; height: 2rem; cursor: pointer; line-height: 1;
}
.textsize button[aria-pressed="true"] { background: #fff; color: #3a2142; border-color: #fff; }
.textsize button:nth-of-type(2) { font-size: 1.05em; }
.textsize button:nth-of-type(3) { font-size: 1.2em; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { height: 3.25rem; width: auto; }
.brand-footer img { height: 6.5rem; }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; color: var(--plum); }
.wordmark span { color: var(--coral); }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; padding: .55rem .8rem; border-radius: .6rem; }
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--berry); box-shadow: inset 0 -3px 0 var(--coral); border-radius: 0; }
.menu-btn { display: none; font: inherit; font-weight: 700; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: .7rem; padding: .55rem .9rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-body); font-weight: 700; font-size: var(--step-0);
  text-decoration: none; padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; line-height: 1.2; min-height: 3.25rem; }
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: #fff; color: #3a2142; }
.btn-light:hover { background: #fbe3e8; color: #3a2142; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.header-cta { min-height: 2.9rem; padding: .6rem 1.15rem; font-size: 1rem; }

/* Sections */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-tint { background: var(--surface); }
.section-mist { background: var(--surface-2); }
.section-head { display: flex; flex-direction: column; gap: .9rem; margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 42rem; }
.section-head p { color: var(--ink-soft); }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 1.4rem; min-width: 0; }
.hero-copy h1 { color: var(--plum); }
.hero-note { font-size: var(--step--1); color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; }
.hero-note strong { color: var(--ink); }
.arch { position: relative; max-width: 30rem; justify-self: end; width: 100%; }
.arch::before { content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; border-radius: 999px 999px var(--radius) var(--radius); background: var(--plum); opacity: .9; }
.arch img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); }

/* Page hero (inner pages) */
.page-hero { background: var(--surface); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.page-hero .wrap > div { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.page-hero h1 { color: var(--plum); font-size: var(--step-4); }
.page-hero img { border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 4/5; object-fit: cover; max-height: 26rem; width: 100%; }
.page-hero.plain .wrap { grid-template-columns: 1fr; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: s; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: .6rem; padding-top: 1.25rem; border-top: 3px solid var(--coral); }
.steps li::before { content: counter(s); font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--berry); }
.steps p { color: var(--ink-soft); }
.steps.four { grid-template-columns: repeat(4, 1fr); }

/* Compare */
.compare-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.compare-grid > div { min-width: 0; }
.compare { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
.compare caption { text-align: left; font-weight: 700; margin-bottom: .75rem; color: var(--ink-soft); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1rem .9rem; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-size: var(--step-0); border-bottom: 2px solid var(--ink); }
.compare thead th:last-child { color: var(--berry); }
.compare td:first-child { color: var(--ink-soft); }
.compare td:last-child { font-weight: 700; background: color-mix(in srgb, var(--coral) 9%, transparent); }
.table-scroll { overflow-x: auto; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.service { display: flex; flex-direction: column; gap: .7rem; text-decoration: none; color: var(--ink); min-width: 0; }
.service img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); width: 100%; }
.service h3 { margin-top: .4rem; }
.service p { color: var(--ink-soft); }
.service .more { font-weight: 700; color: var(--berry); text-decoration: underline; text-underline-offset: .18em; }
.service:hover h3 { color: var(--berry); }

/* Service detail */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); scroll-margin-top: 6rem; }
.detail:last-child { border-bottom: 0; }
.detail:nth-child(even) .detail-img { order: 2; }
.detail-img img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.detail-copy { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.detail-copy ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; }
.detail-copy li::marker { color: var(--coral); }

/* Quote */
.quote { display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 3vw, 2.5rem); align-items: start; max-width: 56rem; }
.quote-mark { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 12vw, 9rem); line-height: .8; color: var(--coral); }
.quote blockquote { margin: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.quote blockquote p { font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); line-height: 1.35; color: var(--ink); }
.quote cite { font-style: normal; font-weight: 700; color: var(--ink-soft); }
.quote cite span { display: block; font-weight: 400; font-size: var(--step--1); }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 52rem; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 1rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.25rem; font-weight: 700; font-size: var(--step-0); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--berry); flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1.25rem 1.25rem; color: var(--ink-soft); display: flex; flex-direction: column; gap: .75rem; }

/* CTA band */
.band { background: var(--band); color: var(--on-dark); }
.band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding-block: clamp(3rem, 6vw, 4.5rem); }
.band h2 { color: var(--on-dark); }
.band p { color: #ead8e4; margin-top: .75rem; max-width: 36rem; }

/* Split media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split > div { min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.split img { border-radius: var(--radius); width: 100%; object-fit: cover; aspect-ratio: 3/2; }

.points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2.5rem; }
.points li { display: flex; flex-direction: column; gap: .4rem; padding-left: 1.1rem; border-left: 3px solid var(--coral); }
.points p { color: var(--ink-soft); }

/* Forms */
.form-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-layout > * { min-width: 0; }
form.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
label, legend { font-weight: 700; }
.hint { font-weight: 400; color: var(--ink-soft); font-size: var(--step--1); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 2px solid var(--line); border-radius: .75rem; padding: .75rem .9rem; width: 100%; min-height: 3.1rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--berry); outline: 3px solid color-mix(in srgb, var(--coral) 35%, transparent); outline-offset: 0; }
textarea { min-height: 8rem; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.choice { display: flex; gap: .65rem; align-items: center; font-weight: 400; padding: .65rem .8rem; border: 2px solid var(--line); border-radius: .75rem; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--berry); background: color-mix(in srgb, var(--coral) 8%, transparent); }
.choice input { width: 1.2rem; height: 1.2rem; accent-color: var(--cta); flex-shrink: 0; }
.form-note { padding: 1rem 1.1rem; border-radius: .75rem; background: var(--surface); border-left: 4px solid var(--coral); }
.form-status { padding: 1rem 1.1rem; border-radius: .75rem; background: var(--surface-2); border-left: 4px solid var(--berry); }
.contact-card { background: var(--surface); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card dt { font-weight: 700; color: var(--ink-soft); font-size: var(--step--1); }
.contact-card dd { margin: 0 0 .9rem; font-size: var(--step-1); font-weight: 700; word-break: break-word; }
.contact-card dd a { color: var(--ink); text-decoration: none; }
.contact-card dd a:hover { color: var(--berry); text-decoration: underline; }

/* Prose (policies) */
.prose { max-width: 44rem; display: flex; flex-direction: column; gap: 1.1rem; }
.prose h2 { font-size: var(--step-2); margin-top: 1.5rem; }
.prose ul { margin: 0; padding-left: 1.3rem; display: grid; gap: .45rem; }
.prose li::marker { color: var(--coral); }
.prose .callout { background: var(--surface); border-radius: 1rem; padding: 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; }
.prose small { color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--surface-2); padding-block: clamp(3rem, 6vw, 4rem) 2rem; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem 3rem; }
.footer-grid > div { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.footer-grid h2 { font-size: var(--step-0); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-grid a { color: var(--ink); }
.acknowledgement { display: flex; gap: 1rem; align-items: flex-start; color: var(--ink-soft); }
.flags { display: flex; gap: .3rem; flex-shrink: 0; padding-top: .3rem; }
.flags svg { width: 2.1rem; height: auto; border-radius: 2px; }
.footer-base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; color: var(--ink-soft); font-size: var(--step--1); }
.footer-base a { color: var(--ink-soft); }

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: .75rem var(--gutter) 1.25rem; }
  .nav.open { display: flex; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--coral); }
  .menu-btn { display: inline-flex; }
  .header-cta { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero .wrap, .page-hero .wrap, .compare-grid, .split, .detail, .form-layout, .band .wrap { grid-template-columns: 1fr; }
  .arch { justify-self: start; width: calc(100% - 1.5rem); max-width: 24rem; }
  .page-hero img { max-height: 20rem; aspect-ratio: 4/3; border-radius: var(--radius); }
  .detail:nth-child(even) .detail-img { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .services, .steps.four, .points, .choices, .field-row { grid-template-columns: 1fr; }
  .utility-info span.hours { display: none; }
  .quote { grid-template-columns: 1fr; }
  .quote-mark { font-size: 5rem; height: 3.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .arch img { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero .arch::before { animation: rise 1.1s .12s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { transform: translateY(18px); opacity: .0; } to { transform: none; } }
}
