/* ===============================
   LOCUMBOOKING UNIVERSAL STYLES
   =============================== */

/* ---- Root / Theme Variables ---- */
:root {
  --lb-font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --lb-font-heading: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  /* Brand colours */
  --lb-navy: #24378a;          /* Locum blue */
  --lb-navy-deep: #1b2665;
  --lb-locum-blue: #24378a;
  --lb-employer-pink: #f6a8b8;
  --lb-agency-green: #3dc2b0;  /* Agency green */

  /* Extra aliases used elsewhere */
  --lb-teal: #3dc2b0;          /* same as agency green */
  --lb-blush: #f6a8b8;         /* same as employer pink */

  /* Neutrals */
  --lb-bg: #f9fafc;
  --lb-bg-alt: #ffffff;
  --lb-text-main: #1f2430;
  --lb-text-soft: #6a7285;
  --lb-border-soft: #e2e4ef;

  /* Layout */
  --lb-radius-lg: 24px;
  --lb-radius-pill: 999px;
  --lb-shadow-soft: 0 18px 40px rgba(13, 25, 68, 0.08);
  --lb-transition: 0.25s ease;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--lb-font-body);
  color: var(--lb-text-main);
  background: var(--lb-bg);
  -webkit-font-smoothing: antialiased;
}

/* ---- Global Utility Classes ---- */
.lb-container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.lb-section {
  padding: 4.5rem 0;
}

.lb-section-alt {
  padding: 4.5rem 0;
  background: var(--lb-bg-alt);
}

.lb-section-header {
  max-width: 640px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.lb-section-header h2 {
  font-family: var(--lb-font-heading);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.lb-section-header p {
  color: var(--lb-text-soft);
  margin: 0;
}

.lb-section-header-left {
  text-align: left;
  margin-left: 0;
}

/* ---- Header ---- */
.lb-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 250, 252, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 228, 239, 0.7);
}

.lb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

/* Logo */
.lb-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.lb-logo-mark {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffffff, #f6f7ff);
  border: 1px solid #f6a8b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--lb-navy);
}

.lb-logo-text {
  font-family: var(--lb-font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--lb-navy-deep);
}

/* Nav */
.lb-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.93rem;
}

.lb-nav a {
  text-decoration: none;
  color: var(--lb-text-soft);
  position: relative;
  padding-bottom: 0.1rem;
}

.lb-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--lb-locum-blue),
    var(--lb-agency-green)
  );
  transition: width var(--lb-transition);
}

.lb-nav a:hover {
  color: var(--lb-text-main);
}

.lb-nav a:hover::after {
  width: 100%;
}

/* Header actions */
.lb-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lb-link {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--lb-text-soft);
}

.lb-link:hover {
  color: var(--lb-text-main);
}

/* Mobile nav toggle (basic placeholder) */
.lb-nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.3rem;
}

/* ---- Buttons ---- */
.lb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: var(--lb-radius-pill);
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  background: linear-gradient(135deg, var(--lb-locum-blue), var(--lb-navy-deep));
  color: #ffffff;
  box-shadow: var(--lb-shadow-soft);
  transition: transform var(--lb-transition), box-shadow var(--lb-transition),
    background var(--lb-transition), opacity var(--lb-transition);
}

.lb-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(13, 25, 68, 0.12);
  opacity: 0.96;
}

.lb-btn-lg {
  padding-inline: 1.9rem;
  padding-block: 0.85rem;
}

.lb-btn-sm {
  padding: 0.45rem 1.2rem;
  font-size: 0.85rem;
}

.lb-btn-outline {
  background: #ffffff;
  color: var(--lb-locum-blue);
  border: 1px solid rgba(36, 55, 138, 0.16);
  box-shadow: none;
}

.lb-btn-outline:hover {
  background: rgba(36, 55, 138, 0.04);
}

/* Context colours */
.lb-btn-locum {
  background: linear-gradient(135deg, var(--lb-locum-blue), var(--lb-navy-deep));
}

