/* ==========================================================
   HEALTHCARE INDUSTRY PAGE STYLES – loaded only on industries/healthcare-marketing.php
   Calm, light theme: teal + brand blue
   ========================================================== */
:root {
  --hc-teal: #0d9488;
  --hc-teal-2: #14b8a6;
  --hc-teal-50: #ecfdf9;
  --hc-grad: linear-gradient(120deg, #0d9488 0%, #0e7fb8 50%, #1554e8 100%);
}

.hc-center-head {
  max-width: 740px;
  margin: 0 auto 46px;
  text-align: center;
}
.hc-center-head > p,
.hc-faq__intro > p,
.hc-services__intro p,
.check__list > p {
  font-size: 16px;
  color: var(--muted);
}
.hc-center-head h2,
.hc-services__intro h2,
.check__list h2,
.hc-faq__intro h2 {
  margin: 6px 0 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hc-center-head--light h2 {
  color: #fff;
}
.hc-center-head--light > p {
  color: #b9c6e4;
}
.hc-center-head--light .eyebrow,
.hc-hero .eyebrow {
  color: var(--cyan);
}
.hc-center-head--light .eyebrow--line::before {
  background: var(--cyan);
}

/* ---------- Hero (cinematic layout, light theme) ---------- */
.hc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 110px 0 120px;
  color: var(--text);
  background: linear-gradient(180deg, #eaf5f9 0%, #f1f7fa 55%, #fff 100%);
}
.hc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(20, 184, 166, 0.18), transparent 70%),
    radial-gradient(520px 360px at 8% 60%, rgba(30, 107, 255, 0.1), transparent 70%),
    radial-gradient(520px 360px at 92% 60%, rgba(20, 184, 166, 0.12), transparent 70%);
}
/* soft "plus" pattern */
.hc-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M22 17v10M17 22h10' stroke='%230d9488' stroke-opacity='.1' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat;
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 10%, transparent 65%);
  mask-image: radial-gradient(ellipse at 50% 20%, #000 10%, transparent 65%);
}
.hc-hero__top {
  max-width: 880px;
  text-align: center;
}
.hc-hero__top .crumbs {
  margin-bottom: 22px;
}
.crumbs--light {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.crumbs--light a {
  color: var(--muted);
}
.crumbs--light a:hover {
  color: var(--ink);
}
.crumbs--light > i {
  color: #a3aec7;
}
.crumbs--light span {
  color: var(--hc-teal);
}
@keyframes hcBeat {
  0%, 60%, 100% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.25);
  }
  30% {
    transform: scale(0.95);
  }
  45% {
    transform: scale(1.15);
  }
}
.hc-hero h1 {
  color: var(--ink);
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.hc-hero h1 span {
  background: var(--hc-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hc-hero__lead {
  max-width: 660px;
  margin: 18px auto 0;
  font-size: 17px;
  line-height: 1.7;
}
.hc-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}
.hc-hero .btn--primary,
.check__score .btn--primary {
  background: var(--hc-grad);
  box-shadow: 0 14px 30px rgba(13, 148, 136, 0.3);
}
.hc-hero__call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
}
.hc-hero__call span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--hc-teal);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    background 0.3s,
    color 0.3s;
}
.hc-hero__call:hover span {
  color: #fff;
  background: var(--hc-teal);
}
/* wide photo, fading into the page on every side */
.hc-hero__stage {
  position: relative;
  max-width: 1640px;
  margin: 10px auto 0;
}
.hc-hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 20%, #000 70%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, transparent 0%, #000 20%, #000 70%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
  animation: hcImgIn 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes hcImgIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(1.03);
  }
}
/* heartbeat across the photo */
.hc-hero__ecg {
  position: absolute;
  left: 0;
  right: 0;
  top: 34%;
  width: 100%;
  height: 80px;
  pointer-events: none;
}
.hc-hero__ecg path {
  fill: none;
  stroke: rgba(13, 148, 136, 0.45);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: hcDraw 3s cubic-bezier(0.45, 0, 0.25, 1) 0.6s forwards;
}
@keyframes hcDraw {
  to {
    stroke-dashoffset: 0;
  }
}
/* dashboard row: overlaps the bottom of the photo */
.hc-hero__hud {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 290px;
  gap: 18px;
  align-items: stretch;
  margin-top: -170px;
}
.appt,
.hc-strip,
.pulse {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(203, 222, 240, 0.9);
  box-shadow: 0 30px 60px rgba(13, 38, 96, 0.14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* appointments card */
.appt {
  padding: 18px;
}
.appt__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.appt__head > span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--hc-grad);
}
.appt__head b {
  display: block;
  font-family: var(--font-head);
  font-size: 14.5px;
  color: var(--ink);
}
.appt__head small {
  font-size: 12px;
  color: var(--hc-teal);
  font-weight: 600;
}
.appt__slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.appt__slots li {
  padding: 7px 0;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px dashed #cfd9ee;
  transition:
    background 0.4s,
    color 0.4s,
    border-color 0.4s,
    transform 0.4s;
}
.appt__slots li.is-booked {
  color: #fff;
  background: var(--hc-teal);
  border: 1px solid var(--hc-teal);
}
.appt__slots li.is-new {
  animation: hcPop 0.5s ease;
}
@keyframes hcPop {
  50% {
    transform: scale(1.15);
  }
}

