/* ═══════════════════════════════════════════════
   YORKSHIRE CARE CONSULTANTS — STYLESHEET
   Colour palette:
     Navy:    #1A3A6B
     Burgundy:#7B1C3E
     White:   #FFFFFF
     Off-white:#F7F8FC
     Mid-grey:#6B7280
     Light:   #E8EDF5
═══════════════════════════════════════════════ */

/* ─── RESET & BASE ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1A3A6B;
  --navy-deep:   #102548;
  --navy-light:  #E8EDF5;
  --burgundy:    #7B1C3E;
  --burgundy-lt: #F4E8EE;
  --white:       #FFFFFF;
  --off-white:   #F7F8FC;
  --grey-mid:    #6B7280;
  --grey-light:  #E5E7EB;
  --text-dark:   #111827;
  --text-body:   #374151;

  --ff-serif:    'Playfair Display', Georgia, serif;
  --ff-sans:     'Inter', system-ui, -apple-system, sans-serif;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:   0 4px 16px rgba(26,58,107,.10), 0 2px 6px rgba(26,58,107,.06);
  --shadow-lg:   0 12px 40px rgba(26,58,107,.14), 0 4px 12px rgba(26,58,107,.08);
  --shadow-xl:   0 24px 60px rgba(26,58,107,.18);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --transition:  0.3s cubic-bezier(.4,0,.2,1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-sans);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ─── UTILITIES ─────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* ─── SCROLL ANIMATIONS ─────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ─── BUTTONS ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--ff-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}
.btn--primary:hover {
  background: #621530;
  border-color: #621530;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(123,28,62,.35);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--ghost:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--full { width: 100%; justify-content: center; }

/* ─── SECTION HEADERS ───────────────────────── */
.section__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--ff-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__title--left { text-align: left; }

