/* Paw Retreat shared stylesheet. Colours come from the --color-* tokens in :root. Design rationale lives in CLAUDE.md and git history. */

/* Self-hosted fonts: Google's latin-subset woff2 files in /assets/fonts/, one per weight. */
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/open-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/open-sans-600.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/open-sans-700.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/open-sans-800.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/oswald-500.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/oswald-600.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/oswald-700.woff2') format('woff2'); }

:root {
  --color-primary: #0F3C63;
  --color-primary-dark: #0A2A46;
  --color-sky: #9FCCEC;
  --color-cta: #F87060;
  --color-cta-dark: #D9543F;
  --color-accent: #0F3C63;
  --color-accent-dark: #0A2A46;
  --color-link: #0F3C63;
  --icon-external: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4h6v2H8v10h10v-4h2v6H6V4z'/%3E%3Cpath d='M14 3h7v7h-2V6.4l-7.3 7.3-1.4-1.4L17.6 5H14V3z'/%3E%3C/svg%3E");
  --color-gray-light: #F6F6F6;
  --color-blush: #FFF6F8;
  --color-off-white: #FFFFFD;
  --color-sage: #F5F7F3;
  --color-white-smoke: #F6F6F4;
  --color-linen: #FBF7EF;
  --color-sky-tint: #EEF6FC;
  --color-white: #FFFFFF;

  --color-ink: #262E36;
  --color-ink-muted: #5B6B78;
  --color-line: #E1E6EC;
  --color-text-light: #D9E8F5;

  --font-heading: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1140px;
  --container-narrow: 780px;
  --radius: 8px;
  --section-pad: clamp(56px, 8vw, 96px);
}

/* ---------- Reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--color-link); text-decoration: none; }
a:hover { color: var(--color-primary-dark); text-decoration: underline; }

ul { padding-left: 1.2em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--color-cta);
  color: var(--color-white);
}
.btn-primary:hover { background: var(--color-cta-dark); color: var(--color-white); }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: var(--color-white); }

/* ---------- .link-more ---------- */
.link-more {
  display: inline-block;
  color: var(--color-link);
  font-weight: 700;
  text-decoration: none;
}
.link-more::after {
  content: '';
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.5em;
  border-right: 2.5px solid currentColor;
  border-top: 2.5px solid currentColor;
  transform: rotate(45deg) translateY(-0.06em);
  transition: transform 0.15s ease;
}
.link-more:hover,
.link-more:focus-visible { text-decoration: none; }
.link-more:hover::after { transform: rotate(45deg) translate(0.14em, -0.06em); }

.btn-portal,
.btn-solid {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-portal:hover,
.btn-solid:hover { background: var(--color-accent-dark); color: var(--color-white); }
/* Off-site arrow keyed on the portal URL. If the portal moves off gingrapp.com, update this selector. */
a[href*="gingrapp.com"]::after {
  content: '';
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin-left: 0.5em;
  vertical-align: -0.02em;
  background-color: currentColor;
  -webkit-mask: var(--icon-external) center / contain no-repeat;
  mask: var(--icon-external) center / contain no-repeat;
}
.page-hero.has-media .btn-portal,
.page-hero.has-media .btn-solid,
.section-green .btn-portal,
.section-green .btn-solid {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.page-hero.has-media .btn-portal:hover,
.page-hero.has-media .btn-solid:hover,
.section-green .btn-portal:hover,
.section-green .btn-solid:hover {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding-top: 14px;
  padding-bottom: 14px;
  max-width: 1280px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-logo {
  height: 62px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav { display: flex; align-items: center; gap: 32px; }

.site-nav a:not(.btn) {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
}
.site-nav a:not(.btn):hover { color: var(--color-accent); }
.site-nav a:not(.btn)[aria-current="page"] { color: var(--color-accent); font-weight: 700; }

.site-nav .btn { padding: 10px 20px; white-space: nowrap; }

.nav-item { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
}
.nav-caret {
  background: none;
  border: 0;
  padding: 4px;
  display: flex;
  cursor: pointer;
  color: var(--color-primary);
}
.nav-caret svg { width: 14px; height: 14px; transition: transform 0.18s ease; }
.nav-dropdown {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin-top: 8px;
  padding: 8px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(15, 60, 99, 0.14);
  z-index: 60;
}
.nav-dropdown a {
  padding: 10px 12px;
  border-radius: 6px;
  white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--color-sky-tint); }
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.is-open .nav-dropdown { display: flex; }
.nav-item:hover .nav-caret svg,
.nav-item:focus-within .nav-caret svg,
.nav-item.is-open .nav-caret svg { transform: rotate(180deg); }

@media (max-width: 1280px) {
  .brand-logo { height: 50px; }
}

.site-nav a:not(.btn),
.site-nav .nav-item { white-space: nowrap; }

@media (max-width: 1240px) {
  .site-nav { gap: 14px; }
  .site-nav a:not(.btn) { font-size: 0.92rem; }
}
@media (max-width: 1080px) {
  .site-nav { gap: 12px; }
  .site-nav a:not(.btn) { font-size: 0.88rem; }
}

@media (max-width: 1023px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-line);
    padding: 8px 24px 20px;
    /* --header-h is set by js/main.js on load and resize. */
    max-height: calc(100vh - var(--header-h, 72px));
    max-height: calc(100dvh - var(--header-h, 72px));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; width: 100%; }
  .site-nav .btn { margin-top: 8px; text-align: center; width: 100%; }

  .nav-item {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-line);
  }
  .nav-item a { border-bottom: 0; }
  .nav-item > a { width: auto; flex: 1 1 auto; }
  .nav-caret { padding: 12px 4px; flex: none; }
  .nav-item:hover .nav-dropdown,
  .nav-item:focus-within .nav-dropdown { display: none; }
  .nav-item.is-open .nav-dropdown { display: flex; }
  /* Must come after the hover reset above to win on equal specificity. */
  .nav-item:hover .nav-caret svg,
  .nav-item:focus-within .nav-caret svg { transform: none; }
  .nav-item.is-open .nav-caret svg { transform: rotate(180deg); }
  .nav-dropdown {
    position: static;
    width: 100%;
    margin: 0 0 10px 12px;
    padding: 0;
    border: 0;
    border-left: 2px solid var(--color-line);
    box-shadow: none;
    border-radius: 0;
  }
  .nav-dropdown a { width: auto; padding: 10px 14px; }
}

