/* Caretaz Healthcare — logo theme (gold + navy + white) + motion */

:root {
  --teal: #f0c419;
  --teal-dark: #d4a90a;
  --teal-soft: #ffffff;
  --navy: #0b1522;
  --navy-deep: #060d14;
  --navy-mid: #162536;
  --peach: #ffe566;
  --text: #121c26;
  --muted: #5a6670;
  --white: #ffffff;
  --mist: #ffffff;
  --line: rgba(11, 21, 34, 0.1);
  --border-teal: rgba(240, 196, 25, 0.5);
  --shadow: 0 12px 32px rgba(11, 21, 34, 0.1);
  --shadow-hover: 0 16px 36px rgba(240, 196, 25, 0.28);
  --radius: 10px;
  --container: 1140px;
  --font-display: "Oswald", sans-serif;
  --font-body: "Poppins", "Nunito", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 15.5px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: 0.25s ease; }
ul { margin: 0; padding: 0; list-style: none; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 0.4em;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy);
}
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 0.75em; }
.container { width: min(100% - 1.5rem, var(--container)); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
}

.section { padding: 2.75rem 0; }
.section--mist { background: var(--mist); }
.section--teal-soft { background: var(--teal-soft); }
.section--navy {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
}
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 680px; margin: 0 auto 1.6rem; text-align: center; }
.section-head p { color: var(--muted); margin: 0; font-size: 1rem; }
.section--navy .section-head p { color: rgba(255,255,255,0.78); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.65rem 1.25rem; border-radius: 999px;
  font-family: var(--font-display); font-size: 0.86rem; letter-spacing: 0.06em;
  text-transform: uppercase; border: 2px solid transparent; cursor: pointer;
  transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1); white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.55s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn--teal {
  background: var(--teal); color: var(--navy); border-color: var(--teal);
  box-shadow: 0 6px 16px rgba(240,196,25,0.35);
}
.btn--teal:hover {
  background: var(--peach); border-color: var(--peach); color: var(--navy);
  transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 22px rgba(240,196,25,0.45);
}
.btn--outline {
  background: transparent; color: var(--white); border-color: var(--teal);
  box-shadow: inset 0 0 0 0 rgba(240,196,25,0.15);
}
.btn--outline:hover {
  background: var(--teal); color: var(--navy); border-color: var(--peach);
  transform: translateY(-2px);
}
.btn--navy {
  background: var(--navy); color: var(--white); border-color: var(--teal);
}
.btn--navy:hover {
  background: var(--navy-mid); border-color: var(--peach);
  transform: translateY(-2px); box-shadow: var(--shadow-hover);
}
.btn--outline-teal {
  background: transparent; color: var(--navy); border-color: var(--teal);
}
.btn--outline-teal:hover {
  background: var(--teal); color: var(--navy); border-color: var(--peach);
  transform: translateY(-2px);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.btn:disabled {
  opacity: 0.78;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}
.btn-spinner {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* Topbar */
.topbar { background: var(--white); color: var(--navy); font-size: 0.86rem; border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 0.45rem 0; }
.topbar__contacts { display: flex; flex-wrap: wrap; gap: 1rem; }
.topbar a { color: var(--navy); }
.topbar a:hover { color: var(--teal-dark); }
.topbar__social { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); }
.social-dot {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(240,196,25,0.45); display: grid; place-items: center;
  color: var(--navy); font-size: 0.65rem; font-weight: 700; transition: 0.25s ease;
}
.social-dot:hover {
  background: var(--teal); border-color: var(--peach); color: var(--navy);
  transform: translateY(-2px) rotate(8deg);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border-teal); box-shadow: 0 4px 16px rgba(11,21,34,0.05);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.35rem 0; }