/* highlights (middle) */
.hc-strip {
  display: grid;
  align-content: center;
  padding: 8px 22px;
}
.hc-strip li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}
.hc-strip li + li {
  border-top: 1px solid var(--line);
}
.hc-strip li > span {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #fff;
  background: var(--hc-grad);
  box-shadow: 0 10px 22px rgba(13, 148, 136, 0.25);
}
.hc-strip p {
  font-size: 13px;
  color: var(--muted);
}
.hc-strip b {
  display: block;
  font-family: var(--font-head);
  font-size: 15.5px;
  color: var(--ink);
}

/* patient enquiries card */
.pulse {
  padding: 16px 18px;
}
.pulse__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}
.pulse__head > i {
  color: #e11d48;
  animation: hcBeat 1.4s ease-in-out infinite;
}
.pulse__head b {
  flex: 1;
  font-family: var(--font-head);
  color: var(--ink);
}
.pulse__head em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  color: var(--green);
}
.pulse__head em i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.pulse__svg {
  display: block;
  width: 100%;
  height: 48px;
  margin: 6px 0 8px;
}
.pulse__svg path {
  fill: none;
  stroke: var(--hc-teal-2);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 340;
  animation: hcTrace 2.4s linear infinite;
}
@keyframes hcTrace {
  from {
    stroke-dashoffset: 340;
  }
  to {
    stroke-dashoffset: -340;
  }
}
.pulse__list {
  display: grid;
  gap: 6px;
}
.pulse__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--hc-teal-50);
}
.pulse__list i {
  width: 14px;
  color: var(--hc-teal);
}

/* ---------- Specialties ---------- */
.spec {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.spec__card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s,
    border-color 0.45s;
}
.spec__card:hover {
  transform: translateY(-6px);
  border-color: #b5ece3;
  box-shadow: 0 24px 50px rgba(13, 38, 96, 0.14);
}
/* overflow stays visible so the icon can hang over the edge; the image is rounded instead */
.spec__media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
}
.spec__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.spec__card:hover .spec__media img {
  transform: scale(1.07);
}
.spec__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 21, 56, 0.35));
}
.spec__icon {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: -22px;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: #fff;
  background: var(--hc-grad);
  border: 3px solid #fff;
  box-shadow: 0 12px 24px rgba(13, 148, 136, 0.3);
  transition: transform 0.4s;
}
.spec__media img {
  border-radius: 24px 24px 0 0;
}
.spec__media::after {
  border-radius: 24px 24px 0 0;
}
.spec__card:hover .spec__icon {
  transform: rotate(-8deg) scale(1.06);
}
.spec__body {
  padding: 34px 24px 24px;
}
.spec__body h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}
.spec__body p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.7;
}
.spec__body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.spec__body li {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--hc-teal);
  background: var(--hc-teal-50);
}

