/*
Theme Name: Obscare Consulting
Theme URI: https://consult.obscare.co.uk
Author: Bluzetta
Author URI: https://bluzetta.com
Description: Modern consulting-focused WordPress theme for Observe Care Consulting.
Version: 1.0.0
License: GPLv2 or later
Text Domain: obscare-consulting
*/

:root {
  --brand-950: #04163f;
  --brand-900: #052a73;
  --brand-800: #0a3f9b;
  --brand-700: #175ec9;
  --brand-600: #1d77e6;
  --brand-500: #23a4ff;
  --brand-100: #e9f3ff;
  --ink-900: #0b1a33;
  --ink-700: #3a4a67;
  --ink-500: #6d7a91;
  --surface: #f8fbff;
  --white: #ffffff;
  --line: #d8e5fb;
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 20px 45px rgba(5, 42, 115, 0.12);
  --shadow-card: 0 12px 30px rgba(4, 22, 63, 0.1);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-900);
  background: radial-gradient(circle at 12% -6%, #d7ebff 0, transparent 34%),
    radial-gradient(circle at 100% 8%, #dbe8ff 0, transparent 26%),
    var(--surface);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  line-height: 1;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.4rem, var(--container));
  margin-inline: auto;
}

.site-content {
  overflow: clip;
}

.top-ribbon {
  background: linear-gradient(90deg, var(--brand-950), var(--brand-800));
  color: #cfe1ff;
  font-size: 0.9rem;
}

.top-ribbon-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.65rem 0;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, #ffffff 92%, #dceaff);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.9rem 0;
}

.brand {
  width: 220px;
  min-width: 170px;
}

.brand img {
  height: 70px;
  width: auto;
  max-width: none;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  color: var(--ink-900);
  font-weight: 700;
  font-size: 0.97rem;
  padding: 0.35rem 0;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.12rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s ease;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-500));
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 9px;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  padding: 0.78rem 1.22rem;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-solid {
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  box-shadow: 0 10px 26px rgba(29, 119, 230, 0.35);
}

.button-ghost {
  color: var(--brand-900);
  border-color: #9cc4ff;
  background: #eff6ff;
}

.header-cta {
  margin-left: 0.3rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  border-radius: 10px;
  background: #eef5ff;
  color: var(--brand-900);
  width: 42px;
  height: 42px;
  padding: 0;
  position: relative;
  font-size: 0;
  line-height: 0;
}

.nav-toggle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  border-radius: 2px;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.section {
  padding: 5rem 0;
}

section[id] {
  scroll-margin-top: 9.25rem;
}

.section h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: #052a73 !important;
}

.section-lead {
  color: var(--ink-700);
  margin-top: 1rem;
  max-width: 70ch;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(3.4rem, 9vw, 3.4rem) 0 4.2rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.hero::before {
  background: linear-gradient(125deg, rgba(4, 22, 63, 0.9), rgba(10, 63, 155, 0.88));
}

.hero::after {
  z-index: -3;
  background-image: linear-gradient(rgba(4, 22, 63, 0.24), rgba(4, 22, 63, 0.36)),
    url("assets/images/hero-care-team.jpg");
  background-position: center;
  background-size: cover;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}

.hero-copy {
  color: var(--white);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.4rem 0.78rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 4rem);
  max-width: 12ch;
}

.hero p {
  color: #dbe9ff;
  margin-top: 1.15rem;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.78rem;
  margin-top: 1.6rem;
}

.quick-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.85rem;
  margin-top: 1.8rem;
  color: #f4f8ff;
  font-size: 0.95rem;
}

.quick-list li {
  border-left: 2px solid rgba(255, 255, 255, 0.45);
  padding-left: 0.62rem;
}

.hero-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 17px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-panel-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #0c2e6f;
}

.hero-panel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.72s ease;
}

.hero-panel-slide.is-active {
  opacity: 1;
}

.hero-panel-body {
  padding: 1.35rem 1.3rem 1.4rem;
  color: var(--white);
}

