/* ========== Bradford's Physiotherapy prototype CSS ========== */

:root {
  --blue: #003a74;
  --blue-dark: #002a55;
  --taupe: #7a6c5a;
  --taupe-dark: #655849;
  --taupe-soft: #8b7d6b;
  --vet-green: #2e8245;
  --vet-green-dark: #246a38;
  --text: #3d4652;
  --muted: #5c6672;
  --bg: #f7f8fa;
  --sand: #f3efe8;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(0, 58, 116, 0.12);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --mobile-cta-h: 3.75rem;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/CormorantGaramond-600.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/CormorantGaramond-700.woff2") format("woff2");
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.55;
  background: var(--white);
  padding-bottom: calc(var(--mobile-cta-h) + env(safe-area-inset-bottom, 0px));
  scroll-padding-bottom: calc(var(--mobile-cta-h) + 0.75rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 901px) {
  body {
    padding-bottom: 0;
    scroll-padding-bottom: 0;
  }
}

.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;
}

:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}
.btn:focus-visible,
.site-nav a:focus-visible,
.mobile-cta__btn:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}
a.btn--primary:focus-visible,
.mobile-cta__btn:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 3px #003a74;
}

h1, h2, .hero__title, .brand__name, .panel__title, .milestone {
  font-family: var(--font-display);
  font-weight: 700;
}

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

a { color: var(--blue); }
a:hover { color: var(--taupe); }

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 999;
  background: var(--white);
  padding: 0.5rem 1rem;
}

/* Header */
.top-bar {
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.95rem;
}
.top-bar a { color: var(--white); text-decoration: none; }
.top-bar a:hover { text-decoration: underline; }
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}
.top-bar__phone { font-weight: 700; }

.site-header {
  border-bottom: 1px solid #e8ebef;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.15;
}
.brand img {
  width: 96px;
  height: 96px;
  background: transparent;
}
.brand__name, .brand span {
  letter-spacing: 0.01em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.1;
}

.header__inner .brand {
  margin-right: auto;
}

.nav-toggle {
  display: none;
  border: 2px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
}
.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-cta {
  background: var(--taupe);
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}
.nav-cta:hover {
  background: var(--taupe-dark);
  color: var(--white) !important;
}

/* Animals / vet strip (homepage, near Horse & Rider) */
.animals-strip {
  background: var(--vet-green);
  color: var(--white);
  padding: 1.1rem 0;
}
.animals-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  text-align: center;
}
.animals-strip__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
  padding: 0.25rem;
}
.animals-strip p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  max-width: 40rem;
}
.animals-strip a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}
.animals-strip a:hover {
  color: #e8f5ec;
}

/* Hero */
.hero {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, #002a55 0%, #003a74 55%, #004a8c 100%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 6vw, 4rem);
  top: 50%;
  transform: translateY(-50%);
  width: min(280px, 28vw);
  height: min(280px, 28vw);
  background: url("/images/logo.png") center / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
}
.hero__content {
  position: relative;
  padding: 3.75rem 0;
  max-width: min(1120px, 92vw);
  padding-right: clamp(0rem, 22vw, 16rem);
}
.badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 0.95rem;
  background: var(--taupe);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  border-radius: 999px;
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  max-width: 16ch;
}
.hero__lead {
  margin: 0 0 1.5rem;
  max-width: 44rem;
  font-size: 1.05rem;
  opacity: 0.95;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s;
}
.btn--primary {
  background: var(--taupe);
  color: var(--white);
}
.btn--primary:hover { background: var(--taupe-dark); color: var(--white); }
.btn--secondary {
  background: var(--blue);
  color: var(--white);
}
.btn--secondary:hover { background: var(--blue-dark); color: var(--white); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}
.btn--taupe {
  background: var(--taupe);
  color: var(--white);
}
.btn--taupe:hover { background: var(--taupe-dark); color: var(--white); }

