/*
 * Albion Health Centre — NHS-inspired private GP.
 * Sturdy, utilitarian, accessible-first. Navy brand (#294B6A) with a warm
 * clay call-to-action, Open Sans, bordered cards, plain language, and big
 * yellow focus rings. Familiar to anyone who has used the NHS website,
 * without being a copy of NHS blue.
 */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

:root {
  --color-primary: #BC5E37;   /* warm clay — call-to-action */
  --color-secondary: #294B6A; /* navy — brand chrome (header / nav / bands) */
  --color-subdued: #6E827E;
  --color-link: #294B6A;
  --color-page-bg: #FFFFFF;
  --color-container-bg: #EEF4F2;
  --color-text: #1C2825;
  --nav-menu-bg: #294B6A; /* solid navbar colour for the open mobile dropdown */

  --font-heading: "Open Sans", Arial, Helvetica, sans-serif;
  --font-body: "Open Sans", Arial, Helvetica, sans-serif;

  --nh-navy: #294B6A;
  --nh-navy-bright: #35608A;
  --nh-navy-dark: #1B324A;
  --nh-cta: #BC5E37;
  --nh-cta-hover: #A24C2A;
  --nh-green: #009639;        /* "open now" / success */
  --nh-warm-yellow: #FFB81C;  /* alert accent */
  --nh-focus: #FFD23B;
  --nh-line: #D4DDDA;
  --nh-line-2: #E4ECEA;
  --nh-grey-1: #465855;
}