.hero-panel h3 {
  font-size: 1.3rem;
  margin-bottom: 0.55rem;
}

.hero-panel ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
  color: #d8e8ff;
  font-size: 0.94rem;
}

.trust-strip {
  background: #c9dff6;
  border-bottom: 0;
}

.trust-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 1.25rem 0;
}

.trust-item {
  position: relative;
  padding: 0.42rem 0 0.42rem 2.05rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: left;
}

.trust-item::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.32rem;
  height: 1.32rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--brand-900);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
}

.trust-item strong {
  font-family: "Outfit", "Segoe UI", sans-serif;
  display: block;
  color: var(--brand-950);
  font-size: 0.98rem;
}

.trust-item span {
  display: block;
  color: #173556;
  font-size: 0.86rem;
}

#about {
  background: #ffffff;
}

.about-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
}

.about-image {
  border-radius: 19px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.about-image img {
  width: 100%;
  min-height: 480px;
  object-fit: cover;
}

.about-panels {
  display: grid;
  gap: 1rem;
  margin-top: 1.3rem;
}

.about-panel {
  background: #eaf4ff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1.05rem;
}

.about-panel h3 {
  font-size: 1.1rem;
  color: var(--brand-900);
  margin-bottom: 0.45rem;
}

.capability-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.capability-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #d9e9fb;
}

.capability-body {
  padding: 1.05rem 1.05rem 1.2rem;
  display: grid;
  gap: 0.5rem;
}

.capability h3 {
  color: var(--brand-900);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.capability p {
  color: var(--ink-700);
  font-size: 0.95rem;
}

#capabilities.section {
  padding: 2rem 0 5em 0;
}

#services {
  background: #eaf4ff;
}

#services .services-shell {
  margin: 20px 150px;
}

#capabilities .container > h2,
#capabilities .container > .section-lead,
#services .container > h2,
#services .container > .section-lead {
  text-align: center;
}

#capabilities .container > .section-lead {
  max-width: none;
}

#capabilities .section-pill {
  display: table;
  margin: 0 auto 0.85rem;
  padding: 0.4rem 0.86rem;
  border-radius: 999px;
  border: 1px solid #b8cff0;
  background: #eaf4ff;
  color: var(--brand-900);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section.is-visible {
  padding: 2.2rem 0;
  background: #eaf4ff;
}

#process.section.is-visible {
  padding: 2.2rem 0;
  background: #eaf4ff;
}

.section.is-visible .container > h2 {
  text-align: center;
}

.section.is-visible .container > .section-lead {
  text-align: center;
  max-width: none;
}

.clients-wrap {
  justify-content: center;
}

@media (min-width: 1061px) {
  #services.section.is-visible .container > .section-lead,
  #process.section.is-visible .container > .section-lead,
  .section.is-visible .container > .section-lead {
    margin-left: 150px;
    margin-right: 150px;
  }
}

.services-shell {
  margin-top: 1.8rem;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--brand-950), var(--brand-800));
  padding: 2.1rem;
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.services-shell h3 {
  font-size: 1.38rem;
  margin-bottom: 1rem;
}

.service-list {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-list li {
  position: relative;
  padding-left: 1.4rem;
  color: #e7f0ff;
}

.service-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.38rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--brand-500);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 0.55rem;
  font-weight: 800;
  line-height: 1;
}

.process-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.15rem 1rem;
  position: relative;
}

.process-step .num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  margin-bottom: 0.6rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 700;
}

.process-step h3 {
  color: var(--brand-900);
  font-size: 1.03rem;
  margin-bottom: 0.4rem;
}

.process-step p {
  color: var(--ink-700);
  font-size: 0.93rem;
}

.clients-wrap {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.client-pill {
  border: 1px solid #bdd7ff;
  border-radius: 9px;
  background: #f0f7ff;
  color: var(--brand-900);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.48rem 0.8rem;
}

.insights-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insight-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.insight-card h3 {
  color: var(--brand-900);
  font-size: 1.08rem;
  line-height: 1.3;
}

.insight-card p {
  color: var(--ink-700);
  font-size: 0.92rem;
  margin-top: 0.6rem;
}

#contact {
  background: linear-gradient(180deg, #061a48 0%, #041330 100%);
}

#contact h2,
#contact .section-lead {
  color: #ffffff !important;
  text-align: center;
}