/* Trust strip */
.trust {
  padding: 1.25rem 0;
  border-bottom: 1px solid #e8ebef;
}
.trust__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.trust__list li::before {
  content: "✓ ";
  color: var(--taupe);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  padding: 2.5rem 0;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card--wide {
  grid-column: 1 / -1;
}
.card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.card--wide img {
  aspect-ratio: 21 / 9;
  width: 100%;
  object-fit: cover;
}
.card__body {
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--blue);
}
.card p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  flex: 1;
}
.card a {
  font-weight: 700;
  text-decoration: none;
}
.card a::after { content: " →"; }

/* Horse & rider */
.horse-rider {
  background: var(--bg);
  padding: 2.5rem 0 1.5rem;
}
.horse-rider__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.horse-rider picture {
  display: block;
  width: 100%;
}
.horse-rider img {
  width: 100%;
  height: auto;
  max-height: 420px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center;
}
.horse-rider h2 {
  margin: 0 0 0.75rem;
  color: var(--blue);
}
.horse-rider p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}
.link-arrow {
  display: inline-block;
  margin-left: 1rem;
  font-weight: 600;
}

/* About solo */
.about-solo {
  padding: 2.5rem 0;
}
.about-solo__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}
.about-solo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-solo h2 {
  margin: 0 0 0.25rem;
  color: var(--blue);
}
.about-solo__letters {
  margin: 0 0 0.15rem;
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}
.about-solo__role {
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--text);
}
.about-solo p:last-of-type { color: var(--muted); }

/* Contact CTA */
.contact-cta {
  background: var(--blue);
  color: var(--white);
  padding: 2.75rem 0;
}
.contact-cta h2 { margin: 0 0 0.5rem; }
.contact-cta p { margin: 0 0 1.25rem; max-width: 36rem; opacity: 0.92; }
.contact-cta a { color: var(--white); }
.contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.contact-cta .btn--primary {
  background: var(--taupe);
  color: var(--white);
}
.contact-cta .btn--primary:hover {
  background: var(--taupe-dark);
  color: var(--white);
}
.contact-cta__address {
  font-style: normal;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Footer */
.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid #e8ebef;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer__creds {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer__copy a { color: var(--muted); }

/* Mobile */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .card--wide img { aspect-ratio: 16 / 9; }
  .horse-rider__grid,
  .about-solo__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow);
    z-index: 50;
  }
  .site-nav.is-open { display: flex; }
  .header__inner { position: relative; flex-wrap: wrap; }
  .brand { font-size: 1.05rem; }
  .brand img { width: 60px; height: 60px; }
  .hero { min-height: 380px; }
  .hero h1 { max-width: none; }
  .hero__bg::after {
    right: -1.5rem;
    width: 120px;
    height: 120px;
    opacity: 0.08;
    top: auto;
    bottom: 1rem;
    transform: none;
  }
  .hero__content { padding-right: 0.5rem; }
}

/* Inner pages */
.page-hero {
  position: relative;
  min-height: 220px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 42, 85, 0.9) 0%, rgba(0, 58, 116, 0.65) 100%),
    var(--page-banner) center / cover no-repeat;
}
.page-hero__content {
  position: relative;
  padding: 2.5rem 0 2rem;
}
.page-hero h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  line-height: 1.15;
}
.page-hero__lead {
  margin: 0;
  opacity: 0.92;
  max-width: 40rem;
}
.breadcrumbs {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  opacity: 0.85;
}
.breadcrumbs a { color: var(--white); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span::before { content: " / "; }

.page-body { padding: 2.5rem 0; }
.page-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}
.prose h2 {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 1.35rem;
}
.prose h3 {
  margin: 1.5rem 0 0.5rem;
  color: var(--blue);
  font-size: 1.05rem;
}
.prose p { margin: 0 0 1rem; color: var(--muted); }
.prose ul, .prose ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--muted);
}
.prose li { margin-bottom: 0.35rem; }
.prose li strong { color: var(--text); }
.prose a { font-weight: 600; }

.profile {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}
.profile img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.profile__role {
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: var(--text);
}