.logo img { height: 46px; width: auto; transition: transform 0.3s ease; }
.logo:hover img { transform: scale(1.03); }
.nav { display: flex; align-items: center; gap: 0; }
.nav > a, .nav__dropdown > a {
  color: var(--navy); font-family: var(--font-display); font-size: 0.82rem;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 0.4rem 0.5rem; border-radius: 6px;
  border: 1px solid transparent;
}
.nav > a:hover, .nav > a.is-active, .nav__dropdown > a:hover, .nav__dropdown > a.is-active {
  color: var(--teal); border-color: var(--border-teal); background: var(--teal-soft);
}
.nav__dropdown { position: relative; }
.nav__dropdown > a::after { content: " ▾"; font-size: 0.7em; }
.nav__menu {
  position: absolute; top: calc(100% + 0.25rem); left: 0; min-width: 250px; max-height: 70vh; overflow: auto;
  background: var(--white); border-radius: 10px; box-shadow: var(--shadow);
  border: 1px solid var(--border-teal); padding: 0.35rem;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.25s ease; z-index: 50;
}
.nav__dropdown:hover .nav__menu, .nav__dropdown:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a {
  display: block; color: var(--text); padding: 0.5rem 0.7rem; border-radius: 6px;
  font-family: var(--font-body); font-size: 0.9rem; text-transform: none; letter-spacing: 0;
  border: 1px solid transparent;
}
.nav__menu a:hover { background: var(--teal-soft); color: var(--navy); border-color: var(--border-teal); }
.nav-toggle { display: none; width: 38px; height: 38px; border: 1px solid var(--border-teal); border-radius: 8px; background: transparent; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 16px; height: 2px; margin: 4px auto; background: var(--navy); }

/* Hero */
.hero {
  position: relative; min-height: min(72vh, 560px); display: grid; align-items: center; color: var(--white); overflow: hidden;
  background: linear-gradient(110deg, rgba(11,21,34,0.88) 0%, rgba(11,21,34,0.55) 55%, rgba(11,21,34,0.3) 100%),
    url("../assets/images/hero-banner.jpg") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(240,196,25,0.22), transparent 45%);
  animation: pulseGlow 5s ease-in-out infinite; pointer-events: none;
}
.hero__content { padding: 3.5rem 0 3rem; max-width: 640px; position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex; gap: 0.4rem; align-items: center;
  background: rgba(240,196,25,0.18); border: 1px solid rgba(240,196,25,0.65); color: var(--teal);
  padding: 0.3rem 0.75rem; border-radius: 999px; font-family: var(--font-display);
  letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.76rem; margin-bottom: 0.8rem;
  animation: floatY 3.5s ease-in-out infinite;
}
.hero h1 { font-size: clamp(2.15rem, 5vw, 3.4rem); color: var(--white); margin-bottom: 0.55rem; }
.hero h1 span { color: var(--teal); }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,0.9); max-width: 34rem; }

/* Feature cards */
.feature-strip { margin-top: -2.2rem; position: relative; z-index: 2; padding-bottom: 0.75rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 1.15rem 1.05rem;
  box-shadow: var(--shadow); border: 1px solid var(--border-teal); border-top: 3px solid var(--teal);
  transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-card:hover {
  transform: translateY(-6px); border-color: var(--teal); border-top-color: var(--peach);
  box-shadow: var(--shadow-hover);
}
.feature-card__icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--teal-soft); color: var(--teal);
  border: 1px solid var(--border-teal); display: grid; place-items: center;
  font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 0.65rem;
  transition: 0.3s ease;
}
.feature-card:hover .feature-card__icon {
  background: var(--teal); color: var(--navy); border-color: var(--peach); transform: rotate(-8deg) scale(1.05);
}
.feature-card h3 { font-size: 1.1rem; }
.feature-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1.75rem; align-items: center; }
.about-media { position: relative; }
.about-media img {
  width: 100%; border-radius: 14px; object-fit: cover; min-height: 320px; max-height: 400px;
  border: 2px solid var(--border-teal); transition: 0.4s ease;
}
.about-media:hover img { border-color: var(--teal); transform: scale(1.01); }
.about-media__stat {
  position: absolute; right: -0.4rem; bottom: 1.2rem; background: var(--navy); color: var(--white);
  padding: 0.85rem 1rem; border-radius: 12px; border: 2px solid var(--teal); min-width: 110px;
  text-align: center; box-shadow: var(--shadow); animation: floatY 4s ease-in-out infinite;
}
.about-media__stat strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--teal); line-height: 1; }
.about-media__stat span { font-size: 0.72rem; }
.quote-block {
  background: var(--teal-soft); border: 1px solid var(--border-teal); border-left: 4px solid var(--teal);
  border-radius: 0 10px 10px 0; padding: 0.9rem 1rem; margin-top: 1rem;
}
.quote-block p { font-style: italic; margin-bottom: 0.35rem; font-size: 0.9rem; }
.quote-block cite { font-style: normal; font-family: var(--font-display); letter-spacing: 0.05em; color: var(--muted); font-size: 0.78rem; }