/* ---------- Patient journey (heartbeat) ---------- */
.hc-journey {
  background: var(--bg-soft);
}
.beat__track {
  position: relative;
}
.beat__line {
  display: block;
  width: 100%;
  height: 120px;
}
.beat__line path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.beat__base {
  stroke: #d6e2f5;
  stroke-width: 3;
}
.beat__draw {
  stroke: var(--hc-teal-2);
  stroke-width: 4;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 2.4s cubic-bezier(0.45, 0, 0.25, 1);
  filter: drop-shadow(0 0 6px rgba(20, 184, 166, 0.5));
}
.beat.is-drawn .beat__draw {
  stroke-dashoffset: 0;
}
/* nodes sit on the flat parts of the line, one per beat */
.beat__nodes {
  position: absolute;
  inset: 0;
}
.beat__node {
  --x: calc(20% * var(--i) + 10%);
  position: absolute;
  left: var(--x);
  top: 50%;
  translate: -50% -50%;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.beat__dot {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: var(--hc-teal);
  background: #fff;
  border: 2px solid #cfe9e4;
  box-shadow: var(--shadow);
  transition:
    background 0.4s,
    color 0.4s,
    border-color 0.4s,
    transform 0.4s,
    box-shadow 0.4s;
}
.beat__name {
  position: absolute;
  top: calc(100% + 6px);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--muted);
  transition: color 0.3s;
}
.beat__node:hover .beat__dot {
  transform: scale(1.08);
}
.beat__node.is-active .beat__dot {
  color: #fff;
  background: var(--hc-grad);
  border-color: #fff;
  box-shadow:
    0 0 0 8px rgba(20, 184, 166, 0.16),
    0 14px 30px rgba(13, 148, 136, 0.35);
}
.beat__node.is-active .beat__name {
  color: var(--hc-teal);
}
.beat__node:focus-visible {
  outline: none;
}
.beat__node:focus-visible .beat__dot {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
.beat__panels {
  display: grid;
  margin-top: 56px;
}
.bpanel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 30px 34px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.bpanel[hidden] {
  display: none;
}
.bpanel.is-active {
  animation: hcPanelIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes hcPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
.bpanel__icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #fff;
  background: var(--hc-grad);
  box-shadow: 0 14px 30px rgba(13, 148, 136, 0.3);
}
.bpanel__step {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hc-teal);
}
.bpanel h3 {
  margin: 4px 0 6px;
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
}
.bpanel p {
  max-width: 560px;
  font-size: 15px;
  line-height: 1.7;
}
.bpanel ul {
  display: grid;
  gap: 8px;
}
.bpanel li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink);
  background: var(--hc-teal-50);
}
.bpanel li i {
  font-size: 11px;
  color: var(--hc-teal);
}

/* ---------- Services (rows + sticky photo) ---------- */
.hc-services__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.hc-services__intro {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.hc-services__media {
  position: relative;
  margin: 28px 0 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.hc-services__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
}
.hc-services__media figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  font-size: 12.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hc-services__media figcaption > span {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--hc-grad);
}
.hc-services__media b {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--ink);
}
.srows {
  display: grid;
  gap: 14px;
}
.srow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 34px 54px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 22px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    color 0.4s,
    border-color 0.4s,
    box-shadow 0.4s,
    transform 0.4s;
}
/* gradient wipes in from the left on hover */
.srow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hc-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.25, 1);
}
.srow:hover,
.srow:focus-visible {
  color: #dff7f3;
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(13, 148, 136, 0.25);
  transform: translateX(6px);
}
.srow:hover::before,
.srow:focus-visible::before {
  transform: scaleX(1);
}
.srow__no {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: #a3aec7;
  transition: color 0.4s;
}
.srow__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--hc-teal);
  background: var(--hc-teal-50);
  transition:
    background 0.4s,
    color 0.4s;
}
.srow__text b {
  display: block;
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--ink);
  transition: color 0.4s;
}
.srow__text small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.6;
}
.srow__go {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  transition:
    background 0.4s,
    color 0.4s,
    transform 0.4s,
    border-color 0.4s;
}
.srow:hover .srow__no,
.srow:hover .srow__text b {
  color: #fff;
}
.srow:hover .srow__icon {
  color: var(--hc-teal);
  background: #fff;
}
.srow:hover .srow__go {
  color: var(--hc-teal);
  background: #fff;
  border-color: #fff;
  transform: rotate(-45deg);
}