.sidebar { display: flex; flex-direction: column; gap: 1rem; }
.sidebar__box {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  font-size: 0.9rem;
}
.sidebar__box h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--blue);
}
.sidebar__box address {
  font-style: normal;
  line-height: 1.6;
  color: var(--muted);
}
.sidebar__box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sidebar__box li { margin-bottom: 0.35rem; }
.sidebar__box a { text-decoration: none; font-weight: 600; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.15rem;
  text-align: center;
}
.contact-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: var(--blue);
}
.contact-card p, .contact-card address {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: normal;
}

.map-embed {
  border: 0;
  border-radius: var(--radius);
  width: 100%;
  height: 420px;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}
.contact-form h3 {
  margin: 0;
  color: var(--blue);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.contact-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.6rem 0.75rem;
  border: 1px solid #d0d6de;
  border-radius: 6px;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.nav-active { color: var(--taupe) !important; }

@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ========== Mobile / tablet responsive polish ========== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-size: 16px;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.btn,
.btn--primary,
.btn--taupe,
.btn--secondary,
.btn--ghost,
.nav-cta,
.mobile-cta__btn {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  touch-action: manipulation;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.25rem;
}

.top-bar a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.contact-form input,
.contact-form textarea {
  font-size: 16px; /* prevent iOS zoom on focus */
  max-width: 100%;
}

img, picture, iframe, video {
  max-width: 100%;
}

.hero {
  min-height: min(460px, 70dvh);
}

/* Sticky Call / Email bar — phones only */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e2e6eb;
  box-shadow: 0 -6px 24px rgba(0, 42, 85, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile-cta__btn {
  flex: 1;
  background: var(--taupe);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  padding: 0.7rem 0.5rem;
}
.mobile-cta__btn:hover,
.mobile-cta__btn:focus {
  background: var(--taupe-dark);
  color: #fff !important;
}

/* Prefer focus/active over hover-only cues */
@media (hover: none) {
  a:hover { color: inherit; }
  .card:hover { transform: none; }
}

/* Tablet */
@media (max-width: 1024px) {
  .wrap { width: min(1120px, 94vw); }
  .cards { gap: 1rem; }
  .horse-rider__grid { gap: 1.25rem; }
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .card--wide img { aspect-ratio: 16 / 9; }
  .about-solo__grid,
  .horse-rider__grid,
  .page-layout,
  .profile,
  .contact-cards,
  .form-row {
    grid-template-columns: 1fr;
  }
  .header__inner {
    padding: 0.85rem 0;
  }
  .brand { font-size: 1.05rem; }
  .brand img { width: 56px; height: 56px; }
  .hero__lead { font-size: 1rem; }
  .hero__content { padding-right: 0.5rem; max-width: none; }
}

/* Phones — hamburger, sticky CTA, safe areas */
@media (max-width: 720px) {
  .mobile-cta { display: flex; }
  body {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom));
  }
  .top-bar__inner {
    padding: 0.35rem 0;
    font-size: 0.9rem;
  }
  .site-header {
    padding-top: env(safe-area-inset-top);
  }
  .hero {
    min-height: min(420px, 65dvh);
  }
  .hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .trust__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding-inline: 0.25rem;
  }
  .animals-strip__inner {
    flex-direction: column;
  }
  .contact-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-cta__actions .btn { width: 100%; }
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .map-embed { height: 320px; }
}

/* Extra-narrow phones (360) */
@media (max-width: 380px) {
  .brand span { font-size: 0.95rem; }
  .btn { padding: 0.7rem 1rem; }
  .wrap { width: 94vw; }
}


/* tablet hamburger */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow);
    z-index: 50;
  }
  .site-nav.is-open { display: flex; }
  .header__inner { position: relative; flex-wrap: wrap; }
}


/* The clinic */
.clinic {
  padding: 2.5rem 0;
}
.clinic__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.clinic img {
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 4 / 3;
  background: #e8ebef;
}
.clinic h2 {
  margin: 0 0 0.5rem;
  color: var(--blue);
}
.clinic__note {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}
.clinic ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}
.clinic li { margin-bottom: 0.4rem; }
.clinic-mini-heading {
  margin: 0.85rem 0 0.35rem;
  font-size: 0.95rem;
  color: var(--blue);
}
.clinic-mini {
  margin: 0;
  padding-left: 1.1rem;
  text-align: left;
  color: var(--muted);
  font-size: 0.88rem;
}
.clinic-mini li { margin-bottom: 0.25rem; }
@media (max-width: 768px) {
  .clinic__grid { grid-template-columns: 1fr; }
}