.lb-btn-employer {
  background: linear-gradient(
    135deg,
    var(--lb-employer-pink),
    #e0889f
  );
  color: #3b1725;
  box-shadow: var(--lb-shadow-soft);
}

.lb-btn-agency {
  background: linear-gradient(
    135deg,
    var(--lb-agency-green),
    #32a095
  );
  color: #05332e;
  box-shadow: var(--lb-shadow-soft);
}

.lb-btn-block {
  width: 100%;
}

/* Text-style button */
.lb-btn-text {
  border: none;
  background: none;
  color: var(--lb-locum-blue);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

/* Contact-specific button */
.lb-btn-contact {
  background: linear-gradient(
    135deg,
    var(--lb-agency-green),
    #32a095
  );
  color: #05332e;
  box-shadow: var(--lb-shadow-soft);
}

.lb-btn-contact:hover {
  opacity: 0.96;
  transform: translateY(-1px);
}

/* ---- Hero (Homepage) ---- */
.lb-hero {
  padding: 4.5rem 0 4rem;
}

.lb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

/* Hero left */
.lb-hero-copy h1 {
  font-family: var(--lb-font-heading);
  font-size: clamp(2.1rem, 3.1vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--lb-navy-deep);
}

.lb-highlight {
  color: var(--lb-agency-green);
}

.lb-hero-sub {
  margin: 0 0 1.6rem 0;
  color: var(--lb-text-soft);
  font-size: 0.98rem;
}

.lb-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.lb-badge {
  padding: 0.35rem 0.75rem;
  border-radius: var(--lb-radius-pill);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 228, 239, 0.9);
  font-size: 0.78rem;
  color: var(--lb-text-soft);
}

.lb-hero-ctas {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* Hero panel / tabs */
.lb-hero-panel {
  background: var(--lb-bg-alt);
  border-radius: var(--lb-radius-lg);
  box-shadow: var(--lb-shadow-soft);
  padding: 0;
  overflow: hidden;
  position: relative;
}

/* Hide radio buttons */
.lb-hero-panel input[type="radio"] {
  display: none;
}

/* Tabs */
.lb-hero-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--lb-border-soft);
}

.lb-hero-tab {
  padding: 0.75rem 0.4rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  background: #f3f4fb;
  color: var(--lb-text-soft);
  transition: background var(--lb-transition), color var(--lb-transition);
}

/* Coloured tops for each tab */
.lb-hero-tab--locums::before,
.lb-hero-tab--employers::before,
.lb-hero-tab--agencies::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
}

.lb-hero-tab--locums::before {
  background: var(--lb-locum-blue);
}
.lb-hero-tab--employers::before {
  background: var(--lb-employer-pink);
}
.lb-hero-tab--agencies::before {
  background: var(--lb-agency-green);
}

/* Tab content container */
.lb-hero-content {
  padding: 1.5rem 1.5rem 1.7rem;
}

/* Default hide panes */
.lb-hero-pane {
  display: none;
  animation: lb-fade-in 0.3s ease;
}

.lb-hero-pane h2 {
  font-family: var(--lb-font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.lb-hero-pane p {
  font-size: 0.9rem;
  color: var(--lb-text-soft);
  margin-bottom: 1rem;
}

.lb-hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3rem 0;
  font-size: 0.9rem;
}

.lb-hero-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.4rem;
}

.lb-hero-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--lb-agency-green);
}

/* Active tab + pane (radio logic) */
#tab-locums:checked ~ .lb-hero-tabs .lb-hero-tab--locums,
#tab-employers:checked ~ .lb-hero-tabs .lb-hero-tab--employers,
#tab-agencies:checked ~ .lb-hero-tabs .lb-hero-tab--agencies {
  background: #ffffff;
  color: #111827;
}

#tab-locums:checked ~ .lb-hero-content .lb-hero-pane--locums,
#tab-employers:checked ~ .lb-hero-content .lb-hero-pane--employers,
#tab-agencies:checked ~ .lb-hero-content .lb-hero-pane--agencies {
  display: block;
}