html, body {
  background: var(--color-page-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

a { color: var(--color-link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--nh-navy-dark); text-decoration-thickness: 2px; }
/* Accessible NHS-style yellow focus block. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 4px solid var(--nh-focus);
  outline-offset: 0;
  box-shadow: 0 4px 0 var(--color-text);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--color-text);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; font-weight: 700; }

/* Restrained same-family gradient tint on the emphasis word — keeps the
   sturdy, plain register while echoing the Helix headline treatment. */
h1 em, h2 em, h3 em {
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(110deg, var(--nh-navy), var(--nh-navy-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--nh-navy);
}

/* ── Header (sturdy navy bar) ── */
.site-header {
  --th-header-bg: var(--color-nav-bg, var(--nh-navy));
  background: var(--color-nav-bg, var(--nh-navy));
  color: #fff;
  border-bottom: 4px solid var(--nh-navy-bright);
  min-height: 64px;
  padding: 14px 0;
  font-size: 15px;
}
.logo-area {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.005em;
  color: #fff;
}
.logo-area::before {
  content: "✚";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: #fff;
  color: var(--nh-navy);
  font-size: 16px;
  font-weight: 800;
  border-radius: 3px;
}
.logo-area.has-logo::before { display: none; }
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  color: #fff;
  font-weight: 600;
}
.main-nav a { color: #fff; text-decoration: none; transition: opacity .15s; }
.main-nav a:hover { color: #fff; opacity: 0.82; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Patient-login pill sits on the navy header — base.css colours it with
   --color-text (dark ink), which is unreadable here. Invert to a white
   outlined pill that fills white-on-navy on hover. */
.patient-login,
.main-nav a.patient-login {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
}
.patient-login:hover,
.main-nav a.patient-login:hover {
  color: var(--nh-navy);
  background: #fff;
  border-color: #fff;
  opacity: 1;
}

/* ── Buttons (sturdy, low-radius) ── */
.btn, .cta-button, .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 4px;
  font: 700 15px var(--font-body);
  background: var(--color-primary);
  color: #fff;
  border: 0;
  box-shadow: 0 2px 0 var(--nh-cta-hover);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover, .cta-button:hover, .btn-primary:hover { background: var(--nh-cta-hover); color: #fff; text-decoration: none; }
.btn-secondary {
  background: var(--nh-navy);
  color: #fff;
  box-shadow: 0 2px 0 var(--nh-navy-dark);
}
.btn-secondary:hover { background: var(--nh-navy-dark); }
.btn-outline, .btn-ghost {
  background: #fff;
  color: var(--nh-navy);
  border: 2px solid var(--nh-navy);
  box-shadow: none;
}
.btn-outline:hover, .btn-ghost:hover { background: var(--color-container-bg); }

/* ── Layout ── */
.page-content { padding: 0; min-height: 60vh; }
.container, .wrap { max-width: var(--container-max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-alt { background: var(--color-container-bg); }

/* ── Hero ── */
.hero-section, .hero {
  position: relative;
  padding: 48px 24px 56px;
  background: var(--color-container-bg);
  border-bottom: 1px solid var(--nh-line);
}
.hero-section h1, .hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.hero-section p, .hero p {
  font-size: 19px;
  line-height: 1.5;
  color: var(--nh-grey-1);
  max-width: 38rem;
}
.hero-media { border-radius: 6px; border: 1px solid var(--nh-line); }

.stats-row { border-top-color: var(--nh-line); }
.stat-num { color: var(--nh-navy); font-weight: 800; }
.stat-label { color: var(--nh-grey-1); }

/* ── Card ── */
.card {
  background: #fff;
  border-radius: 6px;
  padding: 26px;
  border: 1px solid var(--nh-line);
  box-shadow: none;
}

/* ── Grids ── */
.services-grid, .team-grid, .feature-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  padding: 40px 0;
}
.feature-item {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--nh-line);
  border-left: 4px solid var(--nh-navy);
  border-radius: 4px;
}
.feature-item h4 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.feature-item .big-num {
  display: block;
  font-size: 48px;
  line-height: 1;
  font-weight: 800;
  color: var(--nh-navy);
  margin-bottom: 10px;
}

/* ── Services menu (A–Z / index style rows) ── */
.services-menu {
  list-style: none;
  margin: 0;
  padding: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 2px solid var(--nh-navy);
}
.services-menu li {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 6px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--nh-line);
  background: #fff;
  transition: background .12s;
}
.services-menu li:nth-child(odd) { border-right: 1px solid var(--nh-line); }
.services-menu li:hover { background: var(--color-container-bg); }
.services-menu li > span:first-child {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--nh-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.services-menu li .svc-price {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--color-text);
}
.services-menu li .svc-price small {
  font-size: 12px;
  font-weight: 600;
  color: var(--nh-grey-1);
  margin-right: 5px;
}
.services-menu li .svc-meta { font-size: 13.5px; color: var(--nh-grey-1); }

/* ── Clinicians ── */
.team-grid .card {
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--nh-line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  box-shadow: none;
}
.team-grid .card img,
.team-grid .card .avatar {
  width: 100%;
  aspect-ratio: 4/4;
  object-fit: cover;
  background: var(--color-container-bg);
  border-radius: 0;
  display: block;
  margin: 0;
}
.team-grid .card .card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.team-grid .card h4 { font-size: 18px; font-weight: 700; margin: 0; }
.team-grid .card .role { color: var(--nh-navy); font-size: 14px; font-weight: 600; margin: 0 0 10px; }
.team-grid .card .card-bio { color: var(--nh-grey-1); font-size: 14px; line-height: 1.5; margin: 0 0 14px; }
.team-grid .card .card-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--nh-line);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--nh-grey-1);
}

/* ── Booking widget ── */
.booking-widget, .booking-widget-placeholder {
  background: #fff;
  border-radius: 6px;
  padding: 28px;
  border: 1px solid var(--nh-line);
  border-top: 6px solid var(--nh-navy);
  box-shadow: none;
}
.booking-widget h3 { font-size: 24px; font-weight: 800; margin: 0 0 20px; }
.booking-widget label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin: 16px 0 6px;
}
.booking-widget select,
.booking-widget input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 2px solid var(--nh-grey-1);
  border-radius: 4px;
  background: #fff;
  color: var(--color-text);
  font-family: inherit;
  font-size: 15px;
}
.contact-form textarea { height: auto; padding: 10px 12px; }
.booking-widget .booking-fields .cta-button,
.booking-widget .booking-fields .btn { height: 48px; align-self: end; }

/* ── Alert / callout (yellow band) — visit-status reuse + generic ── */
.visit-status::before { background: var(--nh-green); }

