/* ==========================================================================
   New Dimensions Care — Healthcare Recruitment, Southampton
   Main stylesheet
   ========================================================================== */

/* --- 1. Design tokens --------------------------------------------------- */
:root {
  /* Brand palette, sampled from the New Dimensions Care logo */
  --purple:        #590D68;
  --purple-dark:   #3D0847;
  --purple-deep:   #2A0532;
  --purple-light:  #7A2A8C;
  --magenta:       #C038D8;
  --magenta-light: #D96BE9;
  --orange:        #F6921E;
  --orange-dark:   #D9780B;
  --green:         #4BB649;
  --green-dark:    #389437;

  /* Neutrals */
  --ink:        #1C1222;
  --body:       #4B4453;
  --muted:      #6E6678;
  --line:       #E7E1EB;
  --surface:    #FFFFFF;
  --surface-2:  #FAF7FB;
  --surface-3:  #F4EDF7;

  /* Type */
  --font-head: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Shape & depth */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --shadow-sm: 0 2px 10px rgba(42, 5, 50, .06);
  --shadow-md: 0 10px 30px rgba(42, 5, 50, .09);
  --shadow-lg: 0 24px 60px rgba(42, 5, 50, .14);
  --shadow-brand: 0 16px 40px rgba(89, 13, 104, .28);

  /* Layout */
  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 96px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--body);
  background: var(--surface);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--purple); }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .5em; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.12rem; }
p  { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- 3. Helpers --------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: 860px; margin-inline: auto; }
.section { padding: clamp(68px, 9vw, 118px) 0; }
.section--tint { background: var(--surface-2); }
.section--brand {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 55%, var(--purple-light) 100%);
  color: rgba(255, 255, 255, .88);
}
.section--brand h2, .section--brand h3, .section--brand h4 { color: #fff; }
.center { text-align: center; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--purple); color: #fff; padding: 12px 22px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head);
  font-size: .775rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), var(--magenta));
}
.section--brand .eyebrow { color: var(--orange); }
.section--brand .eyebrow::before { background: linear-gradient(90deg, var(--green), var(--orange)); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin-bottom: 0; }
.section--brand .section-head p { color: rgba(255, 255, 255, .78); }

.lead { font-size: 1.2rem; color: var(--body); line-height: 1.75; }

/* --- 4. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 15px 32px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-3px); }

.btn--primary {
  background: linear-gradient(120deg, var(--purple) 0%, var(--magenta) 100%);
  color: #fff; box-shadow: var(--shadow-brand);
}
.btn--primary:hover { color: #fff; box-shadow: 0 22px 46px rgba(192, 56, 216, .4); }

.btn--accent {
  background: linear-gradient(120deg, var(--orange-dark) 0%, var(--orange) 100%);
  color: #fff; box-shadow: 0 16px 40px rgba(246, 146, 30, .34);
}
.btn--accent:hover { color: #fff; box-shadow: 0 22px 46px rgba(246, 146, 30, .45); }

.btn--ghost { background: transparent; color: var(--purple); border-color: rgba(89, 13, 104, .25); }
.btn--ghost:hover { background: var(--purple); border-color: var(--purple); color: #fff; }

.btn--light { background: #fff; color: var(--purple); box-shadow: var(--shadow-md); }
.btn--light:hover { color: var(--magenta); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--outline-light:hover { background: #fff; color: var(--purple); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row.center { justify-content: center; }

/* --- 5. Header & navigation --------------------------------------------- */
.topbar {
  background: linear-gradient(90deg, var(--purple-deep), var(--purple));
  color: rgba(255, 255, 255, .82);
  font-size: .86rem;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 26px; min-height: 42px; padding-block: 7px;
}
.topbar-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.topbar-list li { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--orange); }
.topbar svg { width: 15px; height: 15px; color: var(--orange); flex: none; }
.topbar-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.topbar-tag .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(75, 182, 73, .7); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(75, 182, 73, 0); }
  100% { box-shadow: 0 0 0 0 rgba(75, 182, 73, 0); }
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-md); background: rgba(255, 255, 255, .98); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 56px; width: auto; transition: height .3s var(--ease); }
.site-header.is-stuck .brand img { height: 48px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-list li { margin: 0; }
.nav-list a {
  position: relative; display: block;
  font-family: var(--font-head); font-weight: 500; font-size: .98rem;
  color: var(--ink); padding: 10px 15px; border-radius: 100px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-list a::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%);
  width: 0; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), var(--magenta));
  transition: width .3s var(--ease);
}
.nav-list a:hover { color: var(--magenta); }
.nav-list a:hover::after { width: 22px; }
.nav-list a.is-active { color: var(--purple); font-weight: 600; }
.nav-list a.is-active::after { width: 26px; }