/* ---------- Sections ---------- */

.section { padding: var(--section-pad) 0; }

section[id] { scroll-margin-top: 124px; }
@media (max-width: 1280px) { section[id] { scroll-margin-top: 104px; } }
.section-white-smoke { background: var(--color-white-smoke); }
.section-sky-tint { background: var(--color-sky-tint); }
.section-green { background: var(--color-primary); }
.section-green h1, .section-green h2, .section-green h3 { color: var(--color-white); }
.section-green p { color: var(--color-text-light); }
.section-green .btn-outline { color: var(--color-white); border-color: var(--color-white); }
.section-green .btn-outline:hover { background: var(--color-white); color: var(--color-primary); }

.section-intro {
  max-width: 640px;
  margin-bottom: 40px;
}
.section-intro.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-intro.is-full { max-width: none; }

.section-measure { max-width: 640px; }

.eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.section-green .eyebrow { color: var(--color-sky-tint); }

/* ---------- Hero ---------- */
.hero .container { max-width: 860px; text-align: center; }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--color-ink-muted);
  max-width: 620px;
  margin: 0 auto 1.8em;
}
.hero-ctas { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }

.page-hero {
  background: var(--color-sky-tint);
  padding: clamp(48px, 7vw, 80px) 0;
}
.page-hero .container { max-width: 860px; }
.page-hero.is-flush .container { max-width: var(--container); }
.page-hero.is-flush h1 { max-width: 860px; }
.page-hero p.lead { font-size: 1.1rem; color: var(--color-ink-muted); margin-bottom: 0; max-width: 640px; }
.page-hero .hero-ctas { margin-top: 26px; }

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:has(.card-link):hover,
.card:has(.link-more):hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 12px 26px rgba(15, 60, 99, 0.10);
}
.card:has(.card-link):focus-within,
.card:has(.link-more):focus-within { border-color: var(--color-primary); }
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:has(.card-link):hover,
  .card:has(.link-more):hover { transform: none; }
}

.card:has(.card-link) { position: relative; }
.card .card-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .card-link { font-weight: 600; }

.section-sky-tint .card { border-color: #D3DEEA; }
.section-blush .card { border-color: #E4D5D8; }

/* ---------- Detail lists (hours, NAP) ---------- */

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-line);
}
.detail-list li:last-child { border-bottom: 0; }
.detail-list .label { font-weight: 600; color: var(--color-primary); }

.legal-note {
  font-size: 0.85rem;
  color: var(--color-ink-muted);
  text-align: center;
  padding-top: 20px;
  margin-top: 40px;
}

/* ---------- CTA band ---------- */

.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 0.4em; }
.cta-band p { max-width: 560px; margin: 0 auto 1.6em; }
.cta-band .hero-ctas { display: inline-flex; justify-content: center; }
.cta-band.has-media {
  position: relative;
  background-color: var(--color-primary);
  background-image:
    linear-gradient(rgba(246, 246, 244, 0.55), rgba(246, 246, 244, 0.55)),
    var(--cta-image);
  background-size: cover;
  background-position: center;
  padding: clamp(36px, 4vw, 56px) 0;
}
.cta-band.has-media .container { display: flex; justify-content: center; }
.cta-band.has-media .cta-content {
  background: var(--color-primary);
  padding: clamp(28px, 4vw, 40px) clamp(28px, 4vw, 44px) clamp(18px, 2vw, 24px);
  border-radius: var(--radius);
  max-width: 700px;
}
@media (max-width: 700px) {
  .cta-band.has-media .cta-content { max-width: 100%; }
}
.cta-band.has-media.has-grey-veil {
  background-image:
    linear-gradient(rgba(80, 86, 94, 0.29), rgba(80, 86, 94, 0.29)),
    var(--cta-image);
  padding: clamp(56px, 6vw, 88px) 0;
}

.hours-card .detail-list li.is-today {
  background: var(--color-sky-tint);
  border-radius: 6px;
  margin: 0 -10px;
  padding: 10px;
  border-bottom-color: transparent;
}
.hours-card .detail-list li.is-today .label { color: var(--color-primary); }
.hours-today-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--color-cta);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 1px;
}

/* ---------- Hosted (iframe) forms ---------- */

.form-embed {
  display: block;
  width: 100%;
  height: var(--embed-h, 500px);
  border: 0;
  /* Overrides form_embed.js, which parks the form off-screen until a handshake some networks block. Do not add display here: the <noscript> fallback hides the embed with it. */
  position: static !important;
  left: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}