/* ── Location ── */
.visit-grid, .visit-card, .visit-map-wrap { background: #fff; border-color: var(--nh-line); }
.visit-grid { border-radius: 6px; }

/* ── Footer ── */
.site-footer {
  background: var(--nh-navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 24px 28px;
  margin-top: 64px;
  font-size: 14px;
  border-top: 4px solid var(--nh-navy-bright);
}
.site-footer h4 { color: #fff; font-weight: 700; font-size: 15px; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: var(--container-max-width);
  margin: 0 auto;
}
.footer-col h4 { margin: 0 0 14px; }
.footer-bottom {
  max-width: var(--container-max-width);
  margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}
.footer-cqc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  font-size: 11px;
  color: #fff;
}

@media (max-width: 900px) {
  .services-menu { grid-template-columns: 1fr; }
  .services-menu li:nth-child(odd) { border-right: 0; }
}
@media (max-width: 800px) {
  .site-header { padding: 12px 0; min-height: 56px; }
  .main-nav { display: none; }
  .hero-section, .hero { padding: 36px 20px 44px; }
  .section { padding: 48px 0; }
}

/* ── Banner & Editorial ── */
.section-banner { background: var(--color-container-bg); padding: 56px 0; }
.section-banner .banner-image { border-radius: 6px; aspect-ratio: 21/9; border: 1px solid var(--nh-line); }

.section-editorial { background: var(--color-container-bg); padding: 72px 0; }
.section-editorial .editorial-grid { gap: 48px; }
.section-editorial .editorial-image img { border-radius: 6px; border: 1px solid var(--nh-line); }
.section-editorial .editorial-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 800;
}
.section-editorial .editorial-content h2 em { color: var(--nh-navy); font-style: normal; -webkit-text-fill-color: currentColor; background: none; }
.section-editorial .editorial-body p { color: var(--nh-grey-1); }
.section-editorial .editorial-body li { border-color: var(--nh-line); color: var(--color-text); }
.section-editorial .editorial-body li:last-child { border-bottom-color: var(--nh-line); }
.section-editorial .editorial-body li::before {
  background: var(--nh-navy);
  color: #fff;
  font-style: normal;
  font-weight: 700;
}

/* ── New section blocks ── */
.section-stats { background: var(--color-container-bg); border-color: var(--nh-line); padding: 56px 0; }
.stat-bar-cell { border-left-color: var(--nh-line); }
.stat-bar-value { font-weight: 800; color: var(--nh-navy); }

.section-how { background: #fff; padding: 80px 0; }
.section-how .how-step-num { color: var(--nh-navy); font-weight: 800; }
.section-how .how-step-line { background: var(--nh-line); }
.section-how .how-step-title { font-weight: 700; }

.section-testimonials { background: var(--color-container-bg); padding: 80px 0; }
.testi-card { border: 1px solid var(--nh-line); border-radius: 6px; background: #fff; box-shadow: none; }
.testi-stars { color: var(--nh-warm-yellow); }
.testi-quote { font-weight: 600; }
.testi-byline { border-top-color: var(--nh-line); }

.section-partners { background: #fff; padding: 72px 0; }
.partners-logos { border-bottom-color: var(--nh-line); }
.accred-mark { border-color: var(--nh-line); background: #fff; }
.accred-abbr { font-weight: 800; color: var(--nh-navy); }

.section-journal { background: #fff; padding: 80px 0; }
.journal-image { border-radius: 6px; border: 1px solid var(--nh-line); }
.journal-title { font-weight: 700; }

.section-faq { background: #fff; padding: 80px 0; }
.faq-item { border-bottom-color: var(--nh-line); }
.faq-list { border-top-color: var(--nh-line); }
.faq-q { font-weight: 700; }

.section-cta {
  background: var(--nh-navy);
  padding: 88px 0;
}
.section-cta .cta-headline { font-weight: 800; }
.section-cta .cta-headline em { color: #fff; font-style: normal; -webkit-text-fill-color: #fff; background: none; }
.section-cta .cta-actions .btn,
.section-cta .cta-actions .cta-primary {
  background: var(--color-primary);
  color: #fff;
  border-radius: 4px;
  border: 0;
  font-weight: 700;
  box-shadow: 0 2px 0 var(--nh-cta-hover);
}
.section-cta .cta-actions .btn:hover,
.section-cta .cta-actions .cta-primary:hover { background: var(--nh-cta-hover); }
.section-cta .cta-ghost,
.section-cta .cta-actions .btn-ghost {
  border-radius: 4px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

/* === Full image hero ===
   Typography mirrors the main hero; hairline base keeps the band sitting
   in Albion's ruled-page rhythm. */
.image-hero-section { border-bottom: 1px solid var(--nh-line); }
.image-hero-section h1 {
  max-width: 18ch;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: inherit;
}
.image-hero-section .image-hero-subhead {
  max-width: 38rem;
  font-size: 19px;
  line-height: 1.5;
}