#contact .section-lead {
  max-width: none;
}

.contact-box {
  margin-top: 1.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.contact-card {
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  border: 1px solid #c6daf9;
  border-radius: 12px;
  padding: 1.25rem 1.2rem;
  box-shadow: 0 10px 24px rgba(4, 22, 63, 0.12);
}

.contact-card h3 {
  color: var(--brand-900);
  font-size: clamp(1.42rem, 2.1vw, 1.58rem);
  margin-bottom: 0.85rem;
}

.contact-list {
  display: grid;
  gap: 0.58rem;
  color: var(--ink-700);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
  line-height: 1.45;
}

.contact-phone {
  white-space: nowrap;
}

.contact-phone a {
  white-space: nowrap;
}

.contact-item::before {
  content: "";
  color: var(--brand-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  flex: 0 0 1.7rem;
  margin-top: 0.02rem;
}

.contact-phone::before {
  content: "\260E";
  font-size: 1.38rem;
}

.contact-email::before {
  content: "";
  width: 1.24rem;
  height: 1.24rem;
  margin-top: 0.08rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%230a3f9b%27%3E%3Cpath d=%27M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555Z%27/%3E%3Cpath d=%27M0 4.697v7.104l5.803-3.558L0 4.697ZM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757Zm3.436-.586L16 11.801V4.697l-5.803 3.546Z%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.contact-web::before,
.contact-email-alt::before {
  content: "";
  width: 1.24rem;
  height: 1.24rem;
  margin-top: 0.08rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%230a3f9b%27%3E%3Cpath d=%27M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm5.8 7h-2.07a13.6 13.6 0 0 0-1-3.5A6.03 6.03 0 0 1 13.8 7ZM8 1.57c.63.88 1.22 2.31 1.55 4.43h-3.1C6.78 3.88 7.37 2.45 8 1.57ZM1.2 9h2.07c.14 1.26.48 2.45 1 3.5A6.03 6.03 0 0 1 1.2 9Zm2.07-2H1.2a6.03 6.03 0 0 1 3.07-3.5c-.52 1.05-.86 2.24-1 3.5ZM8 14.43c-.63-.88-1.22-2.31-1.55-4.43h3.1c-.33 2.12-.92 3.55-1.55 4.43ZM9.73 9h-3.46a11.9 11.9 0 0 1 0-2h3.46a11.9 11.9 0 0 1 0 2Zm.97 3.5c.52-1.05.86-2.24 1-3.5h2.07a6.03 6.03 0 0 1-3.07 3.5Z%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.contact-location::before {
  content: "";
  width: 1.22rem;
  height: 1.22rem;
  margin-top: 0.1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%230a3f9b%27%3E%3Cpath d=%27M2 1h1v14H2zM4 2h9l-2 3 2 3H4z%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.contact-list a,
.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--brand-800);
  font-weight: 700;
  text-decoration: none !important;
}

.contact-details-card {
  display: flex;
  flex-direction: column;
}

.contact-linkout-note {
  margin: 0.9rem 0 0.95rem;
  color: var(--ink-700);
  font-size: 0.93rem;
  line-height: 1.5;
}

.service-link-buttons {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  width: 100%;
}

.service-link-buttons .button {
  flex: 1 1 240px;
  justify-content: center;
  text-align: center;
}

.care-services-link,
.consulting-services-link {
  align-self: stretch;
}

.consultation-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.consultation-card > p {
  color: var(--ink-700);
  margin: 0.2rem 0 1.05rem;
}

.brochure-note {
  margin: 0.95rem 0 0.95rem !important;
  color: var(--ink-700);
  font-size: 0.93rem;
  line-height: 1.5;
}

.consultation-divider {
  width: 100%;
  border: 0;
  border-top: 1px solid #d8e5fb;
  margin: 1.05rem 0 0.9rem;
}

.brochure-heading {
  color: var(--brand-900);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.consultation-card .consultation-popup-trigger,
.consultation-card .brochure-download-trigger,
.consultation-card .brochure-download-link {
  width: min(100%, 360px);
  justify-content: center;
}

.consultation-popup-trigger,
.brochure-download-trigger,
.brochure-download-link {
  align-self: flex-start;
}

.recruitment-call-modal {
  position: fixed;
  inset: 0;
  z-index: 1700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.recruitment-call-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 13, 38, 0.8);
}

.recruitment-call-panel {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: min(92vh, 920px);
  overflow-y: auto;
  border-radius: 17px;
  border: 1px solid rgba(132, 194, 255, 0.58);
  background: linear-gradient(138deg, rgba(5, 42, 115, 0.97), rgba(10, 63, 155, 0.96));
  color: #e9f3ff;
  box-shadow: 0 28px 56px rgba(2, 15, 44, 0.5);
  padding: 1.15rem;
}

.recruitment-call-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  border: 1px solid rgba(188, 223, 255, 0.45);
  border-radius: 999px;
  width: 2.1rem;
  height: 2.1rem;
  background: rgba(220, 234, 251, 0.2);
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
}

.recruitment-call-panel h3 {
  color: #ffffff;
  font-size: clamp(1.35rem, 2.2vw, 1.72rem);
}

.recruitment-call-lead {
  margin-top: 0.42rem;
  color: #d5e7ff;
  font-size: 0.94rem;
  line-height: 1.55;
}

.recruitment-call-lead a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.recruitment-call-form {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.74rem;
}

.recruitment-call-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.recruitment-call-form label {
  display: grid;
  gap: 0.34rem;
}

.recruitment-call-form label > span {
  color: #e4f0ff;
  font-size: 0.8rem;
  font-weight: 700;
}

.recruitment-call-form input,
.recruitment-call-form select,
.recruitment-call-form textarea {
  width: 100%;
  border-radius: 9px;
  border: 1px solid #9fc7ef;
  background: #ffffff;
  color: var(--ink-900);
  padding: 0.62rem 0.7rem;
  font-size: 0.95rem;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.recruitment-call-form input:focus,
.recruitment-call-form select:focus,
.recruitment-call-form textarea:focus {
  outline: none;
  border-color: #68b6ff;
  box-shadow: 0 0 0 3px rgba(104, 182, 255, 0.24);
}

.recruitment-call-form input::placeholder,
.recruitment-call-form textarea::placeholder {
  color: #7a8ca8;
}

.recruitment-call-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.55rem;
}

.recruitment-call-consent input {
  margin-top: 0.2rem;
}

.recruitment-call-consent span {
  font-size: 0.86rem;
  color: #dcecff;
  font-weight: 600;
}

.recruitment-call-success {
  margin: 0.8rem 0 0;
  border-radius: 9px;
  border: 1px solid rgba(146, 225, 179, 0.75);
  background: rgba(6, 83, 45, 0.46);
  padding: 0.72rem 0.8rem;
  color: #e9fff2;
  font-weight: 700;
}

body.recruitment-call-open {
  overflow: hidden;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--brand-900);
}

.site-footer {
  margin-top: 0rem;
  background: #041330;
  color: #d4e4ff;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  padding: 2.6rem 0 1.8rem;
}

.footer-logo {
  width: 264px;
  margin-bottom: 0.9rem;
  filter: none;
  opacity: 1;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.08rem;
  margin-bottom: 0.7rem;
}

.footer-col p,
.footer-col li,
.footer-col a {
  color: #d4e4ff;
  font-size: 0.94rem;
}

.site-footer a,
.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: none !important;
}