@media (max-width: 692px) {
  .form-embed { height: var(--embed-h-narrow, var(--embed-h, 500px)); }
}

/* ---------- Legal documents ---------- */
.legal-doc h2 {
  font-size: 1.3rem;
  margin-top: 42px;
}
.legal-doc > h2:first-child { margin-top: 0; }
.legal-doc h3 {
  font-size: 1.05rem;
  margin-top: 24px;
}
.legal-doc ul {
  margin: 0 0 1.1em;
  padding-left: 22px;
}
.legal-doc li { margin-bottom: 6px; }
.legal-doc li > ul { margin-top: 6px; }
.legal-updated {
  color: var(--color-ink-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.legal-suggestions {
  list-style-type: square;
  margin: 0 0 1.1em;
  padding-left: 22px;
}
.legal-suggestions li { margin-bottom: 8px; }
.legal-suggestions li::marker { color: var(--color-cta); }

.legal-sub {
  padding-left: clamp(16px, 3vw, 28px);
  margin-bottom: 10px;
}
.legal-sub > h3:first-child { margin-top: 16px; }

.legal-callout {
  background: var(--color-gray-light);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
  margin-top: 20px;
}
.legal-callout > h3:first-child { margin-top: 0; }
.legal-callout p:last-child { margin-bottom: 0; }

/* ---------- Notice callout ---------- */
.notice {
  border: 2px solid var(--color-line);
  border-left: 6px solid var(--color-cta);
  border-radius: var(--radius);
  background: var(--color-white);
  padding: 20px 22px;
}
.notice h3 { margin: 0 0 8px; font-size: 1.1rem; }
.notice p:last-child { margin-bottom: 0; }
.notice .btn { margin-top: 14px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-primary);
  color: var(--color-text-light);
  padding: 56px 0 32px;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer a { color: var(--color-text-light); }
.site-footer a:hover { color: var(--color-white); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand {
  display: inline-block;
  width: 45%;
  margin-bottom: 24px;
  transition: opacity 0.2s ease;
}
.footer-brand:hover { opacity: 0.78; }
.footer-brand-logo {
  width: 100%;
  height: auto;
  display: block;
}

.footer-contact {
  font-style: normal;
  margin-top: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-white);
}
.footer-contact p {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin: 0 0 14px;
}
.footer-contact p:last-child { margin-bottom: 0; }
.footer-contact p > * { min-width: 0; }

/* The pin icon's inner hole relies on nonzero winding: sub-path order matters if the path is edited. */
.footer-contact p::before {
  content: "";
  width: 17px;
  height: 17px;
  margin-top: 3px;
  background-color: var(--color-cta);
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
}
.footer-contact-address { --icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%202C8.13%202%205%205.13%205%209c0%205.25%207%2013%207%2013s7-7.75%207-13c0-3.87-3.13-7-7-7zm0%209.5c-1.38%200-2.5-1.12-2.5-2.5s1.12-2.5%202.5-2.5%202.5%201.12%202.5%202.5-1.12%202.5-2.5%202.5z'/%3E%3C/svg%3E"); }
.footer-contact-phone   { --icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M6.62%2010.79c1.44%202.83%203.76%205.14%206.59%206.59l2.2-2.2c.27-.27.67-.36%201.02-.24%201.12.37%202.33.57%203.57.57.55%200%201%20.45%201%201V20c0%20.55-.45%201-1%201-9.39%200-17-7.61-17-17%200-.55.45-1%201-1h3.5c.55%200%201%20.45%201%201%200%201.25.2%202.45.57%203.57.11.35.03.74-.25%201.02l-2.2%202.2z'/%3E%3C/svg%3E"); }
.footer-contact-email   { --icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M20%204H4c-1.1%200-2%20.9-2%202v12c0%201.1.9%202%202%202h16c1.1%200%202-.9%202-2V6c0-1.1-.9-2-2-2zm0%204l-8%205-8-5V6l8%205%208-5v2z'/%3E%3C/svg%3E"); }

.footer-contact-phone a { font-weight: 700; }
.footer-contact a {
  color: var(--color-white);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }

.footer-bottom {
  border-top: 1px solid rgba(233, 240, 247, 0.2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(233, 240, 247, 0.75);
}
.footer-bottom a { color: rgba(233, 240, 247, 0.75); }

/* ---------- Homepage ---------- */

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-white);
}
.hero-trust .paw-icon { flex: none; width: 19px; height: 19px; }

.service-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card .card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-sky-tint); }
.service-card .card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.service-card:hover .card-media img { transform: scale(1.045); }
.service-card .card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin: 0 0 8px; }
.service-card p { margin-bottom: 14px; }
.service-card .link-more { margin-top: auto; }

.service-card { position: relative; }
.service-card .link-more::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}
.service-card:focus-within { border-color: var(--color-primary); }

.service-card-h { flex-direction: row; min-height: 200px; }
.service-card-h .card-media { aspect-ratio: unset; flex: 0 0 42%; }
.service-card-h .card-body { padding: 22px 24px; justify-content: center; }
@media (max-width: 1126px) {
  .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .service-card-h { flex-direction: column; min-height: 0; }
  .service-card-h .card-media { flex: none; aspect-ratio: 4 / 3; }
}