/* CQC */
.cqc-banner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center;
  background: var(--white); border: 1px solid var(--border-teal); border-radius: var(--radius);
  padding: 1rem 1.15rem; box-shadow: 0 8px 22px rgba(11,21,34,0.05);
  transition: 0.3s ease;
}
.cqc-banner:hover { border-color: var(--teal); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.cqc-banner img { height: 42px; width: auto; object-fit: contain; }
.cqc-banner h3 { margin-bottom: 0.2rem; font-size: 1.1rem; }
.cqc-banner p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.badge-row { display: flex; gap: 0.75rem; align-items: center; }
.badge-row img { height: 38px; width: auto; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; text-align: center; }
.stat {
  padding: 0.75rem 0.5rem; border: 1px solid rgba(240,196,25,0.35); border-radius: 10px;
  background: rgba(255,255,255,0.04); transition: 0.3s ease;
}
.stat:hover { border-color: var(--teal); background: rgba(240,196,25,0.1); transform: translateY(-3px); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--teal); line-height: 1; margin-bottom: 0.25rem; }
.stat span { color: rgba(255,255,255,0.8); font-family: var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; }

/* CTA band */
.cta-band {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.25rem; align-items: center; color: var(--white);
  background: linear-gradient(120deg, rgba(11,21,34,0.92), rgba(22,37,54,0.85)), url("../assets/images/care-banner-companionship.jpg") center/cover no-repeat;
  border-radius: 14px; overflow: hidden; padding: 1.5rem; border: 1px solid rgba(240,196,25,0.45);
}
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 0.98rem; }
.cta-band__media img {
  width: 100%; border-radius: 12px; max-height: 220px; object-fit: cover;
  border: 2px solid rgba(240,196,25,0.5); transition: 0.4s ease;
}
.cta-band:hover .cta-band__media img { border-color: var(--peach); transform: scale(1.03); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.95rem; }
.service-card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border-teal); transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-hover);
  border-color: var(--teal);
}
.service-card__media { aspect-ratio: 16/9.5; overflow: hidden; border-bottom: 2px solid var(--border-teal); }
.service-card:hover .service-card__media { border-bottom-color: var(--peach); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s ease; }
.service-card:hover .service-card__media img { transform: scale(1.08); }
.service-card__body { padding: 0.95rem 0.95rem 1.05rem; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.1rem; }
.service-card p { color: var(--muted); flex: 1; font-size: 0.94rem; }
.service-card .link {
  color: var(--teal); font-family: var(--font-display); letter-spacing: 0.06em;
  text-transform: uppercase; font-size: 0.82rem; display: inline-flex; align-items: center; gap: 0.25rem;
}
.service-card .link:hover { color: var(--navy); letter-spacing: 0.1em; }

/* Why / Process */
.why-grid, .process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.95rem; }
.why-card {
  background: var(--white); border-radius: 12px; padding: 1.2rem 1.05rem;
  border: 1px solid var(--border-teal); border-bottom: 3px solid var(--teal);
  transition: 0.3s ease;
}
.why-card:hover {
  border-color: var(--teal); border-bottom-color: var(--peach);
  transform: translateY(-4px); box-shadow: var(--shadow-hover);
}
.why-card__num { font-family: var(--font-display); color: var(--teal); font-size: 1.45rem; margin-bottom: 0.35rem; }
.why-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.process { counter-reset: step; }
.process-step {
  position: relative; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(240,196,25,0.35); border-radius: 12px; padding: 1.2rem 1.05rem;
  transition: 0.3s ease;
}
.process-step:hover {
  background: rgba(240,196,25,0.14); border-color: var(--teal);
  transform: translateY(-4px);
}
.process-step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-display); color: var(--teal); font-size: 1.45rem; margin-bottom: 0.45rem;
}
.process-step p { margin: 0; color: rgba(255,255,255,0.78); font-size: 0.95rem; }