.nav-cta { flex: none; }
.nav-toggle {
  display: none; width: 50px; height: 50px; flex: none;
  border: 1px solid var(--line); border-radius: 14px;
  background: #fff; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; position: relative; width: 22px; height: 2px; border-radius: 2px;
  background: var(--purple); transition: background .2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; border-radius: 2px;
  background: var(--purple); transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* --- 6. Hero ------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, var(--purple-deep) 0%, var(--purple) 48%, #76208A 100%);
  color: #fff;
  padding: clamp(70px, 9vw, 120px) 0 clamp(80px, 10vw, 130px);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before {
  width: 620px; height: 620px; top: -260px; right: -180px;
  background: radial-gradient(circle, rgba(192, 56, 216, .55) 0%, transparent 68%);
}
.hero::after {
  width: 520px; height: 520px; bottom: -240px; left: -170px;
  background: radial-gradient(circle, rgba(246, 146, 30, .36) 0%, transparent 68%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 76px); align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--orange) 0%, var(--magenta-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: rgba(255, 255, 255, .85); font-size: 1.16rem; max-width: 56ch; }
.hero .eyebrow {
  color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  padding: 8px 18px 8px 14px; border-radius: 100px; backdrop-filter: blur(6px);
}
.hero .eyebrow::before { background: var(--orange); width: 8px; height: 8px; border-radius: 50%; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 28px 0 34px; padding: 0; list-style: none; }
.hero-points li {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font-size: .97rem; color: rgba(255, 255, 255, .9);
}
.hero-points svg { width: 20px; height: 20px; color: var(--green); flex: none; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255, 255, 255, .14);
}
.hero-badge {
  position: absolute; bottom: -26px; left: -26px;
  display: flex; align-items: center; gap: 14px;
  background: #fff; color: var(--ink);
  padding: 16px 24px; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  max-width: 290px;
}
.hero-badge .icon {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
}
.hero-badge .icon svg { width: 23px; height: 23px; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 1.02rem; color: var(--ink); line-height: 1.3; }
.hero-badge span { font-size: .84rem; color: var(--muted); }

/* Compact page banner for inner pages */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--purple-deep) 0%, var(--purple) 60%, var(--purple-light) 100%);
  color: #fff; text-align: center;
  padding: clamp(66px, 8vw, 104px) 0;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--banner-image, none);
  background-size: cover; background-position: center;
  opacity: .18; mix-blend-mode: luminosity;
}
.page-hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  top: -250px; right: -160px;
  background: radial-gradient(circle, rgba(192, 56, 216, .5) 0%, transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, .85); max-width: 680px; margin-inline: auto; font-size: 1.1rem; }
.crumbs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin: 22px 0 0; padding: 0; list-style: none;
  font-size: .88rem; color: rgba(255, 255, 255, .62);
}
.crumbs li { margin: 0; display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; color: rgba(255, 255, 255, .35); }
.crumbs a { color: rgba(255, 255, 255, .88); }
.crumbs a:hover { color: var(--orange); }