.footer-col ul {
  display: grid;
  gap: 0.35rem;
}

.sub-footer {
  border-top: 1px solid rgba(209, 224, 255, 0.2);
  padding: 0.92rem 0 1.1rem;
  font-size: 0.85rem;
  color: #b7cdef;
  text-align: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

@media (max-width: 1060px) {
  .nav-row {
    gap: 0.6rem;
  }

  .hero-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

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

  .process-grid,
  .trust-grid,
  .insights-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-image img {
    min-height: 320px;
  }


  #services .services-shell {
    margin: 1.25rem 0 0;
  }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.4rem 1.2rem 0.9rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .site-nav a {
    width: 100%;
    padding: 0.6rem 0;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 42px;
  }

  .header-cta {
    display: inline-flex;
    width: auto;
    margin-left: 0;
    white-space: nowrap;
    padding: 0.56rem 0.8rem;
    font-size: 0.82rem;
    line-height: 1.1;
  }
}


@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .top-ribbon-inner {
    justify-content: center;
    text-align: center;
  }

  .section {
    padding: 3.7rem 0;
  }

  #about h2,
  #about .section-lead,
  #about .about-panel {
    text-align: center;
  }

  #about .section-lead {
    margin-left: auto;
    margin-right: auto;
  }

  #about .about-panels {
    justify-items: center;
  }

  #about .about-panel {
    width: 100%;
  }

  .service-list,
  .capability-grid,
  .process-grid,
  .insights-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 0.9rem;
  }

  .trust-item {
    padding-left: 1.85rem;
  }

  .trust-item strong {
    font-size: 0.9rem;
  }

  .trust-item span {
    font-size: 0.78rem;
  }

  #services .services-shell {
    margin: 1rem 0 0;
  }

  .quick-list {
    grid-template-columns: 1fr;
  }

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

  .hero-tag {
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 {
    max-width: none;
    text-align: center;
  }

  .hero p {
    max-width: none;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-panel-body {
    text-align: center;
    display: grid;
    justify-items: center;
  }

  .hero-panel-body p,
  .hero-panel-body ul,
  .hero-panel-body li {
    text-align: center;
  }

  .hero-panel-body ul {
    justify-items: center;
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .button {
    width: 100%;
  }

  .brand {
    width: auto;
    min-width: 0;
  }

  .brand img {
    height: 50px;
    width: auto;
    max-width: none;
  }

  .header-cta {
    width: auto !important;
    padding: 0.7rem 1.1rem;
    font-size: 0.9rem;
    border-radius: 7px;
  }

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

  .process-step .num {
    margin-left: auto;
    margin-right: auto;
  }

  .consultation-card,
  .contact-details-card {
    text-align: center;
    align-items: center;
  }

  .consultation-card .button,
  .contact-details-card .button {
    width: auto;
  }

  .consultation-popup-trigger,
  .brochure-download-trigger,
  .brochure-download-link,
  .care-services-link {
    align-self: center;
  }

  .consultation-card .consultation-popup-trigger,
  .consultation-card .brochure-download-trigger,
  .consultation-card .brochure-download-link {
    width: min(100%, 360px) !important;
  }

  .contact-phone {
    font-size: 0.96rem;
  }

  .contact-list {
    justify-items: center;
  }

  .contact-item {
    justify-content: center;
    text-align: center;
  }

  .clients-wrap {
    gap: 0.5rem;
  }

  .client-pill {
    font-size: 0.8rem;
  }

  .footer-grid,
  .footer-col,
  .sub-footer {
    text-align: center;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-col ul {
    justify-items: center;
  }

  .recruitment-call-panel {
    padding: 1rem;
    border-radius: 14px;
  }

  .recruitment-call-lead {
    text-align: center;
  }

  .recruitment-call-grid {
    grid-template-columns: 1fr;
  }

  .recruitment-call-form .button {
    width: 100%;
  }
}

#capabilities {
  background: #ffffff;
}


.footer-bolt {
  display: inline-flex;
  width: 0.92em;
  height: 0.92em;
  margin: 0 0.24rem;
  color: #49b6ff;
  vertical-align: -0.08em;
}

.footer-bolt svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

/* Job Search Page */
.jobs-hero .hero-copy {
  max-width: 620px;
}

.jobs-hero .hero-actions {
  margin-top: 1.3rem;
}

.jobs-hero .hero-actions .button {
  min-width: 230px;
}

.jobs-trust-strip {
  margin-top: -0.75rem;
}

.jobs-directory {
  background: #ffffff;
}

.jobs-directory h2,
.jobs-directory .section-lead {
  text-align: center;
}

.jobs-directory .section-lead {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.jobs-filters {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: end;
}

.jobs-filter-field {
  display: grid;
  gap: 0.38rem;
}

.jobs-filter-field span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0a2f6b;
}

.jobs-filter-field input,
.jobs-filter-field select {
  width: 100%;
  border-radius: 9px;
  border: 1px solid #b8cee4;
  background: #ffffff;
  color: var(--ink-900);
  padding: 0.66rem 0.72rem;
  font-size: 0.96rem;
}

.jobs-filter-field input:focus,
.jobs-filter-field select:focus {
  outline: none;
  border-color: #3f7ec2;
  box-shadow: 0 0 0 3px rgba(62, 126, 194, 0.15);
}

.jobs-filter-reset {
  justify-self: stretch;
  width: 100%;
}

.jobs-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.job-card {
  position: relative;
  display: grid;
  gap: 0.9rem;
  border-radius: 17px;
  border: 1px solid #d4e2f0;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  box-shadow: 0 10px 30px rgba(8, 28, 76, 0.08);
  padding: 1.05rem;
}

.job-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.job-card h3 {
  margin: 0;
  font-size: 1.12rem;
  color: #052a73;
  line-height: 1.2;
}

.job-card-type {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
  padding: 0.38rem 0.58rem;
  background: #d9eafe;
  color: #0d3f92;
}

.job-card-meta {
  margin: 0;
  font-size: 0.88rem;
  color: #3e5476;
}

.job-card-summary {
  margin: 0;
  font-size: 0.92rem;
  color: #31496d;
}

.job-open-button {
  width: auto;
  justify-self: start;
}

.jobs-empty {
  margin-top: 1.2rem;
  text-align: center;
  font-weight: 600;
  color: #355b93;
}

.job-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.job-modal.is-open {
  display: flex;
}

.job-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 54, 0.72);
}