.page-hero.has-media {
  position: relative;
  color: var(--color-white);
  background-color: var(--color-primary);
  --hero-veil: linear-gradient(115deg, rgba(26, 40, 62, 0.90) 0%, rgba(26, 40, 62, 0.58) 62%, rgba(26, 40, 62, 0.42) 100%);
  background-image: var(--hero-veil), var(--hero-image);
  background-size: cover;
  background-position: center;
  padding: clamp(76px, 10.5vw, 140px) 0;
}
.page-hero.has-media .container { max-width: var(--container); width: 100%; }
.page-hero-tall {
  min-height: min(70vh, 660px);
  display: flex;
  align-items: center;
}

.page-hero.has-media.has-light-veil {
  --hero-veil: linear-gradient(115deg, rgba(26, 40, 62, 0.90) 0%, rgba(26, 40, 62, 0.54) 62%, rgba(26, 40, 62, 0.20) 100%);
}
.page-hero.has-media h1 { color: var(--color-white); max-width: 680px; }
.page-hero.has-media .lead { color: var(--color-text-light); margin-bottom: 0; max-width: 32em; }
.page-hero.has-media p { color: var(--color-text-light); }
.page-hero.has-media a:not(.btn) { color: var(--color-white); }
.page-hero.has-media .eyebrow { color: var(--color-sky-tint); }
.page-hero.has-media .hero-ctas { margin-top: 26px; justify-content: flex-start; }
.page-hero.has-media .hero-trust { margin-top: 22px; }
.page-hero.has-media .btn-outline {
  color: var(--color-white);
  border-color: var(--color-white);
}
.page-hero.has-media .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.page-hero.has-media.home-page-hero {
  display: flex;
  align-items: center;
  min-height: min(72vh, 600px);
  padding: clamp(96px, 12vw, 140px) 0;
  background-position: 100% center;
}
/* 900px must match the hero preload media queries in index.html's <head>. */
@media (max-width: 900px) {
  .page-hero.has-media.home-page-hero {
    background-image:
      var(--hero-veil),
      var(--hero-image-narrow, var(--hero-image));
    background-position: center center;
  }
}
@media (max-width: 620px) {
  .page-hero.has-media:not(.home-page-hero) {
    background-image:
      var(--hero-veil),
      var(--hero-image-narrow, var(--hero-image));
  }
}
@media (max-width: 620px) {
  .page-hero.has-media.home-page-hero { background-position: 45% center; }
}

/* ---------- Photo grid ---------- */
@media (max-width: 900px) { .photo-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .photo-grid { grid-template-columns: 1fr; } }

.gallery-masonry { columns: 3; column-gap: 18px; }
@media (max-width: 900px) { .gallery-masonry { columns: 2; } }
@media (max-width: 560px) { .gallery-masonry { columns: 1; } }

.gallery-lead {
  max-width: 46em;
  color: var(--color-ink-muted);
  margin: 0 0 32px;
}

.gallery-item {
  break-inside: avoid;
  margin: 0 0 18px;
}
.gallery-item a {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
}
.gallery-item img { width: 100%; height: auto; transition: transform 0.4s ease; }
.gallery-item a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 60, 99, 0.5), rgba(15, 60, 99, 0) 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item a::after {
  content: '+';
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-cta);
  color: var(--color-white);
  font: 700 24px/34px var(--font-body);
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item a:hover::before,
.gallery-item a:focus-visible::before { opacity: 1; }
.gallery-item a:hover::after,
.gallery-item a:focus-visible::after { opacity: 1; transform: none; }
.gallery-item a:hover img { transform: scale(1.045); }
.gallery-item a:focus-visible { outline: 3px solid var(--color-cta); outline-offset: 3px; }
.gallery-item figcaption {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

/* Lightbox: built by js/main.js via innerHTML, so these classes look unused to a grep but are not. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(10, 42, 70, 0.95);
}
.lightbox.is-open { display: flex; }
body.lightbox-open { overflow: hidden; }
.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: min(1080px, 100%);
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius);
}
.lightbox-figure figcaption {
  color: var(--color-text-light);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lightbox-btn {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--color-white);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-btn:hover { background: var(--color-cta); border-color: var(--color-cta); }
.lightbox-btn:focus-visible { outline: 3px solid var(--color-white); outline-offset: 2px; }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; margin-top: -23px; }
.lightbox-next { right: 18px; top: 50%; margin-top: -23px; }
.lightbox-count {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.85rem;
}
@media (max-width: 600px) {
  .lightbox-close { top: 10px; right: 10px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-item img,
  .gallery-item a::before,
  .gallery-item a::after { transition: none; }
  .gallery-item a:hover img { transform: none; }
}
@media (max-width: 620px) { .photo-strip { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
@media (max-width: 780px) { .team-grid { grid-template-columns: 1fr; } }
.team-card .role {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

/* ---------- Homepage sections ---------- */

.split-panel {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-radius: var(--radius);
  overflow: hidden;
}
.split-panel-media { position: relative; min-height: 300px; }
.split-panel-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.split-panel-body {
  padding: clamp(30px, 3.6vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-panel-body > :last-child { margin-bottom: 0; }
.split-panel-full { border-radius: 0; }
.split-panel-full .split-panel-body {
  padding-top: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(36px, 5vw, 72px);
  /* Deliberately 0: padding here shifts the copy block off its alignment. */
  padding-left: 0;
  padding-right: max(24px, calc(50vw - var(--container) / 2 + 24px));
  align-items: flex-end;
  text-align: left;
}
.split-panel-full .split-panel-body > * {
  width: 100%;
  max-width: min(740px, calc(100% - 40px));
}

@media (max-width: 860px) {
  .split-panel { grid-template-columns: 1fr; }
  .split-panel-full .split-panel-body { padding-left: 24px; padding-right: 24px; }
  .split-panel-full .split-panel-body > * { max-width: none; }
  .split-panel-media { min-height: 0; aspect-ratio: 3 / 2; }
}

.intro-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.intro-split img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
}
.section-green .intro-split img {
  border: none;
}
/* Selector must carry .page-hero.has-media to beat its (0,2,0) background-position. */
.page-hero.has-media.hero-salado { background-position: center 45%; }
@media (min-width: 1500px) {
  .page-hero.has-media.hero-salado { background-position: center 33%; }
}
@media (min-width: 2200px) {
  .page-hero.has-media.hero-salado { background-position: center 26%; }
}

.focal-top { object-position: center top; }

/* ---------- Where We Serve ---------- */
.serve-intro { max-width: 700px; margin: 0 auto; text-align: center; }
.serve-note {
  max-width: 640px;
  margin: 44px auto 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--color-ink-muted);
}

/* ---------- Rebrand notice ---------- */
.rebrand-note {
  background: var(--color-primary);
  color: var(--color-text-light);
  padding: clamp(20px, 3vw, 30px) 0;
}
.rebrand-note .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 52px);
  flex-wrap: wrap;
  text-align: center;
}
.rebrand-note-old { height: 80px; width: auto; flex: none; display: block; }
.rebrand-note-new { height: 80px; width: auto; flex: none; display: block; }
.rebrand-note-text { flex: 0 1 auto; }
.rebrand-note-title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  line-height: 1.25;
  color: var(--color-white);
  margin: 0 0 6px;
}
.rebrand-note-sub {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .rebrand-note .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "old new"
      "text text";
    align-items: center;
    gap: 14px 20px;
  }
  .rebrand-note-old  { grid-area: old;  height: 64px; justify-self: end; }
  .rebrand-note-new  { grid-area: new;  height: 64px; justify-self: start; }
  .rebrand-note-text { grid-area: text; }
  .rebrand-note-sub  { font-size: 0.9rem; }
}

