/*
 * SpayAZ site styles. Copied from the approved static mock (spayaz-rebuild/mocks/styles.css, v0927b).
 * Keep in sync with the mock; WordPress-specific adjustments live in wp.css.
 */
:root {
      --bg: var(--wp--preset--color--bg, #FAF8F5);
      --surface: var(--wp--preset--color--surface, #ffffff);
      --ink: var(--wp--preset--color--ink, #2C2A26);
      --muted: var(--wp--preset--color--muted, #6B6560);
      --brand: var(--wp--preset--color--brand, #2A7A76);
      --brand-hover: #226663;
      --brand-soft: var(--wp--preset--color--brand-soft, #E8F3F2);
      --sage: var(--wp--preset--color--sage, #F0F4EF);
      --coral: var(--wp--preset--color--coral, #C4785A);
      --coral-soft: var(--wp--preset--color--coral-soft, #FBF0EB);
      --coral-text: var(--wp--preset--color--coral-text, #9A4F32); /* coral for text on light backgrounds (AA 4.5:1+) */
      --brand-text-soft: var(--wp--preset--color--brand-text-soft, #226663); /* teal text on --brand-soft (AA 4.5:1+) */
      --border: var(--wp--preset--color--border, #E6E1DA);
      --focus: var(--wp--preset--color--focus, #1A5C59);
      --shadow: 0 4px 20px rgba(44, 42, 38, 0.06);
      --radius: 14px;
      --radius-pill: 999px;
      --max: 1140px;
      --nav-h: 88px;
      --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
      --font-body: Inter, system-ui, sans-serif;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: var(--font-body);
      font-size: 1rem;
      line-height: 1.6;
      color: var(--ink);
      background: var(--bg);
      -webkit-font-smoothing: antialiased;
    }
    img { max-width: 100%; display: block; }
    a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
    a:hover { color: var(--brand-hover); }
    h1, h2, h3, h4 {
      font-family: var(--font-display);
      line-height: 1.2;
      margin: 0 0 0.75rem;
      letter-spacing: -0.02em;
      color: var(--ink);
    }
    h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; }
    h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
    h3 { font-size: 1.125rem; font-weight: 600; }
    p { margin: 0 0 1rem; color: var(--muted); }
    p:last-child { margin-bottom: 0; }
    ul { margin: 0; padding: 0; list-style: none; }

    .container {
      width: min(100% - 2rem, var(--max));
      margin-inline: auto;
    }
    @media (min-width: 768px) {
      .container { width: min(100% - 4rem, var(--max)); }
    }

    /* Draft banner */
    .draft-banner {
      background: #3D3A36;
      color: #F5F2ED;
      text-align: center;
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      padding: 0.45rem 1rem;
      position: relative;
      z-index: 1001;
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      min-height: 48px;
      padding: 0.75rem 1.35rem;
      border-radius: var(--radius-pill);
      font-family: var(--font-display);
      font-size: 0.9375rem;
      font-weight: 600;
      text-decoration: none;
      border: 2px solid transparent;
      cursor: pointer;
      transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    }
    .btn:focus-visible {
      outline: 3px solid var(--focus);
      outline-offset: 2px;
    }
    .btn-primary {
      background: var(--brand);
      color: #fff;
    }
    .btn-primary:hover {
      background: var(--brand-hover);
      color: #fff;
    }
    .btn-secondary {
      background: transparent;
      color: var(--brand);
      border-color: var(--brand);
    }
    .btn-secondary:hover {
      background: var(--brand-soft);
      color: var(--brand-hover);
    }
    .btn-ghost {
      background: var(--surface);
      color: var(--ink);
      border-color: var(--border);
    }
    .btn-ghost:hover {
      border-color: var(--brand);
      color: var(--brand);
    }
    .btn-block { width: 100%; }
    .btn-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    /* Chip */
    .chip {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.35rem 0.85rem;
      border-radius: var(--radius-pill);
      font-size: 0.8125rem;
      font-weight: 600;
      background: var(--coral-soft);
      color: var(--coral-text);
    }
    .chip::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: currentColor;
      flex-shrink: 0;
    }


    .utility-bar {
      background: var(--brand);
      color: #fff;
      font-size: 0.8125rem;
      text-align: center;
      padding: 0.45rem 1rem;
      letter-spacing: 0.01em;
    }
    .utility-bar span { opacity: 0.95; }

    /* Nav */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: #FAF8F5;
      border-bottom: 1px solid var(--border);
    }
    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: var(--nav-h);
      gap: 1rem;
    }
    .logo {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      flex-shrink: 0;
      line-height: 0;
    }
    .logo-img {
      width: 320px;
      max-width: min(320px, 62vw);
      height: auto;
      max-height: 72px;
      object-fit: contain;
      object-position: left center;
    }
    @media (max-width: 640px) {
      .nav-inner { gap: 0.85rem; }
      .logo { min-width: 0; flex-shrink: 1; }
      .logo-img {
        width: 200px;
        max-width: min(200px, 48vw);
        max-height: 52px;
      }
      .nav-mobile-cta {
        min-height: 34px;
        padding: 0.3rem 0.7rem;
        font-size: 0.72rem;
        margin-right: 0.85rem;
        line-height: 1.2;
      }
    }
    @media (max-width: 420px) {
      .logo-img {
        width: 160px;
        max-width: min(160px, 42vw);
        max-height: 48px;
      }
      .nav-mobile-cta {
        min-height: 32px;
        padding: 0.28rem 0.6rem;
        font-size: 0.68rem;
        margin-right: 0.75rem;
      }
    }
    .nav-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--surface);
      cursor: pointer;
      padding: 0;
    }
    .nav-toggle:focus-visible {
      outline: 3px solid var(--focus);
      outline-offset: 2px;
    }
    .nav-toggle-bars {
      display: block;
      width: 18px;
      height: 2px;
      background: var(--ink);
      position: relative;
    }
    .nav-toggle-bars::before,
    .nav-toggle-bars::after {
      content: "";
      position: absolute;
      left: 0;
      width: 18px;
      height: 2px;
      background: var(--ink);
    }
    .nav-toggle-bars::before { top: -6px; }
    .nav-toggle-bars::after { top: 6px; }
    .nav-links {
      display: none;
      flex-direction: column;
      gap: 0.25rem;
      position: absolute;
      left: 0;
      right: 0;
      top: calc(var(--nav-h) + 1px);
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      padding: 1rem 1rem 1.25rem;
      box-shadow: var(--shadow);
    }
    .nav-links.is-open { display: flex; }
    .nav-links a {
      color: var(--ink);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.9375rem;
      padding: 0.65rem 0.75rem;
      border-radius: 8px;
    }
    .nav-links a:hover { background: var(--sage); color: var(--brand); }
    .nav-cta { display: none; }
    .nav-mobile-cta {
      display: inline-flex;
      margin-left: auto;
      margin-right: 0.75rem;
      min-height: 40px;
      padding: 0.5rem 1rem;
      font-size: 0.875rem;
      flex-shrink: 0;
      white-space: nowrap;
    }
    @media (min-width: 960px) {
      .nav-toggle { display: none; }
      .nav-mobile-cta { display: none; }
      .nav-inner { gap: 1.5rem; }
      .nav-links {
        display: flex;
        flex-direction: row;
        align-items: center;
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        gap: 0.15rem;
        margin-left: auto;
      }
      .nav-links a {
        padding: 0.5rem 0.7rem;
        font-size: 0.9rem;
      }
      .nav-cta { display: inline-flex; flex-shrink: 0; }
    }

    /* Sections */
    .section {
      padding: 4rem 0;
    }
    @media (min-width: 768px) {
      .section { padding: 5.5rem 0; }
    }
    .section-sage { background: var(--sage); }
    .section-soft { background: var(--brand-soft); }
    .section-intro {
      max-width: 38rem;
      margin-bottom: 2.5rem;
    }
    .section-intro.centered {
      margin-left: auto;
      margin-right: auto;
      text-align: center;
    }
    .eyebrow {
      display: inline-block;
      font-size: 0.8125rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--brand);
      margin-bottom: 0.75rem;
    }

    /* Hero */
    .hero {
      padding: 2.5rem 0 3.5rem;
    }
    @media (min-width: 768px) {
      .hero { padding: 4rem 0 5rem; }
    }
    .hero-grid {
      display: grid;
      gap: 2.5rem;
      align-items: center;
    }
    @media (min-width: 900px) {
      .hero-grid {
        grid-template-columns: 0.95fr 1.15fr;
        gap: 2.5rem;
        align-items: center;
      }
    }
    .hero-copy .chip { margin-bottom: 1.25rem; }
    .hero-copy h1 { margin-bottom: 1rem; }
    .hero-copy .lead {
      font-size: 1.125rem;
      color: var(--muted);
      margin-bottom: 1.75rem;
      max-width: 34rem;
    }
    .hero-trust {
      margin-top: 1.5rem;
      font-size: 0.875rem;
      color: var(--muted);
    }
    .hero-note { margin: 1rem 0 0; }
    .hero-note .chip { margin: 0; }
    .hero-trust .chip { margin-top: 0; margin-bottom: 0.75rem; }
    .hero-job-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 1.25rem;
      padding: 0.65rem;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 16px;
      box-shadow: var(--shadow);
      max-width: 36rem;
    }
    .hero-job-bar a {
      flex: 1 1 calc(50% - 0.5rem);
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.55rem 0.75rem;
      border-radius: var(--radius-pill);
      border: 1.5px solid var(--brand);
      background: var(--bg);
      color: var(--brand);
      font-family: var(--font-display);
      font-size: 0.8125rem;
      font-weight: 600;
      text-decoration: none;
      text-align: center;
      transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    }
    .hero-job-bar a:hover {
      background: var(--brand-soft);
      color: var(--brand-hover);
      border-color: var(--brand-hover);
    }
    .hero-job-bar a:focus-visible {
      outline: 3px solid var(--focus);
      outline-offset: 2px;
    }
    @media (min-width: 640px) {
      .hero-job-bar a { flex: 1 1 0; font-size: 0.875rem; }
    }
    .hero-visual {
      position: relative;
    }
    
    .hero-single {
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--shadow);
      background: var(--surface);
      border: 1px solid var(--border);
      line-height: 0;
    }
    .hero-single img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
      aspect-ratio: 4 / 3;
    }

    .hero-rotator {
      position: relative;
      border-radius: 0;
      overflow: visible;
      box-shadow: none;
      background: transparent;
      border: 0;
    }
    .hero-rotator-viewport {
      position: relative;
      aspect-ratio: 1 / 1;
      width: min(100%, 34rem);
      margin-inline: auto;
      background: transparent;
    }
    @media (min-width: 900px) {
      .hero-rotator-viewport {
        width: 100%;
        max-width: 38rem;
        margin-inline: 0 0 auto;
      }
    }
    .hero-slide {
      margin: 0;
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.55s ease;
      pointer-events: none;
    }
    .hero-slide.is-active {
      opacity: 1;
      pointer-events: auto;
      z-index: 1;
    }
    .hero-slide img,
    .hero-slide video,
    .hero-video {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center bottom;
      display: block;
      transform: scale(1.08);
      transform-origin: center bottom;
      background: transparent;
      border: 0;
    }
    .hero-slide video {
      pointer-events: none;
    }
    .hero-rotator-dots {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0.85rem;
      z-index: 2;
      display: flex;
      justify-content: center;
      gap: 0.45rem;
      padding: 0 0.75rem;
    }
    .hero-rotator-dots button {
      width: 0.55rem;
      height: 0.55rem;
      padding: 0;
      border: 0;
      border-radius: 999px;
      background: rgba(44, 42, 38, 0.28);
      cursor: pointer;
      transition: background 0.15s ease, transform 0.15s ease;
    }
    .hero-rotator-dots button.is-active {
      background: var(--brand);
      transform: scale(1.2);
    }
    .hero-rotator-dots button:focus-visible {
      outline: 3px solid var(--focus);
      outline-offset: 2px;
    }
    @media (prefers-reduced-motion: reduce) {
      .hero-slide { transition: none; }
    }

    .hero-collage {
      display: grid;
      grid-template-columns: 1.35fr 0.85fr;
      grid-template-rows: 1fr 1fr;
      gap: 0.75rem;
      aspect-ratio: 4 / 3;
    }
    .hero-photo-frame {
      position: relative;
      border-radius: 18px;
      overflow: hidden;
      background: linear-gradient(145deg, var(--brand-soft), var(--sage));
      border: 1px solid var(--border);
      box-shadow: 0 10px 28px rgba(44, 42, 38, 0.1);
    }
    .hero-photo-frame.primary {
      grid-row: 1 / span 2;
    }
    .hero-photo-frame img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .hero-photo-frame.primary img { object-position: center 35%; }
    .hero-photo-frame.secondary img { object-position: center 25%; }
    .hero-photo-frame.tertiary img { object-position: center; }
    .hero-schedule-card {
      margin-top: 1.25rem;
      background: var(--surface);
      border-radius: 16px;
      padding: 1.25rem 1.35rem;
      box-shadow: var(--shadow);
      border: 1px solid var(--border);
    }
    .hero-visual-label {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 0.9375rem;
      margin-bottom: 0.35rem;
      color: var(--ink);
    }
    .hero-visual-meta {
      font-size: 0.875rem;
      color: var(--muted);
      margin-bottom: 0.85rem;
    }
    .hero-visual-phones {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }
    .hero-visual-phones a {
      font-weight: 600;
      text-decoration: none;
      color: var(--brand);
      font-size: 0.9rem;
    }
    .hero-visual-phones a:hover { text-decoration: underline; }

    /* Steps */
    .steps {
      display: grid;
      gap: 1.25rem;
    }
    @media (min-width: 768px) {
      .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    }
    .step-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.5rem;
      box-shadow: var(--shadow);
      height: 100%;
    }
    .step-num {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--brand-soft);
      color: var(--brand);
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 0.875rem;
      margin-bottom: 1rem;
    }
    .step-card h3 { margin-bottom: 0.4rem; }
    .step-card p { font-size: 0.9375rem; }

    /* Service cards */
    .card-grid {
      display: grid;
      gap: 1.25rem;
    }
    @media (min-width: 640px) {
      .card-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (min-width: 960px) {
      .card-grid.services { grid-template-columns: repeat(3, 1fr); }
    }
    .pharmacy-band {
      padding: 0;
    }
    .pharmacy-note {
      margin: 0;
      max-width: 38rem;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.5rem;
      box-shadow: var(--shadow);
    }
    .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.5rem;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      height: 100%;
      transition: border-color 0.15s ease, transform 0.15s ease;
    }
    .card:hover { border-color: #c5ddd9; }
    .card-icon {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      background: var(--bg);
      border: 1px solid var(--border);
      color: var(--brand);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
      flex-shrink: 0;
      overflow: hidden;
      padding: 10px;
    }
    .card-icon img {
      width: 52px;
      height: 52px;
      object-fit: contain;
    }
    .card-icon svg {
      width: 52px;
      height: 52px;
      display: block;
    }
    .card h3 { margin-bottom: 0.5rem; }
    .card p {
      font-size: 0.9375rem;
      flex-grow: 1;
      margin-bottom: 1rem;
    }
    .card-link {
      font-weight: 600;
      font-size: 0.875rem;
      text-decoration: none;
      color: var(--brand);
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }
    .card-link:hover { color: var(--brand-hover); text-decoration: underline; }

    /* Why choose */
    .why-layout {
      display: grid;
      gap: 2rem;
      align-items: center;
    }
    @media (min-width: 900px) {
      .why-layout {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 3rem;
      }
    }
    .why-photo {
      border-radius: 18px;
      overflow: hidden;
      aspect-ratio: 1 / 1;
      max-height: 520px;
      border: 1px solid var(--border);
      box-shadow: 0 10px 28px rgba(44, 42, 38, 0.1);
      background: var(--brand-soft);
    }
    .why-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 35%;
    }
    .why-grid {
      display: grid;
      gap: 1rem;
    }
    @media (min-width: 640px) {
      .why-grid { grid-template-columns: repeat(2, 1fr); }
    }
    .why-item {
      display: flex;
      gap: 0.85rem;
      align-items: flex-start;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.15rem 1.25rem;
    }
    .why-check {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--brand-soft);
      color: var(--brand);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 1px;
    }
    .why-check svg { width: 14px; height: 14px; }
    .why-item strong {
      display: block;
      font-family: var(--font-display);
      font-size: 0.975rem;
      font-weight: 600;
      color: var(--ink);
      margin-bottom: 0.15rem;
    }
    .why-item span {
      font-size: 0.875rem;
      color: var(--muted);
    }

    /* Locations */
    .state-label {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 0.875rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--brand);
      margin: 2rem 0 1rem;
    }
    .state-label:first-of-type { margin-top: 0; }
    .loc-grid {
      display: grid;
      gap: 1.25rem;
    }
    @media (min-width: 640px) {
      .loc-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (min-width: 960px) {
      .loc-grid.az { grid-template-columns: repeat(3, 1fr); }
      .loc-grid.pa { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
    }
    .loc-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.5rem;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }
    .loc-card h3 { margin: 0; }
    .loc-address {
      font-size: 0.9375rem;
      color: var(--muted);
      margin: 0;
      line-height: 1.5;
    }
    .loc-phone {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.125rem;
      color: var(--brand);
      text-decoration: none;
      margin-top: auto;
      padding-top: 0.5rem;
    }
    .loc-phone:hover { color: var(--brand-hover); text-decoration: underline; }

    /* Rich location cards (expanded locations mock) */
    .loc-grid-rich {
      display: grid;
      gap: 1.5rem;
    }
    @media (min-width: 900px) {
      .loc-grid-rich.az { grid-template-columns: repeat(2, 1fr); }
      .loc-grid-rich.pa { grid-template-columns: repeat(2, 1fr); max-width: none; }
    }
    @media (min-width: 1200px) {
      .loc-grid-rich.az { grid-template-columns: repeat(3, 1fr); }
    }
    .loc-card-rich {
      gap: 0.65rem;
    }
    .loc-card-rich .loc-phone {
      margin-top: 0;
      padding-top: 0;
    }
    .loc-book-note {
      margin: 0;
      font-size: 0.875rem;
      color: var(--muted);
      line-height: 1.45;
    }
    .loc-detail {
      margin: 0.25rem 0 0;
      padding-top: 0.65rem;
      border-top: 1px solid var(--border);
    }
    .loc-detail h4 {
      margin: 0 0 0.4rem;
      font-family: var(--font-display);
      font-size: 0.8125rem;
      font-weight: 700;
      letter-spacing: 0.03em;
      text-transform: uppercase;
      color: var(--brand);
    }
    .loc-hours {
      margin: 0;
      padding-left: 1.1rem;
      font-size: 0.875rem;
      color: var(--text);
      line-height: 1.5;
    }
    .loc-hours li + li { margin-top: 0.35rem; }
    .loc-blurb,
    .loc-notes {
      margin: 0 0 0.45rem;
      font-size: 0.875rem;
      color: var(--text);
      line-height: 1.5;
    }
    .loc-notes:last-child { margin-bottom: 0; }
    .loc-maps {
      margin: 0.35rem 0 0;
      font-size: 0.875rem;
    }
    .loc-maps a {
      color: var(--brand);
      font-weight: 600;
      text-decoration: none;
    }
    .loc-maps a:hover {
      color: var(--brand-hover);
      text-decoration: underline;
    }

    .loc-maps a.btn,
    .loc-maps a.btn:hover {
      text-decoration: none;
    }

    /* Testimonials */
    .quote-grid {
      display: grid;
      gap: 1.25rem;
    }
    @media (min-width: 768px) {
      .quote-grid { grid-template-columns: repeat(3, 1fr); }
    }
    .quote-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.5rem;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      height: 100%;
      position: relative;
      overflow: hidden;
    }
    .quote-accent {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      overflow: hidden;
      margin-bottom: 1rem;
      border: 2px solid var(--brand-soft);
      flex-shrink: 0;
    }
    .quote-accent img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .quote-card blockquote {
      margin: 0 0 1.25rem;
      padding: 0;
      font-size: 0.975rem;
      color: var(--ink);
      line-height: 1.55;
      flex-grow: 1;
    }
    .quote-card footer {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--muted);
    }

    /* FAQ */
    .faq-list {
      display: grid;
      gap: 0.75rem;
      max-width: 720px;
      margin: 0 auto;
    }
    .faq-item {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.15rem 1.35rem;
    }
    .faq-item h3 {
      font-size: 1rem;
      margin-bottom: 0.4rem;
    }
    .faq-item p {
      font-size: 0.9375rem;
      margin: 0;
    }
    .faq-more {
      text-align: center;
      margin-top: 2rem;
    }

    /* CTA band */
    .cta-band {
      position: relative;
      overflow: hidden;
      background: var(--brand);
      color: #fff;
      border-radius: 20px;
      padding: 2.5rem 1.75rem;
      text-align: center;
      box-shadow: var(--shadow);
    }
    .cta-band-bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      opacity: 0.28;
      pointer-events: none;
    }
    /* Perf 1.0.7: the photo is applied only when the band nears the viewport (script adds .is-inview). */
    .cta-band-bg.is-inview {
      background-image: url("../stock/dog-park-800.webp");
    }
    .cta-band-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(42, 122, 118, 0.92), rgba(34, 102, 99, 0.88));
      pointer-events: none;
    }
    .cta-band-inner {
      position: relative;
      z-index: 1;
    }
    @media (min-width: 768px) {
      .cta-band { padding: 3.25rem 3rem; }
    }
    .cta-band h2 { color: #fff; margin-bottom: 0.75rem; }
    .cta-band p {
      color: rgba(255, 255, 255, 0.9);
      max-width: 32rem;
      margin: 0 auto 1.75rem;
    }
    .cta-band .btn-primary {
      background: #fff;
      color: var(--brand);
    }
    .cta-band .btn-primary:hover {
      background: var(--bg);
      color: var(--brand-hover);
    }
    .cta-band .btn-secondary {
      color: #fff;
      border-color: rgba(255, 255, 255, 0.55);
    }
    .cta-band .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.12);
      color: #fff;
      border-color: #fff;
    }
    .cta-band .btn-row {
      justify-content: center;
    }

    /* Footer */
    .site-footer {
      background: #2C2A26;
      color: #D8D3CB;
      padding: 3.5rem 0 2rem;
      margin-top: 0;
    }
    .footer-grid {
      display: grid;
      gap: 2.5rem;
    }
    @media (min-width: 768px) {
      .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 3rem;
      }
    }
    .footer-brand .logo {
      display: inline-flex;
      margin-bottom: 0.85rem;
    }
    .footer-brand .logo-img {
      width: 240px;
      max-height: 64px;
      filter: brightness(1.05);
    }
    .footer-brand p {
      color: #A8A29A;
      font-size: 0.9rem;
      max-width: 22rem;
    }
    .footer-col h4 {
      font-family: var(--font-display);
      font-size: 0.8125rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #fff;
      margin-bottom: 1rem;
    }
    .footer-col a {
      display: block;
      color: #C8C2B8;
      text-decoration: none;
      font-size: 0.9rem;
      padding: 0.3rem 0;
    }
    .footer-col a:hover { color: #fff; }
    .footer-phones a {
      font-weight: 500;
    }
    .footer-bottom {
      margin-top: 2.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid #45413C;
      font-size: 0.8125rem;
      color: #A39D95; /* was #8A847C (3.87:1); 5.33:1 on footer bg, v0927b */
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem 1.5rem;
      justify-content: space-between;
    }
    .footer-bottom a { color: #A8A29A; }


    /* Social icons */
    .social-links {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.55rem;
      margin: 0;
      padding: 0;
    }
    .social-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2.25rem;
      height: 2.25rem;
      border-radius: 999px;
      color: #fff;
      background: var(--brand);
      text-decoration: none;
      transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
    }
    .social-link:hover,
    .social-link:focus-visible {
      background: var(--brand-hover);
      color: #fff;
      transform: translateY(-1px);
      outline: none;
    }
    .social-link:focus-visible {
      box-shadow: 0 0 0 3px var(--brand-soft), 0 0 0 5px var(--focus);
    }
    .social-link svg {
      width: 1.05rem;
      height: 1.05rem;
      display: block;
    }
    .footer-social {
      margin-top: 1rem;
    }
    .footer-social .social-link {
      background: #3D3A36;
      color: #E8E4DC;
      border: 1px solid #524E48;
    }
    .footer-social .social-link:hover,
    .footer-social .social-link:focus-visible {
      background: var(--brand);
      color: #fff;
      border-color: var(--brand);
    }
    .loc-social {
      margin-top: 0.15rem;
    }
    .loc-social .social-link {
      width: 2.1rem;
      height: 2.1rem;
      background: var(--brand-soft);
      color: var(--brand);
    }
    .loc-social .social-link:hover,
    .loc-social .social-link:focus-visible {
      background: var(--brand);
      color: #fff;
    }

    /* Utility */
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }


    /* Active nav */
    .nav-links a.is-active {
      background: var(--sage);
      color: var(--brand);
      font-weight: 600;
    }

    /* Page hero (inner pages) */
    .page-hero {
      padding: 2.25rem 0 2rem;
      border-bottom: 1px solid var(--border);
      background: linear-gradient(180deg, var(--brand-soft) 0%, var(--bg) 100%);
    }
    @media (min-width: 768px) {
      .page-hero { padding: 3rem 0 2.5rem; }
    }
    .page-hero h1 { margin-bottom: 0.75rem; }
    .page-hero .lead {
      font-size: 1.0625rem;
      color: var(--muted);
      max-width: 40rem;
      margin: 0;
    }
    .page-hero-row {
      display: grid;
      gap: 1.5rem;
      align-items: center;
    }
    @media (min-width: 900px) {
      .page-hero-row {
        grid-template-columns: 1.4fr 0.8fr;
        gap: 2.5rem;
      }
    }
    .page-hero-photo {
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
      aspect-ratio: 4 / 3;
      background: var(--sage);
    }
    .page-hero-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
    }
    /* Video: natural aspect, never cover-crop (Safari ignores contain when height:100%) */
    .page-hero-photo--video {
      aspect-ratio: auto;
      background: var(--bg);
      line-height: 0;
    }
    .page-hero-photo--video video {
      display: block;
      width: 100%;
      height: auto;
      max-width: 100%;
      object-fit: unset;
      object-position: center;
    }

    /* Notice / callout */
    .notice {
      background: var(--coral-soft);
      border: 1px solid #efd5c8;
      border-radius: var(--radius);
      padding: 1rem 1.25rem;
      color: var(--ink);
      font-size: 0.9375rem;
      margin: 0 0 1.5rem;
    }
    .notice strong {
      color: var(--coral-text);
      font-family: var(--font-display);
    }
    .notice-soft {
      background: var(--brand-soft);
      border-color: #c5ddd9;
    }
    .notice-soft strong,
    .notice-soft a { color: var(--brand-text-soft); }
    .section-soft .eyebrow,
    .section-soft a:not(.btn) { color: var(--brand-text-soft); }

    /* Price tables */
    .price-block {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
      margin-bottom: 1.5rem;
    }
    .price-block-header {
      padding: 1.15rem 1.35rem;
      background: var(--sage);
      border-bottom: 1px solid var(--border);
    }
    .price-block-header h2,
    .price-block-header h3 {
      margin: 0 0 0.35rem;
      font-size: 1.125rem;
    }
    .price-block-header p {
      margin: 0;
      font-size: 0.875rem;
    }
    .price-table {
      width: 100%;
      border-collapse: collapse;
    }
    .price-table th,
    .price-table td {
      text-align: left;
      padding: 0.9rem 1.35rem;
      border-bottom: 1px solid var(--border);
      vertical-align: top;
    }
    .price-table tr:last-child th,
    .price-table tr:last-child td { border-bottom: none; }
    .price-table th {
      font-family: var(--font-display);
      font-weight: 600;
      color: var(--ink);
      width: 62%;
    }
    .price-table td {
      font-weight: 700;
      font-family: var(--font-display);
      color: var(--brand);
      white-space: nowrap;
      text-align: right;
    }
    .price-note {
      font-size: 0.8125rem;
      font-weight: 500;
      color: var(--muted);
      display: block;
      margin-top: 0.25rem;
      white-space: normal;
    }
    .price-table td .price-note {
      font-weight: 500;
      color: var(--muted);
      text-align: right;
    }
    .price-footnote {
      padding: 1rem 1.35rem 1.25rem;
      font-size: 0.875rem;
      color: var(--muted);
      border-top: 1px solid var(--border);
      background: #fcfbf9;
    }
    .price-grid {
      display: grid;
      gap: 1.5rem;
    }
    @media (min-width: 900px) {
      .price-grid.two { grid-template-columns: 1fr 1fr; }
    }

    /* Price segments (Dog / Cat tabs) */
    .price-seg-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin: 0 0 1.75rem;
      padding: 0.5rem;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 14px;
      box-shadow: var(--shadow);
      position: sticky;
      top: calc(var(--nav-h) + 0.5rem);
      z-index: 5;
    }
    .price-seg-tab {
      flex: 1 1 auto;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.55rem 1rem;
      border-radius: var(--radius-pill);
      border: 1.5px solid transparent;
      background: transparent;
      color: var(--muted);
      font-family: var(--font-display);
      font-size: 0.875rem;
      font-weight: 600;
      text-decoration: none;
      transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    }
    .price-seg-tab:hover {
      background: var(--brand-soft);
      color: var(--brand);
    }
    .price-seg-tab.is-active {
      background: var(--brand);
      color: #fff;
      border-color: var(--brand);
    }
    .price-seg-tab:focus-visible {
      outline: 3px solid var(--focus);
      outline-offset: 2px;
    }
    @media (max-width: 640px) {
      .price-seg-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
      }
      .price-seg-tab {
        flex: none;
        width: 100%;
        min-width: 0;
        padding: 0.5rem 0.55rem;
        font-size: 0.8125rem;
        text-align: center;
      }
    }
    .price-segment {
      margin-bottom: 2.5rem;
      scroll-margin-top: calc(var(--nav-h) + 4.5rem);
    }
    .price-segment-title {
      margin: 0 0 0.5rem;
      padding-bottom: 0.5rem;
      border-bottom: 3px solid var(--brand);
      display: inline-block;
      min-width: 6rem;
    }
    .price-segment-lead {
      margin: 0 0 1.15rem;
      max-width: 40rem;
      font-size: 0.975rem;
    }

    /* Vet cards */
    .vet-grid {
      display: grid;
      gap: 1.25rem;
    }
    @media (min-width: 640px) {
      .vet-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (min-width: 960px) {
      .vet-grid { grid-template-columns: repeat(3, 1fr); }
    }
    .vet-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 0;
      box-shadow: var(--shadow);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .vet-photo {
      margin: 0;
      width: 100%;
      overflow: hidden;
      background: var(--sage);
      line-height: 0;
      flex: 0 0 auto;
    }
    .vet-photo img {
      width: 100%;
      height: auto !important;
      max-width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      object-position: center top;
      display: block;
    }
    .vet-card-body {
      padding: 1.25rem 1.5rem 1.5rem;
    }
    .vet-card h3 { margin-bottom: 0.35rem; }
    .vet-locs {
      font-size: 0.8125rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--brand);
      margin-bottom: 0.75rem;
    }
    .vet-card p { font-size: 0.9375rem; margin: 0; }

    /* Contact form */
    .form-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.5rem;
      box-shadow: var(--shadow);
    }
    .form-grid {
      display: grid;
      gap: 1rem;
    }
    @media (min-width: 640px) {
      .form-grid.two { grid-template-columns: 1fr 1fr; }
    }
    label {
      display: block;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--ink);
      margin-bottom: 0.35rem;
      font-family: var(--font-display);
    }
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
      width: 100%;
      min-height: 48px;
      padding: 0.7rem 0.9rem;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--bg);
      color: var(--ink);
      font: inherit;
    }
    textarea { min-height: 140px; resize: vertical; }
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
      outline: 3px solid var(--focus);
      outline-offset: 2px;
      border-color: var(--brand);
    }
    .form-actions { margin-top: 1rem; }
    .form-disclaimer {
      font-size: 0.875rem;
      color: var(--muted);
      margin-top: 1rem;
    }

    /* Split layout */
    .split {
      display: grid;
      gap: 2rem;
    }
    @media (min-width: 900px) {
      .split {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 2.5rem;
        align-items: start;
      }
    }

    /* Loc card photo accent */
    .loc-card-photo {
      border-radius: 10px;
      overflow: hidden;
      aspect-ratio: 16 / 9;
      margin: -0.25rem 0 0.25rem;
      border: 1px solid var(--border);
      background: var(--sage);
    }
    .loc-card-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Details FAQ accordion-ish */
    details.faq-item {
      cursor: pointer;
    }
    details.faq-item summary {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 1rem;
      color: var(--ink);
      list-style: none;
      cursor: pointer;
    }
    details.faq-item summary::-webkit-details-marker { display: none; }
    details.faq-item summary::after {
      content: "+";
      float: right;
      color: var(--brand);
      font-weight: 700;
    }
    details.faq-item[open] summary::after { content: "-"; }
    details.faq-item[open] summary { margin-bottom: 0.5rem; }
    details.faq-item p { margin-top: 0.25rem; }

    .loc-nearest {
      margin: 0 0 1.75rem;
      padding: 1.1rem 1.2rem;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 16px;
      box-shadow: var(--shadow);
    }
    .loc-nearest-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem 1rem;
      align-items: center;
    }
    .loc-nearest-status {
      margin: 0;
      flex: 1 1 14rem;
      font-size: 0.9375rem;
      color: var(--muted);
    }
    .loc-nearest-hint {
      margin: 0.85rem 0 0.4rem;
      font-size: 0.875rem;
      color: var(--muted);
    }
    .loc-nearest-zip {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      align-items: center;
    }
    .loc-nearest-zip input {
      min-height: 44px;
      width: 8rem;
      padding: 0.5rem 0.75rem;
      border: 1px solid var(--border);
      border-radius: 10px;
      font: inherit;
    }
    .loc-distance {
      margin: 0.15rem 0 0.35rem;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--brand);
    }
    .loc-maps {
      display: flex;
      flex-wrap: wrap;
      gap: 0.65rem 1rem;
      align-items: center;
    }
    .loc-maps a.loc-directions {
      font-weight: 600;
    }
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* clinic location storefront photos */
    .loc-card-photo,
    .loc-card-photo,
    .loc-photo {
      overflow: hidden;
    }
    .loc-card-photo img,
    .loc-card-photo img,
    .loc-photo img,
    .loc-card img[src*="assets/locations/"] {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
    }
    .loc-card-photo img[src*="mesa.jpg"],
    .loc-card-photo img[src*="locations/mesa-656"] {
      object-position: center bottom;
    }

    /* why-us photo: Safari-safe fill, no default figure margins */
    .why-photo { margin: 0; position: relative; width: 100%; }
    .why-photo img { position: absolute; inset: 0; display: block; }
    @media (max-width: 899px) {
      .why-photo { aspect-ratio: 4 / 3; max-height: none; }
      .why-photo img { object-position: center 50%; }
    }
    .nav-mobile-cta { white-space: nowrap; }

    /* ===== Single-clinic pages (glendale-az.html template, v0927b) ===== */
    .skip-link {
      position: absolute;
      left: 1rem;
      top: -100px;
      z-index: 2000;
      background: var(--surface);
      color: var(--brand-hover);
      font-weight: 600;
      padding: 0.6rem 1rem;
      border-radius: 10px;
      border: 2px solid var(--brand);
      text-decoration: none;
    }
    .skip-link:focus { top: 0.75rem; outline: 3px solid var(--focus); outline-offset: 2px; }
    .footer-col .footer-heading {
      font-family: var(--font-display);
      font-size: 0.8125rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #fff;
      margin: 0 0 1rem;
    }
    .breadcrumb { margin: 0 0 1.25rem; font-size: 0.875rem; }
    .breadcrumb ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
    .breadcrumb li { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--muted); }
    .breadcrumb li + li::before { content: "/"; color: #9a938b; }
    .breadcrumb a { color: var(--brand-text-soft); font-weight: 500; text-decoration: none; }
    .breadcrumb a:hover { text-decoration: underline; }
    .breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }
    .clinic-hero-row { align-items: start; }
    @media (min-width: 900px) {
      .clinic-hero-row { grid-template-columns: 1.35fr 0.85fr; }
    }
    .clinic-address {
      font-style: normal;
      font-size: 1.0625rem;
      line-height: 1.55;
      color: var(--ink);
      margin: 1.25rem 0 1.25rem;
      padding-left: 0.9rem;
      border-left: 3px solid var(--brand);
    }
    .clinic-address--sm { font-size: 0.9375rem; margin: 0 0 1rem; }
    .clinic-actions { margin-bottom: 1.25rem; }
    .btn-icon { flex-shrink: 0; }
    .clinic-notice { margin-bottom: 0; max-width: 40rem; }
    .clinic-glance {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 1.35rem 1.5rem;
    }
    .clinic-glance-title {
      font-size: 0.8125rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--brand);
      margin: 0 0 0.75rem;
    }
    .clinic-glance-list { margin: 0; }
    .clinic-glance-list > div {
      display: grid;
      grid-template-columns: 8.5rem 1fr;
      gap: 0.75rem;
      padding: 0.6rem 0;
      border-top: 1px solid var(--border);
      font-size: 0.9375rem;
    }
    .clinic-glance-list > div:first-child { border-top: 0; padding-top: 0; }
    .clinic-glance-list dt { font-weight: 600; color: var(--ink); }
    .clinic-glance-list dd { margin: 0; color: var(--muted); }
    .clinic-glance-list dd a { color: var(--brand); font-weight: 700; text-decoration: none; }
    .clinic-glance-list dd a:hover { text-decoration: underline; }
    @media (max-width: 380px) {
      .clinic-glance-list > div { grid-template-columns: 1fr; gap: 0.1rem; }
    }
    .clinic-info-grid { display: grid; gap: 1.25rem; }
    @media (min-width: 820px) {
      .clinic-info-grid { grid-template-columns: 1.3fr 1fr; }
    }
    .clinic-panel {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 1.5rem;
    }
    .clinic-panel h3 { margin-bottom: 0.85rem; }
    .clinic-panel p { font-size: 0.9375rem; margin-bottom: 0.75rem; }
    .clinic-panel .clinic-panel-cta { margin: 1.25rem 0 0; }
    .clinic-hours { display: grid; gap: 0.85rem; }
    .clinic-hours li {
      position: relative;
      padding-left: 1.35rem;
      font-size: 0.9375rem;
      line-height: 1.55;
      color: var(--text);
    }
    .clinic-hours li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.55em;
      width: 0.5rem;
      height: 0.5rem;
      border-radius: 50%;
      background: var(--brand);
    }
    .clinic-hours strong { color: var(--ink); font-family: var(--font-display); }
    .clinic-map-grid {
      display: grid;
      gap: 1.5rem;
      grid-template-areas: "copy" "photo" "map";
    }
    .clinic-map-grid > * { min-width: 0; }
    .clinic-map-copy { grid-area: copy; }
    .clinic-storefront { grid-area: photo; }
    .clinic-map { grid-area: map; }
    @media (min-width: 640px) {
      .clinic-map-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "copy copy" "photo map";
        align-items: stretch;
      }
    }
    @media (min-width: 900px) {
      .clinic-map-grid {
        column-gap: 2.5rem;
        grid-template-areas: "copy map" "photo map";
        grid-template-rows: auto 1fr;
      }
    }
    .clinic-map-copy > p { max-width: 36rem; }
    .clinic-map-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.1rem; }
    .clinic-map-links a { font-weight: 600; }
    .clinic-storefront {
      margin: 0;
      align-self: start;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
      background: var(--sage);
      line-height: 0;
    }
    .clinic-storefront img { width: 100%; height: auto; display: block; }
    .clinic-map {
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
      background: var(--sage);
      min-width: 0;
      height: 340px;
    }
    @media (min-width: 640px) {
      .clinic-map { height: auto; min-height: 280px; }
    }
    @media (min-width: 900px) {
      .clinic-map { min-height: 480px; }
    }
    @media (min-width: 640px) and (max-width: 959px) {
      .vet-grid--center > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 0.625rem);
      }
    }
    .clinic-map iframe { display: block; width: 100%; height: 100%; min-height: inherit; border: 0; }
    .vet-card .vet-more { margin-top: 0.6em; }
    .loc-card .loc-details-btn { align-self: flex-start; margin-top: 0.35rem; min-height: 44px; padding: 0.55rem 1.15rem; }

    /* Footer clinic rows with a clinic-page link (v0927b) */
    .footer-col .footer-phone-row {
      margin: 0;
      padding: 0.3rem 0;
      font-size: 0.9rem;
      font-weight: 500;
      color: #C8C2B8;
    }
    .footer-col .footer-phone-row a {
      display: inline;
      padding: 0.3rem 0;
      font-weight: 500;
    }
    .footer-col .footer-clinic-link {
      text-decoration: underline;
      text-decoration-color: rgba(200, 194, 184, 0.55);
      text-underline-offset: 3px;
    }
    .footer-col .footer-clinic-link:hover { text-decoration-color: #fff; }
    .loc-card .loc-details-link { align-self: flex-start; margin-top: 0.15rem; padding: 0.35rem 0; }

    /* Careers page + contact pointer (v0927b) */
    .careers-lead { max-width: 46rem; }
    .clinic-panel .careers-panel-title { font-size: 1.25rem; margin-bottom: 0.85rem; }
    .careers-clinics { display: grid; gap: 0.25rem; }
    .careers-clinics a {
      display: flex;
      align-items: center;
      min-height: 44px;
      padding: 0.35rem 0;
      border-bottom: 1px solid var(--border);
      color: var(--brand);
      font-weight: 600;
      text-decoration: none;
    }
    .careers-clinics li:last-child a { border-bottom: 0; }
    .careers-clinics a:hover { color: var(--brand-hover); text-decoration: underline; }
    .careers-pointer { padding: 2.25rem 0; }
    .careers-pointer-text { margin: 0; text-align: center; color: var(--ink); font-size: 1.0625rem; }
    .careers-pointer-text a { font-weight: 600; }
    .careers-grid { align-items: start; }
    .clinic-info-grid--start { align-items: start; }
    .clinic-hero h1 { text-wrap: balance; }

    /* Perf/UX 1.0.7: per-clinic "Call to book" block on /pricing/ (tap-to-call, counted by the phone_call event). */
    .clinic-call {
      margin: 0 0 2rem;
      padding: 1.25rem;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }
    .clinic-call-title { font-size: 1.2rem; margin: 0 0 0.25rem; }
    .clinic-call-note { margin: 0 0 1rem; color: var(--muted); font-size: 0.95rem; }
    .clinic-call-groups { display: grid; gap: 1rem; }
    .clinic-call-state {
      margin: 0 0 0.5rem;
      font-family: var(--font-body);
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .clinic-call-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.6rem;
    }
    .clinic-call-list li { margin: 0; display: flex; }
    .clinic-call-btn {
      width: 100%;
      min-height: 60px;
      padding: 0.55rem 0.9rem;
      border-radius: 12px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      gap: 0.1rem;
      text-align: left;
      line-height: 1.25;
      white-space: normal;
      background: var(--surface);
    }
    .clinic-call-name { font-weight: 700; }
    .clinic-call-num { font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
    @media (min-width: 900px) {
      .clinic-call { padding: 1.5rem 1.75rem; }
      .clinic-call-groups { grid-template-columns: 3fr 2fr; gap: 1.25rem; }
      .clinic-call-group--az .clinic-call-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .clinic-call-group--pa .clinic-call-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