.job-modal-panel {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  max-height: min(92vh, 900px);
  overflow-y: auto;
  border-radius: 17px;
  border: 1px solid #bed4ec;
  background: #f8fcff;
  box-shadow: 0 20px 48px rgba(3, 17, 52, 0.35);
  padding: 1.25rem;
}

.job-modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 999px;
  background: #d5e5f7;
  color: #0b306b;
  font-size: 1.2rem;
  cursor: pointer;
}

.job-modal-panel h3 {
  margin: 0.35rem 0 0.25rem;
  color: #062866;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.job-modal-meta {
  margin: 0;
  color: #456082;
  font-size: 0.92rem;
  font-weight: 600;
}

.job-modal-body {
  margin-top: 0.9rem;
  color: #274162;
}

.job-modal-body h4 {
  margin: 0.95rem 0 0.45rem;
  font-size: 1rem;
  color: #0a2f6b;
}

.job-modal-body p {
  margin: 0;
}

.job-modal-body ul {
  margin: 0;
  padding-left: 1.2rem;
}

.job-modal-actions {
  margin-top: 1rem;
}

.job-apply-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
  border-top: 1px solid #cadcf0;
  padding-top: 1rem;
}

.job-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.job-form-field {
  display: grid;
  gap: 0.34rem;
}

