/* promis.clinic — styled to match promis.co.uk
   Fonts: Cormorant Garamond (headings) + Inter (body), loaded from Google Fonts.
   Colours are the main site's tokens, converted from oklch to hex. */

:root {
  --primary: #691213;        /* oklch(34% .12 26) */
  --primary-deep: #4e0d0e;
  --footer: #5d1d1e;         /* oklch(.3 .1 25) */
  --hero-base: #3a3532;      /* oklch(.24 .01 35) */
  --ink: #171717;            /* oklch(14.5% 0 0) */
  --muted: #6b6461;          /* oklch(48% .01 35) */
  --secondary: #f7f4f3;      /* oklch(96% .01 35) */
  --line: #e6e0dd;           /* oklch(89% .008 35) */
  --white: #fff;
  --radius: 0.625rem;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.wrap {
  width: min(100% - 3rem, 80rem);
  margin-inline: auto;
}

.ico {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.5rem 0.9rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 0.375rem;
}
.skip:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--primary-deep); }

.btn-light {
  background: var(--white);
  color: var(--primary);
  padding: 0.9rem 2rem;
  box-shadow: var(--shadow-lg);
}
.btn-light:hover { background: rgb(255 255 255 / 0.9); }

.btn-ghost {
  color: var(--white);
  border-color: rgb(255 255 255 / 0.5);
  padding: 0.9rem 2rem;
}
.btn-ghost:hover { background: rgb(255 255 255 / 0.1); }

/* ---------- top bar + masthead ---------- */

.topbar {
  background: var(--secondary);
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}

.topbar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: 0.4rem 0;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}
.topbar a:hover { color: var(--primary); }
.topbar strong { font-weight: 500; }
.topbar .ico { width: 0.8rem; height: 0.8rem; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img { height: 2.25rem; width: auto; }
.brand span {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.menu {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.menu a:hover { background: var(--secondary); color: var(--primary); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  overflow: hidden;
  background-color: var(--hero-base);
  background-image:
    linear-gradient(180deg, rgb(38 34 32 / 0.22), rgb(38 34 32 / 0.36)),
    url("/img/hero-hay-farm.webp");
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(180deg, transparent, rgb(26 23 22 / 0.28));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  padding: 5rem 1.5rem;
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.45);
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.8);
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: 1.1;
}

.lede {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: rgb(255 255 255 / 0.9);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* ---------- trust strip ---------- */

.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--muted);
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-list .ico { color: var(--primary); }

/* ---------- clinics ---------- */

.clinics { padding: 4rem 0; }

.section-head {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
}

.section-head p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.clinic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.clinic {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow 0.2s;
}
.clinic:hover { box-shadow: var(--shadow-lg); }

.clinic-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--hero-base);
}

.clinic-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.clinic:hover .clinic-photo img { transform: scale(1.05); }

.clinic-photo figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgb(0 0 0 / 0.4);
  color: var(--white);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.clinic-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.clinic-body h3 { font-size: 1.5rem; }
.clinic:hover h3 { color: var(--primary); }

.clinic-role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.clinic-body > p:not(.clinic-role) {
  font-size: 0.875rem;
  color: var(--muted);
}

.clinic-body address {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--muted);
}

.clinic-phone {
  align-self: flex-start;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.clinic-phone:hover { text-decoration: underline; text-underline-offset: 4px; }

.clinics-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}
.clinics-note a {
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  text-underline-offset: 4px;
}
.clinics-note a:hover { text-decoration: underline; }

/* ---------- call to action band ---------- */

.cta {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-inner { max-width: 42rem; }

.cta h2 { font-size: clamp(1.875rem, 4vw, 2.25rem); }

.cta p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: rgb(255 255 255 / 0.8);
}

.cta .btn-light { box-shadow: var(--shadow-sm); }
.cta .btn-ghost { border-color: rgb(255 255 255 / 0.4); }

/* ---------- footer ---------- */

.footer {
  background: var(--footer);
  color: rgb(255 255 255 / 0.7);
  font-size: 0.875rem;
}

.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--white); }

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3rem 0 2.5rem;
}

.brand-light { color: var(--white); }
.brand-light img { height: 2.5rem; }

.footer-brand p { margin-top: 0.75rem; color: rgb(255 255 255 / 0.6); }

.footer-col h3 {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.8);
}

.footer-col p + p { margin-top: 0.9rem; }
.footer-col strong { color: rgb(255 255 255 / 0.85); font-weight: 600; }

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.8rem;
  color: rgb(255 255 255 / 0.55);
}

.footer-base p:last-child { display: flex; gap: 1.25rem; }

/* ---------- responsive ---------- */

@media (max-width: 60rem) {
  .menu { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 40rem) {
  .topbar-inner { justify-content: center; gap: 1rem; }
  .hero { min-height: 60vh; }
  .hero-inner { padding: 4rem 1rem; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-base { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .clinic-photo img, .btn, .clinic { transition: none; }
  .clinic:hover .clinic-photo img { transform: none; }
}