/* === Critique round: sand, panels, milestone, clinic text, form, map === */
.band-sand { background: var(--sand); }

.milestone {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.25rem;
  padding: 0.6rem 1.5rem;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: #fff;
  text-align: center;
}
.milestone__thanks {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.62em;
  font-weight: 600;
  opacity: 0.95;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.btn--primary {
  background: var(--taupe);
  color: #fff;
  border: 2px solid var(--taupe);
}
.btn--primary:hover { background: var(--taupe-dark); border-color: var(--taupe-dark); color: #fff; }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.85);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn--ghost:hover { background: var(--blue); color: #fff; }

.trust {
  padding: 1.5rem 0 0.5rem;
}
.trust__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 1.1rem 1.25rem;
  background: var(--sand);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text);
}
.trust__list li {
  position: relative;
  padding-left: 1.4rem;
  font-weight: 500;
}
.trust__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--taupe);
  font-weight: 700;
}
.trust__check {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
}

.panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem 0 2.5rem;
}
.panel {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  min-height: 280px;
  box-shadow: var(--shadow);
  background: var(--blue-dark);
}
.panel picture, .panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.panel__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,30,60,0.15) 20%, rgba(0,30,60,0.82) 100%);
}
.panel__label {
  position: absolute;
  left: 0; right: 0; bottom: 2.4rem;
  padding: 0 1rem;
  z-index: 1;
}
.panel__title {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.panel__blurb {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  line-height: 1.35;
  color: rgba(255,255,255,0.92);
  font-family: var(--font);
  font-weight: 400;
}
.panel__more {
  position: absolute;
  left: 1rem; bottom: 0.85rem;
  z-index: 1;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: underline;
  font-family: var(--font);
}
.panel:hover .panel__shade { background: linear-gradient(180deg, rgba(0,30,60,0.25) 10%, rgba(0,30,60,0.9) 100%); }

@media (max-width: 900px) {
  .panels { grid-template-columns: repeat(2, 1fr); }
  .panel { min-height: 240px; }
}
@media (max-width: 420px) {
  .panels { gap: 0.75rem; }
}

.clinic--text { padding: 2.5rem 0; }
.clinic__text { max-width: 720px; }
.clinic__text h2 { margin-top: 0; }
.clinic__text ul { margin: 0.75rem 0 0; padding-left: 1.2rem; }

.horse-rider { background: var(--sand); padding: 2.5rem 0; }
.horse-rider__vet { margin-top: 0.75rem; }

.footer__details { text-align: right; }
.footer__company {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 36rem;
  margin-left: auto;
  line-height: 1.45;
}
.footer__phone { margin: 0 0 0.35rem; font-size: 0.95rem; }
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .footer__details { text-align: left; }
  .footer__company { margin-left: 0; }
}

.map-static { margin: 1.5rem 0; }
.map-static img { border-radius: var(--radius); width: 100%; height: auto; box-shadow: var(--shadow); }
.map-static figcaption { margin-top: 0.5rem; font-size: 0.95rem; color: var(--muted); }

.contact-form .req { color: #a33; }
.contact-form .optional { color: var(--muted); font-weight: 400; font-size: 0.9em; }
.form-privacy { font-size: 0.9rem; color: var(--muted); }
.form-note { font-size: 0.95rem; color: var(--muted); }
.success-page { padding: 3rem 0; max-width: 40rem; }

/* Hide legacy card grid if any leftover */
.cards { display: none; }


/* Follow-up: constrain Horse & Rider portrait so it matches text column */
.horse-rider__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}
.horse-rider__grid > picture,
.horse-rider__grid > img {
  display: block;
  width: 100%;
  max-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
}
.horse-rider__grid img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 720px) {
  .horse-rider__grid {
    grid-template-columns: 1fr;
  }
  .horse-rider__grid img {
    max-height: 280px;
    aspect-ratio: 3 / 2;
  }
}