/* ---------- Self-check ---------- */
.check {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
  padding: 50px;
  border-radius: 32px;
  background: linear-gradient(135deg, #f0fbf9 0%, #eef4ff 100%);
  border: 1px solid #d5ece8;
}
.check__list ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
.tick {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}
.tick:hover {
  border-color: #b5ece3;
}
.tick:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}
.tick__box {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: transparent;
  border: 2px solid #c6d3ea;
  transition:
    background 0.3s,
    border-color 0.3s,
    color 0.3s,
    transform 0.3s;
}
.tick[aria-pressed="true"] {
  background: #f3fdfb;
  border-color: var(--hc-teal-2);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.12);
}
.tick[aria-pressed="true"] .tick__box {
  color: #fff;
  background: var(--hc-teal);
  border-color: var(--hc-teal);
  transform: scale(1.08);
}
.check__score {
  padding: 34px 28px;
  border-radius: 26px;
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.score {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 0 auto 18px;
}
.score__svg {
  width: 100%;
  height: 100%;
  rotate: -90deg;
}
.score__track,
.score__fill {
  fill: none;
  stroke-width: 12;
}
.score__track {
  stroke: #e6eef8;
}
.score__fill {
  stroke: url(#hcScoreGrad);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.score__read {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
}
.score__read strong {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}
.score__read small {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.check__score h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.check__score p {
  margin: 8px 0 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Trust & ethics (dark) ---------- */
.hc-trust {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 100px 0;
  background: var(--navy-900);
}
.hc-trust__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.hc-trust::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(560px 380px at 0% 0%, rgba(20, 184, 166, 0.3), transparent 70%),
    radial-gradient(520px 360px at 100% 100%, rgba(30, 107, 255, 0.3), transparent 70%),
    linear-gradient(180deg, rgba(6, 21, 56, 0.82), rgba(6, 21, 56, 0.94));
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pillar {
  padding: 30px 24px 26px;
  border-radius: 24px;
  color: #b9c6e4;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    transform 0.4s,
    background 0.4s,
    border-color 0.4s;
}
.pillar:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(20, 184, 166, 0.5);
}
.pillar__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 21px;
  color: #fff;
  background: var(--hc-grad);
  box-shadow: 0 14px 30px rgba(13, 148, 136, 0.35);
}
.pillar h3 {
  margin: 20px 0 8px;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
}
.pillar p {
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------- CTA band ---------- */
.hc-boost {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 24px;
  margin: 80px 0 20px;
  padding: 44px 50px;
  border-radius: 30px;
  color: #dbe5ff;
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(46, 230, 242, 0.3), transparent 65%),
    linear-gradient(120deg, #0d9488 0%, #0e7fb8 45%, #1554e8 100%);
  box-shadow: 0 34px 70px rgba(13, 100, 160, 0.3);
}
/* heartbeat pattern in the background */
.hc-boost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='60'%3E%3Cpath d='M0 30 H80 L90 30 L96 18 L102 42 L110 6 L118 54 L124 30 H240' fill='none' stroke='white' stroke-opacity='.14' stroke-width='2'/%3E%3C/svg%3E") repeat-x left bottom 6px / 240px 60px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.hc-boost__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.hc-boost h2 {
  margin: 16px 0 24px;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}
.hc-boost h2 span {
  color: #a5f3e8;
}
.hc-boost__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.hc-boost__ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  transition:
    background 0.3s,
    color 0.3s;
}
.hc-boost__ghost:hover {
  color: var(--navy-900);
  background: #fff;
}

/* ---------- FAQ ---------- */
.hc-faq {
  padding-top: 0;
}
.hc-faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.hc-faq__contact {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.hc-faq__contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.3s;
}
.hc-faq__contact span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--hc-teal);
  background: var(--hc-teal-50);
  transition:
    background 0.3s,
    color 0.3s;
}
.hc-faq__contact a:hover {
  color: var(--hc-teal);
}
.hc-faq__contact a:hover span {
  color: #fff;
  background: var(--hc-teal);
}