/* ---------- Story feature ---------- */
.story-feature { position: relative; overflow: hidden; }
.story-feature-head {
  max-width: 780px;
  margin: 0 auto clamp(32px, 5vw, 52px);
  text-align: center;
}
.story-feature-head h2 { margin-bottom: 0; }
.story-feature-body {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
}
.story-feature-main { margin: 0; }
.story-feature-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.story-feature-text > p:last-child { margin-bottom: 0; }

.story-feature-accent {
  display: none;
  position: absolute;
  width: clamp(130px, 11vw, 170px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
}
@media (min-width: 1220px) {
  .story-feature-accent { display: block; }
  .story-feature-accent-left  { left: 20px;  top: 36%;    transform: rotate(-5deg); }
  .story-feature-accent-right { right: 20px; bottom: 14%; transform: rotate(4deg); }
}
@media (max-width: 780px) {
  .story-feature-body { grid-template-columns: 1fr; max-width: 520px; }
  .story-feature-main img { aspect-ratio: 3 / 2; }
}
@media (max-width: 860px) {
  .intro-split { grid-template-columns: 1fr; }
  .intro-split .intro-split-media { order: -1; }
  .intro-split img { max-height: 300px; }
}

.profile-list { display: grid; gap: 20px; }
.profile-card {
  display: grid;
  grid-template-columns: 156px 1fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
}
.profile-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}
.profile-card h3 { margin: 0 0 4px; }
.profile-card .profile-role { margin-bottom: 14px; }
.profile-card p:last-child { margin-bottom: 0; }
.profile-list-circle .profile-card img { border-radius: 50%; }
@media (max-width: 700px) {
  .profile-card { grid-template-columns: 1fr; }
  .profile-card img { max-width: 140px; }
}

.stat-card {
  background: var(--color-primary);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(3.4rem, 8vw, 5rem);
  line-height: 1;
  color: var(--color-white);
  margin: 0 0 10px;
}
.stat-number-text { font-size: clamp(2rem, 4.5vw, 2.9rem); }
.stat-label {
  color: var(--color-text-light);
  max-width: 18em;
  margin: 0 auto;
}
.stat-roles {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.stat-roles li {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.prompt-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.prompt-list li {
  padding-left: 16px;
  border-left: 3px solid var(--color-cta);
  font-weight: 600;
  color: var(--color-primary);
}

.facility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
}
.facility-grid li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  list-style: none;
}
.facility-grid .paw-icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}
.facility-grid p { margin: 0; }
.facility-note {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-top: 40px;
}
@media (max-width: 620px) { .facility-grid { grid-template-columns: 1fr; } }

.location-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.location-chips li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  background: transparent;
  border: 2.5px solid var(--color-primary);
  border-radius: 999px;
  padding: 6px 24px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-stars { color: var(--color-primary); font-size: 0.95rem; letter-spacing: 2px; }
.review-quote { color: var(--color-ink); margin: 0; }
.review-byline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--color-ink-muted);
}
.review-byline strong { color: var(--color-primary); }
/* .review-card's display:flex beats [hidden], so paged-out cards need this. */
.review-card[hidden] { display: none; }