/* Optional subtle border accent */
#tab-locums:checked ~ .lb-hero-content {
  border-top: 3px solid rgba(36, 55, 138, 0.15);
}
#tab-employers:checked ~ .lb-hero-content {
  border-top: 3px solid rgba(246, 168, 184, 0.4);
}
#tab-agencies:checked ~ .lb-hero-content {
  border-top: 3px solid rgba(61, 194, 176, 0.4);
}

@keyframes lb-fade-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Grid utilities ---- */
.lb-grid {
  display: grid;
  gap: 2rem;
}

.lb-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lb-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.lb-grid-reverse {
  direction: rtl;
}
.lb-grid-reverse > * {
  direction: ltr;
}

/* ---- Cards & blocks ---- */
.lb-card {
  background: var(--lb-bg-alt);
  border-radius: 18px;
  border: 1px solid rgba(226, 228, 239, 0.9);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 10px 25px rgba(13, 25, 68, 0.04);
}

.lb-card h3 {
  font-family: var(--lb-font-heading);
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.lb-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--lb-text-soft);
}

/* Trust section */
.lb-trust-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
}

.lb-trust-grid h2 {
  font-family: var(--lb-font-heading);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.lb-trust-grid p {
  color: var(--lb-text-soft);
  font-size: 0.95rem;
}

.lb-bullet-list {
  margin: 1.2rem 0 0 0;
  padding-left: 1.2rem;
  color: var(--lb-text-main);
  font-size: 0.9rem;
}

.lb-bullet-list li + li {
  margin-top: 0.35rem;
}

.lb-trust-pillars {
  border-radius: var(--lb-radius-lg);
  border: 1px solid rgba(226, 228, 239, 0.9);
  background: radial-gradient(circle at 0 0, #ffffff, #f3f5ff);
  padding: 1.4rem 1.3rem;
}

.lb-trust-pillars-inner {
  display: grid;
  row-gap: 0.8rem;
}

.lb-trust-pillars-heading {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--lb-navy-deep);
}

.lb-trust-pillars p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--lb-text-soft);
}

/* Locum / Employer / Agency headings */
.lb-heading-locum {
  color: var(--lb-locum-blue);
  font-family: var(--lb-font-heading);
}

.lb-heading-employer {
  color: #d2748f;
  font-family: var(--lb-font-heading);
}

.lb-heading-agency {
  color: var(--lb-agency-green);
  font-family: var(--lb-font-heading);
}

.lb-illustration-card {
  border-radius: var(--lb-radius-lg);
  border: 1px dashed rgba(226, 228, 239, 0.9);
  background: #f5f7ff;
  padding: 1.3rem 1.5rem;
  font-size: 0.88rem;
}

.lb-illus-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.lb-illus-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--lb-text-soft);
}

/* Quotes */
.lb-quote-card {
  margin: 0;
  padding: 1.5rem 1.5rem 1.4rem;
  border-radius: 18px;
  background: var(--lb-bg-alt);
  box-shadow: 0 10px 25px rgba(13, 25, 68, 0.04);
  border: 1px solid rgba(226, 228, 239, 0.8);
}

.lb-quote-card blockquote {
  margin: 0 0 0.8rem 0;
  font-size: 0.92rem;
  color: var(--lb-text-main);
}

.lb-quote-card figcaption {
  font-size: 0.8rem;
  color: var(--lb-text-soft);
}

/* ===============================
   INNER PAGE LAYOUTS
   =============================== */