.job-form-field span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #123c7d;
}

.job-form-field input,
.job-form-field select,
.job-form-field textarea {
  width: 100%;
  border-radius: 9px;
  border: 1px solid #b8cee4;
  background: #ffffff;
  color: var(--ink-900);
  padding: 0.62rem 0.7rem;
  font-size: 0.95rem;
}

.job-form-field input:focus,
.job-form-field select:focus,
.job-form-field textarea:focus {
  outline: none;
  border-color: #3f7ec2;
  box-shadow: 0 0 0 3px rgba(62, 126, 194, 0.15);
}

.job-form-check {
  margin-top: 0.15rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: #264062;
}

.job-form-check input {
  margin-top: 0.2rem;
}

.job-form-check a {
  color: #0b397f;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  font-weight: 700;
}

.job-form-success {
  margin: 1rem 0 0;
  border-radius: 9px;
  border: 1px solid #99d1b4;
  background: #edfcf3;
  padding: 0.7rem 0.8rem;
  font-weight: 600;
  color: #145236;
}

body.job-modal-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .jobs-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .jobs-filters {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .job-open-button {
    width: auto;
  }

  .job-modal {
    padding: 0.7rem;
  }

  .job-modal-panel {
    padding: 1rem;
    border-radius: 14px;
  }

  .job-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  left: auto;
  right: 1rem;
  width: min(420px, calc(100% - 1.2rem));
  bottom: 1rem;
  z-index: 1500;
  display: grid;
  justify-items: stretch;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-consent-card {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #bed4ec;
  background: linear-gradient(135deg, rgba(5, 42, 115, 0.96), rgba(10, 63, 155, 0.95));
  color: #e9f3ff;
  box-shadow: 0 12px 30px rgba(2, 15, 44, 0.32);
  padding: 0.78rem 0.78rem 0.74rem;
}

.cookie-consent-card h3 {
  font-size: 0.98rem;
}

.cookie-consent-card p {
  margin-top: 0.34rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #d4e6ff;
}

.cookie-consent-actions {
  margin-top: 0.58rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.cookie-consent-actions .button {
  min-width: 0;
  border-radius: 8px;
  padding: 0.56rem 0.76rem;
  font-size: 0.82rem;
}

.cookie-consent-link {
  display: inline-flex;
  margin-top: 0.42rem;
  color: #d8ecff;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

.cookie-preferences {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
}

.cookie-preferences-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 19, 50, 0.62);
}

.cookie-preferences-card {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(88vh, 760px);
  overflow-y: auto;
  border-radius: 14px;
  border: 1px solid #c5d9ed;
  background: #f7fbff;
  box-shadow: 0 20px 44px rgba(2, 15, 44, 0.4);
  padding: 0.9rem;
}

.cookie-preferences-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  border: 0;
  background: #dceafb;
  color: #0a2f6b;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  font-size: 1.1rem;
  cursor: pointer;
}