/* --- 7. Stats ----------------------------------------------------------- */
.stats-strip {
  position: relative; z-index: 5;
  margin-top: -56px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.stat { background: #fff; padding: 36px 26px; text-align: center; }
.stat .num {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1; margin-bottom: 8px;
  background: linear-gradient(120deg, var(--purple) 0%, var(--magenta) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat p { font-size: .94rem; color: var(--muted); margin: 0; }

/* --- 8. Cards ----------------------------------------------------------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 36px 32px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--magenta), var(--orange));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .99rem; margin-bottom: 0; }
.card--tint { background: var(--surface-2); }

.icon-badge {
  width: 60px; height: 60px; border-radius: 18px; margin-bottom: 22px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  box-shadow: 0 10px 24px rgba(89, 13, 104, .22);
}
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge.is-orange { background: linear-gradient(135deg, var(--orange-dark), var(--orange)); box-shadow: 0 10px 24px rgba(246, 146, 30, .26); }
.icon-badge.is-green  { background: linear-gradient(135deg, var(--green-dark), var(--green));   box-shadow: 0 10px 24px rgba(75, 182, 73, .26); }
.icon-badge.is-magenta{ background: linear-gradient(135deg, var(--magenta), var(--magenta-light)); box-shadow: 0 10px 24px rgba(192, 56, 216, .26); }

/* Service card with photo */
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.svc-card .media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.svc-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .media img { transform: scale(1.07); }
.svc-card .media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(42, 5, 50, .55) 100%);
}
.svc-card .tag {
  position: absolute; z-index: 2; left: 18px; bottom: 16px;
  font-family: var(--font-head); font-size: .74rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background: rgba(89, 13, 104, .82); padding: 7px 14px; border-radius: 100px;
  backdrop-filter: blur(4px);
}
.svc-card .body { padding: 30px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.svc-card .body p { color: var(--muted); font-size: .99rem; }
.svc-card .more {
  margin-top: auto; padding-top: 18px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--magenta);
  display: inline-flex; align-items: center; gap: 8px;
}
.svc-card .more svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.svc-card:hover .more svg { transform: translateX(5px); }

/* Tick list */
.tick-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.tick-list li {
  position: relative; padding-left: 36px; margin-bottom: 14px; color: var(--body);
}
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--brand .tick-list li { color: rgba(255, 255, 255, .86); }
.tick-list.is-purple li::before { background-color: var(--magenta); }

/* --- 9. Split / feature rows -------------------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.split-media .frame {
  position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--r-lg); z-index: -1;
  background: linear-gradient(135deg, var(--magenta), var(--orange));
  opacity: .22;
}
.split-media.has-stack { padding: 0 22px 22px 0; }

.media-float {
  position: absolute; right: -18px; bottom: -22px;
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  padding: 18px 24px; display: flex; align-items: center; gap: 14px; max-width: 260px;
}
.media-float .icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, var(--orange-dark), var(--orange));
}
.media-float .icon svg { width: 22px; height: 22px; }
.media-float strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1rem; line-height: 1.3; }
.media-float span { font-size: .82rem; color: var(--muted); }

/* --- 10. Process steps --------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 38px 28px 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step .n {
  counter-increment: step;
  width: 54px; height: 54px; border-radius: 50%; margin-bottom: 20px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  box-shadow: 0 10px 22px rgba(89, 13, 104, .24);
}
.step .n::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .97rem; margin: 0; }
.section--brand .step { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); }
.section--brand .step p { color: rgba(255, 255, 255, .76); }
.section--brand .step .n { background: linear-gradient(135deg, var(--orange-dark), var(--orange)); }

/* --- 11. Roles / pill grid ---------------------------------------------- */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px 24px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.role:hover { transform: translateX(5px); border-color: var(--magenta); box-shadow: var(--shadow-sm); }
.role .dot {
  width: 12px; height: 12px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--magenta), var(--orange));
}
.role span { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1rem; }