.lb-page-hero {
  padding: 3.5rem 0 3.5rem;
  background: radial-gradient(circle at top left, #ffffff, #f3f4ff);
}

.lb-page-hero--locum {
  background: radial-gradient(
      circle at top left,
      rgba(36, 55, 138, 0.08),
      transparent 55%
    ),
    radial-gradient(circle at bottom right, #ffffff, #f3f4ff);
}

.lb-page-hero--employer {
  background: radial-gradient(
      circle at top left,
      rgba(246, 168, 184, 0.15),
      transparent 55%
    ),
    radial-gradient(circle at bottom right, #ffffff, #fdf2f6);
}

.lb-page-hero--agency {
  background: radial-gradient(
      circle at top left,
      rgba(61, 194, 176, 0.16),
      transparent 55%
    ),
    radial-gradient(circle at bottom right, #ffffff, #ecfdf9);
}

.lb-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.lb-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--lb-text-soft);
  margin-bottom: 0.5rem;
}

.lb-page-hero h1 {
  font-family: var(--lb-font-heading);
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  margin: 0 0 0.8rem 0;
  color: var(--lb-navy-deep);
}

.lb-page-lead {
  font-size: 0.98rem;
  color: var(--lb-text-soft);
  max-width: 520px;
  margin-bottom: 1.6rem;
}

/* Media / image frame */
.lb-media-frame {
  border-radius: var(--lb-radius-lg);
  border: 1px solid rgba(226, 228, 239, 0.9);
  background: #ffffff;
  padding: 0.9rem;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
}

.lb-media-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.lb-media-frame figcaption {
  font-size: 0.8rem;
  color: var(--lb-text-soft);
  margin-top: 0.55rem;
}

.lb-media-frame--shadow {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* Steps list */
.lb-steps-list {
  margin: 1.1rem 0 0 0;
  padding-left: 1.4rem;
  font-size: 0.9rem;
  color: var(--lb-text-main);
}

.lb-steps-list li + li {
  margin-top: 0.55rem;
}

/* Coloured borders on inner cards */
.lb-card-border-locum {
  border-top: 3px solid rgba(36, 55, 138, 0.3);
}

.lb-card-border-employer {
  border-top: 3px solid rgba(246, 168, 184, 0.5);
}

.lb-card-border-agency {
  border-top: 3px solid rgba(61, 194, 176, 0.5);
}

/* FAQ layout */
.lb-faq {
  max-width: 960px;
  margin-inline: auto;
}

.lb-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.7rem;
}

.lb-faq-grid h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.lb-faq-grid p {
  font-size: 0.88rem;
  color: var(--lb-text-soft);
}

/* Split layout helper */
.lb-page-split {
  align-items: center;
}

/* Responsive tweaks: inner pages */
@media (max-width: 960px) {
  .lb-page-hero-grid {
    grid-template-columns: 1fr;
  }

  .lb-media-frame {
    max-width: 420px;
    margin-inline: auto;
  }
}

/* --- Enhanced hero visuals --- */

.lb-hero-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.lb-hero-stat {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 228, 239, 0.9);
  display: flex;
  flex-direction: column;
}

.lb-hero-stat-number {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lb-locum-blue);
}

.lb-hero-stat-label {
  font-size: 0.7rem;
  color: var(--lb-text-soft);
}

.lb-hero-footnote {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--lb-text-soft);
}

/* Device-style mockup */

.lb-hero-device {
  position: relative;
  display: grid;
  justify-items: center;
  padding-top: 0.5rem;
}

.lb-hero-device-bg {
  position: absolute;
  inset: 10% 0 auto;
  height: 220px;
  max-width: 320px;
  filter: blur(40px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 10% 0%, rgba(36, 55, 138, 0.35), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(61, 194, 176, 0.4), transparent 60%);
  opacity: 0.9;
}

.lb-hero-device-frame {
  position: relative;
  width: min(320px, 100%);
  border-radius: 28px;
  background: #0b1020;
  padding: 0.4rem;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.lb-hero-device-frame img {
  display: block;
  width: 100%;
  border-radius: 22px;
}

.lb-hero-device-chip {
  position: relative;
  margin-top: 0.75rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 228, 239, 0.95);
  color: var(--lb-text-soft);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
}

.lb-hero-device-chip strong {
  color: var(--lb-text-main);
}

.lb-hero-device-chip--secondary {
  margin-top: 0.4rem;
  background: #ecfdf5;
  border-color: rgba(61, 194, 176, 0.4);
  color: #047857;
}