/* ---------- Review carousel ---------- */
.review-carousel { position: relative; }
.review-track {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* No horizontal padding: it offsets the scroll-snap rest position and breaks the prev arrow's disabled state. */
  padding-bottom: 12px;
  scrollbar-width: none;
  transition: height 0.25s ease;
}
@media (prefers-reduced-motion: reduce) {
  .review-track { transition: none; scroll-behavior: auto; }
}
.review-track::-webkit-scrollbar { display: none; }
.review-track > .review-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
}
.review-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.review-nav:hover { background: var(--color-primary); color: var(--color-white); }
.review-nav-prev { left: -22px; }
.review-nav-next { right: -22px; }
.review-carousel:not(.is-ready) .review-nav { display: none; }

@media (max-width: 900px) {
  .review-track > .review-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 620px) {
  .review-track { gap: 16px; }
  .review-track > .review-card { flex: 0 0 86%; }
  .review-carousel.is-ready .review-nav { display: none; }
}

.review-quote {
  --review-lines: 5;
  line-height: 1.6;
  min-height: calc(var(--review-lines) * 1.6em);
}
.review-quote.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: var(--review-lines);
  line-clamp: var(--review-lines);
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 900px) {
  .review-quote { --review-lines: 4; }
}
@media (max-width: 620px) {
  .review-quote { --review-lines: 4; }
}
.review-more {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0;
  margin-top: -2px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-link);
  text-decoration: underline;
  cursor: pointer;
}
.review-more:hover { color: var(--color-cta-dark); }

.review-summary {
  margin: 26px auto 0;
  text-align: center;
  font-weight: 600;
  color: var(--color-primary);
}
.review-summary-note {
  max-width: 620px;
  margin: 6px auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-ink-muted);
}

@keyframes review-reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.review-card.is-revealing { animation: review-reveal 0.32s ease both; }
@media (prefers-reduced-motion: reduce) {
  .review-card.is-revealing { animation: none; }
}

/* ---------- .review-invite ---------- */
.review-invite {
  max-width: 44em;
  margin: 0 auto;
  text-align: center;
}
.review-invite h2 { margin: 0 0 14px; }
.review-invite p { margin: 0 0 26px; }
.review-invite p:last-child { margin: 0; }

/* ---------- .paw-trail ---------- */
.paw-trail {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(96px, 11vw, 132px);
}
.paw-trail > * { position: relative; }
.paw-trail::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 90px;
  background: url('/assets/img/salado/pawprint-trail.png') repeat-x left bottom;
  background-size: 280px 90px;
  opacity: 0.15;
  pointer-events: none;
}
@media (max-width: 620px) {
  .paw-trail::after { background-size: 190px 62px; height: 62px; }
  .paw-trail { padding-bottom: clamp(74px, 16vw, 96px); }
}

.rating-asof {
  margin: 6px 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-ink-muted);
}

.room-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.room-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 28px);
}
.room-row h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.room-row h3::before {
  content: "";
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  background-color: var(--color-primary);
  -webkit-mask: url('/assets/img/salado/doghouse-icon.svg') center / contain no-repeat;
          mask: url('/assets/img/salado/doghouse-icon.svg') center / contain no-repeat;
}
.room-row p { margin: 0; }
@media (max-width: 700px) {
  .room-row { grid-template-columns: 1fr; gap: 8px; }
}

.welcome-center {
  text-align: center;
  --welcome-measure: 52em;
}
.welcome-mark {
  width: 190px;
  max-width: 55%;
  height: auto;
  margin: 0 auto clamp(20px, 3vw, 30px);
}
.welcome-center p {
  max-width: var(--welcome-measure);
  margin-left: auto;
  margin-right: auto;
}

.snapshot-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 18px);
  max-width: var(--welcome-measure);
  margin: clamp(34px, 4.5vw, 48px) auto 0;
}
.snapshot-row a {
  display: block;
  text-decoration: none;
}
.snapshot-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--color-line);
  transition: border-color 0.2s ease;
}
.snapshot-row a:hover img,
.snapshot-row a:focus-visible img { border-color: var(--color-primary); }
.snapshot-row a:focus-visible { outline: 3px solid var(--color-cta); outline-offset: 3px; }
@media (max-width: 560px) {
  .snapshot-row { grid-template-columns: 1fr 1fr; gap: 14px; }
}

.step-flow {
  list-style: none;
  padding: 0;
  margin: 0;
}
.step-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: clamp(18px, 3vw, 32px);
  padding-bottom: 36px;
}
.step-flow li:last-child { padding-bottom: 0; }

.step-flow li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 64px;
  bottom: 8px;
  width: 2px;
  background: var(--color-line);
}
.step-flow .step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.step-flow h3 { margin: 12px 0 8px; }
.step-flow p:last-child { margin-bottom: 0; }
.step-flow .btn { margin-top: 6px; }
@media (max-width: 560px) {
  .step-flow li { grid-template-columns: 42px 1fr; gap: 16px; }
  .step-flow .step-number { width: 42px; height: 42px; font-size: 1.05rem; }
  .step-flow li:not(:last-child)::before { left: 20px; top: 50px; }
  .step-flow h3 { margin-top: 6px; }
}

/* Must stay after the base .step-flow rules: every override here ties on specificity, so source order decides. */
@media (min-width: 861px) {
  .step-flow-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 40px);
  }
  .step-flow-3 li { grid-template-columns: 1fr; gap: 16px; padding-bottom: 0; }
  .step-flow-3 li:not(:last-child)::before { content: none; }
}

/* ---------- Homepage Getting Started ---------- */
.start-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
}
.start-flow .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}
.card.start-step {
  display: flex;
  flex-direction: column;
}
.card.start-step .step-number { margin-bottom: 16px; }
.card.start-step h3 { margin: 0 0 10px; }
.card.start-step p { margin: 0; }
/* Must out-specify .card.start-step p (0,2,1), since .start-cta is a <p>. */
.card.start-step .start-cta { margin: auto 0 0; padding-top: 22px; }