@media (prefers-reduced-motion: reduce) {
  .hc-hero__img,
  .pulse__head > i,
  .pulse__svg path {
    animation: none;
  }
  .hc-hero__ecg path {
    animation: none;
    stroke-dashoffset: 0;
  }
  .beat__draw,
  .srow,
  .srow::before,
  .score__fill {
    transition: none;
  }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .hc-hero {
    padding: 90px 0 100px;
  }
  /* appointments + enquiries side by side, highlights underneath */
  .hc-hero__hud {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin-top: -90px;
  }
  .hc-strip {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(3, 1fr);
    padding: 6px 8px;
  }
  .hc-strip li {
    padding: 14px 12px;
  }
  .hc-strip li + li {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .hc-services__grid,
  .hc-faq__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .spec {
    grid-template-columns: repeat(2, 1fr);
  }
  .hc-services__intro {
    position: static;
  }
  .hc-services__media {
    max-width: 520px;
  }
  .hc-services__media {
    aspect-ratio: 16 / 11;
  }
  .check {
    grid-template-columns: 1fr;
    padding: 40px;
  }
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .hc-boost {
    grid-template-columns: 1fr;
    padding: 40px 34px;
  }
}

/* journey: vertical list instead of the heartbeat line */
@media (max-width: 860px) {
  .beat__line {
    display: none;
  }
  .beat__nodes {
    position: static;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin: 0 -16px;
    padding: 4px 16px 12px;
    scrollbar-width: none;
  }
  .beat__nodes::-webkit-scrollbar {
    display: none;
  }
  .beat__node {
    position: static;
    translate: none;
    flex: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 8px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
  }
  .beat__dot {
    width: 38px;
    height: 38px;
    font-size: 14px;
    box-shadow: none;
  }
  .beat__name {
    position: static;
  }
  .beat__node.is-active {
    border-color: #b5ece3;
    box-shadow: var(--shadow-sm);
  }
  .beat__node.is-active .beat__dot {
    box-shadow: none;
  }
  .beat__panels {
    margin-top: 18px;
  }
  .bpanel {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .bpanel ul {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .hc-hero {
    padding: 70px 0 80px;
  }
  .hc-hero__lead {
    font-size: 15.5px;
  }
  .hc-hero__img {
    aspect-ratio: 16 / 10;
  }
  .hc-hero__hud {
    grid-template-columns: minmax(0, 1fr);
    margin-top: -40px;
  }
  .hc-strip {
    grid-row: auto;
    grid-template-columns: minmax(0, 1fr);
    padding: 6px 18px;
  }
  .hc-strip li {
    padding: 13px 0;
  }
  .hc-strip li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .spec,
  .pillars,
  .check__list ul {
    grid-template-columns: minmax(0, 1fr);
  }
  .bpanel {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 20px;
    gap: 14px;
  }
  .bpanel li {
    white-space: normal;
  }
  .srow {
    grid-template-columns: 46px minmax(0, 1fr) 38px;
    gap: 12px;
    padding: 18px 16px;
  }
  .srow__no {
    display: none;
  }
  .srow__icon {
    width: 46px;
    height: 46px;
    font-size: 17px;
  }
  .srow__go {
    width: 38px;
    height: 38px;
  }
  .srow:hover,
  .srow:focus-visible {
    transform: none;
  }
  .check {
    margin: 0 -8px;
    padding: 30px 18px;
    border-radius: 26px;
  }
  .hc-trust {
    padding: 80px 0;
  }
  .hc-boost {
    margin-top: 60px;
    padding: 34px 22px;
  }
}

/* ==========================================================
   CLIENT STORY – same premium design as the e-commerce and automobile pages
   ========================================================== */
.hc-story {
  padding-top: 60px;
}
.hcstory {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  margin: 0;
  padding: 56px;
  border-radius: 34px;
  color: #b9c6e4;
  background:
    radial-gradient(520px 380px at 0% 0%, rgba(30, 107, 255, 0.38), transparent 70%),
    radial-gradient(460px 360px at 100% 100%, rgba(236, 72, 153, 0.16), transparent 70%),
    linear-gradient(135deg, #0a1f4f 0%, var(--navy-900) 60%);
  box-shadow: 0 40px 80px rgba(6, 21, 56, 0.28);
}
/* fine dot texture */
.hcstory::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(110deg, transparent 30%, #000 100%);
  mask-image: linear-gradient(110deg, transparent 30%, #000 100%);
}
/* large quote mark in the corner */
.hcstory::after {
  content: "\201D";
  position: absolute;
  right: 40px;
  bottom: -110px;
  z-index: -1;
  font-family: var(--font-serif);
  font-size: 340px;
  line-height: 1;
  color: rgba(46, 230, 242, 0.06);
  pointer-events: none;
}

/* left: client profile card */
.hcstory__profile {
  position: relative;
  padding: 30px 26px 24px;
  border-radius: 26px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hcstory__avatar {
  position: relative;
  display: block;
  width: 132px;
  height: 132px;
  margin: 0 auto 18px;
  padding: 4px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--cyan), #1e6bff, #ec4899, var(--cyan));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.hcstory__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--navy-900);
}
.hcstory__shop {
  position: absolute;
  right: -4px;
  bottom: 4px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #fff;
  background: var(--hc-grad);
  border: 3px solid var(--navy-900);
}
.hcstory__profile strong {
  display: block;
  font-family: var(--font-head);
  font-size: 19px;
  color: #fff;
}
.hcstory__role {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
}
.hcstory__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}
.hcstory__rating i {
  font-size: 12px;
  color: var(--star);
}
.hcstory__rating b {
  font-family: var(--font-head);
  font-size: 13px;
  color: #fff;
}
.hcstory__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.hcstory__tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #dbe5ff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.hcstory__tags i {
  font-size: 10px;
  color: var(--cyan);
}
/* the result the client mentions */
.hcstory__result {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 14px;
  border-radius: 18px;
  text-align: left;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(34, 197, 94, 0.04));
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.hcstory__result > span {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #2fe07a, #16a34a);
}
.hcstory__result p {
  font-size: 12.5px;
  line-height: 1.45;
  color: #b9e8c9;
}
.hcstory__result b {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  color: #fff;
}

/* right: the story */
.hcstory__body .eyebrow {
  color: var(--cyan);
}
.hcstory__body .eyebrow--line::before {
  background: var(--cyan);
}
.hcstory__qicon {
  width: 52px;
  height: 52px;
  margin: 14px 0 18px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--navy-900);
  background: var(--cyan);
  box-shadow: 0 14px 30px rgba(46, 230, 242, 0.3);
}
.hcstory__headline {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: #fff;
}
.hcstory__headline span {
  background: linear-gradient(90deg, var(--cyan), #7db4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hcstory blockquote {
  position: relative;
  margin: 20px 0 0;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #b9c6e4;
  border-left: 2px solid rgba(46, 230, 242, 0.45);
}
.hcstory__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hcstory__sign {
  font-size: 14px;
}
.hcstory__sign b {
  color: #fff;
}
.hcstory__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
  background: #fff;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
}
.hcstory__more i {
  transition: transform 0.3s;
}
.hcstory__more:hover {
  color: var(--navy-900);
  background: var(--cyan);
  transform: translateY(-2px);
}
.hcstory__more:hover i {
  transform: translateX(4px);
}

/* ---------- Client story: responsive (same as the e-commerce page) ---------- */
@media (max-width: 1024px) {
  .hcstory {
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 36px;
    padding: 40px;
  }
}
/* tablet portrait: profile sits on top as a horizontal strip */
@media (max-width: 900px) {
  .hcstory {
    grid-template-columns: minmax(0, 1fr);
  }
  .hcstory__profile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 22px;
    align-items: center;
    text-align: left;
  }
  .hcstory__avatar {
    grid-row: span 4;
    width: 112px;
    height: 112px;
    margin: 0;
  }
  .hcstory__rating {
    justify-self: start;
    margin-top: 10px;
  }
  .hcstory__tags {
    justify-content: flex-start;
    margin-top: 12px;
  }
  .hcstory__result {
    grid-column: 1 / -1;
  }
}
@media (max-width: 720px) {
  .hcstory {
    margin: 0 -8px;
    padding: 30px 18px 26px;
    gap: 30px;
    border-radius: 26px;
  }
  .hcstory__profile {
    display: block;
    padding: 26px 18px 18px;
    text-align: center;
  }
  .hcstory__avatar {
    width: 112px;
    height: 112px;
    margin: 0 auto 16px;
  }
  .hcstory__tags {
    justify-content: center;
  }
  .hcstory blockquote {
    padding-left: 16px;
    font-size: 15px;
  }
  .hcstory__more {
    margin-left: 0;
  }
}