/* Stack nicely on mobile */
@media (max-width: 960px) {
  .lb-hero-device-bg {
    max-width: 260px;
    height: 190px;
  }
}

/* Benefit cards with icon + gradient edge */

.lb-card-benefit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.lb-card-benefit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.02),
    rgba(15, 23, 42, 0.05)
  );
  opacity: 0;
  transition: opacity var(--lb-transition);
}

.lb-card-benefit > * {
  position: relative;
}

.lb-card-benefit:hover::before {
  opacity: 1;
}

.lb-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.lb-card-benefit--locum .lb-card-icon {
  background: linear-gradient(135deg, var(--lb-locum-blue), var(--lb-navy-deep));
}

.lb-card-benefit--employer .lb-card-icon {
  background: linear-gradient(135deg, var(--lb-employer-pink), #e0889f);
}

.lb-card-benefit--agency .lb-card-icon {
  background: linear-gradient(135deg, var(--lb-agency-green), #32a095);
}

.lb-card-benefit h3 {
  margin-top: 0;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.lb-card-benefit p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--lb-text-soft);
}

/* Photo soft overlay */
.lb-photo-soft {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.lb-photo-soft img {
  width: 100%;
  display: block;
  filter: saturate(0.95);
}

.lb-photo-soft::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(15, 23, 42, 0.06),
    rgba(249, 250, 252, 0.2)
  );
}

/* ===============================
   CONTACT PAGE
   =============================== */

.lb-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.lb-contact-card {
  background: #ffffff;
  border-radius: var(--lb-radius-lg);
  border: 1px solid rgba(226, 228, 239, 0.9);
  box-shadow: var(--lb-shadow-soft);
  padding: 1.8rem 1.6rem;
}

.lb-contact-form {
  display: grid;
  gap: 1rem;
}

.lb-form-row {
  display: grid;
  gap: 0.4rem;
}

.lb-form-row label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--lb-text-main);
}

.lb-form-row input,
.lb-form-row select,
.lb-form-row textarea {
  border-radius: 10px;
  border: 1px solid rgba(226, 228, 239, 0.95);
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  font-family: var(--lb-font-body);
  outline: none;
  background: #f9fafb;
}

.lb-form-row input:focus,
.lb-form-row select:focus,
.lb-form-row textarea:focus {
  border-color: rgba(36, 55, 138, 0.45);
  background: #ffffff;
}

.lb-form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.lb-contact-meta {
  font-size: 0.88rem;
  color: var(--lb-text-soft);
}

.lb-contact-meta strong {
  color: var(--lb-text-main);
}

.lb-contact-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid rgba(61, 194, 176, 0.45);
}

@media (max-width: 960px) {
  .lb-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   BLOG / RESOURCES PAGE (INDEX)
   =============================== */

.lb-blog-hero {
  padding: 3.2rem 0 2.5rem;
  background: radial-gradient(
      circle at top left,
      rgba(36, 55, 138, 0.08),
      transparent 55%
    ),
    linear-gradient(to bottom, #ffffff, #f9fafc);
}

.lb-blog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.lb-blog-intro {
  max-width: 640px;
}

.lb-blog-intro h1 {
  font-family: var(--lb-font-heading);
  font-size: clamp(2rem, 3vw, 2.4rem);
  margin-bottom: 0.7rem;
}

.lb-blog-intro p {
  color: var(--lb-text-soft);
  font-size: 0.95rem;
}

.lb-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.lb-pill {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(226, 228, 239, 0.9);
  background: rgba(255, 255, 255, 0.9);
  color: var(--lb-text-soft);
}

/* Blog hero media (image on right) */
.lb-blog-hero-media {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(226, 228, 239, 0.9);
}

.lb-blog-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Blog cards (index) */
.lb-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.lb-blog-grid-featured {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.lb-blog-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(226, 228, 239, 0.9);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
}

.lb-blog-card-image-link {
  display: block;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}

.lb-blog-card-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.lb-blog-card-body {
  padding: 1rem 1.2rem 1.1rem;
  display: grid;
  gap: 0.5rem;
}

.lb-blog-card-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lb-text-soft);
}