.start-close {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  align-items: start;
}
.start-close h3 { margin: 0 0 6px; }
.start-close p { margin: 0; }

.paw-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 3.2vw, 40px) clamp(32px, 4vw, 56px);
}
/* Grid: everything after the ::before icon must be wrapped in a single <div>. */
.paw-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 18px;
  align-items: start;
}
.paw-list li::before {
  content: "";
  width: 28px;
  height: 28px;
  margin-top: 3px;
  background-color: var(--color-cta);
  -webkit-mask: url('/assets/img/salado/pawprint-filled-navy.png') center / contain no-repeat;
          mask: url('/assets/img/salado/pawprint-filled-navy.png') center / contain no-repeat;
}
.paw-list li:nth-child(even)::before { transform: rotate(3deg); }
.paw-list li:nth-child(odd)::before  { transform: rotate(-3deg); }
.paw-list h3 { margin: 0 0 6px; }
.paw-list p { margin: 0; }
@media (max-width: 700px) {
  .paw-list { grid-template-columns: 1fr; }
}

.returning-note {
  margin-top: clamp(18px, 2.2vw, 26px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 28px;
  align-items: center;
}
.returning-note h3 { margin: 0 0 6px; }
.returning-note p { margin: 0; }

@media (max-width: 700px) {
  .returning-note { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .start-flow { grid-template-columns: 1fr; }
}

.process-express {
  margin-top: 32px;
  color: var(--color-ink-muted);
  font-size: 0.95rem;
}
.process-express a { font-weight: 600; }

.step-flow-focus .step-muted h3,
.step-flow-focus .step-muted p { color: var(--color-ink-muted); }
.step-flow-focus .step-muted .step-number {
  background: transparent;
  color: var(--color-primary);
  box-shadow: inset 0 0 0 2px var(--color-line);
}

.step-aside {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--color-ink-muted);
}
.step-aside strong { color: var(--color-ink); }

.form-prereq {
  margin: 0 0 22px;
  padding-left: 14px;
  border-left: 3px solid var(--color-cta);
  font-size: 0.95rem;
}
.form-prereq a { font-weight: 600; }

.form-alt {
  margin: 24px 0 0;
  font-size: 0.95rem;
  color: var(--color-ink-muted);
}

/* Scoped on purpose. Do not move to the global a:hover: its underline is how inline links are found. */
.link-coral:hover,
.link-coral:focus-visible {
  color: var(--color-cta-dark);
  text-decoration: none;
}

.link-cta { color: var(--color-cta); }
.link-cta:hover,
.link-cta:focus-visible {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--color-white);
  border: 2px solid var(--color-line);
  border-radius: var(--radius);
  padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.3rem;
  color: var(--color-accent);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--color-cta); outline-offset: 3px; }
.faq-item p { padding-bottom: 18px; margin: 0; color: var(--color-ink-muted); }

/* ---------- Utility ---------- */

.text-center { text-align: center; }

/* ---------- Franchising page ---------- */

.section-green a:not(.btn) {
  color: var(--color-white);
  text-decoration: underline;
}

.section-green a:not(.btn):hover { color: var(--color-sky-tint); }

.contact-actions {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
}
.contact-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}
.contact-action::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  background-color: var(--color-cta);
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
}
.contact-action { text-underline-offset: 3px; }
/* Same specificity as .section-green a:not(.btn) (0,2,1), so this must stay after it. */
.section-green a.contact-action { text-decoration: none; }
.section-green a.contact-action:hover,
.section-green a.contact-action:focus-visible { text-decoration: underline; }
.contact-action-phone { --icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M6.62%2010.79c1.44%202.83%203.76%205.14%206.59%206.59l2.2-2.2c.27-.27.67-.36%201.02-.24%201.12.37%202.33.57%203.57.57.55%200%201%20.45%201%201V20c0%20.55-.45%201-1%201-9.39%200-17-7.61-17-17%200-.55.45-1%201-1h3.5c.55%200%201%20.45%201%201%200%201.25.2%202.45.57%203.57.11.35.03.74-.25%201.02l-2.2%202.2z'/%3E%3C/svg%3E"); }
.contact-action-email { --icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M20%204H4c-1.1%200-2%20.9-2%202v12c0%201.1.9%202%202%202h16c1.1%200%202-.9%202-2V6c0-1.1-.9-2-2-2zm0%204l-8%205-8-5V6l8%205%208-5v2z'/%3E%3C/svg%3E"); }

/* Scoped to .cta-band to beat .cta-band p (0,1,1). */
.cta-band .contact-actions { margin-top: 6px; }
.cta-band .cta-reassure {
  margin-top: 22px;
  margin-bottom: 0;
  font-size: 0.92rem;
}

.section-banner {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.banner-line {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}

.duo-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.duo-cols > * { padding: 0 clamp(24px, 3vw, 40px); }
.duo-cols > *:first-child { padding-left: 0; }
.duo-cols > *:last-child {
  border-left: 1px solid var(--color-line);
  padding-right: 0;
}
.duo-cols h3 { margin-top: 0; }
.duo-cols > * > p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .duo-cols { grid-template-columns: 1fr; }
  .duo-cols > * { padding: 0; }
  .duo-cols > *:last-child {
    border-left: 0;
    border-top: 1px solid var(--color-line);
    padding-top: 28px;
    margin-top: 28px;
  }
}

.split-intro {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: clamp(30px, 4.5vw, 60px);
  align-items: start;
}
.split-intro-head h2 { margin-top: 0; }
.split-intro-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--color-cta);
  margin: 18px 0 20px;
}
.split-intro-head p { margin-bottom: 8px; }
.split-intro-head p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .split-intro { grid-template-columns: 1fr; }
}