.section__subtitle {
  font-size: 1.0625rem;
  color: var(--grey-mid);
  max-width: 580px;
  line-height: 1.7;
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}
.section__header .section__subtitle {
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(26,58,107,.1);
  padding: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 210px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* SVG logo container */
.nav__logo-svg {
  height: 200px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

/* On transparent hero, logo needs to show white — add class via JS */
.header:not(.scrolled) .nav__logo-svg {
  filter: brightness(0) invert(1);
}
.header.scrolled .nav__logo-svg {
  filter: none;
}

/* Fallback placeholder (hidden when logo SVG is used) */
.nav__logo-placeholder {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav__logo-placeholder--footer {
  width: 52px; height: 52px;
  border-radius: 10px;
}
.nav__logo-text {
  color: var(--white);
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.nav__brand {
  font-family: var(--ff-sans);
  font-size: 0.9375rem;
  color: var(--navy);
  line-height: 1.25;
}
.nav__brand strong { font-weight: 700; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav__link:hover {
  background: rgba(123,28,62,.25);
  color: var(--white);
}

/* Once scrolled — switch to navy on white background */
.header.scrolled .nav__link {
  color: var(--navy);
}
.header.scrolled .nav__link:hover {
  background: var(--burgundy-lt);
  color: var(--burgundy);
}

.nav__link--cta {
  background: var(--burgundy);
  color: var(--white) !important;
  padding: 10px 20px;
  margin-left: 8px;
}
.nav__link--cta:hover {
  background: #621530;
}
.header.scrolled .nav__link--cta {
  color: var(--white) !important;
}
.header.scrolled .nav__link--cta:hover {
  background: #621530;
  color: var(--white) !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.header.scrolled .nav__hamburger span {
  background: var(--navy);
}
.nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 55%, #22478A 100%);
  display: flex;
  align-items: center;
  padding: 240px 0 80px;
  overflow: hidden;
}

.hero__bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}
.shape--1 {
  width: 700px; height: 700px;
  background: var(--white);
  top: -200px; right: -200px;
}
.shape--2 {
  width: 400px; height: 400px;
  background: var(--burgundy);
  bottom: -100px; left: -100px;
  opacity: 0.15;
}
.shape--3 {
  width: 300px; height: 300px;
  background: var(--white);
  bottom: 100px; right: 300px;
  opacity: 0.04;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__text {
  animation: fadeSlideIn 0.9s ease both;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.badge__dot {
  width: 8px; height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.3); }
}

.hero__headline {
  font-family: var(--ff-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero__headline em {
  font-style: italic;
  color: #BACDE8;
}

.hero__subheadline {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.7);
}
.trust__item svg { color: #4ADE80; flex-shrink: 0; }

/* Hero visual cards */
.hero__visual {
  position: relative;
  height: 420px;
  animation: fadeSlideIn 0.9s 0.2s ease both;
}

.hero__card {
  position: absolute;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  transition: transform var(--transition);
}
.hero__card:hover { transform: translateY(-4px); }

.hero__card--main   { top: 40px;  left: 20px;  right: 0;   }
.hero__card--secondary { top: 170px; right: 20px; width: 200px; }
.hero__card--tertiary  { bottom: 60px; left: 40px; width: 190px; }

.card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.card__icon--gold    { background: rgba(250,204,21,.2); color: #FCD34D; }
.card__icon--burgundy{ background: rgba(123,28,62,.3); color: #F9A8C4; }
.card__icon--navy    { background: rgba(255,255,255,.15); color: var(--white); }

.card__label {
  font-size: 0.78rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 2px;
}
.card__value {
  font-family: var(--ff-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.4));
  animation: scrollAnim 2s ease infinite;
}
@keyframes scrollAnim {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* ═══════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════ */
.services {
  background: var(--off-white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--burgundy));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.service-card:hover::before { opacity: 1; }

.service-card--featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.service-card--featured::before {
  opacity: 1;
  background: linear-gradient(90deg, var(--burgundy), #C4396A);
  height: 4px;
}
.service-card--featured:hover { box-shadow: var(--shadow-xl); }

.service-card__badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--burgundy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}

.service-card__icon {
  width: 60px; height: 60px;
  background: var(--navy-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  margin-bottom: 24px;
  transition: all var(--transition);
}
.service-card--featured .service-card__icon {
  background: rgba(255,255,255,.12);
  color: #BACDE8;
}
.service-card:not(.service-card--featured):hover .service-card__icon {
  background: var(--navy);
  color: var(--white);
}

.service-card__title {
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-card--featured .service-card__title { color: var(--white); }

.service-card__desc {
  font-size: 0.9rem;
  color: var(--grey-mid);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-card--featured .service-card__desc { color: rgba(255,255,255,.7); }

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--burgundy);
  transition: gap var(--transition);
}
.service-card--featured .service-card__link { color: #F9A8C4; }
.service-card__link:hover { gap: 10px; }

/* Service card sub-list */
.service-card__list {
  list-style: none;
  margin: -8px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-card__list li {
  font-size: 0.85rem;
  color: var(--grey-mid);
  padding-left: 16px;
  position: relative;
}
.service-card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--burgundy);
  font-weight: 700;
}
.service-card--featured .service-card__list li { color: rgba(255,255,255,.65); }
.service-card--featured .service-card__list li::before { color: #F9A8C4; }

/* ═══════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════ */
.about {
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__img-block {
  position: relative;
}

.about__img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--navy-light);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  border: 2px dashed var(--grey-light);
  font-size: 0.875rem;
  color: var(--grey-mid);
  font-style: italic;
}
.about__img-placeholder svg { color: var(--navy); }

.about__img-photo {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--navy);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__img-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  mix-blend-mode: lighten;
  transform: scale(1.05) translateY(-8%);
}

.about__accent-block {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--burgundy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.accent__number {
  font-family: var(--ff-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}
.accent__label {
  font-size: 0.78rem;
  opacity: 0.85;
  margin-top: 6px;
  max-width: 100px;
  line-height: 1.4;
}

.about__lead {
  font-size: 1.1rem;
  color: var(--navy-deep);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 16px;
}
.about__body {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about__credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 28px;
}

/* Director card */
.about__director {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--navy-light);
  border-left: 4px solid var(--burgundy);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.director__avatar {
  width: 48px; height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.director__name {
  font-weight: 700;
  color: var(--navy-deep);
  font-size: 0.9375rem;
}
.director__title {
  font-size: 0.8rem;
  color: var(--grey-mid);
  margin-top: 2px;
}
.credential {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-body);
  font-weight: 500;
}
.credential__dot {
  width: 8px; height: 8px;
  background: var(--burgundy);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   STATS BANNER
═══════════════════════════════════════════════ */
.stats-banner {
  background: var(--navy);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-deep), #22478A);
}

.stats-banner__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat__number {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: inline;
}
.stat__suffix {
  font-family: var(--ff-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--burgundy);
  display: inline;
  margin-left: 2px;
}
.stat__number, .stat__suffix {
  display: inline;
}
.stat-item > :first-child,
.stat-item > :nth-child(2) {
  display: inline;
}
/* We'll handle the inline display in JS */
.stat-item {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0;
}
.stat__label {
  width: 100%;
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  margin-top: 8px;
  letter-spacing: 0.03em;
  text-align: center;
}

/* ═══════════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════════ */
.process {
  background: var(--off-white);
}

.process__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.process__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.step__number {
  width: 64px; height: 64px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(26,58,107,.3);
  position: relative;
  z-index: 1;
}

.process__connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--burgundy));
  margin-top: 31px;
  opacity: 0.3;
}

.step__title {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 12px;
}
.step__desc {
  font-size: 0.9rem;
  color: var(--grey-mid);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════ */
.testimonials {
  background: var(--white);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.testimonial-card {
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}

.testimonial-card--featured {
  background: var(--navy);
  border-color: var(--navy);
}

.testimonial-card__stars {
  color: #FBBF24;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial-card__quote {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-card--featured .testimonial-card__quote {
  color: rgba(255,255,255,.85);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author__avatar {
  width: 44px; height: 44px;
  background: var(--navy-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}
.testimonial-card--featured .author__avatar {
  background: rgba(255,255,255,.15);
  color: var(--white);
}
.author__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.testimonial-card--featured .author__name { color: var(--white); }
.author__location {
  font-size: 0.8rem;
  color: var(--grey-mid);
}
.testimonial-card--featured .author__location { color: rgba(255,255,255,.55); }

/* ═══════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--burgundy) 0%, #5A1229 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 240px; height: 240px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  font-family: var(--ff-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.cta-banner__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  max-width: 480px;
  line-height: 1.65;
}
.cta-banner__actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════ */
.contact {
  background: var(--off-white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact__desc {
  font-size: 1rem;
  color: var(--grey-mid);
  line-height: 1.75;
  margin-bottom: 40px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact__detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.detail__icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.detail__label {
  font-size: 0.78rem;
  color: var(--grey-mid);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.detail__value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.4;
  transition: color var(--transition);
}
a.detail__value:hover { color: var(--burgundy); }

/* Form */
.contact__form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}

.form__title {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 32px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__group {
  margin-bottom: 20px;
}
.form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.required { color: var(--burgundy); }

.form__input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-sm);
  font-family: var(--ff-sans);
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form__input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,58,107,.1);
}
.form__input::placeholder { color: #9CA3AF; }
.form__input.error { border-color: var(--burgundy); }

.form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.form__textarea {
  resize: vertical;
  min-height: 110px;
}

.form__submit-error {
  font-size: 0.85rem;
  color: var(--burgundy);
  margin-top: 10px;
  text-align: center;
}

.form__privacy {
  font-size: 0.78rem;
  color: var(--grey-mid);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.7);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 48px;
}

.footer__brand .nav__logo-placeholder--footer {
  margin-bottom: 16px;
}

.footer__tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 24px;
  color: rgba(255,255,255,.55);
}

.footer__socials {
  display: flex;
  gap: 10px;
}
.social__link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
}
.social__link:hover {
  background: var(--burgundy);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__heading {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__list li {
  margin-bottom: 10px;
}
.footer__list a, .footer__list li {
  font-size: 0.9rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer__list a:hover { color: var(--white); }
.footer__list--contact li { color: rgba(255,255,255,.55); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,.35);
}
.footer__legal {
  display: flex;
  gap: 24px;
}
.footer__legal a {
  font-size: 0.85rem;
  color: rgba(255,255,255,.35);
  transition: color var(--transition);
}
.footer__legal a:hover { color: var(--white); }

/* ═══════════════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__visual { height: 300px; width: 100%; max-width: 480px; margin: 0 auto; }

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

  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__visual { max-width: 480px; }

  .stats-banner__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }

  .process__steps { flex-direction: column; align-items: stretch; }
  .process__step { flex-direction: row; text-align: left; align-items: flex-start; }
  .process__connector { display: none; }
  .step__number { margin-bottom: 0; margin-right: 20px; }

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

  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__actions { justify-content: center; }
  .cta-banner__subtitle { margin: 0 auto; }

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

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

/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════ */
@media (max-width: 640px) {
  .section { padding: 64px 0; }

  .nav__links {
    display: none;
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
    border-top: 1px solid var(--grey-light);
  }
  .nav__links.open { display: flex; }
  .nav__link { padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav__link--cta { margin-left: 0; }
  .nav__hamburger { display: flex; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero__headline { font-size: 2rem; }
  .hero__visual { height: 220px; }
  .hero__card--secondary, .hero__card--tertiary { display: none; }
  .hero__actions { flex-direction: column; }
  .hero__trust { flex-direction: column; gap: 10px; }
  .hero__scroll-indicator { display: none; }

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

  .about__credentials { grid-template-columns: 1fr; }
  .about__accent-block { position: static; margin-top: 16px; width: fit-content; }

  .stats-banner__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

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

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }

  .form__row { grid-template-columns: 1fr; }
  .contact__form-wrapper { padding: 32px 24px; }
}

/* ─── FORM SUCCESS STATE ─────────────────────── */
.form__success {
  text-align: center;
  padding: 40px 20px;
}
.form__success-icon {
  width: 64px; height: 64px;
  background: #D1FAE5;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: #059669;
}
.form__success h3 {
  font-family: var(--ff-serif);
  color: var(--navy-deep);
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.form__success p {
  color: var(--grey-mid);
  font-size: 0.95rem;
}