.lb-blog-card h2 {
  font-size: 1rem;
  margin: 0;
}

.lb-blog-card p {
  font-size: 0.88rem;
  color: var(--lb-text-soft);
  margin: 0;
}

.lb-blog-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--lb-text-soft);
}

.lb-blog-readmore {
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--lb-locum-blue);
}

/* Pagination */
.lb-blog-pagination {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  justify-content: flex-end;
}

.lb-page-label {
  color: var(--lb-text-soft);
  margin-right: 0.25rem;
}

.lb-page-current,
.lb-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
}

.lb-page-current {
  background: var(--lb-locum-blue);
  color: #ffffff;
}

.lb-page-link {
  text-decoration: none;
  border: 1px solid rgba(226, 228, 239, 0.95);
  color: var(--lb-text-soft);
  padding: 0 0.4rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lb-page-link:hover {
  background: #e5edff;
  border-color: var(--lb-locum-blue);
  color: var(--lb-locum-blue);
}

.lb-page-next {
  margin-left: 0.6rem;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--lb-locum-blue);
}

/* Responsive: blog index */
@media (max-width: 900px) {
  .lb-blog-hero-grid {
    grid-template-columns: 1fr;
  }

  .lb-blog-hero-media {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .lb-blog-pagination {
    justify-content: center;
  }
}

/* ==========================
   AGENCY PARTNERSHIP PAGE
   ========================== */

.lb-partner-hero {
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(circle at top left, rgba(61, 194, 176, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, #ffffff, #ecfdf5);
}

.lb-partner-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.lb-partner-note {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--lb-text-soft);
}

.lb-partner-card {
  background: #ffffff;
  border-radius: var(--lb-radius-lg);
  border: 1px solid rgba(226, 228, 239, 0.95);
  box-shadow: var(--lb-shadow-soft);
  padding: 1.6rem 1.5rem;
  display: grid;
  gap: 1.1rem;
}

.lb-partner-card-soft {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.lb-partner-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.lb-partner-stat {
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
  background: linear-gradient(
    135deg,
    rgba(61, 194, 176, 0.08),
    rgba(236, 253, 245, 0.95)
  );
  border: 1px solid rgba(61, 194, 176, 0.35);
}

.lb-partner-stat-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lb-text-soft);
  margin-bottom: 0.25rem;
}

.lb-partner-stat-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #047857;
}

.lb-partner-stat-foot {
  display: block;
  font-size: 0.78rem;
  color: var(--lb-text-main);
  margin-top: 0.15rem;
}

/* Tight steps list */
.lb-steps-list-tight li + li {
  margin-top: 0.5rem;
}

/* Checklists */
.lb-checklist {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--lb-text-main);
}

.lb-checklist li::before {
  content: "✓";
  display: inline-block;
  margin-right: 0.4rem;
  font-size: 0.8rem;
  color: #047857;
}

