/* Home Care Plus. Their site's structure, rebuilt with the taste-skill method.
   Palette from the logo (slate and olive squares); one typeface; the four squares as the one motif. */

@font-face { font-family: 'Jakarta'; src: url(/assets/fonts/jakarta.woff2) format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url(/assets/fonts/jakarta-italic.woff2) format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  --slate: #7481a3;        /* logo square */
  --slate-deep: #46557b;   /* fields that carry white text */
  --olive: #6c7548;        /* logo square */
  --olive-deep: #4f5731;   /* the action */
  --bg: #ffffff;
  --paper: #f3f5f8;
  --surface: #e6e9f0;
  --ink: #171e2c;
  --muted: #4a5266;
  --accent: var(--olive-deep);
  --accent-ink: #ffffff;
  --ground: var(--bg);

  --font-display: 'Jakarta', 'Segoe UI', system-ui, sans-serif;
  --font-text: 'Jakarta', 'Segoe UI', system-ui, sans-serif;

  /* five sizes */
  --step-small: 1rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.55vw, 1.5rem);
  --step-head: clamp(2rem, 1.35rem + 2.3vw, 3.5rem);
  --step-display: clamp(2.75rem, 1.5rem + 4.4vw, 5.5rem);

  --margin: clamp(1rem, 2.4vw, 2.25rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(3.75rem, 6.5vw, 6.5rem);   /* top and bottom of every section, so neighbours sit 120-210px apart */
  --radius: 4px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
:where(ul, ol) { list-style: none; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 0.08em; }
:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; }
::selection { background: var(--slate-deep); color: #fff; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
h1 { font-size: var(--step-display); font-weight: 800; line-height: 1; letter-spacing: -0.035em; }
h2 { font-size: var(--step-head); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
h3 { font-size: var(--step-lead); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
p { max-width: 64ch; text-wrap: pretty; }
p + p { margin-top: 1em; }
.lead { font-size: var(--step-lead); line-height: 1.5; letter-spacing: -0.01em; }
.wrap { width: 100%; max-width: 1760px; margin-inline: auto; padding-inline: var(--margin); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -100px; z-index: 50; background: var(--ink); color: #fff; padding: 0.75rem 1rem; }
.skip:focus { top: 0.5rem; }
main > section { padding-block: var(--section); }

/* the logo's four squares */
.squares { display: inline-grid; grid-template-columns: repeat(2, 0.62em); gap: 0.12em; vertical-align: -0.08em; margin-right: 0.6em; }
.squares i { width: 0.62em; height: 0.62em; background: var(--slate); }
.squares i:nth-child(1), .squares i:nth-child(4) { background: var(--olive); }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0.8rem 1.5rem; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); font: 700 var(--step-small)/1.2 var(--font-text); text-decoration: none; cursor: pointer; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.btn:active { transform: scale(0.97); }
.btn-light { background: #fff; color: var(--ink); }
.link { font-weight: 700; text-decoration: underline; text-decoration-color: var(--olive); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink); color: #fff; }
  .btn-light:hover { background: var(--surface); color: var(--ink); }
  .link:hover { text-decoration-color: currentColor; }
  a:not(.btn):hover { color: var(--olive-deep); }
}

/* ---------- header ---------- */
.top { display: flex; align-items: center; gap: 1.5rem 2.5rem; padding: 1.6rem var(--margin); max-width: 1760px; margin-inline: auto; position: relative; z-index: 20; background: var(--bg); }
.top-logo img { width: clamp(200px, 19.5vw, 280px); }
.top-cta { min-height: 62px; padding: 0.5rem 1.6rem; font-size: 1.15rem; }
.top-nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.top-nav ul { display: flex; gap: 0.35rem; }
.top-nav a { font-size: 1.35rem; font-weight: 600; text-decoration: none; padding: 0.75rem 0.55rem; display: inline-block; }
.top-nav [aria-current='page'] { text-decoration: underline; text-decoration-color: var(--olive); text-decoration-thickness: 3px; text-underline-offset: 0.45em; }
.top-phone { font-weight: 700 !important; }
.top-menu { display: none; min-height: 48px; padding: 0 1.1rem; border: 0; border-radius: var(--radius); background: var(--surface); font: 700 var(--step-small)/1 var(--font-text); color: var(--ink); cursor: pointer; }
@media (max-width: 1400px) and (min-width: 1101px) { .top-logo img { width: 230px; } .top-nav a { font-size: 1.25rem; padding-inline: 0.45rem; } .top-nav ul { gap: 0.2rem; } .top-cta { padding-inline: 1.3rem; } }

/* ---------- home hero ---------- */
.hero { position: relative; padding: 0 !important; }
.hero-photo { position: relative; height: clamp(560px, calc(100svh - 84px), 1400px); overflow: clip; background: #59606c; margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
/* a neutral scrim on the left only, under the words; the nurse on the right stays untouched */
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(20 26 38 / 0.55) 0%, rgb(20 26 38 / 0.35) 40%, rgb(20 26 38 / 0) 64%); /* taste-skill-ignore: text scrim on a photograph */ }
.hero-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; color: #fff; pointer-events: none; }
.hero-text > * { pointer-events: auto; max-width: min(46rem, 48%); }
.hero h1 { font-size: min(var(--step-display), 5.6vw); }
.hero-sub { font-size: var(--step-lead); line-height: 1.45; margin-top: 1.25rem; max-width: min(34rem, 44%); }
/* large monitors (27" and up): the headline keeps growing with the screen instead of stopping at 88px */
@media (min-width: 1600px) {
  .hero-text > * { max-width: min(64rem, 52%); }
  .hero h1 { font-size: clamp(5.25rem, 4.6vw, 7rem); max-width: none; white-space: nowrap; }
  .hero-sub { font-size: clamp(1.375rem, 0.6rem + 0.75vw, 1.75rem); max-width: min(40rem, 44%); }
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero .btn { background: #fff; color: var(--ink); }
.hero .btn-light { background: transparent; color: #fff; border: 2px solid #fff; }
@media (hover: hover) and (pointer: fine) {
  .hero .btn:hover { background: var(--olive); color: #fff; }
  .hero .btn-light:hover { background: #fff; color: var(--ink); }
}
.lines .line { display: block; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }

/* ---------- inner banner ---------- */
.banner { position: relative; padding: 0 !important; display: grid; align-items: center; min-height: clamp(300px, 38svh, 420px); color: #fff; background: var(--slate-deep); }
.banner-photo { position: absolute; inset: 0; margin: 0; overflow: clip; }
.banner-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
/* each photo framed on its faces: wide banners show only a third of a photo's height */
.banner-photo img[src*="/companion-respite-care"] { object-position: 50% 12%; }
.banner-photo img[src*="/hospital-to-home-transition-of-care"] { object-position: 50% 14%; }
.banner-photo img[src*="/personal-care-assistance"] { object-position: 50% 12%; }
.banner-photo img[src*="/team-review"] { object-position: 50% 26%; }
.banner-photo::after { content: ''; position: absolute; inset: 0; background: rgb(20 26 38 / 0.55); }
.banner-text { position: relative; padding-block: clamp(2.5rem, 5vw, 4rem); }
.banner h1 { font-size: clamp(2.25rem, 1.2rem + 2.8vw, 4.25rem); max-width: 22ch; overflow-wrap: break-word; hyphens: manual; }
.banner-sub { font-size: var(--step-lead); margin-top: 1rem; max-width: 40ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; font-size: var(--step-small); font-weight: 600; }
.crumbs li + li::before { content: '›'; margin-right: 0.5rem; opacity: 0.8; }
.crumbs a { color: #fff; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; }
.about-photo { grid-column: 1 / span 6; position: relative; }
.about-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--olive-deep); color: #fff; font-size: var(--step-lead); font-weight: 700; padding: 1.25rem 1.75rem; max-width: 85%; }
.about-photo figcaption .squares i { background: #fff; }
.about-photo figcaption .squares i:nth-child(1), .about-photo figcaption .squares i:nth-child(4) { background: var(--slate); }
.about-text { grid-column: 7 / span 6; padding-left: clamp(0rem, 3vw, 3rem); }
.about-text h2 { margin-bottom: 1.5rem; }

/* ---------- the window: the logo's four squares open onto the home ---------- */
.window { padding: 0 !important; background: var(--bg); }
.window-stage { position: relative; }
.window-title { font-size: var(--step-display); font-weight: 800; letter-spacing: -0.035em; line-height: 1; padding: var(--section) var(--margin) 2.5rem; }
.window-frame { position: relative; height: 88svh; overflow: clip; margin: 0; }
.window-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform-origin: 50% 100%; }
.window-bars { display: none; }
/* wide screens: the scene sits on the page's own margins, so the photograph (2000px source) is never stretched past its real size */
@media (min-width: 1100px) {
  .window { --inset: max(var(--margin), calc((100% - 1760px) / 2 + var(--margin))); }
  .window-title { padding-inline: var(--inset); }
  .window-frame { margin-inline: var(--inset); border-radius: var(--radius); }
}
.window-caption { position: relative; background: var(--slate-deep); color: #fff; font-size: var(--step-lead); font-weight: 600; line-height: 1.45; padding: 1.75rem 2rem; max-width: none; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
    .window { height: 200svh; view-timeline-name: --win; }
    .window-stage { position: sticky; top: 0; height: 100svh; overflow: clip; display: grid; grid-template-rows: auto minmax(0, 1fr); }
    .window-title { padding: 7svh var(--inset, var(--margin)) 4svh; }
    .window-frame { height: auto; min-height: 0; animation: win-open linear both; animation-timeline: --win; animation-range: contain 0% contain 70%; }
    .window-bars { display: block; position: absolute; inset: 0; animation: win-bars linear both; animation-timeline: --win; animation-range: contain 0% contain 55%; }
    .window-bars::before, .window-bars::after { content: ''; position: absolute; background: var(--bg); }
    .window-bars::before { left: 50%; top: 0; bottom: 0; width: 16px; transform: translateX(-50%); }
    .window-bars::after { top: 50%; left: 0; right: 0; height: 16px; transform: translateY(-50%); }
    .window-caption { position: absolute; left: calc(var(--inset, var(--margin)) + var(--margin)); bottom: var(--margin); max-width: 34rem; animation: win-caption linear both; animation-timeline: --win; animation-range: contain 72% contain 86%; }
  }
}
@keyframes win-open { from { clip-path: inset(0 16% 12% 16%); } to { clip-path: inset(0); } }
@keyframes win-bars { from { opacity: 1; } 60% { opacity: 1; } to { opacity: 0; } }
@keyframes win-caption { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }


/* ---------- service cards ---------- */
.cards-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.cards-head h2 { grid-column: 1 / span 6; }
.cards-head p { grid-column: 8 / span 5; font-size: var(--step-lead); line-height: 1.45; }
.cards-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 3rem) var(--gutter); }
.card { grid-column: span 4; }
.is-index .card:nth-child(-n+2) { grid-column: span 6; }
.cards-grid > .card:nth-last-child(2):nth-child(3n+1), .cards-grid > .card:last-child:nth-child(3n+2) { grid-column: span 6; }
.is-index .cards-grid > .card:nth-last-child(2):nth-child(3n+1), .is-index .cards-grid > .card:last-child:nth-child(3n+2) { grid-column: span 4; }
.card a { display: flex; flex-direction: column; gap: 0.35rem; text-decoration: none; }
.card-photo { display: block; overflow: clip; border-radius: var(--radius); margin-bottom: 0.9rem; background: var(--surface); }
.card-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 600ms var(--ease-soft); }
.is-index .card:nth-child(-n+2) .card-photo img { aspect-ratio: 16 / 9; }
.card-name { font-size: var(--step-lead); font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
.card-desc { color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .card a:hover .card-photo img { transform: scale(1.04); }
  .card a:hover .card-name { color: var(--olive-deep); text-decoration: underline; text-decoration-thickness: 0.08em; }
}

/* ---------- fast facts ---------- */
.facts { background: var(--slate-deep); color: #fff; }
.facts h2 { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.facts-row li { display: flex; flex-direction: column; gap: 0.75rem; }
.facts-row li::before { content: ''; width: 1.4rem; height: 1.4rem; background: var(--olive); margin-bottom: 0.5rem; }
.facts-row li:nth-child(even)::before { background: var(--slate); }
.facts-n { font-size: var(--step-display); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
[data-count] { display: inline-block; }
.facts-label { font-size: var(--step-body); max-width: 16ch; }

/* avatar used by Google review letters on the testimonials page */
.stack-avatar { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink); font-weight: 800; letter-spacing: 0.02em; }
/* the scroll scene: added by site.js only when motion is allowed; otherwise the cards are a plain list */
.letter blockquote { margin: 0; }
.letter p { font-size: var(--step-body); }
.letter .letter-open { font-size: var(--step-lead); font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; }
.letter figcaption { margin-top: 1.25rem; font-size: var(--step-small); color: var(--muted); }
.letter figcaption strong { color: var(--ink); }

.review-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 0.6rem; font-size: var(--step-body); }

/* live Google reviews on the testimonials page (filled by site.js), laid out like the letters below them */
.google { background: var(--paper); }
.google-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; margin-bottom: clamp(1rem, 2vw, 2rem); }
.google-head h2 { grid-column: 1 / span 6; }
.google-summary { grid-column: 7 / span 6; font-size: var(--step-lead); line-height: 1.45; }
.google-who { display: flex; align-items: center; gap: 0.9rem; }
.google-who .stack-avatar { background: var(--slate-deep); color: #fff; }
.google-who a:first-child, .google-who strong { display: block; font-weight: 700; color: var(--ink); }
.google-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem; color: var(--muted); font-size: var(--step-small); }
.google-text { white-space: pre-line; }
.rating { display: inline-flex; gap: 3px; vertical-align: -1px; }
.rating i { width: 11px; height: 11px; background: currentColor; opacity: 0.25; }
.rating i.is-on { opacity: 1; background: var(--olive); }
@media (max-width: 900px) { .google-head h2, .google-summary { grid-column: 1 / -1; } }

/* ---------- insurers ---------- */
.payers { background: var(--bg); }
.payers-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.payers-head h2 { grid-column: 1 / span 6; }
.payers-head p { grid-column: 8 / span 5; }
/* home: the logo strip */
.marquee-row { overflow: clip; }
.marquee-row + .marquee-row { margin-top: 0.75rem; }
.marquee-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; padding-inline: var(--margin); }
.marquee-track li { flex: none; width: clamp(150px, 14vw, 210px); height: clamp(76px, 6.5vw, 104px); display: flex; align-items: center; justify-content: center; padding: 0.9rem 1.2rem; background: var(--bg); border-radius: var(--radius); }
.marquee-track img { max-width: 100%; max-height: 100%; width: auto; height: auto; mix-blend-mode: multiply; }   /* the logo files have white grounds */
.marquee.is-moving .marquee-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding-inline: 0; will-change: transform; }
.motion-toggle-row { display: flex; justify-content: flex-end; margin-top: 1rem; max-width: none; }
.motion-toggle { min-height: 44px; padding: 0 0.25rem; border: 0; background: none; color: var(--ink); font: 600 var(--step-small)/1 var(--font-text); text-decoration: underline; text-decoration-color: var(--olive); text-underline-offset: 0.25em; cursor: pointer; }

@media (max-width: 600px) {
  .marquee:not(.is-moving) .marquee-track li { width: calc((100% - 1rem) / 3); height: 64px; padding: 0.5rem; }
  .marquee-track { gap: 0.5rem; }
}

/* insurances: LogoCloud, every plan in one framed grid; the 1px gaps show the frame colour as cell lines */
.plans { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; max-width: 72rem; margin-inline: auto; background: var(--surface); border: 1px solid var(--surface); border-radius: 10px; overflow: clip; }
.plan { display: flex; align-items: center; justify-content: center; background: #fff; padding: clamp(1.25rem, 2.2vw, 2rem) clamp(0.75rem, 1.5vw, 1.25rem); aspect-ratio: 16 / 9; }
.plan img { width: auto; height: auto; max-width: 100%; max-height: clamp(2rem, 2.8vw, 2.75rem); mix-blend-mode: multiply; pointer-events: none; user-select: none; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } .plan { padding: 0.75rem 0.5rem; } }

/* ---------- request ---------- */
.request { background: var(--paper); }
/* request: their "Get in touch" card, form on white beside a slate panel */
.touch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; border-radius: 6px; overflow: clip;
  box-shadow: 0 24px 60px rgb(23 30 44 / 0.10); /* taste-skill-ignore: client-requested raised card style */ }
.touch-form { padding: clamp(1.75rem, 4.5vw, 4rem); }
.touch-form h2 { color: var(--slate-deep); }
.touch-form > p { margin: 0.75rem 0 2rem; color: var(--muted); }
.touch-side { background: var(--slate-deep); color: #fff; padding: clamp(1.75rem, 4.5vw, 4rem); display: flex; flex-direction: column; justify-content: flex-start; gap: 0; }
.touch-side > h2 + * { margin-top: 2rem; }
.touch-side h2 { color: #fff; }
.touch-side .squares i { background: #fff; }
.touch-side .squares i:nth-child(1), .touch-side .squares i:nth-child(4) { background: var(--olive); }
.touch-quote { margin: 0; }
.touch-quote p { font-size: var(--step-body); font-style: italic; line-height: 1.65; max-width: 42ch; }
.touch-name { font-weight: 700; margin-top: 1.25rem; }
.touch-steps { display: grid; gap: 1.25rem; max-width: 42ch; }
.touch-steps li { position: relative; padding-left: 1.75rem; line-height: 1.6; }
.touch-steps li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; background: var(--olive); }
.touch-steps li:nth-child(2)::before { background: #fff; }
.touch-steps strong { display: block; font-size: var(--step-lead); letter-spacing: -0.01em; }
.touch-call { margin-top: auto; padding-top: 2rem; }
.touch-call a { font-weight: 800; color: #fff; text-decoration-color: var(--olive); text-decoration-thickness: 0.12em; }
@media (hover: hover) and (pointer: fine) { .touch-call a:hover { color: #fff; text-decoration-color: #fff; } }

/* visit: the contact card and the map (contact page) */
.visit { background: var(--paper); padding-top: clamp(1rem, 3vw, 2.5rem) !important; }
.visit-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; }
.visit .contact-card, .visit .map { align-self: stretch; }
.visit-text { grid-column: 1 / span 4; }
.visit-text h2 { margin-bottom: 1rem; }
.visit .contact-card { grid-column: 5 / span 4; }
.visit .map { grid-column: 9 / span 4; }

/* contact card: the soft raised style the client asked for (the one place the page uses shadows) */
.contact-card { position: relative; background: #fff; border-radius: 24px; padding: clamp(1.5rem, 2.5vw, 2rem); text-align: center;
  box-shadow: 12px 12px 24px rgb(23 30 44 / 0.12), -12px -12px 24px rgb(255 255 255 / 0.9); /* taste-skill-ignore: client-requested card style */
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out); }
.contact-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; outline: 2px solid var(--slate); outline-offset: -2px; opacity: 0; transition: opacity 500ms ease; pointer-events: none; }
.cc-avatar { position: relative; width: 112px; height: 112px; margin: 0 auto 1rem; padding: 22px; border-radius: 50%; background: #fff;
  box-shadow: inset 6px 6px 12px rgb(23 30 44 / 0.1), inset -6px -6px 12px rgb(255 255 255 / 0.9); /* taste-skill-ignore: client-requested card style */
  transition: transform 500ms var(--ease-out); }
.cc-avatar img { width: 100%; height: 100%; object-fit: contain; }
.contact-card h3 { font-size: var(--step-lead); transition: color 300ms ease; }
.cc-role { margin: 0.25rem auto 0; color: var(--muted); }
.cc-phone { margin: 0.9rem auto 0; }
.cc-phone a { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; text-decoration: none; color: var(--olive-deep); }
.cc-tag { display: inline-block; margin: 1rem auto 0; padding: 0.35rem 0.9rem; border-radius: 999px; background: #fff; color: var(--slate-deep); font-size: var(--step-small); font-weight: 700;
  box-shadow: 2px 2px 4px rgb(23 30 44 / 0.08), -2px -2px 4px rgb(255 255 255 / 0.8); /* taste-skill-ignore: client-requested card style */
  transition: transform 300ms var(--ease-out), background-color 300ms ease; }
.cc-facts { margin-top: 1.25rem; text-align: left; }
.cc-facts div { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.75rem; padding-block: 0.4rem; }
.cc-facts dt { font-weight: 700; color: var(--muted); font-size: var(--step-small); }
.cc-facts dd { font-size: var(--step-small); overflow-wrap: anywhere; }
.cc-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.cc-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 56px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none;
  box-shadow: 6px 6px 12px rgb(23 30 44 / 0.1), -6px -6px 12px rgb(255 255 255 / 0.9); /* taste-skill-ignore: client-requested card style */
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), background-color 300ms ease; }
.cc-btn.is-call { color: var(--olive-deep); }
.cc-btn svg { transition: transform 300ms var(--ease-out); }
.cc-btn:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) {
  .contact-card:hover { transform: translateY(-8px) scale(1.02);
    box-shadow: 20px 20px 40px rgb(23 30 44 / 0.16), -20px -20px 40px rgb(255 255 255 / 1); /* taste-skill-ignore: client-requested card style */ }
  .contact-card:hover::after { opacity: 1; }
  .contact-card:hover .cc-avatar { transform: scale(1.08); }
  .contact-card:hover h3 { color: var(--slate-deep); }
  .contact-card:hover .cc-tag { background: #eef1f8; transform: scale(1.05); }
  .cc-btn:hover { transform: scale(0.97); background: #f7f8fb; color: inherit;
    box-shadow: 2px 2px 4px rgb(23 30 44 / 0.06), -2px -2px 4px rgb(255 255 255 / 0.8); /* taste-skill-ignore: client-requested card style */ }
  .cc-btn:hover svg { transform: scale(1.12); }
  .cc-btn.is-call:hover { color: var(--olive-deep); }
}
.map { position: relative; margin: 0; border-radius: 24px; overflow: clip; background: var(--surface); min-height: 22rem;
  box-shadow: 12px 12px 24px rgb(23 30 44 / 0.12), -12px -12px 24px rgb(255 255 255 / 0.9); /* taste-skill-ignore: client-requested card style, matching the contact card */ }
.map-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-ask { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.map-ask .hint { background: #fff; padding: 0.25rem 0.5rem; border-radius: var(--radius); }
html:not(.js) .map-ask { display: none; } /* the contact card links to Google Maps for visitors without scripts */
.map iframe { display: block; width: 100%; height: 100%; min-height: 22rem; border: 0; }

.form { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field label, .check label { font-weight: 700; font-size: var(--step-small); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select { width: 100%; min-height: 54px; padding: 0.6rem 0.9rem; border: 2px solid #b7bdca; border-radius: var(--radius); background: #fff; font: 500 var(--step-body)/1.3 var(--font-text); color: var(--ink); transition: border-color var(--t-hover) ease; }
.field input:hover, .field select:hover { border-color: var(--slate-deep); }
.field input:focus, .field select:focus { border-color: var(--slate-deep); outline: 3px solid var(--slate); outline-offset: 0; }
.field input[aria-invalid='true'] { border-color: #a1271b; }
.hint { font-size: var(--step-small); color: var(--muted); }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 0.75rem; align-items: start; margin-top: 0.25rem; }
.check input { width: 24px; height: 24px; margin: 0.1rem 0 0; accent-color: var(--slate-deep); }
.check .hint { grid-column: 2; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form .btn { justify-self: start; }
.form-status { font-weight: 700; }
.form-status.is-error { color: #a1271b; }

/* ---------- service pages ---------- */
.service-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.service-main { grid-column: 1 / span 7; }
.service + .cards { padding-top: 0; }
.service-photo { margin-bottom: 2rem; overflow: clip; border-radius: var(--radius); }
.service-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-main h3 { margin: 2.25rem 0 0.5rem; }
.ticks { margin-top: 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 2rem; }
.ticks li { position: relative; padding: 0.35rem 0 0.35rem 1.75rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.85em; width: 12px; height: 12px; background: var(--olive); }
.ticks li:nth-child(even)::before { background: var(--slate); }
.reasons { display: grid; gap: 0.5rem; margin-top: 1rem; }
.reasons li { position: relative; padding: 0.2rem 0 0.2rem 1.75rem; font-weight: 600; }
.reasons li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 12px; height: 12px; background: var(--slate-deep); }
.service-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }
.service-actions .btn-light { background: var(--surface); }
.service-side { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 2.5rem; position: sticky; top: 1.5rem; }
.side-call { background: var(--slate-deep); color: #fff; padding: clamp(1.25rem, 2vw, 1.75rem); border-radius: var(--radius); display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.side-call h2 { font-size: var(--step-lead); letter-spacing: -0.015em; }
.side-call .btn { background: #fff; color: var(--ink); }
.side-call .link { color: #fff; text-decoration-color: var(--slate); }
.side-nav, .side-request { padding: 0; }
.side-request { margin-top: 1.5rem; }
.side-nav h2, .side-request h2 { font-size: var(--step-lead); letter-spacing: -0.015em; margin-bottom: 1rem; }
.side-nav a { display: block; padding: 0.55rem 0.9rem; background: var(--paper); margin-bottom: 4px; border-radius: var(--radius); text-decoration: none; font-weight: 600; transition: background-color var(--t-hover) ease; }
.side-nav a[aria-current='page'] { background: var(--slate-deep); color: #fff; }
@media (hover: hover) and (pointer: fine) { .side-nav a:not([aria-current]):hover { background: var(--surface); color: var(--ink); } }

/* ---------- services index intro, letters, prose ---------- */
.intro-band { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.intro-grid h2 { grid-column: 1 / span 5; }
.intro-grid > div { grid-column: 7 / span 6; }
.cards + .cards { padding-top: 0; }
.letters-grid > h2 { margin-bottom: 2rem; }
.letters-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.letters-photo { grid-column: 1 / span 5; }
.letters-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.letters-row .letter { grid-column: 7 / span 6; }
.letters-row:nth-child(odd) .letters-photo { grid-column: 8 / span 5; grid-row: 1; }
.letters-row:nth-child(odd) .letter { grid-column: 1 / span 6; grid-row: 1; }
.letter.is-large .letter-open { font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem); }
.prose-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.prose-body { grid-column: 1 / span 7; }
.prose-body h3 { margin: 2.5rem 0 0.75rem; }
.prose-side { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 1rem; }
.side-h { font-size: var(--step-lead); letter-spacing: -0.015em; }
.prose-side figure { margin-top: 0.5rem; }
.prose-side img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.review { background: #e9edd9; padding: 1rem 1.1rem; border-radius: var(--radius); font-size: var(--step-small); margin: 1.5rem 0; max-width: 56ch; }
.todo { background: #fff1b8; padding: 0.1rem 0.35rem; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; } /* unfilled placeholder: must be replaced with text from HCP or counsel */
p.todo { padding: 0.6rem 0.8rem; max-width: 56ch; }

/* Section 1557 language notice */
.taglines { display: grid; gap: 1rem; margin-top: 1.25rem; }
.taglines li { line-height: 1.6; }
.taglines strong { display: block; }
.taglines [dir='rtl'] { text-align: right; }
.photo-note { font-size: var(--step-small); color: var(--muted); margin-top: 0.5rem; }
.form-help { margin-bottom: 1.25rem; }

/* ---------- footer ---------- */
.foot { background: var(--slate-deep); color: #fff; }
.foot a { color: #fff; }
.foot-close { padding-block: var(--section) clamp(3rem, 6vw, 5rem); }
.foot-title { font-size: var(--step-head); max-width: 22ch; }
.foot-title a { text-decoration: underline; text-decoration-color: var(--slate); text-decoration-thickness: 0.07em; }
.foot-sub { margin-top: 1.25rem; font-size: var(--step-lead); line-height: 1.45; max-width: 60ch; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem var(--gutter); padding-bottom: 4rem; align-items: start; }
.foot-brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2rem 4rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.18); }
.foot-brand img { width: 170px; }
.foot-offices { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 1.5rem 4rem; }
.foot-offices h3 { margin-bottom: 0.5rem; }
.foot address { font-style: normal; display: flex; flex-direction: column; gap: 0.6rem; font-size: var(--step-small); line-height: 1.5; }
.foot-services { grid-column: 1 / span 5; }
.foot-services ul { columns: 2; column-gap: var(--gutter); }
.foot-services li { break-inside: avoid; }
.foot-col:nth-child(3) { grid-column: 6 / span 3; }
.foot-col:nth-child(4) { grid-column: 9 / span 4; }
.foot h3 { font-size: var(--step-body); margin-bottom: 0.9rem; padding-top: 0.25rem; }
.foot-col li { padding-block: 0.3rem; font-size: var(--step-small); }
.foot-col a, .foot address a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: #fff; text-decoration: underline; } }
.foot-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.5rem 2rem; font-size: var(--step-small); max-width: 1760px; }

/* ---------- motion: load sequence, reveals, shutter ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes line-up { to { transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-expo) forwards; animation-delay: 120ms; }
  .js .hero .line + .line [data-line] { animation-delay: 220ms; }
  .js .hero [data-load] { opacity: 0; animation: rise 520ms var(--ease-out) forwards; animation-delay: 420ms; }
  .js .hero .hero-actions[data-load] { animation-delay: 500ms; }
  .js .hero-photo img { animation: settle 1400ms var(--ease-expo) both; }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-expo); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .shutter[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter[data-reveal] img { transform: scale(1.1); transition: transform 1400ms var(--ease-soft); }
  .js .shutter[data-reveal].is-in { clip-path: inset(0 0 -60% 0); }
  .js .shutter[data-reveal].is-in img { transform: none; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero { view-timeline-name: --hero; }
    .hero-photo img { animation: settle 1400ms var(--ease-expo) both, hero-drift linear both; animation-timeline: auto, --hero; animation-range: normal, exit 0% exit 100%; }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .js .banner h1 { opacity: 0; animation: rise 700ms var(--ease-expo) 100ms forwards; }
  .js .banner-sub { opacity: 0; animation: rise 520ms var(--ease-out) 300ms forwards; }
  .js .crumbs { opacity: 0; animation: rise 520ms var(--ease-out) 380ms forwards; }
  .js .banner-photo img { animation: settle 1400ms var(--ease-expo) both; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .banner { view-timeline-name: --banner; }
    .banner-photo img { animation: settle 1400ms var(--ease-expo) both, hero-drift linear both; animation-timeline: auto, --banner; animation-range: normal, exit 0% exit 100%; }
  }
}
/* pictures drift a few percent inside their frames as they pass (scroll-linked, never hides anything) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .card-photo img, .service-photo img, .map-photo, .prose-side img, .letters-photo img, .about-photo img {
      animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%;
    }
    .card-photo, .service-photo, .prose-side figure, .letters-photo, .about-photo { overflow: clip; }
    .about-photo { overflow: visible; }
    .about-photo img { animation-name: drift-small; }
  }
}
@keyframes drift { from { object-position: 50% 20%; } to { object-position: 50% 80%; } }
@keyframes drift-small { from { object-position: 50% 30%; } to { object-position: 50% 70%; } }
@keyframes hero-drift { from { transform: none; } to { transform: translateY(8%) scale(1.04); } }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .top-nav ul { gap: 1.25rem; }
  .top-phone { display: none !important; }
  .hero-text > *, .hero-sub { max-width: 62%; }
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
}
@media (max-width: 900px) {
  .top { flex-wrap: wrap; }
  .top-menu { display: inline-flex; align-items: center; margin-left: auto; }
  .top-cta { order: 1; margin-left: auto; }
  .top-menu { order: 2; margin-left: 0 !important; }
  .top-nav { display: none; order: 3; width: 100%; margin: 0; flex-direction: column; align-items: stretch; gap: 0; padding-block: 0.5rem 1rem; }
  .top-nav.is-open { display: flex; animation: rise 240ms var(--ease-out); }
  .top-nav ul { flex-direction: column; gap: 0; }
  .top-nav a { font-size: var(--step-lead); padding-block: 0.75rem; }
  .top-phone { display: inline-block !important; }
  .about-photo, .about-text, .visit-text, .visit .contact-card, .visit .map,
  .service-main, .service-side, .intro-grid h2, .intro-grid > div, .prose-body, .prose-side, .cards-head h2, .cards-head p,
  .payers-head h2, .payers-head p, .letters-photo, .letters-row .letter, .letters-row:nth-child(odd) .letters-photo, .letters-row:nth-child(odd) .letter { grid-column: 1 / -1; grid-row: auto; }
  .about-text { margin-top: 4rem; padding-left: 0; }
  .touch { grid-template-columns: 1fr; }
  .card, .is-index .card:nth-child(-n+2), .cards-grid > .card:nth-last-child(2):nth-child(3n+1), .cards-grid > .card:last-child:nth-child(3n+2),
  .is-index .cards-grid > .card:nth-last-child(2):nth-child(3n+1), .is-index .cards-grid > .card:last-child:nth-child(3n+2) { grid-column: span 6; }
  .is-index .card:first-child { grid-column: 1 / -1; }
  .service-side { position: static; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-col:nth-child(2) { grid-column: 1 / span 6; }
  .foot-col:nth-child(3) { grid-column: 7 / span 6; }
  .foot-col:nth-child(4) { grid-column: 1 / -1; }
}

/* ---------- phone ---------- */
@media (max-width: 600px) {
  :root { --section: 3.5rem; }
  .top { gap: 0.5rem; padding-block: 1.65rem; }
  .top-logo img { width: 132px; }
  .top-cta, .top-menu { min-height: 52px; padding-inline: 0.7rem; font-size: 1.08rem; }
  .hero-photo { height: 56svh; min-height: 0; }
  .hero-photo img { object-position: 72% 20%; }
  .hero-photo::after { display: none; }
  .hero-text { position: relative; inset: auto; background: var(--slate-deep); padding-block: 2rem 2.25rem; }
  .hero-text > *, .hero-sub { max-width: none; }
  .hero h1 { font-size: clamp(2rem, 10.5vw, 3rem); }
  .hero-sub { margin-top: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 1.5rem; }
  .about-photo figcaption { font-size: var(--step-body); padding: .9rem 1.25rem; max-width: 90%; }
  .about-text { margin-top: 2.5rem; }
  .card, .is-index .card:nth-child(-n+2), .cards-grid > .card:nth-last-child(2):nth-child(3n+1), .cards-grid > .card:last-child:nth-child(3n+2),
  .is-index .cards-grid > .card:nth-last-child(2):nth-child(3n+1), .is-index .cards-grid > .card:last-child:nth-child(3n+2) { grid-column: 1 / -1; }
  /* long lists on the phone: the first two keep their photographs, the rest become rows */
  .cards-grid:has(> .card:nth-child(4)) { row-gap: 1.25rem; }
  .cards-grid:has(> .card:nth-child(4)) > .card:nth-child(2) { margin-bottom: 0.75rem; }
  .cards-grid:has(> .card:nth-child(4)) > .card:nth-child(n+3) a { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: 1rem; row-gap: 0.15rem; }
  .cards-grid:has(> .card:nth-child(4)) > .card:nth-child(n+3) .card-photo { grid-row: span 2; margin: 0; align-self: center; }
  .cards-grid:has(> .card:nth-child(4)) > .card:nth-child(n+3) .card-photo img { aspect-ratio: 1; }
  .cards-grid:has(> .card:nth-child(4)) > .card:nth-child(n+3) .card-name { align-self: end; }
  .facts-row li { gap: 0.5rem; }
  .ticks { grid-template-columns: 1fr; }
  .window-title { padding-bottom: 1.5rem; }
  .window-frame { height: 56svh; }
  .window-caption { padding: 1.25rem var(--margin); font-size: var(--step-body); }

  .banner h1 { font-size: clamp(2.125rem, 9.4vw, 2.75rem); }
  .letter.is-large .letter-open { font-size: var(--step-body); }
  .foot-line { flex-direction: column; }
  .foot-title { font-size: clamp(1.625rem, 8vw, 2.25rem); }
  .foot-col:nth-child(2), .foot-col:nth-child(3), .foot-col:nth-child(4) { grid-column: 1 / -1; }
  .foot-services ul { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
}

#about-h .line { display: block; }
.hero-area { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.75rem; font-size: var(--step-small); font-weight: 500; letter-spacing: 0.01em; color: rgba(255,255,255,0.8); }
.hero-area svg { flex: none; }

/* testimonials grid */
.tm { background: var(--bg); }
.tm-head { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; margin-bottom: 2.5rem; }
.tm-head p { color: var(--muted); font-size: var(--step-lead); max-width: 48ch; }
.tm-wrap { position: relative; }
.tm-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.tm-card { position: relative; width: 320px; max-width: 100%; padding: 20px; background: #fff; border: 1px solid rgba(0,0,0,0.1); border-radius: 12px; }
.tm-who { display: flex; align-items: center; padding-right: 1.5rem; }
.tm-avatar { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 1rem; }
.tm-avatar.tone-1 { background: var(--slate-deep); }
.tm-avatar.tone-2 { background: var(--olive-deep); }
.tm-avatar.tone-3 { background: var(--ink); }
.tm-id { display: flex; flex-direction: column; padding-left: 1rem; }
.tm-id strong { font-size: 1rem; }
.tm-id span { font-size: 0.875rem; color: var(--muted); }
.tm-text { margin: 20px 0 0; }
.tm-text p { font-weight: 500; line-height: 1.6; max-width: none; }
.tm-src { position: absolute; top: 16px; right: 16px; line-height: 0; }
@media (hover: hover) and (pointer: fine) { .tm-src:hover { opacity: 0.8; } }
.tm.is-clipped .tm-wrap { max-height: 720px; overflow: hidden; }
.tm.is-clipped .tm-wrap::after { content: ''; position: absolute; inset: auto 0 0 0; height: 80px; background: linear-gradient(to top, var(--bg), transparent); pointer-events: none; }
.tm-more { position: absolute; left: 50%; bottom: 2.5rem; transform: translateX(-50%); z-index: 2; }
.tm-google { font-weight: 600; }
.tm-all { text-align: center; margin: 2rem auto 0; max-width: none; }
@media (max-width: 600px) { .tm-card { width: 100%; } }
.foot-area { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.25rem; font-size: var(--step-small); color: rgba(255,255,255,0.8); }
.foot-area svg { flex: none; }
@media (max-width: 700px) { .foot-offices { grid-template-columns: 1fr; } }
.foot-lic { margin-top: 0.25rem; font-size: 0.8125rem; color: rgba(255,255,255,0.7); }