/* —— Home: Why Choose Us showcase —— */
.why-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 8% 20%, rgba(240, 196, 25, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 50% at 92% 80%, rgba(255, 229, 102, 0.12), transparent 50%),
    linear-gradient(180deg, var(--mist) 0%, var(--white) 55%, var(--teal-soft) 100%);
}
.why-showcase__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  animation: whyOrb 9s ease-in-out infinite;
}
.why-showcase__glow--a {
  width: 280px; height: 280px; top: -60px; left: -40px;
  background: rgba(240, 196, 25, 0.22);
}
.why-showcase__glow--b {
  width: 220px; height: 220px; bottom: 10%; right: -30px;
  background: rgba(255, 229, 102, 0.2);
  animation-delay: -4s;
}
@keyframes whyOrb {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(18px, -14px) scale(1.08); opacity: 1; }
}
.why-showcase__head {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
}
.why-showcase__lead {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0;
}
.why-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  align-items: stretch;
  perspective: 1200px;
}
.why-panel {
  position: relative;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(240, 196, 25, 0.28);
  border-radius: 18px;
  padding: 1.55rem 1.3rem 1.35rem;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.35s ease;
  box-shadow: 0 10px 28px rgba(11, 21, 34, 0.06);
}
.why-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--teal), var(--peach));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.why-panel::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 196, 25, 0.16), transparent 70%);
  transition: transform 0.55s ease, opacity 0.4s ease;
  opacity: 0.5;
  z-index: -1;
}
.why-panel:hover,
.why-panel.is-tilting {
  border-color: var(--teal);
  box-shadow: 0 22px 48px rgba(240, 196, 25, 0.2);
}
.why-panel:hover::before,
.why-panel.is-tilting::before { transform: scaleY(1); }
.why-panel:hover::after { transform: scale(1.35) translate(-12px, -8px); opacity: 1; }
.why-panel--featured {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: rgba(240, 196, 25, 0.45);
  color: var(--white);
  margin-top: -0.65rem;
  margin-bottom: -0.65rem;
}
.why-panel--featured h3 { color: var(--white); }
.why-panel--featured p { color: rgba(255, 255, 255, 0.78); }
.why-panel--featured .why-panel__link { color: var(--teal); }
.why-panel--featured .why-panel__icon {
  background: rgba(240, 196, 25, 0.15);
  color: var(--teal);
  border-color: rgba(240, 196, 25, 0.45);
}
.why-panel--featured .why-panel__watermark { color: rgba(240, 196, 25, 0.18); }
.why-panel__watermark {
  position: absolute;
  top: 0.35rem; right: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 4.4rem);
  line-height: 1;
  color: rgba(240, 196, 25, 0.12);
  letter-spacing: -0.02em;
  pointer-events: none;
  transition: transform 0.5s ease, color 0.35s ease;
}
.why-panel:hover .why-panel__watermark {
  transform: translateY(-4px) scale(1.04);
  color: rgba(240, 196, 25, 0.22);
}
.why-panel__icon {
  position: relative;
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--teal-soft);
  color: var(--teal-dark);
  border: 1px solid var(--border-teal);
  margin-bottom: 1rem;
  z-index: 1;
}
.why-panel__icon svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.why-panel__ring {
  position: absolute;
  inset: -6px;
  border-radius: 20px;
  border: 1.5px dashed rgba(240, 196, 25, 0.45);
  animation: whySpin 14s linear infinite;
}
.why-panel--featured .why-panel__ring { border-color: rgba(240, 196, 25, 0.55); }
@keyframes whySpin {
  to { transform: rotate(360deg); }
}
.why-panel h3 { position: relative; z-index: 1; margin-bottom: 0.45rem; }
.why-panel p {
  position: relative; z-index: 1;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.why-panel__link {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.why-panel__link span {
  transition: transform 0.3s ease;
}
.why-panel:hover .why-panel__link span { transform: translateX(4px); }

/* —— Home: Care journey / process —— */
.journey {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(240, 196, 25, 0.18), transparent 55%),
    linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 45%, var(--navy-mid) 100%);
  color: var(--white);
}
.journey h2, .journey h3 { color: var(--white); }
.journey .eyebrow { color: var(--teal); }
.journey__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 196, 25, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 196, 25, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
  animation: meshDrift 22s linear infinite;
}
@keyframes meshDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 48px 48px, 48px 48px; }
}
.journey__head {
  max-width: 620px;
  margin: 0 auto 2.4rem;
  text-align: center;
}
.journey__lead {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  font-size: 1.02rem;
}
.journey__track {
  position: relative;
  padding: 0.5rem 0 0.75rem;
}
.journey__path {
  display: block;
  width: 100%;
  height: 72px;
  margin-bottom: -1.1rem;
  overflow: visible;
}
.journey__path-bg {
  fill: none;
  stroke: rgba(240, 196, 25, 0.22);
  stroke-width: 3;
  stroke-linecap: round;
}
.journey__path-draw {
  fill: none;
  stroke: var(--teal);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 0 6px rgba(240, 196, 25, 0.55));
}
.journey.is-drawn .journey__path-draw {
  stroke-dashoffset: 0;
}
.journey__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.journey-step {
  position: relative;
  text-align: center;
  padding-top: 0.25rem;
}
.journey-step__node {
  position: relative;
  width: 64px; height: 64px;
  margin: 0 auto 1.1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy-mid), var(--navy-deep));
  border: 2px solid var(--teal);
  box-shadow: 0 0 0 6px rgba(240, 196, 25, 0.12);
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.journey-step.is-active .journey-step__node,
.journey-step:hover .journey-step__node {
  transform: scale(1.08);
  box-shadow: 0 0 0 8px rgba(240, 196, 25, 0.2), 0 12px 28px rgba(0, 0, 0, 0.25);
}
.journey-step__pulse {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 196, 25, 0.45);
  opacity: 0;
}
.journey.is-drawn .journey-step__pulse {
  animation: journeyPulse 2.4s ease-out infinite;
}
.journey.is-drawn .journey-step:nth-child(2) .journey-step__pulse { animation-delay: 0.35s; }
.journey.is-drawn .journey-step:nth-child(3) .journey-step__pulse { animation-delay: 0.7s; }
@keyframes journeyPulse {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}
.journey-step__num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--teal);
  letter-spacing: 0.04em;
}
.journey-step__body {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(240, 196, 25, 0.28);
  border-radius: 16px;
  padding: 1.15rem 1rem 1.25rem;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.journey-step:hover .journey-step__body,
.journey-step.is-active .journey-step__body {
  background: rgba(240, 196, 25, 0.12);
  border-color: rgba(240, 196, 25, 0.55);
  transform: translateY(-4px);
}
.journey-step__label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--peach);
  margin-bottom: 0.35rem;
}
.journey-step h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.journey-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.93rem;
}
.journey__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Forms */
.appoint-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.5rem; align-items: start; }
.form-card {
  background: var(--white); border-radius: 14px; padding: 1.25rem;
  box-shadow: var(--shadow); border: 1px solid var(--border-teal);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-field { display: flex; flex-direction: column; gap: 0.3rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1px solid var(--border-teal); border-radius: 8px; padding: 0.7rem 0.8rem;
  font: inherit; font-size: 0.95rem; color: var(--text); background: var(--mist); transition: 0.2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 3px rgba(240,196,25,0.18);
}
.form-field textarea { min-height: 100px; resize: vertical; }
.form-note { margin-top: 0.65rem; font-size: 0.8rem; color: var(--muted); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 0.6rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--border-teal); border-radius: 10px;
  overflow: hidden; transition: 0.25s ease;
}
.faq-item:hover, .faq-item[open] { border-color: var(--teal); box-shadow: 0 8px 20px rgba(240,196,25,0.12); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 0.9rem 1.05rem; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.94rem;
  display: flex; justify-content: space-between; gap: 0.75rem; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--teal); font-size: 1.15rem; line-height: 1;
  width: 24px; height: 24px; border: 1px solid var(--border-teal); border-radius: 50%;
  display: grid; place-items: center; transition: 0.25s ease;
}
.faq-item[open] summary::after { content: "–"; background: var(--teal); color: var(--navy); border-color: var(--teal); transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 1.05rem 1rem; color: var(--muted); font-size: 0.96rem; }