/* Fears/concerns section */
.lb-partner-fears .lb-card-plain {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(226, 228, 239, 0.9);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.lb-partner-fears h3 {
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
}

.lb-partner-fears p {
  font-size: 0.88rem;
  color: var(--lb-text-soft);
  margin-bottom: 0.9rem;
}

/* Final CTA */
.lb-partner-cta {
  background: #0b1720;
  color: #e5fdf6;
  border-radius: 24px;
  padding: 2rem 2.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.lb-partner-cta h2 {
  margin: 0 0 0.4rem 0;
  color: #ecfdf5;
}

.lb-partner-cta p {
  margin: 0;
  font-size: 0.9rem;
  color: #c4f3e4;
}

.lb-partner-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

/* Responsive: agency partnership */
@media (max-width: 960px) {
  .lb-partner-hero-grid {
    grid-template-columns: 1fr;
  }

  .lb-partner-stat-row {
    grid-template-columns: 1fr;
  }

  .lb-partner-cta {
    grid-template-columns: 1fr;
    padding: 1.6rem 1.4rem;
  }

  .lb-partner-cta-actions {
    justify-content: flex-start;
  }
}

/* ======================
   FOOTER REDESIGN
   ====================== */
/* Footer base */
.lb-footer {
  background: #07154c;
  color: #cdd4ee;
  padding: 60px 0 30px;
}

/* Footer grid (4 columns) */
.lb-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* Logo */
.lb-logo-footer {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 20px;
}

.lb-logo-mark-footer {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #f6a8b8; /* pink border */
  background: white;
  color: #07154c; /* navy text inside circle */
  font-weight: 700;
  margin-right: 12px;
}

.lb-logo-text-footer {
  color: #07154c;     /* BLUE text for LocumBooking */
  font-weight: 600;
  font-size: 20px;
}

/* Paragraph */
.lb-footer-text {
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Newsletter */
.lb-footer-newsletter input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  margin: 8px 0;
}

.lb-btn-newsletter {
  background: #3dc2b0;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.lb-btn-newsletter:hover {
  background: #2fa997;
}

/* Links */
.lb-footer-col a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
  color: #cdd4ee;
}

.lb-footer-col a:hover {
  color: white;
}

/* Bottom bar */
.lb-footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #f6a8b8;
}

.lb-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Social icons */
.lb-social-link svg {
  width: 22px;
  height: 22px;
  fill: rgb(248, 244, 244);
  opacity: 0.75;
  
}

.lb-social-link:hover svg {
  opacity: 0.1;
}

/* Mobile layout */
@media (max-width: 900px) {
  .lb-footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}



/* ===========================
   SINGLE BLOG ARTICLE PAGE – DESIGNED LAYOUT
   =========================== */

.lb-blog-article-hero {
  padding: 3rem 0 2rem;
  background:
    radial-gradient(circle at top left, rgba(61, 194, 176, 0.18), transparent 55%),
    linear-gradient(to bottom, #f9fafc, #ffffff);
  border-bottom: 1px solid var(--lb-border-soft);
}

.lb-blog-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.lb-blog-hero-text {
  max-width: 640px;
}

.lb-blog-hero-lead {
  margin-top: 0.8rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--lb-text-soft);
}

/* Article label & variants */
.lb-blog-label {
  display: inline-block;
  background: var(--lb-teal);
  color: #022c22;
  padding: 0.35rem 0.75rem;
  border-radius: var(--lb-radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.lb-blog-label-agencies {
  background: var(--lb-teal);
  color: #06423b;
}

.lb-blog-label-employers {
  background: var(--lb-blush);
  color: #4a2330;
}

.lb-blog-label-compliance {
  background: #eaeeff;
  color: #1b267a;
  border: 1px solid #d7dcff;
}

.lb-blog-label-pcns {
  background: var(--lb-teal);
  color: #06423b;
  border: 1px solid rgba(61, 194, 176, 0.3);
}

.lb-blog-article-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.2;
  color: var(--lb-text-main);
  margin-bottom: 0.6rem;
}

.lb-blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--lb-text-soft);
  margin-bottom: 1.4rem;
}

/* Hero image */
.lb-blog-hero-image {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--lb-shadow-soft);
  border: 1px solid var(--lb-border-soft);
}

.lb-blog-hero-image img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* Article body */
.lb-blog-article-body {
  padding: 2.2rem 0 3rem;
}

.lb-blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

/* Side meta card */
.lb-article-side-meta {
  position: relative;
}

.lb-article-side-meta-inner {
  position: sticky;
  top: 6.5rem;
  background: #0b1720;
  color: #e5e7eb;
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
}

.lb-article-side-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 0.6rem;
}

.lb-article-side-meta dl {
  margin: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.lb-article-side-meta dt {
  font-weight: 600;
  color: #e5e7eb;
}

.lb-article-side-meta dd {
  margin: 0.1rem 0 0;
  color: #cbd5e1;
}

/* Article typography */
.lb-article-content {
  max-width: 720px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--lb-text-main);
}