.icon-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.icon-grid li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  border-top: 1px solid var(--color-line);
  border-left: 1px solid var(--color-line);
  font-weight: 600;
  color: var(--color-primary);
}
.icon-grid li:nth-child(-n + 2) { border-top: 0; }
.icon-grid li:nth-child(odd) { border-left: 0; padding-left: 0; }
.icon-grid li::before {
  content: "";
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-primary);
  background-image: url('/assets/img/salado/pawprint-filled-white.png');
  background-size: 26px 26px;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 620px) {
  .icon-grid { grid-template-columns: 1fr; }
  .icon-grid li { border-left: 0; padding-left: 0; }
  .icon-grid li:nth-child(-n + 2) { border-top: 1px solid var(--color-line); }
  .icon-grid li:first-child { border-top: 0; }
}

.paw-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px clamp(32px, 4vw, 56px);
}
.paw-bullets li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 16px;
  align-items: start;
  font-weight: 600;
  color: var(--color-primary);
}
.paw-bullets li::before {
  content: "";
  width: 24px;
  height: 24px;
  margin-top: 2px;
  background-color: var(--color-primary);
  -webkit-mask: url('/assets/img/salado/pawprint-filled-navy.png') center / contain no-repeat;
          mask: url('/assets/img/salado/pawprint-filled-navy.png') center / contain no-repeat;
}
.paw-bullets li:nth-child(even)::before { transform: rotate(3deg); }
.paw-bullets li:nth-child(odd)::before  { transform: rotate(-3deg); }
@media (max-width: 700px) {
  .paw-bullets { grid-template-columns: 1fr; }
}

.rule-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  margin-top: 40px;
}
.rule-cols > * {
  padding: 4px 20px;
  border-left: 1px solid var(--color-cta);
}
.rule-cols > *:nth-child(5n + 1) { border-left: 0; }
.rule-cols h3 { margin: 0 0 10px; }
.rule-cols p { margin: 0; }

@media (max-width: 1023px) {
  .rule-cols { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .rule-cols > *:nth-child(5n + 1) { border-left: 1px solid var(--color-cta); }
  .rule-cols > *:nth-child(3n + 1) { border-left: 0; }
}
@media (max-width: 700px) {
  .rule-cols { grid-template-columns: 1fr; row-gap: 0; }
  .rule-cols > * {
    border-left: 0;
    border-top: 1px solid var(--color-cta);
    padding: 24px 0;
  }
  .rule-cols > *:first-child { border-top: 0; padding-top: 0; }
}

.pull-quote {
  margin: clamp(30px, 3.6vw, 42px) 0 26px;
  padding: 2px 0 2px 24px;
  border-left: 4px solid var(--color-cta);
}

.pull-quote p {
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  line-height: 1.55;
  color: var(--color-ink);
  margin: 0;
}

.pull-quote footer {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.service-card-h .card-media { position: relative; }

.service-card-h .card-media img { position: absolute; inset: 0; }

/* ---------- Flanked band ---------- */
.flank-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 760px) minmax(0, 1fr);
  align-items: stretch;
  background: var(--color-primary);
}
.flank-band-media { position: relative; min-height: 420px; }
.flank-band-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.flank-band-copy {
  padding: clamp(44px, 5vw, 72px) clamp(32px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flank-band-copy > :last-child { margin-bottom: 0; }

@media (max-width: 1000px) {
  .flank-band { grid-template-columns: 1fr 1fr; }
  .flank-band-copy { grid-column: 1 / -1; order: -1; }
  .flank-band-media { min-height: 0; aspect-ratio: 3 / 4; }
}

/* ---------- Stacked mobile heroes (620px and below) ---------- */
/* .has-media is doubled on purpose: (0,3,0) beats the narrow-image rules by source order. */
@media (max-width: 620px) {
  .page-hero.has-media.has-media {
    --hero-photo-h: min(62.5vw, 380px);
    background-image: none;
    display: block;
    min-height: 0;
    padding: calc(var(--hero-photo-h) + 32px) 0 44px;
  }
  .page-hero.has-media.has-media::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: var(--hero-photo-h);
    background-image: var(--hero-image);
    background-size: cover;
    background-position: var(--hero-photo-pos, center);
  }
  .page-hero.has-media.home-page-hero::before {
    background-image: var(--hero-image-narrow, var(--hero-image));
  }

  .rebrand-note { padding: 0 0 32px; }
  .rebrand-note .container {
    margin: 0 24px;
    padding: 20px 18px;
    background: var(--color-primary-dark);
    border: 1px solid rgba(159, 204, 236, 0.35);
    border-radius: var(--radius);
  }
}

@media (max-width: 700px) {
  .cta-band.has-media.has-media {
    --cta-photo-h: min(50vw, 300px);
    background-image: none;
    padding: var(--cta-photo-h) 0 0;
  }
  .cta-band.has-media.has-media::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: var(--cta-photo-h);
    background-image: var(--cta-image);
    background-size: cover;
    background-position: var(--cta-photo-pos, center 30%);
  }
}