/* Inner pages */
.page-hero {
  background: linear-gradient(120deg, rgba(11,21,34,0.9), rgba(22,37,54,0.75)), url("../assets/images/care-health-check.jpg") center/cover no-repeat;
  color: var(--white); padding: 3.2rem 0 2.4rem; border-bottom: 3px solid var(--teal);
}
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4.2vw, 2.75rem); max-width: 18ch; }
.page-hero p { max-width: 40rem; color: rgba(255,255,255,0.85); margin: 0; font-size: 1.02rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.75rem; font-size: 0.86rem; color: rgba(255,255,255,0.7); }
.breadcrumbs a:hover { color: var(--teal); }
.content-grid { display: grid; grid-template-columns: 1.4fr 0.75fr; gap: 1.5rem; align-items: start; }
.prose h2 { font-size: 1.5rem; margin-top: 1.15rem; }
.prose h3 { font-size: 1.12rem; margin-top: 1rem; }
.prose p, .prose li { font-size: 0.98rem; }
.prose ul { list-style: disc; padding-left: 1.1rem; margin: 0 0 0.9rem; }
.prose li { margin-bottom: 0.3rem; color: var(--muted); }
.side-card {
  background: var(--navy); color: var(--white); border-radius: 12px; padding: 1.15rem;
  position: sticky; top: 80px; border: 1px solid rgba(240,196,25,0.45);
}
.side-card h3 { color: var(--teal); font-size: 1rem; }
.side-card p, .side-card a { color: rgba(255,255,255,0.85); font-size: 0.88rem; }
.side-card .btn { width: 100%; margin-top: 0.65rem; }
.side-card .other-services { margin-top: 1rem; display: grid; gap: 0.3rem; }
.side-card .other-services a {
  font-size: 0.82rem; padding: 0.35rem 0.5rem; border-radius: 6px; border: 1px solid transparent;
}
.side-card .other-services a:hover { color: var(--teal); border-color: rgba(240,196,25,0.4); background: rgba(240,196,25,0.08); }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin-bottom: 1.5rem; }
.contact-card {
  background: var(--white); border: 1px solid var(--border-teal); border-top: 3px solid var(--teal);
  border-radius: 12px; padding: 1.1rem; text-align: center; transition: 0.3s ease;
}
.contact-card:hover { border-color: var(--teal); border-top-color: var(--peach); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.contact-card strong { display: block; font-family: var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.35rem; color: var(--teal); font-size: 0.8rem; }
.contact-card p { font-size: 0.88rem; margin: 0; }

.values-grid, .packages-grid, .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.value-card, .package-card, .blog-card {
  background: var(--white); border-radius: 12px; padding: 1.1rem;
  border: 1px solid var(--border-teal); transition: 0.3s ease;
}
.value-card:hover, .package-card:hover, .blog-card:hover {
  border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow-hover);
}
.package-card { display: flex; flex-direction: column; border-top: 3px solid var(--teal); }
.package-card:hover { border-top-color: var(--peach); }
.package-card__price { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); margin: 0.25rem 0 0.75rem; }
.package-card__price span { font-size: 0.8rem; color: var(--muted); }
.package-card ul { list-style: none; padding: 0; margin: 0 0 0.95rem; flex: 1; }
.package-card li { padding: 0.35rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; }
.package-card li::before { content: "✓ "; color: var(--teal); font-weight: 700; }
.blog-card img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; margin-bottom: 0.75rem; border: 1px solid var(--border-teal); }
.blog-card .meta { color: var(--teal); font-size: 0.72rem; font-family: var(--font-display); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.3rem; }