/* --- 12. Testimonials ---------------------------------------------------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 36px 32px; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote::before {
  content: "\201C"; position: absolute; top: 10px; right: 26px;
  font-family: Georgia, serif; font-size: 5.4rem; line-height: 1; color: var(--surface-3);
}
.quote .stars { display: flex; gap: 4px; margin-bottom: 18px; color: var(--orange); }
.quote .stars svg { width: 18px; height: 18px; }
.quote p { position: relative; z-index: 1; color: var(--body); font-size: 1rem; }
.quote footer { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.quote .avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1rem;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
}
.quote cite { display: block; font-style: normal; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .98rem; }
.quote small { color: var(--muted); font-size: .85rem; }

/* --- 13. CTA band -------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--purple-deep) 0%, var(--purple) 55%, var(--magenta) 135%);
  color: #fff; padding: clamp(62px, 8vw, 96px) 0;
}
.cta-band::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  right: -180px; top: -220px;
  background: radial-gradient(circle, rgba(246, 146, 30, .4) 0%, transparent 70%);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 34px;
}
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { color: rgba(255, 255, 255, .84); margin: 0; max-width: 56ch; }

/* --- 14. Forms ----------------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow-md);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  color: var(--ink); margin-bottom: 8px;
}
.field label .req { color: var(--magenta); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 14px 17px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface-2); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--magenta); background: #fff;
  box-shadow: 0 0 0 4px rgba(192, 56, 216, .12);
}
.field input::placeholder, .field textarea::placeholder { color: #A9A1B2; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23590D68' stroke-width='2.4' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 17px;
  padding-right: 44px;
}
.check {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .92rem; color: var(--muted); margin-bottom: 24px;
}
.check input { width: 20px; height: 20px; flex: none; margin-top: 3px; accent-color: var(--magenta); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 18px; }

.alert {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 22px; border-radius: var(--r-md); margin-bottom: 28px; font-size: .97rem;
}
.alert svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.alert--ok   { background: #EAF8EA; color: #2C6B2B; border: 1px solid #BFE6BE; }
.alert--err  { background: #FDECEC; color: #9B2C2C; border: 1px solid #F5C6C6; }

/* --- 15. Contact info cards ---------------------------------------------- */
.info-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 24px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.info-card .icon {
  width: 50px; height: 50px; border-radius: 15px; flex: none; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, var(--purple), var(--magenta));
}
.info-card .icon svg { width: 23px; height: 23px; }
.info-card.is-orange .icon { background: linear-gradient(135deg, var(--orange-dark), var(--orange)); }
.info-card.is-green .icon  { background: linear-gradient(135deg, var(--green-dark), var(--green)); }
.info-card h4 { margin-bottom: 5px; font-size: 1.04rem; }
.info-card p, .info-card a { margin: 0; font-size: .97rem; color: var(--muted); }
.info-card a:hover { color: var(--magenta); }