.cookie-preferences-card h3 {
  color: #052a73;
  font-size: 1.12rem;
}

.cookie-preferences-lead {
  margin-top: 0.25rem;
  color: #456082;
  font-size: 0.86rem;
}

.cookie-pref-item {
  margin-top: 0.58rem;
  border: 1px solid #d4e2f0;
  border-radius: 10px;
  background: #ffffff;
  padding: 0.58rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  align-items: center;
}

.cookie-pref-item strong {
  color: #08357e;
  font-family: "Outfit", "Segoe UI", sans-serif;
}

.cookie-pref-item p {
  margin-top: 0.2rem;
  color: #476184;
  font-size: 0.82rem;
}

.cookie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  color: #0b397f;
  font-size: 0.78rem;
}

.cookie-preferences-actions {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cookie-preferences-actions .button {
  min-width: 142px;
  border-radius: 8px;
  padding: 0.56rem 0.78rem;
  font-size: 0.84rem;
}

body.cookie-preferences-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .cookie-consent {
    left: auto;
    right: 0.62rem;
    width: calc(100% - 1.24rem);
    bottom: 0.62rem;
  }

  .cookie-consent-card {
    padding: 0.72rem;
    border-radius: 12px;
  }

  .cookie-consent-actions {
    justify-content: flex-start;
  }

  .cookie-consent-actions .button {
    width: 100%;
    min-width: 0;
  }

  .cookie-preferences-card {
    border-radius: 12px;
    padding: 0.8rem;
  }

  .cookie-pref-item {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .cookie-preferences-actions .button {
    width: 100%;
    min-width: 0;
  }
}