/* Footer */
.site-footer {
  background: var(--navy-deep); color: rgba(255,255,255,0.82);
  padding: 2.5rem 0 1.1rem; border-top: 3px solid var(--teal);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.15fr; gap: 1.25rem; margin-bottom: 1.5rem; }
.site-footer h4 { color: var(--teal); font-size: 0.9rem; margin-bottom: 0.65rem; }
.site-footer p { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.site-footer a { font-size: 0.92rem; }
.site-footer a:hover { color: var(--teal); }
.footer-links { display: grid; gap: 0.35rem; }
.footer-contact li { margin-bottom: 0.4rem; font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid rgba(240,196,25,0.25); padding-top: 0.9rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-size: 0.86rem;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: none; }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: none; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}
@keyframes borderPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,196,25,0.35); }
  50% { box-shadow: 0 0 0 6px rgba(240,196,25,0); }
}

.reveal { opacity: 0; transform: translateY(18px); transition: 0.65s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-24px); transition: 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-left.is-visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(24px); transition: 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-right.is-visible { opacity: 1; transform: none; }
.reveal-zoom { opacity: 0; transform: scale(0.94); transition: 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-zoom.is-visible { opacity: 1; transform: none; }

.hero__content { animation: fadeUp 0.85s ease both; }
.feature-card, .service-card, .why-card, .why-panel, .process-step, .journey-step, .contact-card, .package-card, .value-card, .blog-card, .faq-item {
  animation: fadeUp 0.65s ease both;
}
.feature-card:nth-child(2), .service-card:nth-child(2), .why-card:nth-child(2), .why-panel:nth-child(2), .process-step:nth-child(2),
.journey-step:nth-child(2), .contact-card:nth-child(2), .package-card:nth-child(2) { animation-delay: 0.08s; }
.feature-card:nth-child(3), .service-card:nth-child(3), .why-card:nth-child(3), .why-panel:nth-child(3), .process-step:nth-child(3),
.journey-step:nth-child(3), .contact-card:nth-child(3), .package-card:nth-child(3) { animation-delay: 0.16s; }
.service-card:nth-child(4) { animation-delay: 0.2s; }
.service-card:nth-child(5) { animation-delay: 0.24s; }
.service-card:nth-child(6) { animation-delay: 0.28s; }
.about-copy { animation: slideRight 0.75s ease both; }
.header-cta .btn--teal { animation: borderPulse 2.8s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-zoom { opacity: 1; transform: none; }
  .journey__path-draw { stroke-dashoffset: 0; }
  .why-panel--featured { margin-top: 0; margin-bottom: 0; }
}

@media (max-width: 1024px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header.is-open .site-header__inner { flex-wrap: wrap; }
  .site-header.is-open .nav {
    display: flex; flex-direction: column; align-items: stretch; width: 100%; order: 3; padding: 0.3rem 0 0.6rem; gap: 0.1rem;
  }
  .site-header.is-open .header-cta { display: block; width: 100%; order: 4; padding-bottom: 0.7rem; }
  .site-header.is-open .header-cta .btn { width: 100%; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; max-height: none; padding: 0.15rem 0 0.15rem 0.55rem; border: none; }
  .feature-grid, .services-grid, .why-grid, .process, .stats, .values-grid, .packages-grid, .blog-grid,
  .contact-cards, .footer-grid, .about-grid, .appoint-grid, .content-grid, .cta-band, .cqc-banner,
  .why-showcase__grid, .journey__steps {
    grid-template-columns: 1fr;
  }
  .why-panel--featured { margin-top: 0; margin-bottom: 0; }
  .journey__path { display: none; }
  .journey__track {
    padding-left: 0.25rem;
  }
  .journey__steps {
    gap: 0;
    position: relative;
  }
  .journey__steps::before {
    content: "";
    position: absolute;
    left: 31px;
    top: 32px;
    bottom: 32px;
    width: 2px;
    background: linear-gradient(180deg, var(--teal), rgba(240, 196, 25, 0.15));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .journey.is-drawn .journey__steps::before { transform: scaleY(1); }
  .journey-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1rem;
    text-align: left;
    align-items: start;
    padding: 0.65rem 0;
  }
  .journey-step__node { margin: 0; }
  .about-media__stat { right: 0.75rem; bottom: 0.75rem; }
  .form-grid { grid-template-columns: 1fr; }
  .cqc-banner { text-align: center; justify-items: center; }
}
@media (max-width: 640px) {
  .hero { min-height: 58vh; }
  .section { padding: 2.1rem 0; }
  .logo img { height: 40px; }
  .cta-band { padding: 1.1rem; }
  .hero__content { padding: 2.5rem 0 2.2rem; }
  .journey__cta .btn { width: 100%; justify-content: center; }
}