.lb-article-content h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.7rem;
}

.lb-article-content h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.lb-article-content ul,
.lb-article-content ol {
  margin-left: 1.3rem;
  margin-bottom: 1rem;
}

.lb-article-content blockquote {
  margin: 1.6rem 0;
  padding: 1rem 1.2rem;
  background: #f5f8ff;
  border-left: 4px solid var(--lb-navy);
  border-radius: 10px;
  color: var(--lb-text-main);
  font-style: italic;
}

/* Inline wide figures inside article */
.lb-inline-wide {
  margin: 2.5rem 0;
  border-radius: 20px;
  overflow: hidden;
  background: #f5f7fb;
}

.lb-inline-wide img {
  width: 100%;
  display: block;
  max-height: 340px;
  object-fit: cover;
  filter: saturate(1.05);
}

.lb-inline-wide figcaption {
  padding: 0.75rem 1.25rem 1rem;
  font-size: 0.9rem;
  color: var(--lb-text-soft);
}

/* Ensure article images never overflow */
.lb-article-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Metric cards */
.lb-metric-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.4rem 0 2rem;
}

.lb-metric-card {
  background: #ffffff;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--lb-border-soft);
  box-shadow: var(--lb-shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.lb-metric-card strong {
  font-size: 1rem;
}

/* Data highlight block */
.lb-data-highlight {
  background: #f1faf8;
  border-left: 4px solid var(--lb-teal);
  padding: 1rem 1.2rem;
  border-radius: 12px;
  margin: 2rem 0;
}

/* Checklist card */
.lb-checklist-card {
  background: #fff7f9;
  border-left: 4px solid var(--lb-blush);
  padding: 1rem 1.2rem;
  border-radius: 12px;
  margin: 1.4rem 0 2rem;
}

/* ===========================
   BLOG – RELATED ARTICLES (CANONICAL)
   =========================== */

.lb-related-posts {
  padding: 2.5rem 0 3rem;
  background: var(--lb-bg);
  border-top: 1px solid var(--lb-border-soft);
}

.lb-related-title {
  text-align: center;
  margin-bottom: 1.7rem;
  font-size: 1.4rem;
  color: var(--lb-text-main);
  font-family: var(--lb-font-heading);
}

.lb-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.lb-related-card {
  background: #ffffff;
  border-radius: 16px;
  text-decoration: none;
  color: var(--lb-text-main);
  border: 1px solid var(--lb-border-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lb-related-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.lb-related-card h3 {
  padding: 0.9rem 1rem 1rem;
  font-size: 0.98rem;
}

.lb-related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lb-shadow-soft);
  border-color: rgba(61, 194, 176, 0.45);
}

/* Responsive: blog article */
@media (max-width: 960px) {
  .lb-blog-hero-inner {
    grid-template-columns: 1fr;
  }

  .lb-blog-hero-image {
    max-width: 460px;
    margin: 0 auto;
  }

  .lb-blog-article-layout {
    grid-template-columns: 1fr;
  }

  .lb-article-side-meta-inner {
    position: static;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 640px) {
  .lb-blog-article-hero {
    padding-top: 2.2rem;
  }

  .lb-article-content {
    font-size: 0.97rem;
  }
}

/* ===============================
   RESPONSIVE – GLOBAL
   =============================== */

@media (max-width: 960px) {
  .lb-hero-grid {
    grid-template-columns: 1fr;
  }

  .lb-hero-panel {
    max-width: 480px;
    margin-inline: auto;
  }

  .lb-header-inner {
    flex-wrap: wrap;
  }

  .lb-nav {
    display: none; /* simple hide on mobile for now */
  }

  .lb-header-actions {
    display: none;
  }

  .lb-nav-toggle {
    display: inline-block;
  }

  .lb-trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lb-section,
  .lb-section-alt {
    padding: 3rem 0;
  }

  .lb-hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .lb-hero-panel {
    margin-top: 1.2rem;
  }
}