.map-embed {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); line-height: 0;
  border: 1px solid var(--line);
}
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* --- 16. Accordion (compliance / FAQ) ------------------------------------ */
.accordion { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.accordion + .accordion { margin-top: 14px; }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { background: var(--surface-2); color: var(--magenta); }
.accordion summary .chev {
  width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--surface-3); color: var(--purple); transition: transform .3s var(--ease), background .3s var(--ease);
}
.accordion summary .chev svg { width: 17px; height: 17px; }
.accordion[open] summary { background: var(--surface-2); color: var(--purple); }
.accordion[open] summary .chev { transform: rotate(180deg); background: var(--magenta); color: #fff; }
.accordion .acc-body { padding: 4px 26px 26px; color: var(--muted); font-size: .99rem; }
.accordion .acc-body p:last-child, .accordion .acc-body ul:last-child { margin-bottom: 0; }

/* --- 17. Job listings ---------------------------------------------------- */
.job {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.job + .job { margin-top: 18px; }
.job:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.job .jicon {
  width: 56px; height: 56px; border-radius: 16px; flex: none; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, var(--purple), var(--magenta));
}
.job .jicon svg { width: 26px; height: 26px; }
.job h3 { font-size: 1.22rem; margin-bottom: 6px; }
.job .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.job .meta li {
  display: flex; align-items: center; gap: 7px; margin: 0;
  font-size: .9rem; color: var(--muted);
}
.job .meta svg { width: 15px; height: 15px; color: var(--magenta); flex: none; }
.job .pay {
  font-family: var(--font-head); font-weight: 700; color: var(--purple); font-size: 1.1rem;
  white-space: nowrap;
}
.job .pay small { display: block; font-weight: 500; font-size: .8rem; color: var(--muted); }

/* --- 18. Logo / value strip ---------------------------------------------- */
.value-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.value {
  text-align: center; padding: 30px 20px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
}
.value .vi {
  width: 54px; height: 54px; border-radius: 16px; margin: 0 auto 16px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); color: var(--orange);
}
.value .vi svg { width: 26px; height: 26px; }
.value h4 { color: #fff; margin-bottom: 8px; }
.value p { font-size: .93rem; color: rgba(255, 255, 255, .74); margin: 0; }

/* --- 19. Gallery --------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery figure { margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.08); }

/* --- 20. Footer ---------------------------------------------------------- */
.site-footer {
  background: linear-gradient(160deg, var(--purple-deep) 0%, #1F0426 100%);
  color: rgba(255, 255, 255, .7); padding: clamp(60px, 7vw, 86px) 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px;
  padding-bottom: 52px;
}
.footer-brand img { height: 58px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: .97rem; color: rgba(255, 255, 255, .66); }
.site-footer h4 {
  color: #fff; font-size: 1.04rem; margin-bottom: 20px; position: relative; padding-bottom: 12px;
}
.site-footer h4::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), var(--magenta));
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: rgba(255, 255, 255, .7); font-size: .97rem; display: inline-flex; align-items: center; gap: 9px; }
.footer-links a::before { content: "›"; color: var(--orange); font-size: 1.1rem; line-height: 1; }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 13px; margin-bottom: 16px; font-size: .96rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 4px; }
.footer-contact a { color: rgba(255, 255, 255, .78); }
.footer-contact a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 24px 0 30px;
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between;
  font-size: .88rem; color: rgba(255, 255, 255, .55);
}
.footer-bottom a { color: rgba(255, 255, 255, .72); }
.footer-bottom a:hover { color: var(--orange); }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* --- 21. Floating call button & back to top ------------------------------ */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 50px; height: 50px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  box-shadow: var(--shadow-brand);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 21px; height: 21px; }

/* --- 22. Scroll reveal --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .09s; }
.reveal.d2 { transition-delay: .18s; }
.reveal.d3 { transition-delay: .27s; }
.reveal.d4 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* --- 23. Responsive ------------------------------------------------------ */
@media (max-width: 1080px) {
  .nav-list a { padding: 10px 11px; font-size: .94rem; }
  .brand img { height: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 960px) {
  :root { --header-h: 80px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 14px var(--gutter) 26px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none;
    transition: clip-path .4s var(--ease), opacity .3s var(--ease);
  }
  .nav.is-open { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding: 15px 10px; border-radius: var(--r-sm); border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav-list a::after { display: none; }
  .nav-list a.is-active { background: var(--surface-3); }
  .nav-cta { margin-top: 18px; }
  .nav-cta .btn { width: 100%; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 560px; }
  .hero-badge { left: auto; right: 10px; bottom: -22px; }
  .split, .split--reverse .split-media { grid-template-columns: 1fr; order: 0; }
  .split-media.has-stack { padding: 0; }
  .split-media .frame { display: none; }
  .stats-grid, .steps, .grid-4, .value-strip { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .quote-grid, .role-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .topbar-tag { display: none; }
  .grid-2, .grid-3, .quote-grid, .role-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .stats-strip { margin-top: -34px; }
  .job { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .job .pay { white-space: normal; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-badge { position: static; margin-top: 18px; max-width: none; }
  .media-float { position: static; margin-top: 18px; max-width: none; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .cta-inner .btn-row { width: 100%; }
}

@media (max-width: 480px) {
  .stats-grid, .steps, .grid-4, .value-strip { grid-template-columns: 1fr; }
  .card, .svc-card .body, .form-card { padding-inline: 22px; }
}

/* --- 24. Print ----------------------------------------------------------- */
@media print {
  .topbar, .site-header, .to-top, .cta-band, .site-footer { display: none !important; }
  body { color: #000; }
  .section { padding: 18px 0; }
}
